@opencode/core 0.0.0-dev-21032 → 0.0.0-dev-21040

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +92 -92
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{model-resolver-zp79st75.js → mime-050xtdf8.js} +4 -4
  8. package/dist/chunks/{model-resolver-t4mxe9mg.js → mime-07965hzr.js} +12 -12
  9. package/dist/chunks/{model-resolver-0jskk18s.js → mime-0nsxtbsr.js} +3 -3
  10. package/dist/chunks/{model-resolver-jn47bq7y.js → mime-0p8e2j75.js} +10 -10
  11. package/dist/chunks/{model-resolver-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{model-resolver-h449cfbc.js → mime-0vjek7f6.js} +17 -17
  13. package/dist/chunks/{model-resolver-j2rkz0eh.js → mime-0x1pdtng.js} +23 -23
  14. package/dist/chunks/{model-resolver-gpm60zja.js → mime-0y2vcsp3.js} +11 -11
  15. package/dist/chunks/{model-resolver-qyp94w8s.js → mime-109ybz4f.js} +17 -17
  16. package/dist/chunks/{model-resolver-z7pkff1z.js → mime-11bjrp3g.js} +3 -3
  17. package/dist/chunks/mime-12710b3q.js +26 -0
  18. package/dist/chunks/{model-resolver-5sd65k63.js → mime-15q8m5cs.js} +19 -19
  19. package/dist/chunks/{model-resolver-e5vt2zzh.js → mime-15rpx8aj.js} +7 -7
  20. package/dist/chunks/{model-resolver-ghe25ndt.js → mime-1bn046zq.js} +17 -17
  21. package/dist/chunks/{model-resolver-v1vh7s4p.js → mime-1jdt266a.js} +9 -9
  22. package/dist/chunks/{model-resolver-tmnq69cf.js → mime-1y2xvrc2.js} +9 -9
  23. package/dist/chunks/{model-resolver-w5rka97k.js → mime-2003xh4j.js} +9 -9
  24. package/dist/chunks/{model-resolver-rngsm5nq.js → mime-205wgd7n.js} +18 -18
  25. package/dist/chunks/{model-resolver-k1sxn049.js → mime-21tzjh1m.js} +24 -24
  26. package/dist/chunks/{model-resolver-cc3zbjhe.js → mime-25bf223w.js} +35 -35
  27. package/dist/chunks/{model-resolver-vbfgae2j.js → mime-277eer69.js} +4 -4
  28. package/dist/chunks/{model-resolver-kf03r3fp.js → mime-2frssyxc.js} +25 -25
  29. package/dist/chunks/{model-resolver-ymgkxg7n.js → mime-2r1j4600.js} +11 -11
  30. package/dist/chunks/{model-resolver-cgcq2d6q.js → mime-2rnpn95x.js} +5 -5
  31. package/dist/chunks/{model-resolver-2wnpv58w.js → mime-2xntw82p.js} +5 -5
  32. package/dist/chunks/{model-resolver-h7s7r6s9.js → mime-31xfzrxg.js} +5 -5
  33. package/dist/chunks/{model-resolver-9mmjpn4f.js → mime-32tazwv6.js} +16 -16
  34. package/dist/chunks/{model-resolver-mhtf1agk.js → mime-345etsgx.js} +17 -17
  35. package/dist/chunks/{model-resolver-p2cz521y.js → mime-39kjv65j.js} +20 -20
  36. package/dist/chunks/{model-resolver-ppk3ywg1.js → mime-3bzm20zk.js} +1 -1
  37. package/dist/chunks/{model-resolver-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{model-resolver-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{model-resolver-3hwn7j4h.js → mime-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{model-resolver-rya3mfce.js → mime-3m85peyz.js} +47 -47
  41. package/dist/chunks/{model-resolver-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{model-resolver-8rmcv8hn.js → mime-3t0rsrrn.js} +12 -12
  43. package/dist/chunks/{model-resolver-gefhqhbp.js → mime-3trpv21a.js} +8 -8
  44. package/dist/chunks/{model-resolver-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{model-resolver-r5536f5q.js → mime-3wad62ms.js} +11 -11
  46. package/dist/chunks/{model-resolver-mdf2ba13.js → mime-3zgffv18.js} +180 -180
  47. package/dist/chunks/{model-resolver-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{model-resolver-v5h246c5.js → mime-41qawrfa.js} +7 -7
  49. package/dist/chunks/{model-resolver-w0nw3455.js → mime-43rv0vt2.js} +36 -36
  50. package/dist/chunks/{model-resolver-t11n65rj.js → mime-46c3m50y.js} +19 -19
  51. package/dist/chunks/{model-resolver-esme7ehw.js → mime-4d7s1pf1.js} +4 -4
  52. package/dist/chunks/{model-resolver-ztmj8phm.js → mime-4n1kryv0.js} +11 -11
  53. package/dist/chunks/{model-resolver-54ma36ye.js → mime-54ma36ye.js} +1 -1
  54. package/dist/chunks/{model-resolver-j48y8drp.js → mime-5684rj21.js} +22 -22
  55. package/dist/chunks/{model-resolver-dhb2hta4.js → mime-58hng72m.js} +5 -5
  56. package/dist/chunks/{model-resolver-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{model-resolver-e3qxr5gk.js → mime-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{model-resolver-p37cw4rj.js → mime-5yzzbxa7.js} +8 -8
  59. package/dist/chunks/{model-resolver-rah8ek0q.js → mime-62e165w1.js} +22 -22
  60. package/dist/chunks/{model-resolver-3k0t8dzv.js → mime-63jkwkyz.js} +19 -19
  61. package/dist/chunks/mime-67npv2yq.js +253 -0
  62. package/dist/chunks/{model-resolver-121zk92f.js → mime-6a6nq1pp.js} +20 -20
  63. package/dist/chunks/{model-resolver-fpecnkgp.js → mime-6c4cp2wz.js} +7 -7
  64. package/dist/chunks/{model-resolver-9n6m857c.js → mime-6k3mcxsj.js} +13 -13
  65. package/dist/chunks/{model-resolver-6xb47vfp.js → mime-6xb47vfp.js} +1 -1
  66. package/dist/chunks/{model-resolver-k5khmzd0.js → mime-6yprj1qa.js} +11 -11
  67. package/dist/chunks/{model-resolver-cecf97zp.js → mime-70jpvrmq.js} +22 -22
  68. package/dist/chunks/{model-resolver-5srkvmy1.js → mime-74sj64d5.js} +26 -26
  69. package/dist/chunks/{model-resolver-775gj3j1.js → mime-775gj3j1.js} +2 -2
  70. package/dist/chunks/{model-resolver-a22q20jk.js → mime-78bqkphs.js} +20 -20
  71. package/dist/chunks/{model-resolver-r18rd4df.js → mime-78s9dq41.js} +15 -15
  72. package/dist/chunks/{model-resolver-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{model-resolver-7dqw4kz8.js → mime-7dqw4kz8.js} +1 -1
  74. package/dist/chunks/{model-resolver-2bhwdn85.js → mime-7ej9kcre.js} +20 -20
  75. package/dist/chunks/{model-resolver-6v699sff.js → mime-7fkngs2v.js} +2 -2
  76. package/dist/chunks/{model-resolver-4qsb07a0.js → mime-7henczxa.js} +12 -12
  77. package/dist/chunks/{model-resolver-32q9bdbf.js → mime-7ny7wjsd.js} +4 -4
  78. package/dist/chunks/{model-resolver-67ggwtmd.js → mime-7qrghndb.js} +14 -14
  79. package/dist/chunks/{model-resolver-k6exk33w.js → mime-7rkx4gms.js} +11 -11
  80. package/dist/chunks/{model-resolver-mf39t390.js → mime-7sc8a7ge.js} +50 -50
  81. package/dist/chunks/{model-resolver-ytw0b5ae.js → mime-7war8x1d.js} +5 -5
  82. package/dist/chunks/{model-resolver-7hhqs9ev.js → mime-7zkbhs7g.js} +11 -11
  83. package/dist/chunks/{model-resolver-hdck4srb.js → mime-826e8q9w.js} +13 -13
  84. package/dist/chunks/{model-resolver-yzwajjfv.js → mime-87f36h6m.js} +5 -5
  85. package/dist/chunks/{model-resolver-yw8t9dwe.js → mime-8ank75fn.js} +8 -8
  86. package/dist/chunks/{model-resolver-dhmh7aw6.js → mime-8gxqpgph.js} +4 -4
  87. package/dist/chunks/{model-resolver-4xx2cn4x.js → mime-8m6gnkp5.js} +10 -10
  88. package/dist/chunks/{model-resolver-8m6m0r52.js → mime-8m6m0r52.js} +1 -1
  89. package/dist/chunks/{model-resolver-y4xxc7mq.js → mime-8mptw0yh.js} +14 -14
  90. package/dist/chunks/{model-resolver-w92k2e0p.js → mime-8sze2n9a.js} +4 -4
  91. package/dist/chunks/{model-resolver-8wbxkt1z.js → mime-8wbxkt1z.js} +1 -1
  92. package/dist/chunks/{model-resolver-j09zfasm.js → mime-91qna3x0.js} +3 -3
  93. package/dist/chunks/{model-resolver-32nmwdhe.js → mime-984f2ybn.js} +15 -15
  94. package/dist/chunks/{model-resolver-vghjwcv5.js → mime-9cexasrx.js} +36 -36
  95. package/dist/chunks/{model-resolver-4msazfqr.js → mime-9hshahkt.js} +25 -25
  96. package/dist/chunks/{model-resolver-6z7f3aj9.js → mime-9rwfab3m.js} +30 -30
  97. package/dist/chunks/{model-resolver-7cf56ajb.js → mime-9thd8pbs.js} +13 -13
  98. package/dist/chunks/{model-resolver-nt66sm3b.js → mime-a1gprgvs.js} +18 -18
  99. package/dist/chunks/{model-resolver-793pmwr3.js → mime-a1p7dyg9.js} +5 -5
  100. package/dist/chunks/{model-resolver-1deqag97.js → mime-a3a1kd57.js} +7 -7
  101. package/dist/chunks/{model-resolver-e9az0enp.js → mime-a465zkn0.js} +33 -33
  102. package/dist/chunks/{model-resolver-x661k3y3.js → mime-azwe5p1w.js} +4 -4
  103. package/dist/chunks/{model-resolver-b3f8fkhc.js → mime-b3f8fkhc.js} +2 -2
  104. package/dist/chunks/{model-resolver-392bmkv0.js → mime-b6bc02an.js} +22 -22
  105. package/dist/chunks/{model-resolver-jq8znyjb.js → mime-ba2ek88a.js} +9 -9
  106. package/dist/chunks/{model-resolver-rjrvrrm1.js → mime-bh8ytvkx.js} +20 -20
  107. package/dist/chunks/{model-resolver-bjx1sjef.js → mime-bjx1sjef.js} +2 -2
  108. package/dist/chunks/{model-resolver-c1fqxshp.js → mime-c1fqxshp.js} +3 -3
  109. package/dist/chunks/{model-resolver-hs73t9tm.js → mime-ce0rpsvc.js} +11 -11
  110. package/dist/chunks/{model-resolver-2w7tcbkg.js → mime-cwc6qd5v.js} +4 -4
  111. package/dist/chunks/{model-resolver-dk9awe6p.js → mime-d4kct8rx.js} +14 -14
  112. package/dist/chunks/{model-resolver-s541pesz.js → mime-d4mkpxw9.js} +11 -11
  113. package/dist/chunks/{model-resolver-rf3mqbns.js → mime-dd2pvs9r.js} +21 -21
  114. package/dist/chunks/{model-resolver-sznyev98.js → mime-dfzjqex4.js} +5 -5
  115. package/dist/chunks/{model-resolver-ft3hqk2c.js → mime-djszqvmq.js} +9 -9
  116. package/dist/chunks/{model-resolver-y71avatq.js → mime-dpkg50ah.js} +4 -4
  117. package/dist/chunks/{model-resolver-crz08krd.js → mime-dpxxne8d.js} +6 -6
  118. package/dist/chunks/{model-resolver-dqxsqydv.js → mime-dqxsqydv.js} +1 -1
  119. package/dist/chunks/{model-resolver-e73819aa.js → mime-dt81vr0m.js} +21 -21
  120. package/dist/chunks/{model-resolver-zcfjyxn9.js → mime-e7d0aeaq.js} +24 -24
  121. package/dist/chunks/{model-resolver-rhjbct0v.js → mime-eaj1djv9.js} +8 -8
  122. package/dist/chunks/{model-resolver-4qybra34.js → mime-edm94f7d.js} +7 -7
  123. package/dist/chunks/{model-resolver-eej6y6fw.js → mime-eej6y6fw.js} +2 -2
  124. package/dist/chunks/{model-resolver-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
  125. package/dist/chunks/{model-resolver-yqee2774.js → mime-ejcpmtps.js} +24 -24
  126. package/dist/chunks/{model-resolver-qk84nr82.js → mime-emv6g1k7.js} +10 -10
  127. package/dist/chunks/{model-resolver-x30w6bae.js → mime-epnnc93h.js} +22 -22
  128. package/dist/chunks/{model-resolver-1bbkrr1z.js → mime-esxexcce.js} +32 -32
  129. package/dist/chunks/{model-resolver-wwwg8pmm.js → mime-ev50a1gv.js} +27 -27
  130. package/dist/chunks/{model-resolver-8h8nb9x6.js → mime-f169yh43.js} +15 -15
  131. package/dist/chunks/{model-resolver-7r94a8zm.js → mime-f4x800jg.js} +15 -15
  132. package/dist/chunks/{model-resolver-rttpym1x.js → mime-f593gmc1.js} +32 -32
  133. package/dist/chunks/{model-resolver-jb03hw38.js → mime-fmycb6r9.js} +18 -18
  134. package/dist/chunks/{model-resolver-88hkx883.js → mime-fqwbcgn7.js} +12 -12
  135. package/dist/chunks/{model-resolver-fxaymqdw.js → mime-fxaymqdw.js} +1 -1
  136. package/dist/chunks/{model-resolver-jtbrrh68.js → mime-fxsx3k7c.js} +16 -16
  137. package/dist/chunks/{model-resolver-6yz0wx8n.js → mime-g6yfr6ja.js} +5 -5
  138. package/dist/chunks/{model-resolver-ebj1p111.js → mime-ga8mg7ng.js} +45 -45
  139. package/dist/chunks/{model-resolver-v6exexfb.js → mime-gaffhmcy.js} +3 -3
  140. package/dist/chunks/{model-resolver-qbmv3hq3.js → mime-gd07dkrx.js} +9 -9
  141. package/dist/chunks/{model-resolver-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{model-resolver-d426qwtt.js → mime-gd540jsm.js} +4 -4
  143. package/dist/chunks/{model-resolver-s56kyd1y.js → mime-gpab4zxm.js} +6 -6
  144. package/dist/chunks/{model-resolver-rtk67pzp.js → mime-h62rqyvr.js} +30 -30
  145. package/dist/chunks/{model-resolver-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  146. package/dist/chunks/{model-resolver-cqcppvwa.js → mime-h7c27e8q.js} +14 -14
  147. package/dist/chunks/{model-resolver-tcay1cqt.js → mime-hdab2k61.js} +6 -6
  148. package/dist/chunks/{model-resolver-hjpw2ktw.js → mime-hdq1afwm.js} +43 -43
  149. package/dist/chunks/{model-resolver-hgz4x7wa.js → mime-hgz4x7wa.js} +1 -1
  150. package/dist/chunks/{model-resolver-nn6qn2mt.js → mime-hhvx8q4y.js} +13 -13
  151. package/dist/chunks/{model-resolver-gxx80edd.js → mime-hrtv8xrh.js} +41 -41
  152. package/dist/chunks/{model-resolver-nmfgk2za.js → mime-htfaj60w.js} +11 -11
  153. package/dist/chunks/{model-resolver-c0nagjzw.js → mime-hwt4zdf0.js} +11 -11
  154. package/dist/chunks/{model-resolver-22q50vj6.js → mime-hxevttss.js} +23 -23
  155. package/dist/chunks/{model-resolver-ryaerzpp.js → mime-j52fadta.js} +1 -1
  156. package/dist/chunks/{model-resolver-0prbvn1s.js → mime-jbax71gz.js} +11 -11
  157. package/dist/chunks/{model-resolver-6x64453h.js → mime-jbnd8fp8.js} +16 -16
  158. package/dist/chunks/{model-resolver-2fcwg21n.js → mime-jh86bj30.js} +35 -35
  159. package/dist/chunks/{model-resolver-6g107h22.js → mime-jk540des.js} +2 -2
  160. package/dist/chunks/{model-resolver-ry5rj60g.js → mime-jkbjgekk.js} +11 -11
  161. package/dist/chunks/{model-resolver-nvx1vskb.js → mime-jn7vh711.js} +33 -33
  162. package/dist/chunks/mime-jqh9b0xq.js +18 -0
  163. package/dist/chunks/{model-resolver-vy6fg5p6.js → mime-k2wgnsn0.js} +24 -24
  164. package/dist/chunks/{model-resolver-y44p5hdc.js → mime-ka7th2ed.js} +35 -35
  165. package/dist/chunks/{model-resolver-qz1medfn.js → mime-kay1zs2t.js} +47 -47
  166. package/dist/chunks/{model-resolver-9g3a9q2q.js → mime-kghccary.js} +81 -81
  167. package/dist/chunks/{model-resolver-tnabgbb7.js → mime-kjejtsqg.js} +16 -16
  168. package/dist/chunks/{model-resolver-a6j0r2sw.js → mime-kmajrsye.js} +12 -12
  169. package/dist/chunks/{model-resolver-43sqknmp.js → mime-m01n3hyd.js} +15 -15
  170. package/dist/chunks/{model-resolver-my4zabxr.js → mime-m5jcjszt.js} +3 -3
  171. package/dist/chunks/{model-resolver-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  172. package/dist/chunks/{model-resolver-maspj1v3.js → mime-maspj1v3.js} +1 -1
  173. package/dist/chunks/{model-resolver-jdnq93kg.js → mime-mdqph4s0.js} +22 -22
  174. package/dist/chunks/{model-resolver-m3atekq7.js → mime-mfgyg3rw.js} +45 -45
  175. package/dist/chunks/{model-resolver-v2k5f06t.js → mime-mqb0p7pg.js} +5 -5
  176. package/dist/chunks/{model-resolver-6r767sng.js → mime-my1befea.js} +20 -20
  177. package/dist/chunks/{model-resolver-rss8evm2.js → mime-mzvkzawb.js} +34 -34
  178. package/dist/chunks/{model-resolver-a6wgvm8d.js → mime-n0yzpgaz.js} +21 -21
  179. package/dist/chunks/{model-resolver-kq1bqq66.js → mime-n24hx9b9.js} +12 -12
  180. package/dist/chunks/{model-resolver-9be2kz6z.js → mime-n2ky5gkf.js} +27 -27
  181. package/dist/chunks/{model-resolver-7ppyhzjx.js → mime-ng3918dk.js} +5 -5
  182. package/dist/chunks/{model-resolver-dafg4d8k.js → mime-nhqmpqry.js} +3 -3
  183. package/dist/chunks/{model-resolver-3m0b5fsq.js → mime-nkmznbth.js} +10 -10
  184. package/dist/chunks/{model-resolver-1a12x520.js → mime-nncd61c2.js} +35 -35
  185. package/dist/chunks/{model-resolver-csfpqy7c.js → mime-nym9wyb3.js} +6 -6
  186. package/dist/chunks/{model-resolver-qnq8y3bv.js → mime-p24hwdax.js} +23 -23
  187. package/dist/chunks/{model-resolver-171a9z80.js → mime-p3vvxz2w.js} +6 -6
  188. package/dist/chunks/{model-resolver-ncny1qzz.js → mime-p42maxsr.js} +37 -37
  189. package/dist/chunks/{model-resolver-8wf75xe6.js → mime-p6ax3407.js} +13 -13
  190. package/dist/chunks/{model-resolver-dybxmwj9.js → mime-p7v2masw.js} +4 -4
  191. package/dist/chunks/{model-resolver-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  192. package/dist/chunks/{model-resolver-pknna89w.js → mime-pknna89w.js} +1 -1
  193. package/dist/chunks/{model-resolver-yqc6bamn.js → mime-pnzf6mjf.js} +1 -1
  194. package/dist/chunks/{model-resolver-0jq9fyba.js → mime-prq7hedt.js} +2 -2
  195. package/dist/chunks/{model-resolver-nfeetva4.js → mime-pw8wyqgn.js} +321 -321
  196. package/dist/chunks/{model-resolver-8ajv5xtq.js → mime-pz5b1pah.js} +5 -5
  197. package/dist/chunks/{model-resolver-0j77ygfz.js → mime-q0xm7vwc.js} +6 -6
  198. package/dist/chunks/{model-resolver-tj7kxczc.js → mime-q7ttfbsd.js} +5 -5
  199. package/dist/chunks/{model-resolver-mcwabzk9.js → mime-q8pcrqed.js} +11 -11
  200. package/dist/chunks/{model-resolver-k4nc0g6z.js → mime-qc91r9hq.js} +19 -19
  201. package/dist/chunks/{model-resolver-7bzg5cgk.js → mime-qe9cja5v.js} +26 -26
  202. package/dist/chunks/{model-resolver-5nnetc6k.js → mime-qhexs5yx.js} +20 -20
  203. package/dist/chunks/{model-resolver-qa3qhgw8.js → mime-qm0v3jhh.js} +7 -7
  204. package/dist/chunks/{model-resolver-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
  205. package/dist/chunks/{model-resolver-qsdy395h.js → mime-qsdy395h.js} +1 -1
  206. package/dist/chunks/{model-resolver-6x4admn2.js → mime-qw8rpmjb.js} +39 -39
  207. package/dist/chunks/{model-resolver-rcyxvf8g.js → mime-qwd8z7en.js} +51 -51
  208. package/dist/chunks/{model-resolver-nma959mg.js → mime-r2z489rp.js} +3 -3
  209. package/dist/chunks/{model-resolver-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{model-resolver-rert0e01.js → mime-rert0e01.js} +2 -2
  211. package/dist/chunks/{model-resolver-rj3eygr5.js → mime-rj3eygr5.js} +2 -2
  212. package/dist/chunks/{model-resolver-09k7wrv4.js → mime-rm7werhc.js} +28 -28
  213. package/dist/chunks/{model-resolver-bgst5jmd.js → mime-rpesnf7a.js} +22 -22
  214. package/dist/chunks/{model-resolver-fenh6xsq.js → mime-rpp8qasa.js} +19 -19
  215. package/dist/chunks/{model-resolver-y0msmzz5.js → mime-rr32njry.js} +38 -38
  216. package/dist/chunks/{model-resolver-fjakydk0.js → mime-rrz55b2p.js} +76 -76
  217. package/dist/chunks/{model-resolver-zmnv7sx5.js → mime-rwmkx81w.js} +11 -11
  218. package/dist/chunks/{model-resolver-ak9msbxp.js → mime-rxcdjwh1.js} +6 -6
  219. package/dist/chunks/{model-resolver-c90mqxem.js → mime-rykdsr0g.js} +71 -71
  220. package/dist/chunks/{model-resolver-hkc4w8pe.js → mime-s6s64s2j.js} +4 -4
  221. package/dist/chunks/{model-resolver-sa8ekw3f.js → mime-sa8ekw3f.js} +2 -2
  222. package/dist/chunks/{model-resolver-d3y6n0b6.js → mime-sg61y373.js} +4 -4
  223. package/dist/chunks/{model-resolver-h30rxhwn.js → mime-sg7jdfe4.js} +12 -12
  224. package/dist/chunks/{model-resolver-vtr2qm7r.js → mime-sgspe6rh.js} +20 -20
  225. package/dist/chunks/{model-resolver-ads5hjyh.js → mime-skk0c0bv.js} +10 -10
  226. package/dist/chunks/{model-resolver-axxh5741.js → mime-sps5w11b.js} +36 -36
  227. package/dist/chunks/{model-resolver-3n7sqfmk.js → mime-sszm17mh.js} +20 -20
  228. package/dist/chunks/{model-resolver-rendx1gy.js → mime-svc4qe25.js} +30 -30
  229. package/dist/chunks/{model-resolver-syv4x271.js → mime-syv4x271.js} +1 -1
  230. package/dist/chunks/{model-resolver-wm6vgevc.js → mime-t1qqdzsn.js} +8 -8
  231. package/dist/chunks/{model-resolver-2gbv331w.js → mime-ta0smedg.js} +46 -46
  232. package/dist/chunks/{model-resolver-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{model-resolver-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{model-resolver-tdstcens.js → mime-tdstcens.js} +1 -1
  235. package/dist/chunks/{model-resolver-kak0n85x.js → mime-tfgrxbbg.js} +5 -5
  236. package/dist/chunks/{model-resolver-tm0kqsz3.js → mime-tm0kqsz3.js} +1 -1
  237. package/dist/chunks/{model-resolver-0kydaqed.js → mime-tq4zrfhc.js} +3 -3
  238. package/dist/chunks/{model-resolver-1j6m29mr.js → mime-txm3e8qz.js} +9 -9
  239. package/dist/chunks/{model-resolver-tyytaxap.js → mime-tyytaxap.js} +1 -1
  240. package/dist/chunks/{model-resolver-e1k4xdgj.js → mime-v0fktwpp.js} +4 -4
  241. package/dist/chunks/{model-resolver-drnf6xwf.js → mime-v0xmac3n.js} +2 -2
  242. package/dist/chunks/{model-resolver-yemwmjqt.js → mime-v7kctqng.js} +31 -31
  243. package/dist/chunks/{model-resolver-v7p4zvkq.js → mime-v7p4zvkq.js} +2 -2
  244. package/dist/chunks/{model-resolver-70cnkcsv.js → mime-vatybvvw.js} +23 -23
  245. package/dist/chunks/{model-resolver-veqvce7d.js → mime-veqvce7d.js} +1 -1
  246. package/dist/chunks/{model-resolver-zxdyc6t8.js → mime-vesg7vyr.js} +22 -22
  247. package/dist/chunks/{model-resolver-vmmrq9g8.js → mime-vp964jq4.js} +42 -42
  248. package/dist/chunks/{model-resolver-7ffb04cr.js → mime-vxa6qxmv.js} +29 -29
  249. package/dist/chunks/{model-resolver-wzked6k4.js → mime-vynfj1qm.js} +8 -8
  250. package/dist/chunks/{model-resolver-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{model-resolver-w1eejvng.js → mime-w1eejvng.js} +1 -1
  252. package/dist/chunks/{model-resolver-mcv1dfk8.js → mime-w30cgv0b.js} +5 -5
  253. package/dist/chunks/{model-resolver-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{model-resolver-r61qxybf.js → mime-w3x9v1nk.js} +8 -8
  255. package/dist/chunks/{model-resolver-dc3k7rmc.js → mime-w56fr51s.js} +4 -4
  256. package/dist/chunks/{model-resolver-fb8g9918.js → mime-w81spx5m.js} +4 -4
  257. package/dist/chunks/{model-resolver-jx6fkytk.js → mime-w9n24aqy.js} +33 -33
  258. package/dist/chunks/{model-resolver-xawvyy5x.js → mime-wb86ees7.js} +17 -17
  259. package/dist/chunks/{model-resolver-z1v1h6at.js → mime-wbt7h3w0.js} +10 -10
  260. package/dist/chunks/{model-resolver-wd87259q.js → mime-wd87259q.js} +1 -1
  261. package/dist/chunks/{model-resolver-sfvacr6d.js → mime-ws5ka3n2.js} +21 -21
  262. package/dist/chunks/{model-resolver-8e83x98h.js → mime-wswphd9c.js} +9 -9
  263. package/dist/chunks/{model-resolver-ahv2j09c.js → mime-wsyn0rjs.js} +11 -11
  264. package/dist/chunks/{model-resolver-2bbfedhs.js → mime-wwp51aqn.js} +30 -30
  265. package/dist/chunks/{model-resolver-rk5c66hf.js → mime-wy8qa55f.js} +37 -37
  266. package/dist/chunks/{model-resolver-5hj1971d.js → mime-xbhefgk3.js} +27 -27
  267. package/dist/chunks/{model-resolver-av7cjdq7.js → mime-xbr5rkwb.js} +9 -9
  268. package/dist/chunks/{model-resolver-57b9ws8p.js → mime-xfkkasph.js} +7 -7
  269. package/dist/chunks/{model-resolver-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{model-resolver-acq2jkv0.js → mime-y2rpf3m1.js} +8 -8
  271. package/dist/chunks/{model-resolver-pepx8s05.js → mime-y2vzq5h6.js} +14 -14
  272. package/dist/chunks/{model-resolver-sfatkps4.js → mime-yfmm3r9p.js} +22 -22
  273. package/dist/chunks/{model-resolver-zmr78fwr.js → mime-ygdna4kr.js} +5 -5
  274. package/dist/chunks/{model-resolver-q95fhctt.js → mime-ygmyzbnp.js} +45 -45
  275. package/dist/chunks/{model-resolver-fdwgrwmf.js → mime-ym12zjx9.js} +29 -29
  276. package/dist/chunks/{model-resolver-yp2x3t23.js → mime-yp2x3t23.js} +1 -1
  277. package/dist/chunks/{model-resolver-5f50v25j.js → mime-ypj40ynd.js} +20 -20
  278. package/dist/chunks/{model-resolver-h9wp8z5w.js → mime-yrcj3v3g.js} +4 -4
  279. package/dist/chunks/{model-resolver-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{model-resolver-89za3yyg.js → mime-z2jd07rd.js} +7 -7
  281. package/dist/chunks/{model-resolver-mm8y8jbb.js → mime-z4x74e20.js} +23 -23
  282. package/dist/chunks/{model-resolver-shncg65v.js → mime-z5w93em6.js} +7 -7
  283. package/dist/chunks/{model-resolver-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{model-resolver-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +11 -11
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +87 -87
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +118 -118
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +87 -87
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +11 -11
  424. package/dist/filesystem.js +104 -104
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +103 -103
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +101 -101
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +89 -89
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +89 -89
  466. package/dist/managed-policy.js +6 -6
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +105 -105
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +101 -101
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +80 -80
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +111 -111
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +88 -88
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +1 -1
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +118 -118
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +76 -76
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +346 -346
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +2 -2
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +5 -5
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +6 -6
  554. package/dist/plugin.js +224 -224
  555. package/dist/project/schema.js +6 -6
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +90 -90
  558. package/dist/provider.js +101 -101
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +101 -101
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +93 -93
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +97 -97
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +153 -153
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +216 -216
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +86 -86
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +79 -79
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +127 -127
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +2 -2
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +216 -213
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +207 -207
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +15 -15
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +110 -110
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +130 -130
  633. package/dist/tool/plugin/edit.js +116 -116
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +105 -105
  641. package/dist/tool/plugin/read.js +125 -125
  642. package/dist/tool/plugin/shell.js +210 -210
  643. package/dist/tool/plugin/skill.js +107 -107
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +112 -112
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +116 -116
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +12 -12
  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 +7 -7
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +4 -4
  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 +7 -7
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  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 +5 -5
  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/model-resolver-4zfvjxth.js +0 -253
  686. package/dist/chunks/model-resolver-d9c50y5c.js +0 -26
  687. package/dist/chunks/model-resolver-qc068m1q.js +0 -18
  688. /package/dist/chunks/{model-resolver-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{model-resolver-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{model-resolver-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{model-resolver-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{model-resolver-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{model-resolver-24dcb14g.js → mime-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{model-resolver-2710q6r3.js → mime-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{model-resolver-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{model-resolver-2bv980vf.js → mime-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{model-resolver-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{model-resolver-359p4xyc.js → mime-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{model-resolver-3asan66x.js → mime-3asan66x.js} +0 -0
  700. /package/dist/chunks/{model-resolver-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{model-resolver-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{model-resolver-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{model-resolver-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{model-resolver-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{model-resolver-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{model-resolver-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{model-resolver-53557ph1.js → mime-53557ph1.js} +0 -0
  708. /package/dist/chunks/{model-resolver-550bvhaj.js → mime-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{model-resolver-6prwharc.js → mime-6prwharc.js} +0 -0
  710. /package/dist/chunks/{model-resolver-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{model-resolver-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{model-resolver-7m9af43g.js → mime-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{model-resolver-822emrt2.js → mime-822emrt2.js} +0 -0
  714. /package/dist/chunks/{model-resolver-84wd9syh.js → mime-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{model-resolver-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{model-resolver-8n3pysct.js → mime-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{model-resolver-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{model-resolver-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{model-resolver-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{model-resolver-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{model-resolver-af5trqkr.js → mime-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{model-resolver-afrmfg78.js → mime-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{model-resolver-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{model-resolver-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{model-resolver-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{model-resolver-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{model-resolver-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{model-resolver-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{model-resolver-d9fn303g.js → mime-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{model-resolver-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{model-resolver-dajrwvna.js → mime-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{model-resolver-dap0rakb.js → mime-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{model-resolver-df08tz66.js → mime-df08tz66.js} +0 -0
  734. /package/dist/chunks/{model-resolver-dy18nga0.js → mime-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{model-resolver-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{model-resolver-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{model-resolver-ec1grn59.js → mime-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{model-resolver-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{model-resolver-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{model-resolver-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{model-resolver-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{model-resolver-faypxj3z.js → mime-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{model-resolver-fd410y7t.js → mime-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{model-resolver-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{model-resolver-g86h250q.js → mime-g86h250q.js} +0 -0
  746. /package/dist/chunks/{model-resolver-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{model-resolver-gftt206x.js → mime-gftt206x.js} +0 -0
  748. /package/dist/chunks/{model-resolver-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{model-resolver-hk9envan.js → mime-hk9envan.js} +0 -0
  750. /package/dist/chunks/{model-resolver-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{model-resolver-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{model-resolver-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{model-resolver-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{model-resolver-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{model-resolver-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{model-resolver-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{model-resolver-m18g726c.js → mime-m18g726c.js} +0 -0
  758. /package/dist/chunks/{model-resolver-mp448xyj.js → mime-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{model-resolver-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{model-resolver-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{model-resolver-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{model-resolver-njntx4h6.js → mime-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{model-resolver-pkyv6v7h.js → mime-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{model-resolver-pyv0edze.js → mime-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{model-resolver-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{model-resolver-q74kybfr.js → mime-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{model-resolver-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{model-resolver-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{model-resolver-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{model-resolver-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{model-resolver-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{model-resolver-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{model-resolver-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{model-resolver-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{model-resolver-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{model-resolver-w803qqfp.js → mime-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{model-resolver-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{model-resolver-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{model-resolver-wjj7prxr.js → mime-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{model-resolver-wtztk69x.js → mime-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{model-resolver-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{model-resolver-x61499pn.js → mime-x61499pn.js} +0 -0
  783. /package/dist/chunks/{model-resolver-y44na4kk.js → mime-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{model-resolver-y8f7s663.js → mime-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{model-resolver-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{model-resolver-ym463w8f.js → mime-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{model-resolver-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{model-resolver-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./model-resolver-z5v4ffb3.js";
5
+ } from "./mime-z5v4ffb3.js";
6
6
  import {
7
- Service79,
8
- node83
9
- } from "./model-resolver-tnabgbb7.js";
7
+ Service77,
8
+ node81
9
+ } from "./mime-kjejtsqg.js";
10
10
  import {
11
- Service29,
12
- node32
13
- } from "./model-resolver-rendx1gy.js";
11
+ Service22,
12
+ node24
13
+ } from "./mime-svc4qe25.js";
14
14
  import {
15
15
  __export
16
- } from "./model-resolver-9rqn6x4v.js";
16
+ } from "./mime-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event7,
27
+ Event: () => Event4,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError4,
34
+ NotFoundError: () => NotFoundError3,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service28,
36
+ Service: () => Service21,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node31
40
+ node: () => node23
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event7 = FileSystem.Event;
108
+ var Event4 = FileSystem.Event;
109
109
 
110
- class Service28 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service21 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service28, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service21, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service79;
115
- const search = yield* Service29;
114
+ const location = yield* Service77;
115
+ const search = yield* Service22;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service28, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError4({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError4({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError4({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service28.of({
134
+ return Service21.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError4({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError3({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service28, Effect.gen(function* () {
147
147
  }),
148
148
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
149
149
  const directory = path.resolve(location.directory, input.path ?? ".");
150
- const missing = new NotFoundError4({ path: RelativePath2.make(input.path ?? ".") });
150
+ const missing = new NotFoundError3({ path: RelativePath2.make(input.path ?? ".") });
151
151
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
152
152
  if (info.type !== "Directory")
153
153
  return yield* missing;
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service28, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node31 = makeLocationNode({
175
- service: Service28,
174
+ var node23 = makeLocationNode({
175
+ service: Service21,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node83, node32]
177
+ deps: [FSUtil.node, node81, node24]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service28, node31, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service21, node23, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service79
3
- } from "./model-resolver-tnabgbb7.js";
2
+ Service77
3
+ } from "./mime-kjejtsqg.js";
4
4
  import {
5
- ID11,
5
+ ID5,
6
6
  Family2
7
- } from "./model-resolver-rss8evm2.js";
7
+ } from "./mime-mzvkzawb.js";
8
8
  import {
9
- Service67
10
- } from "./model-resolver-2gbv331w.js";
9
+ Service56
10
+ } from "./mime-ta0smedg.js";
11
11
  import {
12
- Service77
13
- } from "./model-resolver-k1sxn049.js";
12
+ Service75
13
+ } from "./mime-21tzjh1m.js";
14
14
  import {
15
15
  spawner2
16
- } from "./model-resolver-fxaymqdw.js";
16
+ } from "./mime-fxaymqdw.js";
17
17
  import {
18
18
  foldSettings2
19
- } from "./model-resolver-171a9z80.js";
19
+ } from "./mime-p3vvxz2w.js";
20
20
 
21
21
  // src/plugin/provider/local.ts
22
22
  import { define } from "@opencode/plugin/effect/plugin";
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
32
32
  id: input.id,
33
33
  effect: Effect.fn(function* (ctx) {
34
34
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
35
- const config = yield* Service67;
36
- const environment = yield* Effect.serviceOption(Service77);
37
- const location = yield* Effect.serviceOption(Service79);
35
+ const config = yield* Service56;
36
+ const environment = yield* Effect.serviceOption(Service75);
37
+ const location = yield* Effect.serviceOption(Service77);
38
38
  const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
39
39
  const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
40
40
  const loaded = { models: [], hash: "[]" };
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
63
63
  for (const item of loaded.models) {
64
64
  const spec = input.model(item);
65
65
  providers.models.update(input.providerID, spec.id, (model) => {
66
- model.modelID = ID11.make(spec.id);
66
+ model.modelID = ID5.make(spec.id);
67
67
  model.name = spec.name || spec.id;
68
68
  model.family = spec.family ? Family2.make(spec.family) : undefined;
69
69
  model.capabilities = {
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service48,
10
- node: () => node50
9
+ Service: () => Service51,
10
+ node: () => node53
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service48 extends Context.Service()("@opencode/Instance") {
16
+ class Service51 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node50 = LayerNode.unbound(Service48, Node.tags.values.global);
18
+ var node53 = LayerNode.unbound(Service51, Node.tags.values.global);
19
19
 
20
- export { Service48, node50, exports_service2 };
20
+ export { Service51, node53, exports_service2 };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID9,
3
- Service62
4
- } from "./model-resolver-wwwg8pmm.js";
2
+ ID14,
3
+ Service72
4
+ } from "./mime-ev50a1gv.js";
5
5
  import {
6
6
  Ref2,
7
- Service73
8
- } from "./model-resolver-rss8evm2.js";
7
+ Service59
8
+ } from "./mime-mzvkzawb.js";
9
9
  import {
10
10
  latest2,
11
- Service67
12
- } from "./model-resolver-2gbv331w.js";
11
+ Service56
12
+ } from "./mime-ta0smedg.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./model-resolver-my4zabxr.js";
15
+ } from "./mime-m5jcjszt.js";
16
16
  import {
17
- Service52
18
- } from "./model-resolver-jtbrrh68.js";
17
+ Service55
18
+ } from "./mime-fxsx3k7c.js";
19
19
  import {
20
20
  evaluate2,
21
- Service59
22
- } from "./model-resolver-ebj1p111.js";
21
+ Service61
22
+ } from "./mime-ga8mg7ng.js";
23
23
  import {
24
24
  Service31
25
- } from "./model-resolver-fjakydk0.js";
25
+ } from "./mime-rrz55b2p.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./model-resolver-6xb47vfp.js";
28
+ } from "./mime-6xb47vfp.js";
29
29
  import {
30
- Service10
31
- } from "./model-resolver-6x64453h.js";
30
+ Service12
31
+ } from "./mime-jbnd8fp8.js";
32
32
  import {
33
33
  __export
34
- } from "./model-resolver-9rqn6x4v.js";
34
+ } from "./mime-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input4,
40
- Output: () => Output3,
41
- Plugin: () => Plugin21,
39
+ Input: () => Input12,
40
+ Output: () => Output8,
41
+ Plugin: () => Plugin30,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description3,
44
- name: () => name4
43
+ description: () => description5,
44
+ name: () => name12
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name4 = "subagent";
48
+ var name12 = "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 Input4 = Schema.Struct({
59
+ var Input12 = 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 Input4 = 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 Output3 = Schema.Struct({
75
+ var Output8 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description3 = [
80
+ var description5 = [
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 description3 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin21 = {
89
+ var Plugin30 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
92
  const sessions = yield* Service31;
93
- const jobs = yield* Service52;
94
- const agents = yield* Service62;
95
- const config = yield* Service67;
96
- const permission = yield* Service59;
97
- const models = yield* Service73;
98
- const subagents = yield* Service10;
93
+ const jobs = yield* Service55;
94
+ const agents = yield* Service72;
95
+ const config = yield* Service56;
96
+ const permission = yield* Service61;
97
+ const models = yield* Service59;
98
+ const subagents = yield* Service12;
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 Plugin21 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name4,
118
+ name: name12,
119
119
  options: { codemode: false },
120
- description: description3,
121
- input: Input4,
122
- output: Output3,
120
+ description: description5,
121
+ input: Input12,
122
+ output: Output8,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin21 = {
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: name4,
142
+ action: name12,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin21 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID9.make(input.agent),
171
+ agent: ID14.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 !== name4 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name12 || !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[name4];
233
+ const tool = event.tools[name12];
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(name4, 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(name12, 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 { name4, Input4, Output3, description3, Plugin21, exports_subagent };
256
+ export { name12, Input12, Output8, description5, Plugin30, exports_subagent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./model-resolver-y71avatq.js";
3
+ } from "./mime-dpkg50ah.js";
4
4
  import {
5
- Service77,
6
- node80
7
- } from "./model-resolver-k1sxn049.js";
5
+ Service75,
6
+ node78
7
+ } from "./mime-21tzjh1m.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./mime-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service21,
17
- node: () => node24,
16
+ Service: () => Service13,
17
+ node: () => node15,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service21 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service13 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service21, Effect.gen(function* () {
38
- const environment = yield* Service77;
37
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
38
+ const environment = yield* Service75;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service21.of({ withLock, write, writeTextPreservingBom });
59
+ return Service13.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node24 = makeLocationNode({ service: Service21, layer, deps: [node80] });
61
+ var node15 = makeLocationNode({ service: Service13, layer, deps: [node78] });
62
62
 
63
- export { Service21, readText2, syncTextBom2, node24, exports_file_mutation };
63
+ export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./mime-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service67
7
- } from "./model-resolver-2gbv331w.js";
6
+ Service56
7
+ } from "./mime-ta0smedg.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./model-resolver-hgz4x7wa.js";
10
+ } from "./mime-hgz4x7wa.js";
11
11
  import {
12
- Service77
13
- } from "./model-resolver-k1sxn049.js";
12
+ Service75
13
+ } from "./mime-21tzjh1m.js";
14
14
  import {
15
- Service52
16
- } from "./model-resolver-jtbrrh68.js";
15
+ Service55
16
+ } from "./mime-fxsx3k7c.js";
17
17
  import {
18
- Service59
19
- } from "./model-resolver-ebj1p111.js";
18
+ Service61
19
+ } from "./mime-ga8mg7ng.js";
20
20
  import {
21
- Service27,
21
+ Service16,
22
22
  resolvePath2
23
- } from "./model-resolver-rngsm5nq.js";
23
+ } from "./mime-205wgd7n.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./model-resolver-vzs5sf6e.js";
29
+ } from "./mime-vzs5sf6e.js";
30
30
  import {
31
- Service70,
31
+ Service47,
32
32
  name15
33
- } from "./model-resolver-rah8ek0q.js";
33
+ } from "./mime-62e165w1.js";
34
34
  import {
35
- NotFoundError9,
36
- Service65
37
- } from "./model-resolver-rcyxvf8g.js";
35
+ NotFoundError6,
36
+ Service43
37
+ } from "./mime-qwd8z7en.js";
38
38
  import {
39
39
  Service31
40
- } from "./model-resolver-fjakydk0.js";
40
+ } from "./mime-rrz55b2p.js";
41
41
  import {
42
42
  scan2
43
- } from "./model-resolver-fb8g9918.js";
43
+ } from "./mime-w81spx5m.js";
44
44
  import {
45
45
  __export
46
- } from "./model-resolver-9rqn6x4v.js";
46
+ } from "./mime-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input9,
53
- Plugin: () => Plugin27,
52
+ Input: () => Input4,
53
+ Plugin: () => Plugin20,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name9
55
+ name: () => name4
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name9 = "shell";
60
+ var name4 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input9 = Schema.Struct({
74
+ var Input4 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin27 = {
120
+ var Plugin20 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
123
  const sessions = yield* Service31;
124
- const jobs = yield* Service52;
124
+ const jobs = yield* Service55;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service77;
127
- const access = yield* Service27;
128
- const shell = yield* Service65;
129
- const shellSelect = yield* Service70;
126
+ const environment = yield* Service75;
127
+ const access = yield* Service16;
128
+ const shell = yield* Service43;
129
+ const shellSelect = yield* Service47;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service59;
132
- const config = yield* Service67;
131
+ const permission = yield* Service61;
132
+ const config = yield* Service56;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin27 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name9,
151
+ action: name4,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin27 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name9,
188
+ name: name4,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input9,
191
+ input: Input4,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin27 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError9({ id: info.id });
214
+ return yield* new NotFoundError6({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name9,
228
+ type: name4,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name9];
258
+ const tool = event.tools[name4];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin27, exports_shell };
269
+ export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin20, exports_shell };