@opencode/core 0.0.0-dev-20000 → 0.0.0-dev-20003

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 +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{model-resolver-28hv8daj.js → file-0g3aqr52.js} +13 -13
  8. package/dist/chunks/{model-resolver-eaj1djv9.js → file-0gdmqesm.js} +8 -8
  9. package/dist/chunks/{model-resolver-7c2qk6yp.js → file-0mpqr77g.js} +16 -16
  10. package/dist/chunks/{model-resolver-3fm5zfbn.js → file-0nj76588.js} +20 -20
  11. package/dist/chunks/{model-resolver-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{model-resolver-cynj0k86.js → file-0pf2e52h.js} +3 -3
  13. package/dist/chunks/{model-resolver-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{model-resolver-zz841dsp.js → file-0vrwetc9.js} +15 -15
  15. package/dist/chunks/{model-resolver-aqe8m42w.js → file-0wcwk7gc.js} +24 -24
  16. package/dist/chunks/{model-resolver-s0hza5ac.js → file-1080qp6z.js} +4 -4
  17. package/dist/chunks/{model-resolver-3agcf731.js → file-1cq1dekj.js} +43 -43
  18. package/dist/chunks/{model-resolver-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{model-resolver-mdjvh782.js → file-1f5fh47k.js} +11 -11
  20. package/dist/chunks/{model-resolver-3ksyz8es.js → file-1xagxxtw.js} +33 -33
  21. package/dist/chunks/{model-resolver-yx9ma9ke.js → file-1yaq039p.js} +15 -15
  22. package/dist/chunks/{model-resolver-21r38tys.js → file-21r38tys.js} +1 -1
  23. package/dist/chunks/{model-resolver-hw06r73w.js → file-25ajpb73.js} +3 -3
  24. package/dist/chunks/{model-resolver-z63w68vq.js → file-29x78va6.js} +6 -6
  25. package/dist/chunks/{model-resolver-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{model-resolver-f73rjn58.js → file-2vs2nh1n.js} +4 -4
  27. package/dist/chunks/{model-resolver-sqy4ahhk.js → file-37mwd34b.js} +1 -1
  28. package/dist/chunks/{model-resolver-8v5x5jkq.js → file-3cndm9je.js} +24 -24
  29. package/dist/chunks/{model-resolver-3fc6dm20.js → file-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{model-resolver-snvbvate.js → file-3gj0hb40.js} +8 -8
  31. package/dist/chunks/{model-resolver-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{model-resolver-0tc3z27w.js → file-3pbgv27k.js} +24 -24
  33. package/dist/chunks/{model-resolver-7kpff7kp.js → file-3pt707jp.js} +7 -7
  34. package/dist/chunks/{model-resolver-0m8zc7zn.js → file-3rqs9vk3.js} +16 -16
  35. package/dist/chunks/{model-resolver-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{model-resolver-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{model-resolver-zz8q6pd3.js → file-46mjq1pt.js} +18 -18
  38. package/dist/chunks/{model-resolver-zga4qn8p.js → file-48pac6vd.js} +13 -13
  39. package/dist/chunks/{model-resolver-bx0s8vkw.js → file-4h7fv3fp.js} +17 -17
  40. package/dist/chunks/{model-resolver-cb3fxghj.js → file-4j0j23ey.js} +3 -3
  41. package/dist/chunks/{model-resolver-9f502qc3.js → file-4j7mpkgx.js} +17 -17
  42. package/dist/chunks/{model-resolver-7edpsxsq.js → file-4s7j885y.js} +22 -22
  43. package/dist/chunks/{model-resolver-x9hfrad7.js → file-4t3s258c.js} +10 -10
  44. package/dist/chunks/{model-resolver-cz7kh7dr.js → file-51egpm6x.js} +33 -33
  45. package/dist/chunks/{model-resolver-frznjamf.js → file-54b10ezm.js} +18 -18
  46. package/dist/chunks/{model-resolver-2fgn2we9.js → file-57ez7d0k.js} +9 -9
  47. package/dist/chunks/{model-resolver-pmt63s4b.js → file-5bxvyw76.js} +20 -20
  48. package/dist/chunks/{model-resolver-5daktx2q.js → file-5daktx2q.js} +1 -1
  49. package/dist/chunks/{model-resolver-5ekn9679.js → file-5ekn9679.js} +1 -1
  50. package/dist/chunks/{model-resolver-begh0jjd.js → file-5gs6ad6e.js} +17 -17
  51. package/dist/chunks/{model-resolver-thj49w3f.js → file-5nsey3wr.js} +7 -7
  52. package/dist/chunks/{model-resolver-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  53. package/dist/chunks/{model-resolver-g0445xdp.js → file-5xtgfte3.js} +6 -6
  54. package/dist/chunks/{model-resolver-6219dr34.js → file-5xzfw7ns.js} +4 -4
  55. package/dist/chunks/{model-resolver-4fbyhaeh.js → file-63kmhf8y.js} +4 -4
  56. package/dist/chunks/{model-resolver-669tq793.js → file-669tq793.js} +1 -1
  57. package/dist/chunks/{model-resolver-58jf3t5q.js → file-6c4shfhc.js} +51 -51
  58. package/dist/chunks/{model-resolver-2402vzrj.js → file-6h73sxmp.js} +5 -5
  59. package/dist/chunks/{model-resolver-xj9c03pw.js → file-6kx7krqt.js} +69 -69
  60. package/dist/chunks/{model-resolver-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  61. package/dist/chunks/{model-resolver-sd9tm8pe.js → file-6z8pkecr.js} +21 -21
  62. package/dist/chunks/{model-resolver-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  63. package/dist/chunks/{model-resolver-qyb91t3f.js → file-7etxhnt7.js} +6 -6
  64. package/dist/chunks/{model-resolver-9erfw3e9.js → file-7wrm002y.js} +10 -10
  65. package/dist/chunks/{model-resolver-c2fgwm5w.js → file-7z6w84v8.js} +37 -37
  66. package/dist/chunks/{model-resolver-h90v2x9d.js → file-80scg3y3.js} +4 -4
  67. package/dist/chunks/{model-resolver-s96k9d5p.js → file-84as8cq2.js} +41 -41
  68. package/dist/chunks/{model-resolver-4b6qd0e2.js → file-85s8v53t.js} +3 -3
  69. package/dist/chunks/{model-resolver-1s3p39g4.js → file-89e39zcy.js} +6 -6
  70. package/dist/chunks/{model-resolver-tcezcvh9.js → file-89znhe33.js} +4 -4
  71. package/dist/chunks/{model-resolver-n7xx8kr6.js → file-8bnmerw3.js} +23 -23
  72. package/dist/chunks/{model-resolver-38xyry6s.js → file-8c801g49.js} +32 -32
  73. package/dist/chunks/{model-resolver-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{model-resolver-8p4f9s12.js → file-8p4f9s12.js} +2 -2
  75. package/dist/chunks/{model-resolver-4z2468ba.js → file-8zccz2ek.js} +22 -22
  76. package/dist/chunks/{model-resolver-cggswk6d.js → file-93x6jy41.js} +16 -16
  77. package/dist/chunks/{model-resolver-b66nv89x.js → file-94xx1xn7.js} +7 -7
  78. package/dist/chunks/{model-resolver-vm3q9gwz.js → file-961898vc.js} +9 -9
  79. package/dist/chunks/{model-resolver-ax3ghaez.js → file-9899r06h.js} +7 -7
  80. package/dist/chunks/{model-resolver-qvb3nf84.js → file-99xay3p1.js} +8 -8
  81. package/dist/chunks/{model-resolver-d5fw341f.js → file-9d2rp1cq.js} +16 -16
  82. package/dist/chunks/{model-resolver-dngkxtp1.js → file-9d637bmc.js} +3 -3
  83. package/dist/chunks/{model-resolver-vqpavwsp.js → file-9h3wk7z7.js} +10 -10
  84. package/dist/chunks/{model-resolver-xfv3pavf.js → file-9m26091w.js} +28 -28
  85. package/dist/chunks/{model-resolver-tc4pcybw.js → file-9qwpg2je.js} +36 -36
  86. package/dist/chunks/{model-resolver-dm8zbqys.js → file-9rsv4pta.js} +11 -11
  87. package/dist/chunks/{model-resolver-k0t2epba.js → file-a0pvmwfx.js} +9 -9
  88. package/dist/chunks/{model-resolver-a1bz86dw.js → file-a1bz86dw.js} +3 -3
  89. package/dist/chunks/{model-resolver-6a9wqxav.js → file-a2vvwmx1.js} +24 -24
  90. package/dist/chunks/{model-resolver-vhh0q4nc.js → file-a42rk15d.js} +17 -17
  91. package/dist/chunks/{model-resolver-aaet6srn.js → file-aaet6srn.js} +2 -2
  92. package/dist/chunks/{model-resolver-h01nhy7h.js → file-ahfn6acx.js} +4 -4
  93. package/dist/chunks/{model-resolver-fb5x04t9.js → file-aj65n88x.js} +4 -4
  94. package/dist/chunks/{model-resolver-jca4demv.js → file-ak8wweg5.js} +2 -2
  95. package/dist/chunks/{model-resolver-hj6m6sww.js → file-at64addj.js} +32 -32
  96. package/dist/chunks/{model-resolver-3fpk5dv0.js → file-ay0ceryn.js} +10 -10
  97. package/dist/chunks/{model-resolver-4perdbh7.js → file-az4mp36y.js} +18 -18
  98. package/dist/chunks/{model-resolver-9h82tyv8.js → file-azx1z7rw.js} +25 -25
  99. package/dist/chunks/{model-resolver-vtr3qy6y.js → file-b0smj49a.js} +9 -9
  100. package/dist/chunks/{model-resolver-v1n7f3bv.js → file-b6apyc6e.js} +44 -44
  101. package/dist/chunks/{model-resolver-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{model-resolver-pmr4s4kc.js → file-bf0ztrs3.js} +4 -4
  103. package/dist/chunks/{model-resolver-kh9zez9n.js → file-bgpx11m8.js} +12 -12
  104. package/dist/chunks/{model-resolver-dtqg9ce1.js → file-bgs9y14h.js} +5 -5
  105. package/dist/chunks/{model-resolver-a233dc7h.js → file-bk8ffd6t.js} +26 -26
  106. package/dist/chunks/{model-resolver-aczm2rxs.js → file-bp3526j7.js} +36 -36
  107. package/dist/chunks/{model-resolver-5t68c6r6.js → file-bpr04gve.js} +15 -15
  108. package/dist/chunks/{model-resolver-mv0cq2z8.js → file-bqytp8dw.js} +8 -8
  109. package/dist/chunks/{model-resolver-ckd8zaaf.js → file-bxf8jet0.js} +24 -24
  110. package/dist/chunks/{model-resolver-k922v2jb.js → file-c8gxxwp7.js} +38 -38
  111. package/dist/chunks/{model-resolver-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
  112. package/dist/chunks/{model-resolver-f2f4fq37.js → file-cgm0pb56.js} +12 -12
  113. package/dist/chunks/{model-resolver-whxapjwv.js → file-ck8hsc54.js} +9 -9
  114. package/dist/chunks/{model-resolver-4hndnerf.js → file-cptt9y6c.js} +3 -3
  115. package/dist/chunks/{model-resolver-6wjgjjys.js → file-crtqttvk.js} +22 -22
  116. package/dist/chunks/{model-resolver-79qaa2kf.js → file-cwa6csj7.js} +9 -9
  117. package/dist/chunks/{model-resolver-2ky1fxdg.js → file-d26jp9g7.js} +14 -14
  118. package/dist/chunks/{model-resolver-g0jvtwam.js → file-d5d0dfzv.js} +30 -30
  119. package/dist/chunks/{model-resolver-9ax1p4ye.js → file-d5m60ny4.js} +32 -32
  120. package/dist/chunks/{model-resolver-h8h70yyk.js → file-d79a47f7.js} +5 -5
  121. package/dist/chunks/{model-resolver-7jasy514.js → file-d9dt1v1f.js} +4 -4
  122. package/dist/chunks/{model-resolver-n71jfxt4.js → file-df9g2pwv.js} +89 -89
  123. package/dist/chunks/{model-resolver-yvp2mdaf.js → file-dne7xynx.js} +18 -18
  124. package/dist/chunks/{model-resolver-xfkkasph.js → file-drwq78ky.js} +4 -4
  125. package/dist/chunks/{model-resolver-pdwdsh5k.js → file-dsppwhma.js} +11 -11
  126. package/dist/chunks/{model-resolver-5qd3pb7m.js → file-e3qxr5gk.js} +2 -2
  127. package/dist/chunks/{model-resolver-44h5tttr.js → file-ebe9bak5.js} +4 -4
  128. package/dist/chunks/{model-resolver-y0vc2xyv.js → file-eczzbh8s.js} +12 -12
  129. package/dist/chunks/{model-resolver-ef5x83kb.js → file-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{model-resolver-m7t37vek.js → file-eh0zrp3v.js} +2 -2
  131. package/dist/chunks/{model-resolver-nhjaecst.js → file-ep1x895y.js} +37 -37
  132. package/dist/chunks/{model-resolver-qtv9ncch.js → file-epe0b0fd.js} +18 -18
  133. package/dist/chunks/{model-resolver-erw5rpbs.js → file-erw5rpbs.js} +2 -2
  134. package/dist/chunks/{model-resolver-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{model-resolver-9mxycm4n.js → file-f2y9n0vy.js} +15 -15
  136. package/dist/chunks/{model-resolver-4arb9zza.js → file-f5gy8qwh.js} +8 -8
  137. package/dist/chunks/{model-resolver-f828m53h.js → file-f828m53h.js} +2 -2
  138. package/dist/chunks/{model-resolver-fj98xnxf.js → file-f8drsx4b.js} +23 -23
  139. package/dist/chunks/{model-resolver-cdfabfzn.js → file-f8eamx95.js} +41 -41
  140. package/dist/chunks/{model-resolver-24dd53tp.js → file-fhs97t90.js} +9 -9
  141. package/dist/chunks/{model-resolver-jkh9wndb.js → file-fjcndyh6.js} +9 -9
  142. package/dist/chunks/{model-resolver-44ke2mar.js → file-fkjmw100.js} +6 -6
  143. package/dist/chunks/{model-resolver-pqfrnb1v.js → file-fp6js440.js} +10 -10
  144. package/dist/chunks/{model-resolver-4xhhjths.js → file-fqj9nv8j.js} +8 -8
  145. package/dist/chunks/{model-resolver-q3t37ft6.js → file-fqka1xvk.js} +3 -3
  146. package/dist/chunks/{model-resolver-ed6vg7gg.js → file-ftcx6nj6.js} +21 -21
  147. package/dist/chunks/{model-resolver-nx8b8w69.js → file-g6dwdzmh.js} +5 -5
  148. package/dist/chunks/{model-resolver-fdv30zvt.js → file-g8d3gcyj.js} +4 -4
  149. package/dist/chunks/{model-resolver-bgpjdstn.js → file-gam671ft.js} +1 -1
  150. package/dist/chunks/{model-resolver-5a56x6pe.js → file-gaqvx1xw.js} +3 -3
  151. package/dist/chunks/{model-resolver-my074bcz.js → file-gbfgt6sn.js} +47 -47
  152. package/dist/chunks/{model-resolver-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{model-resolver-fj17ffs4.js → file-gtfshpks.js} +92 -92
  154. package/dist/chunks/{model-resolver-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{model-resolver-zvwz45r0.js → file-h04zhhvt.js} +9 -9
  156. package/dist/chunks/{model-resolver-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{model-resolver-yyafvb72.js → file-hb5p3hph.js} +6 -6
  158. package/dist/chunks/{model-resolver-g36s099n.js → file-hmr5kz4g.js} +11 -11
  159. package/dist/chunks/{model-resolver-yjptyezs.js → file-hnr5yq9h.js} +5 -5
  160. package/dist/chunks/{model-resolver-srfprz60.js → file-hqs29f2b.js} +19 -19
  161. package/dist/chunks/{model-resolver-j56e64zr.js → file-j56e64zr.js} +1 -1
  162. package/dist/chunks/{model-resolver-9a7hdk7d.js → file-j6cy3yns.js} +10 -10
  163. package/dist/chunks/{model-resolver-v17cfwww.js → file-j6m77yeb.js} +32 -32
  164. package/dist/chunks/{model-resolver-g83zqadm.js → file-jd2ww0mk.js} +1 -1
  165. package/dist/chunks/{model-resolver-atazjj4k.js → file-jgtvd3t4.js} +3 -3
  166. package/dist/chunks/{model-resolver-mty6m7w9.js → file-jgvadg7f.js} +19 -19
  167. package/dist/chunks/{model-resolver-a7k9f908.js → file-jy05rcjm.js} +17 -17
  168. package/dist/chunks/{model-resolver-zdewk29h.js → file-k1es8bc8.js} +10 -10
  169. package/dist/chunks/{model-resolver-k3c624dm.js → file-k3c624dm.js} +3 -3
  170. package/dist/chunks/{model-resolver-84zcxbc9.js → file-k8hpw67k.js} +5 -5
  171. package/dist/chunks/{model-resolver-174jbkxj.js → file-kncnnm9v.js} +9 -9
  172. package/dist/chunks/{model-resolver-spf3as2g.js → file-kpnhg8q0.js} +8 -8
  173. package/dist/chunks/{model-resolver-xec6pqx5.js → file-kq8bq8dw.js} +179 -179
  174. package/dist/chunks/{model-resolver-vj84vw6v.js → file-kqjrebtm.js} +18 -18
  175. package/dist/chunks/{model-resolver-jmjny7z7.js → file-kz5gp9n9.js} +44 -44
  176. package/dist/chunks/{model-resolver-m3fdjcah.js → file-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{model-resolver-str9ee35.js → file-m7zf272p.js} +5 -5
  178. package/dist/chunks/{model-resolver-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{model-resolver-mfqp6xfm.js → file-mfqp6xfm.js} +2 -2
  180. package/dist/chunks/{model-resolver-bktrs35w.js → file-mg83p4ch.js} +29 -29
  181. package/dist/chunks/{model-resolver-k64bnwpa.js → file-mggvfrpa.js} +6 -6
  182. package/dist/chunks/{model-resolver-x9mtwtp0.js → file-mh1qkymb.js} +4 -4
  183. package/dist/chunks/{model-resolver-ck7nwdye.js → file-mq6pntxv.js} +11 -11
  184. package/dist/chunks/{model-resolver-j028xdjb.js → file-mvfsc1pv.js} +3 -3
  185. package/dist/chunks/{model-resolver-d14vprx8.js → file-n2q888ww.js} +10 -10
  186. package/dist/chunks/{model-resolver-c9fwgwbn.js → file-n31tt50y.js} +18 -18
  187. package/dist/chunks/{model-resolver-gmjjhz4f.js → file-n7rhs6pj.js} +9 -9
  188. package/dist/chunks/{model-resolver-g0kbvjej.js → file-n9rh2a3m.js} +24 -24
  189. package/dist/chunks/{model-resolver-w35rqvbd.js → file-nknv447d.js} +54 -54
  190. package/dist/chunks/{model-resolver-4k3f784t.js → file-np51y1wd.js} +9 -9
  191. package/dist/chunks/{model-resolver-ra9qb9xd.js → file-nqcmdb0w.js} +33 -33
  192. package/dist/chunks/{model-resolver-2wkarfxb.js → file-nrkwc0dg.js} +15 -15
  193. package/dist/chunks/{model-resolver-tbz0fdvh.js → file-p28j5sbe.js} +5 -5
  194. package/dist/chunks/{model-resolver-yp71q2zj.js → file-p50sa4k8.js} +28 -28
  195. package/dist/chunks/{model-resolver-g190xswt.js → file-p51p3jcg.js} +21 -21
  196. package/dist/chunks/{model-resolver-k9d40v1y.js → file-pf9pgydg.js} +4 -4
  197. package/dist/chunks/{model-resolver-qa42b0qm.js → file-pj55ck15.js} +30 -30
  198. package/dist/chunks/{model-resolver-5qkxfyep.js → file-pjedbq3k.js} +4 -4
  199. package/dist/chunks/{model-resolver-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{model-resolver-pknna89w.js → file-pknna89w.js} +1 -1
  201. package/dist/chunks/{model-resolver-5hn0anhr.js → file-pkvxx0dx.js} +20 -20
  202. package/dist/chunks/{model-resolver-6jd6xyvr.js → file-ppgzpeqf.js} +18 -18
  203. package/dist/chunks/{model-resolver-05szsj41.js → file-ppxkdq9b.js} +11 -11
  204. package/dist/chunks/{model-resolver-bzpr344t.js → file-pqjwr6wn.js} +32 -32
  205. package/dist/chunks/{model-resolver-qyyztgt2.js → file-pyfqw2rm.js} +5 -5
  206. package/dist/chunks/{model-resolver-1vpcg86p.js → file-q15mr003.js} +17 -17
  207. package/dist/chunks/file-q509s3k3.js +18 -0
  208. package/dist/chunks/{model-resolver-fcrkznn8.js → file-qgn6gcr1.js} +5 -5
  209. package/dist/chunks/{model-resolver-z4068eyq.js → file-qm374v6w.js} +8 -8
  210. package/dist/chunks/{model-resolver-s4waqpsd.js → file-qnbxrd86.js} +15 -15
  211. package/dist/chunks/{model-resolver-nz2zjb46.js → file-qq4qjjy7.js} +24 -24
  212. package/dist/chunks/{model-resolver-7entrr9d.js → file-qqaq1tbn.js} +32 -32
  213. package/dist/chunks/{model-resolver-qsdy395h.js → file-qsdy395h.js} +1 -1
  214. package/dist/chunks/{model-resolver-eg6f78tx.js → file-qzenpgs1.js} +9 -9
  215. package/dist/chunks/{model-resolver-nzrwgsp4.js → file-r4jnj0e8.js} +7 -7
  216. package/dist/chunks/{model-resolver-z9mxambq.js → file-r6bcthm8.js} +10 -10
  217. package/dist/chunks/{model-resolver-wwxnzhtj.js → file-rcgs7rjg.js} +23 -23
  218. package/dist/chunks/{model-resolver-rdw6cm16.js → file-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{model-resolver-xbtb5td3.js → file-rnsnxg5k.js} +10 -10
  220. package/dist/chunks/{model-resolver-76h15cea.js → file-rqhsstds.js} +15 -15
  221. package/dist/chunks/{model-resolver-t44e5ekz.js → file-rsc9fyh1.js} +8 -8
  222. package/dist/chunks/{model-resolver-gyrg5twe.js → file-s08w5vyw.js} +47 -47
  223. package/dist/chunks/{model-resolver-yrznvahk.js → file-s4enseaf.js} +2 -2
  224. package/dist/chunks/{model-resolver-kstfjgce.js → file-sd5vfqt4.js} +23 -23
  225. package/dist/chunks/{model-resolver-wa5fn18k.js → file-sezme2zf.js} +11 -11
  226. package/dist/chunks/{model-resolver-2k6pk5vr.js → file-sg6affy2.js} +4 -4
  227. package/dist/chunks/{model-resolver-qhmmrrfr.js → file-smt9nx56.js} +19 -19
  228. package/dist/chunks/{model-resolver-awxzdy28.js → file-sn8k5w5s.js} +13 -13
  229. package/dist/chunks/{model-resolver-p13zq1q5.js → file-sqafhkxq.js} +17 -17
  230. package/dist/chunks/{model-resolver-fpq9acqp.js → file-sxzvkvgj.js} +6 -6
  231. package/dist/chunks/{model-resolver-qh2rvgcy.js → file-syfkgjgr.js} +30 -30
  232. package/dist/chunks/{model-resolver-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{model-resolver-tdstcens.js → file-tdstcens.js} +1 -1
  234. package/dist/chunks/{model-resolver-ycwdbjxs.js → file-tt8rvt36.js} +5 -5
  235. package/dist/chunks/{model-resolver-tvtrv512.js → file-tvtrv512.js} +1 -1
  236. package/dist/chunks/{model-resolver-ez8b3w29.js → file-twrzm18h.js} +13 -13
  237. package/dist/chunks/{model-resolver-rweywjj1.js → file-txqar36n.js} +19 -19
  238. package/dist/chunks/file-v3m8zswr.js +26 -0
  239. package/dist/chunks/{model-resolver-t9w9gn5n.js → file-vdpncwhs.js} +20 -20
  240. package/dist/chunks/{model-resolver-veqvce7d.js → file-veqvce7d.js} +1 -1
  241. package/dist/chunks/{model-resolver-bha4atvq.js → file-vkxpz7g2.js} +4 -4
  242. package/dist/chunks/{model-resolver-1jqe3dpm.js → file-vpwvqgnv.js} +7 -7
  243. package/dist/chunks/{model-resolver-rfh2gm6b.js → file-vstag346.js} +16 -16
  244. package/dist/chunks/{model-resolver-r6k8j3qp.js → file-vvf56fbk.js} +39 -39
  245. package/dist/chunks/{model-resolver-c488s98d.js → file-vy4zg7qh.js} +12 -12
  246. package/dist/chunks/{model-resolver-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{model-resolver-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{model-resolver-c6wsyg9f.js → file-w587stx7.js} +9 -9
  249. package/dist/chunks/{model-resolver-wd87259q.js → file-wd87259q.js} +1 -1
  250. package/dist/chunks/{model-resolver-pk8w8bk6.js → file-wgz7hchk.js} +6 -6
  251. package/dist/chunks/{model-resolver-fbfs1p3d.js → file-wjv2022v.js} +29 -29
  252. package/dist/chunks/{model-resolver-bzgcn0jp.js → file-wk5z6jzv.js} +9 -9
  253. package/dist/chunks/{model-resolver-zst1va42.js → file-wpm2rk0p.js} +8 -8
  254. package/dist/chunks/{model-resolver-71n90aqe.js → file-wx970249.js} +59 -59
  255. package/dist/chunks/{model-resolver-nb8wcjkv.js → file-wyfsrm3h.js} +15 -15
  256. package/dist/chunks/{model-resolver-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{model-resolver-mdm19ygt.js → file-x3taryep.js} +17 -17
  258. package/dist/chunks/{model-resolver-4j9e7cf8.js → file-x4fdevfx.js} +17 -17
  259. package/dist/chunks/{model-resolver-vvge8z52.js → file-x5e9capc.js} +5 -5
  260. package/dist/chunks/{model-resolver-yr3ev74z.js → file-x911a3rn.js} +11 -11
  261. package/dist/chunks/{model-resolver-tbjske3a.js → file-xb4nz3yw.js} +17 -17
  262. package/dist/chunks/{model-resolver-e4s55qb8.js → file-xdvkratw.js} +23 -23
  263. package/dist/chunks/{model-resolver-h6awx5kd.js → file-xe9t6z83.js} +11 -11
  264. package/dist/chunks/{model-resolver-9n0wq1sz.js → file-xmnpnma7.js} +10 -10
  265. package/dist/chunks/file-xvs8zake.js +252 -0
  266. package/dist/chunks/{model-resolver-pnc3prtr.js → file-xyv4p6em.js} +21 -21
  267. package/dist/chunks/{model-resolver-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{model-resolver-y71avatq.js → file-y71avatq.js} +1 -1
  269. package/dist/chunks/{model-resolver-0x74s4t4.js → file-ycv0w0a9.js} +26 -26
  270. package/dist/chunks/{model-resolver-r8xr0va3.js → file-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{model-resolver-krbbkavy.js → file-ypf2r24a.js} +16 -16
  272. package/dist/chunks/{model-resolver-zp6gb285.js → file-yqcrm5rh.js} +4 -4
  273. package/dist/chunks/{model-resolver-tk3x1716.js → file-yrf5hh55.js} +15 -15
  274. package/dist/chunks/{model-resolver-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{model-resolver-zmf7epqt.js → file-yrtahcj6.js} +27 -27
  276. package/dist/chunks/{model-resolver-yt0fqk68.js → file-yt0fqk68.js} +2 -2
  277. package/dist/chunks/{model-resolver-tx9w5tca.js → file-yw8t9dwe.js} +8 -8
  278. package/dist/chunks/{model-resolver-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{model-resolver-4wv1b6rs.js → file-z2jtgbj0.js} +4 -4
  280. package/dist/chunks/{model-resolver-tz2bjj40.js → file-z3pw5915.js} +5 -5
  281. package/dist/chunks/{model-resolver-sk1h1qsj.js → file-zdtzvc09.js} +5 -5
  282. package/dist/chunks/{model-resolver-818pfwc9.js → file-ze3aemja.js} +11 -11
  283. package/dist/chunks/{model-resolver-n96ncz0a.js → file-ze7vmps7.js} +40 -40
  284. package/dist/chunks/{model-resolver-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{model-resolver-bjgp5qsh.js → file-zf6fk84t.js} +8 -8
  286. package/dist/chunks/file-zqjzf2ta.js +503 -0
  287. package/dist/chunks/{model-resolver-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{model-resolver-ashh1ge4.js → file-zvf7qddh.js} +11 -11
  289. package/dist/chunks/{model-resolver-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{model-resolver-8pccpkv9.js → file-zz2qg7p3.js} +12 -12
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +82 -82
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +124 -124
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +141 -141
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +123 -123
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +125 -125
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +65 -65
  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.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.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 +226 -226
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +105 -105
  430. package/dist/form.js +83 -83
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +10 -10
  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 +98 -98
  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 +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +76 -76
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +86 -86
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +125 -125
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +98 -98
  481. package/dist/model-resolver.js +97 -97
  482. package/dist/model.js +101 -101
  483. package/dist/models-dev.js +100 -100
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +79 -79
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +116 -116
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +83 -83
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +101 -101
  494. package/dist/plugin/command.js +98 -98
  495. package/dist/plugin/compaction.js +130 -130
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +3 -3
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +75 -75
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +138 -138
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +350 -350
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +224 -224
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +89 -89
  563. package/dist/provider.js +100 -100
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +91 -91
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +90 -90
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +131 -131
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +7 -7
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +220 -220
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +89 -89
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +113 -113
  608. package/dist/session/runner/step.js +125 -125
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +86 -86
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +207 -207
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +216 -216
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +219 -219
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +104 -104
  632. package/dist/skill.js +107 -107
  633. package/dist/snapshot.js +90 -90
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +124 -124
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +123 -123
  641. package/dist/tool/plugin/grep.js +123 -123
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +121 -121
  644. package/dist/tool/plugin/question.js +100 -100
  645. package/dist/tool/plugin/read.js +116 -116
  646. package/dist/tool/plugin/shell.js +214 -214
  647. package/dist/tool/plugin/skill.js +100 -100
  648. package/dist/tool/plugin/subagent.js +216 -216
  649. package/dist/tool/plugin/webfetch.js +107 -107
  650. package/dist/tool/plugin/websearch.js +103 -103
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +99 -99
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +4 -4
  670. package/dist/v1/config/formatter.js +3 -3
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +2 -2
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +7 -7
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +90 -90
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +79 -79
  686. package/dist/wellknown/plugin.js +73 -73
  687. package/dist/wellknown.js +78 -78
  688. package/dist/workspace/driver.js +7 -7
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +77 -77
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +95 -95
  696. package/package.json +8 -8
  697. package/dist/chunks/model-resolver-9sh4wc5j.js +0 -18
  698. package/dist/chunks/model-resolver-appk1rsm.js +0 -252
  699. package/dist/chunks/model-resolver-kdqm869a.js +0 -503
  700. package/dist/chunks/model-resolver-qpq35ba3.js +0 -26
  701. /package/dist/chunks/{model-resolver-0mesazry.js → file-0mesazry.js} +0 -0
  702. /package/dist/chunks/{model-resolver-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{model-resolver-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{model-resolver-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{model-resolver-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{model-resolver-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{model-resolver-24dcb14g.js → file-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{model-resolver-2710q6r3.js → file-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{model-resolver-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{model-resolver-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{model-resolver-359p4xyc.js → file-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{model-resolver-3asan66x.js → file-3asan66x.js} +0 -0
  713. /package/dist/chunks/{model-resolver-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{model-resolver-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{model-resolver-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{model-resolver-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{model-resolver-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{model-resolver-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{model-resolver-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{model-resolver-53557ph1.js → file-53557ph1.js} +0 -0
  721. /package/dist/chunks/{model-resolver-550bvhaj.js → file-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{model-resolver-6prwharc.js → file-6prwharc.js} +0 -0
  723. /package/dist/chunks/{model-resolver-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{model-resolver-7m9af43g.js → file-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{model-resolver-822emrt2.js → file-822emrt2.js} +0 -0
  726. /package/dist/chunks/{model-resolver-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{model-resolver-8n3pysct.js → file-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{model-resolver-922hggd3.js → file-922hggd3.js} +0 -0
  729. /package/dist/chunks/{model-resolver-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{model-resolver-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{model-resolver-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{model-resolver-af5trqkr.js → file-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{model-resolver-afrmfg78.js → file-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{model-resolver-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{model-resolver-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{model-resolver-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{model-resolver-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{model-resolver-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{model-resolver-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{model-resolver-d9fn303g.js → file-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{model-resolver-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{model-resolver-dajrwvna.js → file-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{model-resolver-dap0rakb.js → file-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{model-resolver-df08tz66.js → file-df08tz66.js} +0 -0
  745. /package/dist/chunks/{model-resolver-dy18nga0.js → file-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{model-resolver-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{model-resolver-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{model-resolver-ec1grn59.js → file-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{model-resolver-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{model-resolver-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{model-resolver-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{model-resolver-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{model-resolver-faypxj3z.js → file-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{model-resolver-fd410y7t.js → file-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{model-resolver-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{model-resolver-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{model-resolver-g86h250q.js → file-g86h250q.js} +0 -0
  758. /package/dist/chunks/{model-resolver-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{model-resolver-gftt206x.js → file-gftt206x.js} +0 -0
  760. /package/dist/chunks/{model-resolver-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{model-resolver-hk9envan.js → file-hk9envan.js} +0 -0
  762. /package/dist/chunks/{model-resolver-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{model-resolver-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{model-resolver-jjkms2e6.js → file-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{model-resolver-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{model-resolver-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{model-resolver-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{model-resolver-mp448xyj.js → file-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{model-resolver-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{model-resolver-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{model-resolver-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{model-resolver-njntx4h6.js → file-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{model-resolver-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{model-resolver-q74kybfr.js → file-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{model-resolver-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{model-resolver-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{model-resolver-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{model-resolver-qg3g05ea.js → file-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{model-resolver-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{model-resolver-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{model-resolver-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{model-resolver-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{model-resolver-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{model-resolver-twg0f83k.js → file-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{model-resolver-w803qqfp.js → file-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{model-resolver-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{model-resolver-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{model-resolver-wtztk69x.js → file-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{model-resolver-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{model-resolver-x61499pn.js → file-x61499pn.js} +0 -0
  791. /package/dist/chunks/{model-resolver-y44na4kk.js → file-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{model-resolver-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{model-resolver-y8f7s663.js → file-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{model-resolver-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{model-resolver-ym463w8f.js → file-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{model-resolver-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-9a7hdk7d.js";
3
+ } from "./file-j6cy3yns.js";
4
4
  import {
5
5
  call2
6
- } from "./model-resolver-mfqp6xfm.js";
6
+ } from "./file-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin25,
14
+ Plugin: () => Plugin21,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint3
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint6 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint3 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin25 = define({
36
+ var Plugin21 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin25 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin25 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint6, Plugin25, exports_tinyfish };
76
+ export { endpoint3, Plugin21, exports_tinyfish };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./model-resolver-fb5x04t9.js";
4
+ } from "./file-aj65n88x.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./model-resolver-c488s98d.js";
6
+ Service82,
7
+ node86
8
+ } from "./file-vy4zg7qh.js";
9
9
  import {
10
- Service79,
11
- node83
12
- } from "./model-resolver-cggswk6d.js";
10
+ Service80,
11
+ node84
12
+ } from "./file-93x6jy41.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./model-resolver-9sh4wc5j.js";
15
+ } from "./file-q509s3k3.js";
16
16
  import {
17
- Service47,
18
- node51
19
- } from "./model-resolver-6wjgjjys.js";
17
+ Service52,
18
+ node55
19
+ } from "./file-crtqttvk.js";
20
20
  import {
21
- node24
22
- } from "./model-resolver-qtv9ncch.js";
21
+ node20
22
+ } from "./file-epe0b0fd.js";
23
23
  import {
24
- Service6,
25
- node7
26
- } from "./model-resolver-79qaa2kf.js";
24
+ Service12,
25
+ node14
26
+ } from "./file-cwa6csj7.js";
27
27
  import {
28
28
  __export
29
- } from "./model-resolver-9rqn6x4v.js";
29
+ } from "./file-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher = {};
33
- __export(exports_location_watcher, {
34
- LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service2,
36
- node: () => node2
32
+ var exports_location_watcher2 = {};
33
+ __export(exports_location_watcher2, {
34
+ LocationWatcher: () => exports_location_watcher2,
35
+ Service: () => Service11,
36
+ node: () => node13
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service2 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service11 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service2, Effect.gen(function* () {
46
- const location = yield* Service79;
47
- const watcher = yield* Service47;
45
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
46
+ const location = yield* Service80;
47
+ const watcher = yield* Service52;
48
48
  const bus = yield* Service83;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
51
- const policy = yield* Service6;
50
+ const git = yield* Service82;
51
+ const policy = yield* Service12;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service2.of({});
103
+ return Service11.of({});
104
104
  }));
105
- var node2 = makeLocationNode({
106
- service: Service2,
105
+ var node13 = makeLocationNode({
106
+ service: Service11,
107
107
  layer,
108
- deps: [node51, FSUtil.node, node83, node85, node87, node24, node7]
108
+ deps: [node55, FSUtil.node, node84, node86, node87, node20, node14]
109
109
  });
110
110
 
111
- export { Service2, node2, exports_location_watcher };
111
+ export { Service11, node13, exports_location_watcher2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./model-resolver-4b6qd0e2.js";
4
+ } from "./file-85s8v53t.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./model-resolver-f828m53h.js";
7
+ } from "./file-f828m53h.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./file-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID13,
17
- Info: () => Info27,
16
+ ID: () => ID7,
17
+ Info: () => Info9,
18
18
  ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service75,
21
- node: () => node79
20
+ Service: () => Service46,
21
+ node: () => node48
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID13 = PermissionSaved.ID;
29
- var Info27 = PermissionSaved.Info;
28
+ var ID7 = PermissionSaved.ID;
29
+ var Info9 = PermissionSaved.Info;
30
30
  var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service75 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service46 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service75, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
42
42
  const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID13.create(),
60
+ id: ID7.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service75.of({ list, add, remove });
69
+ return Service46.of({ list, add, remove });
70
70
  }));
71
- var node79 = makeGlobalNode({ service: Service75, layer, deps: [node88] });
71
+ var node48 = makeGlobalNode({ service: Service46, layer, deps: [node88] });
72
72
 
73
- export { ID13, Info27, ListInput4, AddInput2, Service75, node79, exports_saved };
73
+ export { ID7, Info9, ListInput4, AddInput2, Service46, node48, exports_saved };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./model-resolver-gftt206x.js";
3
+ } from "./file-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update3(adapter, event) {
24
+ function update2(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -401,4 +401,4 @@ function update3(adapter, event) {
401
401
  return project(event);
402
402
  }
403
403
 
404
- export { update3, exports_message_updater };
404
+ export { update2, exports_message_updater };
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-resolver-922hggd3.js";
4
+ } from "./file-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service81,
9
- node85
10
- } from "./model-resolver-c488s98d.js";
8
+ Service82,
9
+ node86
10
+ } from "./file-vy4zg7qh.js";
11
11
  import {
12
- Service79,
13
- node83
14
- } from "./model-resolver-cggswk6d.js";
12
+ Service80,
13
+ node84
14
+ } from "./file-93x6jy41.js";
15
15
  import {
16
16
  create3
17
- } from "./model-resolver-rdw6cm16.js";
17
+ } from "./file-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./model-resolver-9rqn6x4v.js";
20
+ } from "./file-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID7,
25
+ Error: () => Error2,
26
+ ID: () => ID9,
27
27
  Service: () => Service55,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node60,
30
- noopLayer: () => noopLayer2
29
+ node: () => node58,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID7 } from "@opencode/schema/snapshot";
37
+ import { ID as ID9 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
@@ -47,9 +47,9 @@ class Service55 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
48
  var layer = Layer.effect(Service55, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
50
+ const git = yield* Service82;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service79;
52
+ const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID7.make(yield* git.tree.capture({
85
+ return ID9.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
141
  return Service55.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node60 = makeLocationNode({
143
+ var node58 = makeLocationNode({
144
144
  service: Service55,
145
145
  layer,
146
- deps: [FSUtil.node, node85, Global.node, node83]
146
+ deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service55, Service55.of({
148
+ var noopLayer3 = Layer.succeed(Service55, Service55.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service55, Service55.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error4 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error4({
159
+ return new Error2({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID7, Error4, Service55, node60, noopLayer2, exports_snapshot2 };
166
+ export { ID9, Error2, Service55, node58, noopLayer3, exports_snapshot2 };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission = {};
7
- __export(exports_permission, {
6
+ var exports_permission2 = {};
7
+ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info16,
9
+ ConfigPermissionV1: () => exports_permission2,
10
+ Info: () => Info14,
11
11
  Object: () => Object2,
12
- Rule: () => Rule2
12
+ Rule: () => Rule3
13
13
  });
14
14
  import { Schema, SchemaGetter } from "effect";
15
15
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
16
16
  var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
17
- var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
17
+ var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
18
18
  var InputObject = Schema.StructWithRest(Schema.Struct({
19
- read: Schema.optional(Rule2),
20
- edit: Schema.optional(Rule2),
21
- glob: Schema.optional(Rule2),
22
- grep: Schema.optional(Rule2),
23
- list: Schema.optional(Rule2),
24
- bash: Schema.optional(Rule2),
25
- task: Schema.optional(Rule2),
26
- external_directory: Schema.optional(Rule2),
19
+ read: Schema.optional(Rule3),
20
+ edit: Schema.optional(Rule3),
21
+ glob: Schema.optional(Rule3),
22
+ grep: Schema.optional(Rule3),
23
+ list: Schema.optional(Rule3),
24
+ bash: Schema.optional(Rule3),
25
+ task: Schema.optional(Rule3),
26
+ external_directory: Schema.optional(Rule3),
27
27
  question: Schema.optional(Action2),
28
- webfetch: Schema.optional(Rule2),
28
+ webfetch: Schema.optional(Rule3),
29
29
  websearch: Schema.optional(Action2),
30
- lsp: Schema.optional(Rule2),
30
+ lsp: Schema.optional(Rule3),
31
31
  doom_loop: Schema.optional(Action2),
32
- skill: Schema.optional(Rule2)
33
- }), [Schema.Record(Schema.String, Rule2)]);
32
+ skill: Schema.optional(Rule3)
33
+ }), [Schema.Record(Schema.String, Rule3)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info16 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info14 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info16, exports_permission };
41
+ export { Action2, Object2, Rule3, Info14, exports_permission2 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info28,
8
+ Info: () => Info8,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info28 = SessionProviderContext.Info;
22
+ var Info8 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -49,4 +49,4 @@ var encode2 = (provenance, replacement) => ({
49
49
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
50
50
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
51
51
 
52
- export { Info28, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
52
+ export { Info8, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  key2
3
- } from "./model-resolver-44h5tttr.js";
3
+ } from "./file-ebe9bak5.js";
4
4
  import {
5
5
  Service83
6
- } from "./model-resolver-fb5x04t9.js";
6
+ } from "./file-aj65n88x.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./model-resolver-g0jvtwam.js";
9
+ Event16
10
+ } from "./file-d5d0dfzv.js";
11
11
  import {
12
- ID10,
12
+ ID13,
13
13
  MethodID2
14
- } from "./model-resolver-fbfs1p3d.js";
14
+ } from "./file-wjv2022v.js";
15
15
  import {
16
- ID9,
16
+ ID12,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service69
20
- } from "./model-resolver-38xyry6s.js";
19
+ Service61
20
+ } from "./file-8c801g49.js";
21
21
  import {
22
- ID8
23
- } from "./model-resolver-7entrr9d.js";
22
+ ID11
23
+ } from "./file-qqaq1tbn.js";
24
24
  import {
25
- load2,
26
- derive2
27
- } from "./model-resolver-4z2468ba.js";
25
+ load3,
26
+ derive3
27
+ } from "./file-8zccz2ek.js";
28
28
  import {
29
29
  useragent2
30
- } from "./model-resolver-9a7hdk7d.js";
30
+ } from "./file-j6cy3yns.js";
31
31
 
32
32
  // src/plugin/provider/github-copilot.ts
33
33
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
59
59
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
60
60
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
61
61
  var oauth = (app) => ({
62
- integrationID: ID10.make("github-copilot"),
62
+ integrationID: ID13.make("github-copilot"),
63
63
  method: {
64
64
  id: methodID,
65
65
  type: "oauth",
@@ -157,7 +157,7 @@ var oauth = (app) => ({
157
157
  var GithubCopilotPlugin2 = define({
158
158
  id: "opencode.provider.github.copilot",
159
159
  effect: Effect.fn(function* (ctx) {
160
- const providers = yield* Service69;
160
+ const providers = yield* Service61;
161
161
  const bus = yield* Service83;
162
162
  const loading = Semaphore.makeUnsafe(1);
163
163
  const loaded = {};
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
173
173
  return;
174
174
  }
175
175
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
176
- const provider = yield* providers.get(ID9.githubCopilot);
176
+ const provider = yield* providers.get(ID12.githubCopilot);
177
177
  const remote = yield* Effect.tryPromise({
178
- try: () => load2(url, {
178
+ try: () => load3(url, {
179
179
  ...provider?.headers,
180
180
  Authorization: `Bearer ${credential.refresh}`,
181
181
  "User-Agent": useragent2(ctx.app),
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
194
194
  editor.method.update(oauth(ctx.app));
195
195
  });
196
196
  yield* ctx.provider.transform((evt) => {
197
- const item = evt.get(ID9.githubCopilot);
197
+ const item = evt.get(ID12.githubCopilot);
198
198
  if (!item)
199
199
  return;
200
200
  if (loaded.models) {
201
201
  evt.add({
202
202
  info: item.provider,
203
- models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
203
+ models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
204
204
  sourceConnection: loaded.connection
205
205
  });
206
206
  return;
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
214
214
  }
215
215
  });
216
216
  yield* ctx.model.transform((models) => {
217
- if (models.get(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
218
- models.update(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
217
+ if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
218
+ models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
219
219
  model.enabled = false;
220
220
  });
221
221
  }
222
222
  });
223
223
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
224
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* refresh().pipe(Effect.forkScoped);
226
226
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
227
- if (evt.model.providerID !== ID9.githubCopilot)
227
+ if (evt.model.providerID !== ID12.githubCopilot)
228
228
  return;
229
229
  if (evt.package !== "@ai-sdk/github-copilot")
230
230
  return;
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
233
233
  evt.sdk = mod.createOpenaiCompatible(evt.options);
234
234
  }));
235
235
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
236
- if (evt.model.providerID !== ID9.githubCopilot)
236
+ if (evt.model.providerID !== ID12.githubCopilot)
237
237
  return;
238
238
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
239
239
  return;
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
243
243
  evt.headers["X-Interaction-Id"] = evt.sessionID;
244
244
  if (interaction !== "conversation-agent")
245
245
  evt.headers["x-initiator"] = "agent";
246
- }), { providerID: ID9.githubCopilot });
246
+ }), { providerID: ID12.githubCopilot });
247
247
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
248
- if (evt.model.providerID !== ID9.githubCopilot)
248
+ if (evt.model.providerID !== ID12.githubCopilot)
249
249
  return;
250
250
  const token = evt.request.headers.get("x-api-key");
251
251
  if (!token)
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
253
253
  const text = yield* Effect.promise(() => evt.request.clone().text());
254
254
  const body = Option.getOrUndefined(decodeBody(text));
255
255
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
256
- }), { providerID: ID9.githubCopilot });
256
+ }), { providerID: ID12.githubCopilot });
257
257
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
258
- if (evt.model.providerID !== ID9.githubCopilot)
258
+ if (evt.model.providerID !== ID12.githubCopilot)
259
259
  return;
260
260
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
261
261
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);