@opencode-ai/core 0.0.0-dev-19132 → 0.0.0-dev-19134

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 (773) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{tool-output-famd3pv6.js → agent-01w7s3hf.js} +5 -5
  9. package/dist/chunks/{tool-output-rmhwgps5.js → agent-022wyyth.js} +4 -4
  10. package/dist/chunks/{tool-output-japv3nz8.js → agent-035ccfev.js} +25 -25
  11. package/dist/chunks/{tool-output-4mdhf6qb.js → agent-0bhfshk5.js} +20 -20
  12. package/dist/chunks/{tool-output-0e0xafbb.js → agent-0e0xafbb.js} +2 -2
  13. package/dist/chunks/{tool-output-569kkztx.js → agent-0etjh3sx.js} +46 -46
  14. package/dist/chunks/{tool-output-tz4n1mmd.js → agent-0k2v0y72.js} +4 -4
  15. package/dist/chunks/{tool-output-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{tool-output-w4600456.js → agent-0rag4e4f.js} +4 -4
  17. package/dist/chunks/{tool-output-0s9ayhjt.js → agent-0s9ayhjt.js} +1 -1
  18. package/dist/chunks/{tool-output-247ymhap.js → agent-0wc4szmq.js} +1 -1
  19. package/dist/chunks/{tool-output-ws113hft.js → agent-14h757nk.js} +11 -11
  20. package/dist/chunks/{tool-output-1ct4r87x.js → agent-1ct4r87x.js} +1 -1
  21. package/dist/chunks/{tool-output-g1k83tts.js → agent-1en627kf.js} +9 -9
  22. package/dist/chunks/{tool-output-ckev9kd7.js → agent-1ezz2wmh.js} +3 -3
  23. package/dist/chunks/{tool-output-rgpp5x08.js → agent-1f1wzhgc.js} +4 -4
  24. package/dist/chunks/{tool-output-8yvym9ym.js → agent-1n116cmy.js} +9 -9
  25. package/dist/chunks/{tool-output-x0bh2f69.js → agent-1pgk3sz4.js} +15 -15
  26. package/dist/chunks/{tool-output-prhj47bn.js → agent-1rxbh4dg.js} +34 -34
  27. package/dist/chunks/{tool-output-mtcjf44p.js → agent-1z80kc63.js} +8 -8
  28. package/dist/chunks/{tool-output-21r38tys.js → agent-21r38tys.js} +1 -1
  29. package/dist/chunks/{tool-output-2402vzrj.js → agent-2402vzrj.js} +1 -1
  30. package/dist/chunks/{tool-output-qr6f7pbk.js → agent-26qqzp3j.js} +11 -11
  31. package/dist/chunks/{tool-output-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{tool-output-2ht70gj7.js → agent-2ht70gj7.js} +1 -1
  33. package/dist/chunks/{tool-output-2jqmte8w.js → agent-2jqmte8w.js} +2 -2
  34. package/dist/chunks/{tool-output-fcrkznn8.js → agent-2k8khapm.js} +5 -5
  35. package/dist/chunks/{tool-output-1hsk58z5.js → agent-2kn058km.js} +50 -50
  36. package/dist/chunks/{tool-output-ze4dnq9c.js → agent-2m4g9ewj.js} +20 -20
  37. package/dist/chunks/{tool-output-n8c291r7.js → agent-2y34zzjz.js} +6 -6
  38. package/dist/chunks/{tool-output-tzqg8t7v.js → agent-31azyw44.js} +23 -23
  39. package/dist/chunks/{tool-output-hz6ssrgr.js → agent-31sg83h3.js} +16 -16
  40. package/dist/chunks/{tool-output-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{tool-output-nx5t2780.js → agent-3h4s9wf1.js} +13 -13
  42. package/dist/chunks/{tool-output-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{tool-output-zz3058qf.js → agent-3mkt1fq8.js} +46 -46
  44. package/dist/chunks/{tool-output-pg3hw8q9.js → agent-3qnxcvkk.js} +20 -20
  45. package/dist/chunks/{tool-output-3qzbfqsy.js → agent-3qzbfqsy.js} +2 -2
  46. package/dist/chunks/{tool-output-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{tool-output-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{tool-output-ej6vmzpd.js → agent-3xcehbhs.js} +17 -17
  49. package/dist/chunks/{tool-output-q9v1gax8.js → agent-3z68pr8k.js} +11 -11
  50. package/dist/chunks/{tool-output-454k5vzh.js → agent-454k5vzh.js} +1 -1
  51. package/dist/chunks/{tool-output-82aytm87.js → agent-4crm0y3y.js} +1 -1
  52. package/dist/chunks/{tool-output-1f348y00.js → agent-4npbydey.js} +15 -15
  53. package/dist/chunks/{tool-output-4r2nyarf.js → agent-4r2nyarf.js} +1 -1
  54. package/dist/chunks/{tool-output-tzhrccfj.js → agent-4w16edgh.js} +15 -15
  55. package/dist/chunks/{tool-output-mdtevav1.js → agent-5448aj5z.js} +22 -22
  56. package/dist/chunks/{tool-output-6nvjfdj9.js → agent-55xx6td3.js} +7 -7
  57. package/dist/chunks/{tool-output-weyy6kkj.js → agent-57bm4pw2.js} +25 -25
  58. package/dist/chunks/{tool-output-v5f5ppmn.js → agent-59p9anb2.js} +23 -23
  59. package/dist/chunks/{tool-output-w8b4drz0.js → agent-5bccfspb.js} +11 -11
  60. package/dist/chunks/{tool-output-5daktx2q.js → agent-5daktx2q.js} +1 -1
  61. package/dist/chunks/{tool-output-5fmxt4p5.js → agent-5fmxt4p5.js} +1 -1
  62. package/dist/chunks/{tool-output-5jvc5tg2.js → agent-5jvc5tg2.js} +1 -1
  63. package/dist/chunks/{tool-output-evzgc5we.js → agent-5nhnxyzk.js} +8 -8
  64. package/dist/chunks/{tool-output-hy9vpt90.js → agent-65g465sb.js} +12 -12
  65. package/dist/chunks/{tool-output-bh37eqvz.js → agent-65xgr3ez.js} +7 -7
  66. package/dist/chunks/{tool-output-x6746gyg.js → agent-67h63hm0.js} +30 -30
  67. package/dist/chunks/{tool-output-4m7h44j9.js → agent-68seyw0w.js} +37 -37
  68. package/dist/chunks/{tool-output-r71xzazx.js → agent-6nd0921f.js} +9 -9
  69. package/dist/chunks/{tool-output-fn9rhyff.js → agent-6s53yxk4.js} +29 -29
  70. package/dist/chunks/{tool-output-w3jym6ha.js → agent-6z5bwd8g.js} +6 -6
  71. package/dist/chunks/{tool-output-711hfp6y.js → agent-711hfp6y.js} +2 -2
  72. package/dist/chunks/{tool-output-72nftnjy.js → agent-72nftnjy.js} +2 -2
  73. package/dist/chunks/{tool-output-15q8ja5w.js → agent-759pz1a2.js} +8 -8
  74. package/dist/chunks/{tool-output-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{tool-output-0w19ktq4.js → agent-7ekmjv5k.js} +2 -2
  76. package/dist/chunks/{tool-output-jw9vr5cv.js → agent-7n2tcerd.js} +11 -11
  77. package/dist/chunks/{tool-output-4yn2xrp2.js → agent-7qpar7b0.js} +32 -32
  78. package/dist/chunks/{tool-output-7x2gvtfy.js → agent-7r0r50e5.js} +5 -5
  79. package/dist/chunks/{tool-output-vygsk7ks.js → agent-7t94ejvv.js} +4 -4
  80. package/dist/chunks/{tool-output-j1gqb96e.js → agent-7vdy950p.js} +13 -13
  81. package/dist/chunks/{tool-output-9p0pre9t.js → agent-7wbeyhp9.js} +9 -9
  82. package/dist/chunks/{tool-output-k1eaxeb6.js → agent-7zhf76n3.js} +24 -24
  83. package/dist/chunks/{tool-output-25m4ah6t.js → agent-806j49yq.js} +7 -7
  84. package/dist/chunks/{tool-output-v60k9n82.js → agent-80ems202.js} +24 -24
  85. package/dist/chunks/{tool-output-pf2z7t4n.js → agent-810y1jh4.js} +7 -7
  86. package/dist/chunks/{tool-output-n4at383v.js → agent-8pk35v3b.js} +31 -31
  87. package/dist/chunks/{tool-output-zfgcdem1.js → agent-8qyy1b3c.js} +8 -8
  88. package/dist/chunks/{tool-output-aremtmnh.js → agent-8rxwk6s8.js} +10 -10
  89. package/dist/chunks/{tool-output-9snq17a4.js → agent-8zped23d.js} +5 -5
  90. package/dist/chunks/{tool-output-wem6z0kr.js → agent-91aj8tvp.js} +26 -26
  91. package/dist/chunks/{tool-output-93a8yfjt.js → agent-93a8yfjt.js} +2 -2
  92. package/dist/chunks/{tool-output-9bepaz0a.js → agent-9hjqzppv.js} +31 -31
  93. package/dist/chunks/{tool-output-zm6456hf.js → agent-9ktg0kwy.js} +25 -25
  94. package/dist/chunks/{tool-output-q0qrc1wp.js → agent-9q2vx4dz.js} +40 -40
  95. package/dist/chunks/{tool-output-fvzje8s4.js → agent-9s4ajjhc.js} +22 -22
  96. package/dist/chunks/{tool-output-caxth0g0.js → agent-9wfg6z9j.js} +20 -20
  97. package/dist/chunks/{tool-output-ameg2vx3.js → agent-9xvrg3b1.js} +1 -1
  98. package/dist/chunks/agent-9zdhvgqs.js +18 -0
  99. package/dist/chunks/{tool-output-2m8gjhsm.js → agent-a15cmqra.js} +8 -8
  100. package/dist/chunks/{tool-output-xaey0kp4.js → agent-a2q94wnn.js} +46 -46
  101. package/dist/chunks/{tool-output-vah81f4s.js → agent-a53x0zc2.js} +8 -8
  102. package/dist/chunks/{tool-output-44f31d2j.js → agent-a5wzkdk7.js} +28 -28
  103. package/dist/chunks/{tool-output-xyeb15gg.js → agent-a8fdacep.js} +33 -33
  104. package/dist/chunks/{tool-output-aaet6srn.js → agent-aaet6srn.js} +2 -2
  105. package/dist/chunks/{tool-output-hjf2e9et.js → agent-aaybge2e.js} +8 -8
  106. package/dist/chunks/{tool-output-rph3zd4r.js → agent-ab9238g2.js} +6 -6
  107. package/dist/chunks/{tool-output-0hsgr9de.js → agent-adj555m4.js} +26 -26
  108. package/dist/chunks/{tool-output-d78q1k7h.js → agent-ar3vq2rb.js} +12 -12
  109. package/dist/chunks/{tool-output-ccrjyqkm.js → agent-asfb91ym.js} +13 -13
  110. package/dist/chunks/{tool-output-9enr510g.js → agent-atxn8a3g.js} +15 -15
  111. package/dist/chunks/{tool-output-na3y75gh.js → agent-awqyf91x.js} +5 -5
  112. package/dist/chunks/{tool-output-4bz12b3s.js → agent-b2jmq90t.js} +30 -30
  113. package/dist/chunks/{tool-output-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{tool-output-b9wsbatv.js → agent-b9wsbatv.js} +1 -1
  115. package/dist/chunks/{tool-output-hjj5zc3y.js → agent-bbqqsne5.js} +62 -62
  116. package/dist/chunks/{tool-output-3j8sdtpz.js → agent-bct739vz.js} +4 -4
  117. package/dist/chunks/{tool-output-fas5f0m7.js → agent-bharwccy.js} +20 -20
  118. package/dist/chunks/{tool-output-3qze2g25.js → agent-bqarnab4.js} +2 -2
  119. package/dist/chunks/{tool-output-sagqnce1.js → agent-bs24dhpj.js} +1 -1
  120. package/dist/chunks/{tool-output-xr7dgcbj.js → agent-by97waje.js} +53 -53
  121. package/dist/chunks/{tool-output-bjk7rtqc.js → agent-c03sxnnv.js} +174 -174
  122. package/dist/chunks/{tool-output-d5r6akyc.js → agent-c6afg63y.js} +11 -11
  123. package/dist/chunks/{tool-output-nhm2wt1a.js → agent-c7w00fnw.js} +7 -7
  124. package/dist/chunks/{tool-output-xdp8bjn8.js → agent-c9cdp0vn.js} +12 -12
  125. package/dist/chunks/{tool-output-argmj6e6.js → agent-crf72gwq.js} +6 -6
  126. package/dist/chunks/{tool-output-7ebb2hj1.js → agent-cx951yas.js} +24 -24
  127. package/dist/chunks/{tool-output-f1ge807f.js → agent-cxrechn0.js} +20 -20
  128. package/dist/chunks/{tool-output-n4k1efnb.js → agent-czdarw0y.js} +69 -69
  129. package/dist/chunks/{tool-output-hm5tgwy0.js → agent-czfdxcf9.js} +25 -25
  130. package/dist/chunks/{tool-output-n1017v7e.js → agent-d98jztjr.js} +11 -11
  131. package/dist/chunks/{tool-output-18msf0rq.js → agent-dd4gnkmv.js} +11 -11
  132. package/dist/chunks/{tool-output-dhbxcgm0.js → agent-df7nm8fz.js} +29 -29
  133. package/dist/chunks/{tool-output-czca2s0b.js → agent-djhf0gy5.js} +43 -43
  134. package/dist/chunks/{tool-output-2b3va5cq.js → agent-dns82vym.js} +19 -19
  135. package/dist/chunks/{tool-output-55ntyqe3.js → agent-e1pnr02a.js} +5 -5
  136. package/dist/chunks/{tool-output-dgy35hnk.js → agent-e457wa0p.js} +15 -15
  137. package/dist/chunks/{tool-output-8a1k5732.js → agent-e4gpwzj6.js} +9 -9
  138. package/dist/chunks/{tool-output-cqchdrgq.js → agent-ecbt05nt.js} +5 -5
  139. package/dist/chunks/{tool-output-ttfb1syt.js → agent-ehjws9wm.js} +17 -17
  140. package/dist/chunks/{tool-output-9ec7knr6.js → agent-ens6nfbp.js} +28 -28
  141. package/dist/chunks/{tool-output-mhkvc446.js → agent-eq1pz5kg.js} +3 -3
  142. package/dist/chunks/{tool-output-k24h35sc.js → agent-eszpqqjx.js} +27 -27
  143. package/dist/chunks/{tool-output-ez5b8bq3.js → agent-ez5b8bq3.js} +1 -1
  144. package/dist/chunks/{tool-output-eqdqr40m.js → agent-f3y516wx.js} +10 -10
  145. package/dist/chunks/agent-fa7kv0pp.js +247 -0
  146. package/dist/chunks/{tool-output-r31ka9dq.js → agent-fm6rp3s9.js} +34 -34
  147. package/dist/chunks/{tool-output-fxbjtjnd.js → agent-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{tool-output-fxypknc8.js → agent-fxypknc8.js} +1 -1
  149. package/dist/chunks/{tool-output-hrvm11jt.js → agent-g2dy4bvs.js} +3 -3
  150. package/dist/chunks/{tool-output-d72308c8.js → agent-g2gt0w0k.js} +2 -2
  151. package/dist/chunks/{tool-output-rmwqem2y.js → agent-gak3es0t.js} +11 -11
  152. package/dist/chunks/{tool-output-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{tool-output-z3h7hm3n.js → agent-gdkjhw4h.js} +4 -4
  154. package/dist/chunks/{tool-output-vcct9v24.js → agent-gf1b3qaq.js} +6 -6
  155. package/dist/chunks/{tool-output-g1v92phv.js → agent-gf4sh87j.js} +1 -1
  156. package/dist/chunks/{tool-output-qq99h9rs.js → agent-gp7nde0h.js} +32 -32
  157. package/dist/chunks/{tool-output-k9xtemaj.js → agent-gs7dfp15.js} +9 -9
  158. package/dist/chunks/{tool-output-bsc9144r.js → agent-gvmasxkv.js} +13 -13
  159. package/dist/chunks/{tool-output-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{tool-output-ww8c32hp.js → agent-h722e297.js} +5 -5
  161. package/dist/chunks/{tool-output-heyhwy2w.js → agent-heyhwy2w.js} +1 -1
  162. package/dist/chunks/{tool-output-g3vtbd9v.js → agent-hf34rg9m.js} +15 -15
  163. package/dist/chunks/{tool-output-0scj3zdw.js → agent-hqd7e165.js} +10 -10
  164. package/dist/chunks/{tool-output-kvsjn1dr.js → agent-hw4pv20g.js} +2 -2
  165. package/dist/chunks/{tool-output-zn0578f7.js → agent-hybax9yn.js} +62 -62
  166. package/dist/chunks/{tool-output-jnhf5mef.js → agent-j8nnq7em.js} +1 -1
  167. package/dist/chunks/{tool-output-5qd3pb7m.js → agent-j935v87r.js} +2 -2
  168. package/dist/chunks/{tool-output-485jrevg.js → agent-jbckvzxk.js} +17 -17
  169. package/dist/chunks/{tool-output-13a9area.js → agent-jhtq1fsz.js} +6 -6
  170. package/dist/chunks/{tool-output-2ghyg1gj.js → agent-jnyk3mzb.js} +22 -22
  171. package/dist/chunks/{tool-output-q780xd79.js → agent-jpkebe24.js} +13 -13
  172. package/dist/chunks/{tool-output-rg15grrc.js → agent-jrjfj6f1.js} +24 -24
  173. package/dist/chunks/{tool-output-z65ge745.js → agent-jrsbke6c.js} +5 -5
  174. package/dist/chunks/{tool-output-kpyq2w0f.js → agent-jteae0j7.js} +3 -3
  175. package/dist/chunks/{tool-output-c3vd9c4p.js → agent-jyf935bj.js} +39 -39
  176. package/dist/chunks/{tool-output-gkp8xgp5.js → agent-k2tv210q.js} +4 -4
  177. package/dist/chunks/{tool-output-k4bwy1x5.js → agent-k4bwy1x5.js} +1 -1
  178. package/dist/chunks/{tool-output-4hkt8a97.js → agent-kar5tx9z.js} +10 -10
  179. package/dist/chunks/{tool-output-kg06axw8.js → agent-kg06axw8.js} +1 -1
  180. package/dist/chunks/{tool-output-m7qyabmr.js → agent-ks21ngwh.js} +7 -7
  181. package/dist/chunks/{tool-output-hsbzga32.js → agent-kxw418nq.js} +33 -33
  182. package/dist/chunks/{tool-output-00v6267a.js → agent-kzr8291h.js} +23 -23
  183. package/dist/chunks/{tool-output-d3n7r00r.js → agent-m8mnxh4b.js} +16 -16
  184. package/dist/chunks/{tool-output-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{tool-output-ka0bj372.js → agent-mhk86k01.js} +32 -32
  186. package/dist/chunks/{tool-output-nar257dn.js → agent-mkmcbfj7.js} +13 -13
  187. package/dist/chunks/{tool-output-ra4jqc86.js → agent-mr60vpn5.js} +28 -28
  188. package/dist/chunks/{tool-output-kzpdcxr5.js → agent-n6q5hn6k.js} +16 -16
  189. package/dist/chunks/{tool-output-1yhxqyw8.js → agent-na6nvkmt.js} +22 -22
  190. package/dist/chunks/{tool-output-bjqnstrp.js → agent-nddsbw1c.js} +6 -6
  191. package/dist/chunks/agent-ngp141x2.js +22 -0
  192. package/dist/chunks/{tool-output-zjhrmf3z.js → agent-nj1g2yhc.js} +8 -8
  193. package/dist/chunks/{tool-output-97prekb9.js → agent-nryvk2bb.js} +27 -27
  194. package/dist/chunks/{tool-output-h1ykqn37.js → agent-nxrz604p.js} +9 -9
  195. package/dist/chunks/{tool-output-wwajs08n.js → agent-p1r008p0.js} +19 -19
  196. package/dist/chunks/{tool-output-xqhwf5xj.js → agent-p2qkj8wm.js} +22 -22
  197. package/dist/chunks/{tool-output-ccj0fzck.js → agent-p32d7zzt.js} +8 -8
  198. package/dist/chunks/{tool-output-686ax7c6.js → agent-p7fwe8hr.js} +11 -11
  199. package/dist/chunks/{tool-output-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{tool-output-pknna89w.js → agent-pknna89w.js} +1 -1
  201. package/dist/chunks/{tool-output-4xcycakt.js → agent-pm2mekbm.js} +88 -88
  202. package/dist/chunks/{tool-output-x2rt1cxd.js → agent-ptcr5d7p.js} +5 -5
  203. package/dist/chunks/{tool-output-dwf86yg8.js → agent-qb37cqa6.js} +13 -13
  204. package/dist/chunks/{tool-output-yjz1f1f0.js → agent-qb76z85q.js} +40 -40
  205. package/dist/chunks/{tool-output-77n460ss.js → agent-qj09d9qc.js} +20 -20
  206. package/dist/chunks/{tool-output-5y6zvhcz.js → agent-qkmrjpc8.js} +30 -30
  207. package/dist/chunks/{tool-output-k6tm9d53.js → agent-qmgssm61.js} +26 -26
  208. package/dist/chunks/{tool-output-6vtapc9a.js → agent-qq0s42pd.js} +9 -9
  209. package/dist/chunks/{tool-output-qsdy395h.js → agent-qsdy395h.js} +1 -1
  210. package/dist/chunks/{tool-output-s23pjjxf.js → agent-qtc5wbcs.js} +29 -29
  211. package/dist/chunks/{tool-output-krxma7wz.js → agent-qv5d22yx.js} +4 -4
  212. package/dist/chunks/{tool-output-9qm9egsn.js → agent-qvbcabdc.js} +2 -2
  213. package/dist/chunks/{tool-output-zsa7ehjp.js → agent-r2res0kp.js} +9 -9
  214. package/dist/chunks/{tool-output-6ykbrvh7.js → agent-r44vzmrg.js} +11 -11
  215. package/dist/chunks/{tool-output-v94b4k3z.js → agent-r7b3zwn8.js} +21 -21
  216. package/dist/chunks/{tool-output-r8dhm0tv.js → agent-r8dhm0tv.js} +1 -1
  217. package/dist/chunks/{tool-output-zs0ehyry.js → agent-redfcqdd.js} +4 -4
  218. package/dist/chunks/{tool-output-1fmdk59e.js → agent-rhs5vnag.js} +6 -6
  219. package/dist/chunks/{tool-output-q4kxyhwq.js → agent-rk7nwdhj.js} +16 -16
  220. package/dist/chunks/{tool-output-g2c9bhkq.js → agent-rwbhhn1p.js} +8 -8
  221. package/dist/chunks/{tool-output-xxz5bf5t.js → agent-rxbdfnq0.js} +3 -3
  222. package/dist/chunks/{tool-output-0z6f9cm5.js → agent-s4g226qt.js} +13 -13
  223. package/dist/chunks/{tool-output-sba4qhjf.js → agent-sba4qhjf.js} +1 -1
  224. package/dist/chunks/{tool-output-px713267.js → agent-sbhn25d0.js} +25 -25
  225. package/dist/chunks/{tool-output-4yzb8m3n.js → agent-smb21sg5.js} +28 -28
  226. package/dist/chunks/{tool-output-1e56kq4r.js → agent-t49wxcvk.js} +36 -36
  227. package/dist/chunks/{tool-output-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{tool-output-ygzesew9.js → agent-tb635r1t.js} +90 -90
  229. package/dist/chunks/{tool-output-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{tool-output-39mhf8tw.js → agent-tcvhc7ea.js} +46 -46
  231. package/dist/chunks/{tool-output-7ba7ze62.js → agent-tepvdgp6.js} +9 -9
  232. package/dist/chunks/{tool-output-fgabtf5j.js → agent-tgwtqm6f.js} +20 -18
  233. package/dist/chunks/{tool-output-thfv75je.js → agent-thfv75je.js} +2 -2
  234. package/dist/chunks/{tool-output-83cmsqwx.js → agent-thvv0w5b.js} +29 -29
  235. package/dist/chunks/{tool-output-tjykrgmx.js → agent-tjykrgmx.js} +1 -1
  236. package/dist/chunks/{tool-output-fr2yak2c.js → agent-tkg14h75.js} +6 -6
  237. package/dist/chunks/{tool-output-h3pqrkpf.js → agent-tp9gt758.js} +4 -4
  238. package/dist/chunks/{tool-output-saxt99x3.js → agent-tppvcy65.js} +9 -9
  239. package/dist/chunks/{tool-output-1sgfeced.js → agent-tscg86cs.js} +32 -32
  240. package/dist/chunks/{tool-output-6hj5ttpj.js → agent-v2wh89ge.js} +2 -2
  241. package/dist/chunks/{tool-output-8yn43qtz.js → agent-v7qwqw98.js} +11 -11
  242. package/dist/chunks/{tool-output-0c3mwf6m.js → agent-v9z32g9k.js} +12 -12
  243. package/dist/chunks/{tool-output-wgcrfrpe.js → agent-vs313s01.js} +6 -6
  244. package/dist/chunks/{tool-output-8w0560vy.js → agent-vt3sdt2p.js} +10 -10
  245. package/dist/chunks/{tool-output-tccsmzye.js → agent-vx3pgvz4.js} +14 -14
  246. package/dist/chunks/{tool-output-kgz6e3w7.js → agent-vz2cwsm9.js} +25 -25
  247. package/dist/chunks/agent-w3vb4krt.js +4 -0
  248. package/dist/chunks/{tool-output-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{tool-output-9ez4hyjp.js → agent-w750rgvc.js} +18 -18
  250. package/dist/chunks/{tool-output-g3m9axkp.js → agent-w7xx7zyy.js} +4 -4
  251. package/dist/chunks/{tool-output-wd87259q.js → agent-wd87259q.js} +1 -1
  252. package/dist/chunks/{tool-output-pr76kmnp.js → agent-wfzrsdxz.js} +11 -11
  253. package/dist/chunks/{tool-output-y131pzyf.js → agent-wm2nxt60.js} +33 -33
  254. package/dist/chunks/{tool-output-wh6c55f0.js → agent-wxjr8ywh.js} +20 -20
  255. package/dist/chunks/{tool-output-knys70rp.js → agent-x108nqtd.js} +3 -3
  256. package/dist/chunks/{tool-output-wyvhcckn.js → agent-x1cmshak.js} +35 -35
  257. package/dist/chunks/{tool-output-x1ezjp6w.js → agent-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{tool-output-5tfcvdvj.js → agent-x6a99p7m.js} +5 -5
  259. package/dist/chunks/{tool-output-8g36mnye.js → agent-x81n7arw.js} +22 -22
  260. package/dist/chunks/{tool-output-5hmb1qky.js → agent-xbr894yq.js} +11 -11
  261. package/dist/chunks/{tool-output-q128857m.js → agent-xea88nm1.js} +1 -1
  262. package/dist/chunks/{tool-output-gnsz9nc1.js → agent-xffcgm1v.js} +6 -6
  263. package/dist/chunks/{tool-output-445zs45w.js → agent-xkc4w1jp.js} +13 -13
  264. package/dist/chunks/{tool-output-9kn3y1c4.js → agent-xkm3xnb1.js} +17 -17
  265. package/dist/chunks/{tool-output-xcvr6978.js → agent-xswknbe2.js} +18 -18
  266. package/dist/chunks/{tool-output-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{tool-output-p2da9514.js → agent-y1z2akcv.js} +11 -11
  268. package/dist/chunks/{tool-output-jwcy2c2z.js → agent-y71avatq.js} +4 -4
  269. package/dist/chunks/{tool-output-nr99m0en.js → agent-yba16dxq.js} +4 -4
  270. package/dist/chunks/{tool-output-yfbd16n1.js → agent-yfbd16n1.js} +2 -2
  271. package/dist/chunks/{tool-output-ajtjthsy.js → agent-yg7sb877.js} +2 -2
  272. package/dist/chunks/{tool-output-zqzmmpvz.js → agent-yq43v846.js} +24 -24
  273. package/dist/chunks/{tool-output-e7zjw5ny.js → agent-yyxvg800.js} +20 -20
  274. package/dist/chunks/{tool-output-qgsqhvx2.js → agent-yzmzwmzr.js} +18 -18
  275. package/dist/chunks/{tool-output-db3ykw20.js → agent-z02m7gq6.js} +9 -9
  276. package/dist/chunks/{tool-output-3wbr049b.js → agent-z11ppbym.js} +22 -22
  277. package/dist/chunks/{tool-output-z1k01bn4.js → agent-z1k01bn4.js} +2 -2
  278. package/dist/chunks/{tool-output-z3xgatyd.js → agent-z3xgatyd.js} +1 -1
  279. package/dist/chunks/{tool-output-29x78va6.js → agent-z63w68vq.js} +6 -6
  280. package/dist/chunks/{tool-output-kecnvzyc.js → agent-zbnhqhy2.js} +5 -5
  281. package/dist/chunks/{tool-output-0bzq9r6e.js → agent-zevg6rsq.js} +40 -40
  282. package/dist/chunks/{tool-output-90ppjbsz.js → agent-zg6phhks.js} +307 -307
  283. package/dist/chunks/{tool-output-x9qr1909.js → agent-ztnyd3e4.js} +9 -9
  284. package/dist/chunks/{tool-output-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +153 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +116 -116
  297. package/dist/config/plugin/image.js +114 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +114 -114
  300. package/dist/config/plugin/mcp.js +125 -125
  301. package/dist/config/plugin/policy.js +113 -113
  302. package/dist/config/plugin/provider.js +112 -112
  303. package/dist/config/plugin/reference.js +116 -116
  304. package/dist/config/plugin/shell.js +117 -117
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +134 -134
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +116 -116
  309. package/dist/config/plugin/tool-output.js +116 -116
  310. package/dist/config/plugin/websearch.js +114 -114
  311. package/dist/config/plugin/worktree.js +117 -117
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +118 -118
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +82 -82
  317. package/dist/database/database.js +68 -68
  318. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +15 -15
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +16 -16
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +77 -77
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +358 -358
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +3 -3
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +72 -72
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +218 -218
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +13 -13
  419. package/dist/filesystem.js +100 -100
  420. package/dist/form.js +84 -84
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +82 -82
  423. package/dist/generate.js +88 -88
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +3 -3
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +349 -349
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +5 -5
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +85 -85
  454. package/dist/job.js +75 -75
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +86 -86
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +81 -81
  460. package/dist/location-services.js +346 -346
  461. package/dist/location.js +84 -84
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +102 -102
  464. package/dist/mcp/instructions.js +120 -120
  465. package/dist/mcp/oauth.js +2 -2
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +3 -3
  469. package/dist/model-resolver.js +85 -85
  470. package/dist/model.js +8 -8
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +80 -80
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +111 -111
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +84 -84
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +98 -98
  482. package/dist/plugin/command.js +95 -95
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +211 -211
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +320 -320
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +2 -2
  490. package/dist/plugin/plan.js +96 -96
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +2 -2
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +114 -114
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +114 -114
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +77 -77
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +116 -116
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +74 -74
  529. package/dist/plugin/service.js +3 -3
  530. package/dist/plugin/skill.js +131 -131
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +339 -339
  533. package/dist/plugin/system-prompt.js +1 -1
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +111 -111
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +4 -4
  543. package/dist/plugin/websearch/parallel.js +6 -6
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin.js +222 -222
  546. package/dist/project/schema.js +8 -8
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +85 -85
  549. package/dist/provider.js +7 -7
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +94 -94
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +80 -80
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +1 -1
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +93 -93
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +125 -125
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +217 -217
  569. package/dist/session/execution.js +120 -120
  570. package/dist/session/generate.js +144 -144
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +86 -86
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +77 -77
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +124 -124
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +1 -1
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +223 -223
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +85 -85
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +2 -2
  592. package/dist/session/runner/step.js +119 -119
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +165 -165
  596. package/dist/session/shell.js +130 -130
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +73 -73
  600. package/dist/session/store.js +84 -84
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +203 -203
  603. package/dist/session/system-prompt.js +3 -3
  604. package/dist/session/title.js +149 -149
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +216 -216
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +211 -211
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +11 -11
  613. package/dist/shell.js +132 -132
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +104 -104
  617. package/dist/snapshot.js +84 -84
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +119 -119
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +113 -113
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +114 -114
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +118 -118
  630. package/dist/tool/plugin/shell.js +210 -210
  631. package/dist/tool/plugin/skill.js +105 -105
  632. package/dist/tool/plugin/subagent.js +206 -206
  633. package/dist/tool/plugin/webfetch.js +104 -104
  634. package/dist/tool/plugin/websearch.js +108 -108
  635. package/dist/tool/plugin/write.js +114 -114
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +15 -15
  640. package/dist/util/error.js +1 -1
  641. package/dist/util/iife.js +1 -1
  642. package/dist/util/lazy.js +1 -1
  643. package/dist/util/slug.js +1 -1
  644. package/dist/util/token.js +1 -1
  645. package/dist/util/which.js +1 -1
  646. package/dist/util/wildcard.js +1 -1
  647. package/dist/v1/config/agent.js +7 -7
  648. package/dist/v1/config/attachment.js +4 -4
  649. package/dist/v1/config/command.js +5 -5
  650. package/dist/v1/config/config.js +16 -16
  651. package/dist/v1/config/error.js +4 -4
  652. package/dist/v1/config/formatter.js +5 -5
  653. package/dist/v1/config/layout.js +1 -1
  654. package/dist/v1/config/lsp.js +5 -5
  655. package/dist/v1/config/mcp.js +4 -4
  656. package/dist/v1/config/migrate.js +4 -4
  657. package/dist/v1/config/permission.js +7 -7
  658. package/dist/v1/config/plugin.js +3 -3
  659. package/dist/v1/config/provider-options.js +1 -1
  660. package/dist/v1/config/provider.js +4 -4
  661. package/dist/v1/config/server.js +2 -2
  662. package/dist/v1/config/skills.js +3 -3
  663. package/dist/v1/permission.js +1 -1
  664. package/dist/vcs/patch.js +1 -1
  665. package/dist/vcs.js +85 -85
  666. package/dist/websearch.js +80 -80
  667. package/dist/wellknown/plugin.js +74 -74
  668. package/dist/wellknown.js +77 -77
  669. package/dist/workspace/driver.js +7 -7
  670. package/dist/workspace/sql.js +1 -1
  671. package/dist/workspace.js +78 -78
  672. package/dist/worktree/directory.js +2 -2
  673. package/dist/worktree/git.js +5 -5
  674. package/dist/worktree/refresh.js +338 -338
  675. package/dist/worktree/sql.js +5 -5
  676. package/dist/worktree.js +91 -91
  677. package/package.json +7 -7
  678. package/dist/chunks/tool-output-7zk4hah4.js +0 -4
  679. package/dist/chunks/tool-output-ep4g9sqb.js +0 -247
  680. package/dist/chunks/tool-output-n95b3jav.js +0 -18
  681. package/dist/chunks/tool-output-ztgsftx4.js +0 -22
  682. /package/dist/chunks/{tool-output-0fabt78z.js → agent-0fabt78z.js} +0 -0
  683. /package/dist/chunks/{tool-output-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{tool-output-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{tool-output-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{tool-output-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{tool-output-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{tool-output-2710q6r3.js → agent-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{tool-output-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{tool-output-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{tool-output-359p4xyc.js → agent-359p4xyc.js} +0 -0
  692. /package/dist/chunks/{tool-output-3asan66x.js → agent-3asan66x.js} +0 -0
  693. /package/dist/chunks/{tool-output-3t738kvx.js → agent-3t738kvx.js} +0 -0
  694. /package/dist/chunks/{tool-output-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  695. /package/dist/chunks/{tool-output-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  696. /package/dist/chunks/{tool-output-41nvscxy.js → agent-41nvscxy.js} +0 -0
  697. /package/dist/chunks/{tool-output-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  698. /package/dist/chunks/{tool-output-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  699. /package/dist/chunks/{tool-output-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  700. /package/dist/chunks/{tool-output-53557ph1.js → agent-53557ph1.js} +0 -0
  701. /package/dist/chunks/{tool-output-550bvhaj.js → agent-550bvhaj.js} +0 -0
  702. /package/dist/chunks/{tool-output-6prwharc.js → agent-6prwharc.js} +0 -0
  703. /package/dist/chunks/{tool-output-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  704. /package/dist/chunks/{tool-output-7m9af43g.js → agent-7m9af43g.js} +0 -0
  705. /package/dist/chunks/{tool-output-822emrt2.js → agent-822emrt2.js} +0 -0
  706. /package/dist/chunks/{tool-output-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  707. /package/dist/chunks/{tool-output-8n3pysct.js → agent-8n3pysct.js} +0 -0
  708. /package/dist/chunks/{tool-output-982e01ww.js → agent-982e01ww.js} +0 -0
  709. /package/dist/chunks/{tool-output-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  710. /package/dist/chunks/{tool-output-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  711. /package/dist/chunks/{tool-output-a1tpkmh4.js → agent-a1tpkmh4.js} +0 -0
  712. /package/dist/chunks/{tool-output-af5trqkr.js → agent-af5trqkr.js} +0 -0
  713. /package/dist/chunks/{tool-output-afrmfg78.js → agent-afrmfg78.js} +0 -0
  714. /package/dist/chunks/{tool-output-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  715. /package/dist/chunks/{tool-output-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  716. /package/dist/chunks/{tool-output-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  717. /package/dist/chunks/{tool-output-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  718. /package/dist/chunks/{tool-output-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  719. /package/dist/chunks/{tool-output-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  720. /package/dist/chunks/{tool-output-d9fn303g.js → agent-d9fn303g.js} +0 -0
  721. /package/dist/chunks/{tool-output-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  722. /package/dist/chunks/{tool-output-dajrwvna.js → agent-dajrwvna.js} +0 -0
  723. /package/dist/chunks/{tool-output-dap0rakb.js → agent-dap0rakb.js} +0 -0
  724. /package/dist/chunks/{tool-output-df08tz66.js → agent-df08tz66.js} +0 -0
  725. /package/dist/chunks/{tool-output-dy18nga0.js → agent-dy18nga0.js} +0 -0
  726. /package/dist/chunks/{tool-output-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  727. /package/dist/chunks/{tool-output-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  728. /package/dist/chunks/{tool-output-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  729. /package/dist/chunks/{tool-output-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  730. /package/dist/chunks/{tool-output-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  731. /package/dist/chunks/{tool-output-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  732. /package/dist/chunks/{tool-output-faypxj3z.js → agent-faypxj3z.js} +0 -0
  733. /package/dist/chunks/{tool-output-fd410y7t.js → agent-fd410y7t.js} +0 -0
  734. /package/dist/chunks/{tool-output-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
  735. /package/dist/chunks/{tool-output-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  736. /package/dist/chunks/{tool-output-g86h250q.js → agent-g86h250q.js} +0 -0
  737. /package/dist/chunks/{tool-output-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  738. /package/dist/chunks/{tool-output-hk9envan.js → agent-hk9envan.js} +0 -0
  739. /package/dist/chunks/{tool-output-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  740. /package/dist/chunks/{tool-output-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  741. /package/dist/chunks/{tool-output-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  742. /package/dist/chunks/{tool-output-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  743. /package/dist/chunks/{tool-output-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  744. /package/dist/chunks/{tool-output-mntxs535.js → agent-mntxs535.js} +0 -0
  745. /package/dist/chunks/{tool-output-mp448xyj.js → agent-mp448xyj.js} +0 -0
  746. /package/dist/chunks/{tool-output-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  747. /package/dist/chunks/{tool-output-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  748. /package/dist/chunks/{tool-output-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  749. /package/dist/chunks/{tool-output-njntx4h6.js → agent-njntx4h6.js} +0 -0
  750. /package/dist/chunks/{tool-output-p8qxwesx.js → agent-p8qxwesx.js} +0 -0
  751. /package/dist/chunks/{tool-output-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  752. /package/dist/chunks/{tool-output-q74kybfr.js → agent-q74kybfr.js} +0 -0
  753. /package/dist/chunks/{tool-output-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  754. /package/dist/chunks/{tool-output-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  755. /package/dist/chunks/{tool-output-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  756. /package/dist/chunks/{tool-output-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  757. /package/dist/chunks/{tool-output-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  758. /package/dist/chunks/{tool-output-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  759. /package/dist/chunks/{tool-output-se0s1eqw.js → agent-se0s1eqw.js} +0 -0
  760. /package/dist/chunks/{tool-output-sk3qaz4a.js → agent-sk3qaz4a.js} +0 -0
  761. /package/dist/chunks/{tool-output-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  762. /package/dist/chunks/{tool-output-twg0f83k.js → agent-twg0f83k.js} +0 -0
  763. /package/dist/chunks/{tool-output-w803qqfp.js → agent-w803qqfp.js} +0 -0
  764. /package/dist/chunks/{tool-output-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  765. /package/dist/chunks/{tool-output-wtztk69x.js → agent-wtztk69x.js} +0 -0
  766. /package/dist/chunks/{tool-output-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  767. /package/dist/chunks/{tool-output-x1b8g1yb.js → agent-x1b8g1yb.js} +0 -0
  768. /package/dist/chunks/{tool-output-x61499pn.js → agent-x61499pn.js} +0 -0
  769. /package/dist/chunks/{tool-output-y44na4kk.js → agent-y44na4kk.js} +0 -0
  770. /package/dist/chunks/{tool-output-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
  771. /package/dist/chunks/{tool-output-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  772. /package/dist/chunks/{tool-output-z9919s4g.js → agent-z9919s4g.js} +0 -0
  773. /package/dist/chunks/{tool-output-zbjnn3ac.js → agent-zbjnn3ac.js} +0 -0
@@ -1,34 +1,34 @@
1
- import {
2
- Service80
3
- } from "./tool-output-rmwqem2y.js";
4
1
  import {
5
2
  Service79
6
- } from "./tool-output-d3n7r00r.js";
3
+ } from "./agent-gak3es0t.js";
4
+ import {
5
+ Service78
6
+ } from "./agent-m8mnxh4b.js";
7
7
  import {
8
- Service40
9
- } from "./tool-output-wgcrfrpe.js";
8
+ Service31
9
+ } from "./agent-vs313s01.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./tool-output-p8qxwesx.js";
12
+ } from "./agent-p8qxwesx.js";
13
13
  import {
14
- ID4,
15
- Service49
16
- } from "./tool-output-7ebb2hj1.js";
14
+ ID3,
15
+ Service42
16
+ } from "./agent-cx951yas.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./tool-output-mntxs535.js";
19
+ } from "./agent-mntxs535.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./tool-output-982e01ww.js";
22
+ } from "./agent-982e01ww.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./tool-output-6vtapc9a.js";
25
+ } from "./agent-qq0s42pd.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./tool-output-hrvm11jt.js";
28
+ } from "./agent-g2dy4bvs.js";
29
29
  import {
30
30
  __export
31
- } from "./tool-output-9rqn6x4v.js";
31
+ } from "./agent-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service40;
46
- const database = yield* Service80;
47
- const bus = yield* Service79;
45
+ const instances = yield* Service31;
46
+ const database = yield* Service79;
47
+ const bus = yield* Service78;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service49;
50
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service42;
50
+ const original = input.session.revert?.snapshot ? ID3.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service40;
78
- const bus = yield* Service79;
77
+ const instances = yield* Service31;
78
+ const bus = yield* Service78;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service49;
80
+ const snapshot = yield* Service42;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID3.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID4.make(message.snapshot.start));
114
+ files.set(file, ID3.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,49 +1,49 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./tool-output-d3n7r00r.js";
2
+ Service78,
3
+ node83
4
+ } from "./agent-m8mnxh4b.js";
5
5
  import {
6
- Service4,
7
- node7
8
- } from "./tool-output-97prekb9.js";
6
+ Service9,
7
+ node12
8
+ } from "./agent-nryvk2bb.js";
9
9
  import {
10
- Service39
11
- } from "./tool-output-n95b3jav.js";
10
+ Service30
11
+ } from "./agent-9zdhvgqs.js";
12
12
  import {
13
- node24,
14
- ID3
15
- } from "./tool-output-1yhxqyw8.js";
13
+ node17,
14
+ ID2
15
+ } from "./agent-na6nvkmt.js";
16
16
  import {
17
- Service8,
18
- node11
19
- } from "./tool-output-15q8ja5w.js";
17
+ Service5,
18
+ node7
19
+ } from "./agent-759pz1a2.js";
20
20
  import {
21
21
  requirements2,
22
22
  list2
23
- } from "./tool-output-90ppjbsz.js";
23
+ } from "./agent-zg6phhks.js";
24
24
  import {
25
25
  LoadError2,
26
26
  load2
27
- } from "./tool-output-2jqmte8w.js";
27
+ } from "./agent-2jqmte8w.js";
28
28
  import {
29
29
  Updated2,
30
- Service6,
31
- node9
32
- } from "./tool-output-dwf86yg8.js";
30
+ Service3,
31
+ node5
32
+ } from "./agent-qb37cqa6.js";
33
33
  import {
34
- Service7,
35
- node10
36
- } from "./tool-output-h1ykqn37.js";
34
+ Service4,
35
+ node6
36
+ } from "./agent-nxrz604p.js";
37
37
  import {
38
38
  __export
39
- } from "./tool-output-9rqn6x4v.js";
39
+ } from "./agent-9rqn6x4v.js";
40
40
 
41
41
  // src/plugin/supervisor.ts
42
42
  var exports_supervisor = {};
43
43
  __export(exports_supervisor, {
44
44
  PluginSupervisor: () => exports_supervisor,
45
- layer: () => layer4,
46
- node: () => node6
45
+ layer: () => layer3,
46
+ node: () => node4
47
47
  });
48
48
  import { Event } from "@opencode-ai/schema/config";
49
49
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -112,7 +112,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (pre, post, operat
112
112
  failures: [
113
113
  ...failures.values(),
114
114
  ...ordered.filter(duplicate).map((plugin) => ({
115
- id: ID3.make(plugin.id),
115
+ id: ID2.make(plugin.id),
116
116
  source: plugin.source ?? { type: "builtin" },
117
117
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
118
118
  features: { server: true, ...plugin.features }
@@ -121,13 +121,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (pre, post, operat
121
121
  pending: [...pending]
122
122
  };
123
123
  });
124
- var layer4 = Layer.effectDiscard(Effect.gen(function* () {
125
- const registry = yield* Service39;
126
- const sdk = yield* Service6;
127
- const instance = yield* Service8;
128
- const sources = yield* Service4;
129
- const bus = yield* Service79;
130
- const updates = yield* Service7;
124
+ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
125
+ const registry = yield* Service30;
126
+ const sdk = yield* Service3;
127
+ const instance = yield* Service5;
128
+ const sources = yield* Service9;
129
+ const bus = yield* Service78;
130
+ const updates = yield* Service4;
131
131
  const internal = yield* list2();
132
132
  let release = yield* registry.hold();
133
133
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -201,12 +201,12 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
201
201
  })), Effect.forkScoped({ startImmediately: true }));
202
202
  }));
203
203
  var nodeDeps = [
204
- node24,
205
- node9,
206
- node11,
204
+ node17,
205
+ node5,
207
206
  node7,
208
- node10,
209
- node84,
207
+ node12,
208
+ node6,
209
+ node83,
210
210
  Npm.node,
211
211
  requirements2
212
212
  ];
@@ -215,6 +215,6 @@ function pluginSource(target) {
215
215
  return { type: "local", path: target };
216
216
  return { type: "package", target };
217
217
  }
218
- var node6 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
218
+ var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
219
219
 
220
- export { layer4, node6, exports_supervisor };
220
+ export { layer3, node4, exports_supervisor };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./tool-output-d3n7r00r.js";
2
+ Service78,
3
+ node83
4
+ } from "./agent-m8mnxh4b.js";
5
5
  import {
6
- Service64,
7
- node69
8
- } from "./tool-output-9kn3y1c4.js";
6
+ Service76,
7
+ node81
8
+ } from "./agent-xkm3xnb1.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./tool-output-mntxs535.js";
11
+ } from "./agent-mntxs535.js";
12
12
  import {
13
- Service55,
14
- node58
15
- } from "./tool-output-2b3va5cq.js";
13
+ Service73,
14
+ node78
15
+ } from "./agent-dns82vym.js";
16
16
  import {
17
17
  __export
18
- } from "./tool-output-9rqn6x4v.js";
18
+ } from "./agent-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service11,
23
+ Service: () => Service8,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node14
25
+ node: () => node11
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service11 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service8 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service11, Effect.gen(function* () {
38
- const bus = yield* Service79;
37
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
38
+ const bus = yield* Service78;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service55;
41
- const location = yield* Service64;
40
+ const store = yield* Service73;
41
+ const location = yield* Service76;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service11.of({ load });
87
+ return Service8.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node14 = makeLocationNode({
98
+ var node11 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node84, FSUtil.node, node69, node58]
101
+ deps: [node83, FSUtil.node, node81, node78]
102
102
  });
103
103
 
104
- export { Service11, node14, exports_instructions };
104
+ export { Service8, node11, exports_instructions };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service46,
3
- node49
4
- } from "./tool-output-v94b4k3z.js";
2
+ Service49,
3
+ node52
4
+ } from "./agent-r7b3zwn8.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make18,
8
+ make20,
9
9
  diffByKey2
10
- } from "./tool-output-mtcjf44p.js";
10
+ } from "./agent-1z80kc63.js";
11
11
  import {
12
12
  __export
13
- } from "./tool-output-9rqn6x4v.js";
13
+ } from "./agent-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions3 = {};
17
- __export(exports_instructions3, {
18
- ReferenceInstructions: () => exports_instructions3,
19
- Service: () => Service30,
20
- node: () => node34
16
+ var exports_instructions4 = {};
17
+ __export(exports_instructions4, {
18
+ ReferenceInstructions: () => exports_instructions4,
19
+ Service: () => Service28,
20
+ node: () => node32
21
21
  });
22
22
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,19 +57,19 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service30 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service28 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service30, Effect.gen(function* () {
63
- const references = yield* Service46;
64
- return Service30.of({
62
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
63
+ const references = yield* Service49;
64
+ return Service28.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make18({
72
- key: Key3.make("core/reference-guidance"),
71
+ return make20({
72
+ key: Key4.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node34 = makeLocationNode({ service: Service30, layer, deps: [node49] });
84
+ var node32 = makeLocationNode({ service: Service28, layer, deps: [node52] });
85
85
 
86
- export { Service30, node34, exports_instructions3 };
86
+ export { Service28, node32, exports_instructions4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  packageName2
3
- } from "./tool-output-g2c9bhkq.js";
3
+ } from "./agent-rwbhhn1p.js";
4
4
 
5
5
  // src/plugin/provider/cerebras.ts
6
6
  import { Effect } from "effect";
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./agent-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service30,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service30 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service30.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service30, awaitActivation2, exports_service };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./tool-output-d5r6akyc.js";
3
+ } from "./agent-c6afg63y.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-output-9rqn6x4v.js";
6
+ } from "./agent-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin21,
11
+ Plugin: () => Plugin6,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint4
13
+ endpoint: () => endpoint3
14
14
  });
15
15
  import { define } from "@opencode-ai/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint4 = "https://api.tavily.com/search";
18
+ var endpoint3 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin21 = define({
32
+ var Plugin6 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin21 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin21 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint4, Plugin21, exports_tavily };
80
+ export { endpoint3, Plugin6, exports_tavily };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./tool-output-p8qxwesx.js";
3
+ } from "./agent-p8qxwesx.js";
4
4
  import {
5
5
  latest2,
6
- Service62
7
- } from "./tool-output-zz3058qf.js";
6
+ Service60
7
+ } from "./agent-3mkt1fq8.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./tool-output-2a5m3afh.js";
10
+ } from "./agent-2a5m3afh.js";
11
11
  import {
12
- Service59
13
- } from "./tool-output-zqzmmpvz.js";
12
+ Service63
13
+ } from "./agent-yq43v846.js";
14
14
  import {
15
- Service47
16
- } from "./tool-output-x0bh2f69.js";
15
+ Service37
16
+ } from "./agent-1pgk3sz4.js";
17
17
  import {
18
18
  resolvePath2,
19
- Service13
20
- } from "./tool-output-hz6ssrgr.js";
19
+ Service16
20
+ } from "./agent-31sg83h3.js";
21
21
  import {
22
- Service54
23
- } from "./tool-output-zn0578f7.js";
22
+ Service71
23
+ } from "./agent-hybax9yn.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./tool-output-fxbjtjnd.js";
29
+ } from "./agent-fxbjtjnd.js";
30
30
  import {
31
- Service58,
31
+ Service64,
32
32
  name15
33
- } from "./tool-output-g3vtbd9v.js";
33
+ } from "./agent-hf34rg9m.js";
34
34
  import {
35
- NotFoundError5,
36
- Service44
37
- } from "./tool-output-1hsk58z5.js";
35
+ NotFoundError7,
36
+ Service58
37
+ } from "./agent-2kn058km.js";
38
38
  import {
39
- Service26
40
- } from "./tool-output-ygzesew9.js";
39
+ Service19
40
+ } from "./agent-tb635r1t.js";
41
41
  import {
42
42
  scan2
43
- } from "./tool-output-rmhwgps5.js";
43
+ } from "./agent-022wyyth.js";
44
44
  import {
45
45
  __export
46
- } from "./tool-output-9rqn6x4v.js";
46
+ } from "./agent-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input3,
53
- Plugin: () => Plugin33,
54
- ShellTool: () => exports_shell2,
55
- name: () => name3
52
+ Input: () => Input10,
53
+ Plugin: () => Plugin25,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name10
56
56
  });
57
57
  import { ToolFailure } from "@opencode-ai/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name3 = "shell";
59
+ var name10 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input3 = Schema.Struct({
73
+ var Input10 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  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."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin33 = {
118
+ var Plugin25 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service26;
122
- const jobs = yield* Service47;
121
+ const sessions = yield* Service19;
122
+ const jobs = yield* Service37;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service59;
125
- const mutation = yield* Service13;
126
- const shell = yield* Service44;
127
- const shellSelect = yield* Service58;
124
+ const environment = yield* Service63;
125
+ const mutation = yield* Service16;
126
+ const shell = yield* Service58;
127
+ const shellSelect = yield* Service64;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service54;
130
- const config = yield* Service62;
129
+ const permission = yield* Service71;
130
+ const config = yield* Service60;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -155,7 +155,7 @@ var Plugin33 = {
155
155
  });
156
156
  if (parsed.commands.length > 0)
157
157
  yield* permission.assert({
158
- action: name3,
158
+ action: name10,
159
159
  resources: parsed.commands.map((command) => command.resource),
160
160
  save: parsed.commands.map((command) => command.save),
161
161
  sessionID: context.sessionID,
@@ -192,10 +192,10 @@ var Plugin33 = {
192
192
  yield* jobs.completeBackground(info.notificationID);
193
193
  }, Effect.forkIn(scope, { startImmediately: true }));
194
194
  yield* ctx.tool.transform((editor) => editor.add({
195
- name: name3,
195
+ name: name10,
196
196
  options: { codemode: false },
197
197
  description: description(),
198
- input: Input3,
198
+ input: Input10,
199
199
  output: Output,
200
200
  execute: (input, context) => Effect.gen(function* () {
201
201
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -214,7 +214,7 @@ var Plugin33 = {
214
214
  const run = Effect.gen(function* () {
215
215
  const result = yield* shell.result(info);
216
216
  if (!result.capture)
217
- return yield* new NotFoundError5({ id: info.id });
217
+ return yield* new NotFoundError7({ id: info.id });
218
218
  const output = output2(result);
219
219
  return {
220
220
  ...output,
@@ -228,7 +228,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
228
228
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
229
229
  const job = yield* jobs.start({
230
230
  id: info.id,
231
- type: name3,
231
+ type: name10,
232
232
  title: info.command,
233
233
  metadata: { sessionID: context.sessionID, shellID: info.id },
234
234
  recovery: {
@@ -258,7 +258,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
258
258
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
259
259
  })).pipe(Effect.orDie);
260
260
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
261
- const tool = event.tools[name3];
261
+ const tool = event.tools[name10];
262
262
  if (!tool)
263
263
  return;
264
264
  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 { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin33, exports_shell2 };
269
+ export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin25, exports_shell };