@opencode/core 0.0.0-dev-19598 → 0.0.0-dev-19599

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 (785) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/tool-0mesazry.js +4 -0
  8. package/dist/chunks/{file-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  9. package/dist/chunks/{file-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
  10. package/dist/chunks/{file-r3mfjy6q.js → tool-16jeg0qk.js} +294 -294
  11. package/dist/chunks/{file-3pbjq009.js → tool-17j9h1rv.js} +11 -11
  12. package/dist/chunks/{file-0v53mg2y.js → tool-1a6p2twq.js} +4 -4
  13. package/dist/chunks/{file-pajef2pp.js → tool-1bkx5pwe.js} +4 -4
  14. package/dist/chunks/{file-8yjzh81f.js → tool-1d4jdnc8.js} +6 -6
  15. package/dist/chunks/{file-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{file-919h57eb.js → tool-1gfn0ycf.js} +25 -25
  17. package/dist/chunks/{file-hhh0a6zm.js → tool-21dj5k26.js} +7 -7
  18. package/dist/chunks/{file-ampdzzmt.js → tool-21f2rsjd.js} +11 -11
  19. package/dist/chunks/{file-21r38tys.js → tool-21r38tys.js} +1 -1
  20. package/dist/chunks/{file-6h73sxmp.js → tool-2402vzrj.js} +5 -5
  21. package/dist/chunks/{file-tz1hbxk4.js → tool-253bq4qw.js} +3 -3
  22. package/dist/chunks/{file-z63w68vq.js → tool-29x78va6.js} +6 -6
  23. package/dist/chunks/{file-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{file-e6hd9jay.js → tool-2d57kztd.js} +4 -4
  25. package/dist/chunks/{file-avezr732.js → tool-2gkxg42g.js} +1 -1
  26. package/dist/chunks/{file-qd4n55pn.js → tool-2h74skrz.js} +26 -26
  27. package/dist/chunks/{file-c4vcfcbt.js → tool-2mq1h16s.js} +9 -9
  28. package/dist/chunks/{file-nx3x71r4.js → tool-2vg6efqn.js} +3 -3
  29. package/dist/chunks/{file-8gxqpgph.js → tool-2vs2nh1n.js} +4 -4
  30. package/dist/chunks/{file-2jtppnb6.js → tool-2wvxgkaf.js} +24 -24
  31. package/dist/chunks/{file-5vyabe77.js → tool-2x9c36ps.js} +46 -46
  32. package/dist/chunks/{file-x42bs0x6.js → tool-383meeh8.js} +47 -47
  33. package/dist/chunks/{file-qc0tpyc3.js → tool-3f6m7h4m.js} +9 -9
  34. package/dist/chunks/{file-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{file-8fj94art.js → tool-3g77v28p.js} +1 -1
  36. package/dist/chunks/{file-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{file-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{file-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{file-c78bbtc9.js → tool-3w0fmcng.js} +5 -5
  40. package/dist/chunks/{file-t6z0eevx.js → tool-3y6z2ty2.js} +15 -15
  41. package/dist/chunks/{file-pmh6tya1.js → tool-40tbggcp.js} +29 -29
  42. package/dist/chunks/{file-9vj1at0d.js → tool-4an599d2.js} +11 -11
  43. package/dist/chunks/{file-1j54nx79.js → tool-4e0pbrm7.js} +11 -11
  44. package/dist/chunks/{file-frmeqhta.js → tool-4gnyebnw.js} +7 -7
  45. package/dist/chunks/{file-vm86ksqf.js → tool-4gp9przv.js} +8 -8
  46. package/dist/chunks/{file-xjrg1qn8.js → tool-4kbjb3sr.js} +11 -11
  47. package/dist/chunks/{file-ffs43ht2.js → tool-4vkh6st7.js} +14 -14
  48. package/dist/chunks/{file-56gdpj1q.js → tool-56gdpj1q.js} +2 -2
  49. package/dist/chunks/{file-57ez7d0k.js → tool-57ez7d0k.js} +2 -2
  50. package/dist/chunks/{file-5daktx2q.js → tool-5daktx2q.js} +1 -1
  51. package/dist/chunks/{file-jzt5g60a.js → tool-5hsgp0bq.js} +15 -15
  52. package/dist/chunks/{file-ns74bfrf.js → tool-5k338v2a.js} +20 -20
  53. package/dist/chunks/{file-3btn89ec.js → tool-5qdj1v4m.js} +10 -10
  54. package/dist/chunks/{file-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{file-804mq7mh.js → tool-5w7fqkzx.js} +10 -10
  56. package/dist/chunks/{file-2fy2emhs.js → tool-5y9tx54q.js} +12 -12
  57. package/dist/chunks/{file-ra8qdd9e.js → tool-63dea9jd.js} +1 -1
  58. package/dist/chunks/{file-669tq793.js → tool-669tq793.js} +1 -1
  59. package/dist/chunks/{file-3v0x2y7p.js → tool-66qmevrd.js} +8 -8
  60. package/dist/chunks/{file-vanydjgv.js → tool-66yyaz7c.js} +43 -43
  61. package/dist/chunks/{file-1zzmp92z.js → tool-6d1tapbz.js} +15 -15
  62. package/dist/chunks/{file-hy5fgcee.js → tool-6j9t704q.js} +15 -15
  63. package/dist/chunks/{file-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{file-3zykk5as.js → tool-6qkc0t3x.js} +8 -8
  65. package/dist/chunks/{file-pnwnc2eb.js → tool-6sg447na.js} +12 -12
  66. package/dist/chunks/{file-f3ngv102.js → tool-6sr3ve8g.js} +21 -21
  67. package/dist/chunks/{file-sznyev98.js → tool-6vq97qmv.js} +5 -5
  68. package/dist/chunks/{file-vcyhp7t3.js → tool-6yy9wark.js} +11 -11
  69. package/dist/chunks/{file-71q4at8m.js → tool-71q4at8m.js} +1 -1
  70. package/dist/chunks/{file-phc861ae.js → tool-7355chmd.js} +6 -6
  71. package/dist/chunks/{file-ecmre7pn.js → tool-7933w99v.js} +85 -85
  72. package/dist/chunks/{file-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{file-gs1hwhc0.js → tool-7eyb1ky7.js} +25 -25
  74. package/dist/chunks/{file-p0bspynp.js → tool-7m0wx7n2.js} +5 -5
  75. package/dist/chunks/{file-zdw538jz.js → tool-7q67xa21.js} +15 -15
  76. package/dist/chunks/{file-vmbah541.js → tool-7tw3btct.js} +6 -6
  77. package/dist/chunks/{file-t50jsm69.js → tool-7v2wf9c4.js} +29 -29
  78. package/dist/chunks/{file-7e0sczy2.js → tool-7vnx6y3p.js} +14 -14
  79. package/dist/chunks/{file-qyrnw00n.js → tool-884gyjym.js} +4 -4
  80. package/dist/chunks/{file-w1k39n5e.js → tool-88sz8qcd.js} +4 -4
  81. package/dist/chunks/{file-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{file-ne2r7j9m.js → tool-8dp74fdk.js} +24 -24
  83. package/dist/chunks/{file-jac4mw22.js → tool-8e117wbv.js} +5 -5
  84. package/dist/chunks/{file-mkt4f7jq.js → tool-8kacz6a1.js} +22 -22
  85. package/dist/chunks/{file-8p4f9s12.js → tool-8p4f9s12.js} +2 -2
  86. package/dist/chunks/{file-vq7z185x.js → tool-8y01k5fy.js} +4 -4
  87. package/dist/chunks/{file-ye1wyhtp.js → tool-92s0cqnp.js} +10 -10
  88. package/dist/chunks/{file-ckpz9tzv.js → tool-95vfjh4q.js} +9 -9
  89. package/dist/chunks/{file-2yrd4w3g.js → tool-964t6598.js} +11 -11
  90. package/dist/chunks/{file-s3dxyf65.js → tool-98f484r8.js} +16 -16
  91. package/dist/chunks/{file-xgfp89dv.js → tool-99yh2pdr.js} +13 -13
  92. package/dist/chunks/{file-scv7p57g.js → tool-9d4sgpz8.js} +9 -9
  93. package/dist/chunks/{file-g0sczcq0.js → tool-9kvb8f9y.js} +23 -23
  94. package/dist/chunks/{file-kjpj2a9q.js → tool-9q34vwzw.js} +28 -28
  95. package/dist/chunks/tool-9sh4wc5j.js +18 -0
  96. package/dist/chunks/{file-a1bz86dw.js → tool-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{file-88t9pbvw.js → tool-a6d3kgp8.js} +17 -17
  98. package/dist/chunks/{file-aaet6srn.js → tool-aaet6srn.js} +2 -2
  99. package/dist/chunks/{file-ryjh9mcz.js → tool-acpnwff5.js} +3 -3
  100. package/dist/chunks/{file-9dvg4g8f.js → tool-acxcbb38.js} +16 -16
  101. package/dist/chunks/{file-w0x3jd68.js → tool-akvwqyjh.js} +18 -18
  102. package/dist/chunks/{file-mqadsv8v.js → tool-awzpd58r.js} +9 -9
  103. package/dist/chunks/{file-sxz6gkc3.js → tool-axtvtek4.js} +4 -4
  104. package/dist/chunks/{file-m49cwa8c.js → tool-ayrzd4q0.js} +15 -15
  105. package/dist/chunks/{file-4zqrhqht.js → tool-b4655sfp.js} +45 -45
  106. package/dist/chunks/{file-r0eemgrz.js → tool-b5vpxnpr.js} +23 -23
  107. package/dist/chunks/{file-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{file-k0mc747p.js → tool-b7n5ecmq.js} +36 -36
  109. package/dist/chunks/{file-hfdr1yjj.js → tool-bajakh74.js} +4 -4
  110. package/dist/chunks/{file-eqjzvt4d.js → tool-bbaxns64.js} +8 -8
  111. package/dist/chunks/{file-wndsw9jd.js → tool-bmnapqat.js} +11 -11
  112. package/dist/chunks/{file-658qrzb6.js → tool-bv9pnvgp.js} +4 -4
  113. package/dist/chunks/{file-s8rxtnbc.js → tool-bwfqemah.js} +3 -3
  114. package/dist/chunks/{file-313wy76v.js → tool-c0g4q567.js} +17 -17
  115. package/dist/chunks/{file-k2bnz6b5.js → tool-c31h4aj0.js} +48 -48
  116. package/dist/chunks/{file-em65arkj.js → tool-c5f1xghs.js} +29 -29
  117. package/dist/chunks/{file-1t72z6bs.js → tool-c8r4c7x7.js} +24 -24
  118. package/dist/chunks/{file-58qyzcvs.js → tool-cddy6wgw.js} +11 -11
  119. package/dist/chunks/{file-3w80k797.js → tool-cdx2nmd2.js} +50 -50
  120. package/dist/chunks/{file-y6h4mdg2.js → tool-ce8sn01r.js} +43 -43
  121. package/dist/chunks/{file-85170kwf.js → tool-cejrj8y8.js} +21 -21
  122. package/dist/chunks/{file-cfpkc3c9.js → tool-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{file-6s5nejzz.js → tool-chp1ctqz.js} +11 -11
  124. package/dist/chunks/{file-wdpdtye9.js → tool-cseyvs3z.js} +25 -25
  125. package/dist/chunks/{file-xe94yqgp.js → tool-ctn2km86.js} +2 -2
  126. package/dist/chunks/{file-et0rkxxj.js → tool-d383cjmk.js} +8 -8
  127. package/dist/chunks/{file-zkb0rj7d.js → tool-d55qd04d.js} +32 -32
  128. package/dist/chunks/{file-6we377py.js → tool-da1ppnzr.js} +30 -30
  129. package/dist/chunks/{file-36msp9ny.js → tool-dadjnxcz.js} +13 -13
  130. package/dist/chunks/{file-m2cb1kfd.js → tool-djh8651g.js} +30 -30
  131. package/dist/chunks/{file-y71avatq.js → tool-dpkg50ah.js} +4 -4
  132. package/dist/chunks/{file-485fr60v.js → tool-dy775f0c.js} +8 -8
  133. package/dist/chunks/{file-mcjktpac.js → tool-e0b694rp.js} +16 -16
  134. package/dist/chunks/{file-5qd3pb7m.js → tool-e3qxr5gk.js} +2 -2
  135. package/dist/chunks/{file-mry3yw3z.js → tool-e4yvw0pn.js} +33 -33
  136. package/dist/chunks/{file-e5nv3ght.js → tool-e5nv3ght.js} +2 -2
  137. package/dist/chunks/{file-mw62vq54.js → tool-e8rb0fk9.js} +11 -11
  138. package/dist/chunks/{file-af04s6ss.js → tool-ead3g9p8.js} +5 -5
  139. package/dist/chunks/{file-5w575vpr.js → tool-ebx0djr7.js} +3 -3
  140. package/dist/chunks/{file-jva4mgym.js → tool-ec8389mk.js} +4 -4
  141. package/dist/chunks/{file-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{file-m947q6k5.js → tool-efxhpxf5.js} +24 -24
  143. package/dist/chunks/{file-xfz9zfky.js → tool-emgx2tje.js} +5 -5
  144. package/dist/chunks/{file-f42mf92g.js → tool-erw0n60b.js} +8 -8
  145. package/dist/chunks/{file-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{file-rcsscm7r.js → tool-f1ts345w.js} +11 -11
  147. package/dist/chunks/{file-4rcm86v0.js → tool-f1xrsf6k.js} +14 -14
  148. package/dist/chunks/{file-mnejq3c6.js → tool-f38hchcj.js} +9 -9
  149. package/dist/chunks/{file-9x1sbddt.js → tool-f3yjyja6.js} +13 -13
  150. package/dist/chunks/{file-f828m53h.js → tool-f828m53h.js} +2 -2
  151. package/dist/chunks/{file-7qb1bt6t.js → tool-f9a3pmyr.js} +13 -13
  152. package/dist/chunks/{file-2k8khapm.js → tool-fcrkznn8.js} +5 -5
  153. package/dist/chunks/{file-zg2jh87r.js → tool-fdftwakz.js} +10 -10
  154. package/dist/chunks/{file-e1x4awme.js → tool-fgb2mcbr.js} +22 -22
  155. package/dist/chunks/{file-nqrry9qg.js → tool-fspd6qjs.js} +16 -16
  156. package/dist/chunks/{file-ggz1pmcj.js → tool-fsqnn3fv.js} +18 -18
  157. package/dist/chunks/{file-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
  158. package/dist/chunks/{file-qcd1qc15.js → tool-fyfytr13.js} +9 -9
  159. package/dist/chunks/{file-fvrhsr23.js → tool-gan2aag1.js} +2 -2
  160. package/dist/chunks/{file-b1e26q27.js → tool-gbex3acd.js} +32 -32
  161. package/dist/chunks/{file-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  162. package/dist/chunks/{file-2rpf5fdd.js → tool-ggz7fzf6.js} +6 -6
  163. package/dist/chunks/{file-ejt0hq34.js → tool-gjh1s6ya.js} +13 -13
  164. package/dist/chunks/{file-g601pm08.js → tool-gjtgcmhe.js} +6 -6
  165. package/dist/chunks/{file-gv6a8nnw.js → tool-gv6a8nnw.js} +2 -2
  166. package/dist/chunks/{file-h03wrkyp.js → tool-h03wrkyp.js} +2 -2
  167. package/dist/chunks/{file-ef6j5nc6.js → tool-h0cab0jj.js} +6 -6
  168. package/dist/chunks/{file-cpj0znwe.js → tool-h6r3nrb9.js} +4 -4
  169. package/dist/chunks/{file-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{file-z7bpncyg.js → tool-hddv9rh5.js} +11 -11
  171. package/dist/chunks/{file-bgxcxs0p.js → tool-hnr5yq9h.js} +5 -5
  172. package/dist/chunks/{file-fwkb73sv.js → tool-hs2aqah5.js} +5 -5
  173. package/dist/chunks/{file-26m8t0ek.js → tool-hswenssz.js} +20 -20
  174. package/dist/chunks/{file-j56e64zr.js → tool-j56e64zr.js} +1 -1
  175. package/dist/chunks/{file-129brntk.js → tool-jez6grfh.js} +10 -10
  176. package/dist/chunks/{file-3z6mat0v.js → tool-jj2x8ya3.js} +24 -24
  177. package/dist/chunks/{file-gsx0ryk4.js → tool-jjs74g98.js} +9 -9
  178. package/dist/chunks/{file-m4e3ywc5.js → tool-jndxpbzp.js} +26 -26
  179. package/dist/chunks/{file-z6cdq4y7.js → tool-jpsh07gn.js} +4 -4
  180. package/dist/chunks/{file-kzw69375.js → tool-jqvwbgns.js} +7 -7
  181. package/dist/chunks/{file-10jz9m44.js → tool-jscm6k4t.js} +13 -13
  182. package/dist/chunks/{file-eqz5qmce.js → tool-jxrvs0y0.js} +11 -11
  183. package/dist/chunks/{file-xhmq8qgk.js → tool-jzzy94zk.js} +9 -9
  184. package/dist/chunks/{file-rpp558y0.js → tool-k56b83dc.js} +15 -15
  185. package/dist/chunks/{file-0vdk82c3.js → tool-kcxpnbwn.js} +20 -20
  186. package/dist/chunks/{file-de97ckz5.js → tool-kj8x889q.js} +2 -2
  187. package/dist/chunks/{file-cb51cg86.js → tool-knc2ad2x.js} +82 -82
  188. package/dist/chunks/{file-2m2rh4pc.js → tool-m46abj74.js} +5 -5
  189. package/dist/chunks/{file-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{file-dqvbfby7.js → tool-may1xj9k.js} +171 -171
  191. package/dist/chunks/{file-mppen3ja.js → tool-metb0c44.js} +11 -11
  192. package/dist/chunks/{file-qfa7jkp4.js → tool-mf4jvz0z.js} +8 -8
  193. package/dist/chunks/{file-3xy0seps.js → tool-mksr8qt3.js} +6 -6
  194. package/dist/chunks/{file-9avcp2jz.js → tool-mrk4e56b.js} +16 -16
  195. package/dist/chunks/{file-ev5x2d0f.js → tool-mtxfs5k5.js} +22 -22
  196. package/dist/chunks/{file-mvfsc1pv.js → tool-mvfsc1pv.js} +1 -1
  197. package/dist/chunks/{file-28q1zxr2.js → tool-mwp9jd7s.js} +8 -8
  198. package/dist/chunks/{file-7dx4zb5w.js → tool-n83tpar3.js} +28 -28
  199. package/dist/chunks/{file-ph5begyf.js → tool-n9a9ascx.js} +21 -21
  200. package/dist/chunks/{file-mv06p09r.js → tool-nafczmzp.js} +27 -27
  201. package/dist/chunks/{file-p9v06vkv.js → tool-nb4aeq3b.js} +7 -7
  202. package/dist/chunks/{file-7vzzf4r8.js → tool-nbzw66ce.js} +29 -29
  203. package/dist/chunks/{file-dqc15y4x.js → tool-nef32yex.js} +2 -2
  204. package/dist/chunks/{file-34v3mw25.js → tool-nffnkmsf.js} +14 -14
  205. package/dist/chunks/{file-hjt4xg1x.js → tool-nhy5jxhy.js} +4 -4
  206. package/dist/chunks/{file-00ahzcwm.js → tool-nr5q34ns.js} +13 -13
  207. package/dist/chunks/{file-f5syc60y.js → tool-nvxqht09.js} +3 -3
  208. package/dist/chunks/{file-5r9teng0.js → tool-nw3p9810.js} +4 -4
  209. package/dist/chunks/{file-dgj0dq1g.js → tool-p42hj8p8.js} +8 -8
  210. package/dist/chunks/{file-5c70fjhz.js → tool-p7cb5w0v.js} +4 -4
  211. package/dist/chunks/{file-42j12a3k.js → tool-pd0fnjnr.js} +24 -24
  212. package/dist/chunks/{file-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{file-pknna89w.js → tool-pknna89w.js} +1 -1
  214. package/dist/chunks/{file-agxtagsk.js → tool-pmwf0w9a.js} +32 -32
  215. package/dist/chunks/{file-2zf3hwjc.js → tool-pngq9dd9.js} +20 -20
  216. package/dist/chunks/{file-jndejbar.js → tool-prres578.js} +17 -17
  217. package/dist/chunks/{file-cqc023f0.js → tool-ptg6kxy0.js} +16 -16
  218. package/dist/chunks/{file-jbkjz0j2.js → tool-q4wkz71m.js} +17 -17
  219. package/dist/chunks/{file-0h54jqbs.js → tool-q7wajf8z.js} +8 -8
  220. package/dist/chunks/{file-n1jngd1w.js → tool-qh3h8fjc.js} +24 -24
  221. package/dist/chunks/{file-da6evnzj.js → tool-qkttm6v0.js} +11 -11
  222. package/dist/chunks/{file-qsdy395h.js → tool-qsdy395h.js} +1 -1
  223. package/dist/chunks/{file-prvz8ejv.js → tool-r1dtnce0.js} +20 -20
  224. package/dist/chunks/{file-v71dgxb6.js → tool-r2gzwywa.js} +28 -28
  225. package/dist/chunks/{file-182z4mkv.js → tool-r6fz4byc.js} +1 -1
  226. package/dist/chunks/{file-r9mregkx.js → tool-r9mregkx.js} +2 -2
  227. package/dist/chunks/{file-6gryy3ht.js → tool-rcptzcjb.js} +19 -19
  228. package/dist/chunks/{file-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  229. package/dist/chunks/{file-9tb0rzq8.js → tool-rfbvv5xc.js} +4 -4
  230. package/dist/chunks/{file-vhvvs13s.js → tool-rkdpvaam.js} +15 -15
  231. package/dist/chunks/{file-fctbv38k.js → tool-rm9n4pe2.js} +26 -26
  232. package/dist/chunks/{file-yrznvahk.js → tool-s4enseaf.js} +2 -2
  233. package/dist/chunks/{file-bd58x3af.js → tool-s4k2xazs.js} +13 -13
  234. package/dist/chunks/{file-tg00ampp.js → tool-s9pnwdwt.js} +1 -1
  235. package/dist/chunks/{file-4jc5c4h4.js → tool-scq4khx8.js} +1 -1
  236. package/dist/chunks/{file-eb6z8chr.js → tool-smthb8q2.js} +24 -24
  237. package/dist/chunks/{file-6wce12fj.js → tool-sr5hsr7h.js} +26 -26
  238. package/dist/chunks/{file-52zzeq6p.js → tool-sy7efrgz.js} +25 -25
  239. package/dist/chunks/{file-bycsbmk8.js → tool-t06sf88e.js} +10 -10
  240. package/dist/chunks/{file-s8d7rejh.js → tool-t550f9t1.js} +4 -4
  241. package/dist/chunks/{file-rzxstzmh.js → tool-t97w6b9c.js} +10 -10
  242. package/dist/chunks/{file-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  243. package/dist/chunks/{file-0mt6cg7p.js → tool-tbht75y9.js} +9 -9
  244. package/dist/chunks/{file-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  245. package/dist/chunks/{file-tdstcens.js → tool-tdstcens.js} +1 -1
  246. package/dist/chunks/{file-hkcvz44k.js → tool-tg3z6q21.js} +11 -11
  247. package/dist/chunks/{file-6kg1vfnr.js → tool-tprb9ykm.js} +6 -6
  248. package/dist/chunks/{file-j325xqev.js → tool-tqkrwgse.js} +2 -2
  249. package/dist/chunks/{file-tdqfck99.js → tool-tqq7t134.js} +14 -14
  250. package/dist/chunks/{file-cf2ej5qv.js → tool-tqsepttq.js} +11 -11
  251. package/dist/chunks/{file-6p7t068e.js → tool-ttyd6mwr.js} +9 -9
  252. package/dist/chunks/{file-t3x95jfd.js → tool-tvmnx93k.js} +65 -65
  253. package/dist/chunks/{file-tvtrv512.js → tool-tvtrv512.js} +1 -1
  254. package/dist/chunks/{file-q4yxhgfy.js → tool-v0hcs57f.js} +4 -4
  255. package/dist/chunks/{file-atrnym84.js → tool-v64wsefy.js} +15 -15
  256. package/dist/chunks/{file-vfgva3xk.js → tool-va79mfn6.js} +21 -21
  257. package/dist/chunks/{file-6bxb4cxk.js → tool-vas055je.js} +6 -6
  258. package/dist/chunks/{file-k2s68ryd.js → tool-vdyyrf70.js} +6 -6
  259. package/dist/chunks/{file-hq8zt1th.js → tool-ve6nm2s5.js} +6 -6
  260. package/dist/chunks/{file-veqvce7d.js → tool-veqvce7d.js} +1 -1
  261. package/dist/chunks/{file-w75v1kbk.js → tool-vgf270yp.js} +1 -1
  262. package/dist/chunks/{file-pwpabjhk.js → tool-vmyza7nt.js} +55 -55
  263. package/dist/chunks/{file-dtnrh8vj.js → tool-vqdbe12f.js} +40 -40
  264. package/dist/chunks/{file-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  265. package/dist/chunks/{file-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  266. package/dist/chunks/{file-yn670k7r.js → tool-w9rsy75j.js} +23 -23
  267. package/dist/chunks/{file-wd87259q.js → tool-wd87259q.js} +1 -1
  268. package/dist/chunks/{file-s48t05nw.js → tool-wjjsbp8j.js} +19 -19
  269. package/dist/chunks/{file-bknfn28s.js → tool-wzvtb6ev.js} +20 -20
  270. package/dist/chunks/{file-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  271. package/dist/chunks/{file-k6wrm9a0.js → tool-x7ajdgre.js} +9 -9
  272. package/dist/chunks/{file-emc9sr5q.js → tool-xerjptys.js} +5 -5
  273. package/dist/chunks/{file-y3dttyaz.js → tool-xkc29y86.js} +41 -41
  274. package/dist/chunks/{file-m3td6s3w.js → tool-xsghnh50.js} +9 -9
  275. package/dist/chunks/{file-y119texf.js → tool-y0rh7a7t.js} +16 -16
  276. package/dist/chunks/{file-5phqnecy.js → tool-y10wk092.js} +4 -4
  277. package/dist/chunks/{file-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  278. package/dist/chunks/{file-5276hfdk.js → tool-y3acf7kc.js} +18 -18
  279. package/dist/chunks/{file-yp2x3t23.js → tool-yp2x3t23.js} +1 -1
  280. package/dist/chunks/{file-yqncp4jv.js → tool-yqybgd19.js} +144 -144
  281. package/dist/chunks/{file-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{file-tmz405jm.js → tool-yyqa94g7.js} +42 -42
  283. package/dist/chunks/{file-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{file-m7tah5hb.js → tool-z4t82ehr.js} +6 -6
  285. package/dist/chunks/{file-bq2epsr3.js → tool-zdvgxm63.js} +25 -25
  286. package/dist/chunks/{file-0s3e8wbd.js → tool-ze59vjzs.js} +30 -30
  287. package/dist/chunks/{file-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{file-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{file-nc8419v6.js → tool-zr6g55aw.js} +5 -5
  290. package/dist/chunks/{file-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +80 -80
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +121 -121
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +125 -125
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +80 -80
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +365 -365
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +219 -219
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +94 -94
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +97 -97
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +82 -82
  432. package/dist/generate.js +105 -105
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +356 -356
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +132 -132
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +353 -353
  470. package/dist/location.js +80 -80
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +124 -124
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +98 -98
  479. package/dist/model.js +101 -101
  480. package/dist/models-dev.js +101 -101
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +116 -116
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +216 -216
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +327 -327
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +94 -94
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/alibaba.js +2 -2
  503. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +89 -89
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +92 -92
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +92 -92
  515. package/dist/plugin/provider/gitlab.js +90 -90
  516. package/dist/plugin/provider/google-vertex.js +89 -89
  517. package/dist/plugin/provider/kilo.js +89 -89
  518. package/dist/plugin/provider/llmgateway.js +89 -89
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -91
  521. package/dist/plugin/provider/nvidia.js +89 -89
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +91 -91
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +90 -90
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +89 -89
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +90 -90
  536. package/dist/plugin/provider/zenmux.js +89 -89
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +138 -138
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +346 -346
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +91 -91
  545. package/dist/plugin/vcs/git.js +85 -85
  546. package/dist/plugin/vcs/hg.js +85 -85
  547. package/dist/plugin/warming.js +120 -120
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +2 -2
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +227 -227
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +79 -79
  559. package/dist/provider.js +100 -100
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +91 -91
  564. package/dist/reference/instructions.js +86 -86
  565. package/dist/reference.js +90 -90
  566. package/dist/repository-cache.js +80 -80
  567. package/dist/repository.js +3 -3
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +92 -92
  570. package/dist/rpc.js +85 -85
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +133 -133
  574. package/dist/session/context.js +151 -151
  575. package/dist/session/diff.js +87 -87
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +220 -220
  580. package/dist/session/execution.js +128 -128
  581. package/dist/session/generate.js +152 -152
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +85 -85
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +78 -78
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +96 -96
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +117 -117
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +130 -130
  593. package/dist/session/projector.js +85 -85
  594. package/dist/session/prompt.js +104 -104
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +89 -89
  597. package/dist/session/run-coordinator.js +1 -1
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +228 -228
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +98 -98
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +114 -114
  604. package/dist/session/runner/step.js +125 -125
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +172 -172
  608. package/dist/session/shell.js +137 -137
  609. package/dist/session/skill.js +102 -102
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +72 -72
  612. package/dist/session/store.js +84 -84
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +209 -209
  615. package/dist/session/system-prompt.js +3 -3
  616. package/dist/session/title.js +155 -155
  617. package/dist/session/to-session-error.js +111 -111
  618. package/dist/session/transfer.js +213 -213
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +217 -217
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +139 -139
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +104 -104
  628. package/dist/skill.js +111 -111
  629. package/dist/snapshot.js +92 -92
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +123 -123
  634. package/dist/tool/plugin/edit.js +119 -119
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +121 -121
  637. package/dist/tool/plugin/grep.js +119 -119
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +121 -121
  640. package/dist/tool/plugin/question.js +100 -100
  641. package/dist/tool/plugin/read.js +122 -122
  642. package/dist/tool/plugin/shell.js +216 -216
  643. package/dist/tool/plugin/skill.js +106 -106
  644. package/dist/tool/plugin/subagent.js +218 -218
  645. package/dist/tool/plugin/webfetch.js +109 -109
  646. package/dist/tool/plugin/websearch.js +113 -113
  647. package/dist/tool/plugin/write.js +121 -121
  648. package/dist/tool/read-filesystem.js +97 -97
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +13 -13
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/attachment.js +4 -4
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/config.js +16 -16
  665. package/dist/v1/config/error.js +4 -4
  666. package/dist/v1/config/formatter.js +3 -3
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +91 -91
  671. package/dist/v1/config/permission.js +7 -7
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +3 -3
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +88 -88
  680. package/dist/websearch.js +81 -81
  681. package/dist/wellknown/plugin.js +75 -75
  682. package/dist/wellknown.js +80 -80
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +77 -77
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/refresh.js +343 -343
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree.js +93 -93
  691. package/package.json +8 -8
  692. package/dist/chunks/file-qapv375x.js +0 -4
  693. package/dist/chunks/file-qc068m1q.js +0 -18
  694. /package/dist/chunks/{file-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{file-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{file-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{file-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{file-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{file-2710q6r3.js → tool-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{file-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{file-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{file-359p4xyc.js → tool-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{file-3asan66x.js → tool-3asan66x.js} +0 -0
  704. /package/dist/chunks/{file-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{file-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{file-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{file-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{file-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{file-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{file-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{file-53557ph1.js → tool-53557ph1.js} +0 -0
  712. /package/dist/chunks/{file-550bvhaj.js → tool-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{file-6prwharc.js → tool-6prwharc.js} +0 -0
  714. /package/dist/chunks/{file-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{file-7m9af43g.js → tool-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{file-822emrt2.js → tool-822emrt2.js} +0 -0
  717. /package/dist/chunks/{file-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{file-8n3pysct.js → tool-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{file-922hggd3.js → tool-922hggd3.js} +0 -0
  720. /package/dist/chunks/{file-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{file-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{file-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{file-af5trqkr.js → tool-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{file-afrmfg78.js → tool-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{file-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{file-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{file-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{file-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{file-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{file-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{file-d9fn303g.js → tool-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{file-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{file-dajrwvna.js → tool-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{file-dap0rakb.js → tool-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{file-df08tz66.js → tool-df08tz66.js} +0 -0
  736. /package/dist/chunks/{file-dy18nga0.js → tool-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{file-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{file-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{file-ec1grn59.js → tool-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{file-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{file-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{file-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{file-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{file-faypxj3z.js → tool-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{file-fd410y7t.js → tool-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{file-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{file-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{file-g86h250q.js → tool-g86h250q.js} +0 -0
  749. /package/dist/chunks/{file-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{file-gftt206x.js → tool-gftt206x.js} +0 -0
  751. /package/dist/chunks/{file-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  752. /package/dist/chunks/{file-hk9envan.js → tool-hk9envan.js} +0 -0
  753. /package/dist/chunks/{file-hrnqkpcd.js → tool-hrnqkpcd.js} +0 -0
  754. /package/dist/chunks/{file-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{file-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{file-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{file-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{file-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{file-mp448xyj.js → tool-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{file-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{file-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{file-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{file-njntx4h6.js → tool-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{file-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{file-q74kybfr.js → tool-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{file-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{file-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{file-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{file-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{file-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{file-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{file-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{file-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{file-twg0f83k.js → tool-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{file-w803qqfp.js → tool-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{file-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{file-wtztk69x.js → tool-wtztk69x.js} +0 -0
  778. /package/dist/chunks/{file-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  779. /package/dist/chunks/{file-x61499pn.js → tool-x61499pn.js} +0 -0
  780. /package/dist/chunks/{file-y44na4kk.js → tool-y44na4kk.js} +0 -0
  781. /package/dist/chunks/{file-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  782. /package/dist/chunks/{file-y8f7s663.js → tool-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{file-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{file-ym463w8f.js → tool-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{file-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./file-rdw6cm16.js";
3
+ } from "./tool-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service10,
13
- node: () => node13
12
+ Service: () => Service5,
13
+ node: () => node7
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service10, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service10.of({
44
+ return Service5.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node13 = makeLocationNode({ service: Service10, layer, deps: [] });
51
+ var node7 = makeLocationNode({ service: Service5, layer, deps: [] });
52
52
 
53
- export { Service10, node13, exports_location_watcher_policy };
53
+ export { Service5, node7, exports_location_watcher_policy };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./file-phc861ae.js";
3
+ } from "./tool-7355chmd.js";
4
4
  import {
5
5
  apply3
6
- } from "./file-tz1hbxk4.js";
6
+ } from "./tool-253bq4qw.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service49,
9
+ Service: () => Service40,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service49 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service40 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service49, exports_runner };
18
+ export { DrainResult2, Service40, exports_runner };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service81,
3
3
  node86
4
- } from "./file-nx3x71r4.js";
4
+ } from "./tool-2vg6efqn.js";
5
5
  import {
6
6
  Service80,
7
7
  node85
8
- } from "./file-pajef2pp.js";
8
+ } from "./tool-1bkx5pwe.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./file-pknna89w.js";
11
+ } from "./tool-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./file-0q0f95c6.js";
14
+ } from "./tool-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./file-9rqn6x4v.js";
17
+ } from "./tool-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
24
- ID: () => ID15,
23
+ Event: () => Event20,
24
+ ID: () => ID16,
25
25
  Info: () => Info31,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service72,
28
+ Service: () => Service75,
29
29
  Value: () => Value2,
30
- node: () => node77
30
+ node: () => node80
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID15 = Credential.ID;
37
+ var ID16 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event19 = Credential.Event;
41
+ var Event20 = Credential.Event;
42
42
 
43
43
  class Info31 extends Schema.Class("Credential.Info")({
44
- id: ID15,
44
+ id: ID16,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service72 extends Context.Service()("@opencode/Credential") {
51
+ class Service75 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service72, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
54
54
  const db = (yield* Service81).db;
55
55
  const bus = yield* Service80;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service72.of({
71
+ return Service75.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -77,7 +77,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
79
  const credential = new Info31({
80
- id: ID15.create(),
80
+ id: ID16.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event19.Updated, {}, { global: true });
105
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event20.Updated, {}, { global: true });
105
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event19.Updated, {}, { global: true });
157
+ yield* bus.publish(Event20.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event19.Updated, {}, { global: true });
190
+ yield* bus.publish(Event20.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node77 = makeGlobalNode({ service: Service72, layer, deps: [node86, node85] });
196
+ var node80 = makeGlobalNode({ service: Service75, layer, deps: [node86, node85] });
197
197
 
198
- export { ID15, OAuth3, Key4, Value2, Event19, Info31, Service72, node77, exports_credential };
198
+ export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service75, node80, exports_credential };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./file-922hggd3.js";
3
+ } from "./tool-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service45
7
- } from "./file-dtnrh8vj.js";
6
+ Service60
7
+ } from "./tool-vqdbe12f.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./file-2a5m3afh.js";
10
+ } from "./tool-2a5m3afh.js";
11
11
  import {
12
- Service61
13
- } from "./file-vfgva3xk.js";
12
+ Service58
13
+ } from "./tool-va79mfn6.js";
14
14
  import {
15
- Service54
16
- } from "./file-hy5fgcee.js";
15
+ Service45
16
+ } from "./tool-6j9t704q.js";
17
17
  import {
18
- Service66
19
- } from "./file-pwpabjhk.js";
18
+ Service46
19
+ } from "./tool-vmyza7nt.js";
20
20
  import {
21
- Service23,
21
+ Service14,
22
22
  resolvePath2
23
- } from "./file-jzt5g60a.js";
23
+ } from "./tool-5hsgp0bq.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./file-fxbjtjnd.js";
29
+ } from "./tool-fxbjtjnd.js";
30
30
  import {
31
- Service57,
31
+ Service59,
32
32
  name15
33
- } from "./file-s48t05nw.js";
33
+ } from "./tool-wjjsbp8j.js";
34
34
  import {
35
- NotFoundError6,
36
- Service39
37
- } from "./file-vanydjgv.js";
35
+ NotFoundError8,
36
+ Service55
37
+ } from "./tool-66yyaz7c.js";
38
38
  import {
39
- Service25
40
- } from "./file-ecmre7pn.js";
39
+ Service20
40
+ } from "./tool-7933w99v.js";
41
41
  import {
42
42
  scan2
43
- } from "./file-q4yxhgfy.js";
43
+ } from "./tool-v0hcs57f.js";
44
44
  import {
45
45
  __export
46
- } from "./file-9rqn6x4v.js";
46
+ } from "./tool-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input6,
53
- Plugin: () => Plugin8,
54
- ShellTool: () => exports_shell,
55
- name: () => name6
52
+ Input: () => Input8,
53
+ Plugin: () => Plugin27,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name8
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name6 = "shell";
59
+ var name8 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input6 = Schema.Struct({
73
+ var Input8 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin8 = {
118
+ var Plugin27 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service25;
122
- const jobs = yield* Service54;
121
+ const sessions = yield* Service20;
122
+ const jobs = yield* Service45;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service61;
125
- const access = yield* Service23;
126
- const shell = yield* Service39;
127
- const shellSelect = yield* Service57;
124
+ const environment = yield* Service58;
125
+ const access = yield* Service14;
126
+ const shell = yield* Service55;
127
+ const shellSelect = yield* Service59;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service66;
130
- const config = yield* Service45;
129
+ const permission = yield* Service46;
130
+ const config = yield* Service60;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin8 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name6,
149
+ action: name8,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin8 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name6,
186
+ name: name8,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input6,
189
+ input: Input8,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin8 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError6({ id: info.id });
208
+ return yield* new NotFoundError8({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name6,
222
+ type: name8,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name6];
252
+ const tool = event.tools[name8];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin8, exports_shell };
263
+ export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin27, exports_shell2 };
@@ -1,144 +1,144 @@
1
1
  import {
2
2
  _20260127222353_familiar_lady_ursula_default
3
- } from "./file-jzg6c2d5.js";
3
+ } from "./tool-jzg6c2d5.js";
4
4
  import {
5
5
  _20260211171708_add_project_commands_default
6
- } from "./file-q3sfg36h.js";
6
+ } from "./tool-q3sfg36h.js";
7
7
  import {
8
8
  _20260213144116_wakeful_the_professor_default
9
- } from "./file-1cnp2v09.js";
9
+ } from "./tool-1cnp2v09.js";
10
10
  import {
11
11
  _20260225215848_workspace_default
12
- } from "./file-rcb2kzg1.js";
12
+ } from "./tool-rcb2kzg1.js";
13
13
  import {
14
14
  _20260227213759_add_session_workspace_id_default
15
- } from "./file-msx8hqn2.js";
15
+ } from "./tool-msx8hqn2.js";
16
16
  import {
17
17
  _20260228203230_blue_harpoon_default
18
- } from "./file-bkyjaxrp.js";
18
+ } from "./tool-bkyjaxrp.js";
19
19
  import {
20
20
  _20260303231226_add_workspace_fields_default
21
- } from "./file-g86h250q.js";
21
+ } from "./tool-g86h250q.js";
22
22
  import {
23
23
  _20260309230000_move_org_to_state_default
24
- } from "./file-jr7sbwjy.js";
24
+ } from "./tool-jr7sbwjy.js";
25
25
  import {
26
26
  _20260312043431_session_message_cursor_default
27
- } from "./file-7m9af43g.js";
27
+ } from "./tool-7m9af43g.js";
28
28
  import {
29
29
  _20260323234822_events_default
30
- } from "./file-j2ntwpah.js";
30
+ } from "./tool-j2ntwpah.js";
31
31
  import {
32
32
  _20260410174513_workspace_name_default
33
- } from "./file-njntx4h6.js";
33
+ } from "./tool-njntx4h6.js";
34
34
  import {
35
35
  _20260413175956_chief_energizer_default
36
- } from "./file-qrg20bc0.js";
36
+ } from "./tool-qrg20bc0.js";
37
37
  import {
38
38
  _20260423070820_add_icon_url_override_default
39
- } from "./file-z9919s4g.js";
39
+ } from "./tool-z9919s4g.js";
40
40
  import {
41
41
  _20260427172553_slow_nightmare_default
42
- } from "./file-43n2bw4t.js";
42
+ } from "./tool-43n2bw4t.js";
43
43
  import {
44
44
  _20260428004200_add_session_path_default
45
- } from "./file-n3j8tn72.js";
45
+ } from "./tool-n3j8tn72.js";
46
46
  import {
47
47
  _20260501142318_next_venus_default
48
- } from "./file-d9jj8t3e.js";
48
+ } from "./tool-d9jj8t3e.js";
49
49
  import {
50
50
  _20260504145000_add_sync_owner_default
51
- } from "./file-fd410y7t.js";
51
+ } from "./tool-fd410y7t.js";
52
52
  import {
53
53
  _20260507164347_add_workspace_time_default
54
- } from "./file-e5kj55wp.js";
54
+ } from "./tool-e5kj55wp.js";
55
55
  import {
56
56
  _20260510033149_session_usage_default
57
- } from "./file-f6n9ztr4.js";
57
+ } from "./tool-f6n9ztr4.js";
58
58
  import {
59
59
  _20260511000411_data_migration_state_default
60
- } from "./file-q74kybfr.js";
60
+ } from "./tool-q74kybfr.js";
61
61
  import {
62
62
  _20260511173437_session_metadata_default
63
- } from "./file-53557ph1.js";
63
+ } from "./tool-53557ph1.js";
64
64
  import {
65
65
  _20260601010001_normalize_storage_paths_default
66
- } from "./file-7akdwqpd.js";
66
+ } from "./tool-7akdwqpd.js";
67
67
  import {
68
68
  _20260601202201_amazing_prowler_default
69
- } from "./file-wer8tq1h.js";
69
+ } from "./tool-wer8tq1h.js";
70
70
  import {
71
71
  _20260602002951_lowly_union_jack_default
72
- } from "./file-wtztk69x.js";
72
+ } from "./tool-wtztk69x.js";
73
73
  import {
74
74
  _20260602182828_add_project_directories_default
75
- } from "./file-ssg3fenm.js";
75
+ } from "./tool-ssg3fenm.js";
76
76
  import {
77
77
  _20260603001617_session_message_projection_indexes_default
78
- } from "./file-2c3vjs8z.js";
78
+ } from "./tool-2c3vjs8z.js";
79
79
  import {
80
80
  _20260603040000_session_message_projection_order_default
81
- } from "./file-17cy0kzp.js";
81
+ } from "./tool-17cy0kzp.js";
82
82
  import {
83
83
  _20260603141458_session_input_inbox_default
84
- } from "./file-hk9envan.js";
84
+ } from "./tool-hk9envan.js";
85
85
  import {
86
86
  _20260603160727_jittery_ezekiel_stane_default
87
- } from "./file-w803qqfp.js";
87
+ } from "./tool-w803qqfp.js";
88
88
  import {
89
89
  _20260604172448_event_sourced_session_input_default
90
- } from "./file-jwfs4k6c.js";
90
+ } from "./tool-jwfs4k6c.js";
91
91
  import {
92
92
  _20260605003541_add_session_context_snapshot_default
93
- } from "./file-mp448xyj.js";
93
+ } from "./tool-mp448xyj.js";
94
94
  import {
95
95
  _20260605042240_add_context_epoch_agent_default
96
- } from "./file-aqzs7mqg.js";
96
+ } from "./tool-aqzs7mqg.js";
97
97
  import {
98
98
  _20260611035744_credential_default
99
- } from "./file-ygaqb7jw.js";
99
+ } from "./tool-ygaqb7jw.js";
100
100
  import {
101
101
  _20260611192811_lush_chimera_default
102
- } from "./file-8n3pysct.js";
102
+ } from "./tool-8n3pysct.js";
103
103
  import {
104
104
  _20260612174303_project_dir_strategy_default
105
- } from "./file-d9fn303g.js";
105
+ } from "./tool-d9fn303g.js";
106
106
  import {
107
107
  _20260622142730_simplify_session_context_epoch_default
108
- } from "./file-cvy3z8tj.js";
108
+ } from "./tool-cvy3z8tj.js";
109
109
  import {
110
110
  _20260622170816_reset_v2_session_state_default
111
- } from "./file-9a4afbnw.js";
111
+ } from "./tool-9a4afbnw.js";
112
112
  import {
113
113
  _20260622202450_simplify_session_input_default
114
- } from "./file-n05xt0ee.js";
114
+ } from "./tool-n05xt0ee.js";
115
115
  import {
116
116
  _20260804233008_loose_psylocke_default
117
- } from "./file-sdp7kfr6.js";
117
+ } from "./tool-sdp7kfr6.js";
118
118
  import {
119
119
  _20260805200742_import_legacy_credentials_default
120
- } from "./file-a6k6eb26.js";
120
+ } from "./tool-a6k6eb26.js";
121
121
  import {
122
122
  _20260808023530_workspace_domain_default
123
- } from "./file-4knz6hnm.js";
123
+ } from "./tool-4knz6hnm.js";
124
124
  import {
125
125
  _20260811161259_execution_claim_attempts_default
126
- } from "./file-df08tz66.js";
126
+ } from "./tool-df08tz66.js";
127
127
  import {
128
128
  _20260812181746_session_inbox_default
129
- } from "./file-bmr6ed5q.js";
129
+ } from "./tool-bmr6ed5q.js";
130
130
  import {
131
131
  _20260812213948_worktree_default
132
- } from "./file-atq7p7m5.js";
132
+ } from "./tool-atq7p7m5.js";
133
133
  import {
134
134
  _20260819222447_session_viewed_state_default
135
- } from "./file-qb87gjwd.js";
135
+ } from "./tool-qb87gjwd.js";
136
136
  import {
137
137
  _20260823191254_nullable_workspace_binding_default
138
- } from "./file-359p4xyc.js";
138
+ } from "./tool-359p4xyc.js";
139
139
  import {
140
140
  _20260910120000_clear_v1_session_permission_default
141
- } from "./file-y8f7s663.js";
141
+ } from "./tool-y8f7s663.js";
142
142
 
143
143
  // src/database/migration.gen.ts
144
144
  var migrations2 = [
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service50
3
- } from "./file-hq8zt1th.js";
2
+ Service43
3
+ } from "./tool-ve6nm2s5.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./file-qc068m1q.js";
6
+ } from "./tool-9sh4wc5j.js";
7
7
  import {
8
- Service39
9
- } from "./file-vanydjgv.js";
8
+ Service55
9
+ } from "./tool-66yyaz7c.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./file-fxbjtjnd.js";
12
+ } from "./tool-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./file-9rqn6x4v.js";
15
+ } from "./tool-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service50;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
25
+ const instances = yield* Service43;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service55), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./file-pmh6tya1.js";
4
+ } from "./tool-40tbggcp.js";
5
5
 
6
6
  // src/plugin/provider/nvidia.ts
7
7
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./file-qfa1cgps.js";
3
+ } from "./tool-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";