@opencode/core 0.0.0-dev-20878 → 0.0.0-dev-20881

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 (790) 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 +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{models-dev-nz070p1t.js → file-access-048dg1q1.js} +20 -20
  8. package/dist/chunks/{models-dev-1ag258ha.js → file-access-0996j27y.js} +18 -18
  9. package/dist/chunks/{models-dev-wtnp8nrr.js → file-access-0az8jfhv.js} +32 -32
  10. package/dist/chunks/{models-dev-tg7bkhef.js → file-access-0bg0bx69.js} +5 -5
  11. package/dist/chunks/{models-dev-gs7j91g9.js → file-access-0brq2jxt.js} +4 -4
  12. package/dist/chunks/{models-dev-7vvfjza7.js → file-access-0c4n6ehw.js} +4 -4
  13. package/dist/chunks/{models-dev-44ztmpr7.js → file-access-0ebkhaww.js} +9 -9
  14. package/dist/chunks/{models-dev-2k8khapm.js → file-access-0jwsre1p.js} +5 -5
  15. package/dist/chunks/{models-dev-0vbcp93d.js → file-access-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{models-dev-hg0bbgej.js → file-access-0xydnfy0.js} +45 -45
  17. package/dist/chunks/{models-dev-atgr3bca.js → file-access-0y8qz4tc.js} +10 -10
  18. package/dist/chunks/{models-dev-f6re4cr6.js → file-access-136xvk4g.js} +5 -5
  19. package/dist/chunks/{models-dev-7h45aa62.js → file-access-13y28twm.js} +14 -14
  20. package/dist/chunks/{models-dev-4gd6yy2m.js → file-access-18x10m8s.js} +20 -20
  21. package/dist/chunks/{models-dev-1acjjqhc.js → file-access-1acjjqhc.js} +1 -1
  22. package/dist/chunks/{models-dev-fg7rvfgd.js → file-access-1j626q9f.js} +4 -4
  23. package/dist/chunks/{models-dev-6b4s32pe.js → file-access-1q6h5e96.js} +45 -45
  24. package/dist/chunks/{models-dev-vqkteeg7.js → file-access-1xtm2zgn.js} +28 -28
  25. package/dist/chunks/{models-dev-70dj28dg.js → file-access-22d1dh2a.js} +17 -17
  26. package/dist/chunks/{models-dev-hy6y24pa.js → file-access-2s0a30gw.js} +30 -30
  27. package/dist/chunks/{models-dev-h9ca6das.js → file-access-3e93frrs.js} +26 -26
  28. package/dist/chunks/{models-dev-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
  29. package/dist/chunks/{models-dev-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
  30. package/dist/chunks/{models-dev-91ytq5p4.js → file-access-3hesyp2p.js} +9 -9
  31. package/dist/chunks/{models-dev-3hwn7j4h.js → file-access-3hwn7j4h.js} +2 -2
  32. package/dist/chunks/{models-dev-se8t5tqv.js → file-access-3q95jmjr.js} +26 -26
  33. package/dist/chunks/{models-dev-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{models-dev-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{models-dev-3zsf4n22.js → file-access-3zsf4n22.js} +1 -1
  36. package/dist/chunks/{models-dev-9nh412gb.js → file-access-40xnfwfw.js} +41 -41
  37. package/dist/chunks/{models-dev-8y31xnqm.js → file-access-4drgpw32.js} +5 -5
  38. package/dist/chunks/file-access-4hc0rj7b.js +513 -0
  39. package/dist/chunks/{models-dev-qqaprteb.js → file-access-4nssqvjp.js} +25 -25
  40. package/dist/chunks/{models-dev-2zmthsaw.js → file-access-4nvgp7n5.js} +17 -17
  41. package/dist/chunks/{models-dev-776y9j3r.js → file-access-4rpmq0gy.js} +10 -10
  42. package/dist/chunks/{models-dev-w279zete.js → file-access-4s3dfb2j.js} +3 -3
  43. package/dist/chunks/{models-dev-4ts7tf6z.js → file-access-4ts7tf6z.js} +2 -2
  44. package/dist/chunks/{models-dev-wg81ww38.js → file-access-4xkcgd99.js} +4 -4
  45. package/dist/chunks/{models-dev-54ma36ye.js → file-access-54ma36ye.js} +1 -1
  46. package/dist/chunks/{models-dev-xfkkasph.js → file-access-57b9ws8p.js} +7 -7
  47. package/dist/chunks/{models-dev-z8n2363b.js → file-access-58kgsrwr.js} +13 -13
  48. package/dist/chunks/{models-dev-5m9w47nd.js → file-access-5m9w47nd.js} +1 -1
  49. package/dist/chunks/{models-dev-60pdm2te.js → file-access-61mt751v.js} +9 -9
  50. package/dist/chunks/{models-dev-377xsr3z.js → file-access-6afn1j2f.js} +26 -26
  51. package/dist/chunks/{models-dev-7d7pq6g3.js → file-access-6cwz3yre.js} +10 -10
  52. package/dist/chunks/{models-dev-s10kan0c.js → file-access-6nx5eb34.js} +11 -11
  53. package/dist/chunks/{models-dev-6xb47vfp.js → file-access-6xb47vfp.js} +1 -1
  54. package/dist/chunks/{models-dev-z674g4fe.js → file-access-6yrvyhas.js} +3 -3
  55. package/dist/chunks/{models-dev-5b36zhdq.js → file-access-75cf00gp.js} +5 -5
  56. package/dist/chunks/{models-dev-775gj3j1.js → file-access-775gj3j1.js} +2 -2
  57. package/dist/chunks/{models-dev-zqqjdhsj.js → file-access-7b71byjj.js} +20 -20
  58. package/dist/chunks/{models-dev-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
  59. package/dist/chunks/{models-dev-99k76h2n.js → file-access-7dknjm6k.js} +21 -21
  60. package/dist/chunks/{models-dev-eeysg86p.js → file-access-7p43bsgp.js} +9 -9
  61. package/dist/chunks/{models-dev-yj7ap6wh.js → file-access-7ws6qndy.js} +4 -4
  62. package/dist/chunks/{models-dev-amm44qpy.js → file-access-7x2zck9f.js} +33 -33
  63. package/dist/chunks/{models-dev-ea2px5d8.js → file-access-7y0h7tfm.js} +21 -21
  64. package/dist/chunks/{models-dev-w14svz1x.js → file-access-7y6n2aky.js} +23 -23
  65. package/dist/chunks/file-access-84h0zvm6.js +26 -0
  66. package/dist/chunks/{models-dev-w1eejvng.js → file-access-84txncab.js} +5 -5
  67. package/dist/chunks/{models-dev-pnkm48qv.js → file-access-85twavks.js} +11 -11
  68. package/dist/chunks/{models-dev-tcezcvh9.js → file-access-89znhe33.js} +4 -4
  69. package/dist/chunks/{models-dev-8m6m0r52.js → file-access-8m6m0r52.js} +1 -1
  70. package/dist/chunks/{models-dev-e8wjtz0a.js → file-access-8n22xprd.js} +9 -9
  71. package/dist/chunks/{models-dev-mv3hx7wz.js → file-access-97aeaand.js} +4 -4
  72. package/dist/chunks/{models-dev-kz566jjf.js → file-access-99z9zg9e.js} +24 -24
  73. package/dist/chunks/{models-dev-gj71zhbs.js → file-access-9hwaqfsw.js} +5 -5
  74. package/dist/chunks/{models-dev-0v0vwtex.js → file-access-9qaf42c8.js} +25 -25
  75. package/dist/chunks/{models-dev-m9yr97rx.js → file-access-9v3zftw3.js} +32 -32
  76. package/dist/chunks/{models-dev-rv7fjx0e.js → file-access-9z4knqn6.js} +92 -92
  77. package/dist/chunks/file-access-9zdhvgqs.js +18 -0
  78. package/dist/chunks/{models-dev-16ev1epb.js → file-access-a1d4wr68.js} +3 -3
  79. package/dist/chunks/{models-dev-pp7fv7gg.js → file-access-a8pvjcdf.js} +32 -32
  80. package/dist/chunks/{models-dev-zw2hpfmh.js → file-access-addxnjmp.js} +4 -4
  81. package/dist/chunks/{models-dev-nmz8bfwr.js → file-access-ak9nxzt9.js} +26 -26
  82. package/dist/chunks/{models-dev-1bmjn0qh.js → file-access-am6f2qjv.js} +5 -5
  83. package/dist/chunks/{models-dev-yjt07j1s.js → file-access-apzb49za.js} +22 -22
  84. package/dist/chunks/{models-dev-9w1ahreb.js → file-access-at6df953.js} +13 -13
  85. package/dist/chunks/{models-dev-j4cy7cnw.js → file-access-b3x2bcz3.js} +45 -45
  86. package/dist/chunks/{models-dev-a5r769m5.js → file-access-b58cry0v.js} +5 -5
  87. package/dist/chunks/{models-dev-ftdzjz2b.js → file-access-b9grawmm.js} +4 -4
  88. package/dist/chunks/{models-dev-a78pnqce.js → file-access-bcw6cn9v.js} +16 -16
  89. package/dist/chunks/{models-dev-5jrz182w.js → file-access-bepc4jha.js} +7 -7
  90. package/dist/chunks/{models-dev-sy29epdy.js → file-access-bkxyw0dr.js} +9 -9
  91. package/dist/chunks/{models-dev-dm8adwt8.js → file-access-bm13kvhf.js} +22 -22
  92. package/dist/chunks/{models-dev-5dxxbe9g.js → file-access-bprgs97j.js} +8 -8
  93. package/dist/chunks/{models-dev-tc9a9trd.js → file-access-btgcmbzv.js} +5 -5
  94. package/dist/chunks/{models-dev-dtbp0az5.js → file-access-bwccqm6j.js} +33 -33
  95. package/dist/chunks/{models-dev-btfhnvjh.js → file-access-c2sed5cq.js} +3 -3
  96. package/dist/chunks/{models-dev-rj3eygr5.js → file-access-c41wscbt.js} +2 -2
  97. package/dist/chunks/{models-dev-sa8ekw3f.js → file-access-c8ax2afj.js} +2 -2
  98. package/dist/chunks/{models-dev-3tvaqmjg.js → file-access-cap6c1x0.js} +15 -15
  99. package/dist/chunks/{models-dev-eqe1hgr3.js → file-access-cf0apvch.js} +29 -29
  100. package/dist/chunks/{models-dev-der31pa6.js → file-access-ckacr8qp.js} +11 -11
  101. package/dist/chunks/{models-dev-4j0s3f1z.js → file-access-d2gv4akw.js} +25 -25
  102. package/dist/chunks/{models-dev-kad49353.js → file-access-d48vtfkp.js} +16 -16
  103. package/dist/chunks/{models-dev-r2m716tb.js → file-access-d4he2qe1.js} +9 -9
  104. package/dist/chunks/{models-dev-sy9p4j0h.js → file-access-d5xh5z6d.js} +9 -9
  105. package/dist/chunks/{models-dev-zraydsc8.js → file-access-dexacah2.js} +3 -3
  106. package/dist/chunks/{models-dev-1gtm6kwd.js → file-access-dfj37skf.js} +18 -18
  107. package/dist/chunks/{models-dev-dcp6bqcn.js → file-access-dfq2h1zq.js} +89 -89
  108. package/dist/chunks/{models-dev-0xfjwjgx.js → file-access-dhcaxbkm.js} +13 -13
  109. package/dist/chunks/{models-dev-fjmzp0tw.js → file-access-dkhqf1q0.js} +11 -11
  110. package/dist/chunks/{models-dev-dpkg50ah.js → file-access-dpkg50ah.js} +1 -1
  111. package/dist/chunks/{models-dev-dqxsqydv.js → file-access-dqxsqydv.js} +1 -1
  112. package/dist/chunks/{models-dev-ff9ekkny.js → file-access-dw28k738.js} +13 -13
  113. package/dist/chunks/{models-dev-4z775ewe.js → file-access-dygjvfrp.js} +9 -9
  114. package/dist/chunks/{models-dev-nv1dfxw5.js → file-access-dzbmxh5c.js} +32 -32
  115. package/dist/chunks/{models-dev-eaj1djv9.js → file-access-eaj1djv9.js} +1 -1
  116. package/dist/chunks/{models-dev-nma959mg.js → file-access-ed1g29hy.js} +3 -3
  117. package/dist/chunks/{models-dev-53bwmvrs.js → file-access-edv1g30z.js} +20 -20
  118. package/dist/chunks/{models-dev-eej6y6fw.js → file-access-eej6y6fw.js} +2 -2
  119. package/dist/chunks/{models-dev-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
  120. package/dist/chunks/{models-dev-cfbvewbn.js → file-access-efss0yr1.js} +8 -8
  121. package/dist/chunks/{models-dev-c1fqxshp.js → file-access-es1vcfrp.js} +3 -3
  122. package/dist/chunks/{models-dev-tcm1z2d3.js → file-access-f5xdkyf5.js} +26 -26
  123. package/dist/chunks/{models-dev-z8atd5pr.js → file-access-fa3fxms1.js} +25 -25
  124. package/dist/chunks/{models-dev-9mspzzv3.js → file-access-faydtw9x.js} +26 -26
  125. package/dist/chunks/{models-dev-gknxwv8e.js → file-access-ffmtf96p.js} +8 -8
  126. package/dist/chunks/{models-dev-ryd42926.js → file-access-fpcyfj4p.js} +13 -13
  127. package/dist/chunks/{models-dev-2eegacq4.js → file-access-g1sxm558.js} +8 -8
  128. package/dist/chunks/{models-dev-ee7z4jhw.js → file-access-g5aztb9w.js} +1 -1
  129. package/dist/chunks/{models-dev-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
  130. package/dist/chunks/{models-dev-zv7rs7rs.js → file-access-ggmp41wd.js} +15 -15
  131. package/dist/chunks/{models-dev-fy63hwwg.js → file-access-gjwgnwyt.js} +33 -33
  132. package/dist/chunks/{models-dev-qyy61q0n.js → file-access-gqvrx0k4.js} +16 -16
  133. package/dist/chunks/{models-dev-n719bmz2.js → file-access-gwfvn308.js} +8 -8
  134. package/dist/chunks/{models-dev-9a1g7qmn.js → file-access-gxcpmwxq.js} +51 -51
  135. package/dist/chunks/{models-dev-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
  136. package/dist/chunks/{models-dev-31xfzrxg.js → file-access-h7s7r6s9.js} +5 -5
  137. package/dist/chunks/{models-dev-r6nx9ea1.js → file-access-hcqrq8nm.js} +4 -4
  138. package/dist/chunks/{models-dev-m9tqcdk7.js → file-access-hfe3etvx.js} +4 -4
  139. package/dist/chunks/{models-dev-hgz4x7wa.js → file-access-hgz4x7wa.js} +1 -1
  140. package/dist/chunks/{models-dev-91qna3x0.js → file-access-j09zfasm.js} +3 -3
  141. package/dist/chunks/{models-dev-gy6ptjqd.js → file-access-j2zn7p5s.js} +54 -54
  142. package/dist/chunks/{models-dev-7xr8xf12.js → file-access-j73xaykt.js} +50 -50
  143. package/dist/chunks/{models-dev-qwrtgfw9.js → file-access-j8vs3k5w.js} +18 -18
  144. package/dist/chunks/{models-dev-w5yqftge.js → file-access-jhf3jymm.js} +6 -6
  145. package/dist/chunks/{models-dev-pf0fhmd2.js → file-access-jqm0p7na.js} +46 -46
  146. package/dist/chunks/{models-dev-r9w3djhf.js → file-access-jvb9xte8.js} +9 -9
  147. package/dist/chunks/{models-dev-j7kjqw9c.js → file-access-k1st3y5b.js} +13 -13
  148. package/dist/chunks/{models-dev-cp03681x.js → file-access-k1szzmcz.js} +32 -32
  149. package/dist/chunks/{models-dev-jc24bqrg.js → file-access-k4k4514v.js} +25 -25
  150. package/dist/chunks/{models-dev-4xk664jz.js → file-access-k9hzba59.js} +13 -13
  151. package/dist/chunks/{models-dev-e1hsyypd.js → file-access-kd5678n6.js} +14 -14
  152. package/dist/chunks/{models-dev-0fd9rtpr.js → file-access-kdvfx77d.js} +4 -4
  153. package/dist/chunks/{models-dev-r2v4c7r0.js → file-access-kdz0rk07.js} +5 -5
  154. package/dist/chunks/{models-dev-fxaymqdw.js → file-access-khmqacep.js} +4 -4
  155. package/dist/chunks/{models-dev-3z3qxvgv.js → file-access-kmcktn5j.js} +4 -4
  156. package/dist/chunks/{models-dev-8859909z.js → file-access-kn5tafaf.js} +27 -27
  157. package/dist/chunks/{models-dev-ccdspec8.js → file-access-ky0k6zys.js} +13 -13
  158. package/dist/chunks/{models-dev-hegdc19s.js → file-access-m0nv8qas.js} +16 -16
  159. package/dist/chunks/{models-dev-04pkavx0.js → file-access-m0p4awvf.js} +18 -18
  160. package/dist/chunks/{models-dev-ttqh24zm.js → file-access-m70sbz6t.js} +4 -4
  161. package/dist/chunks/{models-dev-zns4059n.js → file-access-m7kegrcq.js} +34 -34
  162. package/dist/chunks/{models-dev-q99012f4.js → file-access-m928h0gj.js} +10 -10
  163. package/dist/chunks/{models-dev-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
  164. package/dist/chunks/{models-dev-maspj1v3.js → file-access-maspj1v3.js} +1 -1
  165. package/dist/chunks/{models-dev-4a2kvcyx.js → file-access-mb14aw74.js} +2 -2
  166. package/dist/chunks/{models-dev-67w13yab.js → file-access-mbjvzahx.js} +14 -14
  167. package/dist/chunks/{models-dev-4yd5fbph.js → file-access-mjwk6wfx.js} +5 -5
  168. package/dist/chunks/{models-dev-jqdtsh0k.js → file-access-mjyfvzvk.js} +6 -6
  169. package/dist/chunks/{models-dev-6sj59t6m.js → file-access-mpt1m363.js} +42 -42
  170. package/dist/chunks/{models-dev-h31q8pzv.js → file-access-n2erk2qq.js} +71 -71
  171. package/dist/chunks/{models-dev-rnqk76b5.js → file-access-n31904rg.js} +11 -11
  172. package/dist/chunks/{models-dev-tfnwcfrz.js → file-access-n3dz8fb2.js} +1 -1
  173. package/dist/chunks/{models-dev-exf727rb.js → file-access-n8yw2qpj.js} +14 -14
  174. package/dist/chunks/{models-dev-dfn94x2p.js → file-access-nb5065av.js} +8 -8
  175. package/dist/chunks/{models-dev-0nfqnsth.js → file-access-nfvkw1mm.js} +5 -5
  176. package/dist/chunks/{models-dev-y5f3qdbg.js → file-access-ngyrtr94.js} +6 -6
  177. package/dist/chunks/{models-dev-k0p5wtrw.js → file-access-nhkznqrv.js} +18 -18
  178. package/dist/chunks/{models-dev-dmcbatnv.js → file-access-nnpypz22.js} +35 -33
  179. package/dist/chunks/{models-dev-h7t40bj9.js → file-access-npjgym32.js} +22 -22
  180. package/dist/chunks/{models-dev-7pf0npr8.js → file-access-nqv9yqds.js} +34 -34
  181. package/dist/chunks/{models-dev-kavq0tjr.js → file-access-nvjdyy3z.js} +2 -2
  182. package/dist/chunks/{models-dev-5w2x09q9.js → file-access-pbahfm5x.js} +21 -21
  183. package/dist/chunks/{models-dev-fxa0txsv.js → file-access-pbkhx8jc.js} +6 -6
  184. package/dist/chunks/{models-dev-xe4ej41e.js → file-access-pbxbebnn.js} +3 -3
  185. package/dist/chunks/{models-dev-gkpzsx3g.js → file-access-pes7pnh1.js} +6 -6
  186. package/dist/chunks/{models-dev-0qcz3zbp.js → file-access-pf5ssx8n.js} +32 -32
  187. package/dist/chunks/{models-dev-w34ghdqv.js → file-access-ph104vey.js} +13 -13
  188. package/dist/chunks/{models-dev-g3vramwt.js → file-access-ph2th0nb.js} +22 -22
  189. package/dist/chunks/{models-dev-mzas9ed2.js → file-access-ph2x0fg2.js} +13 -13
  190. package/dist/chunks/{models-dev-9hn6k4tm.js → file-access-phstrbs2.js} +8 -8
  191. package/dist/chunks/{models-dev-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
  192. package/dist/chunks/{models-dev-pknna89w.js → file-access-pknna89w.js} +1 -1
  193. package/dist/chunks/{models-dev-q5e7cmwt.js → file-access-pnzf6mjf.js} +1 -1
  194. package/dist/chunks/{models-dev-4c2df9zx.js → file-access-ppbmqrvr.js} +8 -8
  195. package/dist/chunks/{models-dev-tbr9sggg.js → file-access-pqz03z8g.js} +15 -15
  196. package/dist/chunks/{models-dev-bawh3mmn.js → file-access-pyhps8rr.js} +15 -15
  197. package/dist/chunks/{models-dev-q0xm7vwc.js → file-access-q0xm7vwc.js} +2 -2
  198. package/dist/chunks/{models-dev-ac26ehhg.js → file-access-q866mrsk.js} +11 -11
  199. package/dist/chunks/{models-dev-dhb2hta4.js → file-access-qjx1ax0j.js} +5 -5
  200. package/dist/chunks/{models-dev-yhsss0zn.js → file-access-qk0trefb.js} +22 -22
  201. package/dist/chunks/{models-dev-qnc92qwc.js → file-access-qnc92qwc.js} +1 -1
  202. package/dist/chunks/{models-dev-s57397y3.js → file-access-qs5g4tjy.js} +11 -11
  203. package/dist/chunks/{models-dev-qsdy395h.js → file-access-qsdy395h.js} +1 -1
  204. package/dist/chunks/{models-dev-56trr13x.js → file-access-qvn3sktm.js} +15 -15
  205. package/dist/chunks/{models-dev-weqa09ps.js → file-access-r5tn31vm.js} +20 -20
  206. package/dist/chunks/{models-dev-03kcssjc.js → file-access-rapc5ygk.js} +32 -32
  207. package/dist/chunks/{models-dev-rnep2cdr.js → file-access-rdb5mbw2.js} +5 -5
  208. package/dist/chunks/{models-dev-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
  209. package/dist/chunks/{models-dev-664nn7jy.js → file-access-rj7vaynp.js} +18 -18
  210. package/dist/chunks/{models-dev-990pd8w2.js → file-access-rn3dpxc7.js} +23 -23
  211. package/dist/chunks/{models-dev-gj4fng0j.js → file-access-rq3fykv0.js} +11 -11
  212. package/dist/chunks/{models-dev-6sw9fmpn.js → file-access-rv3vf44n.js} +23 -23
  213. package/dist/chunks/{models-dev-vr512m55.js → file-access-s5dv59ce.js} +10 -10
  214. package/dist/chunks/{models-dev-535xetsj.js → file-access-se7f09tz.js} +7 -7
  215. package/dist/chunks/{models-dev-1y9xp183.js → file-access-ssabpyyc.js} +11 -11
  216. package/dist/chunks/{models-dev-p26qd6yr.js → file-access-svqj1re3.js} +10 -10
  217. package/dist/chunks/{models-dev-syv4x271.js → file-access-syv4x271.js} +1 -1
  218. package/dist/chunks/{models-dev-vejj3c3m.js → file-access-t66kkf9x.js} +7 -7
  219. package/dist/chunks/{models-dev-90zwzkn8.js → file-access-t7991sab.js} +22 -22
  220. package/dist/chunks/{models-dev-61jhnn10.js → file-access-ta9h6rc8.js} +17 -17
  221. package/dist/chunks/{models-dev-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
  222. package/dist/chunks/{models-dev-n6b6t8ge.js → file-access-tb41x54d.js} +183 -183
  223. package/dist/chunks/{models-dev-j7r159yh.js → file-access-td4xfqsh.js} +25 -25
  224. package/dist/chunks/{models-dev-tdstcens.js → file-access-tdstcens.js} +1 -1
  225. package/dist/chunks/{models-dev-ncvmk5m4.js → file-access-tg1sa0zd.js} +11 -11
  226. package/dist/chunks/{models-dev-h62jj600.js → file-access-tgd5gdg0.js} +21 -21
  227. package/dist/chunks/{models-dev-gvwj8vkh.js → file-access-tjh2ebqe.js} +44 -44
  228. package/dist/chunks/{models-dev-rert0e01.js → file-access-tkb22qbm.js} +2 -2
  229. package/dist/chunks/{models-dev-v5dkyp31.js → file-access-tkmwgdpd.js} +5 -5
  230. package/dist/chunks/{models-dev-cp12pwh8.js → file-access-tky9nxkg.js} +11 -11
  231. package/dist/chunks/{models-dev-tm0kqsz3.js → file-access-tm0kqsz3.js} +1 -1
  232. package/dist/chunks/{models-dev-71gw1qhf.js → file-access-tsf7jqnv.js} +11 -11
  233. package/dist/chunks/{models-dev-p0yt5z7b.js → file-access-tvhzy6at.js} +7 -7
  234. package/dist/chunks/{models-dev-tyytaxap.js → file-access-tyytaxap.js} +1 -1
  235. package/dist/chunks/{models-dev-qgfk698v.js → file-access-v5fpz4k6.js} +18 -18
  236. package/dist/chunks/{models-dev-tp4b1bzx.js → file-access-v7j34b1q.js} +45 -45
  237. package/dist/chunks/{models-dev-v7p4zvkq.js → file-access-v7p4zvkq.js} +2 -2
  238. package/dist/chunks/{models-dev-wad8pbn9.js → file-access-v7vqgwnw.js} +13 -13
  239. package/dist/chunks/{models-dev-sxd24aka.js → file-access-vegf0t4s.js} +19 -19
  240. package/dist/chunks/{models-dev-h4qzttw4.js → file-access-veqsm63q.js} +14 -14
  241. package/dist/chunks/{models-dev-veqvce7d.js → file-access-veqvce7d.js} +1 -1
  242. package/dist/chunks/{models-dev-ne1rtgc4.js → file-access-vg6c8hx6.js} +19 -19
  243. package/dist/chunks/{models-dev-k3bh1kct.js → file-access-vmvedq7t.js} +12 -12
  244. package/dist/chunks/{models-dev-g542tba5.js → file-access-vwnm4pgh.js} +16 -16
  245. package/dist/chunks/{models-dev-7x1ypk5k.js → file-access-vyqay02k.js} +21 -21
  246. package/dist/chunks/{models-dev-vzs5sf6e.js → file-access-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{models-dev-jq0rpjdr.js → file-access-w1c1cf4j.js} +37 -37
  248. package/dist/chunks/{models-dev-g6yfr6ja.js → file-access-w39jehkq.js} +5 -5
  249. package/dist/chunks/{models-dev-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{models-dev-85j908wh.js → file-access-w54rakr2.js} +18 -18
  251. package/dist/chunks/{models-dev-py3kkmfq.js → file-access-w92k2e0p.js} +8 -8
  252. package/dist/chunks/{models-dev-wd87259q.js → file-access-wd87259q.js} +1 -1
  253. package/dist/chunks/{models-dev-b3f8fkhc.js → file-access-wecqtg5s.js} +5 -5
  254. package/dist/chunks/{models-dev-xxxym934.js → file-access-wj76ss2k.js} +4 -4
  255. package/dist/chunks/{models-dev-1zz447br.js → file-access-wkxs5zxa.js} +4 -4
  256. package/dist/chunks/{models-dev-s3dva4n9.js → file-access-wv5qhq9f.js} +33 -33
  257. package/dist/chunks/{models-dev-pmfx1fcm.js → file-access-wyrb85n5.js} +6 -6
  258. package/dist/chunks/{models-dev-fmafxj76.js → file-access-x1ppmybn.js} +15 -15
  259. package/dist/chunks/{models-dev-8wbxkt1z.js → file-access-x3gqap9d.js} +4 -4
  260. package/dist/chunks/file-access-x3hek3ek.js +253 -0
  261. package/dist/chunks/{models-dev-rj55spyz.js → file-access-x634pv7c.js} +8 -8
  262. package/dist/chunks/{models-dev-810wczjz.js → file-access-xgdprf3q.js} +5 -5
  263. package/dist/chunks/{models-dev-1zb0beqa.js → file-access-xj676ht6.js} +32 -32
  264. package/dist/chunks/{models-dev-chzxqsgq.js → file-access-xjh793w0.js} +10 -10
  265. package/dist/chunks/{models-dev-przmv82z.js → file-access-xyxdq3nn.js} +55 -55
  266. package/dist/chunks/{models-dev-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{models-dev-ra67jj04.js → file-access-y7nndgyc.js} +9 -9
  268. package/dist/chunks/{models-dev-40w0p124.js → file-access-yae8t1qx.js} +12 -12
  269. package/dist/chunks/{models-dev-gkzmer85.js → file-access-yg2fry7j.js} +9 -9
  270. package/dist/chunks/{models-dev-f29mbr7f.js → file-access-yrcj3v3g.js} +4 -4
  271. package/dist/chunks/{models-dev-bjx1sjef.js → file-access-ywt8jp22.js} +9 -9
  272. package/dist/chunks/{models-dev-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{models-dev-ver12d1v.js → file-access-z12amds2.js} +19 -19
  274. package/dist/chunks/{models-dev-jzafs8w8.js → file-access-z393mc3q.js} +13 -13
  275. package/dist/chunks/{models-dev-def9paz3.js → file-access-z3wfwvnq.js} +34 -34
  276. package/dist/chunks/{models-dev-1r9yygpd.js → file-access-zhkxd4p1.js} +10 -10
  277. package/dist/chunks/{models-dev-jj2d2gjn.js → file-access-zja718nw.js} +14 -14
  278. package/dist/chunks/{models-dev-5fp945c2.js → file-access-zn6q40y3.js} +34 -34
  279. package/dist/chunks/{models-dev-wy79b22n.js → file-access-znvgkdeh.js} +19 -19
  280. package/dist/chunks/{models-dev-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{models-dev-z717rqr2.js → file-access-zrfr384z.js} +25 -25
  282. package/dist/chunks/{models-dev-tnfq8jy1.js → file-access-zrkpefyn.js} +3 -3
  283. package/dist/chunks/{models-dev-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +11 -11
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +86 -86
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +120 -120
  293. package/dist/config/plugin/command.js +209 -209
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +92 -92
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +127 -127
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +139 -139
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +123 -123
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +68 -68
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +97 -97
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +72 -72
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +108 -108
  424. package/dist/form.js +88 -88
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +107 -107
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +93 -93
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +87 -87
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +1 -1
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +133 -133
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +89 -89
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +111 -111
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +93 -93
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +104 -104
  475. package/dist/models-dev.js +109 -109
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +84 -84
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +115 -115
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +90 -90
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +78 -78
  486. package/dist/plugin/command.js +104 -104
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +127 -127
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +120 -120
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +78 -78
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +350 -350
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +4 -4
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +88 -88
  557. package/dist/provider.js +105 -103
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +101 -101
  561. package/dist/reference/instructions.js +91 -91
  562. package/dist/reference.js +91 -91
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +99 -99
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +137 -137
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +216 -216
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +156 -156
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +88 -88
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +81 -81
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +1 -1
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +127 -127
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +166 -166
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +89 -89
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +212 -212
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +215 -215
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +9 -9
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +112 -112
  627. package/dist/snapshot.js +93 -93
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +128 -128
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +124 -124
  635. package/dist/tool/plugin/grep.js +124 -124
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +122 -122
  639. package/dist/tool/plugin/question.js +103 -103
  640. package/dist/tool/plugin/read.js +127 -127
  641. package/dist/tool/plugin/shell.js +210 -210
  642. package/dist/tool/plugin/skill.js +113 -113
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +114 -114
  645. package/dist/tool/plugin/websearch.js +114 -114
  646. package/dist/tool/plugin/write.js +122 -122
  647. package/dist/tool/read-filesystem.js +100 -100
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +16 -16
  651. package/dist/types/provider.d.ts +7 -1
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +3 -3
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +95 -95
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +84 -84
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +3 -3
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +82 -82
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +8 -8
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +100 -100
  684. package/package.json +8 -8
  685. package/dist/chunks/models-dev-7g3ne4jb.js +0 -253
  686. package/dist/chunks/models-dev-ctefx7dc.js +0 -18
  687. package/dist/chunks/models-dev-hahpb3j6.js +0 -513
  688. package/dist/chunks/models-dev-v09kr3t5.js +0 -26
  689. /package/dist/chunks/{models-dev-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{models-dev-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{models-dev-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{models-dev-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{models-dev-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{models-dev-24dcb14g.js → file-access-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{models-dev-2710q6r3.js → file-access-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{models-dev-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{models-dev-2bv980vf.js → file-access-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{models-dev-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{models-dev-359p4xyc.js → file-access-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{models-dev-3asan66x.js → file-access-3asan66x.js} +0 -0
  701. /package/dist/chunks/{models-dev-3t0ybcrp.js → file-access-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{models-dev-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{models-dev-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{models-dev-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{models-dev-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{models-dev-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{models-dev-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{models-dev-53557ph1.js → file-access-53557ph1.js} +0 -0
  709. /package/dist/chunks/{models-dev-550bvhaj.js → file-access-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{models-dev-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{models-dev-6prwharc.js → file-access-6prwharc.js} +0 -0
  712. /package/dist/chunks/{models-dev-6q2bdcd1.js → file-access-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{models-dev-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{models-dev-7m9af43g.js → file-access-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{models-dev-822emrt2.js → file-access-822emrt2.js} +0 -0
  716. /package/dist/chunks/{models-dev-84wd9syh.js → file-access-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{models-dev-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{models-dev-8n3pysct.js → file-access-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{models-dev-8wj87zfr.js → file-access-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{models-dev-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{models-dev-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{models-dev-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{models-dev-af5trqkr.js → file-access-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{models-dev-afrmfg78.js → file-access-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{models-dev-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{models-dev-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{models-dev-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{models-dev-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{models-dev-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{models-dev-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{models-dev-d9fn303g.js → file-access-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{models-dev-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{models-dev-dajrwvna.js → file-access-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{models-dev-dap0rakb.js → file-access-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{models-dev-df08tz66.js → file-access-df08tz66.js} +0 -0
  736. /package/dist/chunks/{models-dev-dy18nga0.js → file-access-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{models-dev-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{models-dev-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{models-dev-ec1grn59.js → file-access-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{models-dev-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{models-dev-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{models-dev-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{models-dev-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{models-dev-faypxj3z.js → file-access-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{models-dev-fd410y7t.js → file-access-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{models-dev-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{models-dev-g86h250q.js → file-access-g86h250q.js} +0 -0
  748. /package/dist/chunks/{models-dev-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{models-dev-gftt206x.js → file-access-gftt206x.js} +0 -0
  750. /package/dist/chunks/{models-dev-hcxmzztb.js → file-access-hcxmzztb.js} +0 -0
  751. /package/dist/chunks/{models-dev-hk9envan.js → file-access-hk9envan.js} +0 -0
  752. /package/dist/chunks/{models-dev-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{models-dev-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{models-dev-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{models-dev-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{models-dev-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{models-dev-jze0r7bz.js → file-access-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{models-dev-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{models-dev-m18g726c.js → file-access-m18g726c.js} +0 -0
  760. /package/dist/chunks/{models-dev-mp448xyj.js → file-access-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{models-dev-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{models-dev-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{models-dev-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{models-dev-njntx4h6.js → file-access-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{models-dev-pkyv6v7h.js → file-access-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{models-dev-pyv0edze.js → file-access-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{models-dev-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{models-dev-q74kybfr.js → file-access-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{models-dev-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{models-dev-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{models-dev-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{models-dev-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{models-dev-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{models-dev-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{models-dev-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{models-dev-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{models-dev-ve7vex1e.js → file-access-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{models-dev-w803qqfp.js → file-access-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{models-dev-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{models-dev-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{models-dev-wjj7prxr.js → file-access-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{models-dev-wtztk69x.js → file-access-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{models-dev-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{models-dev-x61499pn.js → file-access-x61499pn.js} +0 -0
  785. /package/dist/chunks/{models-dev-y44na4kk.js → file-access-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{models-dev-y8f7s663.js → file-access-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{models-dev-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{models-dev-ym463w8f.js → file-access-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{models-dev-z5v4ffb3.js → file-access-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{models-dev-z9919s4g.js → file-access-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID9,
3
- Service68,
4
- node72
5
- } from "./models-dev-nmz8bfwr.js";
2
+ ID14,
3
+ Service77,
4
+ node81
5
+ } from "./file-access-ak9nxzt9.js";
6
6
  import {
7
- ID8,
7
+ ID13,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service67,
19
- node71
20
- } from "./models-dev-dmcbatnv.js";
18
+ Service76,
19
+ node80
20
+ } from "./file-access-nnpypz22.js";
21
21
  import {
22
- Service65,
23
- node69
24
- } from "./models-dev-pnkm48qv.js";
22
+ Service74,
23
+ node78
24
+ } from "./file-access-85twavks.js";
25
25
  import {
26
- ID7,
26
+ ID12,
27
27
  VariantID2,
28
28
  Ref2,
29
- Service66,
30
- node70,
29
+ Service75,
30
+ node79,
31
31
  supportsText2
32
- } from "./models-dev-cp03681x.js";
32
+ } from "./file-access-k1szzmcz.js";
33
33
  import {
34
34
  __export
35
- } from "./models-dev-9rqn6x4v.js";
35
+ } from "./file-access-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: () => Service64,
44
+ Service: () => Service73,
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: () => layer26,
52
- node: () => node68,
51
+ layer: () => layer25,
52
+ node: () => node77,
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: ID8,
63
- modelID: ID7,
62
+ providerID: ID13,
63
+ modelID: ID12,
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: ID8,
73
- modelID: ID7,
72
+ providerID: ID13,
73
+ modelID: ID12,
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: ID8,
84
- modelID: ID7,
83
+ providerID: ID13,
84
+ modelID: ID12,
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: ID8,
95
- modelID: ID7,
94
+ providerID: ID13,
95
+ modelID: ID12,
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: ID8,
107
- modelID: ID7,
106
+ providerID: ID13,
107
+ modelID: ID12,
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: ID8,
117
- modelID: ID7,
116
+ providerID: ID13,
117
+ modelID: ID12,
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 Service64 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service73 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -236,7 +236,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
236
236
  return tokenSettings(specifier, credential.access);
237
237
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
238
238
  return { auth: "sigv4" };
239
- if (model.providerID === ID8.azure)
239
+ if (model.providerID === ID13.azure)
240
240
  return tokenSettings(specifier, "azure-cli");
241
241
  return {};
242
242
  };
@@ -271,15 +271,15 @@ var causeMessage = (cause) => {
271
271
  };
272
272
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
273
273
  var hasPackage2 = (model) => Boolean(model.package);
274
- var layer26 = Layer.effect(Service64, Effect.gen(function* () {
275
- const providers = yield* Service67;
276
- const models = yield* Service66;
277
- const integrations = yield* Service68;
274
+ var layer25 = Layer.effect(Service73, Effect.gen(function* () {
275
+ const providers = yield* Service76;
276
+ const models = yield* Service75;
277
+ const integrations = yield* Service77;
278
278
  const npm = yield* Npm.Service;
279
- const aisdk = yield* Service65;
279
+ const aisdk = yield* Service74;
280
280
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
281
281
  const provider = yield* providers.get(selected.providerID);
282
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
282
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
283
283
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
284
284
  const selectedVariant = yield* withVariant2(selected, variant);
285
285
  const runtimeInfo = {
@@ -306,7 +306,7 @@ var layer26 = Layer.effect(Service64, Effect.gen(function* () {
306
306
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
307
307
  };
308
308
  });
309
- return Service64.of({
309
+ return Service73.of({
310
310
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
311
311
  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)))));
312
312
  if (!selected)
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
323
323
  const name = packageName2(packageName);
324
324
  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;
325
325
  }
326
- var node68 = makeLocationNode({
327
- service: Service64,
328
- layer: layer26,
329
- deps: [node71, node70, node72, Npm.node, node69]
326
+ var node77 = makeLocationNode({
327
+ service: Service73,
328
+ layer: layer25,
329
+ deps: [node80, node79, node81, Npm.node, node78]
330
330
  });
331
331
 
332
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service64, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer26, node68, exports_model_resolver };
332
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service73, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer25, node77, exports_model_resolver };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  match2
3
- } from "./models-dev-y1fvbwt7.js";
3
+ } from "./file-access-y1fvbwt7.js";
4
4
  import {
5
5
  __export
6
- } from "./models-dev-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/managed-policy.ts
9
9
  var exports_managed_policy = {};
10
10
  __export(exports_managed_policy, {
11
11
  ManagedPolicy: () => exports_managed_policy,
12
- Service: () => Service18,
12
+ Service: () => Service61,
13
13
  decision: () => decision2,
14
- layer: () => layer9,
15
- node: () => node20,
14
+ layer: () => layer23,
15
+ node: () => node65,
16
16
  statements: () => statements2
17
17
  });
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
 
22
- class Service18 extends Context.Service()("@opencode/ManagedPolicy") {
22
+ class Service61 extends Context.Service()("@opencode/ManagedPolicy") {
23
23
  }
24
- var layer9 = Layer.effect(Service18, Effect.gen(function* () {
24
+ var layer23 = Layer.effect(Service61, Effect.gen(function* () {
25
25
  const changes = yield* PubSub.unbounded();
26
26
  const state = { current: { statements: [] } };
27
- return Service18.of({
27
+ return Service61.of({
28
28
  changes: () => Stream.fromPubSub(changes),
29
29
  current: () => state.current,
30
30
  set: (next) => Effect.gen(function* () {
@@ -36,7 +36,7 @@ var layer9 = Layer.effect(Service18, Effect.gen(function* () {
36
36
  })
37
37
  });
38
38
  }));
39
- var node20 = makeGlobalNode({ service: Service18, layer: layer9, deps: [] });
39
+ var node65 = makeGlobalNode({ service: Service61, layer: layer23, deps: [] });
40
40
  function statements2(entries, organization) {
41
41
  return [
42
42
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
50
50
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
51
51
  }
52
52
 
53
- export { Service18, layer9, node20, statements2, decision2, exports_managed_policy };
53
+ export { Service61, layer23, node65, statements2, decision2, exports_managed_policy };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID8
3
- } from "./models-dev-dmcbatnv.js";
2
+ ID13
3
+ } from "./file-access-nnpypz22.js";
4
4
  import {
5
5
  iife2
6
- } from "./models-dev-1kg9ymc8.js";
6
+ } from "./file-access-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./models-dev-fxa0txsv.js";
9
+ } from "./file-access-pbkhx8jc.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID8.make("cloudflare-workers-ai");
15
+ var providerID = ID13.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./models-dev-zr2ceqn5.js";
3
+ } from "./file-access-zr2ceqn5.js";
4
4
  import {
5
- Service49
6
- } from "./models-dev-90zwzkn8.js";
5
+ Service46
6
+ } from "./file-access-t7991sab.js";
7
7
  import {
8
- Service48
9
- } from "./models-dev-pf0fhmd2.js";
8
+ Service45
9
+ } from "./file-access-jqm0p7na.js";
10
10
  import {
11
- Service18,
11
+ Service61,
12
12
  statements2,
13
13
  decision2
14
- } from "./models-dev-atgr3bca.js";
14
+ } from "./file-access-0y8qz4tc.js";
15
15
  import {
16
16
  __export
17
- } from "./models-dev-9rqn6x4v.js";
17
+ } from "./file-access-9rqn6x4v.js";
18
18
 
19
19
  // src/plugin/module.ts
20
20
  var exports_module = {};
21
21
  __export(exports_module, {
22
22
  LoadError: () => LoadError2,
23
23
  PluginModule: () => exports_module,
24
- make: () => make3
24
+ make: () => make10
25
25
  });
26
26
  import { Host } from "@opencode/plugin/host";
27
27
  import { createPluginSources } from "@opencode/plugin/source";
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
30
30
  import path from "path";
31
31
  import { stat } from "node:fs/promises";
32
32
  import { fileURLToPath, pathToFileURL } from "url";
33
- var make3 = Effect.fn("PluginModule.make")(function* () {
34
- const config = yield* Service48;
35
- const managed = yield* Service18;
36
- const watcher = yield* Service49;
33
+ var make10 = Effect.fn("PluginModule.make")(function* () {
34
+ const config = yield* Service45;
35
+ const managed = yield* Service61;
36
+ const watcher = yield* Service46;
37
37
  const scope = yield* Effect.scope;
38
38
  const runPromise = yield* FiberSet.makeRuntimePromise();
39
39
  const changes = yield* PubSub.unbounded();
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
118
118
  };
119
119
  });
120
120
 
121
- export { make3, LoadError2, exports_module };
121
+ export { make10, LoadError2, exports_module };
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service84,
4
4
  node88
5
- } from "./models-dev-r6nx9ea1.js";
5
+ } from "./file-access-hcqrq8nm.js";
6
6
  import {
7
- Service82,
8
- node86
9
- } from "./models-dev-p26qd6yr.js";
7
+ Service71,
8
+ node75
9
+ } from "./file-access-svqj1re3.js";
10
10
  import {
11
11
  __export
12
- } from "./models-dev-9rqn6x4v.js";
12
+ } from "./file-access-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event16,
19
+ Event: () => Event7,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service71,
22
+ Service: () => Service47,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node75,
26
- resolve: () => resolve4
25
+ node: () => node49,
26
+ resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service71 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service47 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event16 = {
51
+ var Event7 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service71, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service82;
84
+ const kv = yield* Service71;
85
85
  const bus = yield* Service84;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
113
113
  if (!changed)
114
114
  return false;
115
115
  yield* Ref.set(cache, next);
116
- yield* bus.publish(Event16.Updated, {}, { global: true });
116
+ yield* bus.publish(Event7.Updated, {}, { global: true });
117
117
  return true;
118
118
  }, (effect) => lock.withPermit(effect));
119
- return Service71.of({
119
+ return Service47.of({
120
120
  entries: load,
121
121
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
122
122
  refresh,
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
129
129
  const origins = Schema.is(Sources)(sources) ? sources : [];
130
130
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
131
131
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
132
- yield* bus.publish(Event16.Updated, {}, { global: true });
132
+ yield* bus.publish(Event7.Updated, {}, { global: true });
133
133
  return entry;
134
134
  }, (effect, _value) => lock.withPermit(effect)),
135
135
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
144
144
  next.delete(origin);
145
145
  return next;
146
146
  });
147
- yield* bus.publish(Event16.Updated, {}, { global: true });
147
+ yield* bus.publish(Event7.Updated, {}, { global: true });
148
148
  }, (effect, _value) => lock.withPermit(effect)),
149
149
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
150
150
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
157
157
  })
158
158
  });
159
159
  }));
160
- var node75 = makeGlobalNode({ service: Service71, layer, deps: [httpClient, node86, node88] });
160
+ var node49 = makeGlobalNode({ service: Service47, layer, deps: [httpClient, node75, node88] });
161
161
 
162
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service71, Event16, inspect2, resolve4, node75, exports_wellknown };
162
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service47, Event7, inspect2, resolve2, node49, exports_wellknown };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./models-dev-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  name15,
3
3
  ps2
4
- } from "./models-dev-1r9yygpd.js";
4
+ } from "./file-access-zhkxd4p1.js";
5
5
  import {
6
6
  lazy2
7
- } from "./models-dev-88xbtdfr.js";
7
+ } from "./file-access-88xbtdfr.js";
8
8
  import {
9
9
  match2
10
- } from "./models-dev-y1fvbwt7.js";
10
+ } from "./file-access-y1fvbwt7.js";
11
11
  import {
12
12
  __export
13
- } from "./models-dev-9rqn6x4v.js";
13
+ } from "./file-access-9rqn6x4v.js";
14
14
 
15
15
  // src/shell/parse.ts
16
16
  var exports_parse = {};
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID16,
3
- Service76
4
- } from "./models-dev-5w2x09q9.js";
2
+ ID11,
3
+ Service68
4
+ } from "./file-access-pbahfm5x.js";
5
5
  import {
6
6
  Ref2,
7
- Service66
8
- } from "./models-dev-cp03681x.js";
7
+ Service75
8
+ } from "./file-access-k1szzmcz.js";
9
9
  import {
10
10
  latest2,
11
- Service48
12
- } from "./models-dev-pf0fhmd2.js";
11
+ Service45
12
+ } from "./file-access-jqm0p7na.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./models-dev-btfhnvjh.js";
15
+ } from "./file-access-c2sed5cq.js";
16
16
  import {
17
- Service57
18
- } from "./models-dev-h4qzttw4.js";
17
+ Service38
18
+ } from "./file-access-veqsm63q.js";
19
19
  import {
20
20
  evaluate2,
21
- Service73
22
- } from "./models-dev-przmv82z.js";
21
+ Service64
22
+ } from "./file-access-xyxdq3nn.js";
23
23
  import {
24
- Service31
25
- } from "./models-dev-rv7fjx0e.js";
24
+ Service19
25
+ } from "./file-access-9z4knqn6.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./models-dev-6xb47vfp.js";
28
+ } from "./file-access-6xb47vfp.js";
29
29
  import {
30
- Service11
31
- } from "./models-dev-wy79b22n.js";
30
+ Service9
31
+ } from "./file-access-znvgkdeh.js";
32
32
  import {
33
33
  __export
34
- } from "./models-dev-9rqn6x4v.js";
34
+ } from "./file-access-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input2,
40
- Output: () => Output2,
41
- Plugin: () => Plugin18,
39
+ Input: () => Input8,
40
+ Output: () => Output5,
41
+ Plugin: () => Plugin10,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description2,
44
- name: () => name2
43
+ description: () => description4,
44
+ name: () => name8
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name2 = "subagent";
48
+ var name8 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input2 = Schema.Struct({
59
+ var Input8 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input2 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output2 = Schema.Struct({
75
+ var Output5 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description2 = [
80
+ var description4 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description2 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin18 = {
89
+ var Plugin10 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service31;
93
- const jobs = yield* Service57;
94
- const agents = yield* Service76;
95
- const config = yield* Service48;
96
- const permission = yield* Service73;
97
- const models = yield* Service66;
98
- const subagents = yield* Service11;
92
+ const sessions = yield* Service19;
93
+ const jobs = yield* Service38;
94
+ const agents = yield* Service68;
95
+ const config = yield* Service45;
96
+ const permission = yield* Service64;
97
+ const models = yield* Service75;
98
+ const subagents = yield* Service9;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin18 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name2,
118
+ name: name8,
119
119
  options: { codemode: false },
120
- description: description2,
121
- input: Input2,
122
- output: Output2,
120
+ description: description4,
121
+ input: Input8,
122
+ output: Output5,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin18 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name2,
142
+ action: name8,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin18 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID16.make(input.agent),
171
+ agent: ID11.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name2 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name8 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name2];
233
+ const tool = event.tools[name8];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name2, Input2, Output2, description2, Plugin18, exports_subagent };
256
+ export { name8, Input8, Output5, description4, Plugin10, exports_subagent };