@opencode/core 0.0.0-dev-20206 → 0.0.0-dev-20207

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{model-resolver-6w2apkvv.js → skill-017yk54a.js} +25 -25
  8. package/dist/chunks/{model-resolver-5kgz3sjj.js → skill-01z3gtar.js} +15 -15
  9. package/dist/chunks/{model-resolver-q5q8f7qb.js → skill-0269zm6b.js} +35 -35
  10. package/dist/chunks/{model-resolver-5nb4515h.js → skill-02chabd3.js} +33 -33
  11. package/dist/chunks/{model-resolver-9h236asx.js → skill-05cj7vxy.js} +32 -32
  12. package/dist/chunks/{model-resolver-j9gbxbd4.js → skill-06at7z01.js} +3 -3
  13. package/dist/chunks/{model-resolver-d3mkwwpa.js → skill-06gm914g.js} +42 -42
  14. package/dist/chunks/{model-resolver-nxhqveyz.js → skill-0f9afca0.js} +5 -5
  15. package/dist/chunks/{model-resolver-xvbsysbp.js → skill-0fab615q.js} +35 -35
  16. package/dist/chunks/{model-resolver-40jcz8ad.js → skill-0fexsbzd.js} +8 -8
  17. package/dist/chunks/{model-resolver-d9ayxges.js → skill-0mc464d2.js} +49 -49
  18. package/dist/chunks/skill-0mesazry.js +4 -0
  19. package/dist/chunks/{model-resolver-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
  20. package/dist/chunks/{model-resolver-k50stbs9.js → skill-0vxz8yyr.js} +10 -10
  21. package/dist/chunks/{model-resolver-a0s8413t.js → skill-0ws3f0ex.js} +5 -5
  22. package/dist/chunks/{model-resolver-bnmr3cva.js → skill-166kng33.js} +8 -8
  23. package/dist/chunks/{model-resolver-8tpjzhs1.js → skill-17jhsav0.js} +3 -3
  24. package/dist/chunks/{model-resolver-0mm9aq32.js → skill-1813d5zh.js} +12 -12
  25. package/dist/chunks/{model-resolver-yp2x3t23.js → skill-1acjjqhc.js} +4 -4
  26. package/dist/chunks/{model-resolver-1h9atmhq.js → skill-1ccd6b10.js} +22 -22
  27. package/dist/chunks/{model-resolver-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
  28. package/dist/chunks/{model-resolver-7pnt7zw0.js → skill-1f0c6jnf.js} +10 -10
  29. package/dist/chunks/{model-resolver-acnx8j53.js → skill-1hx0cpq7.js} +9 -9
  30. package/dist/chunks/{model-resolver-yfkyvkx0.js → skill-1qdsjxzy.js} +18 -18
  31. package/dist/chunks/{model-resolver-rznw7p1c.js → skill-1tx4fn90.js} +30 -30
  32. package/dist/chunks/{model-resolver-dzrsrzty.js → skill-1vy1vbr0.js} +5 -5
  33. package/dist/chunks/{model-resolver-bpm0h9ra.js → skill-1xh3c5c6.js} +24 -24
  34. package/dist/chunks/{model-resolver-21r38tys.js → skill-21r38tys.js} +1 -1
  35. package/dist/chunks/{model-resolver-kcrma5rg.js → skill-29etqs2x.js} +16 -16
  36. package/dist/chunks/{model-resolver-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
  37. package/dist/chunks/{model-resolver-pk2244jm.js → skill-2f04pwep.js} +3 -3
  38. package/dist/chunks/{model-resolver-0jwsre1p.js → skill-2k8khapm.js} +5 -5
  39. package/dist/chunks/{model-resolver-j3pfw49f.js → skill-2yza5ybg.js} +15 -15
  40. package/dist/chunks/{model-resolver-wqk93c07.js → skill-31a1n326.js} +13 -13
  41. package/dist/chunks/{model-resolver-3hdgzgjd.js → skill-3409w901.js} +22 -22
  42. package/dist/chunks/{model-resolver-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{model-resolver-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{model-resolver-bg8arhpn.js → skill-3q06wn7v.js} +36 -36
  45. package/dist/chunks/{model-resolver-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{model-resolver-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{model-resolver-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{model-resolver-s5defpr9.js → skill-426gc0d9.js} +14 -14
  49. package/dist/chunks/{model-resolver-c5885s0q.js → skill-4d3460jv.js} +11 -11
  50. package/dist/chunks/{model-resolver-tm1heg02.js → skill-4k0xqdp1.js} +5 -5
  51. package/dist/chunks/{model-resolver-7f9xvnkr.js → skill-4qxv2j2v.js} +22 -22
  52. package/dist/chunks/{model-resolver-3ghz8s00.js → skill-4sg7xgp3.js} +19 -19
  53. package/dist/chunks/{model-resolver-vspyk4wa.js → skill-4stjezst.js} +29 -29
  54. package/dist/chunks/{model-resolver-f3ngv102.js → skill-50mzsvk4.js} +4 -4
  55. package/dist/chunks/{model-resolver-r6zp23ak.js → skill-51hvrym2.js} +19 -19
  56. package/dist/chunks/{model-resolver-56gdpj1q.js → skill-56gdpj1q.js} +2 -2
  57. package/dist/chunks/{model-resolver-8emzq1v9.js → skill-59m5ry2k.js} +11 -11
  58. package/dist/chunks/{model-resolver-xfpvjh8w.js → skill-59zk85bq.js} +37 -37
  59. package/dist/chunks/{model-resolver-hez0a82b.js → skill-5b3a1c7c.js} +35 -35
  60. package/dist/chunks/{model-resolver-5daktx2q.js → skill-5daktx2q.js} +1 -1
  61. package/dist/chunks/{model-resolver-8ttzzsr1.js → skill-5mca9tyb.js} +44 -44
  62. package/dist/chunks/{model-resolver-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{model-resolver-bb326kwh.js → skill-5y2jknye.js} +17 -17
  64. package/dist/chunks/{model-resolver-m11tzp6r.js → skill-61xtdpx5.js} +5 -5
  65. package/dist/chunks/{model-resolver-669tq793.js → skill-669tq793.js} +1 -1
  66. package/dist/chunks/{model-resolver-gyswrdsk.js → skill-682qh0zd.js} +1 -1
  67. package/dist/chunks/{model-resolver-hnr8f6ws.js → skill-697fm79x.js} +4 -4
  68. package/dist/chunks/{model-resolver-55kqbvq6.js → skill-6c7knq90.js} +6 -6
  69. package/dist/chunks/{model-resolver-jnt43jm9.js → skill-6fchhapm.js} +99 -99
  70. package/dist/chunks/{model-resolver-2402vzrj.js → skill-6h73sxmp.js} +5 -5
  71. package/dist/chunks/{model-resolver-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{model-resolver-31879egc.js → skill-6tb6gx4y.js} +17 -17
  73. package/dist/chunks/{model-resolver-bds46r3z.js → skill-6typ8tap.js} +54 -54
  74. package/dist/chunks/{model-resolver-bmcwmng9.js → skill-6way0tbt.js} +8 -8
  75. package/dist/chunks/{model-resolver-zx0yy5px.js → skill-6yvz6ne1.js} +22 -22
  76. package/dist/chunks/{model-resolver-06x0cg99.js → skill-7457xe47.js} +10 -10
  77. package/dist/chunks/{model-resolver-4kngcreg.js → skill-77djfn49.js} +37 -37
  78. package/dist/chunks/{model-resolver-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{model-resolver-w9j9c9r7.js → skill-7radtp4w.js} +12 -12
  80. package/dist/chunks/{model-resolver-yryk7av5.js → skill-7rx9zbjq.js} +7 -7
  81. package/dist/chunks/{model-resolver-jwz36s33.js → skill-7tyk29va.js} +185 -185
  82. package/dist/chunks/{model-resolver-w90vmgx1.js → skill-7vegjyzg.js} +33 -33
  83. package/dist/chunks/{model-resolver-y473g9cd.js → skill-7w1x3s5v.js} +18 -18
  84. package/dist/chunks/{model-resolver-q1aqvm29.js → skill-7y51vbvs.js} +32 -32
  85. package/dist/chunks/{model-resolver-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{model-resolver-exarhmpa.js → skill-8ehyresh.js} +15 -15
  87. package/dist/chunks/{model-resolver-tftgz9xd.js → skill-8g3f09g0.js} +3 -3
  88. package/dist/chunks/{model-resolver-tt3q36pf.js → skill-8w9z9ekh.js} +9 -9
  89. package/dist/chunks/{model-resolver-3dx22m0j.js → skill-8x14mnk0.js} +12 -12
  90. package/dist/chunks/{model-resolver-94ek1h2f.js → skill-94ek1h2f.js} +2 -2
  91. package/dist/chunks/{model-resolver-93smetpw.js → skill-9etfnzw3.js} +3 -3
  92. package/dist/chunks/{model-resolver-j5w2yx54.js → skill-9gea571p.js} +6 -6
  93. package/dist/chunks/{model-resolver-6ytc35nj.js → skill-9j6qf2nz.js} +26 -26
  94. package/dist/chunks/{model-resolver-dfbbfk99.js → skill-9kv9xk3y.js} +12 -12
  95. package/dist/chunks/{model-resolver-f3rwh7he.js → skill-9pwrs4hy.js} +26 -26
  96. package/dist/chunks/{model-resolver-s0thh5dw.js → skill-9rqa1z1z.js} +10 -10
  97. package/dist/chunks/{model-resolver-beg0vm9f.js → skill-9swwndym.js} +22 -22
  98. package/dist/chunks/{model-resolver-0ad39zh4.js → skill-9vm3jkw2.js} +23 -23
  99. package/dist/chunks/{model-resolver-a3ftg8j6.js → skill-a3ftg8j6.js} +2 -2
  100. package/dist/chunks/{model-resolver-rzmcp3en.js → skill-a519c5k9.js} +16 -16
  101. package/dist/chunks/{model-resolver-cbx2ya3s.js → skill-a6s71k6e.js} +30 -30
  102. package/dist/chunks/{model-resolver-c35597j6.js → skill-a81kfqvn.js} +4 -4
  103. package/dist/chunks/{model-resolver-aaet6srn.js → skill-aaet6srn.js} +2 -2
  104. package/dist/chunks/{model-resolver-5ctg7cef.js → skill-abmzmmfq.js} +32 -32
  105. package/dist/chunks/{model-resolver-b7b4ctej.js → skill-axs6pdy0.js} +5 -5
  106. package/dist/chunks/{model-resolver-93gypvht.js → skill-azfsw3sd.js} +37 -37
  107. package/dist/chunks/{model-resolver-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{model-resolver-bmv2wk1h.js → skill-b6vqt057.js} +28 -28
  109. package/dist/chunks/{model-resolver-wq13kg2q.js → skill-b6xv7ymq.js} +36 -36
  110. package/dist/chunks/{model-resolver-yajf6e80.js → skill-b7camypd.js} +28 -28
  111. package/dist/chunks/{model-resolver-pmr4s4kc.js → skill-bct739vz.js} +4 -4
  112. package/dist/chunks/{model-resolver-m0t981be.js → skill-bqe2w88k.js} +29 -29
  113. package/dist/chunks/{model-resolver-jc9nhtt9.js → skill-c9z0jmrs.js} +13 -13
  114. package/dist/chunks/{model-resolver-84gx0bmj.js → skill-caxwz85h.js} +1 -1
  115. package/dist/chunks/{model-resolver-ms5024b2.js → skill-cjft4ft8.js} +6 -6
  116. package/dist/chunks/{model-resolver-gse5gt66.js → skill-ck69dtv7.js} +4 -4
  117. package/dist/chunks/{model-resolver-ckecvw8r.js → skill-ckecvw8r.js} +2 -2
  118. package/dist/chunks/{model-resolver-br0tr5aq.js → skill-cmwkp3r5.js} +8 -8
  119. package/dist/chunks/{model-resolver-naj50rvz.js → skill-cr9wy6w1.js} +8 -8
  120. package/dist/chunks/skill-ctefx7dc.js +18 -0
  121. package/dist/chunks/{model-resolver-d4he2qe1.js → skill-cwa6csj7.js} +9 -9
  122. package/dist/chunks/{model-resolver-cgmaehw3.js → skill-d0k4a5wc.js} +4 -4
  123. package/dist/chunks/{model-resolver-nk4qtf6b.js → skill-dc99c8rr.js} +31 -31
  124. package/dist/chunks/{model-resolver-35ng7dkh.js → skill-dfzjqex4.js} +5 -5
  125. package/dist/chunks/{model-resolver-9y9w4qw6.js → skill-dytb7912.js} +6 -6
  126. package/dist/chunks/{model-resolver-ca7w653e.js → skill-e2hjzebn.js} +4 -4
  127. package/dist/chunks/{model-resolver-rsh5se6h.js → skill-e82fcy7k.js} +9 -9
  128. package/dist/chunks/{model-resolver-rhjbct0v.js → skill-eaj1djv9.js} +8 -8
  129. package/dist/chunks/{model-resolver-ecfe7b91.js → skill-ecfe7b91.js} +2 -2
  130. package/dist/chunks/{model-resolver-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{model-resolver-8q7htp70.js → skill-eppx78dg.js} +21 -21
  132. package/dist/chunks/{model-resolver-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{model-resolver-3c98vr6c.js → skill-ewts7vfk.js} +10 -10
  134. package/dist/chunks/{model-resolver-4rhbtwdt.js → skill-ezs5xvvw.js} +9 -9
  135. package/dist/chunks/{model-resolver-fmcqyzhx.js → skill-f0ftzx98.js} +9 -9
  136. package/dist/chunks/{model-resolver-k7fv6ppr.js → skill-f0q3zgp7.js} +11 -11
  137. package/dist/chunks/{model-resolver-hgf5wkwr.js → skill-f3yz1pkd.js} +11 -11
  138. package/dist/chunks/{model-resolver-n0eb95ej.js → skill-fjpgqswp.js} +11 -11
  139. package/dist/chunks/{model-resolver-kd7vez3r.js → skill-fk3mqgzt.js} +4 -4
  140. package/dist/chunks/{model-resolver-zckyz7ek.js → skill-fkd5x55y.js} +8 -8
  141. package/dist/chunks/{model-resolver-2d57kztd.js → skill-fng9e0je.js} +4 -4
  142. package/dist/chunks/{model-resolver-6ncjhc5z.js → skill-fnrzj9xf.js} +31 -31
  143. package/dist/chunks/{model-resolver-zmg0hy4v.js → skill-g0ez42gr.js} +11 -11
  144. package/dist/chunks/{model-resolver-0mtkqq6e.js → skill-g16crsyf.js} +6 -6
  145. package/dist/chunks/{model-resolver-zvnydg09.js → skill-g7ec6ga3.js} +18 -18
  146. package/dist/chunks/{model-resolver-qa3qhgw8.js → skill-g8d3gcyj.js} +7 -7
  147. package/dist/chunks/{model-resolver-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{model-resolver-j7d6ser5.js → skill-gek21znr.js} +25 -25
  149. package/dist/chunks/{model-resolver-fp2xarvc.js → skill-gg3hnhsj.js} +1 -1
  150. package/dist/chunks/{model-resolver-xtcf9r2h.js → skill-gh9bh3wc.js} +14 -14
  151. package/dist/chunks/{model-resolver-6xec00j9.js → skill-ghdz8829.js} +32 -32
  152. package/dist/chunks/{model-resolver-fp8b183e.js → skill-gm7y8p7g.js} +7 -7
  153. package/dist/chunks/{model-resolver-xchhwgmm.js → skill-gqqc8zrm.js} +13 -13
  154. package/dist/chunks/{model-resolver-gv6a8nnw.js → skill-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{model-resolver-b37fysv1.js → skill-h5c0n38e.js} +13 -13
  156. package/dist/chunks/{model-resolver-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{model-resolver-90zwzkn8.js → skill-h7k36nvq.js} +20 -20
  158. package/dist/chunks/{model-resolver-2fvr2s65.js → skill-h7mdrc48.js} +30 -30
  159. package/dist/chunks/{model-resolver-ak9g7d9n.js → skill-hgtvnj1q.js} +30 -30
  160. package/dist/chunks/{model-resolver-kw6cevd8.js → skill-hmmnbmcs.js} +36 -36
  161. package/dist/chunks/{model-resolver-tr8rwgax.js → skill-hpq22ygf.js} +10 -10
  162. package/dist/chunks/{model-resolver-662kcsnq.js → skill-hwpx9scr.js} +17 -17
  163. package/dist/chunks/{model-resolver-e8n3qg4t.js → skill-hyax2rhp.js} +37 -37
  164. package/dist/chunks/{model-resolver-dfbyaknh.js → skill-j17kqcvt.js} +5 -5
  165. package/dist/chunks/{model-resolver-j56e64zr.js → skill-j56e64zr.js} +1 -1
  166. package/dist/chunks/{model-resolver-4gtvk39h.js → skill-j63yb23q.js} +4 -4
  167. package/dist/chunks/{model-resolver-8qa1wps4.js → skill-jcjbvb4p.js} +3 -3
  168. package/dist/chunks/{model-resolver-8tsdq50x.js → skill-jewzahs7.js} +4 -4
  169. package/dist/chunks/{model-resolver-0xyjb436.js → skill-jn0q4s4g.js} +13 -13
  170. package/dist/chunks/{model-resolver-cnvnzs5z.js → skill-jsvb6vsn.js} +12 -12
  171. package/dist/chunks/{model-resolver-zxrxjv84.js → skill-jz5sxy2v.js} +9 -9
  172. package/dist/chunks/{model-resolver-6nf8xs8b.js → skill-k1m56zwf.js} +28 -28
  173. package/dist/chunks/{model-resolver-nzks3jc8.js → skill-k3c624dm.js} +3 -3
  174. package/dist/chunks/{model-resolver-a8vp4ryg.js → skill-kbs8t6dd.js} +5 -5
  175. package/dist/chunks/{model-resolver-8h1zszsv.js → skill-kpr1h2gp.js} +17 -17
  176. package/dist/chunks/{model-resolver-ha2jz5gs.js → skill-kxh1rwc9.js} +11 -11
  177. package/dist/chunks/{model-resolver-m2d0j7c0.js → skill-m2d0j7c0.js} +2 -2
  178. package/dist/chunks/{model-resolver-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{model-resolver-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{model-resolver-y0gws88p.js → skill-mbkr92z7.js} +11 -11
  181. package/dist/chunks/{model-resolver-1r2atdqm.js → skill-mcqskrh7.js} +24 -24
  182. package/dist/chunks/{model-resolver-1aq54yaq.js → skill-mmwjtbs1.js} +24 -24
  183. package/dist/chunks/{model-resolver-7yh4e7ss.js → skill-mvfsc1pv.js} +3 -3
  184. package/dist/chunks/{model-resolver-jqseed9b.js → skill-nsp0n9r4.js} +27 -20
  185. package/dist/chunks/{model-resolver-c1q35zrn.js → skill-nvm1k45k.js} +20 -20
  186. package/dist/chunks/{model-resolver-zfa6q2z4.js → skill-nzeq2kax.js} +33 -33
  187. package/dist/chunks/{model-resolver-7y88vt3g.js → skill-p7n5kfv3.js} +11 -11
  188. package/dist/chunks/{model-resolver-0yw898m4.js → skill-pbpayjvj.js} +37 -37
  189. package/dist/chunks/{model-resolver-6kkcd6qd.js → skill-pc537r84.js} +11 -11
  190. package/dist/chunks/{model-resolver-6bwfswtt.js → skill-pc9bj7n8.js} +27 -27
  191. package/dist/chunks/{model-resolver-57ez7d0k.js → skill-pjmw00w1.js} +7 -7
  192. package/dist/chunks/{model-resolver-8x7avsgx.js → skill-pjtj674s.js} +5 -5
  193. package/dist/chunks/{model-resolver-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{model-resolver-pknna89w.js → skill-pknna89w.js} +1 -1
  195. package/dist/chunks/{model-resolver-1nv7ymr6.js → skill-pmpj9d72.js} +25 -25
  196. package/dist/chunks/{model-resolver-5qyz8na8.js → skill-ps9w8v57.js} +321 -321
  197. package/dist/chunks/{model-resolver-x5vcyvvk.js → skill-ptjakhga.js} +90 -90
  198. package/dist/chunks/{model-resolver-tyfabpdn.js → skill-pw2348z2.js} +6 -6
  199. package/dist/chunks/{model-resolver-7fkffz83.js → skill-py3kkmfq.js} +4 -4
  200. package/dist/chunks/{model-resolver-3k23bpvr.js → skill-q4q6dg6e.js} +9 -9
  201. package/dist/chunks/{model-resolver-ms93yq6r.js → skill-qe26s0zb.js} +8 -8
  202. package/dist/chunks/{model-resolver-kt0b5dy1.js → skill-qf1yvww3.js} +21 -21
  203. package/dist/chunks/{model-resolver-qn4ba14w.js → skill-qjnxxf51.js} +5 -5
  204. package/dist/chunks/{model-resolver-qsdy395h.js → skill-qsdy395h.js} +1 -1
  205. package/dist/chunks/{model-resolver-yzyw4hev.js → skill-qsmm5je1.js} +14 -14
  206. package/dist/chunks/{model-resolver-gce79w0q.js → skill-qtzk0ftm.js} +20 -20
  207. package/dist/chunks/{model-resolver-d3ndzfne.js → skill-qv31cf21.js} +36 -36
  208. package/dist/chunks/{model-resolver-1wjepk3t.js → skill-qw2ypprn.js} +36 -36
  209. package/dist/chunks/{model-resolver-z2c7c2d6.js → skill-r2stchgs.js} +18 -18
  210. package/dist/chunks/{model-resolver-6st2m2tt.js → skill-r4xhx5yy.js} +12 -12
  211. package/dist/chunks/{model-resolver-4dgbcxzg.js → skill-r55vasa2.js} +4 -4
  212. package/dist/chunks/{model-resolver-31j6fr5m.js → skill-r64yrxvz.js} +20 -20
  213. package/dist/chunks/{model-resolver-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{model-resolver-eq6d70b7.js → skill-rec3tk6b.js} +44 -44
  215. package/dist/chunks/{model-resolver-5jmkacqm.js → skill-rkred95m.js} +2 -2
  216. package/dist/chunks/{model-resolver-72syy6q7.js → skill-rp28jgm9.js} +4 -4
  217. package/dist/chunks/{model-resolver-nhqjn2vx.js → skill-rtathh62.js} +8 -8
  218. package/dist/chunks/skill-s4kxdk1d.js +252 -0
  219. package/dist/chunks/{model-resolver-j699j8bt.js → skill-s8610hey.js} +2 -2
  220. package/dist/chunks/{model-resolver-t058hrzj.js → skill-s89t6pqr.js} +22 -22
  221. package/dist/chunks/{model-resolver-w6ns9rpk.js → skill-sfrtav9q.js} +20 -20
  222. package/dist/chunks/{model-resolver-y20bgrwx.js → skill-szgrrejf.js} +15 -15
  223. package/dist/chunks/{model-resolver-37s12vcn.js → skill-t0fxg8b9.js} +5 -5
  224. package/dist/chunks/{model-resolver-3h8pbnga.js → skill-t407ycn8.js} +18 -18
  225. package/dist/chunks/{model-resolver-267sahkc.js → skill-t538pfqr.js} +48 -48
  226. package/dist/chunks/skill-t5tbcprn.js +26 -0
  227. package/dist/chunks/{model-resolver-8q8smbff.js → skill-tas7yqhd.js} +11 -11
  228. package/dist/chunks/{model-resolver-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{model-resolver-89znhe33.js → skill-tcezcvh9.js} +4 -4
  230. package/dist/chunks/{model-resolver-w00ed993.js → skill-tdp00414.js} +5 -5
  231. package/dist/chunks/{model-resolver-tdstcens.js → skill-tdstcens.js} +1 -1
  232. package/dist/chunks/{model-resolver-35xajyyx.js → skill-tdyr00jb.js} +13 -13
  233. package/dist/chunks/{model-resolver-5jqe332k.js → skill-tgak7z6d.js} +8 -8
  234. package/dist/chunks/{model-resolver-k7h4drr1.js → skill-tr58fzqp.js} +29 -29
  235. package/dist/chunks/{model-resolver-tvtrv512.js → skill-tvtrv512.js} +1 -1
  236. package/dist/chunks/{model-resolver-s6xd6wvt.js → skill-v3sc2vvt.js} +7 -7
  237. package/dist/chunks/{model-resolver-weww5mga.js → skill-ve9yaw7k.js} +15 -15
  238. package/dist/chunks/{model-resolver-veqvce7d.js → skill-veqvce7d.js} +1 -1
  239. package/dist/chunks/{model-resolver-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
  240. package/dist/chunks/{model-resolver-tq6twe20.js → skill-vzr7dzny.js} +30 -30
  241. package/dist/chunks/{model-resolver-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
  242. package/dist/chunks/{model-resolver-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{model-resolver-r8v59qyv.js → skill-w4ja1ymy.js} +16 -16
  244. package/dist/chunks/{model-resolver-xmh38ey0.js → skill-w8dzjegp.js} +13 -13
  245. package/dist/chunks/{model-resolver-2zdc6rg7.js → skill-w8gags2f.js} +11 -11
  246. package/dist/chunks/{model-resolver-gja2jk4r.js → skill-wa0ghts3.js} +58 -58
  247. package/dist/chunks/{model-resolver-70pv625h.js → skill-wbgaq1vm.js} +23 -23
  248. package/dist/chunks/{model-resolver-wd3x2cqz.js → skill-wd3x2cqz.js} +2 -2
  249. package/dist/chunks/{model-resolver-wd87259q.js → skill-wd87259q.js} +1 -1
  250. package/dist/chunks/{model-resolver-z97dy45p.js → skill-wkxc7kdk.js} +12 -12
  251. package/dist/chunks/{model-resolver-mvksx64m.js → skill-wq4mmp7m.js} +4 -4
  252. package/dist/chunks/{model-resolver-3f15rfkp.js → skill-wqkncbjv.js} +6 -6
  253. package/dist/chunks/{model-resolver-m3qnxpr9.js → skill-wvnar42z.js} +11 -11
  254. package/dist/chunks/{model-resolver-4w4q249n.js → skill-wxwmqvdm.js} +5 -5
  255. package/dist/chunks/{model-resolver-pvz5x29g.js → skill-wywb33ch.js} +5 -5
  256. package/dist/chunks/{model-resolver-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{model-resolver-tj8qce5x.js → skill-x5n7t7vp.js} +32 -32
  258. package/dist/chunks/{model-resolver-s3pj7kac.js → skill-x9q73j05.js} +15 -15
  259. package/dist/chunks/{model-resolver-qqeeq2t9.js → skill-xfkkasph.js} +7 -7
  260. package/dist/chunks/{model-resolver-bhgmygfr.js → skill-xg7n0ckm.js} +7 -7
  261. package/dist/chunks/{model-resolver-1qghahg6.js → skill-xjvzjxjz.js} +23 -23
  262. package/dist/chunks/{model-resolver-xkntkrq7.js → skill-xkntkrq7.js} +2 -2
  263. package/dist/chunks/{model-resolver-mbekgbbb.js → skill-xskayf5f.js} +3 -3
  264. package/dist/chunks/{model-resolver-mnbtwaby.js → skill-xt5r5489.js} +8 -8
  265. package/dist/chunks/{model-resolver-b03gjzb4.js → skill-xywcat6j.js} +30 -30
  266. package/dist/chunks/{model-resolver-zfy63nf8.js → skill-xz871bm8.js} +20 -20
  267. package/dist/chunks/{model-resolver-hagmrwq3.js → skill-y0mdfkf3.js} +61 -61
  268. package/dist/chunks/{model-resolver-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{model-resolver-bgc5ggmx.js → skill-y5rf7nzv.js} +4 -4
  270. package/dist/chunks/{model-resolver-y71avatq.js → skill-y71avatq.js} +1 -1
  271. package/dist/chunks/{model-resolver-x2qdxhwm.js → skill-yf10kn3d.js} +4 -4
  272. package/dist/chunks/{model-resolver-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{model-resolver-yrznvahk.js → skill-yrznvahk.js} +2 -2
  274. package/dist/chunks/{model-resolver-jehhjn5p.js → skill-ysnnm9th.js} +9 -9
  275. package/dist/chunks/{model-resolver-v4gwmykp.js → skill-yywpcc9t.js} +28 -28
  276. package/dist/chunks/{model-resolver-z07pqspn.js → skill-z07pqspn.js} +3 -3
  277. package/dist/chunks/{model-resolver-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{model-resolver-48zhkjc5.js → skill-z1800bf7.js} +71 -71
  279. package/dist/chunks/{model-resolver-mj3g57tw.js → skill-z3zacvm2.js} +20 -20
  280. package/dist/chunks/{model-resolver-z63w68vq.js → skill-z63w68vq.js} +2 -2
  281. package/dist/chunks/{model-resolver-1ey1z90k.js → skill-zbgbht68.js} +24 -24
  282. package/dist/chunks/{model-resolver-6ntqtawn.js → skill-zega380a.js} +37 -37
  283. package/dist/chunks/{model-resolver-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{model-resolver-dr1fjqgk.js → skill-zjmf0026.js} +8 -8
  285. package/dist/chunks/{model-resolver-tahc25fw.js → skill-zk702gbg.js} +3 -3
  286. package/dist/chunks/{model-resolver-tzs7fj4j.js → skill-zmjya9fy.js} +50 -50
  287. package/dist/chunks/{model-resolver-d2m9pb5z.js → skill-znp52nq7.js} +20 -20
  288. package/dist/chunks/{model-resolver-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{model-resolver-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{model-resolver-4111r571.js → skill-zyq8xwgz.js} +21 -21
  291. package/dist/chunks/{model-resolver-h6pajdtw.js → skill-zzdsfqst.js} +10 -10
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +124 -124
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +227 -227
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +87 -87
  475. package/dist/managed-policy.js +3 -3
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +126 -126
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +96 -96
  484. package/dist/model.js +102 -102
  485. package/dist/models-dev.js +103 -103
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +218 -218
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +333 -333
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +5 -5
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +94 -94
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +77 -77
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +120 -120
  528. package/dist/plugin/provider/openai.js +92 -92
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +78 -78
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +161 -161
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +139 -139
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +2 -2
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +4 -4
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +6 -6
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +86 -86
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +98 -98
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +130 -130
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +151 -151
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +112 -112
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +5 -5
  622. package/dist/session/title.js +154 -154
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +223 -223
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +220 -220
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +2 -2
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +125 -125
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +213 -213
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +215 -215
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +3 -3
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +7 -7
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +98 -98
  699. package/package.json +8 -8
  700. package/dist/chunks/model-resolver-4v7qdvcn.js +0 -18
  701. package/dist/chunks/model-resolver-n4x6w9v1.js +0 -26
  702. package/dist/chunks/model-resolver-pg8etanv.js +0 -252
  703. package/dist/chunks/model-resolver-xrsqh21y.js +0 -4
  704. /package/dist/chunks/{model-resolver-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{model-resolver-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{model-resolver-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{model-resolver-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{model-resolver-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{model-resolver-24dcb14g.js → skill-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{model-resolver-2710q6r3.js → skill-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{model-resolver-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{model-resolver-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{model-resolver-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{model-resolver-359p4xyc.js → skill-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{model-resolver-3asan66x.js → skill-3asan66x.js} +0 -0
  716. /package/dist/chunks/{model-resolver-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{model-resolver-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{model-resolver-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{model-resolver-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{model-resolver-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{model-resolver-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{model-resolver-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{model-resolver-53557ph1.js → skill-53557ph1.js} +0 -0
  724. /package/dist/chunks/{model-resolver-550bvhaj.js → skill-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{model-resolver-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{model-resolver-6prwharc.js → skill-6prwharc.js} +0 -0
  727. /package/dist/chunks/{model-resolver-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{model-resolver-7m9af43g.js → skill-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{model-resolver-822emrt2.js → skill-822emrt2.js} +0 -0
  730. /package/dist/chunks/{model-resolver-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{model-resolver-8n3pysct.js → skill-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{model-resolver-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{model-resolver-922hggd3.js → skill-922hggd3.js} +0 -0
  734. /package/dist/chunks/{model-resolver-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{model-resolver-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{model-resolver-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{model-resolver-af5trqkr.js → skill-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{model-resolver-afrmfg78.js → skill-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{model-resolver-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{model-resolver-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{model-resolver-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{model-resolver-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{model-resolver-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{model-resolver-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{model-resolver-d9fn303g.js → skill-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{model-resolver-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{model-resolver-dajrwvna.js → skill-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{model-resolver-dap0rakb.js → skill-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{model-resolver-df08tz66.js → skill-df08tz66.js} +0 -0
  750. /package/dist/chunks/{model-resolver-dy18nga0.js → skill-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{model-resolver-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{model-resolver-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{model-resolver-ec1grn59.js → skill-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{model-resolver-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{model-resolver-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{model-resolver-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{model-resolver-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{model-resolver-faypxj3z.js → skill-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{model-resolver-fd410y7t.js → skill-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{model-resolver-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{model-resolver-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{model-resolver-g86h250q.js → skill-g86h250q.js} +0 -0
  763. /package/dist/chunks/{model-resolver-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{model-resolver-gftt206x.js → skill-gftt206x.js} +0 -0
  765. /package/dist/chunks/{model-resolver-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{model-resolver-hk9envan.js → skill-hk9envan.js} +0 -0
  767. /package/dist/chunks/{model-resolver-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{model-resolver-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{model-resolver-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{model-resolver-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{model-resolver-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{model-resolver-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{model-resolver-mp448xyj.js → skill-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{model-resolver-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{model-resolver-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{model-resolver-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{model-resolver-njntx4h6.js → skill-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{model-resolver-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{model-resolver-q74kybfr.js → skill-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{model-resolver-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{model-resolver-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{model-resolver-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{model-resolver-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{model-resolver-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{model-resolver-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{model-resolver-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{model-resolver-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{model-resolver-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{model-resolver-w803qqfp.js → skill-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{model-resolver-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{model-resolver-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{model-resolver-wtztk69x.js → skill-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{model-resolver-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{model-resolver-x61499pn.js → skill-x61499pn.js} +0 -0
  795. /package/dist/chunks/{model-resolver-y44na4kk.js → skill-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{model-resolver-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{model-resolver-y8f7s663.js → skill-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{model-resolver-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{model-resolver-ym463w8f.js → skill-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{model-resolver-z9919s4g.js → skill-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./skill-922hggd3.js";
4
4
  import {
5
- Service81,
6
- node85
7
- } from "./model-resolver-k7fv6ppr.js";
5
+ Service84,
6
+ node88
7
+ } from "./skill-f0q3zgp7.js";
8
8
  import {
9
- Service80,
10
- node84
11
- } from "./model-resolver-r8v59qyv.js";
9
+ Service83,
10
+ node87
11
+ } from "./skill-w4ja1ymy.js";
12
12
  import {
13
- Service77,
14
- node81
15
- } from "./model-resolver-cnvnzs5z.js";
13
+ Service79,
14
+ node83
15
+ } from "./skill-jsvb6vsn.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
19
- Info34,
19
+ Info33,
20
20
  UpdateInput4,
21
- Event21,
21
+ Event19,
22
22
  Vcs3
23
- } from "./model-resolver-57ez7d0k.js";
23
+ } from "./skill-pjmw00w1.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./model-resolver-wd3x2cqz.js";
27
+ } from "./skill-wd3x2cqz.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./model-resolver-94ek1h2f.js";
30
+ } from "./skill-94ek1h2f.js";
31
31
  import {
32
32
  __export
33
- } from "./model-resolver-9rqn6x4v.js";
33
+ } from "./skill-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
39
  ID: () => ID17,
40
- Info: () => Info33,
40
+ Info: () => Info32,
41
41
  NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service76,
43
+ Service: () => Service77,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node80,
46
+ node: () => node81,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -58,7 +58,7 @@ import { Hash } from "@opencode/util/hash";
58
58
  var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info33 = Info34;
61
+ var Info32 = Info33;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
64
  class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service76 extends Context.Service()("@opencode/Project") {
75
+ class Service77 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,12 +95,12 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service76, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service77;
100
+ const git = yield* Service79;
101
101
  const proc = yield* AppProcess.Service;
102
- const bus = yield* Service80;
103
- const db = (yield* Service81).db;
102
+ const bus = yield* Service83;
103
+ const db = (yield* Service84).db;
104
104
  const announcing = new Set;
105
105
  const persist = Effect.fnUntraced(function* (project) {
106
106
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
108
108
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
109
109
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
110
110
  if (row)
111
- yield* bus.publish(Event21.Updated, fromRow(row));
111
+ yield* bus.publish(Event19.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
170
170
  if (!row)
171
171
  return yield* new NotFoundError10({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event21.Updated, project);
173
+ yield* bus.publish(Event19.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,7 +181,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
181
181
  activated.set(projectID, now);
182
182
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
183
183
  if (row)
184
- yield* bus.publish(Event21.Updated, fromRow(row));
184
+ yield* bus.publish(Event19.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
187
  return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
@@ -282,12 +282,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service76.of({ list, update, activate, resolve });
285
+ return Service77.of({ list, update, activate, resolve });
286
286
  }));
287
- var node80 = makeGlobalNode({
288
- service: Service76,
287
+ var node81 = makeGlobalNode({
288
+ service: Service77,
289
289
  layer,
290
- deps: [node84, node85, FSUtil.node, node81, AppProcess.node]
290
+ deps: [node87, node88, FSUtil.node, node83, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError10, root2, Service76, node80, exports_project };
293
+ export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service77, node81, exports_project };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./skill-922hggd3.js";
4
4
  import {
5
- Service75,
6
- node79
7
- } from "./model-resolver-kcrma5rg.js";
5
+ Service76,
6
+ node80
7
+ } from "./skill-29etqs2x.js";
8
8
  import {
9
- Service68,
10
- node71
11
- } from "./model-resolver-zvnydg09.js";
9
+ Service22,
10
+ node24
11
+ } from "./skill-g7ec6ga3.js";
12
12
  import {
13
13
  isHome2,
14
- names4
15
- } from "./model-resolver-89znhe33.js";
14
+ names3
15
+ } from "./skill-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./skill-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options8,
25
- Service: () => Service67,
26
- configured: () => configured8,
24
+ Options: () => Options3,
25
+ Service: () => Service20,
26
+ configured: () => configured3,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer23,
29
- node: () => node70,
28
+ layer: () => layer9,
29
+ node: () => node22,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options8 = Schema.Struct({
38
+ var Options3 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service67 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service20 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service67, Effect.gen(function* () {
62
- const location = yield* Service75;
63
- const ripgrep = yield* Service68;
61
+ var ripgrepLayer2 = Layer.effect(Service20, Effect.gen(function* () {
62
+ const location = yield* Service76;
63
+ const ripgrep = yield* Service22;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service67, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service67, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service67.of({
108
+ return Service20.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service67, Effect.gen(function* () {
116
- const location = yield* Service75;
115
+ var fffLayer2 = Layer.effect(Service20, Effect.gen(function* () {
116
+ const location = yield* Service76;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service67, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service67.of({
129
+ return Service20.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service67.of({
134
+ return Service20.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service67, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer23 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service75;
177
+ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service76;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured8(options) {
186
- return makeLocationNode({ service: Service67, layer: layer23(options), deps: [node79, node71] });
185
+ function configured3(options) {
186
+ return makeLocationNode({ service: Service20, layer: layer9(options), deps: [node80, node24] });
187
187
  }
188
- var node70 = configured8();
188
+ var node22 = configured3();
189
189
 
190
- export { Options8, Service67, ripgrepLayer2, fffLayer2, layer23, configured8, node70, exports_search };
190
+ export { Options3, Service20, ripgrepLayer2, fffLayer2, layer9, configured3, node22, exports_search };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./model-resolver-emrn6kk6.js";
3
+ } from "./skill-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./model-resolver-yryk7av5.js";
6
+ } from "./skill-7rx9zbjq.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./model-resolver-84gx0bmj.js";
9
+ } from "./skill-caxwz85h.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID14,
3
- Service71,
4
- node75
5
- } from "./model-resolver-q1aqvm29.js";
2
+ ID9,
3
+ Service66,
4
+ node69
5
+ } from "./skill-7y51vbvs.js";
6
6
  import {
7
- ID12,
7
+ ID8,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -12,23 +12,23 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service64,
16
- node67
17
- } from "./model-resolver-hez0a82b.js";
15
+ Service65,
16
+ node68
17
+ } from "./skill-5b3a1c7c.js";
18
18
  import {
19
- Service62,
20
- node65
21
- } from "./model-resolver-2zdc6rg7.js";
19
+ Service63,
20
+ node66
21
+ } from "./skill-w8gags2f.js";
22
22
  import {
23
- ID11,
23
+ ID7,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service63,
27
- node66
28
- } from "./model-resolver-q5q8f7qb.js";
26
+ Service64,
27
+ node67
28
+ } from "./skill-0269zm6b.js";
29
29
  import {
30
30
  __export
31
- } from "./model-resolver-9rqn6x4v.js";
31
+ } from "./skill-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,7 +37,7 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError3,
38
38
  ModelInitializationError: () => ModelInitializationError3,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service61,
40
+ Service: () => Service62,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError3,
@@ -45,7 +45,7 @@ __export(exports_model_resolver, {
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
47
  layer: () => layer22,
48
- node: () => node64,
48
+ node: () => node65,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
55
55
  import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
- providerID: ID12,
59
- modelID: ID11,
58
+ providerID: ID8,
59
+ modelID: ID7,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
65
65
  }
66
66
 
67
67
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
- providerID: ID12,
69
- modelID: ID11,
68
+ providerID: ID8,
69
+ modelID: ID7,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
- providerID: ID12,
80
- modelID: ID11,
79
+ providerID: ID8,
80
+ modelID: ID7,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  }
88
88
 
89
89
  class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
- providerID: ID12,
91
- modelID: ID11,
90
+ providerID: ID8,
91
+ modelID: ID7,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
99
99
  }
100
100
 
101
101
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
- providerID: ID12,
103
- modelID: ID11,
102
+ providerID: ID8,
103
+ modelID: ID7,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
109
109
  }
110
110
 
111
111
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
- providerID: ID12,
113
- modelID: ID11,
112
+ providerID: ID8,
113
+ modelID: ID7,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service61 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service62 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer22 = Layer.effect(Service61, Effect.gen(function* () {
262
- const providers = yield* Service64;
263
- const models = yield* Service63;
264
- const integrations = yield* Service71;
261
+ var layer22 = Layer.effect(Service62, Effect.gen(function* () {
262
+ const providers = yield* Service65;
263
+ const models = yield* Service64;
264
+ const integrations = yield* Service66;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service62;
266
+ const aisdk = yield* Service63;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
269
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
270
270
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
271
271
  const selectedVariant = yield* withVariant2(selected, variant);
272
272
  const runtimeInfo = {
@@ -293,7 +293,7 @@ var layer22 = Layer.effect(Service61, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service61.of({
296
+ return Service62.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
312
312
  }
313
- var node64 = makeLocationNode({
314
- service: Service61,
313
+ var node65 = makeLocationNode({
314
+ service: Service62,
315
315
  layer: layer22,
316
- deps: [node67, node66, node75, Npm.node, node65]
316
+ deps: [node68, node67, node69, Npm.node, node66]
317
317
  });
318
318
 
319
- export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service61, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node64, exports_model_resolver };
319
+ export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service62, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node65, exports_model_resolver };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./skill-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./skill-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info15,
12
+ Info: () => Info13,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };
@@ -1,46 +1,46 @@
1
1
  import {
2
- ID9,
3
- Service58
4
- } from "./model-resolver-1aq54yaq.js";
2
+ ID15,
3
+ Service74
4
+ } from "./skill-mmwjtbs1.js";
5
5
  import {
6
6
  Ref2,
7
- Service63
8
- } from "./model-resolver-q5q8f7qb.js";
7
+ Service64
8
+ } from "./skill-0269zm6b.js";
9
9
  import {
10
10
  latest2,
11
- Service48
12
- } from "./model-resolver-d9ayxges.js";
11
+ Service50
12
+ } from "./skill-0mc464d2.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./model-resolver-pk2244jm.js";
15
+ } from "./skill-2f04pwep.js";
16
16
  import {
17
- Service37
18
- } from "./model-resolver-31879egc.js";
17
+ Service60
18
+ } from "./skill-6tb6gx4y.js";
19
19
  import {
20
20
  evaluate2,
21
- Service55
22
- } from "./model-resolver-gja2jk4r.js";
21
+ Service71
22
+ } from "./skill-wa0ghts3.js";
23
23
  import {
24
- Service19
25
- } from "./model-resolver-jnt43jm9.js";
24
+ Service30
25
+ } from "./skill-6fchhapm.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./model-resolver-x1ezjp6w.js";
28
+ } from "./skill-x1ezjp6w.js";
29
29
  import {
30
- make4
31
- } from "./model-resolver-y0gws88p.js";
30
+ make6
31
+ } from "./skill-mbkr92z7.js";
32
32
  import {
33
33
  __export
34
- } from "./model-resolver-9rqn6x4v.js";
34
+ } from "./skill-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
39
  Input: () => Input11,
40
- Output: () => Output7,
41
- Plugin: () => Plugin13,
40
+ Output: () => Output8,
41
+ Plugin: () => Plugin31,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description5,
43
+ description: () => description4,
44
44
  name: () => name11
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
@@ -72,12 +72,12 @@ var Input11 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output7 = Schema.Struct({
75
+ var Output8 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description5 = [
80
+ var description4 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin13 = {
89
+ var Plugin31 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service19;
93
- const jobs = yield* Service37;
94
- const agents = yield* Service58;
95
- const config = yield* Service48;
96
- const permission = yield* Service55;
97
- const models = yield* Service63;
98
- const subagents = yield* make4;
92
+ const sessions = yield* Service30;
93
+ const jobs = yield* Service60;
94
+ const agents = yield* Service74;
95
+ const config = yield* Service50;
96
+ const permission = yield* Service71;
97
+ const models = yield* Service64;
98
+ const subagents = yield* make6;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -117,9 +117,9 @@ var Plugin13 = {
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
118
  name: name11,
119
119
  options: { codemode: false },
120
- description: description5,
120
+ description: description4,
121
121
  input: Input11,
122
- output: Output7,
122
+ output: Output8,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -168,7 +168,7 @@ var Plugin13 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID9.make(input.agent),
171
+ agent: ID15.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name11, Input11, Output7, description5, Plugin13, exports_subagent };
256
+ export { name11, Input11, Output8, description4, Plugin31, exports_subagent };