@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,41 +1,41 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission2 = {};
7
- __export(exports_permission2, {
6
+ var exports_permission = {};
7
+ __export(exports_permission, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission2,
10
- Info: () => Info19,
9
+ ConfigPermissionV1: () => exports_permission,
10
+ Info: () => Info16,
11
11
  Object: () => Object2,
12
- Rule: () => Rule3
12
+ Rule: () => Rule2
13
13
  });
14
14
  import { Schema, SchemaGetter } from "effect";
15
15
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
16
16
  var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
17
- var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
17
+ var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
18
18
  var InputObject = Schema.StructWithRest(Schema.Struct({
19
- read: Schema.optional(Rule3),
20
- edit: Schema.optional(Rule3),
21
- glob: Schema.optional(Rule3),
22
- grep: Schema.optional(Rule3),
23
- list: Schema.optional(Rule3),
24
- bash: Schema.optional(Rule3),
25
- task: Schema.optional(Rule3),
26
- external_directory: Schema.optional(Rule3),
19
+ read: Schema.optional(Rule2),
20
+ edit: Schema.optional(Rule2),
21
+ glob: Schema.optional(Rule2),
22
+ grep: Schema.optional(Rule2),
23
+ list: Schema.optional(Rule2),
24
+ bash: Schema.optional(Rule2),
25
+ task: Schema.optional(Rule2),
26
+ external_directory: Schema.optional(Rule2),
27
27
  question: Schema.optional(Action2),
28
- webfetch: Schema.optional(Rule3),
28
+ webfetch: Schema.optional(Rule2),
29
29
  websearch: Schema.optional(Action2),
30
- lsp: Schema.optional(Rule3),
30
+ lsp: Schema.optional(Rule2),
31
31
  doom_loop: Schema.optional(Action2),
32
- skill: Schema.optional(Rule3)
33
- }), [Schema.Record(Schema.String, Rule3)]);
32
+ skill: Schema.optional(Rule2)
33
+ }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info19 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info16 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule3, Info19, exports_permission2 };
41
+ export { Action2, Object2, Rule2, Info16, exports_permission };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./websearch-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
- Service80,
5
+ Service79,
6
6
  node84
7
- } from "./websearch-8ncz32bb.js";
7
+ } from "./model-resolver-atny4vj3.js";
8
8
  import {
9
- Service79,
10
- node83
11
- } from "./websearch-s9d09hn2.js";
9
+ Service77,
10
+ node81
11
+ } from "./model-resolver-csz4k5km.js";
12
12
  import {
13
- Service78,
14
- node82
15
- } from "./websearch-y7gn77t5.js";
13
+ Service76,
14
+ node80
15
+ } from "./model-resolver-x940zq77.js";
16
16
  import {
17
- ID18,
17
+ ID17,
18
18
  Current3,
19
- Info33,
19
+ Info32,
20
20
  UpdateInput4,
21
21
  Event20,
22
22
  Vcs3
23
- } from "./websearch-81swgkk7.js";
23
+ } from "./model-resolver-rsym84ch.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./websearch-8p4f9s12.js";
27
+ } from "./model-resolver-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./websearch-cfpkc3c9.js";
30
+ } from "./model-resolver-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./websearch-9rqn6x4v.js";
33
+ } from "./model-resolver-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
40
- Info: () => Info32,
39
+ ID: () => ID16,
40
+ Info: () => Info31,
41
41
  NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service77,
43
+ Service: () => Service75,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node81,
46
+ node: () => node79,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID17 = ID18;
58
+ var ID16 = ID17;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info32 = Info33;
61
+ var Info31 = Info32;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
64
  class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID17
65
+ projectID: ID16
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service77 extends Context.Service()("@opencode/Project") {
74
+ class Service75 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -94,12 +94,12 @@ function fromRow(row) {
94
94
  sandboxes: row.sandboxes
95
95
  };
96
96
  }
97
- var layer = Layer.effect(Service77, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const git = yield* Service78;
99
+ const git = yield* Service76;
100
100
  const proc = yield* AppProcess.Service;
101
- const bus = yield* Service79;
102
- const db = (yield* Service80).db;
101
+ const bus = yield* Service77;
102
+ const db = (yield* Service79).db;
103
103
  const announcing = new Set;
104
104
  const persist = Effect.fnUntraced(function* (project) {
105
105
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
144
144
  yield* bus.publish(Worktree.Event.Resolved, {
145
145
  projectID: item.projectID,
146
146
  directory: item.directory,
147
- previous: project.previous ?? ID17.global,
147
+ previous: project.previous ?? ID16.global,
148
148
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
149
149
  }, {
150
150
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
173
173
  return project;
174
174
  });
175
175
  const cached = Effect.fnUntraced(function* (dir) {
176
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
176
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
177
177
  return;
178
178
  }));
179
179
  });
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
184
184
  const normalized = url(origin);
185
185
  if (!normalized)
186
186
  return;
187
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
187
+ return ID16.make(Hash.fast(`git-remote:${normalized}`));
188
188
  });
189
189
  function url(input) {
190
190
  const value = input.trim();
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
209
209
  }
210
210
  const rootCommit = Effect.fnUntraced(function* (repo) {
211
211
  const root = (yield* git.history.rootCommits(repo))[0];
212
- return root ? ID17.make(root) : undefined;
212
+ return root ? ID16.make(root) : undefined;
213
213
  });
214
214
  const hgRoot = Effect.fnUntraced(function* (worktree) {
215
215
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
225
225
  return;
226
226
  const node = result.stdout.toString("utf8").split(`
227
227
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
228
- return node ? ID17.make(node) : undefined;
228
+ return node ? ID16.make(node) : undefined;
229
229
  });
230
230
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
231
231
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
234
234
  const id = previous ?? (yield* hgRoot(worktree));
235
235
  return {
236
236
  previous,
237
- id: id ?? ID17.global,
237
+ id: id ?? ID16.global,
238
238
  directory: worktree,
239
239
  vcs: { type: "hg", store }
240
240
  };
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
251
251
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
252
252
  return yield* persist({
253
253
  previous,
254
- id: id ?? ID17.global,
254
+ id: id ?? ID16.global,
255
255
  directory: repo.worktree,
256
256
  canonical,
257
257
  vcs: { type: "git", store: repo.commonDirectory }
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
265
265
  });
266
266
  }
267
267
  return yield* persist({
268
- id: ID17.make(Hash.fast(`directory:${directory}`)),
268
+ id: ID16.make(Hash.fast(`directory:${directory}`)),
269
269
  directory,
270
270
  canonical: directory,
271
271
  vcs: undefined
272
272
  });
273
273
  });
274
- return Service77.of({ list, update, resolve });
274
+ return Service75.of({ list, update, resolve });
275
275
  }));
276
- var node81 = makeGlobalNode({
277
- service: Service77,
276
+ var node79 = makeGlobalNode({
277
+ service: Service75,
278
278
  layer,
279
- deps: [node83, node84, FSUtil.node, node82, AppProcess.node]
279
+ deps: [node81, node84, FSUtil.node, node80, AppProcess.node]
280
280
  });
281
281
 
282
- export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service77, node81, exports_project };
282
+ export { ID16, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service75, node79, exports_project };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID10
3
- } from "./websearch-ghwfv39v.js";
3
+ } from "./model-resolver-1ptmpf20.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./websearch-hjbc5kem.js";
6
+ } from "./model-resolver-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service68
3
- } from "./websearch-5k9htkrd.js";
2
+ Service63
3
+ } from "./model-resolver-3gjfrb28.js";
4
4
  import {
5
- Service50
6
- } from "./websearch-s1bfjgj9.js";
5
+ Service69
6
+ } from "./model-resolver-q87s0xy8.js";
7
7
  import {
8
- ID8,
8
+ ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service61
14
- } from "./websearch-46pzsp2w.js";
13
+ Service38
14
+ } from "./model-resolver-mg5mchpt.js";
15
15
  import {
16
16
  __export
17
- } from "./websearch-9rqn6x4v.js";
17
+ } from "./model-resolver-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch = {};
21
- __export(exports_websearch, {
22
- Input: () => Input7,
20
+ var exports_websearch2 = {};
21
+ __export(exports_websearch2, {
22
+ Input: () => Input12,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin21,
25
- WebSearchTool: () => exports_websearch,
26
- description: () => description2,
27
- name: () => name7
24
+ Plugin: () => Plugin43,
25
+ WebSearchTool: () => exports_websearch2,
26
+ description: () => description5,
27
+ name: () => name12
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name7 = "websearch";
32
+ var name12 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input7 = Schema.Struct({
42
+ var Input12 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID8,
46
+ provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin21 = {
49
+ var Plugin43 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service50;
53
- const forms = yield* Service68;
54
- const websearch = yield* Service61;
52
+ const permission = yield* Service69;
53
+ const forms = yield* Service63;
54
+ const websearch = yield* Service38;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name7,
56
+ name: name12,
57
57
  options: { codemode: false },
58
- description: description2,
59
- input: Input7,
58
+ description: description5,
59
+ input: Input12,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name7,
63
+ action: name12,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
176
176
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name7];
179
+ delete event.tools[name12];
180
180
  }));
181
181
  })
182
182
  };
183
183
 
184
- export { name7, NO_RESULTS2, description2, Input7, Plugin21, exports_websearch };
184
+ export { name12, NO_RESULTS2, description5, Input12, Plugin43, exports_websearch2 };
@@ -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/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -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/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID7,
2
+ ID14,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./websearch-j86bmkp1.js";
5
+ } from "./model-resolver-0vvagabw.js";
6
6
  import {
7
7
  merge2
8
- } from "./websearch-s1bfjgj9.js";
8
+ } from "./model-resolver-q87s0xy8.js";
9
9
  import {
10
10
  __export
11
- } from "./websearch-9rqn6x4v.js";
11
+ } from "./model-resolver-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent = {};
15
15
  __export(exports_agent, {
16
16
  AgentPlugin: () => exports_agent,
17
- Plugin: () => Plugin10
17
+ Plugin: () => Plugin7
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin10 = define({
93
+ var Plugin7 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin10 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID7.make("general"), (item) => {
103
+ editor.update(ID14.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID7.make("explore"), (item) => {
109
+ editor.update(ID14.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin10 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID7.make("compaction"), (item) => {
128
+ editor.update(ID14.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID7.make("title"), (item) => {
133
+ editor.update(ID14.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID7.make("summary"), (item) => {
140
+ editor.update(ID14.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin10 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin10, exports_agent };
151
+ export { Plugin7, exports_agent };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./websearch-3hf7z3yq.js";
3
+ } from "./model-resolver-03s1nxke.js";
4
4
  import {
5
- Service79
6
- } from "./websearch-s9d09hn2.js";
5
+ Service77
6
+ } from "./model-resolver-csz4k5km.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19,
10
- Service69
11
- } from "./websearch-9q5fzp3r.js";
9
+ Event15,
10
+ Service64
11
+ } from "./model-resolver-mwnd972w.js";
12
12
  import {
13
- ID12,
13
+ ID6,
14
14
  MethodID2,
15
- Service67
16
- } from "./websearch-s5etbs5z.js";
15
+ Service62
16
+ } from "./model-resolver-f8xc4yre.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./websearch-pjvnvgmy.js";
20
+ } from "./model-resolver-pjvnvgmy.js";
21
21
  import {
22
22
  ID10
23
- } from "./websearch-ghwfv39v.js";
23
+ } from "./model-resolver-1ptmpf20.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./websearch-bxytjdj3.js";
26
+ } from "./model-resolver-htk69tte.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,7 +31,7 @@ import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
33
  var providerID = ID10.make("snowflake-cortex");
34
- var integrationID = ID12.make(providerID);
34
+ var integrationID = ID6.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service69;
57
- const integrations = yield* Service67;
58
- const bus = yield* Service79;
56
+ const credentials = yield* Service64;
57
+ const integrations = yield* Service62;
58
+ const bus = yield* Service77;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
178
178
  model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
179
179
  }
180
180
  });
181
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
181
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
182
182
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
183
183
  const token = envToken();
184
184
  if (token)
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service70
3
- } from "./websearch-em6xe1nh.js";
2
+ Service48
3
+ } from "./model-resolver-h4q9s1ny.js";
4
4
  import {
5
- Service24
6
- } from "./websearch-86w90e4b.js";
5
+ Service14
6
+ } from "./model-resolver-x1avke2d.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./websearch-x1ezjp6w.js";
10
+ } from "./model-resolver-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./websearch-9rqn6x4v.js";
13
+ } from "./model-resolver-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make9
19
+ make: () => make10
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make9 = Effect.gen(function* () {
23
- const sessions = yield* Service24;
24
- const jobs = yield* Service70;
22
+ var make10 = Effect.gen(function* () {
23
+ const sessions = yield* Service14;
24
+ const jobs = yield* Service48;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make9 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make9, exports_subagent_job };
61
+ export { make10, exports_subagent_job };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./websearch-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./websearch-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};