@opencode/core 0.0.0-dev-21026 → 0.0.0-dev-21027

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{model-36sc5tph.js → tool-01t36tg3.js} +41 -41
  8. package/dist/chunks/{model-trrs9qjc.js → tool-07fb0sq0.js} +13 -13
  9. package/dist/chunks/{model-bxp5y3gq.js → tool-0bjrbxj3.js} +9 -9
  10. package/dist/chunks/{model-ze19dk6b.js → tool-0fgjfwm5.js} +3 -3
  11. package/dist/chunks/{model-0jwsre1p.js → tool-0jwsre1p.js} +1 -1
  12. package/dist/chunks/{model-ywkcfvf7.js → tool-0q78z8wc.js} +11 -11
  13. package/dist/chunks/{model-md6a2bpm.js → tool-0reb07hh.js} +6 -6
  14. package/dist/chunks/{model-y52pq506.js → tool-0tndnf13.js} +25 -25
  15. package/dist/chunks/{model-e9ap395p.js → tool-0vakwkee.js} +26 -26
  16. package/dist/chunks/{model-nym9wyb3.js → tool-0vawvjhj.js} +6 -6
  17. package/dist/chunks/{model-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{model-qfxf707x.js → tool-0w6w9fz6.js} +14 -14
  19. package/dist/chunks/{model-4dbz3zxd.js → tool-12j10hcs.js} +81 -81
  20. package/dist/chunks/{model-8mbscqky.js → tool-166kng33.js} +8 -8
  21. package/dist/chunks/{model-3cqwnyj9.js → tool-1bmjn0qh.js} +8 -8
  22. package/dist/chunks/{model-f0d2hz6a.js → tool-1gdff4pf.js} +8 -8
  23. package/dist/chunks/{model-21xby13n.js → tool-1sn90gb4.js} +23 -23
  24. package/dist/chunks/{model-t2az9yje.js → tool-1vezggaq.js} +4 -4
  25. package/dist/chunks/{model-pcpm970h.js → tool-20m9xb7p.js} +30 -30
  26. package/dist/chunks/{model-d7bz7cyc.js → tool-27f0285z.js} +73 -73
  27. package/dist/chunks/{model-y6cwq76b.js → tool-2ggw9qke.js} +11 -11
  28. package/dist/chunks/{model-b0w22pfr.js → tool-2jrf0397.js} +9 -9
  29. package/dist/chunks/{model-31xfzrxg.js → tool-31xfzrxg.js} +2 -2
  30. package/dist/chunks/{model-pakcngh0.js → tool-3cwb9jzf.js} +8 -8
  31. package/dist/chunks/{model-bhdyt95r.js → tool-3djbzr3c.js} +21 -21
  32. package/dist/chunks/{model-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{model-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{model-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
  35. package/dist/chunks/{model-r9jzxqvq.js → tool-3n76ftvs.js} +36 -36
  36. package/dist/chunks/{model-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{model-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{model-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{model-8hdm4x97.js → tool-4020new0.js} +8 -8
  40. package/dist/chunks/{model-pj9xvhw4.js → tool-436seg2v.js} +1 -1
  41. package/dist/chunks/{model-yg62bcth.js → tool-43fay8tn.js} +11 -11
  42. package/dist/chunks/{model-qxfsh50a.js → tool-45teq17z.js} +16 -16
  43. package/dist/chunks/{model-stpcs325.js → tool-4747cwex.js} +8 -8
  44. package/dist/chunks/{model-fx9ycnc9.js → tool-4e5pn4jt.js} +5 -5
  45. package/dist/chunks/{model-qysp5m4p.js → tool-4k8q0s1e.js} +19 -19
  46. package/dist/chunks/{model-kt26yds1.js → tool-4kj8mwjy.js} +15 -15
  47. package/dist/chunks/{model-p1pg3s4t.js → tool-4m26txwv.js} +24 -24
  48. package/dist/chunks/{model-yhtxwa5q.js → tool-4nrp0c99.js} +10 -10
  49. package/dist/chunks/{model-8kfrjq0p.js → tool-4qb6esnv.js} +33 -33
  50. package/dist/chunks/{model-rd1cgpxp.js → tool-4zp8myha.js} +20 -20
  51. package/dist/chunks/{model-sp1bq8t5.js → tool-4zs78ha8.js} +4 -4
  52. package/dist/chunks/{model-r94pvvab.js → tool-54ma36ye.js} +4 -4
  53. package/dist/chunks/{model-afb9wseb.js → tool-5627zfvx.js} +22 -22
  54. package/dist/chunks/{model-k4xvcd80.js → tool-5jkej3gj.js} +50 -50
  55. package/dist/chunks/{model-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{model-vppcbm3y.js → tool-5nfvqhja.js} +10 -10
  57. package/dist/chunks/{model-fd5g32kx.js → tool-5q5nh3sy.js} +3 -3
  58. package/dist/chunks/{model-y6xhfxcm.js → tool-5rwcywtx.js} +25 -25
  59. package/dist/chunks/{model-vq4kdd46.js → tool-6hgfbb6p.js} +18 -18
  60. package/dist/chunks/{model-fdms3n6w.js → tool-6hjx5zpb.js} +9 -9
  61. package/dist/chunks/{model-d022x100.js → tool-6htb5gr0.js} +11 -11
  62. package/dist/chunks/{model-ygdna4kr.js → tool-6kzp9tjq.js} +5 -5
  63. package/dist/chunks/{model-rkprpv83.js → tool-6pc27hjz.js} +6 -6
  64. package/dist/chunks/{model-77bypgyx.js → tool-6q8kncxp.js} +5 -5
  65. package/dist/chunks/{model-454sa7n0.js → tool-6sghnyqr.js} +14 -14
  66. package/dist/chunks/{model-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{model-5bcww33d.js → tool-6yacqn2k.js} +11 -11
  68. package/dist/chunks/{model-s13c7292.js → tool-73e552s4.js} +27 -27
  69. package/dist/chunks/{model-775gj3j1.js → tool-775gj3j1.js} +2 -2
  70. package/dist/chunks/{model-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{model-q45w12d8.js → tool-7n3bkkdp.js} +25 -25
  72. package/dist/chunks/{model-wp97teag.js → tool-7qb04ksq.js} +17 -17
  73. package/dist/chunks/{model-t79s17n5.js → tool-7qdpe4cb.js} +9 -9
  74. package/dist/chunks/{model-5m24e1bs.js → tool-7qyahes4.js} +29 -29
  75. package/dist/chunks/{model-zzzv4s15.js → tool-7tbkgw72.js} +22 -22
  76. package/dist/chunks/{model-w1eejvng.js → tool-84txncab.js} +5 -5
  77. package/dist/chunks/{model-rx4wz1w4.js → tool-871668nt.js} +11 -11
  78. package/dist/chunks/{model-89znhe33.js → tool-89znhe33.js} +1 -1
  79. package/dist/chunks/{model-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
  80. package/dist/chunks/{model-91qna3x0.js → tool-91qna3x0.js} +3 -3
  81. package/dist/chunks/{model-46mt6x8j.js → tool-96r9dk5h.js} +16 -16
  82. package/dist/chunks/{model-a3s2mkkw.js → tool-9a94vrwg.js} +40 -40
  83. package/dist/chunks/{model-1ttk16ha.js → tool-9hkdgzmv.js} +8 -8
  84. package/dist/chunks/{model-nxj57cfn.js → tool-9nr0k19d.js} +4 -4
  85. package/dist/chunks/{model-w4j701p4.js → tool-9rmtxcny.js} +8 -8
  86. package/dist/chunks/{model-tbkx8g7m.js → tool-9rz0s9vq.js} +7 -7
  87. package/dist/chunks/{model-dqvv6bdz.js → tool-9y9sk2j9.js} +2 -2
  88. package/dist/chunks/{model-8x2j076n.js → tool-9ydk86ss.js} +53 -53
  89. package/dist/chunks/{model-y2kcrf7q.js → tool-a7p75jc5.js} +12 -12
  90. package/dist/chunks/{model-0hmbxfvk.js → tool-ab5hd1e3.js} +24 -24
  91. package/dist/chunks/{model-bbnjt3hf.js → tool-abadc73r.js} +7 -7
  92. package/dist/chunks/{model-db2wf4at.js → tool-addxnjmp.js} +4 -4
  93. package/dist/chunks/{model-xxxym934.js → tool-afrtgck4.js} +4 -4
  94. package/dist/chunks/{model-3mvas6ge.js → tool-aqegtsfq.js} +5 -5
  95. package/dist/chunks/{model-pyzjd10w.js → tool-axe3mf62.js} +3 -3
  96. package/dist/chunks/{model-q8smq9rm.js → tool-az2ak1fn.js} +29 -29
  97. package/dist/chunks/{model-scgrse2b.js → tool-b3f8fkhc.js} +5 -5
  98. package/dist/chunks/{model-mm2924pv.js → tool-b6j5xzrd.js} +35 -35
  99. package/dist/chunks/{model-wt6b9xn1.js → tool-bc7dxhqv.js} +5 -5
  100. package/dist/chunks/{model-wfq6jpmw.js → tool-bjfh2y0a.js} +32 -32
  101. package/dist/chunks/{model-bd498wnj.js → tool-bjzmfjgq.js} +11 -11
  102. package/dist/chunks/{model-x2jnxxy0.js → tool-bqqze0bz.js} +20 -20
  103. package/dist/chunks/{model-gpdxzypf.js → tool-bsc349qs.js} +330 -330
  104. package/dist/chunks/{model-6jxha2sg.js → tool-bvr8yq7m.js} +33 -33
  105. package/dist/chunks/{model-p2x1ybm5.js → tool-bwp6pqna.js} +24 -24
  106. package/dist/chunks/{model-ra67jj04.js → tool-bx7n6myc.js} +9 -9
  107. package/dist/chunks/{model-7cmh32yw.js → tool-by3f32n0.js} +26 -26
  108. package/dist/chunks/{model-c1fqxshp.js → tool-c1fqxshp.js} +3 -3
  109. package/dist/chunks/{model-mnypcc0v.js → tool-c1ngfaaf.js} +9 -9
  110. package/dist/chunks/{model-ty6kwv90.js → tool-c3qawk1f.js} +22 -22
  111. package/dist/chunks/{model-124s7jg1.js → tool-c8cbefa2.js} +4 -4
  112. package/dist/chunks/{model-pg3yv55e.js → tool-ccdthk42.js} +20 -20
  113. package/dist/chunks/{model-c0q9byrh.js → tool-ccn484d6.js} +3 -3
  114. package/dist/chunks/{model-h6310vsd.js → tool-cp937pt4.js} +4 -4
  115. package/dist/chunks/{model-01rfddxe.js → tool-cv7zkw6d.js} +45 -45
  116. package/dist/chunks/{model-4q7c2z0k.js → tool-cw03ndct.js} +4 -4
  117. package/dist/chunks/{model-40fe41y2.js → tool-cz6pgrah.js} +36 -36
  118. package/dist/chunks/{model-9nthj2st.js → tool-d1weh077.js} +2 -2
  119. package/dist/chunks/{model-nxe4pcap.js → tool-d2czbp48.js} +4 -4
  120. package/dist/chunks/{model-5gagafpw.js → tool-d4658f60.js} +8 -8
  121. package/dist/chunks/{model-g5y76h12.js → tool-d4843n8f.js} +31 -31
  122. package/dist/chunks/{model-dqxsqydv.js → tool-dqxsqydv.js} +1 -1
  123. package/dist/chunks/{model-yv09eh8f.js → tool-dre3mh8q.js} +8 -8
  124. package/dist/chunks/{model-drwq78ky.js → tool-drwq78ky.js} +1 -1
  125. package/dist/chunks/{model-xfrnbqxb.js → tool-e0aypp2c.js} +7 -7
  126. package/dist/chunks/{model-x17e2yyb.js → tool-e9rp6zjw.js} +21 -21
  127. package/dist/chunks/{model-edrmdtr5.js → tool-edrmdtr5.js} +1 -1
  128. package/dist/chunks/{model-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
  129. package/dist/chunks/{model-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{model-0k9wf2hg.js → tool-efbjw4je.js} +11 -11
  131. package/dist/chunks/{model-bfh1r411.js → tool-erpzfxtv.js} +19 -19
  132. package/dist/chunks/{model-0kgrmwp0.js → tool-esxsxdtm.js} +25 -25
  133. package/dist/chunks/{model-ht3067rw.js → tool-evcnqajx.js} +27 -27
  134. package/dist/chunks/{model-2aegfh2p.js → tool-ezy28dwm.js} +11 -11
  135. package/dist/chunks/{model-jke95dby.js → tool-f124mjt0.js} +15 -15
  136. package/dist/chunks/{model-358yc98n.js → tool-f3cd59m9.js} +1 -1
  137. package/dist/chunks/{model-79vjxwag.js → tool-f5cw550v.js} +24 -24
  138. package/dist/chunks/{model-0grnp236.js → tool-fgy4jrac.js} +4 -4
  139. package/dist/chunks/{model-k1ck9wgq.js → tool-fqt76dtj.js} +11 -11
  140. package/dist/chunks/{model-r2m716tb.js → tool-ft3hqk2c.js} +9 -9
  141. package/dist/chunks/{model-ny8edt06.js → tool-fxaymqdw.js} +4 -4
  142. package/dist/chunks/{model-p37cw4rj.js → tool-g0445xdp.js} +8 -8
  143. package/dist/chunks/{model-rffh3mqk.js → tool-g0ebsb7w.js} +16 -16
  144. package/dist/chunks/{model-am4dv7bb.js → tool-g5hnex30.js} +33 -33
  145. package/dist/chunks/{model-1pgs1s3m.js → tool-g88qc0rs.js} +11 -11
  146. package/dist/chunks/{model-x5ay7k0w.js → tool-g8p1nq0c.js} +6 -6
  147. package/dist/chunks/{model-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{model-nw1b9wk3.js → tool-gj7b0stj.js} +4 -4
  149. package/dist/chunks/{model-nms2wt4g.js → tool-gk4m79v4.js} +5 -5
  150. package/dist/chunks/{model-jfw34q2z.js → tool-gyn58nzm.js} +17 -17
  151. package/dist/chunks/{model-cc080dhf.js → tool-gzxvfr9h.js} +35 -35
  152. package/dist/chunks/{model-wr1ewhk4.js → tool-h1mvd9nt.js} +5 -5
  153. package/dist/chunks/{model-jhr8jnrw.js → tool-h2n9jjkq.js} +16 -16
  154. package/dist/chunks/{model-21yyccfm.js → tool-h6bky6ca.js} +3 -3
  155. package/dist/chunks/{model-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{model-45mc4at0.js → tool-ha6a199g.js} +14 -14
  157. package/dist/chunks/{model-c3arycbm.js → tool-hfm3768t.js} +15 -15
  158. package/dist/chunks/{model-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
  159. package/dist/chunks/{model-0b5g1ynf.js → tool-hkffa77z.js} +4 -4
  160. package/dist/chunks/{model-8rw8yr2z.js → tool-hxg485bt.js} +25 -25
  161. package/dist/chunks/{model-8ng4acg9.js → tool-j4bzjt4e.js} +6 -6
  162. package/dist/chunks/{model-wmcaf8ca.js → tool-j60sz84g.js} +33 -33
  163. package/dist/chunks/{model-jk540des.js → tool-jk540des.js} +2 -2
  164. package/dist/chunks/{model-y0ymffas.js → tool-k4z4pfzw.js} +45 -45
  165. package/dist/chunks/{model-a4r1667r.js → tool-k5m21wex.js} +20 -20
  166. package/dist/chunks/{model-kfrz2jxp.js → tool-kfdkvwtq.js} +5 -5
  167. package/dist/chunks/{model-6b06eyw5.js → tool-khbn7h8s.js} +12 -12
  168. package/dist/chunks/{model-dz1h6v1j.js → tool-kjwzqyf2.js} +47 -47
  169. package/dist/chunks/{model-20f5kd3r.js → tool-kk3ptvrd.js} +50 -50
  170. package/dist/chunks/{model-r7wmahnz.js → tool-kt2d8jz0.js} +15 -15
  171. package/dist/chunks/{model-7kesx33y.js → tool-m389c5cq.js} +50 -50
  172. package/dist/chunks/{model-40sbw5pj.js → tool-m7707mrb.js} +35 -35
  173. package/dist/chunks/{model-z75pxxh7.js → tool-m8c4x33k.js} +3 -3
  174. package/dist/chunks/{model-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{model-maspj1v3.js → tool-maspj1v3.js} +1 -1
  176. package/dist/chunks/{model-kwjpkb26.js → tool-me5fzwjd.js} +17 -17
  177. package/dist/chunks/{model-pqrr6518.js → tool-meza9nwc.js} +42 -42
  178. package/dist/chunks/{model-wdz250da.js → tool-mkj7w19c.js} +28 -28
  179. package/dist/chunks/{model-bf8cw6nk.js → tool-mngzetc9.js} +15 -15
  180. package/dist/chunks/{model-pzhd9fhs.js → tool-mqf2wszw.js} +24 -24
  181. package/dist/chunks/{model-w6h1y6dq.js → tool-ms8afdx3.js} +11 -11
  182. package/dist/chunks/{model-s2z0d44b.js → tool-mv3hx7wz.js} +4 -4
  183. package/dist/chunks/{model-70spc8zb.js → tool-n2seafqy.js} +22 -22
  184. package/dist/chunks/{model-g0d965vs.js → tool-ne0v3mcr.js} +12 -12
  185. package/dist/chunks/{model-rp09h2a9.js → tool-neh9qwyn.js} +18 -18
  186. package/dist/chunks/{model-9sbgnbhh.js → tool-nfq9k2qg.js} +16 -16
  187. package/dist/chunks/{model-f2dsq0sx.js → tool-njq4v3ck.js} +30 -30
  188. package/dist/chunks/{model-wtqshrcq.js → tool-nrsgf78h.js} +11 -11
  189. package/dist/chunks/{model-99wq20s7.js → tool-p48tkg4d.js} +14 -14
  190. package/dist/chunks/{model-7pvy9pzv.js → tool-pa866ny5.js} +11 -11
  191. package/dist/chunks/{model-9xc4s1wq.js → tool-pdw1sk9c.js} +36 -36
  192. package/dist/chunks/{model-pt8t6bwe.js → tool-pes0tbvz.js} +15 -15
  193. package/dist/chunks/{model-mp3rbb49.js → tool-pewbjeww.js} +12 -12
  194. package/dist/chunks/tool-phpwwk39.js +253 -0
  195. package/dist/chunks/{model-xs3x383r.js → tool-pje47fk7.js} +12 -12
  196. package/dist/chunks/{model-vqk1e85q.js → tool-pjsqfx9m.js} +6 -6
  197. package/dist/chunks/{model-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{model-pknna89w.js → tool-pknna89w.js} +1 -1
  199. package/dist/chunks/{model-9ae44cfy.js → tool-prmgem5b.js} +6 -6
  200. package/dist/chunks/{model-b77ja0wt.js → tool-ptzgpnc3.js} +27 -27
  201. package/dist/chunks/{model-fs5hygsn.js → tool-pz1gbv8g.js} +14 -14
  202. package/dist/chunks/{model-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
  203. package/dist/chunks/{model-7d2a7xbs.js → tool-q4fmv0xv.js} +5 -5
  204. package/dist/chunks/tool-q509s3k3.js +18 -0
  205. package/dist/chunks/tool-q9a0p4yb.js +26 -0
  206. package/dist/chunks/{model-zfq801h6.js → tool-qn56gx0x.js} +6 -6
  207. package/dist/chunks/{model-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{model-qsdy395h.js → tool-qsdy395h.js} +1 -1
  209. package/dist/chunks/{model-hgqgzfp7.js → tool-r0s4cps9.js} +13 -13
  210. package/dist/chunks/{model-f2n192rq.js → tool-r8xr0va3.js} +4 -4
  211. package/dist/chunks/{model-y8zy7amg.js → tool-r8yr4pbq.js} +16 -16
  212. package/dist/chunks/{model-xgwqb5jk.js → tool-rd6jcjw6.js} +26 -26
  213. package/dist/chunks/{model-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{model-rert0e01.js → tool-rert0e01.js} +2 -2
  215. package/dist/chunks/{model-rj3eygr5.js → tool-rj3eygr5.js} +2 -2
  216. package/dist/chunks/{model-6vvy3pkk.js → tool-rkea8fjp.js} +21 -21
  217. package/dist/chunks/{model-ctn84etg.js → tool-rpdh36zp.js} +24 -24
  218. package/dist/chunks/{model-43xeh9aq.js → tool-rrbf5752.js} +4 -4
  219. package/dist/chunks/{model-vw126e4d.js → tool-s1mwa3em.js} +17 -17
  220. package/dist/chunks/{model-5deaz9jv.js → tool-s5jbqbt2.js} +4 -4
  221. package/dist/chunks/{model-t550f9t1.js → tool-s8d7rejh.js} +4 -4
  222. package/dist/chunks/{model-xbnpeec3.js → tool-s90vv90s.js} +34 -34
  223. package/dist/chunks/{model-sa8ekw3f.js → tool-sa8ekw3f.js} +2 -2
  224. package/dist/chunks/{model-1hc858k7.js → tool-sbhhmpa1.js} +5 -5
  225. package/dist/chunks/{model-559cv5mq.js → tool-sexk3xwd.js} +43 -43
  226. package/dist/chunks/{model-b096sb2f.js → tool-sjs4cgq8.js} +13 -13
  227. package/dist/chunks/{model-m9m2bw1x.js → tool-swcgf9tw.js} +70 -70
  228. package/dist/chunks/{model-8y6qxnd2.js → tool-swg2czr5.js} +32 -32
  229. package/dist/chunks/{model-e80seqcp.js → tool-sxcaecc0.js} +3 -3
  230. package/dist/chunks/{model-15cj51dt.js → tool-sxd457kj.js} +18 -18
  231. package/dist/chunks/{model-syv4x271.js → tool-syv4x271.js} +1 -1
  232. package/dist/chunks/{model-csjs0rgm.js → tool-sz25zewp.js} +14 -14
  233. package/dist/chunks/{model-m2y34ngg.js → tool-t25nyb44.js} +18 -18
  234. package/dist/chunks/{model-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{model-tdstcens.js → tool-tdstcens.js} +1 -1
  236. package/dist/chunks/{model-tm0kqsz3.js → tool-tm0kqsz3.js} +1 -1
  237. package/dist/chunks/{model-v6wtv6sh.js → tool-tmdsjbh9.js} +14 -14
  238. package/dist/chunks/{model-6g25qtd6.js → tool-tnpc41a5.js} +3 -3
  239. package/dist/chunks/{model-d70j4vcr.js → tool-trhb4xzf.js} +41 -41
  240. package/dist/chunks/{model-zpegy5y1.js → tool-trpqdd18.js} +13 -13
  241. package/dist/chunks/{model-tyytaxap.js → tool-tyytaxap.js} +1 -1
  242. package/dist/chunks/{model-tg7bkhef.js → tool-v0es1rhs.js} +7 -7
  243. package/dist/chunks/{model-zf7skas7.js → tool-v0hgep7b.js} +20 -20
  244. package/dist/chunks/{model-mrpe8yp5.js → tool-v703bhdd.js} +35 -35
  245. package/dist/chunks/{model-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
  246. package/dist/chunks/{model-h99738j4.js → tool-vcvkpszh.js} +12 -12
  247. package/dist/chunks/{model-veqvce7d.js → tool-veqvce7d.js} +1 -1
  248. package/dist/chunks/{model-vrrq7v3g.js → tool-vrrq7v3g.js} +2 -2
  249. package/dist/chunks/{model-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{model-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{model-scgz3sns.js → tool-w4dca2d6.js} +27 -27
  252. package/dist/chunks/{model-wd87259q.js → tool-wd87259q.js} +1 -1
  253. package/dist/chunks/{model-3855cc73.js → tool-wj5c1p6d.js} +48 -48
  254. package/dist/chunks/{model-bjx1sjef.js → tool-wjr9rjd7.js} +6 -6
  255. package/dist/chunks/{model-mw0c0vj6.js → tool-wx95s5vn.js} +26 -26
  256. package/dist/chunks/{model-y9y8j1f2.js → tool-wy6dfgcn.js} +23 -23
  257. package/dist/chunks/{model-gd6gh308.js → tool-x0rtsm8e.js} +185 -185
  258. package/dist/chunks/{model-7rxph2nn.js → tool-x1dvw4cn.js} +13 -13
  259. package/dist/chunks/{model-gb2d0a3q.js → tool-x3cmp8k1.js} +37 -37
  260. package/dist/chunks/{model-vfw5w8v2.js → tool-x988sc1p.js} +17 -17
  261. package/dist/chunks/{model-n52gv0t2.js → tool-xbprrnbe.js} +26 -26
  262. package/dist/chunks/{model-r85h4k88.js → tool-xc0stz1c.js} +33 -33
  263. package/dist/chunks/{model-0cqcz89e.js → tool-xcwxhh1p.js} +9 -9
  264. package/dist/chunks/{model-qq8gj99e.js → tool-xfemfc1r.js} +14 -14
  265. package/dist/chunks/{model-mq6shjb6.js → tool-xhx94tt7.js} +9 -9
  266. package/dist/chunks/{model-58hng72m.js → tool-xj1aydcy.js} +5 -5
  267. package/dist/chunks/{model-e70pe916.js → tool-xqdej0ab.js} +20 -20
  268. package/dist/chunks/{model-6xcvt31d.js → tool-xybefm6f.js} +1 -1
  269. package/dist/chunks/{model-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{model-y71avatq.js → tool-y71avatq.js} +1 -1
  271. package/dist/chunks/{model-trya7axm.js → tool-y945vb8n.js} +8 -8
  272. package/dist/chunks/{model-q9z6c42s.js → tool-yd16xvn4.js} +9 -9
  273. package/dist/chunks/{model-31zph7gx.js → tool-yvqbnyr5.js} +32 -32
  274. package/dist/chunks/{model-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{model-gnngpsss.js → tool-z3zv6y4t.js} +34 -34
  276. package/dist/chunks/{model-4acmj4he.js → tool-z7bx7nj5.js} +7 -7
  277. package/dist/chunks/{model-4qa4eb2f.js → tool-ze6bq4cz.js} +5 -5
  278. package/dist/chunks/{model-0g9exnkr.js → tool-zm3rhkfq.js} +11 -11
  279. package/dist/chunks/{model-mz8as577.js → tool-zpbcv7tg.js} +3 -3
  280. package/dist/chunks/{model-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{model-7ca3xte1.js → tool-zrr3y58q.js} +10 -10
  282. package/dist/chunks/{model-8fh9asg7.js → tool-zsf4swtr.js} +15 -15
  283. package/dist/chunks/{model-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +3 -3
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +120 -120
  293. package/dist/config/plugin/command.js +209 -209
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +118 -118
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +127 -127
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +139 -139
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +121 -121
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +68 -68
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +76 -76
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +108 -108
  424. package/dist/form.js +86 -86
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +93 -93
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +84 -84
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +89 -89
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +101 -101
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +93 -93
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +102 -102
  475. package/dist/models-dev.js +101 -101
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +84 -84
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +111 -111
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +88 -88
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +78 -78
  486. package/dist/plugin/command.js +104 -104
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +127 -127
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +120 -120
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +76 -76
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +346 -346
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +6 -6
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +90 -90
  557. package/dist/provider.js +101 -101
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +99 -99
  561. package/dist/reference/instructions.js +89 -89
  562. package/dist/reference.js +91 -91
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +97 -97
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +3 -3
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +137 -137
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +216 -216
  578. package/dist/session/execution.js +129 -129
  579. package/dist/session/generate.js +156 -156
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +92 -92
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +81 -81
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +127 -127
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +127 -127
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +164 -164
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +107 -107
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +89 -89
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +212 -212
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +207 -207
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +11 -11
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +110 -110
  627. package/dist/snapshot.js +95 -95
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +122 -122
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +126 -126
  635. package/dist/tool/plugin/grep.js +126 -126
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +124 -124
  639. package/dist/tool/plugin/question.js +103 -103
  640. package/dist/tool/plugin/read.js +127 -127
  641. package/dist/tool/plugin/shell.js +210 -210
  642. package/dist/tool/plugin/skill.js +113 -113
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +112 -112
  645. package/dist/tool/plugin/websearch.js +114 -114
  646. package/dist/tool/plugin/write.js +124 -124
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +16 -16
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +1 -1
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +2 -2
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +1 -1
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +93 -93
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +91 -91
  672. package/dist/websearch.js +84 -84
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +81 -81
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +84 -84
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +98 -98
  683. package/package.json +8 -8
  684. package/dist/chunks/model-19rpp6m5.js +0 -253
  685. package/dist/chunks/model-b54ntt24.js +0 -26
  686. package/dist/chunks/model-pf31ssb9.js +0 -18
  687. /package/dist/chunks/{model-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{model-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{model-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{model-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{model-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{model-24dcb14g.js → tool-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{model-2710q6r3.js → tool-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{model-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{model-2bv980vf.js → tool-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{model-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{model-359p4xyc.js → tool-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{model-3asan66x.js → tool-3asan66x.js} +0 -0
  699. /package/dist/chunks/{model-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{model-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{model-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{model-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{model-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{model-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{model-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{model-53557ph1.js → tool-53557ph1.js} +0 -0
  707. /package/dist/chunks/{model-550bvhaj.js → tool-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{model-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
  709. /package/dist/chunks/{model-6prwharc.js → tool-6prwharc.js} +0 -0
  710. /package/dist/chunks/{model-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{model-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{model-7m9af43g.js → tool-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{model-822emrt2.js → tool-822emrt2.js} +0 -0
  714. /package/dist/chunks/{model-84wd9syh.js → tool-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{model-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{model-8n3pysct.js → tool-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{model-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{model-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{model-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{model-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{model-af5trqkr.js → tool-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{model-afrmfg78.js → tool-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{model-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{model-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{model-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{model-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{model-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{model-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{model-d9fn303g.js → tool-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{model-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{model-dajrwvna.js → tool-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{model-dap0rakb.js → tool-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{model-df08tz66.js → tool-df08tz66.js} +0 -0
  734. /package/dist/chunks/{model-dy18nga0.js → tool-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{model-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{model-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{model-ec1grn59.js → tool-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{model-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{model-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{model-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{model-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{model-faypxj3z.js → tool-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{model-fd410y7t.js → tool-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{model-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{model-g86h250q.js → tool-g86h250q.js} +0 -0
  746. /package/dist/chunks/{model-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{model-gftt206x.js → tool-gftt206x.js} +0 -0
  748. /package/dist/chunks/{model-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{model-hk9envan.js → tool-hk9envan.js} +0 -0
  750. /package/dist/chunks/{model-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{model-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{model-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{model-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{model-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{model-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{model-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{model-m18g726c.js → tool-m18g726c.js} +0 -0
  758. /package/dist/chunks/{model-mp448xyj.js → tool-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{model-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{model-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{model-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{model-njntx4h6.js → tool-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{model-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{model-pyv0edze.js → tool-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{model-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{model-q74kybfr.js → tool-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{model-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{model-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{model-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{model-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{model-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{model-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{model-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{model-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{model-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{model-w803qqfp.js → tool-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{model-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{model-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{model-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{model-wtztk69x.js → tool-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{model-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{model-x61499pn.js → tool-x61499pn.js} +0 -0
  783. /package/dist/chunks/{model-y44na4kk.js → tool-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{model-y8f7s663.js → tool-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{model-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{model-ym463w8f.js → tool-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{model-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{model-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-2aegfh2p.js";
3
+ } from "./tool-ezy28dwm.js";
4
4
  import {
5
5
  OAuth3,
6
- Service64
7
- } from "./model-g5y76h12.js";
6
+ Service79
7
+ } from "./tool-d4843n8f.js";
8
8
  import {
9
- ID12,
9
+ ID14,
10
10
  MethodID2
11
- } from "./model-5m24e1bs.js";
11
+ } from "./tool-7qyahes4.js";
12
12
  import {
13
- ID11,
13
+ ID13,
14
14
  mergeOverlay2
15
- } from "./model-am4dv7bb.js";
15
+ } from "./tool-g5hnex30.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID11.make("xai");
27
+ var providerID = ID13.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID12.make("xai"),
47
+ integrationID: ID14.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service64;
73
- yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
72
+ const credentials = yield* Service79;
73
+ yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  Service85
3
- } from "./model-c0q9byrh.js";
3
+ } from "./tool-ccn484d6.js";
4
4
  import {
5
- Service34
6
- } from "./model-9ae44cfy.js";
5
+ Service64
6
+ } from "./tool-prmgem5b.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./model-pf31ssb9.js";
9
+ } from "./tool-q509s3k3.js";
10
10
  import {
11
11
  provenance2
12
- } from "./model-nxe4pcap.js";
12
+ } from "./tool-d2czbp48.js";
13
13
  import {
14
14
  preview2
15
- } from "./model-w4j701p4.js";
15
+ } from "./tool-9rmtxcny.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./model-wmcaf8ca.js";
18
+ } from "./tool-j60sz84g.js";
19
19
  import {
20
20
  Service20
21
- } from "./model-d7bz7cyc.js";
21
+ } from "./tool-27f0285z.js";
22
22
  import {
23
23
  __export
24
- } from "./model-9rqn6x4v.js";
24
+ } from "./tool-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate = {};
28
- __export(exports_generate, {
29
- SessionGenerate: () => exports_generate,
27
+ var exports_generate2 = {};
28
+ __export(exports_generate2, {
29
+ SessionGenerate: () => exports_generate2,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service34;
35
+ const instances = yield* Service64;
36
36
  const database = yield* Service85;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate };
74
+ export { generate2, exports_generate2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service42
4
- } from "./model-3855cc73.js";
3
+ Service36
4
+ } from "./tool-wj5c1p6d.js";
5
5
  import {
6
- Service66
7
- } from "./model-yg62bcth.js";
6
+ Service43
7
+ } from "./tool-43fay8tn.js";
8
8
  import {
9
9
  observe2
10
- } from "./model-qsdy395h.js";
10
+ } from "./tool-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./model-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin31
19
+ Plugin: () => Plugin14
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin31 = define({
23
+ var Plugin14 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service42;
27
- const output = yield* Service66;
26
+ const config = yield* Service36;
27
+ const output = yield* Service43;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin31 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin31, exports_tool_output };
41
+ export { Plugin14, exports_tool_output };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./model-hgz4x7wa.js";
5
+ } from "./tool-hgz4x7wa.js";
6
6
  import {
7
- Service78
8
- } from "./model-46mt6x8j.js";
7
+ Service81
8
+ } from "./tool-96r9dk5h.js";
9
9
  import {
10
- Service71
11
- } from "./model-ctn84etg.js";
10
+ Service59
11
+ } from "./tool-rpdh36zp.js";
12
12
  import {
13
- Service52
14
- } from "./model-pt8t6bwe.js";
13
+ Service44
14
+ } from "./tool-pes0tbvz.js";
15
15
  import {
16
- Service15,
16
+ Service53,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./model-b096sb2f.js";
19
+ } from "./tool-sjs4cgq8.js";
20
20
  import {
21
- Service56
22
- } from "./model-8x2j076n.js";
21
+ Service71
22
+ } from "./tool-9ydk86ss.js";
23
23
  import {
24
- Service55,
24
+ Service16,
25
25
  resolvePath2
26
- } from "./model-rp09h2a9.js";
26
+ } from "./tool-neh9qwyn.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./model-6prwharc.js";
29
+ } from "./tool-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./model-9rqn6x4v.js";
32
+ } from "./tool-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input5,
39
- Output: () => Output5,
38
+ Input: () => Input11,
39
+ Output: () => Output8,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin39,
42
- name: () => name5,
43
- toModelContent: () => toModelContent4
41
+ Plugin: () => Plugin48,
42
+ name: () => name11,
43
+ toModelContent: () => toModelContent6
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name5 = "patch";
89
- var Input5 = Schema.Struct({
88
+ var name11 = "patch";
89
+ var Input11 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output5 = Schema.Struct({
99
+ var Output8 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent4 = (output) => [
103
+ var toModelContent6 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin39 = {
108
+ var Plugin48 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service71;
112
- const access = yield* Service55;
113
- const fileMutation = yield* Service15;
114
- const formatter = yield* Service52;
115
- const location = yield* Service78;
116
- const permission = yield* Service56;
111
+ const environment = yield* Service59;
112
+ const access = yield* Service16;
113
+ const fileMutation = yield* Service53;
114
+ const formatter = yield* Service44;
115
+ const location = yield* Service81;
116
+ const permission = yield* Service71;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name5,
118
+ name: name11,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input5,
122
- output: Output5,
121
+ input: Input11,
122
+ output: Output8,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin39 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent4(output),
269
+ content: toModelContent6(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name5, Input5, Applied2, Output5, toModelContent4, Plugin39, exports_patch };
329
+ export { name11, Input11, Applied2, Output8, toModelContent6, Plugin48, exports_patch };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./model-46mt6x8j.js";
2
+ Service81,
3
+ node85
4
+ } from "./tool-96r9dk5h.js";
5
5
  import {
6
6
  create3
7
- } from "./model-rdw6cm16.js";
7
+ } from "./tool-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./model-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service52,
17
- node: () => node54
16
+ Service: () => Service44,
17
+ node: () => node48
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service52 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service44 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service52, Effect.gen(function* () {
27
- const location = yield* Service78;
26
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
27
+ const location = yield* Service81;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service52.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service44.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node54 = makeLocationNode({
91
- service: Service52,
90
+ var node48 = makeLocationNode({
91
+ service: Service44,
92
92
  layer,
93
- deps: [node82, AppProcess.node]
93
+ deps: [node85, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service52, node54, exports_formatter2 };
96
+ export { Service44, node48, exports_formatter2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-z5v4ffb3.js";
4
+ } from "./tool-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./model-y71avatq.js";
7
+ } from "./tool-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./model-tazgh4e4.js";
12
+ } from "./tool-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./model-ef5x83kb.js";
15
+ } from "./tool-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./model-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service82,
26
+ Service: () => Service84,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node86
30
+ node: () => node88
31
31
  });
32
32
  import path from "path";
33
33
  import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
100
100
  }) {
101
101
  }
102
102
 
103
- class Service82 extends Context.Service()("@opencode/Git") {
103
+ class Service84 extends Context.Service()("@opencode/Git") {
104
104
  }
105
- var layer = Layer.effect(Service82, Effect.gen(function* () {
105
+ var layer = Layer.effect(Service84, Effect.gen(function* () {
106
106
  const fs = yield* FSUtil.Service;
107
107
  const proc = yield* AppProcess.Service;
108
108
  const locks = makeUnsafe2();
@@ -717,7 +717,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
717
717
  kind: index === 0 ? "main" : "linked"
718
718
  }));
719
719
  });
720
- return Service82.of({
720
+ return Service84.of({
721
721
  repo: { discover, clone, create },
722
722
  remote: { get: remote },
723
723
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -734,7 +734,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
734
734
  objects: { pack: packObjects }
735
735
  });
736
736
  }));
737
- var node86 = makeGlobalNode({ service: Service82, layer, deps: [FSUtil.node, AppProcess.node] });
737
+ var node88 = makeGlobalNode({ service: Service84, layer, deps: [FSUtil.node, AppProcess.node] });
738
738
  function run(cwd, proc, args) {
739
739
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
740
740
  }
@@ -801,4 +801,4 @@ function resolvePath(cwd, value) {
801
801
  return path.resolve(cwd, normalized);
802
802
  }
803
803
 
804
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service82, node86, exports_git3 };
804
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service84, node88, exports_git3 };
@@ -0,0 +1,253 @@
1
+ import {
2
+ node78
3
+ } from "./tool-ab5hd1e3.js";
4
+ import {
5
+ node84
6
+ } from "./tool-w4dca2d6.js";
7
+ import {
8
+ node82
9
+ } from "./tool-7qyahes4.js";
10
+ import {
11
+ node85,
12
+ boundNode2
13
+ } from "./tool-96r9dk5h.js";
14
+ import {
15
+ node81
16
+ } from "./tool-g5hnex30.js";
17
+ import {
18
+ node80
19
+ } from "./tool-ms8afdx3.js";
20
+ import {
21
+ node71
22
+ } from "./tool-bvr8yq7m.js";
23
+ import {
24
+ node43
25
+ } from "./tool-0tndnf13.js";
26
+ import {
27
+ configured5,
28
+ node40
29
+ } from "./tool-wj5c1p6d.js";
30
+ import {
31
+ node63
32
+ } from "./tool-rpdh36zp.js";
33
+ import {
34
+ node57
35
+ } from "./tool-sjs4cgq8.js";
36
+ import {
37
+ node48
38
+ } from "./tool-pes0tbvz.js";
39
+ import {
40
+ node45
41
+ } from "./tool-njq4v3ck.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node44
45
+ } from "./tool-z3zv6y4t.js";
46
+ import {
47
+ node70
48
+ } from "./tool-k4z4pfzw.js";
49
+ import {
50
+ node20
51
+ } from "./tool-v0hgep7b.js";
52
+ import {
53
+ node59
54
+ } from "./tool-7qdpe4cb.js";
55
+ import {
56
+ node33
57
+ } from "./tool-trhb4xzf.js";
58
+ import {
59
+ Service64,
60
+ node68
61
+ } from "./tool-prmgem5b.js";
62
+ import {
63
+ node29
64
+ } from "./tool-hfm3768t.js";
65
+ import {
66
+ node79
67
+ } from "./tool-166kng33.js";
68
+ import {
69
+ node75
70
+ } from "./tool-9ydk86ss.js";
71
+ import {
72
+ node67
73
+ } from "./tool-r0s4cps9.js";
74
+ import {
75
+ configured8,
76
+ node51
77
+ } from "./tool-5rwcywtx.js";
78
+ import {
79
+ node30
80
+ } from "./tool-h2n9jjkq.js";
81
+ import {
82
+ node58
83
+ } from "./tool-7n3bkkdp.js";
84
+ import {
85
+ node32
86
+ } from "./tool-kt2d8jz0.js";
87
+ import {
88
+ node42
89
+ } from "./tool-az2ak1fn.js";
90
+ import {
91
+ node25
92
+ } from "./tool-mngzetc9.js";
93
+ import {
94
+ node35
95
+ } from "./tool-bwp6pqna.js";
96
+ import {
97
+ node24
98
+ } from "./tool-4zp8myha.js";
99
+ import {
100
+ node23
101
+ } from "./tool-27f0285z.js";
102
+ import {
103
+ node34
104
+ } from "./tool-4qb6esnv.js";
105
+ import {
106
+ node53
107
+ } from "./tool-nfq9k2qg.js";
108
+ import {
109
+ node47
110
+ } from "./tool-43fay8tn.js";
111
+ import {
112
+ node38
113
+ } from "./tool-kk3ptvrd.js";
114
+ import {
115
+ node55
116
+ } from "./tool-t25nyb44.js";
117
+ import {
118
+ node46
119
+ } from "./tool-mqf2wszw.js";
120
+ import {
121
+ node36
122
+ } from "./tool-xbprrnbe.js";
123
+ import {
124
+ node61
125
+ } from "./tool-3djbzr3c.js";
126
+ import {
127
+ node19
128
+ } from "./tool-5627zfvx.js";
129
+ import {
130
+ node14
131
+ } from "./tool-bjfh2y0a.js";
132
+ import {
133
+ Service50,
134
+ node54
135
+ } from "./tool-cz6pgrah.js";
136
+ import {
137
+ node18
138
+ } from "./tool-neh9qwyn.js";
139
+ import {
140
+ node6,
141
+ bound2
142
+ } from "./tool-g0445xdp.js";
143
+ import {
144
+ node11
145
+ } from "./tool-cv7zkw6d.js";
146
+ import {
147
+ node12
148
+ } from "./tool-c3qawk1f.js";
149
+ import {
150
+ node8
151
+ } from "./tool-me5fzwjd.js";
152
+ import {
153
+ node2
154
+ } from "./tool-meza9nwc.js";
155
+ import {
156
+ node17
157
+ } from "./tool-gzxvfr9h.js";
158
+ import {
159
+ node13
160
+ } from "./tool-rd6jcjw6.js";
161
+ import {
162
+ node9
163
+ } from "./tool-swcgf9tw.js";
164
+ import {
165
+ __export
166
+ } from "./tool-9rqn6x4v.js";
167
+
168
+ // src/instance.ts
169
+ var exports_instance = {};
170
+ __export(exports_instance, {
171
+ Instance: () => exports_instance,
172
+ Service: () => Service64,
173
+ graph: () => graph2,
174
+ layer: () => layer2,
175
+ node: () => node68
176
+ });
177
+ import { Context, Effect, Layer } from "effect";
178
+ import { LayerNode } from "@opencode/util/effect/layer-node";
179
+ import { Node } from "@opencode/util/effect/app-node";
180
+ var nodes = [
181
+ node85,
182
+ node54,
183
+ node63,
184
+ node40,
185
+ node78,
186
+ node43,
187
+ node42,
188
+ node55,
189
+ node36,
190
+ node82,
191
+ node81,
192
+ node71,
193
+ node70,
194
+ node80,
195
+ node19,
196
+ node79,
197
+ node6,
198
+ node2,
199
+ node61,
200
+ node45,
201
+ node44,
202
+ node53,
203
+ node17,
204
+ node38,
205
+ node35,
206
+ node30,
207
+ node51,
208
+ node18,
209
+ node57,
210
+ node48,
211
+ node33,
212
+ node75,
213
+ node58,
214
+ node47,
215
+ node59,
216
+ node24,
217
+ node25,
218
+ node29,
219
+ node84,
220
+ node20,
221
+ node8,
222
+ node32,
223
+ node12,
224
+ node67,
225
+ node11,
226
+ node13,
227
+ node23,
228
+ node34,
229
+ node9,
230
+ node46,
231
+ node14
232
+ ];
233
+ var graph2 = LayerNode.group(nodes);
234
+ var vanillaReplacements = [
235
+ node40.replace(configured5({ project: false, global: false })),
236
+ node51.replace(configured8({ project: false, global: false }))
237
+ ];
238
+ function layer2(ref, options = {}) {
239
+ const startedAt = performance.now();
240
+ const replacements = [
241
+ ...options.discovery === false ? vanillaReplacements : [],
242
+ ...options.replacements ?? [],
243
+ node85.replace(boundNode2(ref)),
244
+ node6.replace(bound2(options.plugins ?? []))
245
+ ];
246
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service50).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
247
+ directory: ref.directory,
248
+ workspaceID: ref.workspaceID,
249
+ durationMs: Math.round(performance.now() - startedAt)
250
+ })));
251
+ }
252
+
253
+ export { graph2, layer2, exports_instance };