@opencode/core 0.0.0-dev-19961 → 0.0.0-dev-19963

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{tool-6htwetdg.js → git-00gra85v.js} +13 -13
  8. package/dist/chunks/{tool-6713kt06.js → git-02pmypxa.js} +29 -29
  9. package/dist/chunks/{tool-nt5fy3c2.js → git-05qtraqy.js} +7 -7
  10. package/dist/chunks/{tool-06dxphr1.js → git-06dxphr1.js} +1 -1
  11. package/dist/chunks/{tool-pc244188.js → git-0bgz29s9.js} +4 -4
  12. package/dist/chunks/{tool-207vtrn6.js → git-0cbp42yf.js} +1 -1
  13. package/dist/chunks/{tool-crjg2n55.js → git-0k83jycd.js} +307 -307
  14. package/dist/chunks/{tool-0paq2nw3.js → git-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{tool-x38yyj79.js → git-0pwrfd95.js} +16 -16
  16. package/dist/chunks/{tool-0q0f95c6.js → git-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{tool-mb7h37gf.js → git-10z2cff9.js} +17 -17
  18. package/dist/chunks/{tool-ayj8hn2b.js → git-1460jzd9.js} +9 -9
  19. package/dist/chunks/{tool-xq2w2bqm.js → git-1bzc8wjz.js} +4 -4
  20. package/dist/chunks/{tool-1dazxqgg.js → git-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{tool-pd7bzezz.js → git-1sjzhdj3.js} +14 -14
  22. package/dist/chunks/git-1tm0r3ht.js +4 -0
  23. package/dist/chunks/{tool-yrcva06b.js → git-1vqc4ctf.js} +44 -44
  24. package/dist/chunks/{tool-56gdpj1q.js → git-1ygqh575.js} +9 -9
  25. package/dist/chunks/{tool-b92hwcrq.js → git-21pvqfky.js} +24 -24
  26. package/dist/chunks/{tool-21r38tys.js → git-21r38tys.js} +1 -1
  27. package/dist/chunks/{tool-2402vzrj.js → git-2402vzrj.js} +1 -1
  28. package/dist/chunks/{tool-xgamz1br.js → git-286es1k3.js} +7 -7
  29. package/dist/chunks/{tool-2a5m3afh.js → git-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{tool-kc4njv9x.js → git-2ajybb6k.js} +1 -1
  31. package/dist/chunks/{tool-4xbskmpe.js → git-2f0bjgcj.js} +5 -5
  32. package/dist/chunks/{tool-anarwj6h.js → git-2hwxdyne.js} +8 -8
  33. package/dist/chunks/{tool-p8jkva87.js → git-2j90fwmk.js} +7 -7
  34. package/dist/chunks/{tool-96gp88bm.js → git-2jrkyvhw.js} +24 -24
  35. package/dist/chunks/{tool-kkp8zx71.js → git-2k71kv7p.js} +4 -4
  36. package/dist/chunks/{tool-0mw5jzcs.js → git-2n10f9nc.js} +3 -3
  37. package/dist/chunks/{tool-6tty3e9h.js → git-2syg74rg.js} +4 -4
  38. package/dist/chunks/{tool-62297ddh.js → git-2wb8zz4b.js} +20 -20
  39. package/dist/chunks/{tool-8d78w7dx.js → git-2x6hqw9v.js} +6 -6
  40. package/dist/chunks/{tool-pe8d6tfn.js → git-2ye5xzh0.js} +16 -16
  41. package/dist/chunks/{tool-qxdz2nh0.js → git-35ht377h.js} +25 -25
  42. package/dist/chunks/{tool-1nxe83bq.js → git-395shjnb.js} +7 -7
  43. package/dist/chunks/{tool-0h7zqhk1.js → git-3eyza1hw.js} +13 -13
  44. package/dist/chunks/{tool-3fc6dm20.js → git-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{tool-223h8e4b.js → git-3g6bmfcx.js} +22 -22
  46. package/dist/chunks/{tool-952y256t.js → git-3gwfj97d.js} +13 -13
  47. package/dist/chunks/{tool-3hepkmqq.js → git-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{tool-fadk8h2y.js → git-3qrd9h0m.js} +11 -11
  49. package/dist/chunks/{tool-3smtnn6g.js → git-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{tool-3tvqynh2.js → git-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{tool-4mw75b8e.js → git-408t61km.js} +13 -13
  52. package/dist/chunks/{tool-f17sp9w8.js → git-41jetqzf.js} +33 -33
  53. package/dist/chunks/{tool-knb7evpn.js → git-44ke2mar.js} +2 -2
  54. package/dist/chunks/{tool-6khsxrsf.js → git-49p20qv9.js} +4 -4
  55. package/dist/chunks/{tool-9kw8973d.js → git-4arb9zza.js} +8 -8
  56. package/dist/chunks/{tool-wfrx59p8.js → git-4dc88x86.js} +1 -1
  57. package/dist/chunks/{tool-3cwbe53h.js → git-4hbtcwyf.js} +31 -31
  58. package/dist/chunks/{tool-cxpv6f5j.js → git-4nvcxvz7.js} +10 -10
  59. package/dist/chunks/{tool-533n7pr6.js → git-4snk6ghz.js} +8 -8
  60. package/dist/chunks/{tool-9dnsb0hw.js → git-4tvf6cka.js} +18 -18
  61. package/dist/chunks/{tool-mb4e1d4e.js → git-4ykpj415.js} +12 -12
  62. package/dist/chunks/{tool-483vxbq6.js → git-50pgn4y4.js} +6 -6
  63. package/dist/chunks/{tool-9zzv5pgc.js → git-510m7gjw.js} +5 -5
  64. package/dist/chunks/{tool-h10s6dah.js → git-56m60q16.js} +8 -8
  65. package/dist/chunks/{tool-d9s573fh.js → git-57ez7d0k.js} +2 -2
  66. package/dist/chunks/{tool-rtjdhp7j.js → git-58bbchv8.js} +10 -10
  67. package/dist/chunks/{tool-227eqkj4.js → git-5a98hshb.js} +31 -31
  68. package/dist/chunks/{tool-5c4hm403.js → git-5c4hm403.js} +3 -3
  69. package/dist/chunks/{tool-vx3ypjf6.js → git-5ccchpgh.js} +24 -24
  70. package/dist/chunks/{tool-5daktx2q.js → git-5daktx2q.js} +1 -1
  71. package/dist/chunks/{tool-wnzj6q9c.js → git-5heajm94.js} +8 -8
  72. package/dist/chunks/{tool-dns740p1.js → git-5myv2p8d.js} +8 -8
  73. package/dist/chunks/{tool-5t3nmthw.js → git-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{tool-jkhbgvt8.js → git-5v69qryj.js} +15 -15
  75. package/dist/chunks/{tool-g1a4gtq5.js → git-635s8sdc.js} +23 -23
  76. package/dist/chunks/{tool-669tq793.js → git-669tq793.js} +1 -1
  77. package/dist/chunks/{tool-5npp0aqe.js → git-68y7phbn.js} +5 -5
  78. package/dist/chunks/{tool-j15mfg1p.js → git-6ersrjne.js} +4 -4
  79. package/dist/chunks/{tool-6msgmcgs.js → git-6msgmcgs.js} +1 -1
  80. package/dist/chunks/{tool-0qsq8avf.js → git-6nkqx3gn.js} +18 -18
  81. package/dist/chunks/{tool-n9asgjfy.js → git-6y16pf8d.js} +40 -40
  82. package/dist/chunks/{tool-mvfsc1pv.js → git-73tb2d7t.js} +3 -3
  83. package/dist/chunks/{tool-js4h49s3.js → git-7abb9s9f.js} +31 -31
  84. package/dist/chunks/{tool-evq6r5pz.js → git-7ac170kv.js} +4 -4
  85. package/dist/chunks/{tool-7bmhse3q.js → git-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{tool-dtz9s4b3.js → git-7bpzgkas.js} +6 -6
  87. package/dist/chunks/{tool-bqm56rap.js → git-7d76vwge.js} +18 -18
  88. package/dist/chunks/{tool-2k8khapm.js → git-7dqw4kz8.js} +5 -5
  89. package/dist/chunks/{tool-k9gc50dd.js → git-7vpk8sc3.js} +3 -3
  90. package/dist/chunks/{tool-9mp97stb.js → git-7yze2c8e.js} +8 -8
  91. package/dist/chunks/{tool-ggvw6grp.js → git-84wb89t3.js} +25 -25
  92. package/dist/chunks/{tool-4969znen.js → git-8b8nab4q.js} +12 -12
  93. package/dist/chunks/{tool-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{tool-sbnjvcyv.js → git-8gcb4b4w.js} +10 -10
  95. package/dist/chunks/git-8mkkfjr9.js +26 -0
  96. package/dist/chunks/{tool-fyjp43ss.js → git-8ryk0bb9.js} +5 -5
  97. package/dist/chunks/{tool-j020r4b8.js → git-8wk75bfx.js} +21 -21
  98. package/dist/chunks/{tool-mbdx9w3r.js → git-8yy6x47x.js} +12 -12
  99. package/dist/chunks/{tool-qmh3qcq0.js → git-9f7rj4wk.js} +17 -17
  100. package/dist/chunks/{tool-zf1tr6ve.js → git-9n8tprqg.js} +3 -3
  101. package/dist/chunks/git-9sh4wc5j.js +18 -0
  102. package/dist/chunks/{tool-s5zt3m1z.js → git-9t1rambg.js} +10 -10
  103. package/dist/chunks/{tool-ms8h2pfd.js → git-a4gew60h.js} +21 -21
  104. package/dist/chunks/{tool-ty38hkz0.js → git-a85400sx.js} +17 -17
  105. package/dist/chunks/{tool-aaet6srn.js → git-aaet6srn.js} +2 -2
  106. package/dist/chunks/{tool-0dzbpygc.js → git-abkadxp6.js} +16 -16
  107. package/dist/chunks/{tool-7mmmgkzb.js → git-ac6wgtzc.js} +21 -21
  108. package/dist/chunks/{tool-73kdj4zj.js → git-at1kfnmk.js} +8 -8
  109. package/dist/chunks/{tool-bv9vpxf1.js → git-ayjh3rzp.js} +15 -15
  110. package/dist/chunks/{tool-9g3bpc12.js → git-aykj8f11.js} +22 -22
  111. package/dist/chunks/{tool-q7r7q8jv.js → git-az72c4w6.js} +32 -32
  112. package/dist/chunks/{tool-nqxt4fmg.js → git-b43x2tjx.js} +8 -8
  113. package/dist/chunks/{tool-mjanay65.js → git-b64x26df.js} +26 -26
  114. package/dist/chunks/{tool-b6gygkdw.js → git-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{tool-wcbhsh5x.js → git-brkskmey.js} +6 -6
  116. package/dist/chunks/{tool-r9w3djhf.js → git-bydnjh3t.js} +9 -9
  117. package/dist/chunks/{tool-bz85s9hh.js → git-bz85s9hh.js} +1 -1
  118. package/dist/chunks/{tool-79qaa2kf.js → git-c765mh8b.js} +9 -9
  119. package/dist/chunks/{tool-arm62n8x.js → git-c87apehh.js} +37 -37
  120. package/dist/chunks/{tool-px76j0pk.js → git-c8jj867k.js} +9 -9
  121. package/dist/chunks/{tool-rb4bj52x.js → git-cb4m6qbq.js} +9 -9
  122. package/dist/chunks/{tool-2d46v4jb.js → git-ccqtsjcf.js} +4 -4
  123. package/dist/chunks/{tool-eys57y9b.js → git-cmwkp3r5.js} +8 -8
  124. package/dist/chunks/{tool-tp36e26b.js → git-cp64kxg5.js} +21 -21
  125. package/dist/chunks/{tool-yqjvyrkg.js → git-cwhqb0pk.js} +5 -5
  126. package/dist/chunks/{tool-92gxwggs.js → git-cxp53ypn.js} +20 -20
  127. package/dist/chunks/{tool-27v469nr.js → git-daw445tw.js} +11 -11
  128. package/dist/chunks/{tool-dj2t23y0.js → git-dj2t23y0.js} +2 -2
  129. package/dist/chunks/{tool-gwcbygb9.js → git-dkfy5fvc.js} +11 -11
  130. package/dist/chunks/{tool-w0by17jr.js → git-dmp6f7nw.js} +23 -23
  131. package/dist/chunks/{tool-dpkg50ah.js → git-dpkg50ah.js} +1 -1
  132. package/dist/chunks/{tool-zfn6rd9c.js → git-dxbnpv2d.js} +3 -3
  133. package/dist/chunks/{tool-26aezvr0.js → git-e60ey3ft.js} +2 -2
  134. package/dist/chunks/{tool-ef5x83kb.js → git-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{tool-as54p17p.js → git-en150vp6.js} +34 -34
  136. package/dist/chunks/{tool-erw5rpbs.js → git-erw5rpbs.js} +2 -2
  137. package/dist/chunks/{tool-etq0c3wd.js → git-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{tool-hs2gas49.js → git-ex3p6n8c.js} +11 -11
  139. package/dist/chunks/{tool-d1nag333.js → git-eyz1zzrw.js} +18 -18
  140. package/dist/chunks/{tool-m3k2zkjm.js → git-f7vnzrbx.js} +8 -8
  141. package/dist/chunks/{tool-96y5k2e2.js → git-f8w6kc2m.js} +43 -43
  142. package/dist/chunks/{tool-0ryd0fps.js → git-fhz5gfgy.js} +5 -5
  143. package/dist/chunks/git-fqy4gber.js +252 -0
  144. package/dist/chunks/{tool-2hsfmsjg.js → git-ftqhemdh.js} +15 -15
  145. package/dist/chunks/{tool-9zrmz628.js → git-fvcdj7wb.js} +8 -8
  146. package/dist/chunks/{tool-kkzze73x.js → git-fve8wnjz.js} +9 -9
  147. package/dist/chunks/{tool-fxbjtjnd.js → git-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{tool-cavr175a.js → git-g190xswt.js} +4 -4
  149. package/dist/chunks/{tool-2qez6wf9.js → git-g923tb5w.js} +13 -13
  150. package/dist/chunks/{tool-gd4qta3r.js → git-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{tool-p7g6sxqe.js → git-ged09db7.js} +26 -26
  152. package/dist/chunks/{tool-v199xdse.js → git-ghmv28rk.js} +13 -13
  153. package/dist/chunks/{tool-h04cqsq0.js → git-gn2hfjap.js} +8 -8
  154. package/dist/chunks/{tool-ne9ed71s.js → git-gn6qf5g4.js} +4 -4
  155. package/dist/chunks/{tool-ah7j68gv.js → git-gq6j0wd7.js} +5 -5
  156. package/dist/chunks/{tool-yyb7tjpc.js → git-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{tool-se013gpv.js → git-h1bdwc5p.js} +6 -6
  158. package/dist/chunks/{tool-pnbm2g53.js → git-h46291mb.js} +32 -32
  159. package/dist/chunks/{tool-h6r3nrb9.js → git-h6r3nrb9.js} +1 -1
  160. package/dist/chunks/{tool-h6vf3j39.js → git-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{tool-hdnk95c8.js → git-hdnk95c8.js} +2 -2
  162. package/dist/chunks/{tool-tr36y7yy.js → git-hsmp49ac.js} +14 -14
  163. package/dist/chunks/{tool-6nfxmhqk.js → git-hx36sbmw.js} +5 -5
  164. package/dist/chunks/{tool-8j0g64bg.js → git-j3abd7zq.js} +22 -22
  165. package/dist/chunks/{tool-j56e64zr.js → git-j56e64zr.js} +1 -1
  166. package/dist/chunks/{tool-751d8h98.js → git-j7ym9e45.js} +6 -6
  167. package/dist/chunks/{tool-2c24r6b8.js → git-j8f2qs6h.js} +11 -11
  168. package/dist/chunks/{tool-qwvthsc1.js → git-jaeq979q.js} +9 -9
  169. package/dist/chunks/{tool-7ykgbnpc.js → git-jfp1bkdw.js} +3 -3
  170. package/dist/chunks/{tool-zjy3ah92.js → git-jp53m4qq.js} +2 -2
  171. package/dist/chunks/{tool-sa82vsrh.js → git-jphtr8zc.js} +13 -13
  172. package/dist/chunks/{tool-ch0wdc2q.js → git-jqbgwaya.js} +18 -18
  173. package/dist/chunks/{tool-kwy905ev.js → git-k1khj4z2.js} +13 -13
  174. package/dist/chunks/{tool-w0exn9qd.js → git-k242wpsy.js} +26 -26
  175. package/dist/chunks/{tool-k3c624dm.js → git-k3c624dm.js} +3 -3
  176. package/dist/chunks/{tool-k9avtbwf.js → git-k9avtbwf.js} +3 -3
  177. package/dist/chunks/{tool-xqsp1avr.js → git-k9mgd1ps.js} +10 -10
  178. package/dist/chunks/{tool-6yj6tbhz.js → git-ka2w09r2.js} +9 -9
  179. package/dist/chunks/{tool-a771gyms.js → git-kgpepejr.js} +11 -11
  180. package/dist/chunks/{tool-7jqfrm98.js → git-kkrawjrh.js} +6 -6
  181. package/dist/chunks/{tool-8ehm0xb8.js → git-kz5tm6dy.js} +76 -76
  182. package/dist/chunks/{tool-m0jqrx5p.js → git-m0jqrx5p.js} +2 -2
  183. package/dist/chunks/{tool-m3fdjcah.js → git-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{tool-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{tool-6zd6bfsr.js → git-mdf2c320.js} +6 -6
  186. package/dist/chunks/{tool-bqszwq89.js → git-mg83pbjr.js} +8 -8
  187. package/dist/chunks/{tool-wt8p9awf.js → git-mgg80ybm.js} +24 -24
  188. package/dist/chunks/{tool-gns1g86j.js → git-mjsf35yc.js} +24 -24
  189. package/dist/chunks/{tool-p2vw6waa.js → git-mmbz82p6.js} +1 -1
  190. package/dist/chunks/{tool-jzcaxwhd.js → git-mqnxk84h.js} +7 -7
  191. package/dist/chunks/{tool-cb9s9s15.js → git-msknr91p.js} +21 -21
  192. package/dist/chunks/{tool-p2tjmvvm.js → git-my2v1wkz.js} +14 -14
  193. package/dist/chunks/{tool-et1rwp1c.js → git-mz31q2z2.js} +9 -9
  194. package/dist/chunks/{tool-dhj1bndq.js → git-n42cx0ab.js} +25 -25
  195. package/dist/chunks/{tool-jyyhzxje.js → git-n852fwdt.js} +11 -11
  196. package/dist/chunks/{tool-hkx1eav1.js → git-nfmeaax4.js} +15 -15
  197. package/dist/chunks/{tool-k0ageqhp.js → git-njppd0qb.js} +2 -2
  198. package/dist/chunks/{tool-rcs6zvep.js → git-nkbrxe8d.js} +136 -136
  199. package/dist/chunks/{tool-pz9ad17p.js → git-nmkrx1ap.js} +3 -3
  200. package/dist/chunks/{tool-nng2ktcm.js → git-nng2ktcm.js} +2 -2
  201. package/dist/chunks/{tool-8tz9mcp0.js → git-nq7qbqzc.js} +9 -9
  202. package/dist/chunks/{tool-v2a3veg8.js → git-nx1dzctz.js} +11 -11
  203. package/dist/chunks/{tool-shtf6z8w.js → git-nyxjpem3.js} +5 -5
  204. package/dist/chunks/{tool-ybw5q8sx.js → git-p1nmgx0b.js} +1 -1
  205. package/dist/chunks/{tool-p28j5sbe.js → git-p28j5sbe.js} +2 -2
  206. package/dist/chunks/{tool-bx4qmb9g.js → git-p44d8wdy.js} +5 -5
  207. package/dist/chunks/{tool-kkye0g1c.js → git-pb8ht8km.js} +27 -27
  208. package/dist/chunks/{tool-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{tool-pknna89w.js → git-pknna89w.js} +1 -1
  210. package/dist/chunks/{tool-r9ezg2qv.js → git-pngkqepv.js} +19 -19
  211. package/dist/chunks/{tool-7kshtdzt.js → git-pnss60ng.js} +9 -9
  212. package/dist/chunks/{tool-9erckna5.js → git-pq1c5pk5.js} +7 -7
  213. package/dist/chunks/{tool-cvqzmya4.js → git-q7x0kbq5.js} +27 -27
  214. package/dist/chunks/{tool-ag7x3tep.js → git-qfrmsbny.js} +15 -15
  215. package/dist/chunks/{tool-wrcedmy5.js → git-qj5rmx2e.js} +10 -10
  216. package/dist/chunks/{tool-j2m1k0mf.js → git-qpexc320.js} +3 -3
  217. package/dist/chunks/{tool-qsdy395h.js → git-qsdy395h.js} +1 -1
  218. package/dist/chunks/{tool-tvdq5ra2.js → git-qyx9bk35.js} +27 -27
  219. package/dist/chunks/{tool-c14p3nf7.js → git-r3grwxg7.js} +33 -33
  220. package/dist/chunks/{tool-cf04bqj1.js → git-r46ddqt3.js} +4 -4
  221. package/dist/chunks/{tool-dcrzta4z.js → git-r69czbxd.js} +2 -2
  222. package/dist/chunks/{tool-953ef62m.js → git-r6gr5y5e.js} +11 -11
  223. package/dist/chunks/{tool-356sz14e.js → git-r81nh1e1.js} +23 -23
  224. package/dist/chunks/{tool-r8xr0va3.js → git-r8xr0va3.js} +1 -1
  225. package/dist/chunks/{tool-t9zs3egg.js → git-r98e92ep.js} +4 -4
  226. package/dist/chunks/{tool-v5dkyp31.js → git-ratrq7cm.js} +4 -4
  227. package/dist/chunks/{tool-rdw6cm16.js → git-rdw6cm16.js} +1 -1
  228. package/dist/chunks/{tool-f3yhmzb7.js → git-rh3sb4f2.js} +10 -10
  229. package/dist/chunks/{tool-5zc6skgb.js → git-rsz70btv.js} +12 -12
  230. package/dist/chunks/{tool-nstzyrqb.js → git-s2k58n27.js} +24 -24
  231. package/dist/chunks/{tool-rhjbct0v.js → git-s8d7rejh.js} +4 -4
  232. package/dist/chunks/{tool-a6h4rwtp.js → git-s8d8d7b9.js} +19 -19
  233. package/dist/chunks/{tool-hjj1jfge.js → git-s98dxwan.js} +11 -11
  234. package/dist/chunks/{tool-q65dfppr.js → git-segwbde7.js} +30 -30
  235. package/dist/chunks/{tool-g49j1kpf.js → git-sg1xppj0.js} +19 -19
  236. package/dist/chunks/{tool-h6jr292a.js → git-shh6fz4q.js} +4 -4
  237. package/dist/chunks/{tool-63ppx069.js → git-svc4hy3t.js} +14 -14
  238. package/dist/chunks/{tool-2q12e7yc.js → git-svg3w2h1.js} +1 -1
  239. package/dist/chunks/{tool-8qdtywy4.js → git-t9st246x.js} +47 -47
  240. package/dist/chunks/{tool-tazgh4e4.js → git-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{tool-rs2j7e68.js → git-tbp5s86q.js} +43 -43
  242. package/dist/chunks/{tool-tcezcvh9.js → git-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{tool-tdstcens.js → git-tdstcens.js} +1 -1
  244. package/dist/chunks/{tool-gk46542b.js → git-tn9zx3br.js} +9 -9
  245. package/dist/chunks/{tool-tvtrv512.js → git-tvtrv512.js} +1 -1
  246. package/dist/chunks/{tool-p8gjgk5f.js → git-vb0vr72z.js} +20 -20
  247. package/dist/chunks/{tool-052jad2t.js → git-vbw67av1.js} +46 -46
  248. package/dist/chunks/{tool-veqvce7d.js → git-veqvce7d.js} +1 -1
  249. package/dist/chunks/{tool-jcqz283k.js → git-vesgbrs2.js} +25 -25
  250. package/dist/chunks/{tool-fwrss4ad.js → git-vr2vg3zy.js} +4 -4
  251. package/dist/chunks/{tool-w2zggh9c.js → git-vrq08rdj.js} +31 -31
  252. package/dist/chunks/{tool-p8bq92d1.js → git-vtyyf370.js} +33 -33
  253. package/dist/chunks/{tool-10jtetaj.js → git-vyqn3nqs.js} +4 -4
  254. package/dist/chunks/{tool-9df2h92x.js → git-vytnvtsp.js} +39 -39
  255. package/dist/chunks/{tool-vzcthcp8.js → git-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{tool-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{tool-ncb7wxzt.js → git-w8j3tndx.js} +8 -8
  258. package/dist/chunks/{tool-xhfakj7b.js → git-way2fyha.js} +18 -18
  259. package/dist/chunks/{tool-wd87259q.js → git-wd87259q.js} +1 -1
  260. package/dist/chunks/{tool-qvmr90x2.js → git-wp1gq5nr.js} +15 -15
  261. package/dist/chunks/{tool-wm0tnrwj.js → git-wrpan8g3.js} +3 -3
  262. package/dist/chunks/{tool-qz02d4gv.js → git-wsb67xeh.js} +11 -11
  263. package/dist/chunks/{tool-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{tool-drwq78ky.js → git-xfkkasph.js} +4 -4
  265. package/dist/chunks/{tool-t1835t6e.js → git-xmng7kkz.js} +22 -22
  266. package/dist/chunks/{tool-69tq260k.js → git-xnmnj1k6.js} +4 -4
  267. package/dist/chunks/{tool-egh78b95.js → git-xpdbz8gv.js} +69 -69
  268. package/dist/chunks/{tool-tkg6e3eb.js → git-xwrsj031.js} +2 -2
  269. package/dist/chunks/{tool-h2xwsekh.js → git-xyst5azx.js} +20 -20
  270. package/dist/chunks/{tool-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{tool-mpqms32c.js → git-y1jyhyv0.js} +86 -86
  272. package/dist/chunks/{tool-fp9zptb1.js → git-y1r3txym.js} +42 -42
  273. package/dist/chunks/{tool-aeh0dgne.js → git-y31p2zpt.js} +5 -5
  274. package/dist/chunks/{tool-321x2wtd.js → git-ycjb11n5.js} +4 -4
  275. package/dist/chunks/{tool-8b47r7w2.js → git-ygdsm0w5.js} +11 -11
  276. package/dist/chunks/{tool-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{tool-yrznvahk.js → git-yrznvahk.js} +2 -2
  278. package/dist/chunks/{tool-n36tynep.js → git-ys00f8er.js} +10 -10
  279. package/dist/chunks/{tool-5yk85840.js → git-yvhxgmze.js} +20 -20
  280. package/dist/chunks/{tool-kzb7j8ba.js → git-yvye40cq.js} +10 -10
  281. package/dist/chunks/{tool-pyd82k98.js → git-yx0t6q4x.js} +3 -3
  282. package/dist/chunks/{tool-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{tool-btasn2qa.js → git-z1j1f49y.js} +3 -3
  284. package/dist/chunks/{tool-z63w68vq.js → git-z63w68vq.js} +2 -2
  285. package/dist/chunks/{tool-afdssyjb.js → git-zee1rnkq.js} +4 -4
  286. package/dist/chunks/{tool-rq775frq.js → git-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{tool-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{tool-zxq2ej10.js → git-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{tool-5e9skgpm.js → git-zy4qa08p.js} +17 -17
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +82 -82
  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 +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  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 +131 -131
  308. package/dist/config/plugin/policy.js +123 -123
  309. package/dist/config/plugin/provider.js +122 -122
  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 +141 -141
  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 +122 -122
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +124 -124
  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 +72 -72
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +1 -1
  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 +222 -222
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +103 -103
  429. package/dist/form.js +69 -69
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +102 -102
  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 +3 -3
  457. package/dist/instance.js +358 -358
  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 +1 -1
  462. package/dist/integration.js +75 -75
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +357 -357
  471. package/dist/location.js +80 -80
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +107 -107
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +74 -74
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +98 -98
  480. package/dist/model-resolver.js +95 -95
  481. package/dist/model.js +97 -97
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +81 -81
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +104 -104
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +87 -87
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +103 -103
  493. package/dist/plugin/command.js +100 -100
  494. package/dist/plugin/compaction.js +132 -132
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +331 -331
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +91 -91
  527. package/dist/plugin/provider/opencode.js +93 -93
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +159 -159
  541. package/dist/plugin/sdk.js +73 -73
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +140 -140
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +350 -350
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +224 -224
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +79 -79
  562. package/dist/provider.js +88 -88
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +220 -220
  583. package/dist/session/execution.js +123 -123
  584. package/dist/session/generate.js +150 -150
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +85 -85
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +92 -92
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +1 -1
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +1 -1
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +207 -207
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +211 -211
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +213 -213
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +9 -9
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +109 -109
  632. package/dist/snapshot.js +90 -90
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +100 -100
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +216 -216
  646. package/dist/tool/plugin/skill.js +106 -106
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +111 -111
  649. package/dist/tool/plugin/websearch.js +113 -113
  650. package/dist/tool/plugin/write.js +119 -119
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +3 -3
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +3 -3
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +81 -81
  685. package/dist/wellknown/plugin.js +73 -73
  686. package/dist/wellknown.js +76 -76
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +79 -79
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +97 -97
  695. package/package.json +8 -8
  696. package/dist/chunks/tool-1ck0eb67.js +0 -252
  697. package/dist/chunks/tool-70jsskm8.js +0 -18
  698. package/dist/chunks/tool-kt46ze3v.js +0 -26
  699. package/dist/chunks/tool-qapv375x.js +0 -4
  700. /package/dist/chunks/{tool-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{tool-0zkw76rk.js → git-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{tool-17cy0kzp.js → git-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{tool-1cnp2v09.js → git-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{tool-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{tool-24dcb14g.js → git-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{tool-2710q6r3.js → git-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{tool-2axfhc9x.js → git-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{tool-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{tool-359p4xyc.js → git-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{tool-3asan66x.js → git-3asan66x.js} +0 -0
  711. /package/dist/chunks/{tool-3v8g72cx.js → git-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{tool-3w5fmr99.js → git-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{tool-3wcehsnq.js → git-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{tool-43n2bw4t.js → git-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{tool-4knz6hnm.js → git-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{tool-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{tool-4y7fprxs.js → git-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{tool-53557ph1.js → git-53557ph1.js} +0 -0
  719. /package/dist/chunks/{tool-550bvhaj.js → git-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{tool-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{tool-6prwharc.js → git-6prwharc.js} +0 -0
  722. /package/dist/chunks/{tool-7akdwqpd.js → git-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{tool-7m9af43g.js → git-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{tool-7w99qc9d.js → git-7w99qc9d.js} +0 -0
  725. /package/dist/chunks/{tool-822emrt2.js → git-822emrt2.js} +0 -0
  726. /package/dist/chunks/{tool-88xbtdfr.js → git-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{tool-8n3pysct.js → git-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{tool-922hggd3.js → git-922hggd3.js} +0 -0
  729. /package/dist/chunks/{tool-9a4afbnw.js → git-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{tool-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{tool-a6k6eb26.js → git-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{tool-af5trqkr.js → git-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{tool-afrmfg78.js → git-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{tool-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{tool-atq7p7m5.js → git-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{tool-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{tool-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{tool-cf4snx6d.js → git-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{tool-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{tool-d9fn303g.js → git-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{tool-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{tool-dajrwvna.js → git-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{tool-dap0rakb.js → git-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{tool-df08tz66.js → git-df08tz66.js} +0 -0
  745. /package/dist/chunks/{tool-dy18nga0.js → git-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{tool-e5kj55wp.js → git-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{tool-e73j6tqm.js → git-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{tool-ec1grn59.js → git-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{tool-eh3zwz77.js → git-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{tool-emrn6kk6.js → git-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{tool-f0mxakyp.js → git-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{tool-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{tool-faypxj3z.js → git-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{tool-fd410y7t.js → git-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{tool-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{tool-g4wezp1m.js → git-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{tool-g86h250q.js → git-g86h250q.js} +0 -0
  758. /package/dist/chunks/{tool-gebd4c9n.js → git-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{tool-gftt206x.js → git-gftt206x.js} +0 -0
  760. /package/dist/chunks/{tool-hjbc5kem.js → git-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{tool-hk9envan.js → git-hk9envan.js} +0 -0
  762. /package/dist/chunks/{tool-j2ntwpah.js → git-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{tool-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{tool-jjkms2e6.js → git-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{tool-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{tool-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{tool-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{tool-mp448xyj.js → git-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{tool-msx8hqn2.js → git-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{tool-n05xt0ee.js → git-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{tool-n3j8tn72.js → git-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{tool-njntx4h6.js → git-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{tool-q3sfg36h.js → git-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{tool-q74kybfr.js → git-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{tool-qaymkmh1.js → git-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{tool-qb87gjwd.js → git-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{tool-qfa1cgps.js → git-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{tool-qg3g05ea.js → git-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{tool-qrg20bc0.js → git-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{tool-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{tool-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{tool-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{tool-ssg3fenm.js → git-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{tool-twg0f83k.js → git-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{tool-w803qqfp.js → git-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{tool-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{tool-wer8tq1h.js → git-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{tool-wtztk69x.js → git-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{tool-x0ckcb58.js → git-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{tool-x61499pn.js → git-x61499pn.js} +0 -0
  791. /package/dist/chunks/{tool-y44na4kk.js → git-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{tool-y8cydn3q.js → git-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{tool-y8f7s663.js → git-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{tool-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{tool-ym463w8f.js → git-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{tool-z9919s4g.js → git-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./tool-922hggd3.js";
3
+ } from "./git-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service47
7
- } from "./tool-c14p3nf7.js";
6
+ Service54
7
+ } from "./git-r3grwxg7.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./tool-2a5m3afh.js";
10
+ } from "./git-2a5m3afh.js";
11
11
  import {
12
- Service73
13
- } from "./tool-7mmmgkzb.js";
14
- import {
15
- Service63
16
- } from "./tool-5e9skgpm.js";
12
+ Service49
13
+ } from "./git-ac6wgtzc.js";
17
14
  import {
18
15
  Service64
19
- } from "./tool-n9asgjfy.js";
16
+ } from "./git-zy4qa08p.js";
17
+ import {
18
+ Service70
19
+ } from "./git-6y16pf8d.js";
20
20
  import {
21
- Service40,
21
+ Service69,
22
22
  resolvePath2
23
- } from "./tool-2hsfmsjg.js";
23
+ } from "./git-ftqhemdh.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./tool-fxbjtjnd.js";
29
+ } from "./git-fxbjtjnd.js";
30
30
  import {
31
- Service53,
31
+ Service58,
32
32
  name15
33
- } from "./tool-4mw75b8e.js";
33
+ } from "./git-408t61km.js";
34
34
  import {
35
- NotFoundError3,
36
- Service28
37
- } from "./tool-rs2j7e68.js";
35
+ NotFoundError5,
36
+ Service40
37
+ } from "./git-tbp5s86q.js";
38
38
  import {
39
- Service13
40
- } from "./tool-8ehm0xb8.js";
39
+ Service26
40
+ } from "./git-kz5tm6dy.js";
41
41
  import {
42
42
  scan2
43
- } from "./tool-6tty3e9h.js";
43
+ } from "./git-2syg74rg.js";
44
44
  import {
45
45
  __export
46
- } from "./tool-9rqn6x4v.js";
46
+ } from "./git-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: () => Input7,
53
- Plugin: () => Plugin9,
54
- ShellTool: () => exports_shell,
55
- name: () => name7
52
+ Input: () => Input6,
53
+ Plugin: () => Plugin42,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name6
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name7 = "shell";
59
+ var name6 = "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 Input7 = Schema.Struct({
73
+ var Input6 = 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 Plugin9 = {
118
+ var Plugin42 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service13;
122
- const jobs = yield* Service63;
121
+ const sessions = yield* Service26;
122
+ const jobs = yield* Service64;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service73;
125
- const access = yield* Service40;
126
- const shell = yield* Service28;
127
- const shellSelect = yield* Service53;
124
+ const environment = yield* Service49;
125
+ const access = yield* Service69;
126
+ const shell = yield* Service40;
127
+ const shellSelect = yield* Service58;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service64;
130
- const config = yield* Service47;
129
+ const permission = yield* Service70;
130
+ const config = yield* Service54;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin9 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name7,
149
+ action: name6,
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 Plugin9 = {
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: name7,
186
+ name: name6,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input7,
189
+ input: Input6,
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 Plugin9 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError3({ id: info.id });
208
+ return yield* new NotFoundError5({ 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: name7,
222
+ type: name6,
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[name7];
252
+ const tool = event.tools[name6];
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 { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin9, exports_shell };
263
+ export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin42, exports_shell2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./tool-ym463w8f.js";
3
+ } from "./git-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./tool-922hggd3.js";
3
+ } from "./git-922hggd3.js";
4
4
  import {
5
5
  Service80,
6
6
  node84
7
- } from "./tool-tkg6e3eb.js";
7
+ } from "./git-xwrsj031.js";
8
8
  import {
9
- Service45,
10
- node48
11
- } from "./tool-9dnsb0hw.js";
9
+ Service16,
10
+ node18
11
+ } from "./git-4tvf6cka.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./tool-tcezcvh9.js";
15
+ } from "./git-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./tool-9rqn6x4v.js";
18
+ } from "./git-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options4,
25
- Service: () => Service44,
26
- configured: () => configured4,
24
+ Options: () => Options3,
25
+ Service: () => Service15,
26
+ configured: () => configured3,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer16,
29
- node: () => node47,
28
+ layer: () => layer9,
29
+ node: () => node17,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options4 = Schema.Struct({
38
+ var Options3 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service44 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service44, Effect.gen(function* () {
61
+ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
62
62
  const location = yield* Service80;
63
- const ripgrep = yield* Service45;
63
+ const ripgrep = yield* Service16;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service44, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service44.of({
108
+ return Service15.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service44, Effect.gen(function* () {
115
+ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
116
116
  const location = yield* Service80;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service44, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service44.of({
129
+ return Service15.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service44.of({
134
+ return Service15.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service44, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer16 = (options) => Layer.unwrap(Effect.gen(function* () {
177
+ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
178
  const location = yield* Service80;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
@@ -182,9 +182,9 @@ var layer16 = (options) => Layer.unwrap(Effect.gen(function* () {
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured4(options) {
186
- return makeLocationNode({ service: Service44, layer: layer16(options), deps: [node84, node48] });
185
+ function configured3(options) {
186
+ return makeLocationNode({ service: Service15, layer: layer9(options), deps: [node84, node18] });
187
187
  }
188
- var node47 = configured4();
188
+ var node17 = configured3();
189
189
 
190
- export { Options4, Service44, ripgrepLayer2, fffLayer2, layer16, configured4, node47, exports_search };
190
+ export { Options3, Service15, ripgrepLayer2, fffLayer2, layer9, configured3, node17, exports_search };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -8,7 +8,7 @@ __export(exports_opencode, {
8
8
  ModelsInput: () => ModelsInput2,
9
9
  MoveInput: () => MoveInput2,
10
10
  OpenCodeTools: () => exports_opencode,
11
- Plugin: () => Plugin7,
11
+ Plugin: () => Plugin38,
12
12
  RenameInput: () => RenameInput2
13
13
  });
14
14
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
64
64
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
65
65
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
66
66
  });
67
- var Plugin7 = {
67
+ var Plugin38 = {
68
68
  id: "opencode.tools",
69
69
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
70
70
  const hook = (event) => Effect.sync(() => {
@@ -161,4 +161,4 @@ var Plugin7 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin7, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin38, exports_opencode };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./tool-dpkg50ah.js";
3
+ } from "./git-dpkg50ah.js";
4
4
  import {
5
5
  Service83,
6
6
  node87
7
- } from "./tool-xq2w2bqm.js";
7
+ } from "./git-1bzc8wjz.js";
8
8
  import {
9
9
  Event19,
10
10
  Service78,
11
11
  node82
12
- } from "./tool-ah7j68gv.js";
12
+ } from "./git-gq6j0wd7.js";
13
13
  import {
14
14
  Service80,
15
15
  node84
16
- } from "./tool-tkg6e3eb.js";
16
+ } from "./git-xwrsj031.js";
17
17
  import {
18
- Service73,
19
- node76
20
- } from "./tool-7mmmgkzb.js";
18
+ Service49,
19
+ node53
20
+ } from "./git-ac6wgtzc.js";
21
21
  import {
22
22
  ID16,
23
23
  Service79,
24
24
  node83
25
- } from "./tool-dcrzta4z.js";
25
+ } from "./git-r69czbxd.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./tool-rdw6cm16.js";
29
+ } from "./git-rdw6cm16.js";
30
30
  import {
31
31
  ID14,
32
32
  MethodID2,
33
33
  Service77,
34
34
  node81
35
- } from "./tool-yqjvyrkg.js";
35
+ } from "./git-cwhqb0pk.js";
36
36
  import {
37
37
  __export
38
- } from "./tool-9rqn6x4v.js";
38
+ } from "./git-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError2,
45
- Options: () => Options2,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options5,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service24,
53
+ Service: () => Service37,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured2,
57
- layer: () => layer12,
58
- node: () => node27
56
+ configured: () => configured5,
57
+ layer: () => layer15,
58
+ node: () => node40
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -93,17 +93,17 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service24 extends Context.Service()("@opencode/MCP") {
96
+ class Service37 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
- var Options2 = Schema.Struct({
98
+ var Options5 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
100
100
  name: Schema.String,
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer12 = (options) => Layer.effect(Service24, Effect.gen(function* () {
104
+ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
105
105
  const location = yield* Service80;
106
- const environment = yield* Service73;
106
+ const environment = yield* Service49;
107
107
  const bus = yield* Service83;
108
108
  const forms = yield* Service79;
109
109
  const integration = yield* Service77;
@@ -144,7 +144,7 @@ var layer12 = (options) => Layer.effect(Service24, Effect.gen(function* () {
144
144
  const name = ServerName2.make(server);
145
145
  const entry = entries.get(name);
146
146
  if (!entry)
147
- return yield* new NotFoundError2({ server: name });
147
+ return yield* new NotFoundError4({ server: name });
148
148
  return { name, entry };
149
149
  });
150
150
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -240,7 +240,7 @@ var layer12 = (options) => Layer.effect(Service24, Effect.gen(function* () {
240
240
  entry.scope = scope;
241
241
  const authProvider = yield* connectProvider(entry);
242
242
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
243
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service73, environment), Scope.provide(scope));
243
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service49, environment), Scope.provide(scope));
244
244
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
245
245
  if (Exit.isSuccess(result)) {
246
246
  entry.client = result.value.connection;
@@ -391,7 +391,7 @@ var layer12 = (options) => Layer.effect(Service24, Effect.gen(function* () {
391
391
  }),
392
392
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
393
393
  });
394
- return Service24.of({
394
+ return Service37.of({
395
395
  transform: state.transform,
396
396
  reload: state.reload,
397
397
  servers: Effect.fn("MCP.servers")(function* () {
@@ -510,14 +510,14 @@ var layer12 = (options) => Layer.effect(Service24, Effect.gen(function* () {
510
510
  })
511
511
  });
512
512
  }));
513
- function configured2(options) {
513
+ function configured5(options) {
514
514
  return makeLocationNode({
515
- service: Service24,
516
- layer: layer12(options),
517
- deps: [node84, node76, node87, node83, node81, node82]
515
+ service: Service37,
516
+ layer: layer15(options),
517
+ deps: [node84, node53, node87, node83, node81, node82]
518
518
  });
519
519
  }
520
- var node27 = configured2();
520
+ var node40 = configured5();
521
521
  function toElicitationField(key, property, required) {
522
522
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
523
523
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
568
568
  }
569
569
  }
570
570
 
571
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service24, Options2, layer12, configured2, node27, exports_mcp4 };
571
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service37, Options5, layer15, configured5, node40, exports_mcp4 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./tool-2a5m3afh.js";
3
+ } from "./git-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./tool-922hggd3.js";
6
+ } from "./git-922hggd3.js";
7
7
  import {
8
8
  Service80
9
- } from "./tool-tkg6e3eb.js";
9
+ } from "./git-xwrsj031.js";
10
10
  import {
11
- Service73
12
- } from "./tool-7mmmgkzb.js";
11
+ Service49
12
+ } from "./git-ac6wgtzc.js";
13
13
  import {
14
- Service45
15
- } from "./tool-9dnsb0hw.js";
14
+ Service16
15
+ } from "./git-4tvf6cka.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./tool-ggvw6grp.js";
21
+ } from "./git-84wb89t3.js";
22
22
  import {
23
- Service64
24
- } from "./tool-n9asgjfy.js";
23
+ Service70
24
+ } from "./git-6y16pf8d.js";
25
25
  import {
26
- Service40
27
- } from "./tool-2hsfmsjg.js";
26
+ Service69
27
+ } from "./git-ftqhemdh.js";
28
28
  import {
29
29
  __export
30
- } from "./tool-9rqn6x4v.js";
30
+ } from "./git-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input10,
37
- Output: () => Output7,
38
- Plugin: () => Plugin12,
39
- name: () => name10,
40
- toModelContent: () => toModelContent5
36
+ Input: () => Input8,
37
+ Output: () => Output5,
38
+ Plugin: () => Plugin44,
39
+ name: () => name8,
40
+ toModelContent: () => toModelContent4
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name10 = "glob";
46
- var Input10 = Schema.Struct({
45
+ var name8 = "glob";
46
+ var Input8 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input10 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output7 = Schema.Array(Entry2);
59
- var toModelContent5 = (entries, truncated = false) => {
58
+ var Output5 = Schema.Array(Entry2);
59
+ var toModelContent4 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin12 = {
66
+ var Plugin44 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service73;
70
- const ripgrep = yield* Service45;
69
+ const environment = yield* Service49;
70
+ const ripgrep = yield* Service16;
71
71
  const location = yield* Service80;
72
- const access = yield* Service40;
73
- const permission = yield* Service64;
72
+ const access = yield* Service69;
73
+ const permission = yield* Service70;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name10,
75
+ name: name8,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input10,
79
- output: Output7,
78
+ input: Input8,
79
+ output: Output5,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name10,
86
+ action: name8,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin12 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name10, Input10, Output7, toModelContent5, Plugin12, exports_glob };
128
+ export { name8, Input8, Output5, toModelContent4, Plugin44, exports_glob };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
9
  Entry: () => Entry3,
10
- Info: () => Info9
10
+ Info: () => Info12
11
11
  });
12
12
  import { Schema } from "effect";
13
13
  var Entry3 = Schema.Struct({
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info9 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info12 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
20
20
 
21
- export { Entry3, Info9, exports_formatter3 };
21
+ export { Entry3, Info12, exports_formatter3 };