@opencode/core 0.0.0-dev-20626 → 0.0.0-dev-20627

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{generate-gttcx4jr.js → model-resolver-0achvhs2.js} +20 -20
  8. package/dist/chunks/{generate-fctq5jg8.js → model-resolver-0e548fcr.js} +14 -14
  9. package/dist/chunks/{generate-q0xm7vwc.js → model-resolver-0j77ygfz.js} +6 -6
  10. package/dist/chunks/{generate-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{generate-s32c0mq7.js → model-resolver-0qfxg4jf.js} +13 -13
  12. package/dist/chunks/{generate-0emb60td.js → model-resolver-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{generate-12cb56mc.js → model-resolver-0vv5hmpp.js} +3 -3
  14. package/dist/chunks/{generate-bt178j64.js → model-resolver-0yjz6y37.js} +36 -36
  15. package/dist/chunks/{generate-rn3rbabn.js → model-resolver-10dw056s.js} +15 -15
  16. package/dist/chunks/{generate-rhvrjctg.js → model-resolver-19g7txy3.js} +5 -5
  17. package/dist/chunks/{generate-1acjjqhc.js → model-resolver-1acjjqhc.js} +1 -1
  18. package/dist/chunks/{generate-67aj8cse.js → model-resolver-1cap5v9d.js} +24 -24
  19. package/dist/chunks/{generate-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{generate-ktqh6cjn.js → model-resolver-1jx1zfd7.js} +14 -14
  21. package/dist/chunks/{generate-q122b658.js → model-resolver-1macjqn3.js} +32 -32
  22. package/dist/chunks/{generate-0d9njzvw.js → model-resolver-1n5ak9y9.js} +28 -28
  23. package/dist/chunks/{generate-y0ty5fha.js → model-resolver-1z18ck0n.js} +9 -9
  24. package/dist/chunks/{generate-b7cm6t9c.js → model-resolver-21j0a31s.js} +21 -21
  25. package/dist/chunks/{generate-j8s7qtnq.js → model-resolver-25x2259c.js} +9 -9
  26. package/dist/chunks/{generate-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{generate-4ts7tf6z.js → model-resolver-2ccvkpx1.js} +2 -2
  28. package/dist/chunks/{generate-g2v7xwm2.js → model-resolver-2d6yk1br.js} +19 -19
  29. package/dist/chunks/{generate-0w5dnmke.js → model-resolver-2ke6m4px.js} +18 -18
  30. package/dist/chunks/{generate-v04zxm1e.js → model-resolver-2m190rpy.js} +13 -13
  31. package/dist/chunks/{generate-t60q4fa6.js → model-resolver-2q40b9s7.js} +4 -4
  32. package/dist/chunks/{generate-crx1hh5h.js → model-resolver-2r1mkbh7.js} +26 -26
  33. package/dist/chunks/{generate-chz0abdh.js → model-resolver-2rxac3h6.js} +32 -32
  34. package/dist/chunks/{generate-7xypvt1j.js → model-resolver-2wst3kmw.js} +16 -16
  35. package/dist/chunks/{generate-hjypyshd.js → model-resolver-2zczfx75.js} +10 -10
  36. package/dist/chunks/{generate-w59cqdta.js → model-resolver-33vwh78z.js} +6 -6
  37. package/dist/chunks/{generate-b9m1sfvm.js → model-resolver-33zp7k1z.js} +22 -22
  38. package/dist/chunks/{generate-3cegwx68.js → model-resolver-3cegwx68.js} +2 -2
  39. package/dist/chunks/{generate-anc9qwd0.js → model-resolver-3dn2etmh.js} +24 -24
  40. package/dist/chunks/{generate-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{generate-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{generate-37ycehja.js → model-resolver-3k84j3p7.js} +68 -68
  43. package/dist/chunks/{generate-f6dd175t.js → model-resolver-3kcgjwbq.js} +34 -34
  44. package/dist/chunks/{generate-jp3y83b8.js → model-resolver-3rd28rcz.js} +11 -11
  45. package/dist/chunks/{generate-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{generate-sa1wksxx.js → model-resolver-3t341cpn.js} +5 -5
  47. package/dist/chunks/{generate-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{generate-9fnn15g3.js → model-resolver-3v39vgvt.js} +20 -20
  49. package/dist/chunks/{generate-3d08qa2y.js → model-resolver-3zfbdzwf.js} +5 -5
  50. package/dist/chunks/{generate-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{generate-vyq6m5zj.js → model-resolver-40jdsgbk.js} +17 -17
  52. package/dist/chunks/{generate-wj7r9zev.js → model-resolver-41zh4vt3.js} +11 -11
  53. package/dist/chunks/{generate-kv7xr5tr.js → model-resolver-4nza2pr1.js} +20 -20
  54. package/dist/chunks/{generate-4jyvzrab.js → model-resolver-4rt0ga34.js} +9 -9
  55. package/dist/chunks/{generate-ftp5qn6j.js → model-resolver-4v9q68f5.js} +24 -24
  56. package/dist/chunks/{generate-d7yzhwrd.js → model-resolver-4zkna7ps.js} +30 -30
  57. package/dist/chunks/{generate-qdhbz2ew.js → model-resolver-50fxpqbw.js} +20 -20
  58. package/dist/chunks/{generate-j5w2yx54.js → model-resolver-51f5btjf.js} +6 -6
  59. package/dist/chunks/{generate-hg2kdwy2.js → model-resolver-51ssmyqe.js} +20 -20
  60. package/dist/chunks/{generate-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
  61. package/dist/chunks/{generate-p5cn45b4.js → model-resolver-55hkn5jk.js} +32 -32
  62. package/dist/chunks/{generate-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  63. package/dist/chunks/{generate-gw7cjrad.js → model-resolver-5dkn69vz.js} +4 -4
  64. package/dist/chunks/{generate-39m96q4s.js → model-resolver-5fkw2g45.js} +25 -25
  65. package/dist/chunks/{generate-apddja33.js → model-resolver-5g7r9pjq.js} +23 -23
  66. package/dist/chunks/{generate-mjgszf3v.js → model-resolver-5gep5epd.js} +16 -16
  67. package/dist/chunks/{generate-91tetnyh.js → model-resolver-5krfhzfs.js} +17 -17
  68. package/dist/chunks/{generate-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  69. package/dist/chunks/{generate-63db42yp.js → model-resolver-5pyjqqve.js} +2 -2
  70. package/dist/chunks/{generate-pm8xe67t.js → model-resolver-5rrq939p.js} +15 -15
  71. package/dist/chunks/{generate-h4nv5sjw.js → model-resolver-5sc2jtah.js} +27 -27
  72. package/dist/chunks/{generate-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{generate-ncp0w3v9.js → model-resolver-6avxmd9t.js} +24 -24
  74. package/dist/chunks/{generate-00sy09sd.js → model-resolver-6jayb3ka.js} +5 -5
  75. package/dist/chunks/{generate-50mzsvk4.js → model-resolver-6m42r3np.js} +21 -21
  76. package/dist/chunks/{generate-myd4zn31.js → model-resolver-6mjz4eke.js} +14 -14
  77. package/dist/chunks/{generate-pyqd4v2t.js → model-resolver-6s9jgcw2.js} +4 -4
  78. package/dist/chunks/{generate-jt0fm9hz.js → model-resolver-6swqs4pd.js} +32 -32
  79. package/dist/chunks/{generate-jzgb4b60.js → model-resolver-6w7dcbvg.js} +14 -14
  80. package/dist/chunks/{generate-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
  81. package/dist/chunks/{generate-hb9ek847.js → model-resolver-6y0r2svr.js} +1 -1
  82. package/dist/chunks/{generate-cb5y8w29.js → model-resolver-73f7s9bv.js} +177 -177
  83. package/dist/chunks/{generate-ce0tw18p.js → model-resolver-7622hyrr.js} +20 -20
  84. package/dist/chunks/{generate-3ngkpncc.js → model-resolver-78j8p2e7.js} +13 -13
  85. package/dist/chunks/model-resolver-7b7qypaz.js +26 -0
  86. package/dist/chunks/{generate-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{generate-e47yjvcb.js → model-resolver-7d6sbd9q.js} +3 -3
  88. package/dist/chunks/{generate-c68ggjv5.js → model-resolver-7e5k1pv9.js} +19 -19
  89. package/dist/chunks/{generate-y0pxv80g.js → model-resolver-7fqhmbkd.js} +32 -32
  90. package/dist/chunks/{generate-en16kr9h.js → model-resolver-7m50mqw6.js} +17 -17
  91. package/dist/chunks/{generate-t89fqycx.js → model-resolver-7rwqf82v.js} +8 -8
  92. package/dist/chunks/{generate-sdg5j0gr.js → model-resolver-7zc8scxq.js} +3 -3
  93. package/dist/chunks/{generate-84h8c373.js → model-resolver-84h8c373.js} +2 -2
  94. package/dist/chunks/{generate-84txncab.js → model-resolver-84txncab.js} +1 -1
  95. package/dist/chunks/{generate-stqch5en.js → model-resolver-8a2qp1g6.js} +3 -3
  96. package/dist/chunks/model-resolver-8b9njvyr.js +253 -0
  97. package/dist/chunks/{generate-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  98. package/dist/chunks/{generate-qn8ykj5w.js → model-resolver-8k1jb5xq.js} +30 -30
  99. package/dist/chunks/{generate-xrhtfqv1.js → model-resolver-90hpmr2t.js} +11 -11
  100. package/dist/chunks/{generate-53m1k2p4.js → model-resolver-9917pxwy.js} +10 -10
  101. package/dist/chunks/{generate-mxg6t4px.js → model-resolver-9h49evx0.js} +11 -11
  102. package/dist/chunks/model-resolver-9sh4wc5j.js +18 -0
  103. package/dist/chunks/{generate-vmbkc7t9.js → model-resolver-9z9g3t20.js} +8 -8
  104. package/dist/chunks/{generate-73tb2d7t.js → model-resolver-a1gpj94z.js} +3 -3
  105. package/dist/chunks/{generate-t2fc4mz5.js → model-resolver-a2ew8a62.js} +4 -4
  106. package/dist/chunks/{generate-6exvrca4.js → model-resolver-a8kdrp5r.js} +5 -5
  107. package/dist/chunks/{generate-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  108. package/dist/chunks/{generate-zw2hpfmh.js → model-resolver-addxnjmp.js} +4 -4
  109. package/dist/chunks/{generate-bk53ycjv.js → model-resolver-afttsgwn.js} +12 -12
  110. package/dist/chunks/{generate-dn6ztdfq.js → model-resolver-agng1s7m.js} +25 -25
  111. package/dist/chunks/{generate-0y0gsn1j.js → model-resolver-ajf1swqb.js} +3 -3
  112. package/dist/chunks/{generate-rtezw65p.js → model-resolver-akd9m88t.js} +5 -5
  113. package/dist/chunks/{generate-nnf0xkcj.js → model-resolver-ap8vh77s.js} +24 -24
  114. package/dist/chunks/{generate-2eegacq4.js → model-resolver-at1kfnmk.js} +8 -8
  115. package/dist/chunks/{generate-8sxy8sy5.js → model-resolver-aza1t4dm.js} +15 -15
  116. package/dist/chunks/{generate-7gw9h0sc.js → model-resolver-azjxx5b8.js} +18 -18
  117. package/dist/chunks/{generate-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  118. package/dist/chunks/{generate-sm7h3s2a.js → model-resolver-bcnp41r8.js} +35 -35
  119. package/dist/chunks/{generate-4ptgc4ev.js → model-resolver-bdadzv4m.js} +32 -32
  120. package/dist/chunks/{generate-pqj23b0q.js → model-resolver-bjgk06jq.js} +30 -30
  121. package/dist/chunks/{generate-06v9ekkj.js → model-resolver-bzh1f83h.js} +30 -30
  122. package/dist/chunks/{generate-skcnbf3c.js → model-resolver-c30g4xpt.js} +11 -11
  123. package/dist/chunks/{generate-84532k20.js → model-resolver-c74x8r32.js} +10 -10
  124. package/dist/chunks/{generate-xtvvsfs4.js → model-resolver-ch4t865s.js} +8 -8
  125. package/dist/chunks/{generate-nt476c1e.js → model-resolver-cmcef70t.js} +16 -16
  126. package/dist/chunks/{generate-zawfarhf.js → model-resolver-crw5xmpr.js} +20 -20
  127. package/dist/chunks/{generate-md4xem4j.js → model-resolver-d9bwshhj.js} +12 -12
  128. package/dist/chunks/{generate-rav032ka.js → model-resolver-d9dg5wfk.js} +9 -9
  129. package/dist/chunks/{generate-ns4c26md.js → model-resolver-ddhg64z2.js} +11 -11
  130. package/dist/chunks/{generate-rgxvve62.js → model-resolver-deeca9hw.js} +14 -14
  131. package/dist/chunks/{generate-55pxd67v.js → model-resolver-dhks9x6r.js} +8 -8
  132. package/dist/chunks/{generate-cwa6csj7.js → model-resolver-djszqvmq.js} +9 -9
  133. package/dist/chunks/{generate-w9xa6jft.js → model-resolver-dpqp9b63.js} +32 -32
  134. package/dist/chunks/{generate-2ar21jkq.js → model-resolver-drj28cm1.js} +15 -15
  135. package/dist/chunks/{generate-fcjdzzvk.js → model-resolver-dvh6e8nq.js} +2 -2
  136. package/dist/chunks/{generate-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
  137. package/dist/chunks/{generate-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{generate-yszghjhd.js → model-resolver-efgr2h9s.js} +11 -11
  139. package/dist/chunks/{generate-757h9dgg.js → model-resolver-ekxvnan8.js} +15 -15
  140. package/dist/chunks/{generate-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{generate-sn70zx0f.js → model-resolver-ewgnpxzc.js} +42 -42
  142. package/dist/chunks/{generate-xc7geeyn.js → model-resolver-ey1p32kd.js} +16 -16
  143. package/dist/chunks/{generate-w3s43czq.js → model-resolver-f20mjja6.js} +35 -35
  144. package/dist/chunks/{generate-y5dj3dxk.js → model-resolver-f6h44vt5.js} +6 -6
  145. package/dist/chunks/{generate-f75zav2x.js → model-resolver-f75zav2x.js} +2 -2
  146. package/dist/chunks/{generate-paqgmmpc.js → model-resolver-fbensa43.js} +11 -11
  147. package/dist/chunks/{generate-qgn6gcr1.js → model-resolver-fcrkznn8.js} +5 -5
  148. package/dist/chunks/{generate-br69n3tb.js → model-resolver-fgprmwhj.js} +11 -11
  149. package/dist/chunks/{generate-kctcsxwr.js → model-resolver-fy0vatp7.js} +10 -10
  150. package/dist/chunks/{generate-jpvwx58z.js → model-resolver-g7nd96nr.js} +5 -5
  151. package/dist/chunks/{generate-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{generate-4daej8pc.js → model-resolver-gg1f5j1z.js} +42 -42
  153. package/dist/chunks/{generate-qxhjmwpc.js → model-resolver-gjkc16r8.js} +36 -36
  154. package/dist/chunks/{generate-d04ep358.js → model-resolver-gkcjs2dn.js} +11 -11
  155. package/dist/chunks/{generate-e9a6z8qn.js → model-resolver-gkezm8y4.js} +24 -24
  156. package/dist/chunks/{generate-p2jra9s9.js → model-resolver-gnwrz8d7.js} +21 -21
  157. package/dist/chunks/{generate-gc8gxt55.js → model-resolver-gszfa6pv.js} +11 -11
  158. package/dist/chunks/{generate-z9dqbzf9.js → model-resolver-gw7teh6q.js} +9 -9
  159. package/dist/chunks/{generate-h50xep47.js → model-resolver-gxx3asgj.js} +15 -15
  160. package/dist/chunks/{generate-2z4yerbz.js → model-resolver-gxzkmbg1.js} +8 -8
  161. package/dist/chunks/{generate-mgkc0wjh.js → model-resolver-h2kvjvwj.js} +7 -7
  162. package/dist/chunks/{generate-14fzmqmc.js → model-resolver-h42756k7.js} +90 -90
  163. package/dist/chunks/{generate-g8ncx2kw.js → model-resolver-h4psw8ba.js} +18 -18
  164. package/dist/chunks/{generate-wxyynt4w.js → model-resolver-h5w29vws.js} +1 -1
  165. package/dist/chunks/{generate-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{generate-0atswpmv.js → model-resolver-h8jjkhz6.js} +9 -9
  167. package/dist/chunks/{generate-r93b7zqt.js → model-resolver-he91xpgg.js} +24 -24
  168. package/dist/chunks/{generate-wdkjs4sn.js → model-resolver-hhr7ssgm.js} +4 -4
  169. package/dist/chunks/{generate-a9p6p6nr.js → model-resolver-hqjmh7f4.js} +10 -10
  170. package/dist/chunks/{generate-f7w5vbe4.js → model-resolver-hv0tq5xf.js} +13 -13
  171. package/dist/chunks/{generate-zf82b8f4.js → model-resolver-hxh7ac88.js} +50 -50
  172. package/dist/chunks/{generate-14abpv5c.js → model-resolver-j0dhs27h.js} +20 -20
  173. package/dist/chunks/{generate-rcpb5p8s.js → model-resolver-j1gz9man.js} +14 -14
  174. package/dist/chunks/{generate-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  175. package/dist/chunks/{generate-xfzkycb1.js → model-resolver-jgvx6mxw.js} +3 -3
  176. package/dist/chunks/{generate-1nzh38e4.js → model-resolver-jvvc3tfq.js} +9 -9
  177. package/dist/chunks/{generate-kb9j3d72.js → model-resolver-kb9j3d72.js} +3 -3
  178. package/dist/chunks/{generate-pp2j6nz2.js → model-resolver-kemx01z9.js} +20 -20
  179. package/dist/chunks/{generate-tk6ram5b.js → model-resolver-kr7egayj.js} +34 -34
  180. package/dist/chunks/{generate-1d5w9k4w.js → model-resolver-kt9b9xbd.js} +26 -26
  181. package/dist/chunks/{generate-x5x2shfn.js → model-resolver-kw9jfdn1.js} +26 -26
  182. package/dist/chunks/{generate-d8p7yyc7.js → model-resolver-kxdn0yjd.js} +8 -8
  183. package/dist/chunks/{generate-cqjm0j5h.js → model-resolver-m119g2w7.js} +15 -15
  184. package/dist/chunks/{generate-ndtjpakn.js → model-resolver-m1k46kn2.js} +19 -19
  185. package/dist/chunks/{generate-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{generate-89vjf07m.js → model-resolver-m64xvjj1.js} +5 -5
  187. package/dist/chunks/{generate-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{generate-yeknwk6m.js → model-resolver-mb4aw6zt.js} +12 -12
  189. package/dist/chunks/model-resolver-mcn7m7vx.js +507 -0
  190. package/dist/chunks/{generate-33w4ejhs.js → model-resolver-mfqp6xfm.js} +9 -9
  191. package/dist/chunks/{generate-8cf4ch7y.js → model-resolver-mnwggq08.js} +19 -19
  192. package/dist/chunks/{generate-deg546m4.js → model-resolver-mtqs55ae.js} +35 -35
  193. package/dist/chunks/{generate-h14td4ya.js → model-resolver-mwyjgb1k.js} +9 -9
  194. package/dist/chunks/{generate-9zk0kc6f.js → model-resolver-n3k0nq1g.js} +31 -31
  195. package/dist/chunks/{generate-pcj7teyq.js → model-resolver-n8vdnqrc.js} +5 -5
  196. package/dist/chunks/{generate-hawpggyh.js → model-resolver-nhnh187w.js} +27 -27
  197. package/dist/chunks/{generate-me39y7pc.js → model-resolver-nmbcsk2x.js} +3 -3
  198. package/dist/chunks/{generate-4n6xr198.js → model-resolver-ntg9ycez.js} +17 -17
  199. package/dist/chunks/{generate-05zs1rdk.js → model-resolver-nve815hd.js} +46 -46
  200. package/dist/chunks/{generate-nxm207yx.js → model-resolver-nxm207yx.js} +1 -1
  201. package/dist/chunks/{generate-150yg2gd.js → model-resolver-nyqx1cb3.js} +5 -5
  202. package/dist/chunks/{generate-cmwkp3r5.js → model-resolver-pa8pe2x7.js} +8 -8
  203. package/dist/chunks/{generate-7nhmw1yp.js → model-resolver-pdyt6ga5.js} +7 -7
  204. package/dist/chunks/{generate-vpfh5m6n.js → model-resolver-pg8nqq7p.js} +44 -44
  205. package/dist/chunks/{generate-pc1a30g8.js → model-resolver-phqqhagd.js} +89 -89
  206. package/dist/chunks/{generate-t24wgfq5.js → model-resolver-pj1jpnd1.js} +54 -54
  207. package/dist/chunks/{generate-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{generate-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  209. package/dist/chunks/{generate-htyjbh6h.js → model-resolver-pypjajay.js} +4 -4
  210. package/dist/chunks/{generate-d6f20yqx.js → model-resolver-q0hq5tmn.js} +9 -9
  211. package/dist/chunks/{generate-66raja0a.js → model-resolver-q3r2nqqw.js} +26 -26
  212. package/dist/chunks/{generate-e68b0gvs.js → model-resolver-q4zf8z8q.js} +3 -3
  213. package/dist/chunks/{generate-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{generate-wek9mqa7.js → model-resolver-qpvdx65r.js} +18 -18
  215. package/dist/chunks/{generate-v8crwhsy.js → model-resolver-qs20wfnt.js} +1 -1
  216. package/dist/chunks/{generate-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  217. package/dist/chunks/{generate-zh3bn5vc.js → model-resolver-qtnjcq6r.js} +3 -3
  218. package/dist/chunks/{generate-6eb68wz8.js → model-resolver-qw4rebp2.js} +19 -19
  219. package/dist/chunks/{generate-w6r6e2t1.js → model-resolver-qwbxvttr.js} +30 -30
  220. package/dist/chunks/{generate-qxjc9qry.js → model-resolver-qxjc9qry.js} +3 -3
  221. package/dist/chunks/{generate-cjwramev.js → model-resolver-r5mbew3j.js} +6 -6
  222. package/dist/chunks/{generate-2wrchah9.js → model-resolver-r6xsx0m5.js} +5 -5
  223. package/dist/chunks/{generate-x2r6qgb2.js → model-resolver-rasec19h.js} +11 -11
  224. package/dist/chunks/{generate-gw6mp5xk.js → model-resolver-rbbkm0xv.js} +48 -48
  225. package/dist/chunks/{generate-e1vzx0s7.js → model-resolver-rcppyyty.js} +22 -22
  226. package/dist/chunks/{generate-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  227. package/dist/chunks/{generate-efb4ct6v.js → model-resolver-rk0tqkaw.js} +5 -5
  228. package/dist/chunks/{generate-ntd1qsse.js → model-resolver-rx9ava5n.js} +4 -4
  229. package/dist/chunks/{generate-af30chde.js → model-resolver-rymvvhbz.js} +45 -45
  230. package/dist/chunks/{generate-wv396vej.js → model-resolver-s8d7rejh.js} +8 -8
  231. package/dist/chunks/{generate-wmz9gz0a.js → model-resolver-srq8z0b0.js} +9 -9
  232. package/dist/chunks/{generate-dbztx8wp.js → model-resolver-srtfr38y.js} +23 -23
  233. package/dist/chunks/{generate-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{generate-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{generate-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  236. package/dist/chunks/{generate-vycw7md4.js → model-resolver-tfzngn12.js} +4 -4
  237. package/dist/chunks/{generate-yf954nqe.js → model-resolver-tm9w2n2x.js} +16 -16
  238. package/dist/chunks/{generate-6m56d8a0.js → model-resolver-tnmecr3d.js} +11 -11
  239. package/dist/chunks/{generate-b4twkq7r.js → model-resolver-ts23464c.js} +8 -8
  240. package/dist/chunks/{generate-y0h8bdjy.js → model-resolver-tsg6z73m.js} +11 -11
  241. package/dist/chunks/{generate-h0czhsa2.js → model-resolver-tw918z4j.js} +6 -6
  242. package/dist/chunks/{generate-xecxzrdp.js → model-resolver-v0es1rhs.js} +2 -2
  243. package/dist/chunks/{generate-e3sn89yk.js → model-resolver-vemxbn5z.js} +17 -17
  244. package/dist/chunks/{generate-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  245. package/dist/chunks/{generate-j34bs4nz.js → model-resolver-vfjhn2wd.js} +4 -4
  246. package/dist/chunks/{generate-ftha1bk5.js → model-resolver-vqfzmc84.js} +4 -4
  247. package/dist/chunks/{generate-1dz71ged.js → model-resolver-vtctyt73.js} +11 -11
  248. package/dist/chunks/{generate-69t9n7ne.js → model-resolver-vv1mfds1.js} +16 -16
  249. package/dist/chunks/{generate-yks7agkx.js → model-resolver-vvpj8dts.js} +5 -5
  250. package/dist/chunks/{generate-ss358qx3.js → model-resolver-vx3jgdek.js} +3 -3
  251. package/dist/chunks/{generate-4eq8w0dz.js → model-resolver-vxzh5eqq.js} +4 -4
  252. package/dist/chunks/{generate-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{generate-g5w8qwbj.js → model-resolver-w19d8598.js} +7 -7
  254. package/dist/chunks/{generate-ezk2k2nc.js → model-resolver-w2h15q85.js} +5 -5
  255. package/dist/chunks/{generate-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{generate-shaj6nsr.js → model-resolver-wbn4j0pn.js} +27 -27
  257. package/dist/chunks/{generate-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  258. package/dist/chunks/{generate-dd44dnrs.js → model-resolver-wgdeym6z.js} +15 -15
  259. package/dist/chunks/{generate-wen6mwdk.js → model-resolver-wkveh0mg.js} +19 -19
  260. package/dist/chunks/{generate-wtskapw1.js → model-resolver-wtsvmxn1.js} +42 -42
  261. package/dist/chunks/{generate-kskmmsb8.js → model-resolver-wy2za45w.js} +7 -7
  262. package/dist/chunks/{generate-pm693qae.js → model-resolver-x2pzw901.js} +13 -13
  263. package/dist/chunks/{generate-xm1mczqd.js → model-resolver-x442ch9z.js} +1 -1
  264. package/dist/chunks/{generate-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{generate-2r6fqtjg.js → model-resolver-xm3p4qah.js} +36 -36
  266. package/dist/chunks/{generate-8703qa3s.js → model-resolver-xpqek6s2.js} +15 -15
  267. package/dist/chunks/{generate-4t46r8n6.js → model-resolver-xv5xhpkb.js} +4 -4
  268. package/dist/chunks/{generate-s83c18hn.js → model-resolver-y0nv8875.js} +4 -4
  269. package/dist/chunks/{generate-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{generate-zc3qgdkd.js → model-resolver-y47v6e3z.js} +11 -11
  271. package/dist/chunks/{generate-4yj6yfek.js → model-resolver-y5fgx7d2.js} +21 -21
  272. package/dist/chunks/{generate-hvdpr3cg.js → model-resolver-y9dv21ph.js} +59 -59
  273. package/dist/chunks/{generate-n7mkwqhg.js → model-resolver-yn0v1xc3.js} +47 -47
  274. package/dist/chunks/{generate-zkz1dm36.js → model-resolver-ynt8fh2a.js} +7 -7
  275. package/dist/chunks/{generate-02eysref.js → model-resolver-ysm5qf9e.js} +29 -29
  276. package/dist/chunks/{generate-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{generate-wm6dyqg8.js → model-resolver-z23z10f3.js} +9 -9
  278. package/dist/chunks/{generate-k1qrnqst.js → model-resolver-z5rd9rww.js} +8 -8
  279. package/dist/chunks/{generate-qycmr1fg.js → model-resolver-z9ad0njv.js} +1 -1
  280. package/dist/chunks/{generate-5pmw3n0c.js → model-resolver-zby7g0g2.js} +13 -13
  281. package/dist/chunks/{generate-m70sbz6t.js → model-resolver-zcrspsvn.js} +4 -4
  282. package/dist/chunks/{generate-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{generate-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{generate-scgrse2b.js → model-resolver-zyk1yjk8.js} +5 -5
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +102 -102
  423. package/dist/form.js +86 -86
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +103 -103
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +81 -81
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +85 -85
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +109 -109
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +100 -100
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +117 -117
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +88 -88
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +104 -104
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +114 -114
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +114 -114
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +132 -132
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +343 -343
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +222 -222
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +86 -86
  554. package/dist/provider.js +101 -101
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +99 -99
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +91 -91
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +95 -95
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +133 -133
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +214 -214
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +154 -154
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +86 -86
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +123 -123
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +162 -162
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +155 -155
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +210 -210
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +114 -114
  624. package/dist/snapshot.js +87 -87
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +128 -128
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +105 -105
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +111 -111
  640. package/dist/tool/plugin/subagent.js +210 -210
  641. package/dist/tool/plugin/webfetch.js +110 -110
  642. package/dist/tool/plugin/websearch.js +112 -112
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +12 -12
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +91 -91
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +80 -80
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +81 -81
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +8 -8
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +98 -98
  680. package/package.json +8 -8
  681. package/dist/chunks/generate-1x11rq2a.js +0 -18
  682. package/dist/chunks/generate-4nfqhbwv.js +0 -507
  683. package/dist/chunks/generate-a9jymq3x.js +0 -253
  684. package/dist/chunks/generate-w2505z9s.js +0 -26
  685. /package/dist/chunks/{generate-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{generate-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{generate-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{generate-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{generate-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{generate-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{generate-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{generate-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{generate-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{generate-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{generate-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{generate-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  697. /package/dist/chunks/{generate-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{generate-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{generate-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{generate-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{generate-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{generate-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{generate-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{generate-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{generate-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  706. /package/dist/chunks/{generate-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{generate-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  708. /package/dist/chunks/{generate-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{generate-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{generate-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{generate-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  712. /package/dist/chunks/{generate-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{generate-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{generate-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{generate-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{generate-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{generate-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{generate-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{generate-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{generate-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{generate-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{generate-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{generate-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{generate-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{generate-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{generate-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{generate-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{generate-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{generate-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{generate-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  731. /package/dist/chunks/{generate-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{generate-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{generate-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{generate-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{generate-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{generate-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{generate-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{generate-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{generate-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{generate-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{generate-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{generate-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{generate-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  744. /package/dist/chunks/{generate-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{generate-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  746. /package/dist/chunks/{generate-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  747. /package/dist/chunks/{generate-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{generate-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{generate-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{generate-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{generate-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{generate-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{generate-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{generate-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{generate-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{generate-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{generate-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{generate-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{generate-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{generate-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{generate-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{generate-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{generate-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{generate-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{generate-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{generate-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{generate-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{generate-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{generate-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{generate-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{generate-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{generate-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{generate-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  774. /package/dist/chunks/{generate-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{generate-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{generate-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{generate-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{generate-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{generate-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{generate-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service69,
3
- node72,
2
+ Service60,
3
+ node63,
4
4
  canonical3
5
- } from "./generate-rav032ka.js";
5
+ } from "./model-resolver-d9dg5wfk.js";
6
6
  import {
7
- Service36,
8
- node38
9
- } from "./generate-j5w2yx54.js";
7
+ Service44,
8
+ node46
9
+ } from "./model-resolver-51f5btjf.js";
10
10
  import {
11
- Service14
12
- } from "./generate-4ptgc4ev.js";
11
+ Service51
12
+ } from "./model-resolver-bdadzv4m.js";
13
13
  import {
14
14
  layer2
15
- } from "./generate-a9jymq3x.js";
15
+ } from "./model-resolver-8b9njvyr.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service69, Effect.gen(function* () {
20
+ return Layer.effect(Service60, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service14);
30
+ const lifecycle = Context.get(exit.value, Service51);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node38.replace(Layer.succeed(Service36, {
57
+ node46.replace(Layer.succeed(Service44, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node72.replace(Layer.succeed(Service69, map))
61
+ node63.replace(Layer.succeed(Service60, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin28
3
+ } from "./model-resolver-ch4t865s.js";
4
+ import {
5
+ Plugin20
6
+ } from "./model-resolver-z23z10f3.js";
7
+ import {
8
+ Plugin23
9
+ } from "./model-resolver-gw7teh6q.js";
10
+ import {
11
+ Plugin21
12
+ } from "./model-resolver-kxdn0yjd.js";
13
+ import {
14
+ Plugin22
15
+ } from "./model-resolver-25x2259c.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin28,
20
+ Plugin20,
21
+ Plugin23,
22
+ Plugin21,
23
+ Plugin22
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./generate-emrn6kk6.js";
5
+ } from "./model-resolver-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./generate-emrn6kk6.js";
3
+ } from "./model-resolver-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./generate-kskmmsb8.js";
6
+ } from "./model-resolver-wy2za45w.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./generate-xm1mczqd.js";
9
+ } from "./model-resolver-x442ch9z.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./generate-rcpb5p8s.js";
2
+ Service80,
3
+ node84
4
+ } from "./model-resolver-j1gz9man.js";
5
5
  import {
6
- Key4,
7
- make22,
6
+ Key3,
7
+ make21,
8
8
  combine2
9
- } from "./generate-wv396vej.js";
9
+ } from "./model-resolver-s8d7rejh.js";
10
10
  import {
11
11
  __export
12
- } from "./generate-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: () => Service21,
19
- node: () => node25
18
+ Service: () => Service33,
19
+ node: () => node36
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 Service21 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service33 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service21, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service78;
29
- return Service21.of({
28
+ const location = yield* Service80;
29
+ return Service33.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make22({
32
- key: Key4.make("core/date"),
31
+ make21({
32
+ key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
35
35
  render: {
@@ -37,8 +37,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make22({
41
- key: Key4.make("core/environment"),
40
+ make21({
41
+ key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
44
44
  "<env>",
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node25 = makeLocationNode({ service: Service21, layer, deps: [Global.node, node82] });
63
+ var node36 = makeLocationNode({ service: Service33, layer, deps: [Global.node, node84] });
64
64
 
65
- export { Service21, node25, exports_builtins };
65
+ export { Service33, node36, exports_builtins };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./generate-zw2hpfmh.js";
3
+ } from "./model-resolver-addxnjmp.js";
4
4
  import {
5
5
  Service83
6
- } from "./generate-wdkjs4sn.js";
6
+ } from "./model-resolver-hhr7ssgm.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./generate-pqj23b0q.js";
9
+ Event19
10
+ } from "./model-resolver-bjgk06jq.js";
11
11
  import {
12
- ID9,
12
+ ID14,
13
13
  MethodID2
14
- } from "./generate-d7yzhwrd.js";
14
+ } from "./model-resolver-4zkna7ps.js";
15
15
  import {
16
- ID8,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service65
20
- } from "./generate-p5cn45b4.js";
19
+ Service76
20
+ } from "./model-resolver-55hkn5jk.js";
21
21
  import {
22
- ID7
23
- } from "./generate-qn8ykj5w.js";
22
+ ID12
23
+ } from "./model-resolver-8k1jb5xq.js";
24
24
  import {
25
25
  load3,
26
26
  derive3
27
- } from "./generate-zc3qgdkd.js";
27
+ } from "./model-resolver-y47v6e3z.js";
28
28
  import {
29
29
  useragent2
30
- } from "./generate-yszghjhd.js";
30
+ } from "./model-resolver-efgr2h9s.js";
31
31
  import {
32
- ID15
33
- } from "./generate-67aj8cse.js";
32
+ ID9
33
+ } from "./model-resolver-1cap5v9d.js";
34
34
  import {
35
35
  get5
36
- } from "./generate-54ma36ye.js";
36
+ } from "./model-resolver-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID9.make("github-copilot"),
68
+ integrationID: ID14.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,7 +163,7 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service65;
166
+ const providers = yield* Service76;
167
167
  const bus = yield* Service83;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID8.githubCopilot);
183
+ const provider = yield* providers.get(ID13.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
185
  try: () => load3(url, {
186
186
  ...provider?.headers,
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID8.githubCopilot);
205
+ const item = evt.get(ID13.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
222
222
  }
223
223
  });
224
224
  yield* ctx.model.transform((models) => {
225
- if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
226
- models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
225
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
226
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
227
227
  model.enabled = false;
228
228
  });
229
229
  }
230
230
  });
231
231
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
232
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
232
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
233
233
  yield* refresh().pipe(Effect.forkScoped);
234
234
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
235
- if (evt.model.providerID !== ID8.githubCopilot)
235
+ if (evt.model.providerID !== ID13.githubCopilot)
236
236
  return;
237
237
  if (evt.package !== "@ai-sdk/github-copilot")
238
238
  return;
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
241
241
  evt.sdk = mod.createOpenaiCompatible(evt.options);
242
242
  }));
243
243
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
244
- if (evt.model.providerID !== ID8.githubCopilot)
244
+ if (evt.model.providerID !== ID13.githubCopilot)
245
245
  return;
246
246
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
247
247
  return;
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
251
251
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
252
252
  if (interaction !== "conversation-agent")
253
253
  evt.headers["x-initiator"] = "agent";
254
- }), { providerID: ID8.githubCopilot });
254
+ }), { providerID: ID13.githubCopilot });
255
255
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
256
- if (evt.model.providerID !== ID8.githubCopilot)
256
+ if (evt.model.providerID !== ID13.githubCopilot)
257
257
  return;
258
258
  if (!loaded.baseURL || !loaded.token || !loaded.models)
259
259
  return;
260
- const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
260
+ const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
261
261
  return;
262
262
  }));
263
263
  if (agent?.data.model)
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
268
268
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
- }), { providerID: ID8.githubCopilot });
271
+ }), { providerID: ID13.githubCopilot });
272
272
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
273
- if (evt.model.providerID !== ID8.githubCopilot)
273
+ if (evt.model.providerID !== ID13.githubCopilot)
274
274
  return;
275
275
  const token = evt.request.headers.get("x-api-key");
276
276
  if (!token)
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
278
278
  const text = yield* Effect.promise(() => evt.request.clone().text());
279
279
  const body = Option.getOrUndefined(decodeBody(text));
280
280
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
281
- }), { providerID: ID8.githubCopilot });
281
+ }), { providerID: ID13.githubCopilot });
282
282
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
283
- if (evt.model.providerID !== ID8.githubCopilot)
283
+ if (evt.model.providerID !== ID13.githubCopilot)
284
284
  return;
285
285
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
286
286
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./generate-me39y7pc.js";
4
+ } from "./model-resolver-nmbcsk2x.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
- make22,
8
+ make21,
9
9
  combine2
10
- } from "./generate-wv396vej.js";
10
+ } from "./model-resolver-s8d7rejh.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./generate-kb9j3d72.js";
13
+ } from "./model-resolver-kb9j3d72.js";
14
14
  import {
15
15
  __export
16
- } from "./generate-9rqn6x4v.js";
16
+ } from "./model-resolver-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info4,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service26,
25
+ Service: () => Service29,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node30,
29
+ node: () => node33,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info4 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service26 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service29 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make22({
65
- key: Key4.make(`api/${entry.key}`),
64
+ var source = (entry) => make21({
65
+ key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,7 +75,7 @@ var source = (entry) => make22({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service26, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service26.of({ list, put, remove, load });
111
+ return Service29.of({ list, put, remove, load });
112
112
  }));
113
- var node30 = makeLocationNode({ service: Service26, layer, deps: [node88] });
113
+ var node33 = makeLocationNode({ service: Service29, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node30, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node33, exports_instruction_entry };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service50,
8
+ Service: () => Service65,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node52
10
+ node: () => node68
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service50 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service65 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service50, () => {
17
+ var layer = Layer.sync(Service65, () => {
18
18
  const environments = new Map;
19
- return Service50.of({
19
+ return Service65.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service50, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node52 = makeGlobalNode({ service: Service50, layer, deps: [] });
29
+ var node68 = makeGlobalNode({ service: Service65, layer, deps: [] });
30
30
 
31
- export { Service50, node52, exports_environment };
31
+ export { Service65, node68, exports_environment };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID8
3
- } from "./generate-p5cn45b4.js";
2
+ ID13
3
+ } from "./model-resolver-55hkn5jk.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.integration.transform((editor) => {
20
20
  editor.method.update({
21
- integrationID: ID8.amazonBedrock,
21
+ integrationID: ID13.amazonBedrock,
22
22
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
23
23
  });
24
24
  });
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./generate-qnc92qwc.js";
3
+ } from "./model-resolver-qnc92qwc.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./generate-3cegwx68.js";
6
+ } from "./model-resolver-3cegwx68.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID7
3
- } from "./generate-qn8ykj5w.js";
2
+ ID12
3
+ } from "./model-resolver-8k1jb5xq.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {