@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,24 +1,24 @@
1
- import {
2
- Service79,
3
- node84
4
- } from "./tool-output-d3n7r00r.js";
5
1
  import {
6
2
  Service78,
7
3
  node83
8
- } from "./tool-output-ccrjyqkm.js";
4
+ } from "./agent-m8mnxh4b.js";
5
+ import {
6
+ Service69,
7
+ node74
8
+ } from "./agent-asfb91ym.js";
9
9
  import {
10
10
  create3
11
- } from "./tool-output-kg06axw8.js";
11
+ } from "./agent-kg06axw8.js";
12
12
  import {
13
13
  __export
14
- } from "./tool-output-9rqn6x4v.js";
14
+ } from "./agent-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event9,
21
- ID: () => ID5,
20
+ Event: () => Event12,
21
+ ID: () => ID7,
22
22
  Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,27 +28,27 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service52,
31
+ Service: () => Service57,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node55
33
+ node: () => node60
34
34
  });
35
35
  import { WebSearch } from "@opencode-ai/schema/websearch";
36
36
  import { Context, Effect, Layer, Option, Schema } from "effect";
37
37
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
38
- import { Event as Event9 } from "@opencode-ai/schema/websearch";
39
- var ID5 = WebSearch.ID;
38
+ import { Event as Event12 } from "@opencode-ai/schema/websearch";
39
+ var ID7 = WebSearch.ID;
40
40
  var Provider2 = WebSearch.Provider;
41
41
  var Input14 = WebSearch.Input;
42
42
  var Result2 = WebSearch.Result;
43
43
  var Response2 = WebSearch.Response;
44
44
  var ProviderKey2 = "websearch:provider";
45
- var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
45
+ var Selection2 = Schema.Union([ID7, Schema.Literal("random"), Schema.Literal(false)]);
46
46
 
47
47
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
48
48
  }
49
49
 
50
50
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
51
- providerID: ID5
51
+ providerID: ID7
52
52
  }) {
53
53
  }
54
54
 
@@ -56,16 +56,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
56
56
  }
57
57
 
58
58
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
59
- providerID: ID5,
59
+ providerID: ID7,
60
60
  cause: Schema.Defect()
61
61
  }) {
62
62
  }
63
63
 
64
- class Service52 extends Context.Service()("@opencode/WebSearch") {
64
+ class Service57 extends Context.Service()("@opencode/WebSearch") {
65
65
  }
66
- var layer = Layer.effect(Service52, Effect.gen(function* () {
67
- const bus = yield* Service79;
68
- const kv = yield* Service78;
66
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
67
+ const bus = yield* Service78;
68
+ const kv = yield* Service69;
69
69
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
70
70
  const state = create3({
71
71
  initial: () => ({ providers: new Map }),
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
106
106
  return yield* new ProviderRequiredError2;
107
107
  return provider;
108
108
  });
109
- return Service52.of({
109
+ return Service57.of({
110
110
  transform: state.transform,
111
111
  reload: state.reload,
112
112
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -129,10 +129,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
129
129
  })
130
130
  });
131
131
  }));
132
- var node55 = makeLocationNode({
133
- service: Service52,
132
+ var node60 = makeLocationNode({
133
+ service: Service57,
134
134
  layer,
135
- deps: [node84, node83]
135
+ deps: [node83, node74]
136
136
  });
137
137
 
138
- export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service52, node55, exports_websearch3, Event9 };
138
+ export { ID7, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service57, node60, exports_websearch3, Event12 };
@@ -0,0 +1,4 @@
1
+ // src/pty/schema.ts
2
+ import { ID as ID4 } from "@opencode-ai/schema/pty";
3
+
4
+ export { ID4 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./tool-output-emrn6kk6.js";
4
+ } from "./agent-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./tool-output-p8qxwesx.js";
3
+ } from "./agent-p8qxwesx.js";
4
4
  import {
5
- Info9,
6
- ID6,
5
+ Info26,
6
+ ID12,
7
7
  Name2
8
- } from "./tool-output-wem6z0kr.js";
8
+ } from "./agent-91aj8tvp.js";
9
9
  import {
10
- Service62
11
- } from "./tool-output-zz3058qf.js";
10
+ Service60
11
+ } from "./agent-3mkt1fq8.js";
12
12
  import {
13
13
  __export
14
- } from "./tool-output-9rqn6x4v.js";
14
+ } from "./agent-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill2 = {};
18
- __export(exports_skill2, {
17
+ var exports_skill = {};
18
+ __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin31,
21
+ Plugin: () => Plugin14,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill2
23
+ SkillPlugin: () => exports_skill
24
24
  });
25
25
  import { define } from "@opencode-ai/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
422
422
  var ReportContent2 = report_default;
423
423
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
424
424
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
425
- var Plugin31 = define({
425
+ var Plugin14 = define({
426
426
  id: "opencode.skill",
427
427
  effect: Effect.fn(function* (ctx) {
428
428
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
429
429
  yield* ctx.skill.transform((editor) => {
430
- editor.add(Info9.make({
431
- id: ID6.make("opencode"),
430
+ editor.add(Info26.make({
431
+ id: ID12.make("opencode"),
432
432
  name: Name2.make("OpenCode"),
433
433
  description: OpencodeDescription2,
434
434
  location: AbsolutePath2.make("/builtin/opencode.md"),
435
435
  content: OpencodeContent2
436
436
  }));
437
- editor.add(Info9.make({
438
- id: ID6.make("report"),
437
+ editor.add(Info26.make({
438
+ id: ID12.make("report"),
439
439
  name: Name2.make("Report"),
440
440
  description: REPORT_DESCRIPTION,
441
441
  slash: true,
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
464
464
  `);
465
465
  });
466
466
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
467
- const config = yield* Service62;
467
+ const config = yield* Service60;
468
468
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
469
469
  });
470
470
  function terminal() {
@@ -478,4 +478,4 @@ function shell() {
478
478
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
479
479
  }
480
480
 
481
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin31, exports_skill2 };
481
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin14, exports_skill };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./tool-output-mtcjf44p.js";
8
+ } from "./agent-1z80kc63.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./tool-output-mntxs535.js";
11
+ } from "./agent-mntxs535.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./tool-output-hrvm11jt.js";
15
+ } from "./agent-g2dy4bvs.js";
16
16
  import {
17
17
  __export
18
- } from "./tool-output-9rqn6x4v.js";
18
+ } from "./agent-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./tool-output-emrn6kk6.js";
4
+ } from "./agent-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service62
3
- } from "./tool-output-zz3058qf.js";
2
+ Service60
3
+ } from "./agent-3mkt1fq8.js";
4
4
  import {
5
- Service10
6
- } from "./tool-output-8yvym9ym.js";
5
+ Service12
6
+ } from "./agent-1n116cmy.js";
7
7
  import {
8
8
  observe2
9
- } from "./tool-output-qsdy395h.js";
9
+ } from "./agent-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./tool-output-9rqn6x4v.js";
12
+ } from "./agent-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
15
  var exports_location_watcher2 = {};
16
16
  __export(exports_location_watcher2, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin15
18
+ Plugin: () => Plugin43
19
19
  });
20
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin15 = define({
22
+ var Plugin43 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service62;
26
- const policy = yield* Service10;
25
+ const config = yield* Service60;
26
+ const policy = yield* Service12;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin15 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin15, exports_location_watcher2 };
38
+ export { Plugin43, exports_location_watcher2 };
@@ -2,46 +2,46 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./tool-output-2a5m3afh.js";
5
+ } from "./agent-2a5m3afh.js";
6
6
  import {
7
- Service64
8
- } from "./tool-output-9kn3y1c4.js";
7
+ Service76
8
+ } from "./agent-xkm3xnb1.js";
9
9
  import {
10
- Service59
11
- } from "./tool-output-zqzmmpvz.js";
10
+ Service63
11
+ } from "./agent-yq43v846.js";
12
12
  import {
13
- Service15
14
- } from "./tool-output-9enr510g.js";
13
+ Service18
14
+ } from "./agent-atxn8a3g.js";
15
15
  import {
16
- Service19,
16
+ Service13,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./tool-output-0z6f9cm5.js";
19
+ } from "./agent-s4g226qt.js";
20
20
  import {
21
21
  externalDirectoryPermission2,
22
22
  resolvePath2,
23
- Service13
24
- } from "./tool-output-hz6ssrgr.js";
23
+ Service16
24
+ } from "./agent-31sg83h3.js";
25
25
  import {
26
- Service54
27
- } from "./tool-output-zn0578f7.js";
26
+ Service71
27
+ } from "./agent-hybax9yn.js";
28
28
  import {
29
29
  fileDiff2
30
- } from "./tool-output-6prwharc.js";
30
+ } from "./agent-6prwharc.js";
31
31
  import {
32
32
  __export
33
- } from "./tool-output-9rqn6x4v.js";
33
+ } from "./agent-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/patch.ts
36
36
  var exports_patch = {};
37
37
  __export(exports_patch, {
38
38
  Applied: () => Applied2,
39
- Input: () => Input11,
39
+ Input: () => Input8,
40
40
  Output: () => Output7,
41
41
  PatchTool: () => exports_patch,
42
- Plugin: () => Plugin41,
43
- name: () => name11,
44
- toModelContent: () => toModelContent5
42
+ Plugin: () => Plugin23,
43
+ name: () => name8,
44
+ toModelContent: () => toModelContent6
45
45
  });
46
46
  import { ToolFailure } from "@opencode-ai/ai";
47
47
  import { FileDiff } from "@opencode-ai/schema/file-diff";
@@ -86,8 +86,8 @@ It is important to remember:
86
86
  `;
87
87
 
88
88
  // src/tool/plugin/patch.ts
89
- var name11 = "patch";
90
- var Input11 = Schema.Struct({
89
+ var name8 = "patch";
90
+ var Input8 = Schema.Struct({
91
91
  patchText: Schema.String.annotate({
92
92
  description: "The full patch text describing add, update, and delete operations"
93
93
  })
@@ -101,25 +101,25 @@ var Output7 = Schema.Struct({
101
101
  applied: Schema.Array(Applied2),
102
102
  files: Schema.Array(FileDiff.Info)
103
103
  });
104
- var toModelContent5 = (output) => [
104
+ var toModelContent6 = (output) => [
105
105
  "Success. Updated the following files:",
106
106
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
107
107
  ].join(`
108
108
  `);
109
- var Plugin41 = {
109
+ var Plugin23 = {
110
110
  id: "opencode.tool.patch",
111
111
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
112
- const environment = yield* Service59;
113
- const mutation = yield* Service13;
114
- const fileMutation = yield* Service19;
115
- const formatter = yield* Service15;
116
- const location = yield* Service64;
117
- const permission = yield* Service54;
112
+ const environment = yield* Service63;
113
+ const mutation = yield* Service16;
114
+ const fileMutation = yield* Service13;
115
+ const formatter = yield* Service18;
116
+ const location = yield* Service76;
117
+ const permission = yield* Service71;
118
118
  yield* ctx.tool.transform((editor) => editor.add({
119
- name: name11,
119
+ name: name8,
120
120
  options: { codemode: false, permission: "edit" },
121
121
  description: patch_default,
122
- input: Input11,
122
+ input: Input8,
123
123
  output: Output7,
124
124
  execute: (input, context) => {
125
125
  const applied = [];
@@ -273,7 +273,7 @@ var Plugin41 = {
273
273
  return { applied, files };
274
274
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
275
275
  output,
276
- content: toModelContent5(output),
276
+ content: toModelContent6(output),
277
277
  metadata: { files: output.files }
278
278
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
279
279
  }
@@ -330,4 +330,4 @@ function trimDiff(diff) {
330
330
  `);
331
331
  }
332
332
 
333
- export { name11, Input11, Applied2, Output7, toModelContent5, Plugin41, exports_patch };
333
+ export { name8, Input8, Applied2, Output7, toModelContent6, Plugin23, exports_patch };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service80,
3
- node85
4
- } from "./tool-output-rmwqem2y.js";
2
+ Service79,
3
+ node84
4
+ } from "./agent-gak3es0t.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./tool-output-d72308c8.js";
7
+ } from "./agent-g2gt0w0k.js";
8
8
  import {
9
9
  __export
10
- } from "./tool-output-9rqn6x4v.js";
10
+ } from "./agent-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID8,
17
- Info: () => Info10,
18
- ListInput: () => ListInput5,
16
+ ID: () => ID14,
17
+ Info: () => Info27,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service56,
21
- node: () => node59
20
+ Service: () => Service72,
21
+ node: () => node77
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode-ai/schema/project";
26
26
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode-ai/schema/permission-saved";
28
- var ID8 = PermissionSaved.ID;
29
- var Info10 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
28
+ var ID14 = PermissionSaved.ID;
29
+ var Info27 = PermissionSaved.Info;
30
+ var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service56 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service72 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service56, Effect.gen(function* () {
42
- const db = (yield* Service80).db;
41
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
42
+ const db = (yield* Service79).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID8.create(),
56
+ id: ID14.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service56.of({ list, add, remove });
65
+ return Service72.of({ list, add, remove });
66
66
  }));
67
- var node59 = makeGlobalNode({ service: Service56, layer, deps: [node85] });
67
+ var node77 = makeGlobalNode({ service: Service72, layer, deps: [node84] });
68
68
 
69
- export { ID8, Info10, ListInput5, AddInput2, Service56, node59, exports_saved };
69
+ export { ID14, Info27, ListInput4, AddInput2, Service72, node77, exports_saved };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./tool-output-569kkztx.js";
3
+ } from "./agent-0etjh3sx.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./tool-output-twg0f83k.js";
6
+ } from "./agent-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./tool-output-9rqn6x4v.js";
9
+ } from "./agent-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./tool-output-2a5m3afh.js";
3
+ } from "./agent-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./tool-output-p8qxwesx.js";
6
+ } from "./agent-p8qxwesx.js";
7
7
  import {
8
- Service64
9
- } from "./tool-output-9kn3y1c4.js";
8
+ Service76
9
+ } from "./agent-xkm3xnb1.js";
10
10
  import {
11
- Service59
12
- } from "./tool-output-zqzmmpvz.js";
11
+ Service63
12
+ } from "./agent-yq43v846.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service18
16
- } from "./tool-output-xcvr6978.js";
15
+ Service47
16
+ } from "./agent-xswknbe2.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./tool-output-japv3nz8.js";
23
+ } from "./agent-035ccfev.js";
24
24
  import {
25
25
  externalDirectoryPermission2,
26
- Service13
27
- } from "./tool-output-hz6ssrgr.js";
26
+ Service16
27
+ } from "./agent-31sg83h3.js";
28
28
  import {
29
- Service54
30
- } from "./tool-output-zn0578f7.js";
29
+ Service71
30
+ } from "./agent-hybax9yn.js";
31
31
  import {
32
32
  __export
33
- } from "./tool-output-9rqn6x4v.js";
33
+ } from "./agent-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/grep.ts
36
36
  var exports_grep = {};
37
37
  __export(exports_grep, {
38
38
  GrepTool: () => exports_grep,
39
- Input: () => Input12,
40
- Output: () => Output8,
41
- Plugin: () => Plugin43,
42
- name: () => name12,
43
- toModelContent: () => toModelContent6
39
+ Input: () => Input7,
40
+ Output: () => Output6,
41
+ Plugin: () => Plugin22,
42
+ name: () => name7,
43
+ toModelContent: () => toModelContent5
44
44
  });
45
45
  import { ToolFailure } from "@opencode-ai/ai";
46
46
  import { Effect, Schema } from "effect";
47
47
  import path from "path";
48
- var name12 = "grep";
49
- var Input12 = Schema.Struct({
48
+ var name7 = "grep";
49
+ var Input7 = Schema.Struct({
50
50
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
51
51
  description: "Regular expression or literal text to match in file contents."
52
52
  }),
@@ -66,8 +66,8 @@ var Input12 = Schema.Struct({
66
66
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
67
67
  })
68
68
  });
69
- var Output8 = Schema.Array(Match2);
70
- var toModelContent6 = (matches, truncated = false) => {
69
+ var Output6 = Schema.Array(Match2);
70
+ var toModelContent5 = (matches, truncated = false) => {
71
71
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
72
72
  let current = "";
73
73
  for (const match of matches) {
@@ -84,20 +84,20 @@ var toModelContent6 = (matches, truncated = false) => {
84
84
  return lines.join(`
85
85
  `);
86
86
  };
87
- var Plugin43 = {
87
+ var Plugin22 = {
88
88
  id: "opencode.tool.grep",
89
89
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
90
- const environment = yield* Service59;
91
- const ripgrep = yield* Service18;
92
- const location = yield* Service64;
93
- const mutation = yield* Service13;
94
- const permission = yield* Service54;
90
+ const environment = yield* Service63;
91
+ const ripgrep = yield* Service47;
92
+ const location = yield* Service76;
93
+ const mutation = yield* Service16;
94
+ const permission = yield* Service71;
95
95
  yield* ctx.tool.transform((editor) => editor.add({
96
- name: name12,
96
+ name: name7,
97
97
  options: { codemode: false },
98
98
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
99
- input: Input12,
100
- output: Output8,
99
+ input: Input7,
100
+ output: Output6,
101
101
  execute: (input, context) => Effect.gen(function* () {
102
102
  const source = { type: "tool", messageID: context.messageID, id: context.id };
103
103
  const target = yield* mutation.resolve({ path: input.path ?? "." });
@@ -109,7 +109,7 @@ var Plugin43 = {
109
109
  source
110
110
  });
111
111
  yield* permission.assert({
112
- action: name12,
112
+ action: name7,
113
113
  resources: [input.pattern],
114
114
  save: ["*"],
115
115
  metadata: {
@@ -151,7 +151,7 @@ var Plugin43 = {
151
151
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
152
152
  }).pipe(Effect.map((result) => ({
153
153
  output: result.matches,
154
- content: toModelContent6(result.matches.map((match) => ({
154
+ content: toModelContent5(result.matches.map((match) => ({
155
155
  ...match,
156
156
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
157
157
  })), result.truncated),
@@ -161,4 +161,4 @@ var Plugin43 = {
161
161
  })
162
162
  };
163
163
 
164
- export { name12, Input12, Output8, toModelContent6, Plugin43, exports_grep };
164
+ export { name7, Input7, Output6, toModelContent5, Plugin22, exports_grep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-output-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};