@opencode/core 0.0.0-dev-19486 → 0.0.0-dev-19488

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{websearch-hvtrc2sr.js → model-resolver-021ffpa0.js} +19 -19
  9. package/dist/chunks/{websearch-0gdmqesm.js → model-resolver-02nrjc1r.js} +8 -8
  10. package/dist/chunks/{websearch-getpgx4e.js → model-resolver-0334ef0p.js} +1 -1
  11. package/dist/chunks/{websearch-3hf7z3yq.js → model-resolver-03s1nxke.js} +11 -11
  12. package/dist/chunks/{websearch-18bat74x.js → model-resolver-079cv0ze.js} +23 -23
  13. package/dist/chunks/{websearch-wg28sfba.js → model-resolver-07cx4w7f.js} +6 -6
  14. package/dist/chunks/{websearch-9kbwcx6p.js → model-resolver-0g6mfyfr.js} +53 -53
  15. package/dist/chunks/{websearch-e4qhddfc.js → model-resolver-0hf448nj.js} +8 -8
  16. package/dist/chunks/{websearch-0hc3726d.js → model-resolver-0jwvfzzp.js} +25 -25
  17. package/dist/chunks/{websearch-m3eqw2jv.js → model-resolver-0k7hqrra.js} +24 -24
  18. package/dist/chunks/{websearch-2jj0jrzx.js → model-resolver-0mywzg06.js} +28 -28
  19. package/dist/chunks/{websearch-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  20. package/dist/chunks/{websearch-bjhqr9aw.js → model-resolver-0pm1m3w8.js} +10 -10
  21. package/dist/chunks/{websearch-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
  22. package/dist/chunks/{websearch-6epdn2bt.js → model-resolver-0sp60s5d.js} +12 -12
  23. package/dist/chunks/{websearch-j86bmkp1.js → model-resolver-0vvagabw.js} +27 -27
  24. package/dist/chunks/{websearch-e8dm1crz.js → model-resolver-0wbgnjtz.js} +5 -5
  25. package/dist/chunks/{websearch-yq45397g.js → model-resolver-0wmmprtc.js} +32 -32
  26. package/dist/chunks/{websearch-1vtz46z8.js → model-resolver-121k57vw.js} +8 -8
  27. package/dist/chunks/{websearch-1acjjqhc.js → model-resolver-1acjjqhc.js} +1 -1
  28. package/dist/chunks/{websearch-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  29. package/dist/chunks/{websearch-vc4s583k.js → model-resolver-1gqabzhy.js} +18 -18
  30. package/dist/chunks/{websearch-csf2jhsg.js → model-resolver-1hc11dc4.js} +4 -4
  31. package/dist/chunks/{websearch-ghwfv39v.js → model-resolver-1ptmpf20.js} +6 -6
  32. package/dist/chunks/{websearch-1ygqh575.js → model-resolver-1ygqh575.js} +2 -2
  33. package/dist/chunks/{websearch-5dc1cckg.js → model-resolver-1zkr721w.js} +13 -13
  34. package/dist/chunks/{websearch-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  35. package/dist/chunks/{websearch-p57dvf2n.js → model-resolver-23sxaqwc.js} +4 -4
  36. package/dist/chunks/{websearch-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
  37. package/dist/chunks/{websearch-10eeehcd.js → model-resolver-24e6cc3r.js} +7 -7
  38. package/dist/chunks/{websearch-bp8cq5c4.js → model-resolver-26jcn8kh.js} +12 -12
  39. package/dist/chunks/{websearch-qcr6qbh4.js → model-resolver-27596drg.js} +28 -28
  40. package/dist/chunks/{websearch-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  41. package/dist/chunks/{websearch-3s0336h2.js → model-resolver-2cshb6bs.js} +25 -25
  42. package/dist/chunks/{websearch-7dqw4kz8.js → model-resolver-2k8khapm.js} +5 -5
  43. package/dist/chunks/{websearch-7k8v9e10.js → model-resolver-2verbhpp.js} +23 -23
  44. package/dist/chunks/{websearch-tn0aqsam.js → model-resolver-37s12vcn.js} +5 -5
  45. package/dist/chunks/{websearch-5k9htkrd.js → model-resolver-3gjfrb28.js} +29 -29
  46. package/dist/chunks/{websearch-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{websearch-9s9gky82.js → model-resolver-3hgg98pr.js} +35 -35
  48. package/dist/chunks/{websearch-ry126eqe.js → model-resolver-3kafhsr8.js} +15 -15
  49. package/dist/chunks/{websearch-kjw20jdv.js → model-resolver-3nxeqbj3.js} +15 -15
  50. package/dist/chunks/{websearch-3jp54z3r.js → model-resolver-3q1jyqhd.js} +1 -1
  51. package/dist/chunks/{websearch-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{websearch-rwvtw2qe.js → model-resolver-3tq8bdpm.js} +13 -13
  53. package/dist/chunks/{websearch-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  54. package/dist/chunks/{websearch-dw8cbckb.js → model-resolver-4bfepadc.js} +2 -2
  55. package/dist/chunks/{websearch-7e9mmnrs.js → model-resolver-4grgn5v0.js} +6 -6
  56. package/dist/chunks/{websearch-w1jw08gg.js → model-resolver-4kmhmgeg.js} +165 -165
  57. package/dist/chunks/{websearch-4y66k410.js → model-resolver-4y66k410.js} +2 -2
  58. package/dist/chunks/{websearch-z9ecnefr.js → model-resolver-532bqssk.js} +10 -10
  59. package/dist/chunks/{websearch-7nz6bfr7.js → model-resolver-581kfnqp.js} +20 -20
  60. package/dist/chunks/{websearch-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  61. package/dist/chunks/{websearch-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{websearch-wgjw9q45.js → model-resolver-5v1cn1j1.js} +12 -12
  63. package/dist/chunks/{websearch-vpbm37g3.js → model-resolver-5v85fpgj.js} +25 -25
  64. package/dist/chunks/{websearch-cjskv54g.js → model-resolver-64at0fy0.js} +6 -6
  65. package/dist/chunks/{websearch-669tq793.js → model-resolver-669tq793.js} +1 -1
  66. package/dist/chunks/{websearch-hhxs1qhb.js → model-resolver-6fvs6bkh.js} +36 -36
  67. package/dist/chunks/{websearch-1dp8ya78.js → model-resolver-6hzp91we.js} +5 -5
  68. package/dist/chunks/{websearch-6kbfcphw.js → model-resolver-6jcw83n3.js} +47 -47
  69. package/dist/chunks/{websearch-tx9qvpbt.js → model-resolver-6kyz0a76.js} +8 -8
  70. package/dist/chunks/{websearch-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{websearch-ywmedxr3.js → model-resolver-6wxzvafn.js} +11 -11
  72. package/dist/chunks/{websearch-gyephz3k.js → model-resolver-6xt4p4wv.js} +7 -7
  73. package/dist/chunks/{websearch-pmrvp5wn.js → model-resolver-70xr52zc.js} +32 -32
  74. package/dist/chunks/{websearch-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
  75. package/dist/chunks/{websearch-v3f306tg.js → model-resolver-74w3tna1.js} +19 -19
  76. package/dist/chunks/{websearch-kc2bkjx5.js → model-resolver-75evgfh8.js} +15 -15
  77. package/dist/chunks/{websearch-afs477w8.js → model-resolver-774n8a20.js} +7 -7
  78. package/dist/chunks/{websearch-ph9094mn.js → model-resolver-789bpvq4.js} +11 -11
  79. package/dist/chunks/{websearch-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{websearch-0h6rsm0g.js → model-resolver-7cwz0yjz.js} +17 -17
  81. package/dist/chunks/{websearch-bvkp99y7.js → model-resolver-7fys8geh.js} +16 -16
  82. package/dist/chunks/{websearch-3ythc6yv.js → model-resolver-7z7az0f5.js} +4 -4
  83. package/dist/chunks/{websearch-17j9h1rv.js → model-resolver-818pfwc9.js} +11 -11
  84. package/dist/chunks/{websearch-ef8x10ky.js → model-resolver-87mnny1s.js} +19 -19
  85. package/dist/chunks/{websearch-k957qxjd.js → model-resolver-87qnmf38.js} +24 -24
  86. package/dist/chunks/{websearch-byjpa77t.js → model-resolver-8abbabsk.js} +24 -24
  87. package/dist/chunks/{websearch-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{websearch-x09k08s8.js → model-resolver-8p2zvf0d.js} +32 -32
  89. package/dist/chunks/{websearch-8p4f9s12.js → model-resolver-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{websearch-k4dxn3tz.js → model-resolver-8p8b376s.js} +21 -21
  91. package/dist/chunks/{websearch-zdw14ag8.js → model-resolver-8y92rm17.js} +6 -6
  92. package/dist/chunks/{websearch-h9818f4s.js → model-resolver-8yrnm0fa.js} +16 -16
  93. package/dist/chunks/{websearch-2qkxzrz5.js → model-resolver-942176fc.js} +11 -11
  94. package/dist/chunks/{websearch-jr6636kp.js → model-resolver-98a0b00a.js} +4 -4
  95. package/dist/chunks/{websearch-8kj2ryp0.js → model-resolver-98kgw1j6.js} +1 -1
  96. package/dist/chunks/{websearch-7nm1v87f.js → model-resolver-9rzqjwaz.js} +1 -1
  97. package/dist/chunks/{websearch-9y1ym1xd.js → model-resolver-9stj6zpb.js} +29 -29
  98. package/dist/chunks/{websearch-wym29fwy.js → model-resolver-9y7khav7.js} +15 -15
  99. package/dist/chunks/{websearch-a1bz86dw.js → model-resolver-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{websearch-bxvdfqxe.js → model-resolver-a2cfvfg1.js} +16 -16
  101. package/dist/chunks/{websearch-wx8n6yrs.js → model-resolver-a4vx34cq.js} +14 -14
  102. package/dist/chunks/{websearch-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  103. package/dist/chunks/{websearch-d6110kr6.js → model-resolver-aczsg4vg.js} +32 -32
  104. package/dist/chunks/{websearch-44pzkzbe.js → model-resolver-am89cgs6.js} +13 -13
  105. package/dist/chunks/{websearch-8ncz32bb.js → model-resolver-atny4vj3.js} +14 -14
  106. package/dist/chunks/{websearch-tx0mr2zc.js → model-resolver-aztjpt51.js} +18 -18
  107. package/dist/chunks/{websearch-z31hh3ha.js → model-resolver-b22gj5xn.js} +26 -26
  108. package/dist/chunks/{websearch-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{websearch-v37c0btw.js → model-resolver-b77arecc.js} +28 -28
  110. package/dist/chunks/{websearch-392nwaxk.js → model-resolver-bcbgj7m0.js} +18 -18
  111. package/dist/chunks/{websearch-yynvhz1s.js → model-resolver-bq4vzaks.js} +46 -46
  112. package/dist/chunks/{websearch-tqmqc943.js → model-resolver-cbg8bv93.js} +7 -7
  113. package/dist/chunks/{websearch-cfpkc3c9.js → model-resolver-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{websearch-2hy8qd7w.js → model-resolver-ck6gmqc6.js} +41 -41
  115. package/dist/chunks/{websearch-34gdt06v.js → model-resolver-csz41kxq.js} +5 -5
  116. package/dist/chunks/{websearch-s9d09hn2.js → model-resolver-csz4k5km.js} +14 -14
  117. package/dist/chunks/{websearch-sra9araw.js → model-resolver-d2aac7k2.js} +5 -5
  118. package/dist/chunks/{websearch-ghbz8b16.js → model-resolver-d2fv866c.js} +12 -12
  119. package/dist/chunks/{websearch-p7dkzcqc.js → model-resolver-d880b0y6.js} +30 -30
  120. package/dist/chunks/{websearch-3h11gepz.js → model-resolver-djmbsxn3.js} +9 -9
  121. package/dist/chunks/{websearch-mkq9nyfe.js → model-resolver-djqd3v5p.js} +31 -31
  122. package/dist/chunks/{websearch-3p7b386r.js → model-resolver-dkck3j8g.js} +8 -8
  123. package/dist/chunks/{websearch-xb5qry8h.js → model-resolver-dktryzc1.js} +26 -26
  124. package/dist/chunks/{websearch-jwcy2c2z.js → model-resolver-dpkg50ah.js} +4 -4
  125. package/dist/chunks/{websearch-vx5jxt0n.js → model-resolver-dqyg47hv.js} +1 -1
  126. package/dist/chunks/{websearch-vdnmb5h5.js → model-resolver-drknmmyh.js} +9 -9
  127. package/dist/chunks/{websearch-dv1qgsyq.js → model-resolver-dv1qgsyq.js} +1 -1
  128. package/dist/chunks/{websearch-htcxgdj2.js → model-resolver-e6fygs6z.js} +25 -25
  129. package/dist/chunks/{websearch-hjt4xg1x.js → model-resolver-e82z9tr0.js} +7 -7
  130. package/dist/chunks/{websearch-96944qvb.js → model-resolver-e86807kd.js} +90 -90
  131. package/dist/chunks/{websearch-hcdx47dt.js → model-resolver-epzffrx8.js} +25 -25
  132. package/dist/chunks/{websearch-f1a176w2.js → model-resolver-erhkyex8.js} +4 -4
  133. package/dist/chunks/{websearch-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{websearch-dhedpxax.js → model-resolver-ewbqqj16.js} +15 -15
  135. package/dist/chunks/{websearch-f828m53h.js → model-resolver-f828m53h.js} +2 -2
  136. package/dist/chunks/{websearch-s5etbs5z.js → model-resolver-f8xc4yre.js} +33 -33
  137. package/dist/chunks/{websearch-wha86atx.js → model-resolver-f8zs2stk.js} +8 -8
  138. package/dist/chunks/model-resolver-fbf46f8y.js +462 -0
  139. package/dist/chunks/{websearch-jeha92wd.js → model-resolver-fdc0z0c3.js} +2 -2
  140. package/dist/chunks/{websearch-pydkb24f.js → model-resolver-fvf9sjjr.js} +39 -39
  141. package/dist/chunks/{websearch-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
  142. package/dist/chunks/{websearch-epd1fg1b.js → model-resolver-fxqygnfa.js} +4 -4
  143. package/dist/chunks/{websearch-6sr3ve8g.js → model-resolver-g190xswt.js} +21 -21
  144. package/dist/chunks/{websearch-dhs2fgcq.js → model-resolver-g53r2hff.js} +40 -40
  145. package/dist/chunks/{websearch-tq4vh0cn.js → model-resolver-g5rnekq0.js} +2 -2
  146. package/dist/chunks/{websearch-9drxqmrc.js → model-resolver-g6fkknnq.js} +29 -29
  147. package/dist/chunks/{websearch-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{websearch-gdvy8fx6.js → model-resolver-gdvy8fx6.js} +1 -1
  149. package/dist/chunks/{websearch-wvtn21wb.js → model-resolver-ggj3dvvh.js} +12 -12
  150. package/dist/chunks/{websearch-0ethqs2v.js → model-resolver-ghej9zy6.js} +17 -17
  151. package/dist/chunks/{websearch-chzcthkq.js → model-resolver-gkv3re89.js} +11 -11
  152. package/dist/chunks/{websearch-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{websearch-8by0fez5.js → model-resolver-gw82nkc3.js} +34 -34
  154. package/dist/chunks/{websearch-tp6b6835.js → model-resolver-gwfcx2m0.js} +13 -13
  155. package/dist/chunks/{websearch-nf90hs02.js → model-resolver-gwnxf6ch.js} +4 -4
  156. package/dist/chunks/{websearch-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{websearch-71t2waba.js → model-resolver-h2fnsspk.js} +11 -11
  158. package/dist/chunks/{websearch-7015eamg.js → model-resolver-h3k867zz.js} +3 -3
  159. package/dist/chunks/{websearch-em6xe1nh.js → model-resolver-h4q9s1ny.js} +17 -17
  160. package/dist/chunks/{websearch-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{websearch-fhs97t90.js → model-resolver-h7ygw6q4.js} +9 -9
  162. package/dist/chunks/model-resolver-hjw1g3kj.js +247 -0
  163. package/dist/chunks/{websearch-bxytjdj3.js → model-resolver-htk69tte.js} +7 -7
  164. package/dist/chunks/{websearch-e8he1v8f.js → model-resolver-htx7jtvk.js} +22 -22
  165. package/dist/chunks/{websearch-dt5qd2kd.js → model-resolver-hwap2x7x.js} +27 -27
  166. package/dist/chunks/{websearch-27bs3zk6.js → model-resolver-hwxt52gm.js} +5 -5
  167. package/dist/chunks/{websearch-frbkyvnf.js → model-resolver-hya8ywrc.js} +67 -67
  168. package/dist/chunks/{websearch-1beypass.js → model-resolver-j12k6d1r.js} +41 -41
  169. package/dist/chunks/model-resolver-j2k1bkn8.js +22 -0
  170. package/dist/chunks/{websearch-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  171. package/dist/chunks/{websearch-nx2bgdkf.js → model-resolver-jbe1bvhn.js} +31 -31
  172. package/dist/chunks/{websearch-c3m6azwz.js → model-resolver-jwazx1ed.js} +30 -30
  173. package/dist/chunks/{websearch-770exhkv.js → model-resolver-k6556a45.js} +6 -6
  174. package/dist/chunks/{websearch-yq577anv.js → model-resolver-k6h76ggr.js} +22 -22
  175. package/dist/chunks/{websearch-749w85ht.js → model-resolver-kbn8346a.js} +11 -11
  176. package/dist/chunks/{websearch-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
  177. package/dist/chunks/{websearch-2n295dmf.js → model-resolver-kk8h1mek.js} +8 -8
  178. package/dist/chunks/{websearch-phmd9p91.js → model-resolver-kvffe9p6.js} +17 -17
  179. package/dist/chunks/{websearch-dqvm81nv.js → model-resolver-kx6yd4vg.js} +29 -29
  180. package/dist/chunks/{websearch-rph3zd4r.js → model-resolver-kxpygcw9.js} +4 -4
  181. package/dist/chunks/{websearch-141wat1w.js → model-resolver-m4hypjkm.js} +11 -11
  182. package/dist/chunks/{websearch-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{websearch-5xfgd4tj.js → model-resolver-mb5a7wwz.js} +8 -8
  184. package/dist/chunks/{websearch-epzjjzhh.js → model-resolver-me88hgte.js} +23 -23
  185. package/dist/chunks/{websearch-46pzsp2w.js → model-resolver-mg5mchpt.js} +26 -26
  186. package/dist/chunks/{websearch-gyppx53v.js → model-resolver-mhdwrqr0.js} +3 -3
  187. package/dist/chunks/{websearch-1bbkgx8g.js → model-resolver-mhkvc446.js} +3 -3
  188. package/dist/chunks/{websearch-ewdynff8.js → model-resolver-mrsqtdpn.js} +36 -36
  189. package/dist/chunks/{websearch-9q5fzp3r.js → model-resolver-mwnd972w.js} +35 -35
  190. package/dist/chunks/{websearch-34945060.js → model-resolver-mz60zy6e.js} +27 -28
  191. package/dist/chunks/{websearch-cg25rz5t.js → model-resolver-mz65vdgf.js} +20 -20
  192. package/dist/chunks/{websearch-b4s8ej7r.js → model-resolver-n37c4crj.js} +2 -2
  193. package/dist/chunks/{websearch-4y2184wc.js → model-resolver-nv6fkpt4.js} +18 -18
  194. package/dist/chunks/{websearch-w73qfjrr.js → model-resolver-p52p41ww.js} +11 -11
  195. package/dist/chunks/{websearch-j935v87r.js → model-resolver-paphc93g.js} +2 -2
  196. package/dist/chunks/{websearch-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{websearch-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  198. package/dist/chunks/{websearch-qcyrxr4s.js → model-resolver-pm4pe4yk.js} +28 -28
  199. package/dist/chunks/{websearch-6n50k4gd.js → model-resolver-pqg5898n.js} +12 -12
  200. package/dist/chunks/{websearch-bt9grr5a.js → model-resolver-prp52c5q.js} +11 -11
  201. package/dist/chunks/{websearch-30724mc5.js → model-resolver-psjem9sa.js} +9 -9
  202. package/dist/chunks/{websearch-qh8r3z2c.js → model-resolver-pvvs7m8f.js} +13 -13
  203. package/dist/chunks/{websearch-s1bfjgj9.js → model-resolver-q87s0xy8.js} +62 -62
  204. package/dist/chunks/{websearch-9jbtaq45.js → model-resolver-q91t8a1k.js} +14 -14
  205. package/dist/chunks/{websearch-qmb0hbq7.js → model-resolver-qa6ytjmd.js} +13 -13
  206. package/dist/chunks/model-resolver-qapv375x.js +4 -0
  207. package/dist/chunks/{websearch-ta3enh0y.js → model-resolver-qdcfe15v.js} +1 -1
  208. package/dist/chunks/model-resolver-qdyb70sk.js +18 -0
  209. package/dist/chunks/{websearch-hnr5yq9h.js → model-resolver-qn4ba14w.js} +5 -5
  210. package/dist/chunks/{websearch-23zqh2z9.js → model-resolver-qn8ypmg1.js} +6 -6
  211. package/dist/chunks/{websearch-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  212. package/dist/chunks/{websearch-f415yte9.js → model-resolver-qwkytnft.js} +9 -9
  213. package/dist/chunks/{websearch-2a7rymj9.js → model-resolver-qyxt0tsw.js} +2 -2
  214. package/dist/chunks/{websearch-ec88nqh8.js → model-resolver-r532bney.js} +4 -4
  215. package/dist/chunks/{websearch-a3tyt3nb.js → model-resolver-r9ghxtsk.js} +3 -3
  216. package/dist/chunks/{websearch-r9mregkx.js → model-resolver-r9mregkx.js} +2 -2
  217. package/dist/chunks/{websearch-vkt5fbj2.js → model-resolver-rav9e4bf.js} +8 -8
  218. package/dist/chunks/{websearch-fampkq6j.js → model-resolver-rctyp4y4.js} +25 -25
  219. package/dist/chunks/{websearch-xzmaqxd1.js → model-resolver-rd8pgjwx.js} +20 -20
  220. package/dist/chunks/{websearch-ak2jpmmk.js → model-resolver-rj9a996t.js} +9 -9
  221. package/dist/chunks/{websearch-m5rzwcrv.js → model-resolver-rq6dswfj.js} +5 -5
  222. package/dist/chunks/{websearch-81swgkk7.js → model-resolver-rsym84ch.js} +7 -7
  223. package/dist/chunks/{websearch-34p8a4j8.js → model-resolver-rtkh6q4b.js} +11 -11
  224. package/dist/chunks/{websearch-19vf66h0.js → model-resolver-ryr25ayn.js} +4 -4
  225. package/dist/chunks/{websearch-d6fcepcv.js → model-resolver-s1vvg2cq.js} +7 -7
  226. package/dist/chunks/{websearch-ebh8b152.js → model-resolver-s2whfhf8.js} +22 -22
  227. package/dist/chunks/{websearch-737983wq.js → model-resolver-s534qmrw.js} +4 -4
  228. package/dist/chunks/{websearch-r2qgbzqp.js → model-resolver-s5wnyv46.js} +31 -31
  229. package/dist/chunks/{websearch-ha5pt3jd.js → model-resolver-s72x8wcp.js} +23 -23
  230. package/dist/chunks/{websearch-k2dx91xy.js → model-resolver-sdcezsxk.js} +22 -22
  231. package/dist/chunks/{websearch-q4bsck8j.js → model-resolver-shqnjwtb.js} +22 -22
  232. package/dist/chunks/{websearch-spqyc52r.js → model-resolver-sph8ksss.js} +9 -9
  233. package/dist/chunks/{websearch-96nhex2k.js → model-resolver-spr8pf2r.js} +6 -6
  234. package/dist/chunks/{websearch-skrwk90v.js → model-resolver-t6gatd88.js} +50 -50
  235. package/dist/chunks/{websearch-t7n9q6bq.js → model-resolver-t7n9q6bq.js} +1 -1
  236. package/dist/chunks/{websearch-2nyzx5hd.js → model-resolver-t82489yp.js} +37 -37
  237. package/dist/chunks/{websearch-8q7nqemf.js → model-resolver-t9e5d74p.js} +9 -9
  238. package/dist/chunks/{websearch-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{websearch-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{websearch-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  241. package/dist/chunks/{websearch-httkxj35.js → model-resolver-tp3xxvx5.js} +46 -46
  242. package/dist/chunks/{websearch-425cn146.js → model-resolver-trk3y68z.js} +54 -54
  243. package/dist/chunks/{websearch-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  244. package/dist/chunks/{websearch-a5gt7g2r.js → model-resolver-twy35tz0.js} +9 -9
  245. package/dist/chunks/{websearch-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  246. package/dist/chunks/{websearch-ycrqyr1k.js → model-resolver-vhj1rs6k.js} +21 -21
  247. package/dist/chunks/{websearch-vncycja5.js → model-resolver-vncycja5.js} +1 -1
  248. package/dist/chunks/{websearch-913kkr4a.js → model-resolver-vnv2t9ht.js} +4 -4
  249. package/dist/chunks/{websearch-vvccsdf3.js → model-resolver-vvccsdf3.js} +1 -1
  250. package/dist/chunks/{websearch-94s48bjb.js → model-resolver-vxp3kcg3.js} +5 -5
  251. package/dist/chunks/{websearch-3czyavq2.js → model-resolver-vy514hgv.js} +9 -9
  252. package/dist/chunks/{websearch-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{websearch-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{websearch-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  255. package/dist/chunks/{websearch-hhqmne4z.js → model-resolver-wf4bebac.js} +14 -14
  256. package/dist/chunks/{websearch-0e2nyqxd.js → model-resolver-wgf958fy.js} +16 -16
  257. package/dist/chunks/{websearch-fm1vrtk7.js → model-resolver-wj9n5p3k.js} +5 -5
  258. package/dist/chunks/{websearch-1bap58cs.js → model-resolver-wrjeysgp.js} +2 -2
  259. package/dist/chunks/{websearch-1fg3m0m4.js → model-resolver-wwmx33bt.js} +5 -5
  260. package/dist/chunks/{websearch-86w90e4b.js → model-resolver-x1avke2d.js} +81 -81
  261. package/dist/chunks/{websearch-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{websearch-8f26vzsk.js → model-resolver-x6geafsy.js} +1 -1
  263. package/dist/chunks/{websearch-y7gn77t5.js → model-resolver-x940zq77.js} +10 -10
  264. package/dist/chunks/{websearch-6qrsjhc9.js → model-resolver-xdk7tsve.js} +1 -1
  265. package/dist/chunks/{websearch-xg9t41r3.js → model-resolver-xg9t41r3.js} +2 -2
  266. package/dist/chunks/{websearch-ngyp0d6y.js → model-resolver-xs8g0vg3.js} +4 -4
  267. package/dist/chunks/{websearch-5sa7xthx.js → model-resolver-xtzwr8pq.js} +9 -9
  268. package/dist/chunks/{websearch-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{websearch-22rg0kdw.js → model-resolver-y3fea29m.js} +14 -14
  270. package/dist/chunks/{websearch-53bb7m18.js → model-resolver-y94qkjj7.js} +5 -5
  271. package/dist/chunks/{websearch-6d6xcght.js → model-resolver-ydgy0jv4.js} +6 -6
  272. package/dist/chunks/{websearch-vnzp83eb.js → model-resolver-yjv2keaj.js} +32 -32
  273. package/dist/chunks/{websearch-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{websearch-s4enseaf.js → model-resolver-yrznvahk.js} +2 -2
  275. package/dist/chunks/{websearch-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{websearch-c9mqxpdr.js → model-resolver-z2b5d6zb.js} +6 -6
  277. package/dist/chunks/{websearch-4fre1sw0.js → model-resolver-z2kz5700.js} +17 -17
  278. package/dist/chunks/{websearch-vjm2gha0.js → model-resolver-z2qr9twd.js} +1 -1
  279. package/dist/chunks/{websearch-29x78va6.js → model-resolver-z63w68vq.js} +6 -6
  280. package/dist/chunks/{websearch-dhq46et7.js → model-resolver-z7dhx1kn.js} +24 -24
  281. package/dist/chunks/{websearch-w3azyy0p.js → model-resolver-zceb237h.js} +6 -6
  282. package/dist/chunks/{websearch-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{websearch-m89ner95.js → model-resolver-zf0svfz5.js} +19 -19
  284. package/dist/chunks/{websearch-92q9m6v7.js → model-resolver-zpkbxaqd.js} +4 -4
  285. package/dist/chunks/{websearch-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{websearch-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +5 -5
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +82 -82
  291. package/dist/config/discovery.js +78 -78
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +116 -116
  295. package/dist/config/plugin/command.js +208 -208
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +86 -86
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +115 -115
  304. package/dist/config/plugin/provider.js +114 -114
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +98 -98
  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 +116 -116
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +120 -120
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +84 -84
  319. package/dist/database/database.js +71 -71
  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.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +78 -78
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +355 -355
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +89 -89
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +91 -91
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +73 -73
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +90 -90
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.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/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +217 -217
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +100 -100
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +101 -101
  424. package/dist/form.js +85 -85
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +83 -83
  427. package/dist/generate.js +94 -94
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +1 -1
  452. package/dist/instance.js +348 -348
  453. package/dist/instruction-discovery.js +82 -82
  454. package/dist/instructions/builtins.js +83 -83
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +132 -132
  462. package/dist/location-mutation.js +100 -100
  463. package/dist/location-service-map.js +82 -82
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +83 -83
  466. package/dist/mcp/client.js +87 -87
  467. package/dist/mcp/index.js +104 -104
  468. package/dist/mcp/instructions.js +121 -121
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +86 -86
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +87 -87
  474. package/dist/model.js +6 -6
  475. package/dist/models-dev.js +87 -87
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +113 -113
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +87 -87
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +98 -98
  486. package/dist/plugin/command.js +95 -95
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +214 -214
  489. package/dist/plugin/instance.js +1 -1
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +76 -76
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +98 -98
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/azure.js +119 -119
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +115 -115
  505. package/dist/plugin/provider/digitalocean.js +80 -80
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +81 -81
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +77 -77
  514. package/dist/plugin/provider/lmstudio.js +116 -116
  515. package/dist/plugin/provider/modal.js +80 -80
  516. package/dist/plugin/provider/nvidia.js +2 -2
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai-compatible.js +1 -1
  519. package/dist/plugin/provider/openai.js +81 -81
  520. package/dist/plugin/provider/opencode.js +80 -80
  521. package/dist/plugin/provider/openrouter.js +3 -3
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +116 -116
  530. package/dist/plugin/provider/xai.js +78 -78
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +69 -69
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +132 -132
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +338 -338
  538. package/dist/plugin/update.js +2 -2
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +83 -83
  541. package/dist/plugin/vcs/hg.js +83 -83
  542. package/dist/plugin/warming.js +113 -113
  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 +8 -8
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +6 -6
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +221 -221
  550. package/dist/project/schema.js +6 -6
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +84 -84
  553. package/dist/provider.js +5 -5
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +95 -95
  558. package/dist/reference/instructions.js +85 -85
  559. package/dist/reference.js +85 -85
  560. package/dist/repository-cache.js +73 -73
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +94 -94
  564. package/dist/rpc.js +82 -82
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +130 -130
  568. package/dist/session/context.js +148 -148
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +7 -7
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +220 -220
  573. package/dist/session/execution.js +125 -125
  574. package/dist/session/generate.js +149 -149
  575. package/dist/session/history.js +15 -15
  576. package/dist/session/inbox.js +85 -85
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +78 -78
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +89 -89
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +114 -114
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +127 -127
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +101 -101
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +86 -86
  590. package/dist/session/run-coordinator.js +1 -1
  591. package/dist/session/runner/index.js +1 -1
  592. package/dist/session/runner/llm.js +226 -226
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +87 -87
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +111 -111
  597. package/dist/session/runner/step.js +122 -122
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +1 -1
  600. package/dist/session/session.js +170 -170
  601. package/dist/session/shell.js +132 -132
  602. package/dist/session/skill.js +99 -99
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +74 -74
  605. package/dist/session/store.js +86 -86
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +206 -206
  608. package/dist/session/system-prompt.js +5 -5
  609. package/dist/session/title.js +152 -152
  610. package/dist/session/to-session-error.js +108 -108
  611. package/dist/session/transfer.js +216 -216
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +210 -210
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +13 -13
  618. package/dist/shell.js +134 -134
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +103 -103
  621. package/dist/skill.js +108 -108
  622. package/dist/snapshot.js +89 -89
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +122 -122
  627. package/dist/tool/plugin/edit.js +112 -112
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +121 -121
  630. package/dist/tool/plugin/grep.js +117 -117
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +118 -118
  633. package/dist/tool/plugin/question.js +99 -99
  634. package/dist/tool/plugin/read.js +122 -122
  635. package/dist/tool/plugin/shell.js +213 -213
  636. package/dist/tool/plugin/skill.js +109 -109
  637. package/dist/tool/plugin/subagent.js +215 -215
  638. package/dist/tool/plugin/webfetch.js +106 -106
  639. package/dist/tool/plugin/websearch.js +110 -110
  640. package/dist/tool/plugin/write.js +116 -116
  641. package/dist/tool/read-filesystem.js +97 -97
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +15 -15
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +7 -7
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +3 -3
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +4 -4
  658. package/dist/v1/config/formatter.js +3 -3
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +3 -3
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +1 -1
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +86 -86
  672. package/dist/websearch.js +81 -81
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +80 -80
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +79 -79
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +339 -339
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +90 -90
  683. package/package.json +8 -8
  684. package/dist/chunks/websearch-8tzv257v.js +0 -22
  685. package/dist/chunks/websearch-by5v678g.js +0 -18
  686. package/dist/chunks/websearch-e2164zrv.js +0 -462
  687. package/dist/chunks/websearch-hr9dp009.js +0 -4
  688. package/dist/chunks/websearch-nw6xasnj.js +0 -247
  689. /package/dist/chunks/{websearch-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{websearch-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{websearch-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{websearch-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{websearch-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{websearch-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{websearch-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{websearch-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{websearch-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{websearch-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  699. /package/dist/chunks/{websearch-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{websearch-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{websearch-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{websearch-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{websearch-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{websearch-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{websearch-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{websearch-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  707. /package/dist/chunks/{websearch-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{websearch-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  709. /package/dist/chunks/{websearch-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{websearch-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{websearch-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  712. /package/dist/chunks/{websearch-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{websearch-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{websearch-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  715. /package/dist/chunks/{websearch-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{websearch-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{websearch-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{websearch-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{websearch-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{websearch-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{websearch-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{websearch-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{websearch-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{websearch-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{websearch-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{websearch-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{websearch-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{websearch-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{websearch-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{websearch-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  731. /package/dist/chunks/{websearch-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{websearch-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{websearch-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{websearch-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{websearch-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{websearch-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{websearch-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{websearch-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{websearch-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{websearch-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{websearch-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{websearch-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{websearch-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  744. /package/dist/chunks/{websearch-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{websearch-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  746. /package/dist/chunks/{websearch-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{websearch-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  748. /package/dist/chunks/{websearch-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{websearch-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{websearch-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{websearch-j7wq2tw5.js → model-resolver-j7wq2tw5.js} +0 -0
  752. /package/dist/chunks/{websearch-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{websearch-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{websearch-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{websearch-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{websearch-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{websearch-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{websearch-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{websearch-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{websearch-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{websearch-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{websearch-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{websearch-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{websearch-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{websearch-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{websearch-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{websearch-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{websearch-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{websearch-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{websearch-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{websearch-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{websearch-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{websearch-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{websearch-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{websearch-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  776. /package/dist/chunks/{websearch-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{websearch-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{websearch-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{websearch-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{websearch-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{websearch-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node85
5
- } from "./websearch-3hf7z3yq.js";
4
+ node69
5
+ } from "./model-resolver-03s1nxke.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./websearch-csf2jhsg.js";
9
+ } from "./model-resolver-1hc11dc4.js";
10
10
  import {
11
- Service60,
12
- node63
13
- } from "./websearch-1vtz46z8.js";
11
+ Service73,
12
+ node77
13
+ } from "./model-resolver-121k57vw.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./websearch-s1bfjgj9.js";
16
+ } from "./model-resolver-q87s0xy8.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./websearch-141wat1w.js";
19
+ } from "./model-resolver-m4hypjkm.js";
20
20
  import {
21
- Error4
22
- } from "./websearch-htcxgdj2.js";
21
+ Error2
22
+ } from "./model-resolver-e6fygs6z.js";
23
23
  import {
24
- Service36,
25
- node40
26
- } from "./websearch-71t2waba.js";
24
+ Service20,
25
+ node24
26
+ } from "./model-resolver-h2fnsspk.js";
27
27
  import {
28
- make15
29
- } from "./websearch-hjt4xg1x.js";
28
+ make13
29
+ } from "./model-resolver-e82z9tr0.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./websearch-3jp54z3r.js";
32
+ } from "./model-resolver-3q1jyqhd.js";
33
33
  import {
34
34
  __export
35
- } from "./websearch-9rqn6x4v.js";
35
+ } from "./model-resolver-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service35,
40
+ Service: () => Service19,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer15,
45
- node: () => node39,
44
+ layer: () => layer8,
45
+ node: () => node23,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service35 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service19 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer15 = Layer.effect(Service35, Effect.gen(function* () {
156
- const hooks = yield* Service60;
157
- const transport = yield* Service36;
155
+ var layer8 = Layer.effect(Service19, Effect.gen(function* () {
156
+ const hooks = yield* Service73;
157
+ const transport = yield* Service20;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -162,7 +162,7 @@ var layer15 = Layer.effect(Service35, Effect.gen(function* () {
162
162
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
163
163
  const tools = input.tools ?? {
164
164
  definitions: [],
165
- execute: () => new Error4({ message: "Tools are not available for this request" })
165
+ execute: () => new Error2({ message: "Tools are not available for this request" })
166
166
  };
167
167
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
168
168
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -244,17 +244,17 @@ var layer15 = Layer.effect(Service35, Effect.gen(function* () {
244
244
  };
245
245
  });
246
246
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
247
- return Service35.of({
247
+ return Service19.of({
248
248
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
249
249
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
250
250
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
251
251
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
252
252
  });
253
253
  }));
254
- var node39 = makeLocationNode({
255
- service: Service35,
256
- layer: layer15,
257
- deps: [node63, node40, node85]
254
+ var node23 = makeLocationNode({
255
+ service: Service19,
256
+ layer: layer8,
257
+ deps: [node77, node24, node69]
258
258
  });
259
259
 
260
- export { baseTranscript2, unsupportedParts2, boundImages2, Service35, layer15, node39, exports_model_request };
260
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service19, layer8, node23, exports_model_request };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service60,
10
- node: () => node63
9
+ Service: () => Service73,
10
+ node: () => node77
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service60 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service73 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service60, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service60.of({ has, register, trigger });
57
+ return Service73.of({ has, register, trigger });
58
58
  }));
59
- var node63 = makeLocationNode({ service: Service60, layer, deps: [] });
59
+ var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
60
60
 
61
- export { Service60, node63, exports_hooks };
61
+ export { Service73, node77, exports_hooks };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./websearch-2a5m3afh.js";
5
+ } from "./model-resolver-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./websearch-9rqn6x4v.js";
8
+ } from "./model-resolver-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./websearch-922hggd3.js";
5
+ } from "./model-resolver-922hggd3.js";
6
6
  import {
7
- Service74,
8
- node77
9
- } from "./websearch-dhq46et7.js";
7
+ Service56,
8
+ node59
9
+ } from "./model-resolver-z7dhx1kn.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./websearch-8d7r5vzw.js";
12
+ } from "./model-resolver-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./websearch-9rqn6x4v.js";
15
+ } from "./model-resolver-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service17,
24
- node: () => node21
23
+ Service: () => Service37,
24
+ node: () => node41
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service17 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service37 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error3({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service17, Effect.gen(function* () {
67
- const environment = yield* Service74;
66
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
67
+ const environment = yield* Service56;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service17.of({
95
+ return Service37.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node21 = makeLocationNode({ service: Service17, layer, deps: [node77, RipgrepBinary2.node] });
178
+ var node41 = makeLocationNode({ service: Service37, layer, deps: [node59, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service17, node21, exports_ripgrep };
180
+ export { Error3, InvalidPatternError2, Service37, node41, exports_ripgrep };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info11,
8
+ Info: () => Info26,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info11 = SessionProviderContext.Info;
22
+ var Info26 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
52
52
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
53
53
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
54
54
 
55
- export { Info11, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
55
+ export { Info26, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/provider.ts
6
6
  var exports_provider3 = {};
7
7
  __export(exports_provider3, {
8
8
  AISDK_PREFIX: () => AISDK_PREFIX2,
9
9
  ID: () => ID10,
10
- Info: () => Info24,
10
+ Info: () => Info23,
11
11
  LoadError: () => LoadError3,
12
12
  Provider: () => exports_provider3,
13
- Request: () => Request3,
13
+ Request: () => Request2,
14
14
  Settings: () => Settings2,
15
15
  aisdk: () => aisdk2,
16
16
  isAISDK: () => isAISDK2,
@@ -142,9 +142,9 @@ function mergeHeaders2(base, overlay) {
142
142
  return result;
143
143
  }, new Map).values());
144
144
  }
145
- var Request3 = Provider.Request;
145
+ var Request2 = Provider.Request;
146
146
  var Settings2 = Provider.Settings;
147
- var Info24 = Provider.Info;
147
+ var Info23 = Provider.Info;
148
148
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
149
149
  const module = yield* Effect.tryPromise({
150
150
  try: () => {
@@ -166,4 +166,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
166
166
  return module;
167
167
  });
168
168
 
169
- export { ID10, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info24, exports_provider3 };
169
+ export { ID10, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request2, Settings2, Info23, exports_provider3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./websearch-3v8g72cx.js";
3
+ } from "./model-resolver-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./websearch-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service79
3
- } from "./websearch-s9d09hn2.js";
2
+ Service77
3
+ } from "./model-resolver-csz4k5km.js";
4
4
  import {
5
- Service76
6
- } from "./websearch-bvkp99y7.js";
5
+ Service74
6
+ } from "./model-resolver-7fys8geh.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service32
10
- } from "./websearch-9kbwcx6p.js";
9
+ Service25
10
+ } from "./model-resolver-0g6mfyfr.js";
11
11
  import {
12
12
  __export
13
- } from "./websearch-9rqn6x4v.js";
13
+ } from "./model-resolver-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command = {};
17
17
  __export(exports_command, {
18
18
  CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin15
19
+ Plugin: () => Plugin8
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,12 +193,12 @@ 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 Plugin15 = define({
196
+ var Plugin8 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service76;
200
- const mcp = yield* Service32;
201
- const bus = yield* Service79;
199
+ const location = yield* Service74;
200
+ const mcp = yield* Service25;
201
+ const bus = yield* Service77;
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 }));
204
204
  loaded.prompts = yield* mcp.prompts();
@@ -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 { Plugin15, exports_command };
283
+ export { Plugin8, exports_command };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
9
  Entry: () => Entry4,
10
- Info: () => Info20
10
+ Info: () => Info17
11
11
  });
12
12
  import { Schema } from "effect";
13
13
  var Entry4 = Schema.Struct({
@@ -16,6 +16,6 @@ var Entry4 = Schema.Struct({
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info20 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
19
+ var Info17 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
20
20
 
21
- export { Entry4, Info20, exports_formatter3 };
21
+ export { Entry4, Info17, exports_formatter3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service62
4
- } from "./websearch-yynvhz1s.js";
3
+ Service53
4
+ } from "./model-resolver-bq4vzaks.js";
5
5
  import {
6
6
  __export
7
- } from "./websearch-9rqn6x4v.js";
7
+ } from "./model-resolver-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin14,
12
+ Plugin: () => Plugin15,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin14 = define({
22
+ var Plugin15 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service62;
25
+ const config = yield* Service53;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -93,4 +93,4 @@ var Plugin14 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { Plugin14, exports_warming };
96
+ export { Plugin15, exports_warming };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./websearch-gd4qta3r.js";
3
+ } from "./model-resolver-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./websearch-tvtrv512.js";
6
+ } from "./model-resolver-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./websearch-kg06axw8.js";
9
+ } from "./model-resolver-kg06axw8.js";
10
10
  import {
11
11
  __export
12
- } from "./websearch-9rqn6x4v.js";
12
+ } from "./model-resolver-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service72,
21
+ Service: () => Service57,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node75
23
+ node: () => node60
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service72 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service57 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service72, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service72.of({
125
+ return Service57.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node75 = makeLocationNode({
143
- service: Service72,
142
+ var node60 = makeLocationNode({
143
+ service: Service57,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service72, node75, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service57, node60, exports_tool_output2 };