@opencode/core 0.0.0-dev-20386 → 0.0.0-dev-20388

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{bus-hbpa88t1.js → git-02v793tm.js} +23 -23
  8. package/dist/chunks/{bus-n8m4h8vv.js → git-09tmqmb5.js} +23 -23
  9. package/dist/chunks/{bus-c52sabfa.js → git-0c0695j7.js} +19 -19
  10. package/dist/chunks/{bus-4zxcbstk.js → git-0dzy3033.js} +33 -33
  11. package/dist/chunks/{bus-kxpygcw9.js → git-0ft9cg2j.js} +4 -4
  12. package/dist/chunks/{bus-c8ahp79r.js → git-0hbfp3rh.js} +25 -25
  13. package/dist/chunks/{bus-3nyxp4kt.js → git-0kv8bc90.js} +20 -20
  14. package/dist/chunks/{bus-abem9yh0.js → git-0kznb05v.js} +17 -17
  15. package/dist/chunks/{bus-0paq2nw3.js → git-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{bus-mr56zc53.js → git-0sz4mzf8.js} +23 -23
  17. package/dist/chunks/{bus-zzmzhkbe.js → git-10r550b7.js} +34 -34
  18. package/dist/chunks/{bus-pp173efe.js → git-154cngd0.js} +9 -9
  19. package/dist/chunks/{bus-4pbr4a79.js → git-16nrxpzh.js} +19 -19
  20. package/dist/chunks/{bus-1acjjqhc.js → git-1acjjqhc.js} +1 -1
  21. package/dist/chunks/{bus-1dazxqgg.js → git-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{bus-187kn7r0.js → git-1pbwcgwx.js} +309 -309
  23. package/dist/chunks/{bus-yhyck5ts.js → git-1vbhmq04.js} +23 -23
  24. package/dist/chunks/{bus-21r38tys.js → git-21r38tys.js} +1 -1
  25. package/dist/chunks/{bus-k9jhqx46.js → git-27nk4x6p.js} +10 -10
  26. package/dist/chunks/{bus-2a5m3afh.js → git-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{bus-1g8mdag0.js → git-2ekc3v9w.js} +10 -10
  28. package/dist/chunks/{bus-gxjy6dfa.js → git-2fzws0g4.js} +5 -5
  29. package/dist/chunks/{bus-0mpp7kje.js → git-2j9rgn65.js} +11 -11
  30. package/dist/chunks/{bus-qgn6gcr1.js → git-2k8khapm.js} +5 -5
  31. package/dist/chunks/{bus-j0vmqhvn.js → git-2tv7gqmx.js} +11 -11
  32. package/dist/chunks/{bus-87ayqzvj.js → git-2wrdwt9m.js} +20 -20
  33. package/dist/chunks/{bus-t69extwx.js → git-2wrfgpms.js} +6 -6
  34. package/dist/chunks/{bus-8arr1g8f.js → git-2x16c9ep.js} +40 -40
  35. package/dist/chunks/{bus-w9c7z483.js → git-39c3xmeq.js} +21 -21
  36. package/dist/chunks/{bus-qm58jeay.js → git-3ern9qn7.js} +3 -3
  37. package/dist/chunks/{bus-3fc6dm20.js → git-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{bus-cyqrzhgj.js → git-3g22mkwe.js} +17 -17
  39. package/dist/chunks/{bus-3hepkmqq.js → git-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{bus-knpd28bd.js → git-3j60ppqf.js} +11 -11
  41. package/dist/chunks/{bus-qhmaerxs.js → git-3n913fej.js} +41 -41
  42. package/dist/chunks/{bus-y7x142mt.js → git-3pbjq009.js} +8 -8
  43. package/dist/chunks/{bus-3smtnn6g.js → git-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{bus-3tvqynh2.js → git-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{bus-er3kxcsq.js → git-3z8t007d.js} +21 -21
  46. package/dist/chunks/{bus-3zsf4n22.js → git-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{bus-cjtbz79v.js → git-45y17pkn.js} +5 -5
  48. package/dist/chunks/{bus-12yh3v9m.js → git-4792e2b2.js} +43 -43
  49. package/dist/chunks/{bus-btjm13ym.js → git-48tzy520.js} +10 -10
  50. package/dist/chunks/{bus-dnxkq42g.js → git-4ch7j1sz.js} +4 -4
  51. package/dist/chunks/{bus-jgjn4qh1.js → git-4ev7smc3.js} +11 -11
  52. package/dist/chunks/{bus-0gjptt89.js → git-4v7yaj9r.js} +47 -47
  53. package/dist/chunks/{bus-4a0nv7mx.js → git-4w5f3qm5.js} +8 -8
  54. package/dist/chunks/{bus-fjakxwt0.js → git-4xyzmsba.js} +9 -9
  55. package/dist/chunks/{bus-jva0abwr.js → git-4y1xccvm.js} +13 -13
  56. package/dist/chunks/{bus-3y3ca60k.js → git-52d0p3cg.js} +3 -3
  57. package/dist/chunks/{bus-54ma36ye.js → git-54ma36ye.js} +1 -1
  58. package/dist/chunks/{bus-ff50tnq2.js → git-5bdh3vp3.js} +20 -20
  59. package/dist/chunks/{bus-5daktx2q.js → git-5daktx2q.js} +1 -1
  60. package/dist/chunks/{bus-5t3nmthw.js → git-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{bus-mvksx64m.js → git-5xpznt2d.js} +4 -4
  62. package/dist/chunks/{bus-a4n3shsa.js → git-640hrwp9.js} +28 -28
  63. package/dist/chunks/{bus-669tq793.js → git-669tq793.js} +1 -1
  64. package/dist/chunks/{bus-awaqrqtp.js → git-675a9rqf.js} +27 -27
  65. package/dist/chunks/{bus-8ywrnqjj.js → git-6b56byp1.js} +18 -18
  66. package/dist/chunks/{bus-sj42pf2p.js → git-6etexda4.js} +9 -9
  67. package/dist/chunks/{bus-8y86t981.js → git-6j9qywme.js} +11 -11
  68. package/dist/chunks/{bus-m5k1y86b.js → git-6m45rye6.js} +11 -11
  69. package/dist/chunks/{bus-6msgmcgs.js → git-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{bus-nkxydt3a.js → git-6rhp9f1h.js} +31 -31
  71. package/dist/chunks/{bus-9g3kc011.js → git-6t298p2h.js} +12 -12
  72. package/dist/chunks/{bus-7bmhse3q.js → git-7bmhse3q.js} +1 -1
  73. package/dist/chunks/git-7fj5dwt0.js +18 -0
  74. package/dist/chunks/{bus-pphvfzc9.js → git-7jxfk54w.js} +18 -18
  75. package/dist/chunks/{bus-g5agzp2h.js → git-7pr2hkwv.js} +5 -5
  76. package/dist/chunks/{bus-v46pt5zw.js → git-7tw9ghjr.js} +14 -14
  77. package/dist/chunks/{bus-hagpnyr2.js → git-7ty99mn5.js} +5 -5
  78. package/dist/chunks/{bus-mphgtbj1.js → git-7v81x33d.js} +9 -9
  79. package/dist/chunks/{bus-1bbkgx8g.js → git-7yh4e7ss.js} +3 -3
  80. package/dist/chunks/git-804fgeth.js +26 -0
  81. package/dist/chunks/{bus-84txncab.js → git-84txncab.js} +1 -1
  82. package/dist/chunks/{bus-453dwvt0.js → git-879n19st.js} +177 -177
  83. package/dist/chunks/{bus-m708tn22.js → git-87wwy8za.js} +15 -15
  84. package/dist/chunks/{bus-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/git-8k2g2mjs.js +252 -0
  86. package/dist/chunks/{bus-825bw704.js → git-8kmdq9aq.js} +40 -40
  87. package/dist/chunks/{bus-qt2a3bcw.js → git-8m0ba7zt.js} +11 -11
  88. package/dist/chunks/{bus-kpack14v.js → git-8mn6a01z.js} +4 -4
  89. package/dist/chunks/{bus-98pprt8f.js → git-8rgxcejn.js} +13 -13
  90. package/dist/chunks/{bus-py3kkmfq.js → git-8sze2n9a.js} +6 -6
  91. package/dist/chunks/{bus-9hn6k4tm.js → git-8v6pyhej.js} +8 -8
  92. package/dist/chunks/{bus-94ek1h2f.js → git-94ek1h2f.js} +2 -2
  93. package/dist/chunks/{bus-1g721s8n.js → git-97w4v05c.js} +3 -3
  94. package/dist/chunks/{bus-e8npv53b.js → git-9gm387jw.js} +22 -22
  95. package/dist/chunks/{bus-jbg63639.js → git-9mv39jdx.js} +4 -4
  96. package/dist/chunks/{bus-92ssfs48.js → git-9qq5qbrb.js} +24 -24
  97. package/dist/chunks/{bus-46gydz25.js → git-9snwjxvr.js} +42 -42
  98. package/dist/chunks/{bus-x62hmsgp.js → git-9xkcece5.js} +11 -11
  99. package/dist/chunks/{bus-ft6sq6ge.js → git-9yta650y.js} +12 -12
  100. package/dist/chunks/{bus-nps70g5m.js → git-a149k0pw.js} +23 -23
  101. package/dist/chunks/{bus-ky3seynh.js → git-a3r4dcrj.js} +2 -2
  102. package/dist/chunks/{bus-7ehz94ke.js → git-a5ttg10t.js} +12 -12
  103. package/dist/chunks/{bus-hkagz2yt.js → git-a8htrd82.js} +6 -6
  104. package/dist/chunks/{bus-vwjrrz0m.js → git-aab22j0c.js} +22 -22
  105. package/dist/chunks/{bus-aaet6srn.js → git-aaet6srn.js} +2 -2
  106. package/dist/chunks/{bus-9r1zvxbf.js → git-ad37gnpt.js} +4 -4
  107. package/dist/chunks/{bus-f35csz83.js → git-adzwmyxf.js} +18 -18
  108. package/dist/chunks/{bus-eqhv3z84.js → git-apyybb6c.js} +21 -21
  109. package/dist/chunks/{bus-awaee7qt.js → git-awaee7qt.js} +1 -1
  110. package/dist/chunks/{bus-jg5vcgv5.js → git-awpnsnap.js} +81 -81
  111. package/dist/chunks/{bus-9eg4jjgq.js → git-b04b8x2j.js} +5 -5
  112. package/dist/chunks/{bus-5gre4vbt.js → git-b2gx3txk.js} +2 -2
  113. package/dist/chunks/{bus-b6gygkdw.js → git-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{bus-dfe8djrf.js → git-bct739vz.js} +4 -4
  115. package/dist/chunks/{bus-k2cd168e.js → git-bdp9qg1w.js} +15 -15
  116. package/dist/chunks/{bus-xapvk9pt.js → git-bj6x105w.js} +13 -13
  117. package/dist/chunks/{bus-4bj1y1rr.js → git-bk9c1rhb.js} +36 -36
  118. package/dist/chunks/{bus-v7z2bvyd.js → git-btbmdjwj.js} +4 -4
  119. package/dist/chunks/{bus-kw3tvbv2.js → git-btd0ftk7.js} +39 -39
  120. package/dist/chunks/{bus-dbq3dcxy.js → git-c1ezrmqj.js} +20 -20
  121. package/dist/chunks/{bus-7zqrex6v.js → git-cc3z3mm8.js} +16 -16
  122. package/dist/chunks/{bus-crsj3ebw.js → git-cee3pda0.js} +4 -4
  123. package/dist/chunks/{bus-ckecvw8r.js → git-ckecvw8r.js} +2 -2
  124. package/dist/chunks/{bus-kape24d0.js → git-cv9jj7zm.js} +10 -10
  125. package/dist/chunks/{bus-h0sz092a.js → git-d10sr3ce.js} +10 -10
  126. package/dist/chunks/{bus-nxrqtpaw.js → git-d15sf6mv.js} +18 -18
  127. package/dist/chunks/{bus-hng35392.js → git-d2fqyxj9.js} +34 -34
  128. package/dist/chunks/{bus-x37017eb.js → git-d9s1mk97.js} +7 -7
  129. package/dist/chunks/{bus-edc927t6.js → git-dagryq3b.js} +14 -14
  130. package/dist/chunks/{bus-96mdvajj.js → git-dbpe2207.js} +24 -24
  131. package/dist/chunks/{bus-cm3spbj7.js → git-dbzhd3wq.js} +1 -1
  132. package/dist/chunks/{bus-4m9tr61w.js → git-dcvjtemh.js} +16 -16
  133. package/dist/chunks/{bus-baaqp4zd.js → git-dhmh7aw6.js} +4 -4
  134. package/dist/chunks/{bus-ht29xtmx.js → git-dk17fbv1.js} +12 -12
  135. package/dist/chunks/{bus-xjj8bw77.js → git-e7fged3g.js} +25 -23
  136. package/dist/chunks/{bus-1egn70ga.js → git-ebt03znt.js} +34 -34
  137. package/dist/chunks/{bus-ef5x83kb.js → git-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{bus-xgmmm5ws.js → git-eg3dg4pc.js} +8 -8
  139. package/dist/chunks/{bus-48dkvn4f.js → git-eh8a8tjn.js} +12 -12
  140. package/dist/chunks/{bus-h9t1bzna.js → git-em054f3j.js} +26 -26
  141. package/dist/chunks/{bus-32sa0c0w.js → git-eqvftjbn.js} +17 -17
  142. package/dist/chunks/{bus-840n79mv.js → git-esp7reb4.js} +20 -20
  143. package/dist/chunks/{bus-etq0c3wd.js → git-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{bus-dj9sq318.js → git-evbgk2k8.js} +5 -5
  145. package/dist/chunks/{bus-n6hmrgxn.js → git-f37yrtqa.js} +7 -6
  146. package/dist/chunks/{bus-a8bn8zg0.js → git-f3ngv102.js} +4 -4
  147. package/dist/chunks/{bus-fq8xtrbp.js → git-ffk3tnaf.js} +17 -17
  148. package/dist/chunks/{bus-j3s2z371.js → git-fhs97t90.js} +9 -9
  149. package/dist/chunks/{bus-j36k01a4.js → git-ftq5wxdn.js} +8 -8
  150. package/dist/chunks/{bus-cdwjrg5z.js → git-g04a706a.js} +9 -9
  151. package/dist/chunks/{bus-9j1htrj5.js → git-g1bwmzbp.js} +3 -3
  152. package/dist/chunks/{bus-dn8m779r.js → git-g2xmb77m.js} +71 -71
  153. package/dist/chunks/{bus-cpneeje0.js → git-g6q9qykm.js} +9 -9
  154. package/dist/chunks/{bus-qvf0fb0d.js → git-g7jkrskj.js} +18 -18
  155. package/dist/chunks/{bus-8c24f6ff.js → git-gbhc6ywe.js} +17 -17
  156. package/dist/chunks/{bus-kb6gw2zp.js → git-gc4fb455.js} +4 -4
  157. package/dist/chunks/{bus-5ehga51n.js → git-gcvc8aqa.js} +3 -3
  158. package/dist/chunks/{bus-gd4qta3r.js → git-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{bus-af88mf9m.js → git-gh46k75h.js} +28 -28
  160. package/dist/chunks/{bus-qbx0tcre.js → git-gss037cc.js} +32 -32
  161. package/dist/chunks/{bus-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
  162. package/dist/chunks/{bus-syf57q56.js → git-gw7cjrad.js} +4 -4
  163. package/dist/chunks/{bus-2e474cp7.js → git-gxz3as52.js} +19 -19
  164. package/dist/chunks/{bus-7vq335ge.js → git-gzjdj5j0.js} +26 -26
  165. package/dist/chunks/{bus-h6vf3j39.js → git-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{bus-y5dj3dxk.js → git-ha607pgt.js} +6 -6
  167. package/dist/chunks/{bus-cjmb3pa7.js → git-hg9h6169.js} +4 -4
  168. package/dist/chunks/{bus-rh8c4axs.js → git-hgkqfzfv.js} +11 -11
  169. package/dist/chunks/{bus-2ta68rf2.js → git-hncv6x49.js} +7 -7
  170. package/dist/chunks/{bus-sm965ndy.js → git-hpfvhvya.js} +8 -8
  171. package/dist/chunks/{bus-qeqbv4aj.js → git-hrtjndpd.js} +11 -11
  172. package/dist/chunks/{bus-j56e64zr.js → git-j56e64zr.js} +1 -1
  173. package/dist/chunks/{bus-xxynqx5z.js → git-jexxy024.js} +2 -2
  174. package/dist/chunks/{bus-057z78dy.js → git-jgb2hz60.js} +28 -28
  175. package/dist/chunks/{bus-0jkw1j53.js → git-jkp0d30b.js} +6 -6
  176. package/dist/chunks/{bus-dyf2220y.js → git-jy3rwz12.js} +27 -27
  177. package/dist/chunks/{bus-8hbfdwcy.js → git-k0nnq3t9.js} +8 -8
  178. package/dist/chunks/{bus-k3c624dm.js → git-k3c624dm.js} +3 -3
  179. package/dist/chunks/{bus-ax6ghwwf.js → git-k6k470b6.js} +31 -31
  180. package/dist/chunks/{bus-mxbrm02f.js → git-k9gchh7r.js} +9 -9
  181. package/dist/chunks/{bus-mksw1wy2.js → git-kavy5er9.js} +8 -8
  182. package/dist/chunks/{bus-78dcfyc2.js → git-kfn1shxw.js} +15 -15
  183. package/dist/chunks/{bus-2k71kv7p.js → git-m0r31qfn.js} +4 -4
  184. package/dist/chunks/{bus-jesf17xq.js → git-m0s4j0vx.js} +40 -40
  185. package/dist/chunks/{bus-m9fjd327.js → git-m11dv875.js} +32 -32
  186. package/dist/chunks/{bus-m3fdjcah.js → git-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{bus-m58kmhef.js → git-m58kmhef.js} +2 -2
  188. package/dist/chunks/{bus-k1qrnqst.js → git-m6f3t844.js} +8 -8
  189. package/dist/chunks/{bus-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{bus-29jjt28q.js → git-mbfyshdn.js} +86 -86
  191. package/dist/chunks/{bus-1ygqh575.js → git-mfqp6xfm.js} +6 -6
  192. package/dist/chunks/{bus-w0j0ze2a.js → git-mqpkp4kz.js} +20 -20
  193. package/dist/chunks/{bus-w22vg6hf.js → git-n8d4mbxn.js} +13 -13
  194. package/dist/chunks/{bus-bddt2pqj.js → git-nap39a15.js} +14 -14
  195. package/dist/chunks/{bus-8wy1n625.js → git-ncqa4rgx.js} +43 -43
  196. package/dist/chunks/{bus-8qp06k83.js → git-ngcyazz8.js} +8 -8
  197. package/dist/chunks/{bus-bavs97tk.js → git-nr9pd330.js} +47 -47
  198. package/dist/chunks/{bus-0b4yhjxs.js → git-pfk2n936.js} +48 -48
  199. package/dist/chunks/{bus-3w2p8hyx.js → git-phesrcgj.js} +21 -21
  200. package/dist/chunks/{bus-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{bus-gsr3rt87.js → git-pk48rez6.js} +17 -17
  202. package/dist/chunks/{bus-pknna89w.js → git-pknna89w.js} +1 -1
  203. package/dist/chunks/{bus-fzyjevma.js → git-pq3e229m.js} +17 -17
  204. package/dist/chunks/{bus-1sf8sswz.js → git-pztav6qe.js} +16 -16
  205. package/dist/chunks/{bus-0dhvyftb.js → git-q8gb9q10.js} +32 -32
  206. package/dist/chunks/{bus-sedacm6d.js → git-qc5tbdym.js} +7 -7
  207. package/dist/chunks/{bus-vcwt96gk.js → git-qcekwvdg.js} +10 -10
  208. package/dist/chunks/{bus-8t16g276.js → git-qfgc2m2j.js} +25 -25
  209. package/dist/chunks/{bus-6nt1sgah.js → git-qfm24y6p.js} +22 -22
  210. package/dist/chunks/{bus-w5v07rgg.js → git-qjfqjtp6.js} +5 -5
  211. package/dist/chunks/{bus-4tk06fn7.js → git-qmwqscpd.js} +28 -28
  212. package/dist/chunks/{bus-80s1qpja.js → git-qq2m58t1.js} +18 -18
  213. package/dist/chunks/{bus-qsdy395h.js → git-qsdy395h.js} +1 -1
  214. package/dist/chunks/{bus-4n607a2z.js → git-qvreyy9g.js} +5 -5
  215. package/dist/chunks/{bus-8c50268e.js → git-qyj0qkkq.js} +5 -5
  216. package/dist/chunks/{bus-zrb90v6x.js → git-r2mgmrrq.js} +19 -19
  217. package/dist/chunks/{bus-2txne078.js → git-ra0ft92r.js} +8 -8
  218. package/dist/chunks/{bus-894m4bqb.js → git-rantnw5e.js} +8 -8
  219. package/dist/chunks/{bus-d135fm4j.js → git-rd9ts5sq.js} +54 -54
  220. package/dist/chunks/{bus-rdw6cm16.js → git-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{bus-q17z9dx8.js → git-rf80fxgj.js} +5 -5
  222. package/dist/chunks/{bus-0b07cytw.js → git-rnnxe44a.js} +4 -4
  223. package/dist/chunks/{bus-bhqygd8k.js → git-rsdkdfjj.js} +17 -17
  224. package/dist/chunks/{bus-3y6qv6fa.js → git-s3dmvxak.js} +34 -34
  225. package/dist/chunks/{bus-gw3qt7kb.js → git-s3j81f4a.js} +17 -17
  226. package/dist/chunks/{bus-b26wtfeh.js → git-s5fmfqw4.js} +20 -20
  227. package/dist/chunks/{bus-b1nmpyb4.js → git-s7xn4jw7.js} +17 -17
  228. package/dist/chunks/{bus-rhjbct0v.js → git-s8d7rejh.js} +4 -4
  229. package/dist/chunks/{bus-af04s6ss.js → git-s8zy8myc.js} +5 -5
  230. package/dist/chunks/{bus-aw4ks25e.js → git-sbpew2a6.js} +13 -13
  231. package/dist/chunks/{bus-6ktds10y.js → git-t18acs6r.js} +15 -15
  232. package/dist/chunks/{bus-nmt80txx.js → git-t1t9n6y4.js} +24 -24
  233. package/dist/chunks/{bus-7hk1a9kn.js → git-t32n9cga.js} +15 -15
  234. package/dist/chunks/{bus-fym2qhys.js → git-t5qhm49b.js} +1 -1
  235. package/dist/chunks/{bus-tazgh4e4.js → git-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{bus-tcezcvh9.js → git-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{bus-tdstcens.js → git-tdstcens.js} +1 -1
  238. package/dist/chunks/{bus-g8d3gcyj.js → git-tkmwgdpd.js} +4 -4
  239. package/dist/chunks/{bus-3rg5dt53.js → git-tm9mtfcm.js} +20 -20
  240. package/dist/chunks/{bus-gfnd1j1q.js → git-tpmcqqx3.js} +5 -5
  241. package/dist/chunks/{bus-137fdrk4.js → git-ts95b2w6.js} +8 -8
  242. package/dist/chunks/{bus-tvtrv512.js → git-tvtrv512.js} +1 -1
  243. package/dist/chunks/{bus-62hy5w4k.js → git-v5fh98v6.js} +11 -11
  244. package/dist/chunks/{bus-rq0cynag.js → git-vavepvbb.js} +9 -9
  245. package/dist/chunks/{bus-t5ymyahf.js → git-ve3qrhhk.js} +22 -22
  246. package/dist/chunks/{bus-veqvce7d.js → git-veqvce7d.js} +1 -1
  247. package/dist/chunks/{bus-aj9wrhbp.js → git-vjjxy6yb.js} +3 -3
  248. package/dist/chunks/{bus-bm36gav2.js → git-vkf44a78.js} +3 -3
  249. package/dist/chunks/{bus-bv7gpt9b.js → git-vptfm5hv.js} +9 -9
  250. package/dist/chunks/{bus-vzcthcp8.js → git-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{bus-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{bus-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{bus-qjnxxf51.js → git-wbkyxrgf.js} +5 -5
  254. package/dist/chunks/{bus-wd3x2cqz.js → git-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{bus-wd87259q.js → git-wd87259q.js} +1 -1
  256. package/dist/chunks/{bus-fdms3n6w.js → git-wk5z6jzv.js} +9 -9
  257. package/dist/chunks/{bus-pyc5j42v.js → git-wt2stqwd.js} +35 -35
  258. package/dist/chunks/{bus-fwvczyet.js → git-wvjdx0nk.js} +20 -20
  259. package/dist/chunks/{bus-427t97hr.js → git-wxyynt4w.js} +1 -1
  260. package/dist/chunks/{bus-cxzq7vxy.js → git-wzyvzam6.js} +24 -24
  261. package/dist/chunks/{bus-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{bus-x2z7greh.js → git-x8sg340m.js} +41 -41
  263. package/dist/chunks/{bus-ppbeg2ft.js → git-xa1geypd.js} +37 -37
  264. package/dist/chunks/{bus-xfkkasph.js → git-xfkkasph.js} +1 -1
  265. package/dist/chunks/{bus-c7w8kqar.js → git-xjqdvhz2.js} +4 -4
  266. package/dist/chunks/{bus-dmqcgk4z.js → git-xkntkrq7.js} +5 -5
  267. package/dist/chunks/{bus-f9rm78b5.js → git-xnd5ej3q.js} +5 -5
  268. package/dist/chunks/{bus-vefpeqf1.js → git-xqq4j1ks.js} +12 -12
  269. package/dist/chunks/{bus-dc6tzc5b.js → git-xxhb4jr7.js} +9 -9
  270. package/dist/chunks/{bus-m0jez0qq.js → git-xzcsrrr7.js} +10 -10
  271. package/dist/chunks/{bus-8h0ahnmn.js → git-y0k7ncdy.js} +22 -22
  272. package/dist/chunks/{bus-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{bus-j6peaycv.js → git-y6se903k.js} +11 -11
  274. package/dist/chunks/{bus-y71avatq.js → git-y71avatq.js} +1 -1
  275. package/dist/chunks/{bus-r9t00hsy.js → git-yg6nt6v4.js} +8 -8
  276. package/dist/chunks/{bus-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{bus-yrznvahk.js → git-yrznvahk.js} +2 -2
  278. package/dist/chunks/{bus-k4z41wd4.js → git-ysypevm1.js} +8 -8
  279. package/dist/chunks/{bus-7vqcmx4q.js → git-yxf2kahc.js} +9 -9
  280. package/dist/chunks/{bus-ps6629h5.js → git-yztfb3pz.js} +26 -26
  281. package/dist/chunks/{bus-z07pqspn.js → git-z07pqspn.js} +3 -3
  282. package/dist/chunks/{bus-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{bus-z63w68vq.js → git-z63w68vq.js} +2 -2
  284. package/dist/chunks/{bus-26qjdhj3.js → git-z6p0ftv1.js} +14 -14
  285. package/dist/chunks/{bus-xzne595f.js → git-z7agxk7e.js} +15 -15
  286. package/dist/chunks/{bus-x6wr6p94.js → git-z8bsjf0y.js} +3 -3
  287. package/dist/chunks/{bus-zeh9ct20.js → git-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{bus-2y7xnc52.js → git-zfx54h0g.js} +9 -9
  289. package/dist/chunks/{bus-nf7503gn.js → git-zmdb4gxh.js} +5 -5
  290. package/dist/chunks/{bus-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{bus-7q81yew2.js → git-zw63bdmn.js} +12 -12
  292. package/dist/chunks/{bus-zxq2ej10.js → git-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +122 -122
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -83
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +102 -102
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +228 -228
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +101 -101
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +100 -100
  432. package/dist/form.js +78 -78
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +85 -85
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +89 -89
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +89 -89
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +103 -103
  477. package/dist/mcp/instructions.js +127 -127
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +109 -109
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +84 -84
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +354 -354
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +230 -230
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  565. package/dist/provider.js +93 -93
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +97 -97
  569. package/dist/reference/instructions.js +87 -87
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +135 -135
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +222 -222
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +75 -75
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +93 -93
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +118 -118
  597. package/dist/session/model-transport.js +7 -7
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +3 -3
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +209 -209
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +216 -216
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +213 -213
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +120 -120
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +114 -114
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +101 -101
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +216 -216
  650. package/dist/tool/plugin/skill.js +109 -109
  651. package/dist/tool/plugin/subagent.js +218 -218
  652. package/dist/tool/plugin/webfetch.js +108 -108
  653. package/dist/tool/plugin/websearch.js +106 -106
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +96 -96
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +12 -12
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +1 -1
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +87 -87
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +78 -78
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +8 -8
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +98 -98
  699. package/package.json +8 -8
  700. package/dist/chunks/bus-axpe2ek8.js +0 -252
  701. package/dist/chunks/bus-k62abecv.js +0 -26
  702. package/dist/chunks/bus-rap9a73h.js +0 -18
  703. /package/dist/chunks/{bus-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{bus-0zkw76rk.js → git-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{bus-17cy0kzp.js → git-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{bus-1cnp2v09.js → git-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{bus-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{bus-24dcb14g.js → git-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{bus-2710q6r3.js → git-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{bus-2axfhc9x.js → git-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{bus-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{bus-34c7v6d4.js → git-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{bus-359p4xyc.js → git-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{bus-3asan66x.js → git-3asan66x.js} +0 -0
  715. /package/dist/chunks/{bus-3v8g72cx.js → git-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{bus-3w5fmr99.js → git-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{bus-3wcehsnq.js → git-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{bus-43n2bw4t.js → git-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{bus-4knz6hnm.js → git-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{bus-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{bus-4y7fprxs.js → git-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{bus-53557ph1.js → git-53557ph1.js} +0 -0
  723. /package/dist/chunks/{bus-550bvhaj.js → git-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{bus-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{bus-6prwharc.js → git-6prwharc.js} +0 -0
  726. /package/dist/chunks/{bus-7akdwqpd.js → git-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{bus-7m9af43g.js → git-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{bus-822emrt2.js → git-822emrt2.js} +0 -0
  729. /package/dist/chunks/{bus-88xbtdfr.js → git-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{bus-8n3pysct.js → git-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{bus-8wj87zfr.js → git-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{bus-922hggd3.js → git-922hggd3.js} +0 -0
  733. /package/dist/chunks/{bus-9a4afbnw.js → git-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{bus-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{bus-a6k6eb26.js → git-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{bus-af5trqkr.js → git-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{bus-afrmfg78.js → git-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{bus-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{bus-atq7p7m5.js → git-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{bus-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{bus-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{bus-cf4snx6d.js → git-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{bus-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{bus-d9fn303g.js → git-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{bus-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{bus-dajrwvna.js → git-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{bus-dap0rakb.js → git-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{bus-df08tz66.js → git-df08tz66.js} +0 -0
  749. /package/dist/chunks/{bus-dy18nga0.js → git-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{bus-e5kj55wp.js → git-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{bus-e73j6tqm.js → git-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{bus-ec1grn59.js → git-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{bus-eh3zwz77.js → git-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{bus-emrn6kk6.js → git-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{bus-f0mxakyp.js → git-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{bus-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{bus-faypxj3z.js → git-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{bus-fd410y7t.js → git-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{bus-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{bus-g4wezp1m.js → git-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{bus-g86h250q.js → git-g86h250q.js} +0 -0
  762. /package/dist/chunks/{bus-gebd4c9n.js → git-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{bus-gftt206x.js → git-gftt206x.js} +0 -0
  764. /package/dist/chunks/{bus-hjbc5kem.js → git-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{bus-hk9envan.js → git-hk9envan.js} +0 -0
  766. /package/dist/chunks/{bus-j2ntwpah.js → git-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{bus-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{bus-jjkms2e6.js → git-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{bus-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{bus-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{bus-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{bus-mp448xyj.js → git-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{bus-msx8hqn2.js → git-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{bus-n05xt0ee.js → git-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{bus-n3j8tn72.js → git-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{bus-njntx4h6.js → git-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{bus-q3sfg36h.js → git-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{bus-q74kybfr.js → git-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{bus-qaymkmh1.js → git-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{bus-qb87gjwd.js → git-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{bus-qfa1cgps.js → git-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{bus-qg3g05ea.js → git-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{bus-qrg20bc0.js → git-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{bus-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{bus-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{bus-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{bus-ssg3fenm.js → git-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{bus-w803qqfp.js → git-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{bus-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{bus-wer8tq1h.js → git-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{bus-wtztk69x.js → git-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{bus-x0ckcb58.js → git-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{bus-x61499pn.js → git-x61499pn.js} +0 -0
  794. /package/dist/chunks/{bus-y44na4kk.js → git-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{bus-y8cydn3q.js → git-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{bus-y8f7s663.js → git-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{bus-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{bus-ym463w8f.js → git-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{bus-z9919s4g.js → git-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./bus-jbg63639.js";
4
+ } from "./git-9mv39jdx.js";
5
5
  import {
6
6
  environment2
7
- } from "./bus-4pbr4a79.js";
7
+ } from "./git-16nrxpzh.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./bus-sk3qaz4a.js";
10
+ } from "./git-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./git-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
19
  NotFoundError: () => NotFoundError4,
20
- Options: () => Options3,
20
+ Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service25,
23
- UnavailableError: () => UnavailableError3,
24
- configured: () => configured3,
22
+ Service: () => Service23,
23
+ UnavailableError: () => UnavailableError2,
24
+ configured: () => configured4,
25
25
  layer: () => layer10,
26
- node: () => node28
26
+ node: () => node26
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,9 +35,9 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
@@ -47,9 +47,9 @@ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError",
47
47
  }) {
48
48
  }
49
49
 
50
- class Service25 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service23 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
53
53
  const bus = yield* Service83;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service25.of({
242
+ return Service23.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -256,16 +256,16 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
256
256
  });
257
257
  }));
258
258
  var layer10 = makeLayer();
259
- var configured3 = (options) => makeGlobalNode({
260
- service: Service25,
259
+ var configured4 = (options) => makeGlobalNode({
260
+ service: Service23,
261
261
  layer: options === undefined ? layer10 : makeLayer(options),
262
262
  deps: [node87, Global.node]
263
263
  });
264
- var node28 = configured3();
264
+ var node26 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError3, NotFoundError4, Service25, layer10, configured3, node28, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError2, NotFoundError4, Service23, layer10, configured4, node26, exports_persistent_pty, Handoff2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID13
3
- } from "./bus-xjj8bw77.js";
2
+ ID12
3
+ } from "./git-e7fged3g.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./bus-hjbc5kem.js";
6
+ } from "./git-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID13.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID12.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID13.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID12.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./bus-922hggd3.js";
3
+ } from "./git-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service44
7
- } from "./bus-8wy1n625.js";
6
+ Service55
7
+ } from "./git-ncqa4rgx.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./bus-2a5m3afh.js";
10
+ } from "./git-2a5m3afh.js";
11
11
  import {
12
- Service59
13
- } from "./bus-nmt80txx.js";
12
+ Service60
13
+ } from "./git-t1t9n6y4.js";
14
14
  import {
15
- Service54
16
- } from "./bus-fq8xtrbp.js";
15
+ Service50
16
+ } from "./git-ffk3tnaf.js";
17
17
  import {
18
- Service64
19
- } from "./bus-0gjptt89.js";
18
+ Service69
19
+ } from "./git-4v7yaj9r.js";
20
20
  import {
21
- Service18,
21
+ Service19,
22
22
  resolvePath2
23
- } from "./bus-gw3qt7kb.js";
23
+ } from "./git-s3j81f4a.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./bus-vzs5sf6e.js";
29
+ } from "./git-vzs5sf6e.js";
30
30
  import {
31
- Service57,
31
+ Service59,
32
32
  name15
33
- } from "./bus-4pbr4a79.js";
33
+ } from "./git-16nrxpzh.js";
34
34
  import {
35
- NotFoundError5,
36
- Service37
37
- } from "./bus-bavs97tk.js";
35
+ NotFoundError6,
36
+ Service53
37
+ } from "./git-nr9pd330.js";
38
38
  import {
39
- Service26
40
- } from "./bus-29jjt28q.js";
39
+ Service28
40
+ } from "./git-mbfyshdn.js";
41
41
  import {
42
42
  scan2
43
- } from "./bus-0b07cytw.js";
43
+ } from "./git-rnnxe44a.js";
44
44
  import {
45
45
  __export
46
- } from "./bus-9rqn6x4v.js";
46
+ } from "./git-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input3,
53
- Plugin: () => Plugin38,
52
+ Input: () => Input7,
53
+ Plugin: () => Plugin44,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name3
55
+ name: () => name7
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name3 = "shell";
59
+ var name7 = "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 Input3 = Schema.Struct({
73
+ var Input7 = 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."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin38 = {
119
+ var Plugin44 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service26;
123
- const jobs = yield* Service54;
122
+ const sessions = yield* Service28;
123
+ const jobs = yield* Service50;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service59;
126
- const access = yield* Service18;
127
- const shell = yield* Service37;
128
- const shellSelect = yield* Service57;
125
+ const environment = yield* Service60;
126
+ const access = yield* Service19;
127
+ const shell = yield* Service53;
128
+ const shellSelect = yield* Service59;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service64;
131
- const config = yield* Service44;
130
+ const permission = yield* Service69;
131
+ const config = yield* Service55;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin38 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name3,
150
+ action: name7,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin38 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name3,
187
+ name: name7,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input3,
190
+ input: Input7,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -210,7 +210,7 @@ var Plugin38 = {
210
210
  const run = Effect.gen(function* () {
211
211
  const result = yield* shell.result(info);
212
212
  if (!result.capture)
213
- return yield* new NotFoundError5({ id: info.id });
213
+ return yield* new NotFoundError6({ id: info.id });
214
214
  const output = output2(result);
215
215
  return {
216
216
  ...output,
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
224
224
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
225
225
  const job = yield* jobs.start({
226
226
  id: info.id,
227
- type: name3,
227
+ type: name7,
228
228
  title: info.command,
229
229
  metadata: { sessionID: context.sessionID, shellID: info.id },
230
230
  recovery: {
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
254
254
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
255
255
  })).pipe(Effect.orDie);
256
256
  const hook = (event) => Effect.gen(function* () {
257
- const tool = event.tools[name3];
257
+ const tool = event.tools[name7];
258
258
  if (!tool)
259
259
  return;
260
260
  tool.description = description(name15(yield* compatibleShell));
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
265
265
  })
266
266
  };
267
267
 
268
- export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin38, exports_shell2 };
268
+ export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin44, exports_shell2 };
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./bus-jbg63639.js";
5
+ } from "./git-9mv39jdx.js";
6
6
  import {
7
7
  __export
8
- } from "./bus-9rqn6x4v.js";
8
+ } from "./git-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service4,
14
+ Service: () => Service9,
15
15
  Updated: () => Updated2,
16
- layer: () => layer4,
17
- node: () => node5
16
+ layer: () => layer7,
17
+ node: () => node11
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service4 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service9 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer4 = Layer.effect(Service4, Effect.gen(function* () {
25
+ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
26
26
  const bus = yield* Service83;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service4.of({
29
+ return Service9.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node5 = makeGlobalNode({ service: Service4, layer: layer4, deps: [node87] });
36
+ var node11 = makeGlobalNode({ service: Service9, layer: layer7, deps: [node87] });
37
37
 
38
- export { Updated2, Service4, layer4, node5, exports_sdk };
38
+ export { Updated2, Service9, layer7, node11, exports_sdk };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info29,
10
+ Info: () => Info31,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  Status: () => Status3,
13
13
  key: () => key2
@@ -15,7 +15,7 @@ __export(exports_connection, {
15
15
  import { Connection } from "@opencode/schema/connection";
16
16
  var CredentialInfo2 = Connection.CredentialInfo;
17
17
  var EnvInfo2 = Connection.EnvInfo;
18
- var Info29 = Connection.Info;
18
+ var Info31 = Connection.Info;
19
19
  var Status3 = Connection.Status;
20
20
  function key2(connection) {
21
21
  if (!connection)
@@ -23,4 +23,4 @@ function key2(connection) {
23
23
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
24
24
  }
25
25
 
26
- export { CredentialInfo2, EnvInfo2, Info29, Status3, key2, exports_connection };
26
+ export { CredentialInfo2, EnvInfo2, Info31, Status3, key2, exports_connection };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured11,
11
- layer: () => layer24,
12
- make: () => make21,
13
- node: () => node74,
10
+ configured: () => configured6,
11
+ layer: () => layer16,
12
+ make: () => make16,
13
+ node: () => node47,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make21()
19
+ defaultValue: () => make16()
20
20
  });
21
- function make21(input = {}) {
21
+ function make16(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make21(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer24 = (input) => Layer.succeed(Metadata2, make21(input));
32
- var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
- var node74 = configured11();
31
+ var layer16 = (input) => Layer.succeed(Metadata2, make16(input));
32
+ var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer16(input), deps: [] });
33
+ var node47 = configured6();
34
34
 
35
- export { Metadata2, make21, useragent2, layer24, configured11, node74, exports_app };
35
+ export { Metadata2, make16, useragent2, layer16, configured6, node47, exports_app };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./bus-jbg63639.js";
4
+ } from "./git-9mv39jdx.js";
5
5
  import {
6
- Service77,
7
- node81
8
- } from "./bus-32sa0c0w.js";
6
+ Service76,
7
+ node80
8
+ } from "./git-eqvftjbn.js";
9
9
  import {
10
- ID10,
11
- Service67,
12
- node70
13
- } from "./bus-eqhv3z84.js";
10
+ ID18,
11
+ Service82,
12
+ node86
13
+ } from "./git-apyybb6c.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./bus-aj9wrhbp.js";
16
+ } from "./git-vjjxy6yb.js";
17
17
  import {
18
- Service65,
19
- node68
20
- } from "./bus-26qjdhj3.js";
18
+ Service71,
19
+ node75
20
+ } from "./git-z6p0ftv1.js";
21
21
  import {
22
22
  match2
23
- } from "./bus-y1fvbwt7.js";
23
+ } from "./git-y1fvbwt7.js";
24
24
  import {
25
- Service66,
26
- node69
27
- } from "./bus-bhqygd8k.js";
25
+ Service70,
26
+ node74
27
+ } from "./git-rsdkdfjj.js";
28
28
  import {
29
- Service68,
30
- node71
31
- } from "./bus-4a0nv7mx.js";
29
+ Service72,
30
+ node76
31
+ } from "./git-4w5f3qm5.js";
32
32
  import {
33
33
  __export
34
- } from "./bus-9rqn6x4v.js";
34
+ } from "./git-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,8 +42,8 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event11,
46
- ID: () => ID8,
45
+ Event: () => Event15,
46
+ ID: () => ID9,
47
47
  NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
@@ -51,21 +51,21 @@ __export(exports_permission2, {
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service64,
55
- Source: () => Source4,
54
+ Service: () => Service69,
55
+ Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node67
58
+ node: () => node73
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event11 } from "@opencode/schema/permission";
64
+ import { Event as Event15 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID8 = Permission.ID;
68
- var Source4 = Permission.Source;
67
+ var ID9 = Permission.ID;
68
+ var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
71
71
  action: Permission.Request.fields.action,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID8.pipe(Schema.optional),
80
+ id: ID9.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID10.pipe(Schema.optional)
82
+ agent: ID18.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID8,
85
+ requestID: ID9,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID8,
90
+ id: ID9,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID8
114
+ requestID: ID9
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service64 extends Context.Service()("@opencode/Permission") {
128
+ class Service69 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service64, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
- const location = yield* Service77;
133
- const agents = yield* Service67;
134
- const sessions = yield* Service65;
135
- const saved = yield* Service66;
136
- const hooks = yield* Service68;
132
+ const location = yield* Service76;
133
+ const agents = yield* Service82;
134
+ const sessions = yield* Service71;
135
+ const saved = yield* Service70;
136
+ const hooks = yield* Service72;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID8.create(),
189
+ id: input.id ?? ID9.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID8.create(), effect: "deny" };
214
+ return { id: input.id ?? ID9.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service64.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service69.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node67 = makeLocationNode({
303
- service: Service64,
302
+ var node73 = makeLocationNode({
303
+ service: Service69,
304
304
  layer,
305
- deps: [node87, node81, node70, node68, node69, node71]
305
+ deps: [node87, node80, node86, node75, node74, node76]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID8, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service64, node67, exports_permission2, Rule3, Ruleset2, Event11 };
308
+ export { PermissionEffect, ID9, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service69, node73, exports_permission2, Rule3, Ruleset2, Event15 };