@opencode/core 0.0.0-dev-20123 → 0.0.0-dev-20124

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 (800) 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 +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{job-rhjbct0v.js → model-resolver-02nrjc1r.js} +6 -6
  8. package/dist/chunks/{job-mw3vj00v.js → model-resolver-04hnx7m6.js} +17 -17
  9. package/dist/chunks/{job-1h9njfqv.js → model-resolver-0gbss3fx.js} +25 -25
  10. package/dist/chunks/{job-tg6988vm.js → model-resolver-0jfh7z55.js} +41 -41
  11. package/dist/chunks/{job-xgdhjfbb.js → model-resolver-0kg3x5km.js} +13 -13
  12. package/dist/chunks/model-resolver-0mesazry.js +4 -0
  13. package/dist/chunks/{job-rgyp5fs8.js → model-resolver-0mz149mz.js} +24 -24
  14. package/dist/chunks/{job-jb8dnvam.js → model-resolver-0ng4kf97.js} +32 -32
  15. package/dist/chunks/{job-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{job-1hwsz3wr.js → model-resolver-0q26a2b3.js} +18 -18
  17. package/dist/chunks/{job-84zcxbc9.js → model-resolver-0ryd0fps.js} +5 -5
  18. package/dist/chunks/{job-357452v1.js → model-resolver-0tdm3y21.js} +10 -10
  19. package/dist/chunks/{job-chhc8b2c.js → model-resolver-0v374yjc.js} +5 -5
  20. package/dist/chunks/{job-w4cz4w8n.js → model-resolver-156whzkq.js} +2 -2
  21. package/dist/chunks/{job-84qf2sz4.js → model-resolver-173t7wcz.js} +8 -8
  22. package/dist/chunks/{job-a8wsvhrn.js → model-resolver-19518qm9.js} +14 -14
  23. package/dist/chunks/{job-r8xr0va3.js → model-resolver-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{job-21cd0s03.js → model-resolver-1d64zjtd.js} +10 -10
  25. package/dist/chunks/{job-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{job-wdsk4apj.js → model-resolver-1g3fhskv.js} +23 -23
  27. package/dist/chunks/{job-3fhxmx4v.js → model-resolver-1k3s6syq.js} +3 -3
  28. package/dist/chunks/{job-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  29. package/dist/chunks/{job-f9w72p70.js → model-resolver-26mdse20.js} +15 -15
  30. package/dist/chunks/{job-q535224r.js → model-resolver-27z1xvbk.js} +18 -18
  31. package/dist/chunks/{job-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{job-dvmh4ts6.js → model-resolver-2dznbxmy.js} +23 -23
  33. package/dist/chunks/{job-5cmxdwv8.js → model-resolver-2f04pwep.js} +2 -2
  34. package/dist/chunks/{job-c480xm2k.js → model-resolver-2f9f9n6j.js} +30 -30
  35. package/dist/chunks/{job-0pv1g9nx.js → model-resolver-2gmwjqmv.js} +19 -19
  36. package/dist/chunks/{job-1awp3qpv.js → model-resolver-2j85j1qq.js} +6 -6
  37. package/dist/chunks/{job-0tmgye68.js → model-resolver-2kewd2va.js} +9 -9
  38. package/dist/chunks/{job-m604p9h9.js → model-resolver-2n8bv8kh.js} +3 -3
  39. package/dist/chunks/{job-shpdfzmb.js → model-resolver-33vhehfz.js} +8 -8
  40. package/dist/chunks/{job-7c0qk9f5.js → model-resolver-36qt8gf5.js} +17 -17
  41. package/dist/chunks/{job-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{job-bh3mwb6a.js → model-resolver-3fp3xcnb.js} +14 -14
  43. package/dist/chunks/{job-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{job-5dzyf9wn.js → model-resolver-3pm9m3n0.js} +13 -13
  45. package/dist/chunks/{job-621thra8.js → model-resolver-3rf7mzjq.js} +88 -88
  46. package/dist/chunks/{job-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{job-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{job-tz7n5q2n.js → model-resolver-3vvy9r1q.js} +17 -17
  49. package/dist/chunks/{job-3t1tf7ab.js → model-resolver-3y72t5s0.js} +20 -20
  50. package/dist/chunks/{job-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{job-3zqgca9t.js → model-resolver-40a4pq3k.js} +3 -3
  52. package/dist/chunks/{job-2hafbkzw.js → model-resolver-49fmtcj3.js} +32 -32
  53. package/dist/chunks/{job-a89e0tac.js → model-resolver-4bm5ja14.js} +4 -4
  54. package/dist/chunks/{job-2mhtd2h6.js → model-resolver-4m9cw4aw.js} +11 -11
  55. package/dist/chunks/{job-2p4yn6dm.js → model-resolver-4p21y445.js} +22 -22
  56. package/dist/chunks/{job-33a3dssb.js → model-resolver-4qqzqwb9.js} +5 -5
  57. package/dist/chunks/{job-yg8z43z0.js → model-resolver-4rqrtqc5.js} +8 -8
  58. package/dist/chunks/{job-44yjcw9g.js → model-resolver-4s2padma.js} +9 -9
  59. package/dist/chunks/{job-3cfzdc8e.js → model-resolver-4xbskmpe.js} +5 -5
  60. package/dist/chunks/{job-p44d8wdy.js → model-resolver-4xz89tjk.js} +5 -5
  61. package/dist/chunks/{job-ckecvw8r.js → model-resolver-54tcyq79.js} +2 -2
  62. package/dist/chunks/{job-mvg86y0x.js → model-resolver-569et0xs.js} +24 -24
  63. package/dist/chunks/{job-mfqp6xfm.js → model-resolver-56gdpj1q.js} +6 -6
  64. package/dist/chunks/{job-qzy0htd5.js → model-resolver-58c90p9y.js} +2 -2
  65. package/dist/chunks/{job-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  66. package/dist/chunks/{job-yjptyezs.js → model-resolver-5e19p4dw.js} +5 -5
  67. package/dist/chunks/{job-5ge6znve.js → model-resolver-5jbstfnb.js} +24 -24
  68. package/dist/chunks/{job-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  69. package/dist/chunks/{job-483vprpr.js → model-resolver-63ctpfk7.js} +23 -23
  70. package/dist/chunks/{job-669tq793.js → model-resolver-669tq793.js} +1 -1
  71. package/dist/chunks/{job-dwy550y4.js → model-resolver-6dr7817k.js} +20 -20
  72. package/dist/chunks/{job-2402vzrj.js → model-resolver-6h73sxmp.js} +5 -5
  73. package/dist/chunks/{job-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{job-1p07q0wb.js → model-resolver-6pc27hjz.js} +8 -8
  75. package/dist/chunks/{job-3vcfbxd4.js → model-resolver-6vra413r.js} +12 -12
  76. package/dist/chunks/{job-4ezq13de.js → model-resolver-6yqr96vd.js} +42 -42
  77. package/dist/chunks/{job-aqbnk3w5.js → model-resolver-6zpb3hvq.js} +12 -12
  78. package/dist/chunks/{job-362gjx7k.js → model-resolver-7161yw90.js} +7 -7
  79. package/dist/chunks/{job-zdm716ts.js → model-resolver-72f6taeg.js} +26 -26
  80. package/dist/chunks/{job-kv0b7v98.js → model-resolver-778t764x.js} +42 -42
  81. package/dist/chunks/{job-k7rmk0mz.js → model-resolver-79skyr14.js} +11 -11
  82. package/dist/chunks/{job-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{job-pan3z8cp.js → model-resolver-7bxnc6x6.js} +11 -11
  84. package/dist/chunks/{job-b4t7m2jz.js → model-resolver-7c5c7hvy.js} +13 -13
  85. package/dist/chunks/{job-y31rbjnw.js → model-resolver-7d0nz2vs.js} +20 -20
  86. package/dist/chunks/{job-nrk5vjbf.js → model-resolver-7d2a7xbs.js} +5 -5
  87. package/dist/chunks/{job-r148w95a.js → model-resolver-7efmbnhw.js} +7 -7
  88. package/dist/chunks/{job-2cq5zkt6.js → model-resolver-7kj39dgh.js} +8 -8
  89. package/dist/chunks/{job-q1zmm1c6.js → model-resolver-7p797550.js} +6 -6
  90. package/dist/chunks/{job-0nwdympg.js → model-resolver-7x6bmn48.js} +28 -28
  91. package/dist/chunks/{job-kxymwdrp.js → model-resolver-7ygvs13g.js} +5 -5
  92. package/dist/chunks/{job-64nhe9mm.js → model-resolver-80rghvf4.js} +32 -32
  93. package/dist/chunks/{job-zfa7ynd8.js → model-resolver-87qhefk3.js} +15 -15
  94. package/dist/chunks/{job-tcezcvh9.js → model-resolver-89znhe33.js} +4 -4
  95. package/dist/chunks/{job-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{job-kmyvrf53.js → model-resolver-8h519gpd.js} +8 -8
  97. package/dist/chunks/{job-dmtxy77h.js → model-resolver-8kqr9rea.js} +4 -4
  98. package/dist/chunks/{job-f0np6nee.js → model-resolver-8n3bkser.js} +16 -16
  99. package/dist/chunks/{job-0nh3zynp.js → model-resolver-8p1ggxfh.js} +18 -18
  100. package/dist/chunks/{job-g46ydm0k.js → model-resolver-8xxayhk6.js} +24 -24
  101. package/dist/chunks/{job-4dgbcxzg.js → model-resolver-8z00fdkb.js} +4 -4
  102. package/dist/chunks/{job-vmk01m7y.js → model-resolver-9018cb23.js} +33 -33
  103. package/dist/chunks/{job-mvksx64m.js → model-resolver-93kvt1p5.js} +4 -4
  104. package/dist/chunks/{job-713hsy6v.js → model-resolver-9amkr7ky.js} +11 -11
  105. package/dist/chunks/{job-bj655381.js → model-resolver-9egj2258.js} +6 -6
  106. package/dist/chunks/{job-47qsm60k.js → model-resolver-9gdecscc.js} +11 -11
  107. package/dist/chunks/{job-vm6ftwaz.js → model-resolver-9hk60pt8.js} +28 -28
  108. package/dist/chunks/{job-659nyytr.js → model-resolver-9kbkhne8.js} +23 -23
  109. package/dist/chunks/{job-n156yfz5.js → model-resolver-9qkca2k4.js} +28 -28
  110. package/dist/chunks/{job-212zgvfw.js → model-resolver-9ssqh1pf.js} +55 -55
  111. package/dist/chunks/{job-fyta9203.js → model-resolver-a3ykbbws.js} +17 -17
  112. package/dist/chunks/{job-r3bqvamy.js → model-resolver-a48a702n.js} +27 -27
  113. package/dist/chunks/{job-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  114. package/dist/chunks/{job-88xd4vzg.js → model-resolver-afcq0tqz.js} +32 -32
  115. package/dist/chunks/{job-6rrxrnwx.js → model-resolver-agd0d5z2.js} +30 -30
  116. package/dist/chunks/{job-g3hm4f7e.js → model-resolver-ak724xxd.js} +30 -30
  117. package/dist/chunks/{job-mc3hkess.js → model-resolver-ar21n6zh.js} +19 -19
  118. package/dist/chunks/{job-gwpxvm0z.js → model-resolver-b18rdbr5.js} +15 -15
  119. package/dist/chunks/{job-tkmwgdpd.js → model-resolver-b27vhd2z.js} +7 -7
  120. package/dist/chunks/{job-02xcpd00.js → model-resolver-b3825faf.js} +18 -18
  121. package/dist/chunks/{job-db5sanfd.js → model-resolver-b62ps4b3.js} +10 -10
  122. package/dist/chunks/{job-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  123. package/dist/chunks/{job-yq2cczkq.js → model-resolver-bdqrk2vk.js} +8 -8
  124. package/dist/chunks/{job-fnsgkk5v.js → model-resolver-bfd0r08e.js} +20 -20
  125. package/dist/chunks/{job-431mjdkk.js → model-resolver-bfgskg5r.js} +21 -21
  126. package/dist/chunks/{job-z07pqspn.js → model-resolver-bjtzbw4r.js} +3 -3
  127. package/dist/chunks/{job-cvtc1xje.js → model-resolver-bkfeammj.js} +28 -28
  128. package/dist/chunks/{job-a1v5q0gw.js → model-resolver-bsf62bbk.js} +13 -13
  129. package/dist/chunks/{job-0d4sc7pe.js → model-resolver-bt1446pf.js} +23 -23
  130. package/dist/chunks/{job-gxdg2v33.js → model-resolver-bykc32a6.js} +5 -5
  131. package/dist/chunks/{job-me0qtf3p.js → model-resolver-chh4w0bc.js} +10 -10
  132. package/dist/chunks/{job-czfptnv9.js → model-resolver-cmwkp3r5.js} +6 -6
  133. package/dist/chunks/{job-kxpygcw9.js → model-resolver-cqg8v4c7.js} +6 -6
  134. package/dist/chunks/{job-p44n200t.js → model-resolver-cqxgg118.js} +24 -24
  135. package/dist/chunks/{job-gcvn1bpc.js → model-resolver-csnfj2b0.js} +32 -32
  136. package/dist/chunks/{job-0z0qaz2z.js → model-resolver-cvnss5v6.js} +25 -25
  137. package/dist/chunks/{job-v6gb7zv2.js → model-resolver-d0k1g5nx.js} +6 -6
  138. package/dist/chunks/{job-xcv1e8fb.js → model-resolver-d23g84s9.js} +15 -15
  139. package/dist/chunks/{job-5s4ek4xp.js → model-resolver-d6ggdbw1.js} +11 -11
  140. package/dist/chunks/{job-57ez7d0k.js → model-resolver-d9s573fh.js} +2 -2
  141. package/dist/chunks/{job-y71avatq.js → model-resolver-dpkg50ah.js} +4 -4
  142. package/dist/chunks/{job-57b9ws8p.js → model-resolver-drwq78ky.js} +5 -5
  143. package/dist/chunks/{job-jrz5953c.js → model-resolver-dvt6vme3.js} +34 -34
  144. package/dist/chunks/{job-0xjzj7vr.js → model-resolver-dyhdt8jb.js} +4 -4
  145. package/dist/chunks/{job-vxrbzjcb.js → model-resolver-e8m9yhze.js} +18 -18
  146. package/dist/chunks/{job-39m4cdzz.js → model-resolver-e8r9fk8v.js} +5 -5
  147. package/dist/chunks/{job-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
  148. package/dist/chunks/{job-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  149. package/dist/chunks/{job-8wm8yswe.js → model-resolver-emgtyv65.js} +6 -6
  150. package/dist/chunks/{job-4x78564e.js → model-resolver-emmx8e90.js} +28 -28
  151. package/dist/chunks/{job-my8d63dw.js → model-resolver-es2axtbg.js} +6 -6
  152. package/dist/chunks/{job-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  153. package/dist/chunks/{job-h2e8h9aw.js → model-resolver-f3r70g5j.js} +5 -5
  154. package/dist/chunks/{job-98jem7f5.js → model-resolver-fed82zpn.js} +35 -35
  155. package/dist/chunks/{job-n3cs609t.js → model-resolver-fg4tf8ta.js} +10 -10
  156. package/dist/chunks/{job-hgd8zhtt.js → model-resolver-fh6ss5gb.js} +15 -15
  157. package/dist/chunks/{job-6ea1e4p1.js → model-resolver-fhhby8rf.js} +8 -8
  158. package/dist/chunks/{job-qwjmgwmn.js → model-resolver-fqtvmpfq.js} +8 -8
  159. package/dist/chunks/{job-htjw9qza.js → model-resolver-ft7xjps2.js} +8 -8
  160. package/dist/chunks/{job-nn5t8h7a.js → model-resolver-fxnvxn2a.js} +12 -12
  161. package/dist/chunks/{job-s3prev92.js → model-resolver-fzft6rk9.js} +26 -26
  162. package/dist/chunks/{job-2gbsvbx5.js → model-resolver-g17wn8cw.js} +12 -12
  163. package/dist/chunks/{job-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  164. package/dist/chunks/{job-94ek1h2f.js → model-resolver-gfvb90ym.js} +2 -2
  165. package/dist/chunks/{job-00x4qneg.js → model-resolver-gn2hfjap.js} +8 -8
  166. package/dist/chunks/{job-dc7fh6fg.js → model-resolver-gw5a5t0z.js} +9 -9
  167. package/dist/chunks/{job-pgp1nwjn.js → model-resolver-gzq5apsj.js} +4 -4
  168. package/dist/chunks/{job-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{job-tjdqkw86.js → model-resolver-hdhk3cs9.js} +11 -11
  170. package/dist/chunks/{job-vw85y51h.js → model-resolver-hep603q0.js} +9 -9
  171. package/dist/chunks/{job-ht5y0zrb.js → model-resolver-ht5y0zrb.js} +1 -1
  172. package/dist/chunks/{job-vrmkz4m4.js → model-resolver-j1k7yznt.js} +43 -43
  173. package/dist/chunks/{job-mjtzhttr.js → model-resolver-j4amppr9.js} +174 -174
  174. package/dist/chunks/{job-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  175. package/dist/chunks/{job-ex7en11g.js → model-resolver-j9fve04j.js} +14 -14
  176. package/dist/chunks/{job-gjwavh5k.js → model-resolver-jb2d0ras.js} +21 -21
  177. package/dist/chunks/{job-06m1xh7w.js → model-resolver-jw8j7y7p.js} +8 -8
  178. package/dist/chunks/{job-9eq5kwq7.js → model-resolver-jygqzb3h.js} +8 -8
  179. package/dist/chunks/{job-35hkzk16.js → model-resolver-jzn2qkj6.js} +7 -7
  180. package/dist/chunks/{job-nzks3jc8.js → model-resolver-k3c624dm.js} +3 -3
  181. package/dist/chunks/{job-g2azqtd1.js → model-resolver-k4nv4f3v.js} +1 -1
  182. package/dist/chunks/{job-ssdqnhy0.js → model-resolver-k9d40v1y.js} +4 -4
  183. package/dist/chunks/{job-jw8x7wz2.js → model-resolver-kbq1152n.js} +13 -13
  184. package/dist/chunks/{job-a68v6zx7.js → model-resolver-kfvedqw3.js} +8 -8
  185. package/dist/chunks/{job-616jhwvt.js → model-resolver-kmaq4q5p.js} +32 -32
  186. package/dist/chunks/{job-pc4b88sv.js → model-resolver-kmx0na6r.js} +4 -4
  187. package/dist/chunks/{job-n9vxckn6.js → model-resolver-kz7p30d5.js} +9 -9
  188. package/dist/chunks/{job-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{job-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{job-8hrbqkq9.js → model-resolver-mdggx82f.js} +11 -11
  191. package/dist/chunks/{job-nrdmrqsx.js → model-resolver-mjymc32g.js} +4 -4
  192. package/dist/chunks/{job-x9t27xs5.js → model-resolver-mv035zws.js} +29 -29
  193. package/dist/chunks/{job-73tb2d7t.js → model-resolver-mvfsc1pv.js} +3 -3
  194. package/dist/chunks/{job-nq7qbqzc.js → model-resolver-mvn2r3z4.js} +9 -9
  195. package/dist/chunks/{job-brsymgq7.js → model-resolver-mxmchy46.js} +8 -8
  196. package/dist/chunks/{job-m5n772d3.js → model-resolver-myb1y6vq.js} +44 -44
  197. package/dist/chunks/{job-dbtzv3n3.js → model-resolver-mztje66g.js} +26 -26
  198. package/dist/chunks/{job-wtwhrn5z.js → model-resolver-n7a0dxy8.js} +4 -4
  199. package/dist/chunks/{job-dq0v80fr.js → model-resolver-n97pwnhd.js} +12 -12
  200. package/dist/chunks/{job-z2txmjmh.js → model-resolver-nna5qp8a.js} +4 -4
  201. package/dist/chunks/{job-htvf7dte.js → model-resolver-nrpdyjdp.js} +25 -25
  202. package/dist/chunks/{job-2w4mr9ah.js → model-resolver-p49rk7zg.js} +6 -6
  203. package/dist/chunks/{job-jy3q8cv1.js → model-resolver-p95nf0hr.js} +9 -9
  204. package/dist/chunks/{job-t9nbwmk6.js → model-resolver-pb97dx7z.js} +11 -11
  205. package/dist/chunks/{job-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{job-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  207. package/dist/chunks/{job-727asdka.js → model-resolver-pm44etjj.js} +44 -44
  208. package/dist/chunks/{job-qs8jhs2n.js → model-resolver-pr8smg67.js} +18 -18
  209. package/dist/chunks/{job-wd3x2cqz.js → model-resolver-psazpmmj.js} +2 -2
  210. package/dist/chunks/{job-6w37h07j.js → model-resolver-ptfyc8rg.js} +92 -92
  211. package/dist/chunks/{job-dfe8djrf.js → model-resolver-q2b1ymqp.js} +4 -4
  212. package/dist/chunks/{job-2f3eaja9.js → model-resolver-q5v28ps9.js} +20 -20
  213. package/dist/chunks/{job-hjcn9g5q.js → model-resolver-qcmdtp8c.js} +11 -11
  214. package/dist/chunks/{job-fcrkznn8.js → model-resolver-qgn6gcr1.js} +5 -5
  215. package/dist/chunks/{job-95f1p06x.js → model-resolver-qh8wc3pe.js} +19 -19
  216. package/dist/chunks/{job-t21rg5tv.js → model-resolver-qkdvh7fa.js} +8 -8
  217. package/dist/chunks/{job-4paxgmv5.js → model-resolver-qmb29zc9.js} +38 -38
  218. package/dist/chunks/{job-rey5gbxv.js → model-resolver-qmqgtz8f.js} +9 -9
  219. package/dist/chunks/{job-hh7harx8.js → model-resolver-qq6mbj5a.js} +40 -40
  220. package/dist/chunks/{job-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  221. package/dist/chunks/{job-hk6cjtaz.js → model-resolver-qw3sg1b0.js} +5 -5
  222. package/dist/chunks/{job-jzxep27z.js → model-resolver-qxjcrr5t.js} +7 -7
  223. package/dist/chunks/{job-xegpwyaf.js → model-resolver-r0pftj6c.js} +27 -27
  224. package/dist/chunks/{job-jxy1my5z.js → model-resolver-r5b1nhw7.js} +22 -22
  225. package/dist/chunks/{job-6k70vexz.js → model-resolver-r94xmz3e.js} +3 -3
  226. package/dist/chunks/{job-34ah5aas.js → model-resolver-ra46vd3y.js} +15 -15
  227. package/dist/chunks/{job-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  228. package/dist/chunks/{job-jwne8s3x.js → model-resolver-rgwzaj5r.js} +32 -32
  229. package/dist/chunks/{job-zee1rnkq.js → model-resolver-rpg9c19m.js} +4 -4
  230. package/dist/chunks/{job-zeh9ct20.js → model-resolver-rq775frq.js} +2 -2
  231. package/dist/chunks/{job-c12k1v8e.js → model-resolver-s0ga44w9.js} +3 -3
  232. package/dist/chunks/{job-sfsm5mp8.js → model-resolver-s5vxn3hm.js} +13 -13
  233. package/dist/chunks/{job-kgchvb5g.js → model-resolver-s7d3q35h.js} +4 -4
  234. package/dist/chunks/{job-vmgq4x8b.js → model-resolver-s8610hey.js} +2 -2
  235. package/dist/chunks/{job-qv8cnvvv.js → model-resolver-sar4f7bt.js} +17 -17
  236. package/dist/chunks/{job-kp8q1t60.js → model-resolver-sk2hk6tq.js} +9 -9
  237. package/dist/chunks/model-resolver-sn674wr2.js +26 -0
  238. package/dist/chunks/{job-v3sgzvyr.js → model-resolver-sqy4ahhk.js} +1 -1
  239. package/dist/chunks/{job-j8ex01wf.js → model-resolver-ss6wnmcn.js} +14 -14
  240. package/dist/chunks/{job-avkar8cd.js → model-resolver-swhhnpja.js} +5 -5
  241. package/dist/chunks/{job-snq6cjh1.js → model-resolver-sxvnd2nr.js} +37 -37
  242. package/dist/chunks/{job-8d0p2m37.js → model-resolver-sy26cvr2.js} +8 -8
  243. package/dist/chunks/{job-jxbrjg0q.js → model-resolver-t8916jym.js} +35 -35
  244. package/dist/chunks/{job-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  245. package/dist/chunks/{job-01x2k9yj.js → model-resolver-tdghhcp4.js} +9 -9
  246. package/dist/chunks/{job-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  247. package/dist/chunks/{job-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  248. package/dist/chunks/{job-0ghjbmdt.js → model-resolver-v4hswpd3.js} +75 -75
  249. package/dist/chunks/{job-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  250. package/dist/chunks/{job-h0fn4gkn.js → model-resolver-vfm0y0bg.js} +29 -29
  251. package/dist/chunks/{job-wqev6sb9.js → model-resolver-vg07qq75.js} +9 -9
  252. package/dist/chunks/{job-0at1sqv3.js → model-resolver-vr7k8aqm.js} +35 -35
  253. package/dist/chunks/{job-0pvat8hm.js → model-resolver-vsfsehjp.js} +16 -16
  254. package/dist/chunks/{job-64d0e0bv.js → model-resolver-vtjxg7xx.js} +22 -22
  255. package/dist/chunks/{job-5q9mj0fe.js → model-resolver-vvb15rdk.js} +11 -11
  256. package/dist/chunks/{job-e7rvw2f8.js → model-resolver-vxhnyb9j.js} +48 -48
  257. package/dist/chunks/{job-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{job-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  259. package/dist/chunks/{job-2b6sywcb.js → model-resolver-w0mbtrs6.js} +10 -10
  260. package/dist/chunks/{job-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{job-84npvg7a.js → model-resolver-w5efcytb.js} +13 -13
  262. package/dist/chunks/{job-gd8pphrc.js → model-resolver-w8xrrrrv.js} +1 -1
  263. package/dist/chunks/{job-jj9905b1.js → model-resolver-w9m2hjqa.js} +25 -25
  264. package/dist/chunks/{job-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  265. package/dist/chunks/{job-wfadzjts.js → model-resolver-wfdevf9j.js} +11 -11
  266. package/dist/chunks/{job-zw0e5nj2.js → model-resolver-x0jpbkmn.js} +19 -19
  267. package/dist/chunks/{job-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{job-8ydx4ng5.js → model-resolver-x520n2qy.js} +45 -45
  269. package/dist/chunks/{job-nqgqh1d8.js → model-resolver-x8acjjg9.js} +28 -28
  270. package/dist/chunks/model-resolver-x8rsv9gq.js +252 -0
  271. package/dist/chunks/{job-tdrvmst7.js → model-resolver-xhg1wmas.js} +34 -34
  272. package/dist/chunks/{job-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
  273. package/dist/chunks/{job-bt4xnmzv.js → model-resolver-xwnzkdf1.js} +23 -23
  274. package/dist/chunks/{job-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{job-zwjnk1y1.js → model-resolver-y2r7qy0e.js} +13 -13
  276. package/dist/chunks/{job-dv5r59xd.js → model-resolver-y3f947ba.js} +56 -56
  277. package/dist/chunks/{job-t41xfd23.js → model-resolver-yb0aafdb.js} +43 -43
  278. package/dist/chunks/{job-sszsbszq.js → model-resolver-yecfnvqz.js} +19 -19
  279. package/dist/chunks/{job-2z5agv92.js → model-resolver-yh08wsj3.js} +11 -11
  280. package/dist/chunks/{job-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{job-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
  282. package/dist/chunks/{job-gv6a8nnw.js → model-resolver-yyb7tjpc.js} +2 -2
  283. package/dist/chunks/{job-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{job-r4mm9wfe.js → model-resolver-z1dymymf.js} +17 -17
  285. package/dist/chunks/{job-v7ztqyra.js → model-resolver-z3mr859t.js} +10 -10
  286. package/dist/chunks/{job-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
  287. package/dist/chunks/model-resolver-zg1ez3dq.js +507 -0
  288. package/dist/chunks/{job-4z0bk2th.js → model-resolver-zj1cah0a.js} +29 -29
  289. package/dist/chunks/{job-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{job-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{job-mg480h77.js → model-resolver-zytbb0rs.js} +51 -51
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +158 -158
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +126 -126
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +225 -225
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +96 -96
  484. package/dist/model.js +102 -102
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +3 -3
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +1 -1
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +227 -227
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +98 -98
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +132 -132
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +86 -86
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +117 -117
  597. package/dist/session/model-transport.js +7 -7
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +3 -3
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +218 -218
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +138 -138
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +127 -127
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +110 -110
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +78 -78
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +98 -98
  699. package/package.json +8 -8
  700. package/dist/chunks/job-6kdq0pjd.js +0 -4
  701. package/dist/chunks/job-h1p1szhb.js +0 -252
  702. package/dist/chunks/job-sq6azjgz.js +0 -507
  703. package/dist/chunks/job-w4n84c3x.js +0 -26
  704. /package/dist/chunks/{job-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{job-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{job-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{job-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{job-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{job-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{job-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{job-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{job-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{job-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{job-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{job-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  716. /package/dist/chunks/{job-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{job-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{job-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{job-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{job-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{job-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{job-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{job-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  724. /package/dist/chunks/{job-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{job-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{job-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  727. /package/dist/chunks/{job-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{job-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{job-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  730. /package/dist/chunks/{job-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{job-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{job-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{job-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  734. /package/dist/chunks/{job-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{job-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{job-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{job-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{job-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{job-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{job-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{job-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{job-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{job-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{job-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{job-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{job-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{job-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{job-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{job-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  750. /package/dist/chunks/{job-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{job-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{job-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{job-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{job-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{job-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{job-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{job-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{job-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{job-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{job-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{job-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{job-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  763. /package/dist/chunks/{job-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{job-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  765. /package/dist/chunks/{job-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{job-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  767. /package/dist/chunks/{job-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{job-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{job-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{job-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{job-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{job-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{job-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{job-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{job-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{job-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{job-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{job-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{job-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{job-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{job-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{job-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{job-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{job-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{job-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{job-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{job-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{job-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{job-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{job-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{job-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{job-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{job-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{job-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  795. /package/dist/chunks/{job-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{job-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{job-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{job-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{job-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{job-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./job-gftt206x.js";
3
+ } from "./model-resolver-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./job-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service83,
4
- node87
5
- } from "./job-0pvat8hm.js";
3
+ Service82,
4
+ node86
5
+ } from "./model-resolver-vsfsehjp.js";
6
6
  import {
7
- Service78,
8
- node82
9
- } from "./job-84npvg7a.js";
7
+ Service66,
8
+ node69
9
+ } from "./model-resolver-w5efcytb.js";
10
10
  import {
11
11
  __export
12
- } from "./job-9rqn6x4v.js";
12
+ } from "./model-resolver-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event12,
19
+ Event: () => Event8,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service53,
22
+ Service: () => Service44,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node57,
26
- resolve: () => resolve3
25
+ node: () => node48,
26
+ resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service53 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service44 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event12 = {
51
+ var Event8 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service53, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service78;
81
- const bus = yield* Service83;
80
+ const kv = yield* Service66;
81
+ const bus = yield* Service82;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event12.Updated, {});
112
+ yield* bus.publish(Event8.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service53.of({
115
+ return Service44.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event12.Updated, {});
128
+ yield* bus.publish(Event8.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event12.Updated, {});
141
+ yield* bus.publish(Event8.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node57 = makeGlobalNode({ service: Service53, layer, deps: [httpClient, node82, node87] });
146
+ var node48 = makeGlobalNode({ service: Service44, layer, deps: [httpClient, node69, node86] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service53, Event12, inspect2, resolve3, node57, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service44, Event8, inspect2, resolve2, node48, exports_wellknown };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./job-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  Service80,
3
3
  node84
4
- } from "./job-qzy0htd5.js";
4
+ } from "./model-resolver-58c90p9y.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  make20,
8
8
  combine2
9
- } from "./job-rhjbct0v.js";
9
+ } from "./model-resolver-02nrjc1r.js";
10
10
  import {
11
11
  __export
12
- } from "./job-9rqn6x4v.js";
12
+ } from "./model-resolver-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service30,
19
- node: () => node33
18
+ Service: () => Service21,
19
+ node: () => node25
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service21 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service30, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
28
  const location = yield* Service80;
29
- return Service30.of({
29
+ return Service21.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
31
  make20({
32
- key: Key3.make("core/environment"),
32
+ key: Key4.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
35
35
  "<env>",
@@ -50,7 +50,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
50
50
  }
51
51
  }),
52
52
  make20({
53
- key: Key3.make("core/date"),
53
+ key: Key4.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
56
56
  render: {
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node33 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node84] });
64
+ var node25 = makeLocationNode({ service: Service21, layer, deps: [Global.node, node84] });
65
65
 
66
- export { Service30, node33, exports_builtins };
66
+ export { Service21, node25, exports_builtins };
@@ -1,63 +1,63 @@
1
- import {
2
- Service84,
3
- node88
4
- } from "./job-pan3z8cp.js";
5
1
  import {
6
2
  Service83,
7
3
  node87
8
- } from "./job-0pvat8hm.js";
4
+ } from "./model-resolver-7bxnc6x6.js";
5
+ import {
6
+ Service82,
7
+ node86
8
+ } from "./model-resolver-vsfsehjp.js";
9
9
  import {
10
- Service63,
11
- node67
12
- } from "./job-v6gb7zv2.js";
10
+ Service54,
11
+ node57
12
+ } from "./model-resolver-d0k1g5nx.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./job-922hggd3.js";
16
+ } from "./model-resolver-922hggd3.js";
17
17
  import {
18
18
  Service81,
19
19
  node85
20
- } from "./job-34ah5aas.js";
20
+ } from "./model-resolver-ra46vd3y.js";
21
21
  import {
22
22
  Ref4
23
- } from "./job-qzy0htd5.js";
23
+ } from "./model-resolver-58c90p9y.js";
24
24
  import {
25
- Service64,
26
- node68
27
- } from "./job-vw85y51h.js";
25
+ Service79,
26
+ node83
27
+ } from "./model-resolver-hep603q0.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./job-gftt206x.js";
30
+ } from "./model-resolver-gftt206x.js";
31
31
  import {
32
- NotFoundError9
33
- } from "./job-q1zmm1c6.js";
32
+ NotFoundError10
33
+ } from "./model-resolver-7p797550.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./job-ec1grn59.js";
36
+ } from "./model-resolver-ec1grn59.js";
37
37
  import {
38
- Service60
39
- } from "./job-zee1rnkq.js";
38
+ Service52
39
+ } from "./model-resolver-rpg9c19m.js";
40
40
  import {
41
- Service69,
42
- node73
43
- } from "./job-xcv1e8fb.js";
41
+ Service74,
42
+ node78
43
+ } from "./model-resolver-d23g84s9.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service62,
48
- node66,
47
+ Service53,
48
+ node56,
49
49
  moveIDs2
50
- } from "./job-0z0qaz2z.js";
50
+ } from "./model-resolver-cvnss5v6.js";
51
51
  import {
52
- Service59,
53
- node64
54
- } from "./job-tg6988vm.js";
52
+ Service51,
53
+ node55
54
+ } from "./model-resolver-0jfh7z55.js";
55
55
  import {
56
- node31
57
- } from "./job-jxy1my5z.js";
56
+ node22
57
+ } from "./model-resolver-r5b1nhw7.js";
58
58
  import {
59
59
  __export
60
- } from "./job-9rqn6x4v.js";
60
+ } from "./model-resolver-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service27,
68
+ Service: () => Service18,
69
69
  SessionMove: () => exports_move,
70
- node: () => node30
70
+ node: () => node21
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service27 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service18 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service27, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
91
  const projects = yield* Service81;
92
- const locations = yield* Service64;
93
- const store = yield* Service69;
94
- const execution = yield* Service59;
95
- const instances = yield* Service63;
96
- const admission = yield* Service62;
97
- const database = yield* Service84;
98
- const bus = yield* Service83;
92
+ const locations = yield* Service79;
93
+ const store = yield* Service74;
94
+ const execution = yield* Service51;
95
+ const instances = yield* Service54;
96
+ const admission = yield* Service53;
97
+ const database = yield* Service83;
98
+ const bus = yield* Service82;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError9({ sessionID });
102
+ return yield* new NotFoundError10({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service60.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service52.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service27.of({
136
+ return Service18.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node30 = makeGlobalNode({
167
- service: Service27,
166
+ var node21 = makeGlobalNode({
167
+ service: Service18,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
172
  node85,
173
- node68,
174
- node73,
175
- node64,
176
- node67,
177
- node66,
178
- node88,
173
+ node83,
174
+ node78,
175
+ node55,
176
+ node57,
177
+ node56,
179
178
  node87,
180
- node31
179
+ node86,
180
+ node22
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service27, node30, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service18, node21, exports_move };
@@ -1,71 +1,71 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./job-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node86
7
- } from "./job-dq0v80fr.js";
6
+ node88
7
+ } from "./model-resolver-n97pwnhd.js";
8
8
  import {
9
9
  Slug2
10
- } from "./job-gebd4c9n.js";
11
- import {
12
- Service84,
13
- node88
14
- } from "./job-pan3z8cp.js";
10
+ } from "./model-resolver-gebd4c9n.js";
15
11
  import {
16
12
  Service83,
17
13
  node87
18
- } from "./job-0pvat8hm.js";
14
+ } from "./model-resolver-7bxnc6x6.js";
15
+ import {
16
+ Service82,
17
+ node86
18
+ } from "./model-resolver-vsfsehjp.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./job-wd3x2cqz.js";
21
+ } from "./model-resolver-psazpmmj.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./job-94ek1h2f.js";
24
+ } from "./model-resolver-gfvb90ym.js";
25
25
  import {
26
26
  ID17,
27
27
  NotFoundError11
28
- } from "./job-34ah5aas.js";
28
+ } from "./model-resolver-ra46vd3y.js";
29
29
  import {
30
30
  Ref4
31
- } from "./job-qzy0htd5.js";
31
+ } from "./model-resolver-58c90p9y.js";
32
32
  import {
33
- Service64,
34
- node68
35
- } from "./job-vw85y51h.js";
33
+ Service79,
34
+ node83
35
+ } from "./model-resolver-hep603q0.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./job-gv6a8nnw.js";
39
+ } from "./model-resolver-yyb7tjpc.js";
40
40
  import {
41
- make12
42
- } from "./job-8d0p2m37.js";
41
+ make21
42
+ } from "./model-resolver-sy26cvr2.js";
43
43
  import {
44
- Service16
45
- } from "./job-1hwsz3wr.js";
44
+ Service78
45
+ } from "./model-resolver-0q26a2b3.js";
46
46
  import {
47
47
  __export
48
- } from "./job-9rqn6x4v.js";
48
+ } from "./model-resolver-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
52
52
  __export(exports_worktree2, {
53
- CreateInput: () => CreateInput2,
53
+ CreateInput: () => CreateInput3,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event4,
57
- Info: () => Info3,
56
+ Event: () => Event20,
57
+ Info: () => Info31,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service15,
63
+ Service: () => Service77,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node18
68
+ node: () => node81
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -77,9 +77,9 @@ import { AppProcess } from "@opencode/util/process";
77
77
  import { ChildProcess } from "effect/unstable/process";
78
78
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
79
79
  var StrategyID2 = Worktree.StrategyID;
80
- var CreateInput2 = Worktree.CreateInput;
80
+ var CreateInput3 = Worktree.CreateInput;
81
81
  var RemoveInput2 = Worktree.RemoveInput;
82
- var Info3 = Worktree.Info;
82
+ var Info31 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event4 = Worktree.Event;
97
+ var Event20 = Worktree.Event;
98
98
 
99
- class Service15 extends Context.Service()("@opencode/Worktree") {
99
+ class Service77 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service15, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const database = yield* Service84;
103
+ const database = yield* Service83;
104
104
  const db = database.db;
105
- const bus = yield* Service83;
105
+ const bus = yield* Service82;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service64;
108
- const gitStrategy = yield* make12;
107
+ const locations = yield* Service79;
108
+ const gitStrategy = yield* make21;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
111
111
  if (!row)
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service16).get();
123
+ return Context.get(context, Service78).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event4.Updated, { projectID });
127
+ yield* bus.publish(Event20.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service15.of({
254
+ return Service77.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node18 = Node.makeGlobalNode({
265
- service: Service15,
264
+ var node81 = Node.makeGlobalNode({
265
+ service: Service77,
266
266
  layer,
267
- deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node68]
267
+ deps: [FSUtil.node, node88, node86, node87, AppProcess.node, node83]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput2, RemoveInput2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service15, node18, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput3, RemoveInput2, Info31, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event20, Service77, node81, exports_worktree2, OperationError2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./job-2b6sywcb.js";
3
+ } from "./model-resolver-w0mbtrs6.js";
4
4
  import {
5
- Service83
6
- } from "./job-0pvat8hm.js";
5
+ Service82
6
+ } from "./model-resolver-vsfsehjp.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./job-98jem7f5.js";
9
+ Event15
10
+ } from "./model-resolver-fed82zpn.js";
11
11
  import {
12
- ID13,
12
+ ID7,
13
13
  MethodID2
14
- } from "./job-64nhe9mm.js";
14
+ } from "./model-resolver-80rghvf4.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./job-pjvnvgmy.js";
18
+ } from "./model-resolver-pjvnvgmy.js";
19
19
  import {
20
- ID12,
20
+ ID6,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./job-jwne8s3x.js";
23
+ } from "./model-resolver-rgwzaj5r.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID13.make("openai"),
47
+ integrationID: ID7.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID13.make("openai"),
120
+ integrationID: ID7.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -159,10 +159,10 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin2 = define({
162
+ var OpenAIPlugin3 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
- const bus = yield* Service83;
165
+ const bus = yield* Service82;
166
166
  const loading = Semaphore.makeUnsafe(1);
167
167
  let chatgpt;
168
168
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.provider.transform((providers) => {
181
- const item = providers.get(ID12.openai);
181
+ const item = providers.get(ID6.openai);
182
182
  if (!item)
183
183
  return;
184
184
  const account = chatgpt?.metadata?.accountID;
@@ -197,7 +197,7 @@ var OpenAIPlugin2 = define({
197
197
  });
198
198
  });
199
199
  yield* ctx.model.transform((models) => {
200
- for (const model of models.list(ID12.openai)) {
200
+ for (const model of models.list(ID6.openai)) {
201
201
  models.update(model.providerID, model.id, (draft) => {
202
202
  if (!chatgpt)
203
203
  return;
@@ -225,9 +225,9 @@ var OpenAIPlugin2 = define({
225
225
  evt.baseURL = codexBaseURL;
226
226
  evt.headers.originator = "opencode";
227
227
  evt.headers["session-id"] = evt.sessionID;
228
- }), { providerID: ID12.openai });
228
+ }), { providerID: ID6.openai });
229
229
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
230
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
231
231
  })
232
232
  });
233
233
  function headers(contentType, app) {
@@ -318,4 +318,4 @@ function claim(token) {
318
318
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
319
319
  }
320
320
 
321
- export { OpenAIPlugin2 };
321
+ export { OpenAIPlugin3 };