@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,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./websearch-5t3nmthw.js";
3
+ } from "./model-resolver-5t3nmthw.js";
4
4
  import {
5
- Service54,
6
- node57
7
- } from "./websearch-mkq9nyfe.js";
5
+ Service59,
6
+ node62
7
+ } from "./model-resolver-djqd3v5p.js";
8
8
  import {
9
9
  __export
10
- } from "./websearch-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate = {};
14
- __export(exports_generate, {
15
- Generate: () => exports_generate,
13
+ var exports_generate2 = {};
14
+ __export(exports_generate2, {
15
+ Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service22,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer11,
20
- node: () => node26
17
+ Service: () => Service28,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer14,
20
+ node: () => node32
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service22 extends Context.Service()("@opencode/Generate") {
36
+ class Service28 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer11 = Layer.effect(Service22, Effect.gen(function* () {
38
+ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service54;
40
+ const resolver = yield* Service59;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -47,28 +47,28 @@ var layer11 = Layer.effect(Service22, Effect.gen(function* () {
47
47
  "SessionRunnerModel.UnresolvedProviderVariablesError",
48
48
  "SessionRunnerModel.UnsupportedCompactionError"
49
49
  ], (error) => {
50
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
50
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
51
51
  return Effect.fail(mapped);
52
52
  }));
53
53
  if (!resolved)
54
54
  return yield* new ModelSelectionError2({
55
55
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
56
56
  });
57
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
57
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
58
58
  message: error.message,
59
59
  service: resolved.ref.providerID
60
60
  })));
61
61
  return response.text;
62
62
  });
63
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
63
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service22.of({ text });
66
+ return Service28.of({ text });
67
67
  }));
68
- var node26 = makeLocationNode({
69
- service: Service22,
70
- layer: layer11,
71
- deps: [node57, llmClient2]
68
+ var node32 = makeLocationNode({
69
+ service: Service28,
70
+ layer: layer14,
71
+ deps: [node62, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError3, Service22, layer11, node26, exports_generate };
74
+ export { ModelSelectionError2, UnavailableError2, Service28, layer14, node32, exports_generate2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./websearch-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./websearch-6sr3ve8g.js";
6
+ } from "./model-resolver-g190xswt.js";
7
7
  import {
8
- Info18
9
- } from "./websearch-17j9h1rv.js";
8
+ Info15
9
+ } from "./model-resolver-818pfwc9.js";
10
10
  import {
11
- Info17
12
- } from "./websearch-tn0aqsam.js";
11
+ Info10
12
+ } from "./model-resolver-37s12vcn.js";
13
13
  import {
14
- Info22
15
- } from "./websearch-19vf66h0.js";
14
+ Info11
15
+ } from "./model-resolver-ryr25ayn.js";
16
16
  import {
17
- Info21
18
- } from "./websearch-sra9araw.js";
17
+ Info18
18
+ } from "./model-resolver-d2aac7k2.js";
19
19
  import {
20
20
  Spec2
21
- } from "./websearch-7dqw4kz8.js";
21
+ } from "./model-resolver-2k8khapm.js";
22
22
  import {
23
- Info16
24
- } from "./websearch-hnr5yq9h.js";
23
+ Info12
24
+ } from "./model-resolver-qn4ba14w.js";
25
25
  import {
26
- Info13
27
- } from "./websearch-2hy8qd7w.js";
26
+ Info9
27
+ } from "./model-resolver-ck6gmqc6.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./websearch-jr6636kp.js";
36
+ } from "./model-resolver-98a0b00a.js";
37
37
  import {
38
38
  __export
39
- } from "./websearch-9rqn6x4v.js";
39
+ } from "./model-resolver-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info13.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info10, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info22, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info18, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info18, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info21, value, path, diagnostics);
228
+ const server = decodeValue(Info18, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info16, raw, path, diagnostics);
424
+ const provider = decodeValue(Info12, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service50
3
- } from "./websearch-s1bfjgj9.js";
2
+ Service69
3
+ } from "./model-resolver-q87s0xy8.js";
4
4
  import {
5
- ID4,
5
+ ID11,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service39
10
- } from "./websearch-qcr6qbh4.js";
9
+ Service68
10
+ } from "./model-resolver-27596drg.js";
11
11
  import {
12
12
  __export
13
- } from "./websearch-9rqn6x4v.js";
13
+ } from "./model-resolver-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill2 = {};
17
- __export(exports_skill2, {
18
- Input: () => Input10,
19
- Output: () => Output7,
20
- Plugin: () => Plugin25,
21
- SkillTool: () => exports_skill2,
22
- description: () => description3,
23
- name: () => name10,
16
+ var exports_skill3 = {};
17
+ __export(exports_skill3, {
18
+ Input: () => Input8,
19
+ Output: () => Output6,
20
+ Plugin: () => Plugin39,
21
+ SkillTool: () => exports_skill3,
22
+ description: () => description4,
23
+ name: () => name8,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name10 = "skill";
30
- var Input10 = Schema.Struct({
31
- id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name8 = "skill";
30
+ var Input8 = Schema.Struct({
31
+ id: ID11.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output7 = Schema.Struct({
33
+ var Output6 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description3 = [
38
+ var description4 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description3 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin25 = {
46
+ var Plugin39 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service39;
51
- const permission = yield* Service50;
50
+ const skills = yield* Service68;
51
+ const permission = yield* Service69;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name10,
53
+ name: name8,
54
54
  options: { codemode: false },
55
- description: description3,
56
- input: Input10,
57
- output: Output7,
55
+ description: description4,
56
+ input: Input8,
57
+ output: Output6,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name10,
64
+ action: name8,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin25 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name10, Input10, Output7, description3, toModelOutput2, Plugin25, exports_skill2 };
82
+ export { name8, Input8, Output6, description4, toModelOutput2, Plugin39, exports_skill3 };
@@ -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/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service62
3
- } from "./websearch-yynvhz1s.js";
2
+ Service53
3
+ } from "./model-resolver-bq4vzaks.js";
4
4
  import {
5
- Service32
6
- } from "./websearch-9kbwcx6p.js";
5
+ Service25
6
+ } from "./model-resolver-0g6mfyfr.js";
7
7
  import {
8
8
  __export
9
- } from "./websearch-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin39,
15
+ Plugin: () => Plugin26,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin39 = define({
20
+ var Plugin26 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service62;
28
- const mcp = yield* Service32;
27
+ const config = yield* Service53;
28
+ const mcp = yield* Service25;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin39, register2, exports_mcp2 };
49
+ export { Plugin26, register2, exports_mcp2 };
@@ -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/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./websearch-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
- Service78,
6
- node82
7
- } from "./websearch-y7gn77t5.js";
5
+ Service76,
6
+ node80
7
+ } from "./model-resolver-x940zq77.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./websearch-2402vzrj.js";
13
+ } from "./model-resolver-2402vzrj.js";
14
14
  import {
15
- Service71,
16
- node74
17
- } from "./websearch-ghbz8b16.js";
15
+ Service66,
16
+ node70
17
+ } from "./model-resolver-d2fv866c.js";
18
18
  import {
19
19
  __export
20
- } from "./websearch-9rqn6x4v.js";
20
+ } from "./model-resolver-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -103,10 +103,10 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
103
103
  });
104
104
  var layer = Layer.effect(Service41, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service78;
106
+ const git = yield* Service76;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service71;
109
+ const kv = yield* Service66;
110
110
  return Service41.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
170
170
  var node45 = makeGlobalNode({
171
171
  service: Service41,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node74]
173
+ deps: [EffectFlock.node, FSUtil.node, node80, Global.node, node70]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./websearch-s9d09hn2.js";
2
+ Service77,
3
+ node81
4
+ } from "./model-resolver-csz4k5km.js";
5
5
  import {
6
6
  create3
7
- } from "./websearch-kg06axw8.js";
7
+ } from "./model-resolver-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./websearch-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent3 = {};
14
- __export(exports_agent3, {
15
- Agent: () => exports_agent3,
13
+ var exports_agent4 = {};
14
+ __export(exports_agent4, {
15
+ Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event11,
18
- ID: () => ID7,
19
- Info: () => Info12,
17
+ Event: () => Event19,
18
+ ID: () => ID14,
19
+ Info: () => Info28,
20
20
  Name: () => Name3,
21
- Service: () => Service53,
21
+ Service: () => Service72,
22
22
  defaultID: () => defaultID2,
23
- node: () => node56
23
+ node: () => node76
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 Event11 } from "@opencode/schema/agent";
30
+ import { Event as Event19 } 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
- var ID7 = Agent.ID;
33
+ var ID14 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID7.make("build");
35
+ var defaultID2 = ID14.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info12 = Agent.Info;
37
+ var Info28 = Agent.Info;
38
38
 
39
- class Service53 extends Context.Service()("@opencode/Agent") {
39
+ class Service72 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service53, Effect.gen(function* () {
42
- const bus = yield* Service79;
41
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
42
+ const bus = yield* Service77;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
45
45
  { action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info12.default(id);
60
+ const defaults = Info28.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID7.make("build")));
82
+ const build = selectable(data.agents.get(ID14.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service53.of({
91
+ return Service72.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID7.make(id));
99
+ return state.get().agents.get(ID14.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID7.make(id);
104
+ const selected = ID14.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node56 = makeLocationNode({ service: Service53, layer, deps: [node83, Global.node] });
119
+ var node76 = makeLocationNode({ service: Service72, layer, deps: [node81, Global.node] });
120
120
 
121
- export { ID7, Name3, defaultID2, Color2, Info12, Service53, node56, exports_agent3, Event11 };
121
+ export { ID14, Name3, defaultID2, Color2, Info28, Service72, node76, exports_agent4, Event19 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./websearch-ghwfv39v.js";
4
+ } from "./model-resolver-1ptmpf20.js";
5
5
  import {
6
6
  __export
7
- } from "./websearch-9rqn6x4v.js";
7
+ } from "./model-resolver-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/variant.ts
10
10
  var exports_variant = {};
11
11
  __export(exports_variant, {
12
- Plugin: () => Plugin9,
12
+ Plugin: () => Plugin13,
13
13
  VariantPlugin: () => exports_variant,
14
14
  generate: () => generate2
15
15
  });
16
16
  import { Effect } from "effect";
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Model } from "@opencode/schema/model";
19
- var Plugin9 = define({
19
+ var Plugin13 = define({
20
20
  id: "opencode.variant",
21
21
  effect: Effect.fn(function* (ctx) {
22
22
  yield* ctx.catalog.transform((catalog) => {
@@ -52,4 +52,4 @@ function generate2(model, provider) {
52
52
  }));
53
53
  }
54
54
 
55
- export { Plugin9, generate2, exports_variant };
55
+ export { Plugin13, generate2, exports_variant };