@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,128 +1,128 @@
1
1
  import {
2
2
  Metadata2,
3
- node65
4
- } from "./tool-output-d5r6akyc.js";
3
+ node73
4
+ } from "./agent-c6afg63y.js";
5
5
  import {
6
- Service79,
7
- node84
8
- } from "./tool-output-d3n7r00r.js";
6
+ Service78,
7
+ node83
8
+ } from "./agent-m8mnxh4b.js";
9
9
  import {
10
- ID9,
11
- Service57,
12
- node60
13
- } from "./tool-output-k24h35sc.js";
10
+ ID15,
11
+ Service74,
12
+ node79
13
+ } from "./agent-eszpqqjx.js";
14
14
  import {
15
- ID18
16
- } from "./tool-output-g2c9bhkq.js";
15
+ ID11
16
+ } from "./agent-rwbhhn1p.js";
17
17
  import {
18
- Service68,
19
- node73
20
- } from "./tool-output-w8b4drz0.js";
18
+ Service55,
19
+ node58
20
+ } from "./agent-5bccfspb.js";
21
21
  import {
22
- ID17
23
- } from "./tool-output-d78q1k7h.js";
22
+ ID10
23
+ } from "./agent-ar3vq2rb.js";
24
24
  import {
25
- ID16,
25
+ ID9,
26
26
  OAuth3
27
- } from "./tool-output-prhj47bn.js";
27
+ } from "./agent-1rxbh4dg.js";
28
28
  import {
29
- ID14,
29
+ ID5,
30
30
  MethodID2,
31
31
  AttemptID2,
32
32
  Method2,
33
- Service70,
34
- node75
35
- } from "./tool-output-hsbzga32.js";
33
+ Service53,
34
+ node56
35
+ } from "./agent-kxw418nq.js";
36
36
  import {
37
- Service69,
38
- node74
39
- } from "./tool-output-4yzb8m3n.js";
37
+ Service52,
38
+ node55
39
+ } from "./agent-smb21sg5.js";
40
40
  import {
41
- Service73,
42
- node78
43
- } from "./tool-output-44f31d2j.js";
41
+ Service56,
42
+ node59
43
+ } from "./agent-a5wzkdk7.js";
44
44
  import {
45
- Service78,
46
- node83
47
- } from "./tool-output-ccrjyqkm.js";
45
+ Service69,
46
+ node74
47
+ } from "./agent-asfb91ym.js";
48
48
  import {
49
49
  AbsolutePath2
50
- } from "./tool-output-p8qxwesx.js";
50
+ } from "./agent-p8qxwesx.js";
51
51
  import {
52
- Info24,
53
- Ref2,
54
- Service64,
55
- node69
56
- } from "./tool-output-9kn3y1c4.js";
52
+ Info30,
53
+ Ref4,
54
+ Service76,
55
+ node81
56
+ } from "./agent-xkm3xnb1.js";
57
57
  import {
58
- Service51,
59
- node54
60
- } from "./tool-output-8w0560vy.js";
58
+ Service41,
59
+ node44
60
+ } from "./agent-vt3sdt2p.js";
61
61
  import {
62
- ID11
63
- } from "./tool-output-s23pjjxf.js";
62
+ ID8
63
+ } from "./agent-qtc5wbcs.js";
64
64
  import {
65
- Service43,
66
- node46
67
- } from "./tool-output-xr7dgcbj.js";
65
+ Service36,
66
+ node39
67
+ } from "./agent-by97waje.js";
68
68
  import {
69
- Service76,
70
- node81
71
- } from "./tool-output-zfgcdem1.js";
69
+ Service75,
70
+ node80
71
+ } from "./agent-8qyy1b3c.js";
72
72
  import {
73
- Service54,
74
- node57
75
- } from "./tool-output-zn0578f7.js";
73
+ Service71,
74
+ node76
75
+ } from "./agent-hybax9yn.js";
76
76
  import {
77
- Service74,
78
- node79
79
- } from "./tool-output-rg15grrc.js";
77
+ Service39,
78
+ node42
79
+ } from "./agent-jrjfj6f1.js";
80
80
  import {
81
81
  Source3,
82
- Service46,
83
- node49
84
- } from "./tool-output-v94b4k3z.js";
82
+ Service49,
83
+ node52
84
+ } from "./agent-r7b3zwn8.js";
85
85
  import {
86
- Info9,
87
- Service53,
88
- node56
89
- } from "./tool-output-wem6z0kr.js";
86
+ Info26,
87
+ Service70,
88
+ node75
89
+ } from "./agent-91aj8tvp.js";
90
90
  import {
91
- Service26,
92
- node30
93
- } from "./tool-output-ygzesew9.js";
91
+ Service19,
92
+ node23
93
+ } from "./agent-tb635r1t.js";
94
94
  import {
95
- Service24,
96
- node28
97
- } from "./tool-output-k6tm9d53.js";
95
+ Service48,
96
+ node51
97
+ } from "./agent-qmgssm61.js";
98
98
  import {
99
- Service23,
100
- node27
101
- } from "./tool-output-tzqg8t7v.js";
99
+ Service14,
100
+ node18
101
+ } from "./agent-31azyw44.js";
102
102
  import {
103
- Service21,
104
- node25
105
- } from "./tool-output-v5f5ppmn.js";
103
+ Service44,
104
+ node47
105
+ } from "./agent-59p9anb2.js";
106
106
  import {
107
- ID5,
108
- Service52,
109
- node55
110
- } from "./tool-output-kgz6e3w7.js";
107
+ ID7,
108
+ Service57,
109
+ node60
110
+ } from "./agent-vz2cwsm9.js";
111
111
  import {
112
112
  StrategyID2,
113
- Info5,
113
+ Info3,
114
114
  ListEntry3,
115
115
  UnsupportedLocationError2,
116
- Service25,
117
- node29
118
- } from "./tool-output-0bzq9r6e.js";
116
+ Service17,
117
+ node21
118
+ } from "./agent-zevg6rsq.js";
119
119
  import {
120
- Service22,
121
- node26
122
- } from "./tool-output-ej6vmzpd.js";
120
+ Service15,
121
+ node19
122
+ } from "./agent-3xcehbhs.js";
123
123
  import {
124
124
  __export
125
- } from "./tool-output-9rqn6x4v.js";
125
+ } from "./agent-9rqn6x4v.js";
126
126
 
127
127
  // src/plugin/host.ts
128
128
  var exports_host = {};
@@ -140,36 +140,36 @@ var mutable = (value) => value;
140
140
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
141
141
  var make10 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
142
142
  const app = yield* Metadata2;
143
- const agents = yield* Service57;
144
- const aisdk = yield* Service68;
145
- const catalog = yield* Service69;
146
- const commands = yield* Service73;
147
- const bus = yield* Service79;
148
- const integration = yield* Service70;
149
- const kv = yield* Service78;
150
- const mcp = yield* Service43;
151
- const location = yield* Service64;
152
- const reference = yield* Service46;
153
- const rpc = yield* Service23;
154
- const skill = yield* Service53;
155
- const tools = yield* Service74;
156
- const vcs = yield* Service21;
157
- const websearch = yield* Service52;
158
- const generate = yield* Service22;
159
- const permission = yield* Service54;
160
- const hooks = yield* Service76;
161
- const sessions = yield* Service26;
162
- const persistentPty = yield* Service24;
163
- const locations = yield* Service51;
164
- const worktrees = yield* Service25;
165
- const locationInfo = () => new Info24({
143
+ const agents = yield* Service74;
144
+ const aisdk = yield* Service55;
145
+ const catalog = yield* Service52;
146
+ const commands = yield* Service56;
147
+ const bus = yield* Service78;
148
+ const integration = yield* Service53;
149
+ const kv = yield* Service69;
150
+ const mcp = yield* Service36;
151
+ const location = yield* Service76;
152
+ const reference = yield* Service49;
153
+ const rpc = yield* Service14;
154
+ const skill = yield* Service70;
155
+ const tools = yield* Service39;
156
+ const vcs = yield* Service44;
157
+ const websearch = yield* Service57;
158
+ const generate = yield* Service15;
159
+ const permission = yield* Service71;
160
+ const hooks = yield* Service75;
161
+ const sessions = yield* Service19;
162
+ const persistentPty = yield* Service48;
163
+ const locations = yield* Service41;
164
+ const worktrees = yield* Service17;
165
+ const locationInfo = () => new Info30({
166
166
  directory: location.directory,
167
167
  workspaceID: location.workspaceID,
168
168
  project: location.project
169
169
  });
170
- const locationRef = (input) => input?.location === undefined ? undefined : Ref2.make({
170
+ const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
171
171
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
172
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
172
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID8.make(input.location.workspace)
173
173
  });
174
174
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
175
175
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
@@ -181,18 +181,18 @@ var make10 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
181
181
  return Effect.gen(function* () {
182
182
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
183
183
  const plugins = yield* Plugin.Service;
184
- const target = yield* Service25;
184
+ const target = yield* Service17;
185
185
  yield* plugins.awaitActivation;
186
186
  return yield* run(target);
187
187
  }).pipe(Effect.provide(locations.get(ref)));
188
188
  };
189
- const decodeWorktree = Schema.decodeUnknownEffect(Info5);
189
+ const decodeWorktree = Schema.decodeUnknownEffect(Info3);
190
190
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
191
191
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
192
- const location = yield* Service64;
193
- const agents = yield* Service57;
192
+ const location = yield* Service76;
193
+ const agents = yield* Service74;
194
194
  return {
195
- location: new Info24({
195
+ location: new Info30({
196
196
  directory: location.directory,
197
197
  workspaceID: location.workspaceID,
198
198
  project: location.project
@@ -224,10 +224,10 @@ var make10 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
224
224
  transform: (callback) => agents.transform((editor) => {
225
225
  callback({
226
226
  list: () => mutable(editor.list()),
227
- get: (id) => mutable(editor.get(ID9.make(id))),
228
- default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
229
- update: (id, update) => editor.update(ID9.make(id), update),
230
- remove: (id) => editor.remove(ID9.make(id))
227
+ get: (id) => mutable(editor.get(ID15.make(id))),
228
+ default: (id) => editor.default(id === undefined ? undefined : ID15.make(id)),
229
+ update: (id, update) => editor.update(ID15.make(id), update),
230
+ remove: (id) => editor.remove(ID15.make(id))
231
231
  });
232
232
  })
233
233
  },
@@ -262,7 +262,7 @@ var make10 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
262
262
  catalog: {
263
263
  provider: {
264
264
  list: () => response(catalog.provider.available()),
265
- get: (input) => catalog.provider.get(ID18.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
265
+ get: (input) => catalog.provider.get(ID11.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
266
266
  },
267
267
  model: {
268
268
  list: () => response(catalog.model.available()),
@@ -273,17 +273,17 @@ var make10 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
273
273
  callback({
274
274
  provider: {
275
275
  list: () => mutable(editor.provider.list()),
276
- get: (id) => mutable(editor.provider.get(ID18.make(id))),
277
- update: (id, update) => editor.provider.update(ID18.make(id), update),
278
- remove: (id) => editor.provider.remove(ID18.make(id))
276
+ get: (id) => mutable(editor.provider.get(ID11.make(id))),
277
+ update: (id, update) => editor.provider.update(ID11.make(id), update),
278
+ remove: (id) => editor.provider.remove(ID11.make(id))
279
279
  },
280
280
  model: {
281
- get: (providerID, modelID) => mutable(editor.model.get(ID18.make(providerID), ID17.make(modelID))),
282
- update: (providerID, modelID, update) => editor.model.update(ID18.make(providerID), ID17.make(modelID), update),
283
- remove: (providerID, modelID) => editor.model.remove(ID18.make(providerID), ID17.make(modelID)),
281
+ get: (providerID, modelID) => mutable(editor.model.get(ID11.make(providerID), ID10.make(modelID))),
282
+ update: (providerID, modelID, update) => editor.model.update(ID11.make(providerID), ID10.make(modelID), update),
283
+ remove: (providerID, modelID) => editor.model.remove(ID11.make(providerID), ID10.make(modelID)),
284
284
  default: {
285
285
  get: editor.model.default.get,
286
- set: (providerID, modelID) => editor.model.default.set(ID18.make(providerID), ID17.make(modelID))
286
+ set: (providerID, modelID) => editor.model.default.set(ID11.make(providerID), ID10.make(modelID))
287
287
  }
288
288
  }
289
289
  });
@@ -307,10 +307,10 @@ var make10 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
307
307
  },
308
308
  integration: {
309
309
  list: () => response(integration.list()),
310
- get: (input) => response(integration.get(ID14.make(input.integrationID))),
310
+ get: (input) => response(integration.get(ID5.make(input.integrationID))),
311
311
  connect: {
312
312
  key: (input) => integration.connection.key({
313
- integrationID: ID14.make(input.integrationID),
313
+ integrationID: ID5.make(input.integrationID),
314
314
  key: input.key,
315
315
  answer: input.answer,
316
316
  label: input.label
@@ -318,55 +318,55 @@ var make10 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
318
318
  },
319
319
  oauth: {
320
320
  connect: (input) => response(integration.oauth.connect({
321
- integrationID: ID14.make(input.integrationID),
321
+ integrationID: ID5.make(input.integrationID),
322
322
  methodID: MethodID2.make(input.methodID),
323
323
  answer: input.answer,
324
324
  label: input.label
325
325
  })),
326
326
  status: (input) => response(integration.oauth.status({
327
- integrationID: ID14.make(input.integrationID),
327
+ integrationID: ID5.make(input.integrationID),
328
328
  attemptID: AttemptID2.make(input.attemptID)
329
329
  })),
330
330
  complete: (input) => integration.oauth.complete({
331
- integrationID: ID14.make(input.integrationID),
331
+ integrationID: ID5.make(input.integrationID),
332
332
  attemptID: AttemptID2.make(input.attemptID),
333
333
  code: input.code
334
334
  }),
335
335
  cancel: (input) => integration.oauth.cancel({
336
- integrationID: ID14.make(input.integrationID),
336
+ integrationID: ID5.make(input.integrationID),
337
337
  attemptID: AttemptID2.make(input.attemptID)
338
338
  })
339
339
  },
340
340
  command: {
341
341
  connect: (input) => response(integration.command.connect({
342
- integrationID: ID14.make(input.integrationID),
342
+ integrationID: ID5.make(input.integrationID),
343
343
  methodID: MethodID2.make(input.methodID),
344
344
  label: input.label
345
345
  })),
346
346
  status: (input) => response(integration.command.status({
347
- integrationID: ID14.make(input.integrationID),
347
+ integrationID: ID5.make(input.integrationID),
348
348
  attemptID: AttemptID2.make(input.attemptID)
349
349
  })),
350
350
  cancel: (input) => integration.command.cancel({
351
- integrationID: ID14.make(input.integrationID),
351
+ integrationID: ID5.make(input.integrationID),
352
352
  attemptID: AttemptID2.make(input.attemptID)
353
353
  })
354
354
  },
355
355
  reload: integration.reload,
356
356
  connection: {
357
- active: (id) => integration.connection.active(ID14.make(id)),
358
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID16.make(connection.id) } : connection)
357
+ active: (id) => integration.connection.active(ID5.make(id)),
358
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID9.make(connection.id) } : connection)
359
359
  },
360
360
  transform: (callback) => integration.transform((editor) => {
361
361
  callback({
362
362
  list: () => mutable(editor.list()),
363
- get: (id) => mutable(editor.get(ID14.make(id))),
364
- update: (id, update) => editor.update(ID14.make(id), update),
365
- remove: (id) => editor.remove(ID14.make(id)),
363
+ get: (id) => mutable(editor.get(ID5.make(id))),
364
+ update: (id, update) => editor.update(ID5.make(id), update),
365
+ remove: (id) => editor.remove(ID5.make(id)),
366
366
  method: {
367
- list: (id) => editor.method.list(ID14.make(id)),
367
+ list: (id) => editor.method.list(ID5.make(id)),
368
368
  update: (input) => editor.method.update(methodImplementation(input)),
369
- remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
369
+ remove: (id, method) => editor.method.remove(ID5.make(id), Schema.decodeUnknownSync(Method2)(method))
370
370
  }
371
371
  });
372
372
  })
@@ -376,10 +376,10 @@ var make10 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
376
376
  const ref = locationRef(input);
377
377
  if (ref && !isCurrentLocation(ref))
378
378
  return Effect.gen(function* () {
379
- const location = yield* Service64;
380
- const mcp = yield* Service43;
379
+ const location = yield* Service76;
380
+ const mcp = yield* Service36;
381
381
  return {
382
- location: new Info24({
382
+ location: new Info30({
383
383
  directory: location.directory,
384
384
  workspaceID: location.workspaceID,
385
385
  project: location.project
@@ -428,7 +428,7 @@ var make10 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
428
428
  callback({
429
429
  list: () => mutable(editor.list()),
430
430
  get: editor.get,
431
- add: (value) => editor.add(Schema.decodeUnknownSync(Info9)(value)),
431
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info26)(value)),
432
432
  update: editor.update,
433
433
  remove: editor.remove
434
434
  });
@@ -456,19 +456,19 @@ var make10 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
456
456
  providers: () => response(websearch.providers()),
457
457
  query: (input) => response(websearch.query({
458
458
  query: input.query,
459
- providerID: input.providerID === undefined ? undefined : ID5.make(input.providerID)
459
+ providerID: input.providerID === undefined ? undefined : ID7.make(input.providerID)
460
460
  })),
461
461
  reload: websearch.reload,
462
462
  transform: (callback) => websearch.transform((editor) => {
463
463
  callback({
464
464
  add: (definition) => editor.add({
465
- id: ID5.make(definition.id),
465
+ id: ID7.make(definition.id),
466
466
  name: definition.name,
467
467
  execute: definition.execute
468
468
  }),
469
469
  default: {
470
470
  get: editor.default.get,
471
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID5.make(selection))
471
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID7.make(selection))
472
472
  }
473
473
  });
474
474
  })
@@ -495,7 +495,7 @@ var make10 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
495
495
  title: input?.title,
496
496
  agent: input?.agent,
497
497
  model: input?.model,
498
- location: input?.location ?? Ref2.make({ directory: location.directory, workspaceID: location.workspaceID })
498
+ location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
499
499
  }),
500
500
  get: (input) => sessions.get(input.sessionID),
501
501
  switchAgent: sessions.switchAgent,
@@ -514,29 +514,29 @@ var make10 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
514
514
  return context;
515
515
  });
516
516
  var requirements3 = LayerNode.group([
517
- node65,
518
- node60,
519
517
  node73,
520
- node74,
521
- node78,
522
- node84,
523
- node75,
524
- node83,
525
- node46,
526
- node69,
527
- node49,
528
- node27,
529
- node56,
530
518
  node79,
531
- node25,
519
+ node58,
532
520
  node55,
533
- node29,
534
- node26,
535
- node57,
521
+ node59,
522
+ node83,
523
+ node56,
524
+ node74,
525
+ node39,
536
526
  node81,
537
- node30,
538
- node28,
539
- node54
527
+ node52,
528
+ node18,
529
+ node75,
530
+ node42,
531
+ node47,
532
+ node60,
533
+ node21,
534
+ node19,
535
+ node76,
536
+ node80,
537
+ node23,
538
+ node51,
539
+ node44
540
540
  ]);
541
541
  function storage2(kv, pluginID) {
542
542
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -563,7 +563,7 @@ function methodImplementation(input) {
563
563
  if ("authorize" in input) {
564
564
  const refresh = input.refresh;
565
565
  return {
566
- integrationID: ID14.make(input.integrationID),
566
+ integrationID: ID5.make(input.integrationID),
567
567
  method: { ...input.method, id: MethodID2.make(input.method.id) },
568
568
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
569
569
  if (authorization.mode === "auto") {
@@ -583,18 +583,18 @@ function methodImplementation(input) {
583
583
  }
584
584
  if (input.method.type === "env") {
585
585
  return {
586
- integrationID: ID14.make(input.integrationID),
586
+ integrationID: ID5.make(input.integrationID),
587
587
  method: input.method
588
588
  };
589
589
  }
590
590
  if (input.method.type === "command") {
591
591
  return {
592
- integrationID: ID14.make(input.integrationID),
592
+ integrationID: ID5.make(input.integrationID),
593
593
  method: { ...input.method, id: MethodID2.make(input.method.id) }
594
594
  };
595
595
  }
596
596
  return {
597
- integrationID: ID14.make(input.integrationID),
597
+ integrationID: ID5.make(input.integrationID),
598
598
  method: input.method
599
599
  };
600
600
  }
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-output-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured9,
11
- layer: () => layer20,
12
- make: () => make20,
13
- node: () => node65,
10
+ configured: () => configured11,
11
+ layer: () => layer25,
12
+ make: () => make19,
13
+ node: () => node73,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make20()
19
+ defaultValue: () => make19()
20
20
  });
21
- function make20(input = {}) {
21
+ function make19(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make20(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer20 = (input) => Layer.succeed(Metadata2, make20(input));
32
- var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
33
- var node65 = configured9();
31
+ var layer25 = (input) => Layer.succeed(Metadata2, make19(input));
32
+ var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer25(input), deps: [] });
33
+ var node73 = configured11();
34
34
 
35
- export { Metadata2, make20, useragent2, layer20, configured9, node65, exports_app };
35
+ export { Metadata2, make19, useragent2, layer25, configured11, node73, exports_app };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  mergeOverlay2
3
- } from "./tool-output-g2c9bhkq.js";
3
+ } from "./agent-rwbhhn1p.js";
4
4
  import {
5
- Service69
6
- } from "./tool-output-4yzb8m3n.js";
5
+ Service52
6
+ } from "./agent-smb21sg5.js";
7
7
  import {
8
- Service62
9
- } from "./tool-output-zz3058qf.js";
8
+ Service60
9
+ } from "./agent-3mkt1fq8.js";
10
10
 
11
11
  // src/plugin/provider/configured.ts
12
12
  import { Effect, Option } from "effect";
13
13
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
14
- const catalog = yield* Service69;
14
+ const catalog = yield* Service52;
15
15
  const current = (yield* catalog.provider.get(id))?.settings;
16
- const service = yield* Effect.serviceOption(Service62);
16
+ const service = yield* Effect.serviceOption(Service60);
17
17
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
18
18
  return foldSettings2(entries, id, current);
19
19
  });