@opencode/core 0.0.0-dev-21685 → 0.0.0-dev-21695

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{instruction-discovery-vkmt8npp.js → bus-02tqe3dc.js} +30 -30
  8. package/dist/chunks/{instruction-discovery-034tev2y.js → bus-034tev2y.js} +2 -2
  9. package/dist/chunks/{instruction-discovery-ptzd8h59.js → bus-05g8hkey.js} +50 -50
  10. package/dist/chunks/{instruction-discovery-2xdd02fb.js → bus-06q2jeyp.js} +9 -9
  11. package/dist/chunks/{instruction-discovery-c8m57xn7.js → bus-088xsv39.js} +8 -8
  12. package/dist/chunks/{instruction-discovery-w687dnns.js → bus-0h8y3ex8.js} +4 -4
  13. package/dist/chunks/{instruction-discovery-qh1vdqqc.js → bus-0kp1st58.js} +11 -11
  14. package/dist/chunks/{instruction-discovery-1z6jjy5p.js → bus-0ks2n9jf.js} +6 -6
  15. package/dist/chunks/{instruction-discovery-wn0pby43.js → bus-0mcw7mfx.js} +7 -7
  16. package/dist/chunks/{instruction-discovery-p8mgpvfs.js → bus-0p11b9tv.js} +6 -6
  17. package/dist/chunks/{instruction-discovery-e47h3fva.js → bus-0rj3103z.js} +3 -3
  18. package/dist/chunks/{instruction-discovery-taw06fa3.js → bus-0swax997.js} +14 -14
  19. package/dist/chunks/{instruction-discovery-n58eb8yn.js → bus-0syemgjh.js} +4 -4
  20. package/dist/chunks/{instruction-discovery-xaz7g2t8.js → bus-0zzd7vfm.js} +4 -4
  21. package/dist/chunks/{instruction-discovery-vx3jgdek.js → bus-143qq2q9.js} +3 -3
  22. package/dist/chunks/{instruction-discovery-h4p3pyf8.js → bus-158w7htw.js} +6 -6
  23. package/dist/chunks/{instruction-discovery-htnm7734.js → bus-1622r1ga.js} +4 -4
  24. package/dist/chunks/{instruction-discovery-1ep2p91f.js → bus-1ep2p91f.js} +2 -2
  25. package/dist/chunks/{instruction-discovery-jppsgv8k.js → bus-1j2dtaqf.js} +25 -25
  26. package/dist/chunks/{instruction-discovery-gfxq0zq2.js → bus-1mfyhvm9.js} +9 -9
  27. package/dist/chunks/{instruction-discovery-jas4yhkp.js → bus-1r5cd4qg.js} +11 -11
  28. package/dist/chunks/{instruction-discovery-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
  29. package/dist/chunks/{instruction-discovery-x4y0yvq7.js → bus-1xwbrvt7.js} +14 -14
  30. package/dist/chunks/{instruction-discovery-bxjrsr3w.js → bus-1ya82mrw.js} +7 -7
  31. package/dist/chunks/{instruction-discovery-g1xkvxp8.js → bus-231a8wys.js} +8 -8
  32. package/dist/chunks/{instruction-discovery-s2pfznc4.js → bus-2b6ncc8q.js} +6 -6
  33. package/dist/chunks/{instruction-discovery-s91x7ka3.js → bus-2dxw0vtj.js} +23 -23
  34. package/dist/chunks/{instruction-discovery-s9z6tqcd.js → bus-2etvdtc8.js} +11 -11
  35. package/dist/chunks/{instruction-discovery-xk1htaes.js → bus-2ex6mje1.js} +33 -33
  36. package/dist/chunks/{instruction-discovery-eqfewtt2.js → bus-2gqhjjsx.js} +10 -10
  37. package/dist/chunks/{instruction-discovery-revxvk9s.js → bus-2h28cep3.js} +33 -33
  38. package/dist/chunks/{instruction-discovery-pndg7662.js → bus-2m54h93x.js} +23 -23
  39. package/dist/chunks/{instruction-discovery-r47an33t.js → bus-2rx1emds.js} +3 -3
  40. package/dist/chunks/{instruction-discovery-91vtnk5e.js → bus-2ryhy1r3.js} +16 -16
  41. package/dist/chunks/{instruction-discovery-2z1j29yd.js → bus-2z1j29yd.js} +1 -1
  42. package/dist/chunks/{instruction-discovery-tbr3q4wq.js → bus-392n4kdw.js} +36 -36
  43. package/dist/chunks/{instruction-discovery-spa8vgy8.js → bus-3dcm03ph.js} +8 -8
  44. package/dist/chunks/{instruction-discovery-2cckbrxm.js → bus-3f5zfv5g.js} +17 -17
  45. package/dist/chunks/{instruction-discovery-r7tcy11j.js → bus-3h5qsd4j.js} +5 -5
  46. package/dist/chunks/{instruction-discovery-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{instruction-discovery-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
  48. package/dist/chunks/{instruction-discovery-ggb9x9sh.js → bus-3s4b3ezj.js} +4 -4
  49. package/dist/chunks/{instruction-discovery-rp1ha6gz.js → bus-421ekqkw.js} +4 -4
  50. package/dist/chunks/{instruction-discovery-c75qkfpz.js → bus-44s0n40r.js} +45 -45
  51. package/dist/chunks/{instruction-discovery-dacekyg1.js → bus-47rq8bk5.js} +17 -17
  52. package/dist/chunks/{instruction-discovery-ga3f1nea.js → bus-48yd86fd.js} +19 -19
  53. package/dist/chunks/{instruction-discovery-530caf3d.js → bus-4eca1hyp.js} +17 -17
  54. package/dist/chunks/{instruction-discovery-z5wdff31.js → bus-4jars7ak.js} +11 -11
  55. package/dist/chunks/{instruction-discovery-4v008n1t.js → bus-4v008n1t.js} +1 -1
  56. package/dist/chunks/{instruction-discovery-4xvmh7wp.js → bus-4xvmh7wp.js} +3 -3
  57. package/dist/chunks/{instruction-discovery-pazke3n5.js → bus-51e0cpsh.js} +30 -30
  58. package/dist/chunks/{instruction-discovery-dsgd38cz.js → bus-558jb3j2.js} +8 -8
  59. package/dist/chunks/{instruction-discovery-5vmx498f.js → bus-5aqqzxvt.js} +36 -36
  60. package/dist/chunks/{instruction-discovery-sfpq3tbz.js → bus-5dj834cv.js} +5 -5
  61. package/dist/chunks/{instruction-discovery-x1g9xmqt.js → bus-5g3z7av9.js} +16 -16
  62. package/dist/chunks/{instruction-discovery-mfwfc967.js → bus-5gk89hyb.js} +5 -5
  63. package/dist/chunks/{instruction-discovery-t7sqmb9b.js → bus-5jnymmb4.js} +19 -19
  64. package/dist/chunks/{instruction-discovery-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{instruction-discovery-hwackvbn.js → bus-5r00rv09.js} +24 -24
  66. package/dist/chunks/{instruction-discovery-8hsv30j4.js → bus-5s1pgksh.js} +20 -20
  67. package/dist/chunks/{instruction-discovery-1590c3s1.js → bus-5tym1825.js} +31 -31
  68. package/dist/chunks/{instruction-discovery-j17fdswx.js → bus-5x14y5p3.js} +1 -1
  69. package/dist/chunks/{instruction-discovery-p7vhpwh8.js → bus-5zrxpy3q.js} +5 -5
  70. package/dist/chunks/{instruction-discovery-4c7nxy6x.js → bus-60hpmyq7.js} +29 -29
  71. package/dist/chunks/{instruction-discovery-nwed43a8.js → bus-6b2dxyr2.js} +36 -36
  72. package/dist/chunks/{instruction-discovery-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
  73. package/dist/chunks/{instruction-discovery-yye1fjts.js → bus-6gt5xc60.js} +23 -23
  74. package/dist/chunks/{instruction-discovery-6pjqjmy2.js → bus-6pjqjmy2.js} +1 -1
  75. package/dist/chunks/{instruction-discovery-sv2aw4yq.js → bus-7193gb3b.js} +5 -5
  76. package/dist/chunks/{instruction-discovery-w8qtt4th.js → bus-76cb1hcw.js} +4 -4
  77. package/dist/chunks/{instruction-discovery-wc1rrhfs.js → bus-7ambk3z6.js} +37 -37
  78. package/dist/chunks/{instruction-discovery-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{instruction-discovery-4v651skh.js → bus-7t2432tj.js} +31 -31
  80. package/dist/chunks/{instruction-discovery-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
  81. package/dist/chunks/{instruction-discovery-b50rsrab.js → bus-7xg2jm5b.js} +5 -5
  82. package/dist/chunks/{instruction-discovery-hetnczqw.js → bus-7zrrpsam.js} +2 -2
  83. package/dist/chunks/{instruction-discovery-sn8kn0k4.js → bus-82at59ng.js} +45 -45
  84. package/dist/chunks/{instruction-discovery-8ev1pcqt.js → bus-8df9xh9g.js} +11 -11
  85. package/dist/chunks/{instruction-discovery-vwrkd0tw.js → bus-8gthgyb8.js} +18 -18
  86. package/dist/chunks/{instruction-discovery-wqbj2nsw.js → bus-8ss74ppy.js} +9 -9
  87. package/dist/chunks/{instruction-discovery-0bfbh6xc.js → bus-8t64g0wg.js} +23 -23
  88. package/dist/chunks/{instruction-discovery-zy3qe4qg.js → bus-8v7kcz56.js} +11 -11
  89. package/dist/chunks/{instruction-discovery-gxe7mkgn.js → bus-8wj4azc9.js} +11 -11
  90. package/dist/chunks/{instruction-discovery-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
  91. package/dist/chunks/{instruction-discovery-91rj84md.js → bus-91rj84md.js} +1 -1
  92. package/dist/chunks/{instruction-discovery-956c56jz.js → bus-956c56jz.js} +2 -2
  93. package/dist/chunks/{instruction-discovery-4z0we31x.js → bus-97h34c8v.js} +12 -12
  94. package/dist/chunks/{instruction-discovery-998yhzzq.js → bus-998yhzzq.js} +3 -3
  95. package/dist/chunks/{instruction-discovery-4bg9qwqs.js → bus-99v64gx3.js} +3 -3
  96. package/dist/chunks/{instruction-discovery-gdv3e3ns.js → bus-9dhj7pzk.js} +14 -14
  97. package/dist/chunks/{instruction-discovery-a1s9yrff.js → bus-9dyryqmk.js} +16 -16
  98. package/dist/chunks/{instruction-discovery-btwbdc9d.js → bus-9h3yt0ty.js} +26 -26
  99. package/dist/chunks/{instruction-discovery-30nw9pfg.js → bus-9k6vjqzw.js} +69 -69
  100. package/dist/chunks/{instruction-discovery-e5dqjz6v.js → bus-9p9xqj3m.js} +8 -8
  101. package/dist/chunks/{instruction-discovery-vt5qfbts.js → bus-a0hasf4t.js} +4 -4
  102. package/dist/chunks/{instruction-discovery-kw6kdjw7.js → bus-a4qy9fc3.js} +8 -8
  103. package/dist/chunks/{instruction-discovery-pw0xvpce.js → bus-a9h5srre.js} +50 -50
  104. package/dist/chunks/{instruction-discovery-6fcb95c6.js → bus-abr51mnh.js} +8 -8
  105. package/dist/chunks/{instruction-discovery-bjhzkqyk.js → bus-ar2j3j0f.js} +4 -4
  106. package/dist/chunks/{instruction-discovery-4g0xe90t.js → bus-ar37ae2g.js} +10 -10
  107. package/dist/chunks/{instruction-discovery-ayjs7tqn.js → bus-ayjs7tqn.js} +2 -2
  108. package/dist/chunks/{instruction-discovery-b0mv4wxm.js → bus-b0mv4wxm.js} +2 -2
  109. package/dist/chunks/{instruction-discovery-jzfegvfv.js → bus-b0sjjnk6.js} +20 -20
  110. package/dist/chunks/{instruction-discovery-d2887f8n.js → bus-b1pn0vxn.js} +4 -4
  111. package/dist/chunks/{instruction-discovery-5nnwax6m.js → bus-b6vsg801.js} +5 -5
  112. package/dist/chunks/{instruction-discovery-211y70yv.js → bus-b7g1t3mx.js} +22 -22
  113. package/dist/chunks/{instruction-discovery-6t1nvg56.js → bus-b7wm22tc.js} +19 -19
  114. package/dist/chunks/{instruction-discovery-jd4w9jy7.js → bus-bhwcrmj7.js} +10 -10
  115. package/dist/chunks/{instruction-discovery-pchh79h1.js → bus-bm2mqchg.js} +11 -11
  116. package/dist/chunks/{instruction-discovery-arhpxcwy.js → bus-bsry7g8x.js} +16 -16
  117. package/dist/chunks/{instruction-discovery-xd9cc171.js → bus-bstexjd6.js} +5 -5
  118. package/dist/chunks/{instruction-discovery-kkvzkess.js → bus-c1953ttw.js} +2 -2
  119. package/dist/chunks/{instruction-discovery-895h3qj5.js → bus-c1hj90w1.js} +4 -4
  120. package/dist/chunks/{instruction-discovery-5e17hjwv.js → bus-c6z72wfs.js} +7 -7
  121. package/dist/chunks/{instruction-discovery-jz5grvbc.js → bus-c9k9wqyf.js} +7 -7
  122. package/dist/chunks/{instruction-discovery-ka0113cw.js → bus-caesvrsr.js} +18 -18
  123. package/dist/chunks/{instruction-discovery-6np17vve.js → bus-cah09krx.js} +11 -11
  124. package/dist/chunks/{instruction-discovery-v15rxc3h.js → bus-ck9t0a91.js} +33 -33
  125. package/dist/chunks/{instruction-discovery-ecqm0jsy.js → bus-cmd2t0hw.js} +5 -5
  126. package/dist/chunks/{instruction-discovery-94dxmxj3.js → bus-czxyp6y6.js} +12 -12
  127. package/dist/chunks/{instruction-discovery-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
  128. package/dist/chunks/{instruction-discovery-jy2czfqv.js → bus-dds9zz6p.js} +4 -4
  129. package/dist/chunks/{instruction-discovery-dgj4ks8n.js → bus-dfv3sd11.js} +21 -21
  130. package/dist/chunks/{instruction-discovery-ths2029g.js → bus-dj1vw1rv.js} +18 -18
  131. package/dist/chunks/{instruction-discovery-dtq3ahye.js → bus-dxvj00dw.js} +26 -26
  132. package/dist/chunks/{instruction-discovery-kam2skhz.js → bus-dyh6ghqz.js} +10 -10
  133. package/dist/chunks/{instruction-discovery-azzb4j7n.js → bus-e4f4x5n9.js} +9 -9
  134. package/dist/chunks/{instruction-discovery-e834z07m.js → bus-e834z07m.js} +1 -1
  135. package/dist/chunks/{instruction-discovery-jp3vw6vz.js → bus-e8dk3ywt.js} +11 -11
  136. package/dist/chunks/{instruction-discovery-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{instruction-discovery-hsex03fq.js → bus-efnptb2b.js} +17 -17
  138. package/dist/chunks/{instruction-discovery-tzjzgnfr.js → bus-etmf56fp.js} +10 -10
  139. package/dist/chunks/{instruction-discovery-6hkx6zh1.js → bus-f4ce69wc.js} +8 -8
  140. package/dist/chunks/{instruction-discovery-27bs79w9.js → bus-fc6c4hv8.js} +2 -2
  141. package/dist/chunks/{instruction-discovery-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
  142. package/dist/chunks/{instruction-discovery-rgv8ccnj.js → bus-fm5nzcmq.js} +21 -21
  143. package/dist/chunks/{instruction-discovery-5wwswtpf.js → bus-fntzncgy.js} +17 -17
  144. package/dist/chunks/{instruction-discovery-77afn72v.js → bus-g3k29tzj.js} +13 -13
  145. package/dist/chunks/{instruction-discovery-g5h9c0rr.js → bus-g5h9c0rr.js} +2 -2
  146. package/dist/chunks/{instruction-discovery-976c7xh0.js → bus-g6rdvcdw.js} +15 -15
  147. package/dist/chunks/{instruction-discovery-nrybcd8t.js → bus-ghn7jtaj.js} +37 -37
  148. package/dist/chunks/{instruction-discovery-kawh22nd.js → bus-gjr461gh.js} +15 -15
  149. package/dist/chunks/{instruction-discovery-p16pb49z.js → bus-gq4ft62x.js} +17 -17
  150. package/dist/chunks/{instruction-discovery-744ctw13.js → bus-gq7wjy6f.js} +25 -25
  151. package/dist/chunks/{instruction-discovery-twhjf934.js → bus-gyvvxe68.js} +83 -83
  152. package/dist/chunks/{instruction-discovery-nzjpq5nr.js → bus-hsbqs0yf.js} +8 -8
  153. package/dist/chunks/{instruction-discovery-f4p9w5yx.js → bus-htpbdr1d.js} +26 -26
  154. package/dist/chunks/{instruction-discovery-q0yh9qyr.js → bus-hwj1j5q0.js} +4 -4
  155. package/dist/chunks/{instruction-discovery-j113cymg.js → bus-j113cymg.js} +1 -1
  156. package/dist/chunks/{instruction-discovery-mpa2ejqj.js → bus-j8nk5b8t.js} +3 -3
  157. package/dist/chunks/{instruction-discovery-1y33b0wd.js → bus-jg2v1dk6.js} +30 -30
  158. package/dist/chunks/{instruction-discovery-zhfftf23.js → bus-jsjjdmy1.js} +9 -9
  159. package/dist/chunks/{instruction-discovery-r44rfmgw.js → bus-jv78zvp3.js} +14 -14
  160. package/dist/chunks/{instruction-discovery-dh62xe4r.js → bus-jx89vj1k.js} +3 -3
  161. package/dist/chunks/{instruction-discovery-e7ha8gsg.js → bus-jzxk7jdc.js} +12 -12
  162. package/dist/chunks/{instruction-discovery-917zkqw6.js → bus-k0agw6wh.js} +13 -13
  163. package/dist/chunks/{instruction-discovery-6xe6qe1z.js → bus-k0rrpnh5.js} +183 -183
  164. package/dist/chunks/bus-k5d1wqjw.js +523 -0
  165. package/dist/chunks/{instruction-discovery-3c7qpzd7.js → bus-k7fcp7vh.js} +8 -8
  166. package/dist/chunks/{instruction-discovery-k814nvkf.js → bus-k814nvkf.js} +1 -1
  167. package/dist/chunks/{instruction-discovery-0p88zpcm.js → bus-kedzwwnr.js} +4 -4
  168. package/dist/chunks/{instruction-discovery-sqks5mt8.js → bus-kfag0pyw.js} +34 -34
  169. package/dist/chunks/{instruction-discovery-mhgesy0s.js → bus-kgex5j78.js} +11 -11
  170. package/dist/chunks/{instruction-discovery-afd6s2pj.js → bus-km2c56gg.js} +6 -6
  171. package/dist/chunks/{instruction-discovery-ax3f0566.js → bus-kph7g7k5.js} +22 -22
  172. package/dist/chunks/{instruction-discovery-fnnrv9gt.js → bus-kqnqd6x4.js} +4 -4
  173. package/dist/chunks/{instruction-discovery-ksdwf8r1.js → bus-krdanp5y.js} +23 -23
  174. package/dist/chunks/{instruction-discovery-wvpfhzx7.js → bus-ksqksx3k.js} +21 -21
  175. package/dist/chunks/{instruction-discovery-m1714858.js → bus-m1714858.js} +1 -1
  176. package/dist/chunks/{instruction-discovery-m37sd98t.js → bus-m37sd98t.js} +1 -1
  177. package/dist/chunks/{instruction-discovery-9jjdx8qq.js → bus-m4s0x578.js} +23 -23
  178. package/dist/chunks/{instruction-discovery-ptd3w0tf.js → bus-m8gt97br.js} +5 -5
  179. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{instruction-discovery-maspj1v3.js → bus-maspj1v3.js} +1 -1
  181. package/dist/chunks/{instruction-discovery-wp1vb0e3.js → bus-mgbmf9v5.js} +20 -20
  182. package/dist/chunks/{instruction-discovery-45keak5f.js → bus-mmgwrvtt.js} +15 -15
  183. package/dist/chunks/{instruction-discovery-n40jn0ye.js → bus-mn6r1kh0.js} +29 -29
  184. package/dist/chunks/{instruction-discovery-t7npxncv.js → bus-mnd9dafd.js} +8 -8
  185. package/dist/chunks/{instruction-discovery-grxvpwc8.js → bus-ms080em1.js} +24 -24
  186. package/dist/chunks/{instruction-discovery-ykdavcmn.js → bus-ms3syv86.js} +14 -14
  187. package/dist/chunks/bus-mswbh5s9.js +257 -0
  188. package/dist/chunks/{instruction-discovery-39ebgr3a.js → bus-mx9h14xa.js} +28 -28
  189. package/dist/chunks/{instruction-discovery-n0p0277s.js → bus-n0p0277s.js} +1 -1
  190. package/dist/chunks/{instruction-discovery-snzpnf52.js → bus-n5gmbbrg.js} +43 -43
  191. package/dist/chunks/{instruction-discovery-nah043kf.js → bus-nah043kf.js} +1 -1
  192. package/dist/chunks/{instruction-discovery-7066n3mz.js → bus-nn3pn70b.js} +4 -4
  193. package/dist/chunks/{instruction-discovery-mghkatew.js → bus-nw6j7gpm.js} +11 -11
  194. package/dist/chunks/{instruction-discovery-p015t6z3.js → bus-p015t6z3.js} +2 -2
  195. package/dist/chunks/{instruction-discovery-d5xa8env.js → bus-p12nptkx.js} +11 -11
  196. package/dist/chunks/{instruction-discovery-j76t8jdc.js → bus-p1c1zyxr.js} +49 -49
  197. package/dist/chunks/bus-p1hxy2vt.js +26 -0
  198. package/dist/chunks/{instruction-discovery-cyq9fb3q.js → bus-p8var5ry.js} +1 -1
  199. package/dist/chunks/{instruction-discovery-1vdntpm3.js → bus-pacbbjc0.js} +5 -5
  200. package/dist/chunks/{instruction-discovery-j4c7ztsh.js → bus-pbqc7r64.js} +21 -21
  201. package/dist/chunks/{instruction-discovery-wexbz3y3.js → bus-pdjw8hws.js} +10 -10
  202. package/dist/chunks/{instruction-discovery-hj5ewp7g.js → bus-pdy1hqnf.js} +31 -31
  203. package/dist/chunks/{instruction-discovery-pknna89w.js → bus-pknna89w.js} +1 -1
  204. package/dist/chunks/{instruction-discovery-nr3623c1.js → bus-ps63y3s5.js} +18 -18
  205. package/dist/chunks/{instruction-discovery-54m57xnc.js → bus-pyv2pjn5.js} +29 -29
  206. package/dist/chunks/{instruction-discovery-w3qk2d3s.js → bus-pz0hzqp4.js} +45 -45
  207. package/dist/chunks/{instruction-discovery-2hbzz1h7.js → bus-q306eq19.js} +24 -24
  208. package/dist/chunks/{instruction-discovery-rqmvfmcr.js → bus-q4q80s4a.js} +16 -16
  209. package/dist/chunks/{instruction-discovery-qjgzc4b4.js → bus-qjgzc4b4.js} +1 -1
  210. package/dist/chunks/{instruction-discovery-1y0wdj51.js → bus-qv7y9773.js} +4 -4
  211. package/dist/chunks/{instruction-discovery-wz66500m.js → bus-qx1n59h8.js} +18 -18
  212. package/dist/chunks/{instruction-discovery-7njvtxjk.js → bus-qzr9ezbv.js} +5 -5
  213. package/dist/chunks/{instruction-discovery-r0yr0wbs.js → bus-r0yr0wbs.js} +1 -1
  214. package/dist/chunks/{instruction-discovery-axxxggh9.js → bus-r15835qb.js} +3 -3
  215. package/dist/chunks/{instruction-discovery-n8ytzayn.js → bus-r6tddt1e.js} +29 -29
  216. package/dist/chunks/{instruction-discovery-06tsrf37.js → bus-r86349qm.js} +6 -6
  217. package/dist/chunks/{instruction-discovery-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
  218. package/dist/chunks/{instruction-discovery-c3cfh5w6.js → bus-rda9yzm6.js} +7 -7
  219. package/dist/chunks/{instruction-discovery-fhrrk2wn.js → bus-rrje2nwc.js} +23 -23
  220. package/dist/chunks/{instruction-discovery-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
  221. package/dist/chunks/{instruction-discovery-9btmn35n.js → bus-rtdrjve7.js} +25 -25
  222. package/dist/chunks/{instruction-discovery-xak61r58.js → bus-rvhr0thr.js} +83 -83
  223. package/dist/chunks/{instruction-discovery-2gy537ph.js → bus-rxt7kx39.js} +42 -42
  224. package/dist/chunks/{instruction-discovery-s1fwbtwx.js → bus-sfmp0f7b.js} +13 -13
  225. package/dist/chunks/{instruction-discovery-en1fsfyg.js → bus-sk0g3fth.js} +6 -6
  226. package/dist/chunks/{instruction-discovery-rmt6m6se.js → bus-smfcvx02.js} +9 -9
  227. package/dist/chunks/{instruction-discovery-sqjzf8x2.js → bus-sqjzf8x2.js} +1 -1
  228. package/dist/chunks/{instruction-discovery-4kg35d6f.js → bus-sqvkc2gg.js} +19 -19
  229. package/dist/chunks/{instruction-discovery-f6s8y378.js → bus-sz8868xq.js} +7 -7
  230. package/dist/chunks/{instruction-discovery-qjne94dq.js → bus-t4n7m6zf.js} +25 -25
  231. package/dist/chunks/{instruction-discovery-5xya02hf.js → bus-t63bt17c.js} +11 -11
  232. package/dist/chunks/{instruction-discovery-t211gxpv.js → bus-t8nkzmzj.js} +5 -5
  233. package/dist/chunks/{instruction-discovery-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
  234. package/dist/chunks/{instruction-discovery-02rpsdwq.js → bus-tdj3cxsw.js} +45 -45
  235. package/dist/chunks/{instruction-discovery-tvqpdctp.js → bus-tnhdtpkv.js} +24 -24
  236. package/dist/chunks/{instruction-discovery-5hwp3mnm.js → bus-tpfax3t6.js} +43 -43
  237. package/dist/chunks/{instruction-discovery-hw621kav.js → bus-tqx9c315.js} +8 -8
  238. package/dist/chunks/{instruction-discovery-tw8zr1ps.js → bus-tw8zr1ps.js} +1 -1
  239. package/dist/chunks/{instruction-discovery-twv2r8f4.js → bus-twv2r8f4.js} +2 -2
  240. package/dist/chunks/{instruction-discovery-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
  241. package/dist/chunks/{instruction-discovery-wnvrcxtc.js → bus-v5kv89ke.js} +12 -12
  242. package/dist/chunks/{instruction-discovery-vd3b3yk9.js → bus-vd3b3yk9.js} +1 -1
  243. package/dist/chunks/{instruction-discovery-veqvce7d.js → bus-veqvce7d.js} +1 -1
  244. package/dist/chunks/{instruction-discovery-799ckdtf.js → bus-vgk61ywp.js} +9 -9
  245. package/dist/chunks/{instruction-discovery-qwqr63vh.js → bus-vj8mtejf.js} +12 -12
  246. package/dist/chunks/{instruction-discovery-qybjhjrg.js → bus-vwj3jgr1.js} +15 -15
  247. package/dist/chunks/{instruction-discovery-znvxebx5.js → bus-w0569hsk.js} +24 -24
  248. package/dist/chunks/{instruction-discovery-5enarcya.js → bus-w2eysc6j.js} +6 -6
  249. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{instruction-discovery-8e6vbpwd.js → bus-w52v0pzm.js} +15 -15
  251. package/dist/chunks/{instruction-discovery-9efckeb8.js → bus-w5800457.js} +9 -9
  252. package/dist/chunks/{instruction-discovery-32b2d01b.js → bus-w6839knk.js} +18 -18
  253. package/dist/chunks/{instruction-discovery-e45fk36t.js → bus-w76xjer3.js} +4 -4
  254. package/dist/chunks/{instruction-discovery-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
  255. package/dist/chunks/{instruction-discovery-rfs27yzd.js → bus-wd652945.js} +11 -11
  256. package/dist/chunks/{instruction-discovery-wd87259q.js → bus-wd87259q.js} +1 -1
  257. package/dist/chunks/{instruction-discovery-asbvzmdg.js → bus-wfmpnrq7.js} +4 -4
  258. package/dist/chunks/{instruction-discovery-769y8set.js → bus-wm3cz6bg.js} +30 -30
  259. package/dist/chunks/{instruction-discovery-gqz3wpgd.js → bus-wncd5gvv.js} +11 -11
  260. package/dist/chunks/{instruction-discovery-x10b8zya.js → bus-wpcz644m.js} +15 -15
  261. package/dist/chunks/{instruction-discovery-rx02erg5.js → bus-wre4fh0b.js} +33 -33
  262. package/dist/chunks/{instruction-discovery-sxbjjvas.js → bus-wsd07rfm.js} +21 -21
  263. package/dist/chunks/{instruction-discovery-wyr759tm.js → bus-wznw0skg.js} +19 -19
  264. package/dist/chunks/{instruction-discovery-a2a47mdn.js → bus-x55w4aqt.js} +21 -21
  265. package/dist/chunks/{instruction-discovery-vh9wejw9.js → bus-x9e6ksmw.js} +46 -46
  266. package/dist/chunks/{instruction-discovery-06hkf91z.js → bus-xar86st9.js} +7 -7
  267. package/dist/chunks/{instruction-discovery-dvte4szm.js → bus-xbcypdf3.js} +5 -5
  268. package/dist/chunks/{instruction-discovery-2ns20q01.js → bus-xeb0t073.js} +1 -1
  269. package/dist/chunks/{instruction-discovery-0z1qyetw.js → bus-xm26fr51.js} +11 -11
  270. package/dist/chunks/{instruction-discovery-6kakegn7.js → bus-xrpfz6f8.js} +9 -9
  271. package/dist/chunks/{instruction-discovery-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
  272. package/dist/chunks/{instruction-discovery-f2tyvzem.js → bus-yhjes8yv.js} +3 -3
  273. package/dist/chunks/{instruction-discovery-p6f33tkb.js → bus-yj5wzhce.js} +17 -17
  274. package/dist/chunks/{instruction-discovery-s866dxyg.js → bus-yrnwxx36.js} +24 -24
  275. package/dist/chunks/{instruction-discovery-s4gh6t7c.js → bus-ywxn696m.js} +30 -30
  276. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{instruction-discovery-z38nccrw.js → bus-z38nccrw.js} +1 -1
  278. package/dist/chunks/bus-z7bdqmx5.js +18 -0
  279. package/dist/chunks/{instruction-discovery-c5c0bz0t.js → bus-za6yq9hg.js} +5 -5
  280. package/dist/chunks/{instruction-discovery-wd0mghyc.js → bus-zegptfkw.js} +5 -5
  281. package/dist/chunks/{instruction-discovery-sgr7cxxz.js → bus-zfh6qh7b.js} +13 -13
  282. package/dist/chunks/{instruction-discovery-hnypkknm.js → bus-zj5v4v4s.js} +16 -16
  283. package/dist/chunks/{instruction-discovery-zkg84ctx.js → bus-zkg84ctx.js} +1 -1
  284. package/dist/chunks/{instruction-discovery-9sd5yz6g.js → bus-zs3fm22t.js} +25 -25
  285. package/dist/chunks/{instruction-discovery-zxb8j96g.js → bus-zt2awk40.js} +27 -27
  286. package/dist/chunks/{instruction-discovery-6e8867gw.js → bus-zwzj79wc.js} +12 -12
  287. package/dist/chunks/{instruction-discovery-ezb8g5mg.js → bus-zz3ytsxz.js} +6 -6
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +115 -115
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +92 -92
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +106 -106
  429. package/dist/form.js +88 -88
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +107 -107
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +85 -85
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +140 -140
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +101 -101
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +104 -104
  482. package/dist/models-dev.js +109 -109
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +115 -115
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +92 -92
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +76 -76
  493. package/dist/plugin/command.js +102 -102
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +123 -123
  528. package/dist/plugin/provider/openai-context-caps.js +92 -92
  529. package/dist/plugin/provider/openai.js +116 -116
  530. package/dist/plugin/provider/opencode.js +103 -103
  531. package/dist/plugin/provider/openrouter.js +93 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +93 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +92 -92
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +93 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +171 -171
  543. package/dist/plugin/sdk.js +78 -78
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +134 -134
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +352 -352
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +88 -88
  551. package/dist/plugin/vcs/hg.js +88 -88
  552. package/dist/plugin/verbosity.js +95 -95
  553. package/dist/plugin/warming.js +114 -114
  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 +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  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 +103 -103
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +101 -101
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +87 -87
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +99 -99
  575. package/dist/rpc.js +88 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +138 -138
  580. package/dist/session/context.js +164 -164
  581. package/dist/session/diff.js +90 -90
  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 +221 -221
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +164 -164
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +95 -95
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +99 -99
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +122 -122
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +132 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +107 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +96 -96
  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 +102 -102
  608. package/dist/session/runner/publish-llm-event.js +116 -116
  609. package/dist/session/runner/retry.js +5 -5
  610. package/dist/session/runner/step.js +128 -128
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +163 -163
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +105 -105
  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 +212 -212
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +168 -168
  623. package/dist/session/to-session-error.js +114 -114
  624. package/dist/session/transfer.js +214 -214
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +218 -218
  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 +15 -15
  631. package/dist/shell.js +132 -132
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +109 -109
  634. package/dist/skill.js +114 -114
  635. package/dist/snapshot.js +93 -93
  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 +137 -137
  640. package/dist/tool/plugin/edit.js +122 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +126 -126
  643. package/dist/tool/plugin/grep.js +126 -126
  644. package/dist/tool/plugin/mcp-resource.js +126 -126
  645. package/dist/tool/plugin/opencode.js +111 -111
  646. package/dist/tool/plugin/patch.js +124 -124
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +123 -123
  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 +219 -219
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +115 -115
  654. package/dist/tool/plugin/websearch.js +116 -116
  655. package/dist/tool/plugin/write.js +120 -120
  656. package/dist/tool/read-filesystem.js +102 -102
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +16 -16
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +95 -95
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +84 -84
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +81 -81
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/instruction-discovery-83cry12x.js +0 -26
  692. package/dist/chunks/instruction-discovery-hcne681p.js +0 -257
  693. package/dist/chunks/instruction-discovery-mrc3e54s.js +0 -523
  694. package/dist/chunks/instruction-discovery-qmh7vbk2.js +0 -18
  695. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{instruction-discovery-24dcb14g.js → bus-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{instruction-discovery-2710q6r3.js → bus-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{instruction-discovery-2bv980vf.js → bus-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{instruction-discovery-359p4xyc.js → bus-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{instruction-discovery-3asan66x.js → bus-3asan66x.js} +0 -0
  705. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{instruction-discovery-53557ph1.js → bus-53557ph1.js} +0 -0
  712. /package/dist/chunks/{instruction-discovery-550bvhaj.js → bus-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{instruction-discovery-5fjb7ams.js → bus-5fjb7ams.js} +0 -0
  714. /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{instruction-discovery-6prwharc.js → bus-6prwharc.js} +0 -0
  716. /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{instruction-discovery-7m9af43g.js → bus-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{instruction-discovery-822emrt2.js → bus-822emrt2.js} +0 -0
  720. /package/dist/chunks/{instruction-discovery-84wd9syh.js → bus-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{instruction-discovery-8n3pysct.js → bus-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{instruction-discovery-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{instruction-discovery-a058387c.js → bus-a058387c.js} +0 -0
  727. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{instruction-discovery-af5trqkr.js → bus-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{instruction-discovery-afrmfg78.js → bus-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{instruction-discovery-d9fn303g.js → bus-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{instruction-discovery-dajrwvna.js → bus-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{instruction-discovery-dap0rakb.js → bus-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{instruction-discovery-df08tz66.js → bus-df08tz66.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-dy18nga0.js → bus-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-ec1grn59.js → bus-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-faypxj3z.js → bus-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-fd410y7t.js → bus-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-g86h250q.js → bus-g86h250q.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-gftt206x.js → bus-gftt206x.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-hk9envan.js → bus-hk9envan.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-m18g726c.js → bus-m18g726c.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-mp448xyj.js → bus-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-njntx4h6.js → bus-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-pkyv6v7h.js → bus-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-q74kybfr.js → bus-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{instruction-discovery-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{instruction-discovery-w803qqfp.js → bus-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{instruction-discovery-wjj7prxr.js → bus-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{instruction-discovery-wtztk69x.js → bus-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{instruction-discovery-x61499pn.js → bus-x61499pn.js} +0 -0
  789. /package/dist/chunks/{instruction-discovery-y44na4kk.js → bus-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{instruction-discovery-y8f7s663.js → bus-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{instruction-discovery-ym463w8f.js → bus-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{instruction-discovery-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./instruction-discovery-z5v4ffb3.js";
3
+ } from "./bus-z5v4ffb3.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./instruction-discovery-mfwfc967.js";
7
+ } from "./bus-5gk89hyb.js";
8
8
  import {
9
- parse5,
9
+ parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./instruction-discovery-xd9cc171.js";
13
+ } from "./bus-bstexjd6.js";
14
14
  import {
15
- Service76,
16
- node80
17
- } from "./instruction-discovery-jd4w9jy7.js";
15
+ Service74,
16
+ node78
17
+ } from "./bus-bhwcrmj7.js";
18
18
  import {
19
19
  __export
20
- } from "./instruction-discovery-9rqn6x4v.js";
20
+ } from "./bus-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,7 +30,7 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service60,
33
+ Service: () => Service58,
34
34
  isError: () => isError2,
35
35
  node: () => node62,
36
36
  validateBranch: () => validateBranch2
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service60 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service58 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,25 +101,25 @@ 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(Service60, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service84;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service76;
110
- return Service60.of({
109
+ const kv = yield* Service74;
110
+ return Service58.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse5(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse4(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse5(origin) : undefined;
122
+ const originReference = origin ? parse4(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
168
168
  });
169
169
  }));
170
170
  var node62 = makeGlobalNode({
171
- service: Service60,
171
+ service: Service58,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node80]
173
+ deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node78]
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, Service60, isError2, validateBranch2, node62, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service58, isError2, validateBranch2, node62, exports_repository_cache };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./instruction-discovery-vt5qfbts.js";
4
+ } from "./bus-a0hasf4t.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./instruction-discovery-vd3b3yk9.js";
8
+ } from "./bus-vd3b3yk9.js";
9
9
  import {
10
10
  key2
11
- } from "./instruction-discovery-bjhzkqyk.js";
11
+ } from "./bus-ar2j3j0f.js";
12
12
  import {
13
- ID14,
14
- Service79,
15
- node83,
16
- Event17
17
- } from "./instruction-discovery-1y33b0wd.js";
13
+ ID9,
14
+ Service66,
15
+ node70,
16
+ Event13
17
+ } from "./bus-jg2v1dk6.js";
18
18
  import {
19
19
  Service82,
20
20
  node86
21
- } from "./instruction-discovery-ptd3w0tf.js";
21
+ } from "./bus-m8gt97br.js";
22
22
  import {
23
23
  __export
24
- } from "./instruction-discovery-9rqn6x4v.js";
24
+ } from "./bus-9rqn6x4v.js";
25
25
 
26
26
  // src/provider.ts
27
27
  var exports_provider3 = {};
@@ -30,13 +30,13 @@ __export(exports_provider3, {
30
30
  Compaction: () => Compaction3,
31
31
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
32
32
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
33
- Event: () => Event16,
34
- ID: () => ID13,
35
- Info: () => Info22,
33
+ Event: () => Event12,
34
+ ID: () => ID8,
35
+ Info: () => Info18,
36
36
  LoadError: () => LoadError3,
37
37
  Provider: () => exports_provider3,
38
- Request: () => Request3,
39
- Service: () => Service78,
38
+ Request: () => Request2,
39
+ Service: () => Service65,
40
40
  Settings: () => Settings2,
41
41
  Transport: () => Transport2,
42
42
  aisdk: () => aisdk2,
@@ -48,7 +48,7 @@ __export(exports_provider3, {
48
48
  mergeOverlay: () => mergeOverlay2,
49
49
  modelSettings: () => modelSettings2,
50
50
  nativeSettings: () => nativeSettings2,
51
- node: () => node82,
51
+ node: () => node69,
52
52
  packageName: () => packageName2,
53
53
  timeout: () => timeout2,
54
54
  timeouts: () => timeouts2
@@ -323,8 +323,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
323
323
  var decode = Schema.decodeUnknownSync(Legacy);
324
324
 
325
325
  // src/provider.ts
326
- import { Event as Event16 } from "@opencode/schema/provider";
327
- var ID13 = Provider.ID;
326
+ import { Event as Event12 } from "@opencode/schema/provider";
327
+ var ID8 = Provider.ID;
328
328
  var AISDK_PREFIX2 = "aisdk:";
329
329
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
330
330
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -534,13 +534,13 @@ function mergeHeaders2(base, overlay) {
534
534
  return result;
535
535
  }, new Map).values());
536
536
  }
537
- var Request3 = Provider.Request;
537
+ var Request2 = Provider.Request;
538
538
  var Compaction3 = Provider.Compaction;
539
539
  var Transport2 = Provider.Transport;
540
540
  var Settings2 = Provider.Settings;
541
- var Info22 = Provider.Info;
541
+ var Info18 = Provider.Info;
542
542
 
543
- class Service78 extends Context.Service()("@opencode/Provider") {
543
+ class Service65 extends Context.Service()("@opencode/Provider") {
544
544
  }
545
545
  var definitions = new WeakMap;
546
546
  function index(providerID, models) {
@@ -553,9 +553,9 @@ function index(providerID, models) {
553
553
  definitions.set(models, indexes);
554
554
  return result;
555
555
  }
556
- var layer = Layer.effect(Service78, Effect2.gen(function* () {
556
+ var layer = Layer.effect(Service65, Effect2.gen(function* () {
557
557
  const bus = yield* Service85;
558
- const integrations = yield* Service79;
558
+ const integrations = yield* Service66;
559
559
  const location = yield* Service82;
560
560
  const state = create3({
561
561
  name: "provider",
@@ -567,7 +567,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
567
567
  const current = records.get(id);
568
568
  if (current)
569
569
  return current;
570
- const added = { provider: Info22.empty(id), models: new Map };
570
+ const added = { provider: Info18.empty(id), models: new Map };
571
571
  records.set(id, added);
572
572
  maps.add(added.models);
573
573
  return added;
@@ -648,7 +648,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
648
648
  const available = Array.from(records.values()).filter((record) => {
649
649
  if (record.provider.activation === "disabled")
650
650
  return false;
651
- const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
651
+ const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
652
652
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
653
653
  return false;
654
654
  if (record.provider.activation === "enabled")
@@ -674,8 +674,8 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
674
674
  location: { directory: location.directory, workspaceID: location.workspaceID }
675
675
  });
676
676
  });
677
- yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
- return Service78.of({
677
+ yield* bus.subscribe([Event13.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
+ return Service65.of({
679
679
  transform: state.transform,
680
680
  reload: state.reload,
681
681
  get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -684,7 +684,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
684
684
  snapshot
685
685
  });
686
686
  }));
687
- var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83, node86] });
687
+ var node69 = makeLocationNode({ service: Service65, layer, deps: [node89, node70, node86] });
688
688
  var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
689
689
  const module = yield* Effect2.tryPromise({
690
690
  try: () => {
@@ -706,4 +706,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
706
706
  return module;
707
707
  });
708
708
 
709
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service78, node82, exports_provider3, Event16 };
709
+ export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info18, Service65, node69, exports_provider3, Event12 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID14,
3
- Service79,
4
- node83
5
- } from "./instruction-discovery-1y33b0wd.js";
2
+ ID9,
3
+ Service66,
4
+ node70
5
+ } from "./bus-jg2v1dk6.js";
6
6
  import {
7
- ID13,
7
+ ID8,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service78,
19
- node82
20
- } from "./instruction-discovery-54m57xnc.js";
18
+ Service65,
19
+ node69
20
+ } from "./bus-pyv2pjn5.js";
21
21
  import {
22
- Service64,
23
- node66
24
- } from "./instruction-discovery-e7ha8gsg.js";
22
+ Service52,
23
+ node56
24
+ } from "./bus-jzxk7jdc.js";
25
25
  import {
26
- ID12,
26
+ ID7,
27
27
  VariantID2,
28
28
  Ref2,
29
- Service77,
30
- node81,
29
+ Service64,
30
+ node68,
31
31
  supportsText2
32
- } from "./instruction-discovery-hj5ewp7g.js";
32
+ } from "./bus-pdy1hqnf.js";
33
33
  import {
34
34
  __export
35
- } from "./instruction-discovery-9rqn6x4v.js";
35
+ } from "./bus-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service63,
44
+ Service: () => Service51,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer24,
52
- node: () => node65,
51
+ layer: () => layer20,
52
+ node: () => node55,
53
53
  resolveModel: () => resolveModel2,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
59
59
  import { Context, Effect, Layer, Schema, Struct } from "effect";
60
60
  import { Npm } from "@opencode/util/npm";
61
61
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
- providerID: ID13,
63
- modelID: ID12,
62
+ providerID: ID8,
63
+ modelID: ID7,
64
64
  variant: VariantID2
65
65
  }) {
66
66
  get message() {
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
69
69
  }
70
70
 
71
71
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
- providerID: ID13,
73
- modelID: ID12,
72
+ providerID: ID8,
73
+ modelID: ID7,
74
74
  package: Schema.String
75
75
  }) {
76
76
  get message() {
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
80
80
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
81
 
82
82
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
- providerID: ID13,
84
- modelID: ID12,
83
+ providerID: ID8,
84
+ modelID: ID7,
85
85
  package: Schema.String,
86
86
  detail: Schema.String
87
87
  }) {
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
91
91
  }
92
92
 
93
93
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
- providerID: ID13,
95
- modelID: ID12,
94
+ providerID: ID8,
95
+ modelID: ID7,
96
96
  package: Schema.String,
97
97
  phase: InitializationPhase2,
98
98
  detail: Schema.String
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
103
103
  }
104
104
 
105
105
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
- providerID: ID13,
107
- modelID: ID12,
106
+ providerID: ID8,
107
+ modelID: ID7,
108
108
  variables: Schema.Array(Schema.String)
109
109
  }) {
110
110
  get message() {
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
113
113
  }
114
114
 
115
115
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
- providerID: ID13,
117
- modelID: ID12,
116
+ providerID: ID8,
117
+ modelID: ID7,
118
118
  route: Schema.String
119
119
  }) {
120
120
  get message() {
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service63 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service51 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
234
234
  return tokenSettings(specifier, credential.access);
235
235
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
236
236
  return { auth: "sigv4" };
237
- if (model.providerID === ID13.azure)
237
+ if (model.providerID === ID8.azure)
238
238
  return tokenSettings(specifier, "azure-cli");
239
239
  return {};
240
240
  };
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
269
269
  };
270
270
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
271
271
  var hasPackage2 = (model) => Boolean(model.package);
272
- var layer24 = Layer.effect(Service63, Effect.gen(function* () {
273
- const providers = yield* Service78;
274
- const models = yield* Service77;
275
- const integrations = yield* Service79;
272
+ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
273
+ const providers = yield* Service65;
274
+ const models = yield* Service64;
275
+ const integrations = yield* Service66;
276
276
  const npm = yield* Npm.Service;
277
- const aisdk = yield* Service64;
277
+ const aisdk = yield* Service52;
278
278
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
279
279
  const provider = yield* providers.get(selected.providerID);
280
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
280
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
281
281
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
282
282
  const selectedVariant = yield* withVariant2(selected, variant);
283
283
  const runtimeInfo = {
@@ -304,7 +304,7 @@ var layer24 = Layer.effect(Service63, Effect.gen(function* () {
304
304
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
305
305
  };
306
306
  });
307
- return Service63.of({
307
+ return Service51.of({
308
308
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
309
309
  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((model) => hasPackage2(model) && supportsText2(model)))));
310
310
  if (!selected)
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
321
321
  const name = packageName2(packageName);
322
322
  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/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
323
323
  }
324
- var node65 = makeLocationNode({
325
- service: Service63,
326
- layer: layer24,
327
- deps: [node82, node81, node83, Npm.node, node66]
324
+ var node55 = makeLocationNode({
325
+ service: Service51,
326
+ layer: layer20,
327
+ deps: [node69, node68, node70, Npm.node, node56]
328
328
  });
329
329
 
330
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service63, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node65, exports_model_resolver };
330
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service51, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node55, exports_model_resolver };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make20,
4
+ make21,
5
5
  diffByKey2
6
- } from "./instruction-discovery-e5dqjz6v.js";
6
+ } from "./bus-9p9xqj3m.js";
7
7
  import {
8
- ID5,
8
+ ID4,
9
9
  Name2,
10
- available3,
11
- Service53,
12
- node55
13
- } from "./instruction-discovery-ksdwf8r1.js";
10
+ available2,
11
+ Service37,
12
+ node40
13
+ } from "./bus-krdanp5y.js";
14
14
  import {
15
15
  __export
16
- } from "./instruction-discovery-9rqn6x4v.js";
16
+ } from "./bus-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions4 = {};
20
- __export(exports_instructions4, {
21
- Service: () => Service32,
22
- SkillInstructions: () => exports_instructions4,
23
- node: () => node36
19
+ var exports_instructions2 = {};
20
+ __export(exports_instructions2, {
21
+ Service: () => Service24,
22
+ SkillInstructions: () => exports_instructions2,
23
+ node: () => node28
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID5,
28
+ id: ID4,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -64,15 +64,15 @@ var update = (previous, current) => {
64
64
  `);
65
65
  };
66
66
 
67
- class Service32 extends Context.Service()("@opencode/SkillInstructions") {
67
+ class Service24 extends Context.Service()("@opencode/SkillInstructions") {
68
68
  }
69
- var layer = Layer.effect(Service32, Effect.gen(function* () {
70
- const skills = yield* Service53;
71
- return Service32.of({
69
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
70
+ const skills = yield* Service37;
71
+ return Service24.of({
72
72
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
73
- const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
- return make20({
75
- key: Key3.make("core/skill-guidance"),
73
+ const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
+ return make21({
75
+ key: Key4.make("core/skill-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(available.length === 0 ? removed2 : available),
78
78
  render: {
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
84
84
  })
85
85
  });
86
86
  }));
87
- var node36 = makeLocationNode({ service: Service32, layer, deps: [node55] });
87
+ var node28 = makeLocationNode({ service: Service24, layer, deps: [node40] });
88
88
 
89
- export { Service32, node36, exports_instructions4 };
89
+ export { Service24, node28, exports_instructions2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./instruction-discovery-z5v4ffb3.js";
3
+ } from "./bus-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./instruction-discovery-1y0wdj51.js";
6
+ } from "./bus-qv7y9773.js";
7
7
  import {
8
- Info11
9
- } from "./instruction-discovery-spa8vgy8.js";
8
+ Info13
9
+ } from "./bus-3dcm03ph.js";
10
10
  import {
11
11
  Info12
12
- } from "./instruction-discovery-t211gxpv.js";
12
+ } from "./bus-t8nkzmzj.js";
13
13
  import {
14
- Info13
15
- } from "./instruction-discovery-1vdntpm3.js";
14
+ Info14
15
+ } from "./bus-pacbbjc0.js";
16
16
  import {
17
17
  Spec2
18
- } from "./instruction-discovery-p7vhpwh8.js";
18
+ } from "./bus-5zrxpy3q.js";
19
19
  import {
20
- Info10
21
- } from "./instruction-discovery-b50rsrab.js";
20
+ Info11
21
+ } from "./bus-7xg2jm5b.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -28,10 +28,10 @@ import {
28
28
  migrateMcp2,
29
29
  migrateProvider2,
30
30
  providerID2
31
- } from "./instruction-discovery-7066n3mz.js";
31
+ } from "./bus-nn3pn70b.js";
32
32
  import {
33
33
  __export
34
- } from "./instruction-discovery-9rqn6x4v.js";
34
+ } from "./bus-9rqn6x4v.js";
35
35
 
36
36
  // src/config/normalize.ts
37
37
  var exports_normalize = {};
@@ -103,7 +103,7 @@ function normalize2(input) {
103
103
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
104
104
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
105
105
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
106
- const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
+ const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
107
107
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
108
108
  const migratedSmallModel = modelSelection2(legacySmallModel);
109
109
  if (legacySmallModel && !migratedSmallModel)
@@ -117,7 +117,7 @@ function normalize2(input) {
117
117
  model: migratedSmallModel,
118
118
  ...legacyAgents.title
119
119
  };
120
- const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
+ const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
121
121
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
122
122
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
123
123
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
219
219
  normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
220
220
  return;
221
221
  }
222
- const server = decodeValue(Info13, value, path, diagnostics);
222
+ const server = decodeValue(Info14, value, path, diagnostics);
223
223
  if (server !== undefined)
224
224
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
225
225
  });
@@ -440,7 +440,7 @@ function migrateProviders(value, diagnostics) {
440
440
  diagnoseProviderUnsupported(raw, path, diagnostics);
441
441
  if (invalidProviderOverlays(raw, path, diagnostics))
442
442
  return [];
443
- const provider = decodeValue(Info10, raw, path, diagnostics);
443
+ const provider = decodeValue(Info11, raw, path, diagnostics);
444
444
  if (provider === undefined)
445
445
  return [];
446
446
  const destination = providerID2(name);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
@@ -8,7 +8,7 @@ __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
10
  Entries: () => Entries2,
11
- Info: () => Info14,
11
+ Info: () => Info15,
12
12
  Object: () => Object2,
13
13
  Rule: () => Rule2
14
14
  });
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
22
  var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info14 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
24
+ var Info15 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule2, Info14, exports_permission };
31
+ export { Action2, Entries2, Object2, Rule2, Info15, exports_permission };