@opencode/core 0.0.0-beta-19422 → 0.0.0-beta-19500

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 +78 -77
  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 +74 -73
  7. package/dist/catalog.js +84 -83
  8. package/dist/chunks/{pty-qajrhsjs.js → model-resolver-021ffpa0.js} +15 -15
  9. package/dist/chunks/{pty-eaj1djv9.js → model-resolver-02nrjc1r.js} +4 -4
  10. package/dist/chunks/{pty-710w2ech.js → model-resolver-0334ef0p.js} +1 -1
  11. package/dist/chunks/{pty-gs60z27v.js → model-resolver-03s1nxke.js} +11 -11
  12. package/dist/chunks/{pty-0zs7y9px.js → model-resolver-079cv0ze.js} +25 -25
  13. package/dist/chunks/{pty-qvmkbn54.js → model-resolver-07cx4w7f.js} +4 -4
  14. package/dist/chunks/{pty-98hm5tys.js → model-resolver-0g6mfyfr.js} +44 -44
  15. package/dist/chunks/{pty-kvnd5f0t.js → model-resolver-0hf448nj.js} +8 -8
  16. package/dist/chunks/{pty-v29tykb6.js → model-resolver-0jwvfzzp.js} +24 -22
  17. package/dist/chunks/{pty-0mak23yj.js → model-resolver-0k7hqrra.js} +24 -24
  18. package/dist/chunks/{pty-e6shh598.js → model-resolver-0mywzg06.js} +25 -25
  19. package/dist/chunks/{pty-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  20. package/dist/chunks/{pty-sw07yjb5.js → model-resolver-0pm1m3w8.js} +10 -10
  21. package/dist/chunks/{pty-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
  22. package/dist/chunks/{pty-yn742g3f.js → model-resolver-0sp60s5d.js} +20 -20
  23. package/dist/chunks/{pty-jdnfkhzv.js → model-resolver-0vvagabw.js} +22 -22
  24. package/dist/chunks/{pty-p5270nfw.js → model-resolver-0wbgnjtz.js} +5 -5
  25. package/dist/chunks/{pty-z7by1xyg.js → model-resolver-0wmmprtc.js} +36 -36
  26. package/dist/chunks/{pty-dc76j9wz.js → model-resolver-121k57vw.js} +8 -8
  27. package/dist/chunks/{pty-1acjjqhc.js → model-resolver-1acjjqhc.js} +1 -1
  28. package/dist/chunks/{pty-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  29. package/dist/chunks/{pty-yme990fg.js → model-resolver-1gqabzhy.js} +18 -18
  30. package/dist/chunks/{pty-w1k39n5e.js → model-resolver-1hc11dc4.js} +4 -4
  31. package/dist/chunks/{pty-9qn3qky1.js → model-resolver-1ptmpf20.js} +12 -7
  32. package/dist/chunks/{pty-1ygqh575.js → model-resolver-1ygqh575.js} +2 -2
  33. package/dist/chunks/{pty-9qzqnsj5.js → model-resolver-1zkr721w.js} +13 -13
  34. package/dist/chunks/{pty-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  35. package/dist/chunks/{pty-bdqrk2vk.js → model-resolver-23sxaqwc.js} +6 -6
  36. package/dist/chunks/{pty-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
  37. package/dist/chunks/{pty-qvdq40c0.js → model-resolver-24e6cc3r.js} +12 -9
  38. package/dist/chunks/{pty-cq2rc4ba.js → model-resolver-26jcn8kh.js} +12 -12
  39. package/dist/chunks/{pty-c3grgfa4.js → model-resolver-27596drg.js} +28 -28
  40. package/dist/chunks/{pty-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  41. package/dist/chunks/{pty-ayp837g2.js → model-resolver-2cshb6bs.js} +23 -23
  42. package/dist/chunks/{pty-7dqw4kz8.js → model-resolver-2k8khapm.js} +5 -5
  43. package/dist/chunks/{pty-t7pp6j4t.js → model-resolver-2verbhpp.js} +25 -25
  44. package/dist/chunks/{pty-tn0aqsam.js → model-resolver-37s12vcn.js} +5 -5
  45. package/dist/chunks/{pty-0dydqtd7.js → model-resolver-3gjfrb28.js} +19 -19
  46. package/dist/chunks/{pty-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{pty-1cept2jt.js → model-resolver-3hgg98pr.js} +35 -35
  48. package/dist/chunks/{pty-bkj6dszq.js → model-resolver-3kafhsr8.js} +22 -22
  49. package/dist/chunks/{pty-b0anzbtp.js → model-resolver-3nxeqbj3.js} +13 -13
  50. package/dist/chunks/{pty-rfnzy394.js → model-resolver-3q1jyqhd.js} +1 -1
  51. package/dist/chunks/{pty-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{pty-yhp80jsc.js → model-resolver-3tq8bdpm.js} +13 -13
  53. package/dist/chunks/{pty-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  54. package/dist/chunks/{pty-520ygn4x.js → model-resolver-4bfepadc.js} +4 -4
  55. package/dist/chunks/{pty-seak0fhn.js → model-resolver-4grgn5v0.js} +18 -18
  56. package/dist/chunks/{pty-40t0jw83.js → model-resolver-4kmhmgeg.js} +156 -153
  57. package/dist/chunks/{pty-1eyaby9q.js → model-resolver-4y66k410.js} +4 -2
  58. package/dist/chunks/{pty-s5xwk3mk.js → model-resolver-532bqssk.js} +11 -11
  59. package/dist/chunks/{pty-jfpr744w.js → model-resolver-581kfnqp.js} +15 -15
  60. package/dist/chunks/{pty-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  61. package/dist/chunks/{pty-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{pty-t97t2t7r.js → model-resolver-5v1cn1j1.js} +15 -15
  63. package/dist/chunks/{pty-tnznc2wb.js → model-resolver-5v85fpgj.js} +22 -22
  64. package/dist/chunks/{pty-kh47ysn5.js → model-resolver-64at0fy0.js} +8 -8
  65. package/dist/chunks/{pty-669tq793.js → model-resolver-669tq793.js} +1 -1
  66. package/dist/chunks/{pty-8n66hw90.js → model-resolver-6fvs6bkh.js} +39 -39
  67. package/dist/chunks/{pty-qads99dt.js → model-resolver-6hzp91we.js} +10 -10
  68. package/dist/chunks/{pty-fnaehh3j.js → model-resolver-6jcw83n3.js} +51 -47
  69. package/dist/chunks/{pty-gj9xpvv3.js → model-resolver-6kyz0a76.js} +28 -9
  70. package/dist/chunks/{pty-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{pty-stse86ng.js → model-resolver-6wxzvafn.js} +11 -11
  72. package/dist/chunks/{pty-sfwr2w0j.js → model-resolver-6xt4p4wv.js} +9 -9
  73. package/dist/chunks/{pty-wfjxtpcj.js → model-resolver-70xr52zc.js} +33 -33
  74. package/dist/chunks/{pty-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
  75. package/dist/chunks/{pty-qppnhhc2.js → model-resolver-74w3tna1.js} +18 -18
  76. package/dist/chunks/{pty-4kwjx591.js → model-resolver-75evgfh8.js} +15 -15
  77. package/dist/chunks/{pty-1yd1r7d9.js → model-resolver-774n8a20.js} +9 -9
  78. package/dist/chunks/{pty-1hptgsqz.js → model-resolver-789bpvq4.js} +8 -8
  79. package/dist/chunks/{pty-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{pty-4x28bm1w.js → model-resolver-7cwz0yjz.js} +17 -17
  81. package/dist/chunks/{pty-0sw24r53.js → model-resolver-7fys8geh.js} +16 -16
  82. package/dist/chunks/{pty-3ythc6yv.js → model-resolver-7z7az0f5.js} +4 -4
  83. package/dist/chunks/{pty-p5czsp41.js → model-resolver-818pfwc9.js} +8 -8
  84. package/dist/chunks/{pty-jct9c584.js → model-resolver-87mnny1s.js} +16 -16
  85. package/dist/chunks/{pty-v84jj1d3.js → model-resolver-87qnmf38.js} +25 -25
  86. package/dist/chunks/{pty-wcvnc3wq.js → model-resolver-8abbabsk.js} +22 -22
  87. package/dist/chunks/{pty-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{pty-3yjn18yr.js → model-resolver-8p2zvf0d.js} +65 -38
  89. package/dist/chunks/{pty-dj2t23y0.js → model-resolver-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{pty-f40p4esb.js → model-resolver-8p8b376s.js} +27 -27
  91. package/dist/chunks/{pty-jwjk5r35.js → model-resolver-8y92rm17.js} +6 -6
  92. package/dist/chunks/{pty-89av3hdm.js → model-resolver-8yrnm0fa.js} +12 -12
  93. package/dist/chunks/{pty-z3pg8v1h.js → model-resolver-942176fc.js} +8 -8
  94. package/dist/chunks/{pty-4vfmzcq2.js → model-resolver-98a0b00a.js} +4 -4
  95. package/dist/chunks/{pty-a9ab9jmj.js → model-resolver-98kgw1j6.js} +5 -30
  96. package/dist/chunks/{pty-ffx4mq6v.js → model-resolver-9rzqjwaz.js} +1 -1
  97. package/dist/chunks/{pty-0s7p0jdy.js → model-resolver-9stj6zpb.js} +32 -32
  98. package/dist/chunks/{pty-v4gcmn1h.js → model-resolver-9y7khav7.js} +15 -15
  99. package/dist/chunks/{pty-5c4hm403.js → model-resolver-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{pty-6kpj1tx7.js → model-resolver-a2cfvfg1.js} +16 -16
  101. package/dist/chunks/{pty-7xwree33.js → model-resolver-a4vx34cq.js} +11 -11
  102. package/dist/chunks/{pty-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  103. package/dist/chunks/{pty-ks2km4ey.js → model-resolver-aczsg4vg.js} +45 -33
  104. package/dist/chunks/{pty-gad8dwyr.js → model-resolver-am89cgs6.js} +19 -13
  105. package/dist/chunks/{pty-jwqvw401.js → model-resolver-atny4vj3.js} +11 -11
  106. package/dist/chunks/{pty-whr1jkby.js → model-resolver-aztjpt51.js} +18 -18
  107. package/dist/chunks/{pty-wagd5xb7.js → model-resolver-b22gj5xn.js} +29 -29
  108. package/dist/chunks/{pty-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{pty-gbaa2wnh.js → model-resolver-b77arecc.js} +28 -28
  110. package/dist/chunks/{pty-evwc8rkj.js → model-resolver-bcbgj7m0.js} +18 -18
  111. package/dist/chunks/{pty-1vccm05t.js → model-resolver-bq4vzaks.js} +46 -46
  112. package/dist/chunks/{pty-esam66tc.js → model-resolver-cbg8bv93.js} +10 -10
  113. package/dist/chunks/{pty-m0jqrx5p.js → model-resolver-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{pty-118zhgj2.js → model-resolver-ck6gmqc6.js} +43 -43
  115. package/dist/chunks/{pty-8adgct9d.js → model-resolver-csz41kxq.js} +5 -5
  116. package/dist/chunks/{pty-ckrdk9yx.js → model-resolver-csz4k5km.js} +18 -18
  117. package/dist/chunks/{pty-ead3g9p8.js → model-resolver-d2aac7k2.js} +5 -5
  118. package/dist/chunks/{pty-ntqw7r1f.js → model-resolver-d2fv866c.js} +13 -13
  119. package/dist/chunks/{pty-yjq2qjwg.js → model-resolver-d880b0y6.js} +26 -26
  120. package/dist/chunks/{pty-wbck336m.js → model-resolver-djmbsxn3.js} +6 -6
  121. package/dist/chunks/{pty-0a1gtahz.js → model-resolver-djqd3v5p.js} +90 -40
  122. package/dist/chunks/{pty-0gvt7rgj.js → model-resolver-dkck3j8g.js} +8 -8
  123. package/dist/chunks/{pty-09ms4exh.js → model-resolver-dktryzc1.js} +26 -26
  124. package/dist/chunks/{pty-y71avatq.js → model-resolver-dpkg50ah.js} +4 -4
  125. package/dist/chunks/{pty-s7xtjryh.js → model-resolver-dqyg47hv.js} +1 -1
  126. package/dist/chunks/{pty-srpeewqc.js → model-resolver-drknmmyh.js} +9 -9
  127. package/dist/chunks/{pty-dv1qgsyq.js → model-resolver-dv1qgsyq.js} +1 -1
  128. package/dist/chunks/{pty-9b10rcng.js → model-resolver-e6fygs6z.js} +25 -25
  129. package/dist/chunks/{pty-nhy5jxhy.js → model-resolver-e82z9tr0.js} +7 -7
  130. package/dist/chunks/{pty-3ez202fs.js → model-resolver-e86807kd.js} +90 -87
  131. package/dist/chunks/{pty-25xantg0.js → model-resolver-epzffrx8.js} +23 -23
  132. package/dist/chunks/{pty-10a65abh.js → model-resolver-erhkyex8.js} +4 -4
  133. package/dist/chunks/{pty-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{pty-ek89c1t4.js → model-resolver-ewbqqj16.js} +15 -15
  135. package/dist/chunks/{pty-hdnk95c8.js → model-resolver-f828m53h.js} +2 -2
  136. package/dist/chunks/{pty-1hvj6sc5.js → model-resolver-f8xc4yre.js} +25 -25
  137. package/dist/chunks/{pty-pqk2nt5r.js → model-resolver-f8zs2stk.js} +5 -5
  138. package/dist/chunks/model-resolver-fbf46f8y.js +462 -0
  139. package/dist/chunks/{pty-6f93rc7r.js → model-resolver-fdc0z0c3.js} +2 -2
  140. package/dist/chunks/{pty-pjdb2e90.js → model-resolver-fvf9sjjr.js} +40 -40
  141. package/dist/chunks/{pty-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
  142. package/dist/chunks/{pty-2tfmgkzg.js → model-resolver-fxqygnfa.js} +4 -4
  143. package/dist/chunks/{pty-8hmgw1ak.js → model-resolver-g190xswt.js} +4 -4
  144. package/dist/chunks/{pty-xay24vqs.js → model-resolver-g53r2hff.js} +40 -40
  145. package/dist/chunks/{pty-p0cja4mf.js → model-resolver-g5rnekq0.js} +5 -5
  146. package/dist/chunks/{pty-g5pz3fvh.js → model-resolver-g6fkknnq.js} +24 -24
  147. package/dist/chunks/{pty-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{pty-3fc6dm20.js → model-resolver-gdvy8fx6.js} +4 -4
  149. package/dist/chunks/{pty-q94b1st6.js → model-resolver-ggj3dvvh.js} +12 -12
  150. package/dist/chunks/{pty-kbm5dhv8.js → model-resolver-ghej9zy6.js} +17 -17
  151. package/dist/chunks/{pty-pvmn2x7n.js → model-resolver-gkv3re89.js} +8 -8
  152. package/dist/chunks/{pty-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{pty-3806s53b.js → model-resolver-gw82nkc3.js} +32 -40
  154. package/dist/chunks/{pty-s8s1e1cz.js → model-resolver-gwfcx2m0.js} +21 -49
  155. package/dist/chunks/{pty-5wtnxghh.js → model-resolver-gwnxf6ch.js} +6 -6
  156. package/dist/chunks/{pty-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{pty-8xttkpaf.js → model-resolver-h2fnsspk.js} +11 -11
  158. package/dist/chunks/{pty-5bdfnctw.js → model-resolver-h3k867zz.js} +5 -5
  159. package/dist/chunks/{pty-69az8s64.js → model-resolver-h4q9s1ny.js} +17 -17
  160. package/dist/chunks/{pty-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{pty-fhs97t90.js → model-resolver-h7ygw6q4.js} +9 -9
  162. package/dist/chunks/model-resolver-hjw1g3kj.js +247 -0
  163. package/dist/chunks/{pty-4g19d5n9.js → model-resolver-htk69tte.js} +7 -7
  164. package/dist/chunks/{pty-kpg3dnpr.js → model-resolver-htx7jtvk.js} +22 -22
  165. package/dist/chunks/{pty-md7n9knh.js → model-resolver-hwap2x7x.js} +24 -24
  166. package/dist/chunks/{pty-e1vr1ezn.js → model-resolver-hwxt52gm.js} +5 -5
  167. package/dist/chunks/{pty-z0wxwbgt.js → model-resolver-hya8ywrc.js} +70 -70
  168. package/dist/chunks/{pty-71amxv98.js → model-resolver-j12k6d1r.js} +25 -25
  169. package/dist/chunks/model-resolver-j2k1bkn8.js +22 -0
  170. package/dist/chunks/{pty-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  171. package/dist/chunks/{pty-2f04pwep.js → model-resolver-j7wq2tw5.js} +3 -3
  172. package/dist/chunks/{pty-4p6varyr.js → model-resolver-jbe1bvhn.js} +28 -28
  173. package/dist/chunks/{pty-1syfdjz1.js → model-resolver-jwazx1ed.js} +36 -36
  174. package/dist/chunks/{pty-vnnhbf40.js → model-resolver-k6556a45.js} +6 -6
  175. package/dist/chunks/{pty-f8pbz4jd.js → model-resolver-k6h76ggr.js} +25 -25
  176. package/dist/chunks/{pty-ry3m58dy.js → model-resolver-kbn8346a.js} +11 -11
  177. package/dist/chunks/{pty-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
  178. package/dist/chunks/{pty-jypjtz10.js → model-resolver-kk8h1mek.js} +8 -8
  179. package/dist/chunks/{pty-1p5bxmfk.js → model-resolver-kvffe9p6.js} +14 -14
  180. package/dist/chunks/{pty-jjcsnrt3.js → model-resolver-kx6yd4vg.js} +35 -35
  181. package/dist/chunks/{pty-fvanntqq.js → model-resolver-kxpygcw9.js} +6 -6
  182. package/dist/chunks/{pty-1pqaee8n.js → model-resolver-m4hypjkm.js} +11 -11
  183. package/dist/chunks/{pty-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{pty-bmn9pzgf.js → model-resolver-mb5a7wwz.js} +5 -5
  185. package/dist/chunks/{pty-74b9qssb.js → model-resolver-me88hgte.js} +23 -23
  186. package/dist/chunks/{pty-dda9r64d.js → model-resolver-mg5mchpt.js} +26 -26
  187. package/dist/chunks/{pty-c4rpq3bt.js → model-resolver-mhdwrqr0.js} +3 -3
  188. package/dist/chunks/{pty-1bbkgx8g.js → model-resolver-mhkvc446.js} +3 -3
  189. package/dist/chunks/{pty-t3kscp9x.js → model-resolver-mrsqtdpn.js} +30 -30
  190. package/dist/chunks/{pty-f37g46dm.js → model-resolver-mwnd972w.js} +33 -33
  191. package/dist/chunks/{pty-80kf8gxa.js → model-resolver-mz60zy6e.js} +27 -28
  192. package/dist/chunks/{pty-4bx7125q.js → model-resolver-mz65vdgf.js} +18 -18
  193. package/dist/chunks/{pty-0996nyz8.js → model-resolver-n37c4crj.js} +2 -2
  194. package/dist/chunks/{pty-nttnax9e.js → model-resolver-nv6fkpt4.js} +17 -17
  195. package/dist/chunks/{pty-36mqef8b.js → model-resolver-p52p41ww.js} +11 -11
  196. package/dist/chunks/{pty-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{pty-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  198. package/dist/chunks/{pty-3re90bff.js → model-resolver-pm4pe4yk.js} +29 -29
  199. package/dist/chunks/{pty-47rhjnbj.js → model-resolver-pqg5898n.js} +12 -12
  200. package/dist/chunks/{pty-y09ge0g8.js → model-resolver-prp52c5q.js} +11 -11
  201. package/dist/chunks/{pty-zt549x9j.js → model-resolver-psjem9sa.js} +11 -11
  202. package/dist/chunks/{pty-0q0rgwg5.js → model-resolver-pvvs7m8f.js} +13 -13
  203. package/dist/chunks/{pty-s198arwq.js → model-resolver-q87s0xy8.js} +45 -45
  204. package/dist/chunks/{pty-qbmqvd4g.js → model-resolver-q91t8a1k.js} +19 -19
  205. package/dist/chunks/{pty-k5wm7z2v.js → model-resolver-qa6ytjmd.js} +13 -13
  206. package/dist/chunks/model-resolver-qapv375x.js +4 -0
  207. package/dist/chunks/{pty-t9e6e84n.js → model-resolver-qdcfe15v.js} +1 -1
  208. package/dist/chunks/model-resolver-qdyb70sk.js +18 -0
  209. package/dist/chunks/{pty-d1khqved.js → model-resolver-qn4ba14w.js} +5 -5
  210. package/dist/chunks/{pty-egz44y69.js → model-resolver-qn8ypmg1.js} +18 -18
  211. package/dist/chunks/{pty-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  212. package/dist/chunks/{pty-wqkncbjv.js → model-resolver-qwkytnft.js} +3 -3
  213. package/dist/chunks/{pty-edbbhmy9.js → model-resolver-qyxt0tsw.js} +4 -4
  214. package/dist/chunks/{pty-24p38q2n.js → model-resolver-r532bney.js} +4 -4
  215. package/dist/chunks/{pty-3t5j4r89.js → model-resolver-r9ghxtsk.js} +6 -6
  216. package/dist/chunks/{pty-x43y2vfs.js → model-resolver-r9mregkx.js} +3 -3
  217. package/dist/chunks/{pty-x0vzmp4x.js → model-resolver-rav9e4bf.js} +5 -5
  218. package/dist/chunks/{pty-7axzvjgy.js → model-resolver-rctyp4y4.js} +24 -24
  219. package/dist/chunks/{pty-vyy6b7xa.js → model-resolver-rd8pgjwx.js} +20 -20
  220. package/dist/chunks/{pty-twcs6fsf.js → model-resolver-rj9a996t.js} +9 -9
  221. package/dist/chunks/{pty-0cgfpp4r.js → model-resolver-rq6dswfj.js} +7 -7
  222. package/dist/chunks/{pty-81swgkk7.js → model-resolver-rsym84ch.js} +7 -7
  223. package/dist/chunks/{pty-xhcbj5xc.js → model-resolver-rtkh6q4b.js} +11 -11
  224. package/dist/chunks/{pty-806j49yq.js → model-resolver-ryr25ayn.js} +4 -4
  225. package/dist/chunks/{pty-4hs31730.js → model-resolver-s1vvg2cq.js} +7 -7
  226. package/dist/chunks/{pty-8n7wwas9.js → model-resolver-s2whfhf8.js} +29 -29
  227. package/dist/chunks/{pty-46x4mgr1.js → model-resolver-s534qmrw.js} +4 -4
  228. package/dist/chunks/{pty-mkar22rr.js → model-resolver-s5wnyv46.js} +30 -30
  229. package/dist/chunks/{pty-5xtr5t3c.js → model-resolver-s72x8wcp.js} +21 -21
  230. package/dist/chunks/{pty-gswf14xw.js → model-resolver-sdcezsxk.js} +20 -20
  231. package/dist/chunks/{pty-1j4evvde.js → model-resolver-shqnjwtb.js} +20 -20
  232. package/dist/chunks/{pty-697x4nhd.js → model-resolver-sph8ksss.js} +9 -9
  233. package/dist/chunks/{pty-cff1m34y.js → model-resolver-spr8pf2r.js} +9 -9
  234. package/dist/chunks/{pty-pbc3mjh9.js → model-resolver-t6gatd88.js} +50 -50
  235. package/dist/chunks/{pty-dhmh7aw6.js → model-resolver-t7n9q6bq.js} +4 -4
  236. package/dist/chunks/{pty-21rtx38p.js → model-resolver-t82489yp.js} +37 -37
  237. package/dist/chunks/{pty-zd1mjem4.js → model-resolver-t9e5d74p.js} +6 -6
  238. package/dist/chunks/{pty-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{pty-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{pty-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  241. package/dist/chunks/{pty-esy06pf9.js → model-resolver-tp3xxvx5.js} +43 -43
  242. package/dist/chunks/{pty-zdxpjn9v.js → model-resolver-trk3y68z.js} +55 -55
  243. package/dist/chunks/{pty-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  244. package/dist/chunks/{pty-a5gt7g2r.js → model-resolver-twy35tz0.js} +9 -9
  245. package/dist/chunks/{pty-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  246. package/dist/chunks/{pty-7j3yyt51.js → model-resolver-vhj1rs6k.js} +25 -22
  247. package/dist/chunks/{pty-r98e92ep.js → model-resolver-vncycja5.js} +4 -4
  248. package/dist/chunks/{pty-kh3ehkc0.js → model-resolver-vnv2t9ht.js} +4 -4
  249. package/dist/chunks/{pty-0bps82y7.js → model-resolver-vvccsdf3.js} +6 -6
  250. package/dist/chunks/{pty-2vgzs72b.js → model-resolver-vxp3kcg3.js} +5 -5
  251. package/dist/chunks/{pty-rj7dx2h5.js → model-resolver-vy514hgv.js} +9 -9
  252. package/dist/chunks/{pty-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{pty-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{pty-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  255. package/dist/chunks/{pty-jtpgvawt.js → model-resolver-wf4bebac.js} +16 -16
  256. package/dist/chunks/{pty-fmkfbeq2.js → model-resolver-wgf958fy.js} +30 -30
  257. package/dist/chunks/{pty-ka7qgscn.js → model-resolver-wj9n5p3k.js} +5 -5
  258. package/dist/chunks/model-resolver-wrjeysgp.js +170 -0
  259. package/dist/chunks/{pty-wp4jr60n.js → model-resolver-wwmx33bt.js} +3 -3
  260. package/dist/chunks/{pty-0egdkte1.js → model-resolver-x1avke2d.js} +87 -85
  261. package/dist/chunks/{pty-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{pty-fa0cr6zp.js → model-resolver-x6geafsy.js} +3 -3
  263. package/dist/chunks/{pty-wk58jv74.js → model-resolver-x940zq77.js} +10 -10
  264. package/dist/chunks/{pty-zxgnc9zk.js → model-resolver-xdk7tsve.js} +1 -1
  265. package/dist/chunks/{pty-p72z5xx6.js → model-resolver-xg9t41r3.js} +3 -2
  266. package/dist/chunks/{pty-0jqc4bxs.js → model-resolver-xs8g0vg3.js} +6 -6
  267. package/dist/chunks/{pty-c2wghy26.js → model-resolver-xtzwr8pq.js} +9 -8
  268. package/dist/chunks/{pty-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{pty-8c67r9ne.js → model-resolver-y3fea29m.js} +13 -13
  270. package/dist/chunks/model-resolver-y8f7s663.js +13 -0
  271. package/dist/chunks/{pty-ydpc6wdy.js → model-resolver-y94qkjj7.js} +10 -10
  272. package/dist/chunks/{pty-k0nnq3t9.js → model-resolver-ydgy0jv4.js} +6 -6
  273. package/dist/chunks/{pty-hhcdszkw.js → model-resolver-yjv2keaj.js} +39 -32
  274. package/dist/chunks/{pty-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{pty-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
  276. package/dist/chunks/{pty-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{pty-sfvqjyek.js → model-resolver-z2b5d6zb.js} +6 -6
  278. package/dist/chunks/{pty-mzz8vzet.js → model-resolver-z2kz5700.js} +17 -17
  279. package/dist/chunks/{pty-gc1qnngx.js → model-resolver-z2qr9twd.js} +1 -1
  280. package/dist/chunks/{pty-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
  281. package/dist/chunks/{pty-qhgcdxv6.js → model-resolver-z7dhx1kn.js} +24 -24
  282. package/dist/chunks/{pty-5en82wpx.js → model-resolver-zceb237h.js} +6 -6
  283. package/dist/chunks/{pty-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{pty-g0eh8qf4.js → model-resolver-zf0svfz5.js} +16 -16
  285. package/dist/chunks/{pty-f9adwtm7.js → model-resolver-zpkbxaqd.js} +7 -5
  286. package/dist/chunks/{pty-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{pty-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +80 -79
  292. package/dist/config/discovery.js +78 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +114 -113
  296. package/dist/config/plugin/command.js +208 -207
  297. package/dist/config/plugin/compaction.js +156 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -117
  300. package/dist/config/plugin/image.js +116 -115
  301. package/dist/config/plugin/instruction.js +86 -85
  302. package/dist/config/plugin/location-watcher.js +116 -115
  303. package/dist/config/plugin/mcp.js +125 -124
  304. package/dist/config/plugin/policy.js +115 -114
  305. package/dist/config/plugin/provider.js +112 -111
  306. package/dist/config/plugin/reference.js +118 -117
  307. package/dist/config/plugin/shell.js +117 -116
  308. package/dist/config/plugin/skill-file.js +98 -97
  309. package/dist/config/plugin/skill.js +135 -134
  310. package/dist/config/plugin/snapshot.js +116 -115
  311. package/dist/config/plugin/source.js +118 -117
  312. package/dist/config/plugin/tool-output.js +118 -117
  313. package/dist/config/plugin/websearch.js +114 -113
  314. package/dist/config/plugin/worktree.js +119 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +120 -119
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +82 -81
  320. package/dist/database/database.js +69 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +6 -0
  384. package/dist/database/migration.gen.js +48 -47
  385. package/dist/database/migration.js +50 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +79 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +359 -360
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +73 -72
  409. package/dist/file-access.js +100 -99
  410. package/dist/file-mutation.js +90 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +217 -216
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +96 -95
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +99 -98
  425. package/dist/form.js +79 -78
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +83 -82
  428. package/dist/generate.js +92 -91
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -353
  454. package/dist/instruction-discovery.js +84 -83
  455. package/dist/instructions/builtins.js +83 -82
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +83 -82
  459. package/dist/job.js +78 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -71
  462. package/dist/location-activity.js +130 -129
  463. package/dist/location-mutation.js +100 -99
  464. package/dist/location-service-map.js +80 -79
  465. package/dist/location-services.js +349 -350
  466. package/dist/location.js +83 -82
  467. package/dist/mcp/client.js +87 -86
  468. package/dist/mcp/index.js +100 -99
  469. package/dist/mcp/instructions.js +121 -120
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +91 -84
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +87 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +101 -100
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +85 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -73
  486. package/dist/plugin/agent.js +98 -97
  487. package/dist/plugin/command.js +95 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -213
  490. package/dist/plugin/instance.js +1 -1
  491. package/dist/plugin/internal.js +323 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -75
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +4 -2
  496. package/dist/plugin/plan.js +98 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +119 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -114
  506. package/dist/plugin/provider/digitalocean.js +80 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -76
  515. package/dist/plugin/provider/lmstudio.js +118 -117
  516. package/dist/plugin/provider/modal.js +80 -79
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -117
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +79 -78
  521. package/dist/plugin/provider/opencode.js +80 -79
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -76
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -117
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +116 -115
  531. package/dist/plugin/provider/xai.js +78 -77
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -158
  534. package/dist/plugin/sdk.js +69 -68
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +132 -131
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +338 -339
  539. package/dist/plugin/update.js +2 -2
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -82
  542. package/dist/plugin/vcs/hg.js +83 -82
  543. package/dist/plugin/warming.js +113 -112
  544. package/dist/plugin/websearch/exa.js +5 -5
  545. package/dist/plugin/websearch/firecrawl.js +6 -6
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +2 -2
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin.js +219 -218
  551. package/dist/project/schema.js +6 -6
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +84 -83
  554. package/dist/provider.js +7 -5
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +95 -94
  559. package/dist/reference/instructions.js +83 -82
  560. package/dist/reference.js +87 -86
  561. package/dist/repository-cache.js +77 -76
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +94 -93
  565. package/dist/rpc.js +82 -81
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -72
  568. package/dist/session/compaction.js +128 -127
  569. package/dist/session/context.js +146 -145
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +220 -219
  574. package/dist/session/execution.js +123 -122
  575. package/dist/session/generate.js +147 -146
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +85 -84
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +76 -75
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +93 -92
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +114 -113
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +127 -126
  587. package/dist/session/projector.js +85 -84
  588. package/dist/session/prompt.js +101 -100
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +86 -85
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +226 -225
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +91 -86
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +111 -110
  598. package/dist/session/runner/step.js +122 -121
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +168 -167
  602. package/dist/session/shell.js +132 -131
  603. package/dist/session/skill.js +99 -98
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +74 -73
  606. package/dist/session/store.js +86 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +204 -203
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +152 -151
  611. package/dist/session/to-session-error.js +108 -107
  612. package/dist/session/transfer.js +221 -219
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +210 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +11 -11
  619. package/dist/shell.js +134 -133
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +103 -102
  622. package/dist/skill.js +108 -107
  623. package/dist/snapshot.js +89 -88
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +122 -121
  628. package/dist/tool/plugin/edit.js +114 -113
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +121 -120
  631. package/dist/tool/plugin/grep.js +121 -120
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +114 -113
  634. package/dist/tool/plugin/question.js +99 -98
  635. package/dist/tool/plugin/read.js +120 -119
  636. package/dist/tool/plugin/shell.js +211 -210
  637. package/dist/tool/plugin/skill.js +107 -106
  638. package/dist/tool/plugin/subagent.js +207 -206
  639. package/dist/tool/plugin/webfetch.js +106 -105
  640. package/dist/tool/plugin/websearch.js +106 -105
  641. package/dist/tool/plugin/write.js +118 -117
  642. package/dist/tool/read-filesystem.js +97 -96
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +15 -15
  646. package/dist/types/aisdk-native.d.ts +4 -2
  647. package/dist/types/database/migration/20260910120000_clear_v1_session_permission.d.ts +3 -0
  648. package/dist/types/model-resolver.d.ts +50 -3
  649. package/dist/types/plugin/optimize.d.ts +2 -1
  650. package/dist/types/provider.d.ts +1 -0
  651. package/dist/types/session/model-request.d.ts +3 -3
  652. package/dist/types/session/runner/model.d.ts +4 -0
  653. package/dist/types/session/schema.d.ts +9 -0
  654. package/dist/types/session/session.d.ts +4 -0
  655. package/dist/types/session/sql.d.ts +3 -3
  656. package/dist/types/session/transfer.d.ts +9 -0
  657. package/dist/types/session.d.ts +6 -0
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/formatter.js +5 -5
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +5 -5
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +4 -4
  676. package/dist/v1/config/permission.js +3 -3
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +86 -85
  685. package/dist/websearch.js +81 -80
  686. package/dist/wellknown/plugin.js +75 -74
  687. package/dist/wellknown.js +78 -77
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -78
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +5 -5
  693. package/dist/worktree/refresh.js +339 -340
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree.js +92 -91
  696. package/package.json +8 -8
  697. package/dist/chunks/pty-074gn8c1.js +0 -343
  698. package/dist/chunks/pty-8qk9tw02.js +0 -35
  699. package/dist/chunks/pty-f4wpvzrh.js +0 -247
  700. package/dist/chunks/pty-fy0kqqt2.js +0 -22
  701. package/dist/chunks/pty-h47he10w.js +0 -4
  702. package/dist/chunks/pty-mkcjrzeh.js +0 -15
  703. package/dist/chunks/pty-q509s3k3.js +0 -18
  704. package/dist/chunks/pty-xz4tz1py.js +0 -462
  705. package/dist/plugin/provider/anthropic.js +0 -7
  706. package/dist/plugin/provider/mistral.js +0 -7
  707. package/dist/types/plugin/provider/anthropic.d.ts +0 -1
  708. package/dist/types/plugin/provider/mistral.d.ts +0 -1
  709. /package/dist/chunks/{pty-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  710. /package/dist/chunks/{pty-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  711. /package/dist/chunks/{pty-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  712. /package/dist/chunks/{pty-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  713. /package/dist/chunks/{pty-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  714. /package/dist/chunks/{pty-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  715. /package/dist/chunks/{pty-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  716. /package/dist/chunks/{pty-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  717. /package/dist/chunks/{pty-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{pty-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  719. /package/dist/chunks/{pty-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{pty-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  721. /package/dist/chunks/{pty-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  722. /package/dist/chunks/{pty-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  723. /package/dist/chunks/{pty-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  724. /package/dist/chunks/{pty-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{pty-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{pty-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  727. /package/dist/chunks/{pty-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{pty-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  729. /package/dist/chunks/{pty-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{pty-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{pty-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  732. /package/dist/chunks/{pty-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  733. /package/dist/chunks/{pty-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  734. /package/dist/chunks/{pty-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  735. /package/dist/chunks/{pty-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{pty-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{pty-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{pty-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{pty-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{pty-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{pty-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{pty-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{pty-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{pty-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{pty-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{pty-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{pty-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{pty-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{pty-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{pty-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  751. /package/dist/chunks/{pty-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{pty-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{pty-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{pty-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{pty-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{pty-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{pty-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{pty-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{pty-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{pty-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{pty-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{pty-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{pty-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  764. /package/dist/chunks/{pty-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{pty-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  766. /package/dist/chunks/{pty-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{pty-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  768. /package/dist/chunks/{pty-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
  769. /package/dist/chunks/{pty-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  770. /package/dist/chunks/{pty-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  771. /package/dist/chunks/{pty-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{pty-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{pty-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{pty-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{pty-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{pty-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{pty-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{pty-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{pty-paphc93g.js → model-resolver-paphc93g.js} +0 -0
  780. /package/dist/chunks/{pty-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  781. /package/dist/chunks/{pty-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  782. /package/dist/chunks/{pty-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{pty-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{pty-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{pty-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{pty-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{pty-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{pty-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{pty-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{pty-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
  791. /package/dist/chunks/{pty-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{pty-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{pty-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{pty-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{pty-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  796. /package/dist/chunks/{pty-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{pty-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{pty-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{pty-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{pty-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./pty-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./pty-8hmgw1ak.js";
6
+ } from "./model-resolver-g190xswt.js";
7
7
  import {
8
- Info16
9
- } from "./pty-p5czsp41.js";
8
+ Info15
9
+ } from "./model-resolver-818pfwc9.js";
10
10
  import {
11
- Info17
12
- } from "./pty-tn0aqsam.js";
11
+ Info10
12
+ } from "./model-resolver-37s12vcn.js";
13
13
  import {
14
- Info21
15
- } from "./pty-806j49yq.js";
14
+ Info11
15
+ } from "./model-resolver-ryr25ayn.js";
16
16
  import {
17
- Info20
18
- } from "./pty-ead3g9p8.js";
17
+ Info18
18
+ } from "./model-resolver-d2aac7k2.js";
19
19
  import {
20
20
  Spec2
21
- } from "./pty-7dqw4kz8.js";
21
+ } from "./model-resolver-2k8khapm.js";
22
22
  import {
23
- Info23
24
- } from "./pty-d1khqved.js";
23
+ Info12
24
+ } from "./model-resolver-qn4ba14w.js";
25
25
  import {
26
- Info14
27
- } from "./pty-118zhgj2.js";
26
+ Info9
27
+ } from "./model-resolver-ck6gmqc6.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./pty-4vfmzcq2.js";
36
+ } from "./model-resolver-98a0b00a.js";
37
37
  import {
38
38
  __export
39
- } from "./pty-9rqn6x4v.js";
39
+ } from "./model-resolver-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info14.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info10, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info21, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info20, value, path, diagnostics);
228
+ const server = decodeValue(Info18, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info23, raw, path, diagnostics);
424
+ const provider = decodeValue(Info12, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service71
3
- } from "./pty-s198arwq.js";
2
+ Service69
3
+ } from "./model-resolver-q87s0xy8.js";
4
4
  import {
5
- ID3,
5
+ ID11,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service26
10
- } from "./pty-c3grgfa4.js";
9
+ Service68
10
+ } from "./model-resolver-27596drg.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./model-resolver-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
16
  var exports_skill3 = {};
17
17
  __export(exports_skill3, {
18
- Input: () => Input5,
19
- Output: () => Output4,
20
- Plugin: () => Plugin36,
18
+ Input: () => Input8,
19
+ Output: () => Output6,
20
+ Plugin: () => Plugin39,
21
21
  SkillTool: () => exports_skill3,
22
- description: () => description2,
23
- name: () => name5,
22
+ description: () => description4,
23
+ name: () => name8,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name5 = "skill";
30
- var Input5 = Schema.Struct({
31
- id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name8 = "skill";
30
+ var Input8 = Schema.Struct({
31
+ id: ID11.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output4 = Schema.Struct({
33
+ var Output6 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description2 = [
38
+ var description4 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description2 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin36 = {
46
+ var Plugin39 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service26;
51
- const permission = yield* Service71;
50
+ const skills = yield* Service68;
51
+ const permission = yield* Service69;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name5,
53
+ name: name8,
54
54
  options: { codemode: false },
55
- description: description2,
56
- input: Input5,
57
- output: Output4,
55
+ description: description4,
56
+ input: Input8,
57
+ output: Output6,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name5,
64
+ action: name8,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin36 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name5, Input5, Output4, description2, toModelOutput2, Plugin36, exports_skill3 };
82
+ export { name8, Input8, Output6, description4, toModelOutput2, Plugin39, exports_skill3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service64
3
- } from "./pty-1vccm05t.js";
2
+ Service53
3
+ } from "./model-resolver-bq4vzaks.js";
4
4
  import {
5
- Service21
6
- } from "./pty-98hm5tys.js";
5
+ Service25
6
+ } from "./model-resolver-0g6mfyfr.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin27,
15
+ Plugin: () => Plugin26,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin27 = define({
20
+ var Plugin26 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service64;
28
- const mcp = yield* Service21;
27
+ const config = yield* Service53;
28
+ const mcp = yield* Service25;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin27, register2, exports_mcp2 };
49
+ export { Plugin26, register2, exports_mcp2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
- Service78,
6
- node83
7
- } from "./pty-wk58jv74.js";
5
+ Service76,
6
+ node80
7
+ } from "./model-resolver-x940zq77.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./pty-2402vzrj.js";
13
+ } from "./model-resolver-2402vzrj.js";
14
14
  import {
15
- Service67,
16
- node72
17
- } from "./pty-ntqw7r1f.js";
15
+ Service66,
16
+ node70
17
+ } from "./model-resolver-d2fv866c.js";
18
18
  import {
19
19
  __export
20
- } from "./pty-9rqn6x4v.js";
20
+ } from "./model-resolver-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service44,
33
+ Service: () => Service41,
34
34
  isError: () => isError2,
35
- node: () => node49,
35
+ node: () => node45,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service44 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service41 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service44, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service78;
106
+ const git = yield* Service76;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service67;
110
- return Service44.of({
109
+ const kv = yield* Service66;
110
+ return Service41.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node49 = makeGlobalNode({
171
- service: Service44,
170
+ var node45 = makeGlobalNode({
171
+ service: Service41,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node72]
173
+ deps: [EffectFlock.node, FSUtil.node, node80, Global.node, node70]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service44, isError2, validateBranch2, node49, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service41, isError2, validateBranch2, node45, exports_repository_cache };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./pty-ckrdk9yx.js";
2
+ Service77,
3
+ node81
4
+ } from "./model-resolver-csz4k5km.js";
5
5
  import {
6
6
  create3
7
- } from "./pty-kg06axw8.js";
7
+ } from "./model-resolver-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
@@ -15,12 +15,12 @@ __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
17
  Event: () => Event19,
18
- ID: () => ID15,
19
- Info: () => Info29,
18
+ ID: () => ID14,
19
+ Info: () => Info28,
20
20
  Name: () => Name3,
21
- Service: () => Service74,
21
+ Service: () => Service72,
22
22
  defaultID: () => defaultID2,
23
- node: () => node79
23
+ node: () => node76
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -30,16 +30,16 @@ import { Global } from "@opencode/util/global";
30
30
  import { Event as Event19 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID15 = Agent.ID;
33
+ var ID14 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID15.make("build");
35
+ var defaultID2 = ID14.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info29 = Agent.Info;
37
+ var Info28 = Agent.Info;
38
38
 
39
- class Service74 extends Context.Service()("@opencode/Agent") {
39
+ class Service72 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service74, Effect.gen(function* () {
42
- const bus = yield* Service79;
41
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
42
+ const bus = yield* Service77;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
45
45
  { action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info29.default(id);
60
+ const defaults = Info28.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID15.make("build")));
82
+ const build = selectable(data.agents.get(ID14.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service74.of({
91
+ return Service72.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID15.make(id));
99
+ return state.get().agents.get(ID14.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID15.make(id);
104
+ const selected = ID14.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node79 = makeLocationNode({ service: Service74, layer, deps: [node84, Global.node] });
119
+ var node76 = makeLocationNode({ service: Service72, layer, deps: [node81, Global.node] });
120
120
 
121
- export { ID15, Name3, defaultID2, Color2, Info29, Service74, node79, exports_agent4, Event19 };
121
+ export { ID14, Name3, defaultID2, Color2, Info28, Service72, node76, exports_agent4, Event19 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./pty-9qn3qky1.js";
4
+ } from "./model-resolver-1ptmpf20.js";
5
5
  import {
6
6
  __export
7
- } from "./pty-9rqn6x4v.js";
7
+ } from "./model-resolver-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/variant.ts
10
10
  var exports_variant = {};
11
11
  __export(exports_variant, {
12
- Plugin: () => Plugin10,
12
+ Plugin: () => Plugin13,
13
13
  VariantPlugin: () => exports_variant,
14
14
  generate: () => generate2
15
15
  });
16
16
  import { Effect } from "effect";
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Model } from "@opencode/schema/model";
19
- var Plugin10 = define({
19
+ var Plugin13 = define({
20
20
  id: "opencode.variant",
21
21
  effect: Effect.fn(function* (ctx) {
22
22
  yield* ctx.catalog.transform((catalog) => {
@@ -52,4 +52,4 @@ function generate2(model, provider) {
52
52
  }));
53
53
  }
54
54
 
55
- export { Plugin10, generate2, exports_variant };
55
+ export { Plugin13, generate2, exports_variant };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node44
5
- } from "./pty-gs60z27v.js";
4
+ node69
5
+ } from "./model-resolver-03s1nxke.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./pty-w1k39n5e.js";
9
+ } from "./model-resolver-1hc11dc4.js";
10
10
  import {
11
- Service75,
12
- node80
13
- } from "./pty-dc76j9wz.js";
11
+ Service73,
12
+ node77
13
+ } from "./model-resolver-121k57vw.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./pty-s198arwq.js";
16
+ } from "./model-resolver-q87s0xy8.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./pty-1pqaee8n.js";
19
+ } from "./model-resolver-m4hypjkm.js";
20
20
  import {
21
- Error3
22
- } from "./pty-9b10rcng.js";
21
+ Error2
22
+ } from "./model-resolver-e6fygs6z.js";
23
23
  import {
24
- Service23,
25
- node28
26
- } from "./pty-8xttkpaf.js";
24
+ Service20,
25
+ node24
26
+ } from "./model-resolver-h2fnsspk.js";
27
27
  import {
28
- make14
29
- } from "./pty-nhy5jxhy.js";
28
+ make13
29
+ } from "./model-resolver-e82z9tr0.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./pty-rfnzy394.js";
32
+ } from "./model-resolver-3q1jyqhd.js";
33
33
  import {
34
34
  __export
35
- } from "./pty-9rqn6x4v.js";
35
+ } from "./model-resolver-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service22,
40
+ Service: () => Service19,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer11,
45
- node: () => node27,
44
+ layer: () => layer8,
45
+ node: () => node23,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service22 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service19 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer11 = Layer.effect(Service22, Effect.gen(function* () {
156
- const hooks = yield* Service75;
157
- const transport = yield* Service23;
155
+ var layer8 = Layer.effect(Service19, Effect.gen(function* () {
156
+ const hooks = yield* Service73;
157
+ const transport = yield* Service20;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -162,7 +162,7 @@ var layer11 = Layer.effect(Service22, Effect.gen(function* () {
162
162
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
163
163
  const tools = input.tools ?? {
164
164
  definitions: [],
165
- execute: () => new Error3({ message: "Tools are not available for this request" })
165
+ execute: () => new Error2({ message: "Tools are not available for this request" })
166
166
  };
167
167
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
168
168
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -243,18 +243,18 @@ var layer11 = Layer.effect(Service22, Effect.gen(function* () {
243
243
  }, (decline) => Effect.fail(decline)))
244
244
  };
245
245
  });
246
- const context = (agent) => (draft, tools) => hooks.trigger("session", "context", { ...draft, agent, tools });
247
- return Service22.of({
248
- primary: (input) => prepare("primary", input, context(input.agent)),
249
- generate: (input) => prepare("generate", input, context(input.agent)),
250
- compaction: (input) => prepare("compaction", input, context(input.agent)),
246
+ const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
247
+ return Service19.of({
248
+ primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
249
+ compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
250
+ generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
251
251
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
252
252
  });
253
253
  }));
254
- var node27 = makeLocationNode({
255
- service: Service22,
256
- layer: layer11,
257
- deps: [node80, node28, node44]
254
+ var node23 = makeLocationNode({
255
+ service: Service19,
256
+ layer: layer8,
257
+ deps: [node77, node24, node69]
258
258
  });
259
259
 
260
- export { baseTranscript2, unsupportedParts2, boundImages2, Service22, layer11, node27, exports_model_request };
260
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service19, layer8, node23, exports_model_request };