@opencode/core 0.0.0-dev-20625 → 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 +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{workspace-0k0tdk4v.js → model-resolver-0achvhs2.js} +14 -14
  8. package/dist/chunks/{workspace-24738xn5.js → model-resolver-0e548fcr.js} +11 -11
  9. package/dist/chunks/{workspace-q0xm7vwc.js → model-resolver-0j77ygfz.js} +6 -6
  10. package/dist/chunks/{workspace-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{workspace-kzykqk6j.js → model-resolver-0qfxg4jf.js} +16 -16
  12. package/dist/chunks/{workspace-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{workspace-g6cj2pz3.js → model-resolver-0vv5hmpp.js} +3 -3
  14. package/dist/chunks/{workspace-bq7qaacb.js → model-resolver-0yjz6y37.js} +33 -33
  15. package/dist/chunks/{workspace-t1fjxj08.js → model-resolver-10dw056s.js} +13 -13
  16. package/dist/chunks/{workspace-08t9thee.js → model-resolver-19g7txy3.js} +5 -5
  17. package/dist/chunks/{workspace-r8xr0va3.js → model-resolver-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{workspace-2kapx5s0.js → model-resolver-1cap5v9d.js} +18 -18
  19. package/dist/chunks/{workspace-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{workspace-vjthrvv1.js → model-resolver-1jx1zfd7.js} +9 -9
  21. package/dist/chunks/{workspace-t3039at6.js → model-resolver-1macjqn3.js} +24 -24
  22. package/dist/chunks/{workspace-6ygyve09.js → model-resolver-1n5ak9y9.js} +21 -21
  23. package/dist/chunks/{workspace-easapccs.js → model-resolver-1z18ck0n.js} +9 -9
  24. package/dist/chunks/{workspace-nvdeaskg.js → model-resolver-21j0a31s.js} +24 -24
  25. package/dist/chunks/{workspace-nfj32nd6.js → model-resolver-25x2259c.js} +9 -9
  26. package/dist/chunks/{workspace-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{workspace-4ts7tf6z.js → model-resolver-2ccvkpx1.js} +2 -2
  28. package/dist/chunks/{workspace-bvvmdrd3.js → model-resolver-2d6yk1br.js} +17 -17
  29. package/dist/chunks/{workspace-49494kth.js → model-resolver-2ke6m4px.js} +18 -18
  30. package/dist/chunks/{workspace-s76r9yk2.js → model-resolver-2m190rpy.js} +12 -12
  31. package/dist/chunks/{workspace-r3p59fwg.js → model-resolver-2q40b9s7.js} +4 -4
  32. package/dist/chunks/{workspace-qj3j2ed4.js → model-resolver-2r1mkbh7.js} +26 -26
  33. package/dist/chunks/{workspace-7e820gef.js → model-resolver-2rxac3h6.js} +32 -32
  34. package/dist/chunks/{workspace-hd75z5fa.js → model-resolver-2wst3kmw.js} +12 -12
  35. package/dist/chunks/{workspace-fte4edzz.js → model-resolver-2zczfx75.js} +7 -7
  36. package/dist/chunks/{workspace-3wfp78gc.js → model-resolver-33vwh78z.js} +6 -6
  37. package/dist/chunks/{workspace-v9t2f4tw.js → model-resolver-33zp7k1z.js} +24 -24
  38. package/dist/chunks/{workspace-3cegwx68.js → model-resolver-3cegwx68.js} +2 -2
  39. package/dist/chunks/{workspace-kn0kwb9r.js → model-resolver-3dn2etmh.js} +24 -24
  40. package/dist/chunks/{workspace-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{workspace-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{workspace-86mjrc9q.js → model-resolver-3k84j3p7.js} +60 -60
  43. package/dist/chunks/{workspace-57nggxpn.js → model-resolver-3kcgjwbq.js} +37 -37
  44. package/dist/chunks/{workspace-h4ckqw4f.js → model-resolver-3rd28rcz.js} +11 -11
  45. package/dist/chunks/{workspace-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{workspace-hqf62ytx.js → model-resolver-3t341cpn.js} +3 -3
  47. package/dist/chunks/{workspace-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{workspace-ap1jses2.js → model-resolver-3v39vgvt.js} +23 -23
  49. package/dist/chunks/{workspace-s6rbynpa.js → model-resolver-3zfbdzwf.js} +5 -5
  50. package/dist/chunks/{workspace-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{workspace-m6f5ap24.js → model-resolver-40jdsgbk.js} +15 -15
  52. package/dist/chunks/{workspace-3d5pf0rw.js → model-resolver-41zh4vt3.js} +11 -11
  53. package/dist/chunks/{workspace-ty9zft9p.js → model-resolver-4nza2pr1.js} +17 -17
  54. package/dist/chunks/{workspace-atytsmf1.js → model-resolver-4rt0ga34.js} +9 -9
  55. package/dist/chunks/{workspace-6n6n0wbe.js → model-resolver-4v9q68f5.js} +22 -22
  56. package/dist/chunks/{workspace-hfr420wr.js → model-resolver-4zkna7ps.js} +26 -26
  57. package/dist/chunks/{workspace-se3n8wcd.js → model-resolver-50fxpqbw.js} +20 -20
  58. package/dist/chunks/{workspace-07w59vex.js → model-resolver-51f5btjf.js} +6 -6
  59. package/dist/chunks/{workspace-4jcpse7m.js → model-resolver-51ssmyqe.js} +18 -18
  60. package/dist/chunks/{workspace-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
  61. package/dist/chunks/{workspace-caf87exy.js → model-resolver-55hkn5jk.js} +27 -27
  62. package/dist/chunks/{workspace-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  63. package/dist/chunks/{workspace-3sj8yt8v.js → model-resolver-5dkn69vz.js} +4 -4
  64. package/dist/chunks/{workspace-vaxgn10g.js → model-resolver-5fkw2g45.js} +28 -28
  65. package/dist/chunks/{workspace-kpv8xpp3.js → model-resolver-5g7r9pjq.js} +23 -23
  66. package/dist/chunks/{workspace-8fkq3ra9.js → model-resolver-5gep5epd.js} +16 -16
  67. package/dist/chunks/{workspace-2g06r5p1.js → model-resolver-5krfhzfs.js} +15 -15
  68. package/dist/chunks/{workspace-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  69. package/dist/chunks/{workspace-mbnxefga.js → model-resolver-5pyjqqve.js} +2 -2
  70. package/dist/chunks/{workspace-v2fwckm2.js → model-resolver-5rrq939p.js} +13 -13
  71. package/dist/chunks/{workspace-9jq6257y.js → model-resolver-5sc2jtah.js} +25 -25
  72. package/dist/chunks/{workspace-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{workspace-6b43n2qe.js → model-resolver-6avxmd9t.js} +16 -16
  74. package/dist/chunks/{workspace-4bf12bpw.js → model-resolver-6jayb3ka.js} +5 -5
  75. package/dist/chunks/{workspace-a8bn8zg0.js → model-resolver-6m42r3np.js} +21 -21
  76. package/dist/chunks/{workspace-5ct8ze0w.js → model-resolver-6mjz4eke.js} +14 -14
  77. package/dist/chunks/{workspace-msr7hntd.js → model-resolver-6s9jgcw2.js} +4 -4
  78. package/dist/chunks/{workspace-1fhw6qp6.js → model-resolver-6swqs4pd.js} +29 -29
  79. package/dist/chunks/{workspace-gr68n6sk.js → model-resolver-6w7dcbvg.js} +14 -14
  80. package/dist/chunks/{workspace-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
  81. package/dist/chunks/{workspace-9rebvyz3.js → model-resolver-6y0r2svr.js} +1 -1
  82. package/dist/chunks/{workspace-6kkym95p.js → model-resolver-73f7s9bv.js} +161 -161
  83. package/dist/chunks/{workspace-ckn890ey.js → model-resolver-7622hyrr.js} +26 -26
  84. package/dist/chunks/{workspace-3qny4s1r.js → model-resolver-78j8p2e7.js} +13 -13
  85. package/dist/chunks/model-resolver-7b7qypaz.js +26 -0
  86. package/dist/chunks/{workspace-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{workspace-7naznwf1.js → model-resolver-7d6sbd9q.js} +3 -3
  88. package/dist/chunks/{workspace-bgnv3g07.js → model-resolver-7e5k1pv9.js} +13 -13
  89. package/dist/chunks/{workspace-smq3dd2v.js → model-resolver-7fqhmbkd.js} +33 -33
  90. package/dist/chunks/{workspace-cqqer672.js → model-resolver-7m50mqw6.js} +13 -13
  91. package/dist/chunks/{workspace-qvb3nf84.js → model-resolver-7rwqf82v.js} +8 -8
  92. package/dist/chunks/{workspace-aw1g0m68.js → model-resolver-7zc8scxq.js} +3 -3
  93. package/dist/chunks/{workspace-84h8c373.js → model-resolver-84h8c373.js} +2 -2
  94. package/dist/chunks/{workspace-84txncab.js → model-resolver-84txncab.js} +1 -1
  95. package/dist/chunks/{workspace-kprvgbka.js → model-resolver-8a2qp1g6.js} +3 -3
  96. package/dist/chunks/model-resolver-8b9njvyr.js +253 -0
  97. package/dist/chunks/{workspace-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  98. package/dist/chunks/{workspace-pbp90nbc.js → model-resolver-8k1jb5xq.js} +27 -27
  99. package/dist/chunks/{workspace-8t5jjh5c.js → model-resolver-90hpmr2t.js} +9 -9
  100. package/dist/chunks/{workspace-jdzksevj.js → model-resolver-9917pxwy.js} +9 -9
  101. package/dist/chunks/{workspace-2d4jh34x.js → model-resolver-9h49evx0.js} +11 -11
  102. package/dist/chunks/model-resolver-9sh4wc5j.js +18 -0
  103. package/dist/chunks/{workspace-8p3g3wy0.js → model-resolver-9z9g3t20.js} +11 -11
  104. package/dist/chunks/{workspace-mvfsc1pv.js → model-resolver-a1gpj94z.js} +3 -3
  105. package/dist/chunks/{workspace-t2fc4mz5.js → model-resolver-a2ew8a62.js} +4 -4
  106. package/dist/chunks/{workspace-y2tx55zg.js → model-resolver-a8kdrp5r.js} +5 -5
  107. package/dist/chunks/{workspace-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  108. package/dist/chunks/{workspace-x661k3y3.js → model-resolver-addxnjmp.js} +4 -4
  109. package/dist/chunks/{workspace-8z7vm853.js → model-resolver-afttsgwn.js} +5 -5
  110. package/dist/chunks/{workspace-y2bx8ks4.js → model-resolver-agng1s7m.js} +20 -20
  111. package/dist/chunks/{workspace-b3vk0wha.js → model-resolver-ajf1swqb.js} +3 -3
  112. package/dist/chunks/{workspace-f7gr38pv.js → model-resolver-akd9m88t.js} +5 -5
  113. package/dist/chunks/{workspace-ejgp49jg.js → model-resolver-ap8vh77s.js} +24 -24
  114. package/dist/chunks/{workspace-rvf0m9x6.js → model-resolver-at1kfnmk.js} +8 -8
  115. package/dist/chunks/{workspace-kaq877jq.js → model-resolver-aza1t4dm.js} +11 -11
  116. package/dist/chunks/{workspace-4ctbs581.js → model-resolver-azjxx5b8.js} +15 -15
  117. package/dist/chunks/{workspace-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  118. package/dist/chunks/{workspace-cvgbrmvq.js → model-resolver-bcnp41r8.js} +33 -33
  119. package/dist/chunks/{workspace-a3zzg5mb.js → model-resolver-bdadzv4m.js} +27 -27
  120. package/dist/chunks/{workspace-k30vhdc4.js → model-resolver-bjgk06jq.js} +12 -12
  121. package/dist/chunks/{workspace-0gh43fvp.js → model-resolver-bzh1f83h.js} +25 -25
  122. package/dist/chunks/{workspace-30ak4e5k.js → model-resolver-c30g4xpt.js} +11 -11
  123. package/dist/chunks/{workspace-rrn10n85.js → model-resolver-c74x8r32.js} +8 -8
  124. package/dist/chunks/{workspace-hr5bc81f.js → model-resolver-ch4t865s.js} +8 -8
  125. package/dist/chunks/{workspace-xa1y625z.js → model-resolver-cmcef70t.js} +20 -20
  126. package/dist/chunks/{workspace-bjz294g4.js → model-resolver-crw5xmpr.js} +18 -18
  127. package/dist/chunks/{workspace-yvmkmgn5.js → model-resolver-d9bwshhj.js} +23 -23
  128. package/dist/chunks/{workspace-b61vcdbg.js → model-resolver-d9dg5wfk.js} +9 -9
  129. package/dist/chunks/{workspace-g79x7y0t.js → model-resolver-ddhg64z2.js} +11 -11
  130. package/dist/chunks/{workspace-z0cec5bd.js → model-resolver-deeca9hw.js} +14 -14
  131. package/dist/chunks/{workspace-37gg4rjc.js → model-resolver-dhks9x6r.js} +8 -8
  132. package/dist/chunks/{workspace-cwa6csj7.js → model-resolver-djszqvmq.js} +9 -9
  133. package/dist/chunks/{workspace-e3gcztwa.js → model-resolver-dpqp9b63.js} +30 -30
  134. package/dist/chunks/{workspace-nex76z7d.js → model-resolver-drj28cm1.js} +6 -6
  135. package/dist/chunks/{workspace-e107jb5k.js → model-resolver-dvh6e8nq.js} +2 -2
  136. package/dist/chunks/{workspace-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
  137. package/dist/chunks/{workspace-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{workspace-2jygvae8.js → model-resolver-efgr2h9s.js} +11 -11
  139. package/dist/chunks/{workspace-rksdhb0n.js → model-resolver-ekxvnan8.js} +18 -18
  140. package/dist/chunks/{workspace-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{workspace-dwnnjgz6.js → model-resolver-ewgnpxzc.js} +43 -43
  142. package/dist/chunks/{workspace-f6626pn0.js → model-resolver-ey1p32kd.js} +14 -14
  143. package/dist/chunks/{workspace-qagmmt9n.js → model-resolver-f20mjja6.js} +33 -33
  144. package/dist/chunks/{workspace-vbrdpthe.js → model-resolver-f6h44vt5.js} +6 -6
  145. package/dist/chunks/{workspace-f75zav2x.js → model-resolver-f75zav2x.js} +2 -2
  146. package/dist/chunks/{workspace-g38n4cbf.js → model-resolver-fbensa43.js} +11 -11
  147. package/dist/chunks/{workspace-0jwsre1p.js → model-resolver-fcrkznn8.js} +5 -5
  148. package/dist/chunks/{workspace-1acz6075.js → model-resolver-fgprmwhj.js} +13 -13
  149. package/dist/chunks/{workspace-hns92ys1.js → model-resolver-fy0vatp7.js} +10 -10
  150. package/dist/chunks/{workspace-tqrjxmaf.js → model-resolver-g7nd96nr.js} +8 -8
  151. package/dist/chunks/{workspace-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{workspace-w8jg2tm8.js → model-resolver-gg1f5j1z.js} +38 -38
  153. package/dist/chunks/{workspace-efbajcyc.js → model-resolver-gjkc16r8.js} +34 -34
  154. package/dist/chunks/{workspace-mhnyy3p3.js → model-resolver-gkcjs2dn.js} +11 -11
  155. package/dist/chunks/{workspace-qhjkx6qf.js → model-resolver-gkezm8y4.js} +21 -21
  156. package/dist/chunks/{workspace-0zm4vsbv.js → model-resolver-gnwrz8d7.js} +17 -17
  157. package/dist/chunks/{workspace-tdx4y9zn.js → model-resolver-gszfa6pv.js} +11 -11
  158. package/dist/chunks/{workspace-k2vb740h.js → model-resolver-gw7teh6q.js} +9 -9
  159. package/dist/chunks/{workspace-5xvy2j9s.js → model-resolver-gxx3asgj.js} +13 -13
  160. package/dist/chunks/{workspace-cscmnd2v.js → model-resolver-gxzkmbg1.js} +8 -8
  161. package/dist/chunks/{workspace-k569he40.js → model-resolver-h2kvjvwj.js} +7 -7
  162. package/dist/chunks/{workspace-vgfxpara.js → model-resolver-h42756k7.js} +82 -82
  163. package/dist/chunks/{workspace-077cgkzg.js → model-resolver-h4psw8ba.js} +25 -25
  164. package/dist/chunks/{workspace-n2thn3nx.js → model-resolver-h5w29vws.js} +1 -1
  165. package/dist/chunks/{workspace-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{workspace-86km67cx.js → model-resolver-h8jjkhz6.js} +9 -9
  167. package/dist/chunks/{workspace-2eaaba8k.js → model-resolver-he91xpgg.js} +29 -29
  168. package/dist/chunks/{workspace-rfmnp9jb.js → model-resolver-hhr7ssgm.js} +4 -4
  169. package/dist/chunks/{workspace-q1v6wmhm.js → model-resolver-hqjmh7f4.js} +10 -10
  170. package/dist/chunks/{workspace-heymn33v.js → model-resolver-hv0tq5xf.js} +10 -10
  171. package/dist/chunks/{workspace-bj5ap212.js → model-resolver-hxh7ac88.js} +46 -46
  172. package/dist/chunks/{workspace-p1f7zze4.js → model-resolver-j0dhs27h.js} +17 -17
  173. package/dist/chunks/{workspace-2cabk1b6.js → model-resolver-j1gz9man.js} +2 -2
  174. package/dist/chunks/{workspace-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  175. package/dist/chunks/{workspace-kt4j6m51.js → model-resolver-jgvx6mxw.js} +3 -3
  176. package/dist/chunks/{workspace-g762atc6.js → model-resolver-jvvc3tfq.js} +9 -9
  177. package/dist/chunks/{workspace-kb9j3d72.js → model-resolver-kb9j3d72.js} +3 -3
  178. package/dist/chunks/{workspace-mq716n2q.js → model-resolver-kemx01z9.js} +19 -19
  179. package/dist/chunks/{workspace-z28g1vpv.js → model-resolver-kr7egayj.js} +31 -31
  180. package/dist/chunks/{workspace-xh51jhwy.js → model-resolver-kt9b9xbd.js} +26 -26
  181. package/dist/chunks/{workspace-desgj5fn.js → model-resolver-kw9jfdn1.js} +26 -26
  182. package/dist/chunks/{workspace-e2h0q4a9.js → model-resolver-kxdn0yjd.js} +8 -8
  183. package/dist/chunks/{workspace-6qpyh92k.js → model-resolver-m119g2w7.js} +17 -17
  184. package/dist/chunks/{workspace-bt43sfkk.js → model-resolver-m1k46kn2.js} +18 -18
  185. package/dist/chunks/{workspace-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{workspace-vrpz8t5t.js → model-resolver-m64xvjj1.js} +5 -5
  187. package/dist/chunks/{workspace-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{workspace-9vprb1nh.js → model-resolver-mb4aw6zt.js} +12 -12
  189. package/dist/chunks/model-resolver-mcn7m7vx.js +507 -0
  190. package/dist/chunks/{workspace-56gdpj1q.js → model-resolver-mfqp6xfm.js} +6 -6
  191. package/dist/chunks/{workspace-mh5wyt4r.js → model-resolver-mnwggq08.js} +19 -19
  192. package/dist/chunks/{workspace-xcjenepd.js → model-resolver-mtqs55ae.js} +37 -37
  193. package/dist/chunks/{workspace-x2bhny64.js → model-resolver-mwyjgb1k.js} +7 -7
  194. package/dist/chunks/{workspace-p2wa0wpq.js → model-resolver-n3k0nq1g.js} +29 -29
  195. package/dist/chunks/{workspace-bx0gyb4h.js → model-resolver-n8vdnqrc.js} +5 -5
  196. package/dist/chunks/{workspace-hp2fw5k6.js → model-resolver-nhnh187w.js} +12 -12
  197. package/dist/chunks/{workspace-kgzx153c.js → model-resolver-nmbcsk2x.js} +3 -3
  198. package/dist/chunks/{workspace-0cnpbvek.js → model-resolver-ntg9ycez.js} +15 -15
  199. package/dist/chunks/{workspace-nqsd8asp.js → model-resolver-nve815hd.js} +46 -46
  200. package/dist/chunks/{workspace-nxm207yx.js → model-resolver-nxm207yx.js} +1 -1
  201. package/dist/chunks/{workspace-axs6pdy0.js → model-resolver-nyqx1cb3.js} +5 -5
  202. package/dist/chunks/{workspace-5xtgfte3.js → model-resolver-pa8pe2x7.js} +8 -8
  203. package/dist/chunks/{workspace-d2ffjrg3.js → model-resolver-pdyt6ga5.js} +7 -7
  204. package/dist/chunks/{workspace-bx4w3v62.js → model-resolver-pg8nqq7p.js} +42 -42
  205. package/dist/chunks/{workspace-rd8yy9nb.js → model-resolver-phqqhagd.js} +80 -80
  206. package/dist/chunks/{workspace-56hrvcw3.js → model-resolver-pj1jpnd1.js} +48 -48
  207. package/dist/chunks/{workspace-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{workspace-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  209. package/dist/chunks/{workspace-94yy4jsn.js → model-resolver-pypjajay.js} +4 -4
  210. package/dist/chunks/{workspace-h2txwa5e.js → model-resolver-q0hq5tmn.js} +9 -9
  211. package/dist/chunks/{workspace-emx6shzs.js → model-resolver-q3r2nqqw.js} +24 -24
  212. package/dist/chunks/{workspace-x07w92bc.js → model-resolver-q4zf8z8q.js} +6 -6
  213. package/dist/chunks/{workspace-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{workspace-qx4ps3zc.js → model-resolver-qpvdx65r.js} +20 -20
  215. package/dist/chunks/{workspace-6j68t7ds.js → model-resolver-qs20wfnt.js} +1 -1
  216. package/dist/chunks/{workspace-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  217. package/dist/chunks/{workspace-hgnewnvf.js → model-resolver-qtnjcq6r.js} +3 -3
  218. package/dist/chunks/{workspace-jvddzxac.js → model-resolver-qw4rebp2.js} +14 -14
  219. package/dist/chunks/{workspace-cg7s6gpq.js → model-resolver-qwbxvttr.js} +30 -30
  220. package/dist/chunks/{workspace-xyafkbt0.js → model-resolver-qxjc9qry.js} +3 -3
  221. package/dist/chunks/{workspace-r01t9b5y.js → model-resolver-r5mbew3j.js} +6 -6
  222. package/dist/chunks/{workspace-sgcq822w.js → model-resolver-r6xsx0m5.js} +5 -5
  223. package/dist/chunks/{workspace-1e10y0rh.js → model-resolver-rasec19h.js} +11 -11
  224. package/dist/chunks/{workspace-bv2qvk3v.js → model-resolver-rbbkm0xv.js} +48 -48
  225. package/dist/chunks/{workspace-7w38sh68.js → model-resolver-rcppyyty.js} +23 -23
  226. package/dist/chunks/{workspace-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  227. package/dist/chunks/{workspace-5t0mhk5g.js → model-resolver-rk0tqkaw.js} +3 -3
  228. package/dist/chunks/{workspace-0dygnakk.js → model-resolver-rx9ava5n.js} +4 -4
  229. package/dist/chunks/{workspace-aaqcndx2.js → model-resolver-rymvvhbz.js} +39 -39
  230. package/dist/chunks/{workspace-rhjbct0v.js → model-resolver-s8d7rejh.js} +4 -4
  231. package/dist/chunks/{workspace-8a6ws7jr.js → model-resolver-srq8z0b0.js} +9 -9
  232. package/dist/chunks/{workspace-wqzz8241.js → model-resolver-srtfr38y.js} +8 -8
  233. package/dist/chunks/{workspace-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{workspace-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{workspace-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  236. package/dist/chunks/{workspace-bacyadyn.js → model-resolver-tfzngn12.js} +4 -4
  237. package/dist/chunks/{workspace-bf3ep3zf.js → model-resolver-tm9w2n2x.js} +14 -14
  238. package/dist/chunks/{workspace-1v8896a1.js → model-resolver-tnmecr3d.js} +11 -11
  239. package/dist/chunks/{workspace-jktqzjpa.js → model-resolver-ts23464c.js} +6 -6
  240. package/dist/chunks/{workspace-04792bgd.js → model-resolver-tsg6z73m.js} +11 -11
  241. package/dist/chunks/{workspace-vhvtqta5.js → model-resolver-tw918z4j.js} +6 -6
  242. package/dist/chunks/{workspace-v0es1rhs.js → model-resolver-v0es1rhs.js} +2 -2
  243. package/dist/chunks/{workspace-8gm8r8mn.js → model-resolver-vemxbn5z.js} +5 -5
  244. package/dist/chunks/{workspace-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  245. package/dist/chunks/{workspace-x3gqap9d.js → model-resolver-vfjhn2wd.js} +4 -4
  246. package/dist/chunks/{workspace-pghsmdqn.js → model-resolver-vqfzmc84.js} +4 -4
  247. package/dist/chunks/{workspace-km0c42ps.js → model-resolver-vtctyt73.js} +11 -11
  248. package/dist/chunks/{workspace-sb1pzkvh.js → model-resolver-vv1mfds1.js} +16 -16
  249. package/dist/chunks/{workspace-c1ka28h1.js → model-resolver-vvpj8dts.js} +5 -5
  250. package/dist/chunks/{workspace-rrt0a0ha.js → model-resolver-vx3jgdek.js} +3 -3
  251. package/dist/chunks/{workspace-k3sn4jay.js → model-resolver-vxzh5eqq.js} +4 -4
  252. package/dist/chunks/{workspace-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{workspace-w19d8598.js → model-resolver-w19d8598.js} +1 -1
  254. package/dist/chunks/{workspace-w39jehkq.js → model-resolver-w2h15q85.js} +5 -5
  255. package/dist/chunks/{workspace-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{workspace-7504msxf.js → model-resolver-wbn4j0pn.js} +25 -25
  257. package/dist/chunks/{workspace-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  258. package/dist/chunks/{workspace-71tv947p.js → model-resolver-wgdeym6z.js} +15 -15
  259. package/dist/chunks/{workspace-16m64twp.js → model-resolver-wkveh0mg.js} +16 -16
  260. package/dist/chunks/{workspace-1d4zkfab.js → model-resolver-wtsvmxn1.js} +40 -40
  261. package/dist/chunks/{workspace-35vpxd0z.js → model-resolver-wy2za45w.js} +7 -7
  262. package/dist/chunks/{workspace-sfvft427.js → model-resolver-x2pzw901.js} +11 -11
  263. package/dist/chunks/{workspace-ywd8qmyg.js → model-resolver-x442ch9z.js} +1 -1
  264. package/dist/chunks/{workspace-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{workspace-gamkna2f.js → model-resolver-xm3p4qah.js} +32 -32
  266. package/dist/chunks/{workspace-58twkbn2.js → model-resolver-xpqek6s2.js} +11 -11
  267. package/dist/chunks/{workspace-zrbek4sy.js → model-resolver-xv5xhpkb.js} +4 -4
  268. package/dist/chunks/{workspace-5gjk7y31.js → model-resolver-y0nv8875.js} +4 -4
  269. package/dist/chunks/{workspace-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{workspace-tdj9jt6q.js → model-resolver-y47v6e3z.js} +22 -22
  271. package/dist/chunks/{workspace-t13mbkgb.js → model-resolver-y5fgx7d2.js} +21 -21
  272. package/dist/chunks/{workspace-74f6ffmn.js → model-resolver-y9dv21ph.js} +50 -50
  273. package/dist/chunks/{workspace-k471ddga.js → model-resolver-yn0v1xc3.js} +43 -43
  274. package/dist/chunks/{workspace-ewx9y0me.js → model-resolver-ynt8fh2a.js} +7 -7
  275. package/dist/chunks/{workspace-qc4y4x1d.js → model-resolver-ysm5qf9e.js} +29 -29
  276. package/dist/chunks/{workspace-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{workspace-pqnryrb4.js → model-resolver-z23z10f3.js} +9 -9
  278. package/dist/chunks/{workspace-h275bwc7.js → model-resolver-z5rd9rww.js} +8 -8
  279. package/dist/chunks/{workspace-grtn0enx.js → model-resolver-z9ad0njv.js} +4 -4
  280. package/dist/chunks/{workspace-r9htttdr.js → model-resolver-zby7g0g2.js} +13 -13
  281. package/dist/chunks/{workspace-ckf8nxjz.js → model-resolver-zcrspsvn.js} +4 -4
  282. package/dist/chunks/{workspace-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{workspace-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{workspace-zyk1yjk8.js → model-resolver-zyk1yjk8.js} +2 -2
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +3 -3
  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 +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  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 +116 -116
  302. package/dist/config/plugin/mcp.js +123 -123
  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 +113 -113
  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 +77 -77
  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 +92 -92
  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 +218 -218
  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 +84 -84
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +101 -101
  427. package/dist/git.js +6 -6
  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 +99 -99
  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 +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +76 -76
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +130 -130
  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 +81 -81
  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 +127 -127
  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 +99 -99
  472. package/dist/model-resolver.js +96 -96
  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 +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +113 -113
  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 +102 -102
  485. package/dist/plugin/command.js +100 -100
  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 +7 -7
  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 +115 -115
  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 +116 -116
  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 +74 -74
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +341 -341
  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 +4 -4
  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 +220 -220
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +80 -80
  554. package/dist/provider.js +99 -99
  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 +213 -213
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  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 +118 -118
  586. package/dist/session/model-transport.js +7 -7
  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 +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +222 -222
  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 +2 -2
  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 +85 -85
  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 +1 -1
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +207 -207
  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 +93 -93
  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 +113 -113
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +112 -112
  642. package/dist/tool/plugin/websearch.js +114 -114
  643. package/dist/tool/plugin/write.js +120 -120
  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 +14 -14
  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 +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +84 -84
  670. package/dist/wellknown/plugin.js +74 -74
  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 +96 -96
  680. package/package.json +8 -8
  681. package/dist/chunks/workspace-2qxg5hny.js +0 -253
  682. package/dist/chunks/workspace-619r8v3y.js +0 -18
  683. package/dist/chunks/workspace-ca6v8khj.js +0 -507
  684. package/dist/chunks/workspace-j49cp3s0.js +0 -26
  685. /package/dist/chunks/{workspace-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{workspace-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{workspace-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{workspace-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{workspace-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{workspace-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{workspace-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{workspace-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{workspace-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{workspace-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{workspace-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{workspace-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  697. /package/dist/chunks/{workspace-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{workspace-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{workspace-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{workspace-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{workspace-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{workspace-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{workspace-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{workspace-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{workspace-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  706. /package/dist/chunks/{workspace-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{workspace-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  708. /package/dist/chunks/{workspace-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{workspace-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{workspace-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{workspace-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  712. /package/dist/chunks/{workspace-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{workspace-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{workspace-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{workspace-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{workspace-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{workspace-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{workspace-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{workspace-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{workspace-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{workspace-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{workspace-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{workspace-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{workspace-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{workspace-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{workspace-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{workspace-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{workspace-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{workspace-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{workspace-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  731. /package/dist/chunks/{workspace-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{workspace-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{workspace-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{workspace-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{workspace-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{workspace-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{workspace-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{workspace-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{workspace-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{workspace-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{workspace-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{workspace-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{workspace-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  744. /package/dist/chunks/{workspace-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{workspace-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  746. /package/dist/chunks/{workspace-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  747. /package/dist/chunks/{workspace-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{workspace-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{workspace-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{workspace-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{workspace-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{workspace-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{workspace-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{workspace-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{workspace-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{workspace-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{workspace-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{workspace-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{workspace-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{workspace-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{workspace-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{workspace-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{workspace-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{workspace-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{workspace-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{workspace-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{workspace-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{workspace-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{workspace-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{workspace-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{workspace-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{workspace-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{workspace-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  774. /package/dist/chunks/{workspace-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{workspace-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{workspace-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{workspace-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{workspace-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{workspace-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{workspace-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./workspace-rfmnp9jb.js";
4
+ } from "./model-resolver-hhr7ssgm.js";
5
5
  import {
6
6
  create3
7
- } from "./workspace-rdw6cm16.js";
7
+ } from "./model-resolver-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./workspace-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- Agent: () => exports_agent4,
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
- Event: () => Event13,
17
+ Event: () => Event12,
18
18
  ID: () => ID9,
19
- Info: () => Info18,
19
+ Info: () => Info12,
20
20
  Name: () => Name3,
21
- Service: () => Service63,
21
+ Service: () => Service56,
22
22
  defaultID: () => defaultID2,
23
- node: () => node65
23
+ node: () => node59
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event13 } from "@opencode/schema/agent";
30
+ import { Event as Event12 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
33
  var ID9 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
35
  var defaultID2 = ID9.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info18 = Agent.Info;
37
+ var Info12 = Agent.Info;
38
38
 
39
- class Service63 extends Context.Service()("@opencode/Agent") {
39
+ class Service56 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service63, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
42
42
  const bus = yield* Service83;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info18.default(id);
60
+ const defaults = Info12.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service63.of({
91
+ return Service56.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node65 = makeLocationNode({ service: Service63, layer, deps: [node87, Global.node] });
119
+ var node59 = makeLocationNode({ service: Service56, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID9, Name3, defaultID2, Color2, Info18, Service63, node65, exports_agent4, Event13 };
121
+ export { ID9, Name3, defaultID2, Color2, Info12, Service56, node59, exports_agent3, Event12 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./workspace-2a5m3afh.js";
5
+ } from "./model-resolver-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./workspace-9rqn6x4v.js";
8
+ } from "./model-resolver-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service83
3
- } from "./workspace-rfmnp9jb.js";
3
+ } from "./model-resolver-hhr7ssgm.js";
4
4
  import {
5
5
  Service80
6
- } from "./workspace-2cabk1b6.js";
6
+ } from "./model-resolver-j1gz9man.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service36
10
- } from "./workspace-bj5ap212.js";
9
+ Service37
10
+ } from "./model-resolver-hxh7ac88.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./model-resolver-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command2 = {};
17
17
  __export(exports_command2, {
18
18
  CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin46
19
+ Plugin: () => Plugin29
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin46 = define({
196
+ var Plugin29 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
199
  const location = yield* Service80;
200
- const mcp = yield* Service36;
200
+ const mcp = yield* Service37;
201
201
  const bus = yield* Service83;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin46, exports_command2 };
283
+ export { Plugin29, exports_command2 };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./workspace-rfmnp9jb.js";
4
+ } from "./model-resolver-hhr7ssgm.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./workspace-8z7vm853.js";
8
+ } from "./model-resolver-afttsgwn.js";
9
9
  import {
10
10
  Service80,
11
11
  node84
12
- } from "./workspace-2cabk1b6.js";
12
+ } from "./model-resolver-j1gz9man.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./workspace-619r8v3y.js";
15
+ } from "./model-resolver-9sh4wc5j.js";
16
16
  import {
17
- Service48,
18
- node51
19
- } from "./workspace-ejgp49jg.js";
17
+ Service68,
18
+ node71
19
+ } from "./model-resolver-ap8vh77s.js";
20
20
  import {
21
- node22
22
- } from "./workspace-mq716n2q.js";
21
+ node16
22
+ } from "./model-resolver-kemx01z9.js";
23
23
  import {
24
- Service12,
25
- node14
26
- } from "./workspace-cwa6csj7.js";
24
+ Service10,
25
+ node12
26
+ } from "./model-resolver-djszqvmq.js";
27
27
  import {
28
28
  __export
29
- } from "./workspace-9rqn6x4v.js";
29
+ } from "./model-resolver-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher2 = {};
33
33
  __export(exports_location_watcher2, {
34
34
  LocationWatcher: () => exports_location_watcher2,
35
- Service: () => Service10,
36
- node: () => node12
35
+ Service: () => Service8,
36
+ node: () => node10
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service10 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service8 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service10, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
46
46
  const location = yield* Service80;
47
- const watcher = yield* Service48;
47
+ const watcher = yield* Service68;
48
48
  const bus = yield* Service83;
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
- const policy = yield* Service12;
51
+ const policy = yield* Service10;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service10.of({});
103
+ return Service8.of({});
104
104
  }));
105
- var node12 = makeLocationNode({
106
- service: Service10,
105
+ var node10 = makeLocationNode({
106
+ service: Service8,
107
107
  layer,
108
- deps: [node51, FSUtil.node, node84, node86, node87, node22, node14]
108
+ deps: [node71, FSUtil.node, node84, node86, node87, node16, node12]
109
109
  });
110
110
 
111
- export { Service10, node12, exports_location_watcher2 };
111
+ export { Service8, node10, exports_location_watcher2 };
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  ID9,
3
- Service63
4
- } from "./workspace-2kapx5s0.js";
3
+ Service56
4
+ } from "./model-resolver-1cap5v9d.js";
5
5
  import {
6
6
  Service80
7
- } from "./workspace-2cabk1b6.js";
7
+ } from "./model-resolver-j1gz9man.js";
8
8
  import {
9
- Service47
10
- } from "./workspace-w8jg2tm8.js";
9
+ Service67
10
+ } from "./model-resolver-gg1f5j1z.js";
11
11
  import {
12
- Service78,
12
+ Service66,
13
13
  args2
14
- } from "./workspace-mh5wyt4r.js";
14
+ } from "./model-resolver-mnwggq08.js";
15
15
  import {
16
- Service25
17
- } from "./workspace-vgfxpara.js";
16
+ Service26
17
+ } from "./model-resolver-h42756k7.js";
18
18
  import {
19
- make6
20
- } from "./workspace-04792bgd.js";
19
+ make10
20
+ } from "./model-resolver-tsg6z73m.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./workspace-5daktx2q.js";
23
+ } from "./model-resolver-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./workspace-9rqn6x4v.js";
26
+ } from "./model-resolver-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
29
  var exports_command = {};
30
30
  __export(exports_command, {
31
31
  ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin31
32
+ Plugin: () => Plugin16
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin31 = define({
44
+ var Plugin16 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service47;
47
+ const config = yield* Service67;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -56,10 +56,10 @@ var Plugin31 = define({
56
56
  });
57
57
  const location = yield* Service80;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service78;
60
- const sessions = yield* Service25;
61
- const agents = yield* Service63;
62
- const subagents = yield* make6;
59
+ const shell = yield* Service66;
60
+ const sessions = yield* Service26;
61
+ const agents = yield* Service56;
62
+ const subagents = yield* make10;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin31, exports_command };
207
+ export { Plugin16, exports_command };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./workspace-gftt206x.js";
3
+ } from "./model-resolver-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./workspace-rrt0a0ha.js";
6
+ } from "./model-resolver-vx3jgdek.js";
7
7
  import {
8
8
  __export
9
- } from "./workspace-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
- var exports_error2 = {};
13
- __export(exports_error2, {
12
+ var exports_error = {};
13
+ __export(exports_error, {
14
14
  AgentNotFoundError: () => AgentNotFoundError2,
15
15
  AttachmentError: () => AttachmentError2,
16
16
  BusyError: () => BusyError2,
@@ -19,9 +19,9 @@ __export(exports_error2, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError7,
22
+ NotFoundError: () => NotFoundError8,
23
23
  PromptConflictError: () => PromptConflictError2,
24
- SessionErrors: () => exports_error2,
24
+ SessionErrors: () => exports_error,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
26
26
  StepFailedError: () => StepFailedError2,
27
27
  SyntheticConflictError: () => SyntheticConflictError2
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
31
31
  import { Skill } from "@opencode/schema/skill";
32
32
  import { SessionError } from "@opencode/schema/session-error";
33
33
 
34
- class NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
34
+ class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
35
35
  sessionID: SessionSchema2.ID
36
36
  }) {
37
37
  }
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
116
116
  }) {
117
117
  }
118
118
 
119
- export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
119
+ export { NotFoundError8, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./workspace-rfmnp9jb.js";
5
+ } from "./model-resolver-hhr7ssgm.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make20,
10
+ make21,
11
11
  diffByKey2
12
- } from "./workspace-rhjbct0v.js";
12
+ } from "./model-resolver-s8d7rejh.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./workspace-z5v4ffb3.js";
15
+ } from "./model-resolver-z5v4ffb3.js";
16
16
  import {
17
17
  create3
18
- } from "./workspace-rdw6cm16.js";
18
+ } from "./model-resolver-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./workspace-9rqn6x4v.js";
21
+ } from "./model-resolver-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event6,
26
+ Event: () => Event13,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options4,
30
- Service: () => Service43,
31
- configured: () => configured4,
32
- layer: () => layer15,
33
- node: () => node46
29
+ Options: () => Options6,
30
+ Service: () => Service61,
31
+ configured: () => configured7,
32
+ layer: () => layer22,
33
+ node: () => node64
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event6 = {
45
+ var Event13 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options4 = Schema.Struct({
48
+ var Options6 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service61 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer15 = (options) => Layer.effect(Service43, Effect.gen(function* () {
55
+ var layer22 = (options) => Layer.effect(Service61, Effect.gen(function* () {
56
56
  const bus = yield* Service83;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,9 +72,9 @@ var layer15 = (options) => Layer.effect(Service43, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event13.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make20({
77
+ const source = (value) => make21({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer15 = (options) => Layer.effect(Service43, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service43.of({
93
+ return Service61.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer15 = (options) => Layer.effect(Service43, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured4(options) {
107
+ function configured7(options) {
108
108
  return makeLocationNode({
109
- service: Service43,
110
- layer: layer15(options),
109
+ service: Service61,
110
+ layer: layer22(options),
111
111
  deps: [node87]
112
112
  });
113
113
  }
114
- var node46 = configured4();
114
+ var node64 = configured7();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event6, Options4, Service43, layer15, configured4, node46, exports_instruction_discovery };
145
+ export { File2, Event13, Options6, Service61, layer22, configured7, node64, exports_instruction_discovery };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./workspace-2jygvae8.js";
3
+ } from "./model-resolver-efgr2h9s.js";
4
4
  import {
5
5
  call2
6
- } from "./workspace-56gdpj1q.js";
6
+ } from "./model-resolver-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./workspace-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin34,
14
+ Plugin: () => Plugin22,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint2
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint2 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint4 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin34 = define({
36
+ var Plugin22 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin34 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin34 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint2, Plugin34, exports_tinyfish };
76
+ export { endpoint4, Plugin22, exports_tinyfish };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./workspace-q0xm7vwc.js";
3
+ } from "./model-resolver-0j77ygfz.js";
4
4
  import {
5
5
  __export
6
- } from "./workspace-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  useragent2
3
- } from "./workspace-2jygvae8.js";
3
+ } from "./model-resolver-efgr2h9s.js";
4
4
  import {
5
5
  Service83
6
- } from "./workspace-rfmnp9jb.js";
6
+ } from "./model-resolver-hhr7ssgm.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19,
10
- Service75
11
- } from "./workspace-k30vhdc4.js";
10
+ Service78
11
+ } from "./model-resolver-bjgk06jq.js";
12
12
  import {
13
- ID13,
13
+ ID14,
14
14
  MethodID2
15
- } from "./workspace-hfr420wr.js";
15
+ } from "./model-resolver-4zkna7ps.js";
16
16
  import {
17
- ID12,
17
+ ID13,
18
18
  mergeOverlay2
19
- } from "./workspace-caf87exy.js";
19
+ } from "./model-resolver-55hkn5jk.js";
20
20
  import {
21
- ID10,
21
+ ID12,
22
22
  VariantID2,
23
- Info19
24
- } from "./workspace-pbp90nbc.js";
23
+ Info21
24
+ } from "./model-resolver-8k1jb5xq.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./workspace-pjvnvgmy.js";
28
+ } from "./model-resolver-pjvnvgmy.js";
29
29
 
30
30
  // src/plugin/provider/chatgpt.ts
31
31
  import { define } from "@opencode/plugin/effect/plugin";
@@ -37,8 +37,8 @@ var issuer = "https://auth.openai.com";
37
37
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
38
38
  var resource = "https://api.openai.com/v1";
39
39
  var tokenSharingScope = "chatgpt.tokens.use.direct";
40
- var providerID = ID12.openai;
41
- var integrationID = ID13.make("openai");
40
+ var providerID = ID13.openai;
41
+ var integrationID = ID14.make("openai");
42
42
  var methodID = MethodID2.make("chatgpt-token-sharing");
43
43
  var modelCacheKey = (clientID) => `models:${clientID}`;
44
44
  var fallbackModels = new Set([
@@ -174,7 +174,7 @@ var ChatGPTPlugin2 = define({
174
174
  id: "opencode.provider.chatgpt",
175
175
  effect: Effect.fn(function* (ctx) {
176
176
  const bus = yield* Service83;
177
- const credentials = yield* Service75;
177
+ const credentials = yield* Service78;
178
178
  const loading = Semaphore.makeUnsafe(1);
179
179
  let chatgpt;
180
180
  let source;
@@ -189,7 +189,7 @@ var ChatGPTPlugin2 = define({
189
189
  yield* ctx.integration.transform((editor) => {
190
190
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
191
191
  });
192
- yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
192
+ yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
193
193
  const value = entry.value;
194
194
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
195
195
  return Effect.void;
@@ -306,7 +306,7 @@ function deriveModels2(remote, existing) {
306
306
  const found = byID.get(model.modelID);
307
307
  return found ? [deriveModel(found, model)] : [];
308
308
  }),
309
- ...remote.filter((model) => !known.has(ID10.make(model.slug))).map((model) => deriveModel(model, Info19.default(ID12.openai, ID10.make(model.slug))))
309
+ ...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID13.openai, ID12.make(model.slug))))
310
310
  ];
311
311
  }
312
312
  function deriveModel(remote, previous) {