@opencode/core 0.0.0-dev-21799 → 0.0.0-dev-21801

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{bus-034tev2y.js → tool-output-034tev2y.js} +2 -2
  8. package/dist/chunks/{bus-wqn1yeqd.js → tool-output-0c7nc8tn.js} +9 -9
  9. package/dist/chunks/{bus-rgwqxpz0.js → tool-output-0srp2sh0.js} +21 -21
  10. package/dist/chunks/{bus-hj7n8j55.js → tool-output-0tfekwr7.js} +3 -3
  11. package/dist/chunks/{bus-e76r8gh4.js → tool-output-12tah04a.js} +13 -13
  12. package/dist/chunks/{bus-944chywr.js → tool-output-1cyprt5w.js} +1 -1
  13. package/dist/chunks/{bus-1ep2p91f.js → tool-output-1ep2p91f.js} +2 -2
  14. package/dist/chunks/{bus-h7qqxn3z.js → tool-output-1r0janqk.js} +5 -5
  15. package/dist/chunks/{bus-s9f1b4gk.js → tool-output-1tvtyxqv.js} +11 -11
  16. package/dist/chunks/{bus-0washmxq.js → tool-output-1v9xeggz.js} +5 -5
  17. package/dist/chunks/{bus-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
  18. package/dist/chunks/{bus-s78fym6c.js → tool-output-1xfs8wvw.js} +11 -11
  19. package/dist/chunks/{bus-2kg89srt.js → tool-output-1y0wdj51.js} +9 -9
  20. package/dist/chunks/{bus-1yq9hg58.js → tool-output-1yq9hg58.js} +1 -1
  21. package/dist/chunks/{bus-92kck2y6.js → tool-output-248g8pq7.js} +17 -17
  22. package/dist/chunks/{bus-5jyzdfdp.js → tool-output-2bexbmx7.js} +1 -1
  23. package/dist/chunks/{bus-8k2rgs9p.js → tool-output-2dfk453x.js} +21 -21
  24. package/dist/chunks/{bus-mef2v0hb.js → tool-output-2fjzbpqs.js} +38 -38
  25. package/dist/chunks/{bus-v6a3varz.js → tool-output-2ge2z4cg.js} +23 -23
  26. package/dist/chunks/{bus-cmqmfdz6.js → tool-output-2p2a88gw.js} +21 -21
  27. package/dist/chunks/{bus-xbewfx7c.js → tool-output-2qj28n5c.js} +6 -6
  28. package/dist/chunks/{bus-bxet2tb6.js → tool-output-2wjqwetp.js} +5 -5
  29. package/dist/chunks/{bus-2z1j29yd.js → tool-output-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{bus-32dt8sm6.js → tool-output-33jn8j87.js} +10 -10
  31. package/dist/chunks/{bus-e1ebsv1y.js → tool-output-39k15pn6.js} +10 -10
  32. package/dist/chunks/{bus-9ewhr0ht.js → tool-output-3dg4aj2t.js} +18 -18
  33. package/dist/chunks/{bus-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{bus-938aw1cc.js → tool-output-3j1ep4vq.js} +24 -24
  35. package/dist/chunks/{bus-6xqtcmxs.js → tool-output-3kdbrncp.js} +5 -5
  36. package/dist/chunks/{bus-3nnrz6f6.js → tool-output-3nnrz6f6.js} +1 -1
  37. package/dist/chunks/{bus-sy8wf0bt.js → tool-output-3nzkha57.js} +34 -34
  38. package/dist/chunks/{bus-1k7qz9q5.js → tool-output-3p7agaaw.js} +9 -9
  39. package/dist/chunks/{bus-7j2sygsw.js → tool-output-3q5vep8y.js} +8 -8
  40. package/dist/chunks/{bus-c6x7d2ts.js → tool-output-3ryz99p0.js} +4 -4
  41. package/dist/chunks/{bus-9bhv2far.js → tool-output-3sk8enc1.js} +8 -8
  42. package/dist/chunks/{bus-gq5fh3wz.js → tool-output-3ssszjcv.js} +27 -27
  43. package/dist/chunks/{bus-t0w4g24n.js → tool-output-3vdwfrk9.js} +5 -5
  44. package/dist/chunks/{bus-5gxhssq1.js → tool-output-3y4503xd.js} +4 -4
  45. package/dist/chunks/{bus-kwxbdf35.js → tool-output-4aqtdhks.js} +27 -27
  46. package/dist/chunks/{bus-e5qvdp4b.js → tool-output-4gxtsg4q.js} +33 -33
  47. package/dist/chunks/{bus-pzdmxvfw.js → tool-output-4pw54185.js} +40 -40
  48. package/dist/chunks/{bus-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
  49. package/dist/chunks/{bus-n2gw1p1h.js → tool-output-59fxmd0j.js} +27 -27
  50. package/dist/chunks/{bus-hyqz6d44.js → tool-output-5dab8ama.js} +8 -8
  51. package/dist/chunks/{bus-dwasj5q9.js → tool-output-5fgbm0wv.js} +1 -1
  52. package/dist/chunks/{bus-3amawdtd.js → tool-output-5frcv4v0.js} +14 -14
  53. package/dist/chunks/{bus-21pdxbx2.js → tool-output-5kbev7nh.js} +6 -6
  54. package/dist/chunks/{bus-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{bus-e3qxr5gk.js → tool-output-5qd3pb7m.js} +2 -2
  56. package/dist/chunks/{bus-p4stbfde.js → tool-output-5v6z662y.js} +19 -19
  57. package/dist/chunks/{bus-fbeje3j4.js → tool-output-60p7g2te.js} +8 -8
  58. package/dist/chunks/{bus-zzdv5d93.js → tool-output-61ennm6n.js} +4 -4
  59. package/dist/chunks/{bus-38xznjs4.js → tool-output-6285fq4d.js} +8 -8
  60. package/dist/chunks/{bus-kjh8rrq6.js → tool-output-63hkdzbg.js} +1 -1
  61. package/dist/chunks/{bus-8sz8b50m.js → tool-output-682mbbtd.js} +4 -4
  62. package/dist/chunks/{bus-zysm0ng8.js → tool-output-68kb9z9h.js} +12 -12
  63. package/dist/chunks/{bus-9qx86p98.js → tool-output-69gn191w.js} +23 -23
  64. package/dist/chunks/{bus-kasrxtf2.js → tool-output-6aqbrqep.js} +32 -32
  65. package/dist/chunks/{bus-6esdw8yj.js → tool-output-6esdw8yj.js} +1 -1
  66. package/dist/chunks/{bus-ztjhcqny.js → tool-output-6gm7hc9m.js} +35 -35
  67. package/dist/chunks/{bus-yth42b8q.js → tool-output-6pj63jbt.js} +50 -50
  68. package/dist/chunks/{bus-6pjqjmy2.js → tool-output-6pjqjmy2.js} +1 -1
  69. package/dist/chunks/{bus-f2e2a0hz.js → tool-output-6px9atyk.js} +11 -11
  70. package/dist/chunks/{bus-h8vhq97h.js → tool-output-6xaz3aew.js} +19 -19
  71. package/dist/chunks/{bus-j7naznmb.js → tool-output-70h1qnfn.js} +13 -13
  72. package/dist/chunks/{bus-76cb1hcw.js → tool-output-76cb1hcw.js} +1 -1
  73. package/dist/chunks/{bus-nah043kf.js → tool-output-770pw0s1.js} +4 -4
  74. package/dist/chunks/{bus-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{bus-4vh1jrr3.js → tool-output-7nv1f492.js} +20 -20
  76. package/dist/chunks/{bus-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{bus-0w2jttgf.js → tool-output-7yect7x1.js} +2 -2
  78. package/dist/chunks/{bus-jphwvgs8.js → tool-output-81a9zpe2.js} +8 -8
  79. package/dist/chunks/{bus-c75w93q9.js → tool-output-87ksbwny.js} +41 -41
  80. package/dist/chunks/{bus-ka01146j.js → tool-output-89sdcr2v.js} +6 -6
  81. package/dist/chunks/{bus-qjgzc4b4.js → tool-output-8jztxfpf.js} +4 -4
  82. package/dist/chunks/{bus-d7ke2zsv.js → tool-output-8nfppp0x.js} +35 -35
  83. package/dist/chunks/{bus-q2w5xen3.js → tool-output-8tapzm2v.js} +13 -13
  84. package/dist/chunks/{bus-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
  85. package/dist/chunks/{bus-qd8axg02.js → tool-output-8xppqwrp.js} +15 -15
  86. package/dist/chunks/{bus-91rj84md.js → tool-output-91rj84md.js} +1 -1
  87. package/dist/chunks/{bus-wdv0vama.js → tool-output-96ym0hte.js} +10 -10
  88. package/dist/chunks/{bus-998yhzzq.js → tool-output-998yhzzq.js} +3 -3
  89. package/dist/chunks/{bus-21g64681.js → tool-output-9dj7pbca.js} +23 -23
  90. package/dist/chunks/{bus-vqjdwf3w.js → tool-output-9jbwxrha.js} +22 -22
  91. package/dist/chunks/{bus-87bd8ecw.js → tool-output-9nha6yk0.js} +8 -8
  92. package/dist/chunks/{bus-4tqs0jzk.js → tool-output-9tvpxs1q.js} +4 -4
  93. package/dist/chunks/{bus-dyjhv7x6.js → tool-output-9vd6zvz7.js} +20 -20
  94. package/dist/chunks/{bus-akqrtxca.js → tool-output-a3h99bw5.js} +9 -9
  95. package/dist/chunks/{bus-hxbrq7ky.js → tool-output-a6kaasdq.js} +18 -18
  96. package/dist/chunks/{bus-623n6t0x.js → tool-output-a7549q9v.js} +26 -26
  97. package/dist/chunks/{bus-d390zwf3.js → tool-output-a7hcemwv.js} +11 -11
  98. package/dist/chunks/{bus-1pszgch9.js → tool-output-a8803444.js} +9 -9
  99. package/dist/chunks/{bus-vxp3kcg3.js → tool-output-aeb4sny1.js} +5 -5
  100. package/dist/chunks/{bus-160yv0cs.js → tool-output-aedwt843.js} +6 -6
  101. package/dist/chunks/{bus-agqd6nxz.js → tool-output-agqd6nxz.js} +2 -2
  102. package/dist/chunks/{bus-vb1053xg.js → tool-output-aja6hfsp.js} +5 -5
  103. package/dist/chunks/{bus-rmwg6517.js → tool-output-aqk6p4c3.js} +16 -16
  104. package/dist/chunks/{bus-4a6yhs14.js → tool-output-axnwbd4n.js} +2 -2
  105. package/dist/chunks/{bus-ayjs7tqn.js → tool-output-ayjs7tqn.js} +2 -2
  106. package/dist/chunks/{bus-b0mv4wxm.js → tool-output-b0mv4wxm.js} +2 -2
  107. package/dist/chunks/{bus-nym9wyb3.js → tool-output-b28mnwwt.js} +6 -6
  108. package/dist/chunks/{bus-4hmqv3dg.js → tool-output-b2jr87qa.js} +25 -25
  109. package/dist/chunks/{bus-evk4ejbw.js → tool-output-b6pwv5qp.js} +10 -10
  110. package/dist/chunks/{bus-b6vsg801.js → tool-output-b6vsg801.js} +2 -2
  111. package/dist/chunks/{bus-45szfbjt.js → tool-output-bebb3at9.js} +9 -9
  112. package/dist/chunks/{bus-k2abm4dq.js → tool-output-bem2npsx.js} +30 -30
  113. package/dist/chunks/{bus-6r1jx35z.js → tool-output-bf946hy9.js} +7 -7
  114. package/dist/chunks/{bus-tz3qh6bj.js → tool-output-bmvgsr22.js} +1 -1
  115. package/dist/chunks/{bus-33zxs5g9.js → tool-output-bsqrjjtg.js} +4 -4
  116. package/dist/chunks/{bus-bstexjd6.js → tool-output-bstexjd6.js} +1 -1
  117. package/dist/chunks/{bus-trgp8ev6.js → tool-output-c58wr0zj.js} +11 -11
  118. package/dist/chunks/{bus-gs8m0426.js → tool-output-cee096dw.js} +10 -10
  119. package/dist/chunks/{bus-xvk38nmq.js → tool-output-cj0twgab.js} +23 -23
  120. package/dist/chunks/{bus-az9wb5vh.js → tool-output-crj5e783.js} +11 -11
  121. package/dist/chunks/tool-output-cw8zeq3d.js +517 -0
  122. package/dist/chunks/{bus-ssfehs1z.js → tool-output-d2887f8n.js} +4 -4
  123. package/dist/chunks/{bus-d4v9tmah.js → tool-output-d4v9tmah.js} +2 -2
  124. package/dist/chunks/{bus-yy2jcnkw.js → tool-output-d64cx63j.js} +7 -7
  125. package/dist/chunks/{bus-2eq3kb9b.js → tool-output-dccrvx04.js} +26 -26
  126. package/dist/chunks/{bus-nypgcgf3.js → tool-output-decs4e60.js} +55 -55
  127. package/dist/chunks/{bus-k7dpec9v.js → tool-output-drex4pzq.js} +14 -14
  128. package/dist/chunks/{bus-34mc4f69.js → tool-output-dwvvx6r2.js} +28 -28
  129. package/dist/chunks/{bus-b6a9raah.js → tool-output-e0p4kz3g.js} +27 -27
  130. package/dist/chunks/{bus-e834z07m.js → tool-output-e834z07m.js} +1 -1
  131. package/dist/chunks/{bus-1kashhxp.js → tool-output-ebjk3m4h.js} +20 -20
  132. package/dist/chunks/{bus-g1tbcgaf.js → tool-output-ede5t31q.js} +15 -15
  133. package/dist/chunks/{bus-d2r03a97.js → tool-output-eg0mws0e.js} +6 -6
  134. package/dist/chunks/{bus-cb2ed4nn.js → tool-output-ek92bk2r.js} +20 -20
  135. package/dist/chunks/{bus-8dg1xc6q.js → tool-output-em0f81yy.js} +3 -3
  136. package/dist/chunks/{bus-za8j9kr3.js → tool-output-end82zqt.js} +86 -86
  137. package/dist/chunks/{bus-n6mnvtfa.js → tool-output-ermtapg2.js} +26 -26
  138. package/dist/chunks/{bus-xdz0a60a.js → tool-output-evx8tntc.js} +5 -5
  139. package/dist/chunks/{bus-7rag2784.js → tool-output-ewyv1vrd.js} +7 -7
  140. package/dist/chunks/{bus-7nvnk78q.js → tool-output-eyhcn785.js} +33 -33
  141. package/dist/chunks/{bus-2d6j2x8s.js → tool-output-f01rz3q1.js} +46 -46
  142. package/dist/chunks/{bus-1j9syxkg.js → tool-output-f1ms64q9.js} +2 -2
  143. package/dist/chunks/{bus-a93vqh6w.js → tool-output-f27y7cht.js} +19 -19
  144. package/dist/chunks/{bus-mjftkp2a.js → tool-output-f37v6n8t.js} +25 -25
  145. package/dist/chunks/{bus-2jtphcac.js → tool-output-fc2fw478.js} +11 -11
  146. package/dist/chunks/{bus-fffv3p7h.js → tool-output-fffv3p7h.js} +1 -1
  147. package/dist/chunks/{bus-ck5p2rrt.js → tool-output-fgqacn3a.js} +6 -6
  148. package/dist/chunks/{bus-8314gx8s.js → tool-output-fj83etc5.js} +70 -70
  149. package/dist/chunks/{bus-cfbvvs1c.js → tool-output-frfzcpgy.js} +12 -12
  150. package/dist/chunks/{bus-cg98qzes.js → tool-output-fwjrth66.js} +25 -25
  151. package/dist/chunks/{bus-wr3re1en.js → tool-output-fznmdakp.js} +4 -4
  152. package/dist/chunks/{bus-g5h9c0rr.js → tool-output-g5h9c0rr.js} +2 -2
  153. package/dist/chunks/{bus-7gvxqv4d.js → tool-output-g6yzwk23.js} +21 -21
  154. package/dist/chunks/{bus-mzhk1ssh.js → tool-output-g729x6ds.js} +12 -12
  155. package/dist/chunks/{bus-ybhwsy6b.js → tool-output-ga2dp1ny.js} +44 -44
  156. package/dist/chunks/{bus-an9c9kb2.js → tool-output-gc2j9dw0.js} +14 -14
  157. package/dist/chunks/{bus-0fpq4f58.js → tool-output-gc804zz3.js} +11 -11
  158. package/dist/chunks/{bus-pf3djhp1.js → tool-output-ggsx9dmr.js} +30 -30
  159. package/dist/chunks/{bus-n9p72mjb.js → tool-output-gj8x1tda.js} +5 -5
  160. package/dist/chunks/tool-output-grzehpz7.js +18 -0
  161. package/dist/chunks/{bus-9n0km4x2.js → tool-output-h4f6vs3g.js} +11 -11
  162. package/dist/chunks/{bus-j01hj8py.js → tool-output-h7pf2zmx.js} +2 -2
  163. package/dist/chunks/{bus-828gze2h.js → tool-output-h91kcahz.js} +20 -20
  164. package/dist/chunks/{bus-af0k6e03.js → tool-output-hdfrs5mg.js} +9 -9
  165. package/dist/chunks/{bus-prkpw7v5.js → tool-output-hfqv7x4d.js} +14 -14
  166. package/dist/chunks/{bus-2jrcf1tj.js → tool-output-hhkkbxc9.js} +9 -9
  167. package/dist/chunks/{bus-aemg0w6p.js → tool-output-hkfp46ja.js} +17 -17
  168. package/dist/chunks/{bus-ehpc9aq8.js → tool-output-hpbvv96n.js} +20 -20
  169. package/dist/chunks/{bus-hew6naq5.js → tool-output-hvsnx3z0.js} +11 -11
  170. package/dist/chunks/{bus-j113cymg.js → tool-output-j113cymg.js} +1 -1
  171. package/dist/chunks/{bus-f29p2v8h.js → tool-output-j8849abs.js} +28 -28
  172. package/dist/chunks/{bus-2bev0qfp.js → tool-output-japt42f9.js} +11 -11
  173. package/dist/chunks/{bus-era634b9.js → tool-output-jc5r9pb7.js} +16 -16
  174. package/dist/chunks/{bus-mkcsh4cz.js → tool-output-jccf4379.js} +9 -9
  175. package/dist/chunks/{bus-6020gc76.js → tool-output-jg6bqjz4.js} +35 -35
  176. package/dist/chunks/{bus-petq1ecb.js → tool-output-jhrcq78y.js} +10 -10
  177. package/dist/chunks/{bus-e5dqjz6v.js → tool-output-jneg3k74.js} +4 -4
  178. package/dist/chunks/tool-output-jr7x9p7n.js +26 -0
  179. package/dist/chunks/{bus-0ss1ygn7.js → tool-output-jx89vj1k.js} +3 -3
  180. package/dist/chunks/{bus-8czeycrx.js → tool-output-k1dyhccn.js} +12 -12
  181. package/dist/chunks/{bus-9s68rp0p.js → tool-output-k299vwjx.js} +17 -17
  182. package/dist/chunks/{bus-k814nvkf.js → tool-output-k814nvkf.js} +1 -1
  183. package/dist/chunks/{bus-5wp410p3.js → tool-output-k8wqp3fb.js} +18 -18
  184. package/dist/chunks/{bus-kd5rhgxk.js → tool-output-k9gdv7wj.js} +10 -10
  185. package/dist/chunks/{bus-zgctp3t4.js → tool-output-kbtbr31d.js} +6 -6
  186. package/dist/chunks/{bus-kt3bjfbg.js → tool-output-kt3bjfbg.js} +1 -1
  187. package/dist/chunks/{bus-dbx6pzfq.js → tool-output-kya6vn2v.js} +6 -6
  188. package/dist/chunks/{bus-m1714858.js → tool-output-m1714858.js} +1 -1
  189. package/dist/chunks/{bus-m37sd98t.js → tool-output-m37sd98t.js} +1 -1
  190. package/dist/chunks/{bus-nb9f99as.js → tool-output-m666jk6r.js} +14 -14
  191. package/dist/chunks/{bus-vsnnaxjq.js → tool-output-m7xh3h0x.js} +4 -4
  192. package/dist/chunks/{bus-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{bus-maspj1v3.js → tool-output-maspj1v3.js} +1 -1
  194. package/dist/chunks/{bus-ydwpppea.js → tool-output-mj41408h.js} +5 -5
  195. package/dist/chunks/{bus-acb1b57m.js → tool-output-mq1vsyex.js} +25 -25
  196. package/dist/chunks/{bus-n0p0277s.js → tool-output-n0p0277s.js} +1 -1
  197. package/dist/chunks/{bus-ds7crdch.js → tool-output-n2a2fj9v.js} +4 -4
  198. package/dist/chunks/{bus-evxg6w44.js → tool-output-n2b0dnay.js} +46 -46
  199. package/dist/chunks/{bus-6twykydk.js → tool-output-n7bnkb3p.js} +9 -9
  200. package/dist/chunks/{bus-s7cwnsdq.js → tool-output-n92mzsnh.js} +45 -45
  201. package/dist/chunks/{bus-tkhnpy0n.js → tool-output-ncnmhedn.js} +11 -11
  202. package/dist/chunks/{bus-t3z4fh6a.js → tool-output-nd41fner.js} +11 -11
  203. package/dist/chunks/{bus-32s59e8p.js → tool-output-ne2q04mf.js} +9 -9
  204. package/dist/chunks/{bus-8xq71q48.js → tool-output-nj719txd.js} +2 -2
  205. package/dist/chunks/{bus-vjtwvj7e.js → tool-output-nn0x9b8s.js} +12 -12
  206. package/dist/chunks/{bus-nex2766x.js → tool-output-ny7cjtgm.js} +15 -15
  207. package/dist/chunks/{bus-p015t6z3.js → tool-output-p015t6z3.js} +2 -2
  208. package/dist/chunks/{bus-8dh0vs4v.js → tool-output-p0amseq2.js} +2 -2
  209. package/dist/chunks/{bus-8tgysywa.js → tool-output-p2y1bt5g.js} +35 -35
  210. package/dist/chunks/{bus-878x64va.js → tool-output-p7tpgz5e.js} +73 -73
  211. package/dist/chunks/{bus-djxd8yth.js → tool-output-p819tdyr.js} +9 -9
  212. package/dist/chunks/{bus-mkdbjcmh.js → tool-output-phtcpqdv.js} +4 -4
  213. package/dist/chunks/{bus-mkzms3ra.js → tool-output-pj6kkmwg.js} +13 -13
  214. package/dist/chunks/{bus-pknna89w.js → tool-output-pknna89w.js} +1 -1
  215. package/dist/chunks/{bus-3f6xt6nq.js → tool-output-pq9y035p.js} +30 -30
  216. package/dist/chunks/{bus-jsfyz6c7.js → tool-output-pqmez375.js} +24 -24
  217. package/dist/chunks/{bus-1bfxbsya.js → tool-output-pqp4ah5f.js} +24 -24
  218. package/dist/chunks/{bus-n8mjpvcm.js → tool-output-pr31xtm2.js} +45 -45
  219. package/dist/chunks/{bus-qbhbqa7t.js → tool-output-pt34v7je.js} +52 -52
  220. package/dist/chunks/{bus-5p32nay5.js → tool-output-pt4tanng.js} +28 -28
  221. package/dist/chunks/{bus-qygd4nc5.js → tool-output-ptatd3p6.js} +8 -8
  222. package/dist/chunks/{bus-8mgvafr1.js → tool-output-pwgrr4zd.js} +11 -11
  223. package/dist/chunks/tool-output-pxgxg1jw.js +261 -0
  224. package/dist/chunks/{bus-cw3xprgn.js → tool-output-q3zv3z6r.js} +17 -17
  225. package/dist/chunks/{bus-q9jq76k6.js → tool-output-q4b2w85g.js} +19 -19
  226. package/dist/chunks/{bus-wfcfzn3b.js → tool-output-qc02d14w.js} +28 -28
  227. package/dist/chunks/{bus-8fwy8ndr.js → tool-output-r01d67gn.js} +5 -5
  228. package/dist/chunks/{bus-r0yr0wbs.js → tool-output-r0yr0wbs.js} +1 -1
  229. package/dist/chunks/{bus-r542h3bh.js → tool-output-r542h3bh.js} +1 -1
  230. package/dist/chunks/{bus-b0bk1qcn.js → tool-output-ratcj3ac.js} +23 -23
  231. package/dist/chunks/{bus-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
  232. package/dist/chunks/{bus-qzw8kg5z.js → tool-output-rbpy9kt0.js} +18 -18
  233. package/dist/chunks/{bus-pxj2herr.js → tool-output-rjxgb9tb.js} +19 -19
  234. package/dist/chunks/{bus-rt5dr6hb.js → tool-output-rt5dr6hb.js} +1 -1
  235. package/dist/chunks/{bus-skdc7twy.js → tool-output-rtpnqabj.js} +26 -26
  236. package/dist/chunks/{bus-1w9k09te.js → tool-output-s0j4vfyb.js} +22 -22
  237. package/dist/chunks/{bus-x4kknryj.js → tool-output-s0xpqnn9.js} +13 -13
  238. package/dist/chunks/{bus-ksrgejfs.js → tool-output-s219wa1v.js} +27 -27
  239. package/dist/chunks/{bus-jmwryt6t.js → tool-output-s42e18rn.js} +8 -8
  240. package/dist/chunks/{bus-thj7kx78.js → tool-output-s9gds8pe.js} +7 -7
  241. package/dist/chunks/{bus-sa3fpqfw.js → tool-output-sa3fpqfw.js} +2 -2
  242. package/dist/chunks/{bus-50gfh4d7.js → tool-output-seh10k5w.js} +16 -16
  243. package/dist/chunks/{bus-f026ckt4.js → tool-output-sqdnmamq.js} +169 -169
  244. package/dist/chunks/{bus-sqjzf8x2.js → tool-output-sqjzf8x2.js} +1 -1
  245. package/dist/chunks/{bus-vdsw612c.js → tool-output-szfa6w1b.js} +23 -23
  246. package/dist/chunks/{bus-0ks2n9jf.js → tool-output-tasvem1v.js} +6 -6
  247. package/dist/chunks/{bus-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
  248. package/dist/chunks/{bus-2hsj2n0v.js → tool-output-tpp4aej2.js} +21 -21
  249. package/dist/chunks/{bus-z3jsq4rh.js → tool-output-tvfgxhgz.js} +16 -16
  250. package/dist/chunks/{bus-twv2r8f4.js → tool-output-twv2r8f4.js} +2 -2
  251. package/dist/chunks/{bus-v2r1d0zg.js → tool-output-v2r1d0zg.js} +1 -1
  252. package/dist/chunks/{bus-31wms35x.js → tool-output-v6h5bgwd.js} +8 -8
  253. package/dist/chunks/{bus-vd3b3yk9.js → tool-output-vd3b3yk9.js} +1 -1
  254. package/dist/chunks/{bus-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
  255. package/dist/chunks/{bus-5a5619qn.js → tool-output-vfntgn96.js} +17 -17
  256. package/dist/chunks/{bus-r8hpns5j.js → tool-output-vj1b4684.js} +13 -13
  257. package/dist/chunks/{bus-zb5gs1ba.js → tool-output-vpm8vpz0.js} +3 -3
  258. package/dist/chunks/{bus-syn3ds3q.js → tool-output-vtwv18h8.js} +14 -14
  259. package/dist/chunks/{bus-7asyzf2g.js → tool-output-w2cq40va.js} +3 -3
  260. package/dist/chunks/{bus-w2eysc6j.js → tool-output-w2eysc6j.js} +2 -2
  261. package/dist/chunks/{bus-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{bus-0p88zpcm.js → tool-output-w7zjqt6n.js} +4 -4
  263. package/dist/chunks/{bus-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
  264. package/dist/chunks/{bus-wd87259q.js → tool-output-wd87259q.js} +1 -1
  265. package/dist/chunks/{bus-njsc6rzh.js → tool-output-wesc8nnt.js} +11 -11
  266. package/dist/chunks/{bus-ta7bxye8.js → tool-output-wfz7x22a.js} +32 -32
  267. package/dist/chunks/{bus-zj8y7a4j.js → tool-output-whcqjvyx.js} +4 -4
  268. package/dist/chunks/{bus-phpbvyrj.js → tool-output-wx6evs79.js} +18 -18
  269. package/dist/chunks/{bus-ny95kkac.js → tool-output-wx92ehth.js} +29 -29
  270. package/dist/chunks/{bus-dt400r1m.js → tool-output-x0evmera.js} +5 -5
  271. package/dist/chunks/{bus-frvfbmdp.js → tool-output-x4spgazm.js} +9 -9
  272. package/dist/chunks/{bus-gyz363jb.js → tool-output-x7jnexzk.js} +20 -20
  273. package/dist/chunks/{bus-xkfczkpn.js → tool-output-xkfczkpn.js} +3 -3
  274. package/dist/chunks/{bus-phgcvxz9.js → tool-output-y1zpvem5.js} +11 -11
  275. package/dist/chunks/{bus-pnwjjc01.js → tool-output-y288cn10.js} +14 -14
  276. package/dist/chunks/{bus-4gr5td8y.js → tool-output-y2c4sbnk.js} +14 -14
  277. package/dist/chunks/{bus-3f2zwfeg.js → tool-output-y8c2g656.js} +4 -4
  278. package/dist/chunks/{bus-jbp3fq04.js → tool-output-y8kfcwrc.js} +14 -14
  279. package/dist/chunks/{bus-9n059q0a.js → tool-output-y8ypsrc9.js} +15 -15
  280. package/dist/chunks/{bus-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
  281. package/dist/chunks/{bus-z6w87tzw.js → tool-output-yhgpjx0v.js} +16 -16
  282. package/dist/chunks/{bus-2665jbwr.js → tool-output-ympsf4bd.js} +13 -13
  283. package/dist/chunks/{bus-fya0vmjt.js → tool-output-yn23tc2v.js} +10 -10
  284. package/dist/chunks/{bus-575d3vht.js → tool-output-yt31zvs0.js} +19 -19
  285. package/dist/chunks/{bus-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{bus-z38nccrw.js → tool-output-z38nccrw.js} +1 -1
  287. package/dist/chunks/{bus-zkg84ctx.js → tool-output-zkg84ctx.js} +1 -1
  288. package/dist/chunks/{bus-7nw9b7yf.js → tool-output-zt7g3tem.js} +15 -15
  289. package/dist/chunks/{bus-1njsdcyp.js → tool-output-ztsh3kna.js} +16 -16
  290. package/dist/chunks/{bus-fj5cqmpq.js → tool-output-zx72xjvg.js} +41 -41
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +83 -83
  296. package/dist/config/discovery.js +87 -87
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +104 -104
  299. package/dist/config/plugin/agent.js +118 -118
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +157 -157
  302. package/dist/config/plugin/compatibility.js +137 -137
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +119 -119
  305. package/dist/config/plugin/image.js +118 -118
  306. package/dist/config/plugin/instruction.js +118 -118
  307. package/dist/config/plugin/location-watcher.js +118 -118
  308. package/dist/config/plugin/mcp.js +125 -125
  309. package/dist/config/plugin/policy.js +119 -119
  310. package/dist/config/plugin/provider.js +118 -118
  311. package/dist/config/plugin/reference.js +120 -120
  312. package/dist/config/plugin/shell.js +118 -118
  313. package/dist/config/plugin/skill-file.js +107 -107
  314. package/dist/config/plugin/skill-scan.js +3 -3
  315. package/dist/config/plugin/skill.js +138 -138
  316. package/dist/config/plugin/snapshot.js +118 -118
  317. package/dist/config/plugin/source.js +121 -121
  318. package/dist/config/plugin/tool-output.js +119 -119
  319. package/dist/config/plugin/websearch.js +117 -117
  320. package/dist/config/plugin/worktree.js +118 -118
  321. package/dist/config/variable.js +1 -1
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +121 -121
  324. package/dist/console-access.js +1 -1
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +87 -87
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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/20261007190000_azure_cli_external_credential.js +1 -1
  393. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  394. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  395. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  396. package/dist/database/migration.gen.js +53 -53
  397. package/dist/database/migration.js +55 -55
  398. package/dist/database/path.js +2 -2
  399. package/dist/database/schema.gen.js +1 -1
  400. package/dist/database/schema.sql.js +1 -1
  401. package/dist/database/sqlite.bun.js +1 -1
  402. package/dist/database/sqlite.js +1 -1
  403. package/dist/database/sqlite.node.js +1 -1
  404. package/dist/database/sqlite.workerd.js +1 -1
  405. package/dist/database/v1-migration.bun.js +97 -97
  406. package/dist/database/v1-migration.js +1 -1
  407. package/dist/effect/app-node-builder.js +374 -374
  408. package/dist/effect/app-node-platform.js +2 -2
  409. package/dist/effect/keyed-mutex.js +3 -3
  410. package/dist/effect/websocket-constructor.js +1 -1
  411. package/dist/environment/driver.js +1 -1
  412. package/dist/environment/environment.js +98 -98
  413. package/dist/environment/exec-defaults.js +2 -2
  414. package/dist/environment/files.js +1 -1
  415. package/dist/environment/index.js +100 -100
  416. package/dist/environment/local.js +2 -2
  417. package/dist/environment/memory.js +2 -2
  418. package/dist/environment/unavailable.js +3 -3
  419. package/dist/event/sql.js +1 -1
  420. package/dist/event-logger.js +74 -74
  421. package/dist/file-access.js +109 -109
  422. package/dist/file-mutation.js +99 -99
  423. package/dist/file-retention.js +1 -1
  424. package/dist/filesystem/fff.bun.js +2 -2
  425. package/dist/filesystem/fff.js +1 -1
  426. package/dist/filesystem/fff.node.js +2 -2
  427. package/dist/filesystem/fff.workerd.js +2 -2
  428. package/dist/filesystem/location-watcher-policy.js +6 -6
  429. package/dist/filesystem/location-watcher.js +227 -227
  430. package/dist/filesystem/protected.js +1 -1
  431. package/dist/filesystem/search.js +104 -104
  432. package/dist/filesystem/watcher-binding.js +3 -3
  433. package/dist/filesystem/watcher.js +11 -11
  434. package/dist/filesystem.js +107 -107
  435. package/dist/form.js +86 -86
  436. package/dist/formatter/builtins.js +4 -4
  437. package/dist/formatter.js +92 -92
  438. package/dist/generate.js +112 -112
  439. package/dist/git.js +11 -11
  440. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  441. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  442. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  444. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  445. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  446. package/dist/github-copilot/copilot-provider.js +17 -17
  447. package/dist/github-copilot/models.js +104 -104
  448. package/dist/github-copilot/openai-compatible-error.js +1 -1
  449. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  450. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  451. package/dist/github-copilot/responses/openai-error.js +1 -1
  452. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  453. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  454. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  455. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  456. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  458. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  459. package/dist/image/photon.js +2 -2
  460. package/dist/image.js +6 -6
  461. package/dist/instance/service.js +5 -5
  462. package/dist/instance.js +365 -365
  463. package/dist/instruction-discovery.js +86 -86
  464. package/dist/instructions/builtins.js +92 -92
  465. package/dist/instructions/index.js +3 -3
  466. package/dist/integration/connection.js +3 -3
  467. package/dist/integration.js +93 -93
  468. package/dist/job.js +80 -80
  469. package/dist/kv/sql.js +2 -2
  470. package/dist/kv.js +77 -77
  471. package/dist/location-activity.js +158 -158
  472. package/dist/location-lifecycle.js +112 -112
  473. package/dist/location-service-map.js +91 -91
  474. package/dist/location-services.js +362 -362
  475. package/dist/location.js +94 -94
  476. package/dist/managed-policy.js +8 -8
  477. package/dist/mcp/client.js +96 -96
  478. package/dist/mcp/index.js +108 -108
  479. package/dist/mcp/instructions.js +143 -143
  480. package/dist/mcp/oauth.js +82 -82
  481. package/dist/mcp/socket-client.js +1 -1
  482. package/dist/mcp/stdio.js +95 -95
  483. package/dist/mime.js +1 -1
  484. package/dist/modal/models.js +104 -104
  485. package/dist/model-resolver.js +104 -104
  486. package/dist/model-retry.js +1 -1
  487. package/dist/model.js +95 -95
  488. package/dist/models-dev.js +108 -108
  489. package/dist/oauth/page.js +1 -1
  490. package/dist/permission/saved.js +86 -86
  491. package/dist/permission/sql.js +5 -5
  492. package/dist/permission.js +118 -118
  493. package/dist/persistent-pty/binary.bun.js +1 -1
  494. package/dist/persistent-pty/daemon.js +1 -1
  495. package/dist/persistent-pty/index.js +88 -88
  496. package/dist/persistent-pty/pty-binding.js +1 -1
  497. package/dist/persistent-pty.js +79 -79
  498. package/dist/plugin/agent.js +78 -78
  499. package/dist/plugin/command.js +105 -105
  500. package/dist/plugin/hooks.js +5 -5
  501. package/dist/plugin/host.js +220 -220
  502. package/dist/plugin/identity.js +5 -5
  503. package/dist/plugin/instance.js +3 -3
  504. package/dist/plugin/internal.js +335 -335
  505. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  506. package/dist/plugin/models-dev.js +101 -101
  507. package/dist/plugin/module.js +119 -119
  508. package/dist/plugin/optimize.js +2 -2
  509. package/dist/plugin/plan.js +107 -107
  510. package/dist/plugin/promise.js +1 -1
  511. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  512. package/dist/plugin/provider/azure.js +118 -118
  513. package/dist/plugin/provider/cerebras.js +1 -1
  514. package/dist/plugin/provider/chatgpt.js +118 -118
  515. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  516. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  517. package/dist/plugin/provider/cohere.js +2 -2
  518. package/dist/plugin/provider/configured.js +114 -114
  519. package/dist/plugin/provider/databricks.js +1 -1
  520. package/dist/plugin/provider/digitalocean.js +98 -98
  521. package/dist/plugin/provider/dynamic.js +2 -2
  522. package/dist/plugin/provider/factory.js +1 -1
  523. package/dist/plugin/provider/github-copilot.js +100 -100
  524. package/dist/plugin/provider/gitlab.js +98 -98
  525. package/dist/plugin/provider/google-vertex.js +115 -115
  526. package/dist/plugin/provider/kilo.js +1 -1
  527. package/dist/plugin/provider/llmgateway.js +82 -82
  528. package/dist/plugin/provider/lmstudio.js +127 -127
  529. package/dist/plugin/provider/local.js +124 -124
  530. package/dist/plugin/provider/modal.js +97 -97
  531. package/dist/plugin/provider/neon.js +1 -1
  532. package/dist/plugin/provider/nvidia.js +1 -1
  533. package/dist/plugin/provider/ollama.js +125 -125
  534. package/dist/plugin/provider/openai-context-caps.js +95 -95
  535. package/dist/plugin/provider/openai.js +118 -118
  536. package/dist/plugin/provider/opencode.js +104 -104
  537. package/dist/plugin/provider/openrouter.js +96 -96
  538. package/dist/plugin/provider/perplexity.js +2 -2
  539. package/dist/plugin/provider/poe.js +83 -83
  540. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  541. package/dist/plugin/provider/sap-ai-core.js +96 -96
  542. package/dist/plugin/provider/sdk-factory.js +1 -1
  543. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  544. package/dist/plugin/provider/vercel.js +95 -95
  545. package/dist/plugin/provider/vllm.js +127 -127
  546. package/dist/plugin/provider/xai.js +96 -96
  547. package/dist/plugin/provider/zenmux.js +1 -1
  548. package/dist/plugin/provider.js +171 -171
  549. package/dist/plugin/sdk.js +76 -76
  550. package/dist/plugin/service.js +3 -3
  551. package/dist/plugin/skill.js +134 -134
  552. package/dist/plugin/source-directory.js +1 -1
  553. package/dist/plugin/supervisor.js +354 -354
  554. package/dist/plugin/tool-input-repair.js +4 -4
  555. package/dist/plugin/update.js +6 -6
  556. package/dist/plugin/vcs/git.js +91 -91
  557. package/dist/plugin/vcs/hg.js +91 -91
  558. package/dist/plugin/verbosity.js +98 -98
  559. package/dist/plugin/warming.js +116 -116
  560. package/dist/plugin/websearch/exa.js +7 -7
  561. package/dist/plugin/websearch/firecrawl.js +8 -8
  562. package/dist/plugin/websearch/index.js +9 -9
  563. package/dist/plugin/websearch/mcp.js +2 -2
  564. package/dist/plugin/websearch/parallel.js +8 -8
  565. package/dist/plugin/websearch/tavily.js +6 -6
  566. package/dist/plugin/websearch/tinyfish.js +8 -8
  567. package/dist/plugin.js +231 -231
  568. package/dist/project/schema.js +8 -8
  569. package/dist/project/sql.js +4 -4
  570. package/dist/project.js +95 -95
  571. package/dist/provider.js +94 -94
  572. package/dist/pty/protocol.js +1 -1
  573. package/dist/pty/ticket.js +1 -1
  574. package/dist/pty.js +103 -103
  575. package/dist/reference/instructions.js +94 -94
  576. package/dist/reference.js +96 -96
  577. package/dist/repository-cache.js +86 -86
  578. package/dist/repository.js +1 -1
  579. package/dist/ripgrep/binary.js +2 -2
  580. package/dist/ripgrep.js +100 -100
  581. package/dist/rpc.js +91 -91
  582. package/dist/schema.js +1 -1
  583. package/dist/session/affinity.js +1 -1
  584. package/dist/session/command.js +78 -78
  585. package/dist/session/compaction.js +141 -141
  586. package/dist/session/context.js +167 -167
  587. package/dist/session/diff.js +93 -93
  588. package/dist/session/environment.js +5 -5
  589. package/dist/session/error.js +5 -5
  590. package/dist/session/event.js +1 -1
  591. package/dist/session/execution/restart.js +223 -223
  592. package/dist/session/execution.js +129 -129
  593. package/dist/session/generate.js +169 -169
  594. package/dist/session/history.js +15 -15
  595. package/dist/session/inbox.js +97 -97
  596. package/dist/session/info.js +3 -3
  597. package/dist/session/instruction-entry.js +81 -81
  598. package/dist/session/instruction-state.js +8 -8
  599. package/dist/session/instructions.js +102 -102
  600. package/dist/session/message-updater.js +2 -2
  601. package/dist/session/message.js +1 -1
  602. package/dist/session/model-request.js +125 -125
  603. package/dist/session/model-transport.js +9 -9
  604. package/dist/session/move.js +135 -135
  605. package/dist/session/projector.js +93 -93
  606. package/dist/session/prompt.js +110 -110
  607. package/dist/session/recent-text.js +1 -1
  608. package/dist/session/revert.js +99 -99
  609. package/dist/session/run-coordinator.js +3 -3
  610. package/dist/session/runner/index.js +3 -3
  611. package/dist/session/runner/llm.js +233 -233
  612. package/dist/session/runner/max-steps.js +1 -1
  613. package/dist/session/runner/model.js +101 -101
  614. package/dist/session/runner/publish-llm-event.js +118 -118
  615. package/dist/session/runner/retry.js +5 -5
  616. package/dist/session/runner/step.js +131 -131
  617. package/dist/session/runner/to-llm-message.js +14 -14
  618. package/dist/session/schema.js +5 -5
  619. package/dist/session/session.js +165 -165
  620. package/dist/session/shell.js +132 -132
  621. package/dist/session/skill.js +108 -108
  622. package/dist/session/sql.js +5 -5
  623. package/dist/session/stats.js +77 -77
  624. package/dist/session/store.js +89 -89
  625. package/dist/session/subagent-completion.js +1 -1
  626. package/dist/session/subagent-job.js +214 -214
  627. package/dist/session/system-prompt.js +1 -1
  628. package/dist/session/title.js +171 -171
  629. package/dist/session/to-session-error.js +117 -117
  630. package/dist/session/transfer.js +219 -219
  631. package/dist/session/usage.js +1 -1
  632. package/dist/session.js +218 -218
  633. package/dist/shell/parse.js +8 -8
  634. package/dist/shell/result.js +1 -1
  635. package/dist/shell/scan.js +1 -1
  636. package/dist/shell/select.js +15 -15
  637. package/dist/shell.js +134 -134
  638. package/dist/skill/discovery.js +6 -6
  639. package/dist/skill/instructions.js +112 -112
  640. package/dist/skill.js +117 -117
  641. package/dist/snapshot.js +94 -94
  642. package/dist/state.js +1 -1
  643. package/dist/tool/html-markdown.js +1 -1
  644. package/dist/tool/http-body.js +1 -1
  645. package/dist/tool/mcp.js +142 -142
  646. package/dist/tool/plugin/edit.js +125 -125
  647. package/dist/tool/plugin/file-diff.js +1 -1
  648. package/dist/tool/plugin/glob.js +129 -129
  649. package/dist/tool/plugin/grep.js +129 -129
  650. package/dist/tool/plugin/mcp-resource.js +129 -129
  651. package/dist/tool/plugin/opencode.js +114 -114
  652. package/dist/tool/plugin/patch.js +121 -121
  653. package/dist/tool/plugin/question.js +110 -110
  654. package/dist/tool/plugin/read.js +130 -130
  655. package/dist/tool/plugin/shell.js +217 -217
  656. package/dist/tool/plugin/skill.js +116 -116
  657. package/dist/tool/plugin/subagent.js +221 -221
  658. package/dist/tool/plugin/todo.js +140 -140
  659. package/dist/tool/plugin/webfetch.js +116 -116
  660. package/dist/tool/plugin/websearch.js +113 -113
  661. package/dist/tool/plugin/write.js +127 -127
  662. package/dist/tool/read-filesystem.js +105 -105
  663. package/dist/tool/runtime.js +1 -1
  664. package/dist/tool-output.js +7 -7
  665. package/dist/tool.js +16 -16
  666. package/dist/usage-limits.js +93 -93
  667. package/dist/util/error-summary.js +1 -1
  668. package/dist/util/git-executable.js +3 -3
  669. package/dist/util/lazy.js +1 -1
  670. package/dist/util/slug.js +1 -1
  671. package/dist/util/token.js +1 -1
  672. package/dist/util/which.js +1 -1
  673. package/dist/util/wildcard.js +1 -1
  674. package/dist/v1/config/agent.js +7 -7
  675. package/dist/v1/config/command.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +97 -97
  678. package/dist/v1/config/permission.js +7 -7
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/variant.js +98 -98
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +94 -94
  685. package/dist/voice.js +90 -90
  686. package/dist/websearch.js +88 -88
  687. package/dist/wellknown/plugin.js +80 -80
  688. package/dist/wellknown.js +85 -85
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +86 -86
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +9 -9
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +94 -94
  696. package/dist/worktree.js +103 -103
  697. package/package.json +8 -8
  698. package/dist/chunks/bus-39h0ag18.js +0 -26
  699. package/dist/chunks/bus-6bshxcsx.js +0 -18
  700. package/dist/chunks/bus-kf47bq4t.js +0 -517
  701. package/dist/chunks/bus-paz7j9b8.js +0 -261
  702. /package/dist/chunks/{bus-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{bus-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{bus-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{bus-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{bus-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{bus-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{bus-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
  709. /package/dist/chunks/{bus-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{bus-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{bus-3asan66x.js → tool-output-3asan66x.js} +0 -0
  712. /package/dist/chunks/{bus-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{bus-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{bus-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{bus-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{bus-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{bus-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{bus-53557ph1.js → tool-output-53557ph1.js} +0 -0
  719. /package/dist/chunks/{bus-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{bus-6prwharc.js → tool-output-6prwharc.js} +0 -0
  721. /package/dist/chunks/{bus-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
  722. /package/dist/chunks/{bus-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{bus-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{bus-822emrt2.js → tool-output-822emrt2.js} +0 -0
  725. /package/dist/chunks/{bus-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
  726. /package/dist/chunks/{bus-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{bus-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{bus-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{bus-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{bus-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{bus-a058387c.js → tool-output-a058387c.js} +0 -0
  732. /package/dist/chunks/{bus-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{bus-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{bus-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{bus-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{bus-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{bus-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{bus-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{bus-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{bus-cqv5kn06.js → tool-output-cqv5kn06.js} +0 -0
  741. /package/dist/chunks/{bus-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{bus-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{bus-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{bus-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{bus-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{bus-df08tz66.js → tool-output-df08tz66.js} +0 -0
  747. /package/dist/chunks/{bus-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{bus-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{bus-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{bus-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{bus-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{bus-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{bus-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{bus-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{bus-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{bus-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{bus-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{bus-g86h250q.js → tool-output-g86h250q.js} +0 -0
  759. /package/dist/chunks/{bus-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{bus-gftt206x.js → tool-output-gftt206x.js} +0 -0
  761. /package/dist/chunks/{bus-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
  762. /package/dist/chunks/{bus-hk9envan.js → tool-output-hk9envan.js} +0 -0
  763. /package/dist/chunks/{bus-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{bus-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{bus-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{bus-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{bus-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{bus-jwr30sdr.js → tool-output-jwr30sdr.js} +0 -0
  769. /package/dist/chunks/{bus-jze0r7bz.js → tool-output-jze0r7bz.js} +0 -0
  770. /package/dist/chunks/{bus-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{bus-m18g726c.js → tool-output-m18g726c.js} +0 -0
  772. /package/dist/chunks/{bus-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{bus-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{bus-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{bus-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{bus-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{bus-pkyv6v7h.js → tool-output-pkyv6v7h.js} +0 -0
  778. /package/dist/chunks/{bus-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{bus-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{bus-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{bus-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{bus-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{bus-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{bus-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{bus-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{bus-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{bus-sjmm3wxa.js → tool-output-sjmm3wxa.js} +0 -0
  788. /package/dist/chunks/{bus-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{bus-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
  790. /package/dist/chunks/{bus-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{bus-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{bus-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{bus-wjj7prxr.js → tool-output-wjj7prxr.js} +0 -0
  794. /package/dist/chunks/{bus-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{bus-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{bus-x61499pn.js → tool-output-x61499pn.js} +0 -0
  797. /package/dist/chunks/{bus-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{bus-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{bus-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{bus-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{bus-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
  802. /package/dist/chunks/{bus-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./bus-emrn6kk6.js";
4
+ } from "./tool-output-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./bus-e5dqjz6v.js";
8
+ } from "./tool-output-jneg3k74.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./bus-ec1grn59.js";
11
+ } from "./tool-output-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./bus-998yhzzq.js";
15
+ } from "./tool-output-998yhzzq.js";
16
16
  import {
17
17
  __export
18
- } from "./bus-9rqn6x4v.js";
18
+ } from "./tool-output-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-z5v4ffb3.js";
3
+ } from "./tool-output-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./bus-emrn6kk6.js";
4
+ } from "./tool-output-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -2,31 +2,31 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service38
6
- } from "./bus-s7cwnsdq.js";
5
+ Service31
6
+ } from "./tool-output-n92mzsnh.js";
7
7
  import {
8
- Service61
9
- } from "./bus-yth42b8q.js";
8
+ Service73
9
+ } from "./tool-output-6pj63jbt.js";
10
10
  import {
11
11
  MEDIA_MIMES2
12
- } from "./bus-cw3xprgn.js";
12
+ } from "./tool-output-q3zv3z6r.js";
13
13
  import {
14
14
  __export
15
- } from "./bus-9rqn6x4v.js";
15
+ } from "./tool-output-9rqn6x4v.js";
16
16
 
17
17
  // src/tool/plugin/mcp-resource.ts
18
18
  var exports_mcp_resource = {};
19
19
  __export(exports_mcp_resource, {
20
20
  McpResourceTools: () => exports_mcp_resource,
21
- Plugin: () => Plugin7
21
+ Plugin: () => Plugin12
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
- var Plugin7 = {
25
+ var Plugin12 = {
26
26
  id: "opencode.tools.mcp-resources",
27
27
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
28
- const mcp = yield* Service38;
29
- const permission = yield* Service61;
28
+ const mcp = yield* Service31;
29
+ const permission = yield* Service73;
30
30
  yield* ctx.tool.transform((editor) => {
31
31
  editor.add({
32
32
  name: "list_mcp_resources",
@@ -96,4 +96,4 @@ var Plugin7 = {
96
96
  })
97
97
  };
98
98
 
99
- export { Plugin7, exports_mcp_resource };
99
+ export { Plugin12, exports_mcp_resource };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service70
3
- } from "./bus-jsfyz6c7.js";
2
+ Service69
3
+ } from "./tool-output-pqmez375.js";
4
4
  import {
5
- Service15,
5
+ Service68,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./bus-mkzms3ra.js";
8
+ } from "./tool-output-pj6kkmwg.js";
9
9
  import {
10
- Service14
11
- } from "./bus-9n059q0a.js";
10
+ Service50
11
+ } from "./tool-output-y8ypsrc9.js";
12
12
  import {
13
- Service61
14
- } from "./bus-yth42b8q.js";
13
+ Service73
14
+ } from "./tool-output-6pj63jbt.js";
15
15
  import {
16
- Service13
17
- } from "./bus-phpbvyrj.js";
16
+ Service72
17
+ } from "./tool-output-wx6evs79.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./bus-6prwharc.js";
20
+ } from "./tool-output-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./bus-9rqn6x4v.js";
23
+ } from "./tool-output-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input2,
29
- Output: () => Output2,
30
- Plugin: () => Plugin2,
28
+ Input: () => Input6,
29
+ Output: () => Output5,
30
+ Plugin: () => Plugin7,
31
31
  WriteTool: () => exports_write,
32
- name: () => name2,
33
- toModelContent: () => toModelContent2
32
+ name: () => name6,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name2 = "write";
39
- var Input2 = Schema.Struct({
38
+ var name6 = "write";
39
+ var Input6 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output2 = Schema.Struct({
45
+ var Output5 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin2 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin7 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service13;
56
- const fileMutation = yield* Service15;
57
- const environment = yield* Service70;
58
- const formatter = yield* Service14;
59
- const permission = yield* Service61;
55
+ const access = yield* Service72;
56
+ const fileMutation = yield* Service68;
57
+ const environment = yield* Service69;
58
+ const formatter = yield* Service50;
59
+ const permission = yield* Service73;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name2,
61
+ name: name6,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input2,
69
- output: Output2,
68
+ input: Input6,
69
+ output: Output5,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name2, Input2, Output2, toModelContent2, Plugin2, exports_write };
101
+ export { name6, Input6, Output5, toModelContent4, Plugin7, exports_write };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./bus-550bvhaj.js";
3
+ } from "./tool-output-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./bus-j5zkgpj8.js";
6
+ } from "./tool-output-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./bus-3asan66x.js";
9
+ } from "./tool-output-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./bus-vxp3kcg3.js";
12
+ } from "./tool-output-aeb4sny1.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-z5v4ffb3.js";
3
+ } from "./tool-output-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./bus-2d6j2x8s.js";
6
+ } from "./tool-output-f01rz3q1.js";
7
7
  import {
8
- Service80,
9
- node84
10
- } from "./bus-5a5619qn.js";
8
+ Service83,
9
+ node87
10
+ } from "./tool-output-vfntgn96.js";
11
11
  import {
12
- Service61,
13
- node64
14
- } from "./bus-yth42b8q.js";
12
+ Service73,
13
+ node77
14
+ } from "./tool-output-6pj63jbt.js";
15
15
  import {
16
16
  __export
17
- } from "./bus-9rqn6x4v.js";
17
+ } from "./tool-output-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service13,
26
- node: () => node15,
25
+ Service: () => Service72,
26
+ node: () => node76,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service13 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service72 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service13, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service80;
55
- const permission = yield* Service61;
54
+ const location = yield* Service83;
55
+ const permission = yield* Service73;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service13.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service72.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node15 = makeLocationNode({ service: Service13, layer, deps: [FSUtil.node, node84, node64] });
106
+ var node76 = makeLocationNode({ service: Service72, layer, deps: [FSUtil.node, node87, node77] });
107
107
 
108
- export { Kind2, ResolveInput2, Service13, resolvePath2, node15, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service72, resolvePath2, node76, exports_file_access };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./bus-z5v4ffb3.js";
4
+ } from "./tool-output-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node86
10
- } from "./bus-cfbvvs1c.js";
8
+ Service85,
9
+ node89
10
+ } from "./tool-output-frfzcpgy.js";
11
11
  import {
12
- Service80,
13
- node84
14
- } from "./bus-5a5619qn.js";
12
+ Service83,
13
+ node87
14
+ } from "./tool-output-vfntgn96.js";
15
15
  import {
16
16
  create3
17
- } from "./bus-vd3b3yk9.js";
17
+ } from "./tool-output-vd3b3yk9.js";
18
18
  import {
19
19
  __export
20
- } from "./bus-9rqn6x4v.js";
20
+ } from "./tool-output-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
25
+ Error: () => Error2,
26
26
  ID: () => ID5,
27
- Service: () => Service47,
27
+ Service: () => Service38,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node50,
29
+ node: () => node42,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service47 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service38 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service47, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service85;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service80;
52
+ const location = yield* Service83;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
141
141
  for (const [file, snapshot] of input.files) {
142
142
  const absolute = path.resolve(worktree, file);
143
143
  if (!FSUtil.contains(worktree, absolute))
144
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
144
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
145
145
  files.set(file, TreeID2.make(snapshot));
146
146
  }
147
147
  return files;
148
148
  });
149
149
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
150
150
  if (!enabled())
151
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
151
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
152
152
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
153
153
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  });
155
- return Service47.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
155
+ return Service38.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
156
  }).pipe(Effect.withSpan("Snapshot.boot")));
157
- var node50 = makeLocationNode({
158
- service: Service47,
157
+ var node42 = makeLocationNode({
158
+ service: Service38,
159
159
  layer,
160
- deps: [FSUtil.node, node86, Global.node, node84]
160
+ deps: [FSUtil.node, node89, Global.node, node87]
161
161
  });
162
- var noopLayer2 = Layer.succeed(Service47, Service47.of({
162
+ var noopLayer2 = Layer.succeed(Service38, Service38.of({
163
163
  transform: () => Effect.succeed({ dispose: Effect.void }),
164
164
  reload: () => Effect.void,
165
165
  capture: () => Effect.undefined,
@@ -168,13 +168,13 @@ var noopLayer2 = Layer.succeed(Service47, Service47.of({
168
168
  restore: () => Effect.void
169
169
  }));
170
170
  function failure(operation, cause) {
171
- if (cause instanceof Error4 && cause.operation === operation)
171
+ if (cause instanceof Error2 && cause.operation === operation)
172
172
  return cause;
173
- return new Error4({
173
+ return new Error2({
174
174
  operation,
175
175
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
176
176
  cause
177
177
  });
178
178
  }
179
179
 
180
- export { ID5, Error4, Service47, node50, noopLayer2, exports_snapshot2 };
180
+ export { ID5, Error2, Service38, node42, noopLayer2, exports_snapshot2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./bus-yth42b8q.js";
3
+ } from "./tool-output-6pj63jbt.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./tool-output-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin38
12
+ Plugin: () => Plugin46
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin38 = define({
32
+ var Plugin46 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin38, exports_plan };
108
+ export { Plugin46, exports_plan };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./bus-qjgzc4b4.js";
3
+ } from "./tool-output-8jztxfpf.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./tool-output-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service12,
13
- node: () => node14
12
+ Service: () => Service8,
13
+ node: () => node9
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service12 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service8 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service12, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service12.of({
27
+ return Service8.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node14 = makeGlobalNode({ service: Service12, layer, deps: [Npm.node] });
52
+ var node9 = makeGlobalNode({ service: Service8, layer, deps: [Npm.node] });
53
53
 
54
- export { Service12, node14, exports_update };
54
+ export { Service8, node9, exports_update };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-z5v4ffb3.js";
3
+ } from "./tool-output-z5v4ffb3.js";
4
4
  import {
5
- Service82,
6
- node86
7
- } from "./bus-cfbvvs1c.js";
5
+ Service85,
6
+ node89
7
+ } from "./tool-output-frfzcpgy.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./bus-bstexjd6.js";
13
+ } from "./tool-output-bstexjd6.js";
14
14
  import {
15
- Service77,
16
- node81
17
- } from "./bus-fya0vmjt.js";
15
+ Service62,
16
+ node65
17
+ } from "./tool-output-yn23tc2v.js";
18
18
  import {
19
19
  __export
20
- } from "./bus-9rqn6x4v.js";
20
+ } from "./tool-output-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service49,
33
+ Service: () => Service47,
34
34
  isError: () => isError2,
35
- node: () => node52,
35
+ node: () => node51,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service49 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service47 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service49, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service82;
106
+ const git = yield* Service85;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service77;
110
- return Service49.of({
109
+ const kv = yield* Service62;
110
+ return Service47.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
169
169
  })
170
170
  });
171
171
  }));
172
- var node52 = makeGlobalNode({
173
- service: Service49,
172
+ var node51 = makeGlobalNode({
173
+ service: Service47,
174
174
  layer,
175
- deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node81]
175
+ deps: [EffectFlock.node, FSUtil.node, node89, Global.node, node65]
176
176
  });
177
177
  function errorMessage(error) {
178
178
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
181
181
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
182
182
  }
183
183
 
184
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service49, isError2, validateBranch2, node52, exports_repository_cache };
184
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service47, isError2, validateBranch2, node51, exports_repository_cache };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./bus-sjmm3wxa.js";
4
+ } from "./tool-output-sjmm3wxa.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./bus-91rj84md.js";
8
+ } from "./tool-output-91rj84md.js";
9
9
  import {
10
10
  __export
11
- } from "./bus-9rqn6x4v.js";
11
+ } from "./tool-output-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};