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

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 (824) 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/{tool-output-034tev2y.js → model-retry-034tev2y.js} +2 -2
  8. package/dist/chunks/{tool-output-axnwbd4n.js → model-retry-0j1r4c82.js} +4 -4
  9. package/dist/chunks/{tool-output-7yect7x1.js → model-retry-0nd9gsrv.js} +2 -2
  10. package/dist/chunks/{tool-output-w7zjqt6n.js → model-retry-0p88zpcm.js} +4 -4
  11. package/dist/chunks/{tool-output-12tah04a.js → model-retry-0rax2qmn.js} +15 -15
  12. package/dist/chunks/{tool-output-szfa6w1b.js → model-retry-0zn5bfke.js} +29 -29
  13. package/dist/chunks/{tool-output-0c7nc8tn.js → model-retry-138ss78d.js} +11 -11
  14. package/dist/chunks/{tool-output-x4spgazm.js → model-retry-1602d4m9.js} +9 -9
  15. package/dist/chunks/{tool-output-agqd6nxz.js → model-retry-17cjzed1.js} +4 -4
  16. package/dist/chunks/{tool-output-japt42f9.js → model-retry-17xhxfsn.js} +11 -11
  17. package/dist/chunks/{tool-output-m666jk6r.js → model-retry-1a7q9jj4.js} +22 -22
  18. package/dist/chunks/{tool-output-n2a2fj9v.js → model-retry-1dswpn68.js} +4 -4
  19. package/dist/chunks/{tool-output-1ep2p91f.js → model-retry-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{tool-output-pwgrr4zd.js → model-retry-1hm6kjpw.js} +12 -12
  21. package/dist/chunks/{tool-output-pqmez375.js → model-retry-1m6xs2a7.js} +24 -24
  22. package/dist/chunks/{tool-output-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{tool-output-1yq9hg58.js → model-retry-1yq9hg58.js} +1 -1
  24. package/dist/chunks/{tool-output-mj41408h.js → model-retry-27994c7b.js} +6 -6
  25. package/dist/chunks/model-retry-2dkjcnxp.js +18 -0
  26. package/dist/chunks/{tool-output-p819tdyr.js → model-retry-2ns8tfyg.js} +9 -9
  27. package/dist/chunks/{tool-output-pr31xtm2.js → model-retry-2we1d0jv.js} +45 -45
  28. package/dist/chunks/{tool-output-2z1j29yd.js → model-retry-2z1j29yd.js} +1 -1
  29. package/dist/chunks/{tool-output-k299vwjx.js → model-retry-3109wbwk.js} +17 -17
  30. package/dist/chunks/{tool-output-89sdcr2v.js → model-retry-32rqdfc7.js} +6 -6
  31. package/dist/chunks/{tool-output-8tapzm2v.js → model-retry-335tf8xn.js} +13 -13
  32. package/dist/chunks/{tool-output-m7xh3h0x.js → model-retry-3gv0spa2.js} +4 -4
  33. package/dist/chunks/{tool-output-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{tool-output-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
  35. package/dist/chunks/{tool-output-rjxgb9tb.js → model-retry-425q9h2g.js} +16 -16
  36. package/dist/chunks/{tool-output-2wjqwetp.js → model-retry-46h6vvs4.js} +5 -5
  37. package/dist/chunks/{tool-output-aeb4sny1.js → model-retry-4drgpw32.js} +5 -5
  38. package/dist/chunks/{tool-output-hhkkbxc9.js → model-retry-4g74bq5f.js} +9 -9
  39. package/dist/chunks/{tool-output-em0f81yy.js → model-retry-4gytfbka.js} +3 -3
  40. package/dist/chunks/{tool-output-5v6z662y.js → model-retry-4hbn04c3.js} +18 -18
  41. package/dist/chunks/{tool-output-ratcj3ac.js → model-retry-4jred12r.js} +20 -20
  42. package/dist/chunks/{tool-output-whcqjvyx.js → model-retry-4q0yhm9h.js} +4 -4
  43. package/dist/chunks/{tool-output-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
  44. package/dist/chunks/{tool-output-xkfczkpn.js → model-retry-4xvmh7wp.js} +3 -3
  45. package/dist/chunks/{tool-output-248g8pq7.js → model-retry-4z907t0k.js} +17 -17
  46. package/dist/chunks/{tool-output-0tfekwr7.js → model-retry-503rn88z.js} +3 -3
  47. package/dist/chunks/{tool-output-zx72xjvg.js → model-retry-58sptegr.js} +42 -42
  48. package/dist/chunks/{tool-output-a7549q9v.js → model-retry-592w8t9y.js} +26 -26
  49. package/dist/chunks/{tool-output-68kb9z9h.js → model-retry-5dewdarb.js} +15 -15
  50. package/dist/chunks/{tool-output-w2eysc6j.js → model-retry-5enarcya.js} +6 -6
  51. package/dist/chunks/{tool-output-sjmm3wxa.js → model-retry-5fjb7ams.js} +4 -14
  52. package/dist/chunks/{tool-output-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{tool-output-b2jr87qa.js → model-retry-5shay012.js} +58 -38
  54. package/dist/chunks/{tool-output-9tvpxs1q.js → model-retry-5w1mdqt7.js} +4 -4
  55. package/dist/chunks/{tool-output-1cyprt5w.js → model-retry-5xypjhga.js} +5 -5
  56. package/dist/chunks/{tool-output-a6kaasdq.js → model-retry-5ymyvjqm.js} +15 -15
  57. package/dist/chunks/{tool-output-a8803444.js → model-retry-678hegmz.js} +9 -9
  58. package/dist/chunks/{tool-output-ne2q04mf.js → model-retry-6c5cd6ez.js} +9 -9
  59. package/dist/chunks/{tool-output-6esdw8yj.js → model-retry-6esdw8yj.js} +1 -1
  60. package/dist/chunks/{tool-output-7nv1f492.js → model-retry-6hwc1pvx.js} +18 -18
  61. package/dist/chunks/{tool-output-cj0twgab.js → model-retry-6kqns4w6.js} +23 -23
  62. package/dist/chunks/{tool-output-6pjqjmy2.js → model-retry-6pjqjmy2.js} +1 -1
  63. package/dist/chunks/{tool-output-n7bnkb3p.js → model-retry-6twykydk.js} +9 -9
  64. package/dist/chunks/{tool-output-3y4503xd.js → model-retry-6zcc165v.js} +6 -6
  65. package/dist/chunks/{tool-output-bf946hy9.js → model-retry-722sdb3d.js} +7 -7
  66. package/dist/chunks/{tool-output-evx8tntc.js → model-retry-745re5am.js} +6 -6
  67. package/dist/chunks/{tool-output-w2cq40va.js → model-retry-753xhzz2.js} +3 -3
  68. package/dist/chunks/{tool-output-76cb1hcw.js → model-retry-76cb1hcw.js} +1 -1
  69. package/dist/chunks/{tool-output-ny7cjtgm.js → model-retry-7816y9pf.js} +16 -16
  70. package/dist/chunks/{tool-output-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{tool-output-vtwv18h8.js → model-retry-7kjvv3j6.js} +15 -15
  72. package/dist/chunks/{tool-output-pt4tanng.js → model-retry-7n7qp0dz.js} +28 -28
  73. package/dist/chunks/{tool-output-h7pf2zmx.js → model-retry-7pp4cpj7.js} +2 -2
  74. package/dist/chunks/{tool-output-3nzkha57.js → model-retry-7rt6wz40.js} +34 -34
  75. package/dist/chunks/{tool-output-drex4pzq.js → model-retry-7s2q8wx1.js} +14 -14
  76. package/dist/chunks/{tool-output-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{tool-output-8xppqwrp.js → model-retry-82vzzvc0.js} +15 -15
  78. package/dist/chunks/{tool-output-4aqtdhks.js → model-retry-8322nd6s.js} +37 -37
  79. package/dist/chunks/{tool-output-jx89vj1k.js → model-retry-8bc2ahr8.js} +3 -3
  80. package/dist/chunks/{tool-output-vpm8vpz0.js → model-retry-8whp40kv.js} +3 -3
  81. package/dist/chunks/{tool-output-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
  82. package/dist/chunks/{tool-output-91rj84md.js → model-retry-91rj84md.js} +1 -1
  83. package/dist/chunks/{tool-output-998yhzzq.js → model-retry-998yhzzq.js} +3 -3
  84. package/dist/chunks/{tool-output-f27y7cht.js → model-retry-9bs81pt6.js} +45 -45
  85. package/dist/chunks/{tool-output-n0p0277s.js → model-retry-9cx9sm2q.js} +2 -2
  86. package/dist/chunks/{tool-output-gc804zz3.js → model-retry-9dx6tkdq.js} +14 -14
  87. package/dist/chunks/{tool-output-y1zpvem5.js → model-retry-9nt4jrra.js} +11 -11
  88. package/dist/chunks/{tool-output-1y0wdj51.js → model-retry-9q8g9sv8.js} +9 -9
  89. package/dist/chunks/{tool-output-f1ms64q9.js → model-retry-9ye8ngw9.js} +5 -5
  90. package/dist/chunks/{tool-output-s0xpqnn9.js → model-retry-a0y3te94.js} +13 -13
  91. package/dist/chunks/{tool-output-zt7g3tem.js → model-retry-a5kv7pbm.js} +17 -17
  92. package/dist/chunks/{tool-output-6285fq4d.js → model-retry-acdmrrd1.js} +5 -5
  93. package/dist/chunks/{tool-output-3ssszjcv.js → model-retry-aday876c.js} +30 -30
  94. package/dist/chunks/{tool-output-1xfs8wvw.js → model-retry-ae89zrxe.js} +11 -11
  95. package/dist/chunks/{tool-output-tvfgxhgz.js → model-retry-aqd38yqk.js} +12 -12
  96. package/dist/chunks/{tool-output-ebjk3m4h.js → model-retry-aqw6e5th.js} +20 -20
  97. package/dist/chunks/{tool-output-b28mnwwt.js → model-retry-avfqqwb2.js} +6 -6
  98. package/dist/chunks/{tool-output-f01rz3q1.js → model-retry-axqdy1rc.js} +46 -46
  99. package/dist/chunks/{tool-output-ayjs7tqn.js → model-retry-ayjs7tqn.js} +2 -2
  100. package/dist/chunks/{tool-output-b0mv4wxm.js → model-retry-b0mv4wxm.js} +2 -2
  101. package/dist/chunks/{tool-output-ek92bk2r.js → model-retry-b0qepsp5.js} +36 -36
  102. package/dist/chunks/{tool-output-5frcv4v0.js → model-retry-b3mc3p58.js} +14 -14
  103. package/dist/chunks/{tool-output-sqdnmamq.js → model-retry-b58bxs6a.js} +181 -181
  104. package/dist/chunks/{tool-output-g729x6ds.js → model-retry-b5rpcebs.js} +9 -9
  105. package/dist/chunks/{tool-output-b6vsg801.js → model-retry-b6vsg801.js} +2 -2
  106. package/dist/chunks/{tool-output-9nha6yk0.js → model-retry-bb0y23dv.js} +10 -10
  107. package/dist/chunks/{tool-output-jg6bqjz4.js → model-retry-bdw1mhts.js} +36 -36
  108. package/dist/chunks/{tool-output-p7tpgz5e.js → model-retry-bfrx3eet.js} +78 -78
  109. package/dist/chunks/{tool-output-tasvem1v.js → model-retry-bje4knzw.js} +7 -7
  110. package/dist/chunks/{tool-output-k9gdv7wj.js → model-retry-brkew3yp.js} +13 -13
  111. package/dist/chunks/{tool-output-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
  112. package/dist/chunks/{tool-output-33jn8j87.js → model-retry-btcc31mt.js} +10 -10
  113. package/dist/chunks/{tool-output-pq9y035p.js → model-retry-bzve7h1n.js} +31 -31
  114. package/dist/chunks/{tool-output-ewyv1vrd.js → model-retry-c7w6gk0d.js} +5 -5
  115. package/dist/chunks/{tool-output-s9gds8pe.js → model-retry-ca1hzz0z.js} +7 -7
  116. package/dist/chunks/{tool-output-ggsx9dmr.js → model-retry-cbyrzr95.js} +33 -33
  117. package/dist/chunks/{tool-output-wfz7x22a.js → model-retry-cg67sgqr.js} +33 -33
  118. package/dist/chunks/{tool-output-dwvvx6r2.js → model-retry-cjn2m544.js} +33 -33
  119. package/dist/chunks/model-retry-ckzsjma5.js +26 -0
  120. package/dist/chunks/{tool-output-s219wa1v.js → model-retry-cpmqfxcq.js} +27 -27
  121. package/dist/chunks/{tool-output-decs4e60.js → model-retry-d1aynxky.js} +48 -48
  122. package/dist/chunks/{tool-output-hkfp46ja.js → model-retry-d4tjs1yx.js} +17 -17
  123. package/dist/chunks/{tool-output-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
  124. package/dist/chunks/{tool-output-3dg4aj2t.js → model-retry-d8g76yr4.js} +17 -17
  125. package/dist/chunks/{tool-output-ermtapg2.js → model-retry-d9qwxpwd.js} +26 -26
  126. package/dist/chunks/{tool-output-h91kcahz.js → model-retry-db7k79f7.js} +16 -16
  127. package/dist/chunks/{tool-output-3kdbrncp.js → model-retry-dbmp929s.js} +5 -5
  128. package/dist/chunks/{tool-output-kbtbr31d.js → model-retry-debkngxd.js} +8 -8
  129. package/dist/chunks/{tool-output-wesc8nnt.js → model-retry-dher8hzb.js} +12 -12
  130. package/dist/chunks/{tool-output-y8kfcwrc.js → model-retry-dn3a5ca8.js} +18 -18
  131. package/dist/chunks/{tool-output-bebb3at9.js → model-retry-e1g8hcy1.js} +13 -13
  132. package/dist/chunks/{tool-output-2fjzbpqs.js → model-retry-e1zjyyvc.js} +45 -45
  133. package/dist/chunks/{tool-output-5qd3pb7m.js → model-retry-e3qxr5gk.js} +2 -2
  134. package/dist/chunks/{tool-output-jneg3k74.js → model-retry-e5dqjz6v.js} +4 -4
  135. package/dist/chunks/{tool-output-phtcpqdv.js → model-retry-e5nt5pcv.js} +4 -4
  136. package/dist/chunks/{tool-output-e834z07m.js → model-retry-e834z07m.js} +1 -1
  137. package/dist/chunks/{tool-output-4pw54185.js → model-retry-eg9pnzky.js} +42 -42
  138. package/dist/chunks/{tool-output-87ksbwny.js → model-retry-egv1p4fb.js} +42 -42
  139. package/dist/chunks/{tool-output-f37v6n8t.js → model-retry-ek5jse1b.js} +23 -23
  140. package/dist/chunks/{tool-output-aedwt843.js → model-retry-enkpkfwx.js} +8 -8
  141. package/dist/chunks/{tool-output-n2b0dnay.js → model-retry-eqhrgn58.js} +39 -39
  142. package/dist/chunks/{tool-output-m37sd98t.js → model-retry-eqmd2tfz.js} +7 -7
  143. package/dist/chunks/{tool-output-wx92ehth.js → model-retry-f34n98jw.js} +24 -24
  144. package/dist/chunks/{tool-output-ztsh3kna.js → model-retry-f4fcece7.js} +16 -16
  145. package/dist/chunks/{tool-output-9vd6zvz7.js → model-retry-f6n6tb5m.js} +19 -19
  146. package/dist/chunks/{tool-output-gj8x1tda.js → model-retry-faewc6h3.js} +5 -5
  147. package/dist/chunks/{tool-output-fffv3p7h.js → model-retry-fffv3p7h.js} +1 -1
  148. package/dist/chunks/{tool-output-6pj63jbt.js → model-retry-fx6779qx.js} +38 -38
  149. package/dist/chunks/{tool-output-nj719txd.js → model-retry-g0ew906k.js} +4 -4
  150. package/dist/chunks/{tool-output-g5h9c0rr.js → model-retry-g5h9c0rr.js} +2 -2
  151. package/dist/chunks/{tool-output-682mbbtd.js → model-retry-g91txfza.js} +4 -4
  152. package/dist/chunks/{tool-output-rtpnqabj.js → model-retry-gchz44rz.js} +25 -25
  153. package/dist/chunks/model-retry-gfm4ps3x.js +261 -0
  154. package/dist/chunks/{tool-output-5dab8ama.js → model-retry-gj1k22fm.js} +8 -8
  155. package/dist/chunks/{tool-output-fgqacn3a.js → model-retry-gp4q8kgc.js} +6 -6
  156. package/dist/chunks/{tool-output-vj1b4684.js → model-retry-gxvxk964.js} +13 -13
  157. package/dist/chunks/{tool-output-s42e18rn.js → model-retry-h58n2v2h.js} +5 -5
  158. package/dist/chunks/{tool-output-fwjrth66.js → model-retry-h9wrc0vd.js} +25 -25
  159. package/dist/chunks/{tool-output-y8c2g656.js → model-retry-hawc6q6s.js} +4 -4
  160. package/dist/chunks/{tool-output-q4b2w85g.js → model-retry-hbh5g7sq.js} +19 -19
  161. package/dist/chunks/{tool-output-kya6vn2v.js → model-retry-hbjmb8md.js} +6 -6
  162. package/dist/chunks/{tool-output-y8ypsrc9.js → model-retry-hhqqebc6.js} +15 -15
  163. package/dist/chunks/{tool-output-k8wqp3fb.js → model-retry-hhtmqaqt.js} +18 -18
  164. package/dist/chunks/{tool-output-b6pwv5qp.js → model-retry-hhtnk8qy.js} +10 -10
  165. package/dist/chunks/{tool-output-fj83etc5.js → model-retry-hjg4cfjr.js} +69 -69
  166. package/dist/chunks/{tool-output-eyhcn785.js → model-retry-hjvwy4ms.js} +33 -33
  167. package/dist/chunks/{tool-output-2dfk453x.js → model-retry-hkby4gmz.js} +25 -25
  168. package/dist/chunks/{tool-output-mq1vsyex.js → model-retry-hmg9k6g3.js} +27 -27
  169. package/dist/chunks/{tool-output-seh10k5w.js → model-retry-hp8gawhw.js} +16 -16
  170. package/dist/chunks/{tool-output-p0amseq2.js → model-retry-hx4n917h.js} +3 -3
  171. package/dist/chunks/{tool-output-j113cymg.js → model-retry-j113cymg.js} +1 -1
  172. package/dist/chunks/{tool-output-gc2j9dw0.js → model-retry-j17f5p09.js} +14 -14
  173. package/dist/chunks/{tool-output-1v9xeggz.js → model-retry-j910h5aj.js} +5 -5
  174. package/dist/chunks/{tool-output-1r0janqk.js → model-retry-jj52rngq.js} +5 -5
  175. package/dist/chunks/{tool-output-eg0mws0e.js → model-retry-jmekkt3w.js} +6 -6
  176. package/dist/chunks/{tool-output-hdfrs5mg.js → model-retry-jq88ke7r.js} +9 -9
  177. package/dist/chunks/{tool-output-vfntgn96.js → model-retry-jvasdgem.js} +17 -17
  178. package/dist/chunks/{tool-output-hvsnx3z0.js → model-retry-jy2ar7az.js} +11 -11
  179. package/dist/chunks/{tool-output-jc5r9pb7.js → model-retry-k46s5hha.js} +18 -18
  180. package/dist/chunks/{tool-output-k814nvkf.js → model-retry-k814nvkf.js} +1 -1
  181. package/dist/chunks/{tool-output-g6yzwk23.js → model-retry-kbx45pjb.js} +30 -30
  182. package/dist/chunks/{tool-output-5kbev7nh.js → model-retry-kkew1p9e.js} +6 -6
  183. package/dist/chunks/{tool-output-tpp4aej2.js → model-retry-km7czr20.js} +21 -21
  184. package/dist/chunks/{tool-output-r01d67gn.js → model-retry-kspt1gd4.js} +8 -8
  185. package/dist/chunks/{tool-output-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
  186. package/dist/chunks/{tool-output-2bexbmx7.js → model-retry-kw23vkf0.js} +1 -1
  187. package/dist/chunks/{tool-output-yn23tc2v.js → model-retry-kwp52g30.js} +10 -10
  188. package/dist/chunks/{tool-output-3vdwfrk9.js → model-retry-kxvkas7c.js} +5 -5
  189. package/dist/chunks/{tool-output-m1714858.js → model-retry-m1714858.js} +1 -1
  190. package/dist/chunks/{tool-output-a7hcemwv.js → model-retry-m81bzjfe.js} +11 -11
  191. package/dist/chunks/{tool-output-pt34v7je.js → model-retry-m8kw722f.js} +52 -52
  192. package/dist/chunks/{tool-output-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{tool-output-maspj1v3.js → model-retry-maspj1v3.js} +1 -1
  194. package/dist/chunks/{tool-output-2qj28n5c.js → model-retry-mdmq4ayq.js} +6 -6
  195. package/dist/chunks/{tool-output-h4f6vs3g.js → model-retry-mg4jj3cq.js} +11 -11
  196. package/dist/chunks/{tool-output-nn0x9b8s.js → model-retry-mnb0kth4.js} +20 -20
  197. package/dist/chunks/{tool-output-ympsf4bd.js → model-retry-mq1hjbvv.js} +19 -19
  198. package/dist/chunks/{tool-output-39k15pn6.js → model-retry-mt48qw68.js} +18 -18
  199. package/dist/chunks/{tool-output-6aqbrqep.js → model-retry-mv9cyhb6.js} +27 -27
  200. package/dist/chunks/{tool-output-ncnmhedn.js → model-retry-mvf5yed7.js} +15 -15
  201. package/dist/chunks/{tool-output-fc2fw478.js → model-retry-mxjqcj4f.js} +17 -17
  202. package/dist/chunks/{tool-output-3q5vep8y.js → model-retry-n4g6yntc.js} +9 -9
  203. package/dist/chunks/{tool-output-4gxtsg4q.js → model-retry-n91mh7q3.js} +36 -36
  204. package/dist/chunks/{tool-output-2p2a88gw.js → model-retry-n9nqya42.js} +12 -12
  205. package/dist/chunks/{tool-output-770pw0s1.js → model-retry-nah043kf.js} +4 -4
  206. package/dist/chunks/{tool-output-pqp4ah5f.js → model-retry-nf83kzdy.js} +46 -46
  207. package/dist/chunks/{tool-output-6gm7hc9m.js → model-retry-npaxjfat.js} +34 -34
  208. package/dist/chunks/{tool-output-s0j4vfyb.js → model-retry-nxg0a76y.js} +22 -22
  209. package/dist/chunks/{tool-output-69gn191w.js → model-retry-ny7d5fer.js} +21 -21
  210. package/dist/chunks/{tool-output-p015t6z3.js → model-retry-p015t6z3.js} +2 -2
  211. package/dist/chunks/{tool-output-9jbwxrha.js → model-retry-p3ns8jke.js} +19 -19
  212. package/dist/chunks/{tool-output-x0evmera.js → model-retry-p5t4xveb.js} +6 -6
  213. package/dist/chunks/{tool-output-j8849abs.js → model-retry-p81fp5vk.js} +28 -28
  214. package/dist/chunks/{tool-output-bsqrjjtg.js → model-retry-p8s7ax7s.js} +4 -4
  215. package/dist/chunks/{tool-output-cee096dw.js → model-retry-paae1hvb.js} +11 -11
  216. package/dist/chunks/{tool-output-qc02d14w.js → model-retry-pcx7njc6.js} +22 -22
  217. package/dist/chunks/{tool-output-1tvtyxqv.js → model-retry-pk8bqs0r.js} +11 -11
  218. package/dist/chunks/{tool-output-pknna89w.js → model-retry-pknna89w.js} +1 -1
  219. package/dist/chunks/{tool-output-63hkdzbg.js → model-retry-ppheb231.js} +4 -4
  220. package/dist/chunks/{tool-output-jccf4379.js → model-retry-pzbahg37.js} +9 -9
  221. package/dist/chunks/{tool-output-bmvgsr22.js → model-retry-pzm5e1e5.js} +1 -1
  222. package/dist/chunks/{tool-output-hfqv7x4d.js → model-retry-q35f0zmw.js} +16 -16
  223. package/dist/chunks/{tool-output-pj6kkmwg.js → model-retry-q5jvcvf9.js} +13 -13
  224. package/dist/chunks/{tool-output-8jztxfpf.js → model-retry-qjgzc4b4.js} +4 -4
  225. package/dist/chunks/{tool-output-bem2npsx.js → model-retry-qk2x4zmh.js} +30 -30
  226. package/dist/chunks/{tool-output-60p7g2te.js → model-retry-qnz3a88e.js} +10 -10
  227. package/dist/chunks/{tool-output-n92mzsnh.js → model-retry-qq9g4at8.js} +52 -52
  228. package/dist/chunks/{tool-output-3ryz99p0.js → model-retry-qqg9c0kv.js} +4 -4
  229. package/dist/chunks/{tool-output-end82zqt.js → model-retry-qv0xhenj.js} +78 -78
  230. package/dist/chunks/{tool-output-y288cn10.js → model-retry-qwc3x251.js} +14 -14
  231. package/dist/chunks/{tool-output-r0yr0wbs.js → model-retry-r0yr0wbs.js} +1 -1
  232. package/dist/chunks/{tool-output-r542h3bh.js → model-retry-r542h3bh.js} +1 -1
  233. package/dist/chunks/{tool-output-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
  234. package/dist/chunks/{tool-output-2ge2z4cg.js → model-retry-rf0yhvg8.js} +16 -16
  235. package/dist/chunks/{tool-output-5fgbm0wv.js → model-retry-rnf8ygje.js} +3 -3
  236. package/dist/chunks/{tool-output-hpbvv96n.js → model-retry-rrq81g5f.js} +21 -21
  237. package/dist/chunks/{tool-output-rt5dr6hb.js → model-retry-rt5dr6hb.js} +1 -1
  238. package/dist/chunks/{tool-output-frfzcpgy.js → model-retry-s44wx98y.js} +12 -12
  239. package/dist/chunks/{tool-output-3sk8enc1.js → model-retry-s4br5rnc.js} +11 -11
  240. package/dist/chunks/{tool-output-sa3fpqfw.js → model-retry-sa3fpqfw.js} +2 -2
  241. package/dist/chunks/{tool-output-aja6hfsp.js → model-retry-sdxwz4vj.js} +5 -5
  242. package/dist/chunks/{tool-output-k1dyhccn.js → model-retry-skd7ds45.js} +14 -14
  243. package/dist/chunks/{tool-output-sqjzf8x2.js → model-retry-sqjzf8x2.js} +1 -1
  244. package/dist/chunks/{tool-output-d2887f8n.js → model-retry-ssfehs1z.js} +4 -4
  245. package/dist/chunks/{tool-output-jhrcq78y.js → model-retry-t0vy2dfp.js} +10 -10
  246. package/dist/chunks/{tool-output-d64cx63j.js → model-retry-t3qvsv4x.js} +7 -7
  247. package/dist/chunks/{tool-output-81a9zpe2.js → model-retry-t42gxy5r.js} +8 -8
  248. package/dist/chunks/{tool-output-nd41fner.js → model-retry-t6j5m88d.js} +11 -11
  249. package/dist/chunks/{tool-output-wx6evs79.js → model-retry-t9hc3t3t.js} +18 -18
  250. package/dist/chunks/{tool-output-ede5t31q.js → model-retry-t9jfkh4s.js} +17 -17
  251. package/dist/chunks/{tool-output-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
  252. package/dist/chunks/{tool-output-a3h99bw5.js → model-retry-tmgcn98f.js} +9 -9
  253. package/dist/chunks/{tool-output-twv2r8f4.js → model-retry-twv2r8f4.js} +2 -2
  254. package/dist/chunks/{tool-output-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
  255. package/dist/chunks/{tool-output-8nfppp0x.js → model-retry-v2ydvkbp.js} +36 -36
  256. package/dist/chunks/{tool-output-yt31zvs0.js → model-retry-v6bhxz94.js} +24 -24
  257. package/dist/chunks/{tool-output-v6h5bgwd.js → model-retry-v6h5bgwd.js} +1 -1
  258. package/dist/chunks/{tool-output-c58wr0zj.js → model-retry-vcngc2jq.js} +30 -30
  259. package/dist/chunks/{tool-output-vd3b3yk9.js → model-retry-vd3b3yk9.js} +1 -1
  260. package/dist/chunks/{tool-output-veqvce7d.js → model-retry-veqvce7d.js} +1 -1
  261. package/dist/chunks/{tool-output-96ym0hte.js → model-retry-vm0wcjea.js} +10 -10
  262. package/dist/chunks/{tool-output-dccrvx04.js → model-retry-vp3hqrv6.js} +27 -27
  263. package/dist/chunks/{tool-output-9dj7pbca.js → model-retry-vphhrdzm.js} +30 -30
  264. package/dist/chunks/{tool-output-3j1ep4vq.js → model-retry-vxp3z339.js} +28 -28
  265. package/dist/chunks/{tool-output-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
  266. package/dist/chunks/{tool-output-ga2dp1ny.js → model-retry-w4qj5bhy.js} +42 -42
  267. package/dist/chunks/{tool-output-p2y1bt5g.js → model-retry-wa0020sp.js} +36 -36
  268. package/dist/chunks/{tool-output-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
  269. package/dist/chunks/{tool-output-70h1qnfn.js → model-retry-wc86xy3n.js} +17 -17
  270. package/dist/chunks/{tool-output-wd87259q.js → model-retry-wd87259q.js} +1 -1
  271. package/dist/chunks/{tool-output-yhgpjx0v.js → model-retry-wdzvz19b.js} +15 -15
  272. package/dist/chunks/{tool-output-fznmdakp.js → model-retry-wr3re1en.js} +4 -4
  273. package/dist/chunks/{tool-output-y2c4sbnk.js → model-retry-wwf1bymv.js} +23 -23
  274. package/dist/chunks/{tool-output-6xaz3aew.js → model-retry-wx4hn9c6.js} +21 -21
  275. package/dist/chunks/model-retry-xcbrzhrb.js +517 -0
  276. package/dist/chunks/{tool-output-crj5e783.js → model-retry-xfv5zx0r.js} +11 -11
  277. package/dist/chunks/{tool-output-59fxmd0j.js → model-retry-y1rtgf89.js} +28 -28
  278. package/dist/chunks/{tool-output-q3zv3z6r.js → model-retry-y2nf64jh.js} +19 -19
  279. package/dist/chunks/{tool-output-e0p4kz3g.js → model-retry-y4f1fvfh.js} +27 -27
  280. package/dist/chunks/{tool-output-ptatd3p6.js → model-retry-y6413w8f.js} +11 -11
  281. package/dist/chunks/{tool-output-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
  282. package/dist/chunks/{tool-output-rbpy9kt0.js → model-retry-yqqqeckg.js} +29 -29
  283. package/dist/chunks/{tool-output-z0bkrqjs.js → model-retry-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{tool-output-z38nccrw.js → model-retry-z38nccrw.js} +1 -1
  285. package/dist/chunks/{tool-output-aqk6p4c3.js → model-retry-z3ae4np4.js} +21 -21
  286. package/dist/chunks/{tool-output-3p7agaaw.js → model-retry-z3wn5wtx.js} +7 -7
  287. package/dist/chunks/{tool-output-6px9atyk.js → model-retry-zewy1hcb.js} +11 -11
  288. package/dist/chunks/{tool-output-zkg84ctx.js → model-retry-zkg84ctx.js} +1 -1
  289. package/dist/chunks/{tool-output-x7jnexzk.js → model-retry-zx5t73xg.js} +20 -20
  290. package/dist/chunks/{tool-output-61ennm6n.js → model-retry-zzdv5d93.js} +4 -4
  291. package/dist/chunks/{tool-output-0srp2sh0.js → model-retry-zzsxzmp1.js} +16 -16
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +87 -87
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +104 -104
  300. package/dist/config/plugin/agent.js +118 -118
  301. package/dist/config/plugin/command.js +214 -214
  302. package/dist/config/plugin/compaction.js +157 -157
  303. package/dist/config/plugin/compatibility.js +137 -137
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +119 -119
  306. package/dist/config/plugin/image.js +118 -118
  307. package/dist/config/plugin/instruction.js +118 -118
  308. package/dist/config/plugin/location-watcher.js +118 -118
  309. package/dist/config/plugin/mcp.js +125 -125
  310. package/dist/config/plugin/policy.js +119 -119
  311. package/dist/config/plugin/provider.js +118 -118
  312. package/dist/config/plugin/reference.js +120 -120
  313. package/dist/config/plugin/shell.js +120 -120
  314. package/dist/config/plugin/skill-file.js +107 -107
  315. package/dist/config/plugin/skill-scan.js +3 -3
  316. package/dist/config/plugin/skill.js +140 -140
  317. package/dist/config/plugin/snapshot.js +118 -118
  318. package/dist/config/plugin/source.js +121 -121
  319. package/dist/config/plugin/tool-output.js +119 -119
  320. package/dist/config/plugin/websearch.js +119 -119
  321. package/dist/config/plugin/worktree.js +120 -120
  322. package/dist/config/variable.js +1 -1
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +119 -119
  325. package/dist/console-access.js +1 -1
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +87 -87
  328. package/dist/database/database.js +70 -70
  329. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +15 -15
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +16 -16
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  394. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  395. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  396. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  397. package/dist/database/migration.gen.js +53 -53
  398. package/dist/database/migration.js +55 -55
  399. package/dist/database/path.js +2 -2
  400. package/dist/database/schema.gen.js +1 -1
  401. package/dist/database/schema.sql.js +1 -1
  402. package/dist/database/sqlite.bun.js +1 -1
  403. package/dist/database/sqlite.js +1 -1
  404. package/dist/database/sqlite.node.js +1 -1
  405. package/dist/database/sqlite.workerd.js +1 -1
  406. package/dist/database/v1-migration.bun.js +97 -97
  407. package/dist/database/v1-migration.js +1 -1
  408. package/dist/effect/app-node-builder.js +374 -374
  409. package/dist/effect/app-node-platform.js +2 -2
  410. package/dist/effect/keyed-mutex.js +3 -3
  411. package/dist/effect/websocket-constructor.js +1 -1
  412. package/dist/environment/driver.js +1 -1
  413. package/dist/environment/environment.js +98 -98
  414. package/dist/environment/exec-defaults.js +2 -2
  415. package/dist/environment/files.js +1 -1
  416. package/dist/environment/index.js +100 -100
  417. package/dist/environment/local.js +2 -2
  418. package/dist/environment/memory.js +2 -2
  419. package/dist/environment/unavailable.js +3 -3
  420. package/dist/event/sql.js +1 -1
  421. package/dist/event-logger.js +74 -74
  422. package/dist/file-access.js +109 -109
  423. package/dist/file-mutation.js +99 -99
  424. package/dist/file-retention.js +1 -1
  425. package/dist/filesystem/fff.bun.js +2 -2
  426. package/dist/filesystem/fff.js +1 -1
  427. package/dist/filesystem/fff.node.js +2 -2
  428. package/dist/filesystem/fff.workerd.js +2 -2
  429. package/dist/filesystem/location-watcher-policy.js +6 -6
  430. package/dist/filesystem/location-watcher.js +227 -227
  431. package/dist/filesystem/protected.js +1 -1
  432. package/dist/filesystem/search.js +104 -104
  433. package/dist/filesystem/watcher-binding.js +3 -3
  434. package/dist/filesystem/watcher.js +9 -9
  435. package/dist/filesystem.js +107 -107
  436. package/dist/form.js +84 -84
  437. package/dist/formatter/builtins.js +4 -4
  438. package/dist/formatter.js +92 -92
  439. package/dist/generate.js +112 -112
  440. package/dist/git.js +11 -11
  441. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  442. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  443. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  444. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  445. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  446. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  447. package/dist/github-copilot/copilot-provider.js +17 -17
  448. package/dist/github-copilot/models.js +104 -104
  449. package/dist/github-copilot/openai-compatible-error.js +1 -1
  450. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  451. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  452. package/dist/github-copilot/responses/openai-error.js +1 -1
  453. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  454. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  455. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  456. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  457. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  458. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  459. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  460. package/dist/image/photon.js +2 -2
  461. package/dist/image.js +6 -6
  462. package/dist/instance/service.js +5 -5
  463. package/dist/instance.js +365 -365
  464. package/dist/instruction-discovery.js +84 -84
  465. package/dist/instructions/builtins.js +92 -92
  466. package/dist/instructions/index.js +3 -3
  467. package/dist/integration/connection.js +3 -3
  468. package/dist/integration.js +93 -93
  469. package/dist/job.js +82 -82
  470. package/dist/kv/sql.js +2 -2
  471. package/dist/kv.js +77 -77
  472. package/dist/location-activity.js +158 -158
  473. package/dist/location-lifecycle.js +112 -112
  474. package/dist/location-service-map.js +91 -91
  475. package/dist/location-services.js +362 -362
  476. package/dist/location.js +94 -94
  477. package/dist/managed-policy.js +8 -8
  478. package/dist/mcp/client.js +96 -96
  479. package/dist/mcp/index.js +114 -114
  480. package/dist/mcp/instructions.js +143 -143
  481. package/dist/mcp/oauth.js +82 -82
  482. package/dist/mcp/socket-client.js +1 -1
  483. package/dist/mcp/stdio.js +95 -95
  484. package/dist/mime.js +1 -1
  485. package/dist/modal/models.js +104 -104
  486. package/dist/model-resolver.js +104 -104
  487. package/dist/model-retry.js +1 -1
  488. package/dist/model.js +103 -103
  489. package/dist/models-dev.js +106 -106
  490. package/dist/oauth/page.js +1 -1
  491. package/dist/permission/saved.js +84 -84
  492. package/dist/permission/sql.js +5 -5
  493. package/dist/permission.js +114 -114
  494. package/dist/persistent-pty/binary.bun.js +1 -1
  495. package/dist/persistent-pty/daemon.js +1 -1
  496. package/dist/persistent-pty/index.js +94 -94
  497. package/dist/persistent-pty/pty-binding.js +1 -1
  498. package/dist/persistent-pty.js +79 -79
  499. package/dist/plugin/agent.js +78 -78
  500. package/dist/plugin/command.js +105 -105
  501. package/dist/plugin/hooks.js +1 -1
  502. package/dist/plugin/host.js +220 -220
  503. package/dist/plugin/identity.js +5 -5
  504. package/dist/plugin/instance.js +5 -5
  505. package/dist/plugin/internal.js +335 -335
  506. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  507. package/dist/plugin/models-dev.js +101 -101
  508. package/dist/plugin/module.js +119 -119
  509. package/dist/plugin/optimize.js +2 -2
  510. package/dist/plugin/plan.js +107 -107
  511. package/dist/plugin/promise.js +1 -1
  512. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  513. package/dist/plugin/provider/azure.js +118 -118
  514. package/dist/plugin/provider/cerebras.js +1 -1
  515. package/dist/plugin/provider/chatgpt.js +118 -118
  516. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  517. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  518. package/dist/plugin/provider/cohere.js +2 -2
  519. package/dist/plugin/provider/configured.js +114 -114
  520. package/dist/plugin/provider/databricks.js +1 -1
  521. package/dist/plugin/provider/digitalocean.js +98 -98
  522. package/dist/plugin/provider/dynamic.js +2 -2
  523. package/dist/plugin/provider/factory.js +1 -1
  524. package/dist/plugin/provider/github-copilot.js +100 -100
  525. package/dist/plugin/provider/gitlab.js +98 -98
  526. package/dist/plugin/provider/google-vertex.js +115 -115
  527. package/dist/plugin/provider/kilo.js +1 -1
  528. package/dist/plugin/provider/llmgateway.js +82 -82
  529. package/dist/plugin/provider/lmstudio.js +127 -127
  530. package/dist/plugin/provider/local.js +124 -124
  531. package/dist/plugin/provider/modal.js +97 -97
  532. package/dist/plugin/provider/neon.js +1 -1
  533. package/dist/plugin/provider/nvidia.js +1 -1
  534. package/dist/plugin/provider/ollama.js +127 -127
  535. package/dist/plugin/provider/openai-context-caps.js +95 -95
  536. package/dist/plugin/provider/openai.js +118 -118
  537. package/dist/plugin/provider/opencode.js +104 -104
  538. package/dist/plugin/provider/openrouter.js +96 -96
  539. package/dist/plugin/provider/perplexity.js +2 -2
  540. package/dist/plugin/provider/poe.js +83 -83
  541. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  542. package/dist/plugin/provider/sap-ai-core.js +96 -96
  543. package/dist/plugin/provider/sdk-factory.js +1 -1
  544. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  545. package/dist/plugin/provider/vercel.js +95 -95
  546. package/dist/plugin/provider/vllm.js +127 -127
  547. package/dist/plugin/provider/xai.js +96 -96
  548. package/dist/plugin/provider/zenmux.js +1 -1
  549. package/dist/plugin/provider.js +171 -171
  550. package/dist/plugin/sdk.js +78 -78
  551. package/dist/plugin/service.js +3 -3
  552. package/dist/plugin/skill.js +136 -136
  553. package/dist/plugin/source-directory.js +1 -1
  554. package/dist/plugin/supervisor.js +354 -354
  555. package/dist/plugin/tool-input-repair.js +4 -4
  556. package/dist/plugin/update.js +6 -6
  557. package/dist/plugin/vcs/git.js +91 -91
  558. package/dist/plugin/vcs/hg.js +91 -91
  559. package/dist/plugin/verbosity.js +98 -98
  560. package/dist/plugin/warming.js +116 -116
  561. package/dist/plugin/websearch/exa.js +5 -5
  562. package/dist/plugin/websearch/firecrawl.js +8 -8
  563. package/dist/plugin/websearch/index.js +9 -9
  564. package/dist/plugin/websearch/mcp.js +4 -4
  565. package/dist/plugin/websearch/parallel.js +8 -8
  566. package/dist/plugin/websearch/tavily.js +4 -4
  567. package/dist/plugin/websearch/tinyfish.js +6 -6
  568. package/dist/plugin.js +225 -225
  569. package/dist/project/schema.js +8 -8
  570. package/dist/project/sql.js +4 -4
  571. package/dist/project.js +95 -95
  572. package/dist/provider.js +102 -102
  573. package/dist/pty/protocol.js +1 -1
  574. package/dist/pty/ticket.js +1 -1
  575. package/dist/pty.js +103 -103
  576. package/dist/reference/instructions.js +92 -92
  577. package/dist/reference.js +96 -96
  578. package/dist/repository-cache.js +86 -86
  579. package/dist/repository.js +1 -1
  580. package/dist/ripgrep/binary.js +2 -2
  581. package/dist/ripgrep.js +102 -102
  582. package/dist/rpc.js +91 -91
  583. package/dist/schema.js +1 -1
  584. package/dist/session/affinity.js +1 -1
  585. package/dist/session/command.js +78 -78
  586. package/dist/session/compaction.js +141 -141
  587. package/dist/session/context.js +165 -165
  588. package/dist/session/diff.js +93 -93
  589. package/dist/session/environment.js +5 -5
  590. package/dist/session/error.js +5 -5
  591. package/dist/session/event.js +1 -1
  592. package/dist/session/execution/restart.js +220 -220
  593. package/dist/session/execution.js +131 -131
  594. package/dist/session/generate.js +169 -169
  595. package/dist/session/history.js +15 -15
  596. package/dist/session/inbox.js +97 -97
  597. package/dist/session/info.js +3 -3
  598. package/dist/session/instruction-entry.js +83 -83
  599. package/dist/session/instruction-state.js +8 -8
  600. package/dist/session/instructions.js +102 -102
  601. package/dist/session/message-updater.js +2 -2
  602. package/dist/session/message.js +1 -1
  603. package/dist/session/model-request.js +125 -125
  604. package/dist/session/model-transport.js +9 -9
  605. package/dist/session/move.js +131 -131
  606. package/dist/session/projector.js +93 -93
  607. package/dist/session/prompt.js +110 -110
  608. package/dist/session/recent-text.js +1 -1
  609. package/dist/session/revert.js +99 -99
  610. package/dist/session/run-coordinator.js +3 -3
  611. package/dist/session/runner/index.js +3 -3
  612. package/dist/session/runner/llm.js +233 -233
  613. package/dist/session/runner/max-steps.js +1 -1
  614. package/dist/session/runner/model.js +105 -105
  615. package/dist/session/runner/publish-llm-event.js +118 -118
  616. package/dist/session/runner/retry.js +5 -5
  617. package/dist/session/runner/step.js +131 -131
  618. package/dist/session/runner/to-llm-message.js +14 -14
  619. package/dist/session/schema.js +5 -5
  620. package/dist/session/session.js +167 -167
  621. package/dist/session/shell.js +132 -132
  622. package/dist/session/skill.js +108 -108
  623. package/dist/session/sql.js +5 -5
  624. package/dist/session/stats.js +77 -77
  625. package/dist/session/store.js +89 -89
  626. package/dist/session/subagent-completion.js +1 -1
  627. package/dist/session/subagent-job.js +214 -214
  628. package/dist/session/system-prompt.js +5 -5
  629. package/dist/session/title.js +171 -171
  630. package/dist/session/to-session-error.js +117 -117
  631. package/dist/session/transfer.js +216 -216
  632. package/dist/session/usage.js +1 -1
  633. package/dist/session.js +214 -214
  634. package/dist/shell/parse.js +8 -8
  635. package/dist/shell/result.js +1 -1
  636. package/dist/shell/scan.js +1 -1
  637. package/dist/shell/select.js +13 -13
  638. package/dist/shell.js +132 -132
  639. package/dist/skill/discovery.js +6 -6
  640. package/dist/skill/instructions.js +112 -112
  641. package/dist/skill.js +113 -113
  642. package/dist/snapshot.js +94 -94
  643. package/dist/state.js +1 -1
  644. package/dist/tool/html-markdown.js +1 -1
  645. package/dist/tool/http-body.js +1 -1
  646. package/dist/tool/mcp.js +142 -142
  647. package/dist/tool/plugin/edit.js +121 -121
  648. package/dist/tool/plugin/file-diff.js +1 -1
  649. package/dist/tool/plugin/glob.js +129 -129
  650. package/dist/tool/plugin/grep.js +129 -129
  651. package/dist/tool/plugin/mcp-resource.js +129 -129
  652. package/dist/tool/plugin/opencode.js +114 -114
  653. package/dist/tool/plugin/patch.js +127 -127
  654. package/dist/tool/plugin/question.js +110 -110
  655. package/dist/tool/plugin/read.js +130 -130
  656. package/dist/tool/plugin/shell.js +219 -219
  657. package/dist/tool/plugin/skill.js +118 -118
  658. package/dist/tool/plugin/subagent.js +221 -221
  659. package/dist/tool/plugin/todo.js +134 -134
  660. package/dist/tool/plugin/webfetch.js +118 -118
  661. package/dist/tool/plugin/websearch.js +119 -119
  662. package/dist/tool/plugin/write.js +127 -127
  663. package/dist/tool/read-filesystem.js +107 -107
  664. package/dist/tool/runtime.js +1 -1
  665. package/dist/tool-output.js +7 -7
  666. package/dist/tool.js +14 -14
  667. package/dist/types/aisdk.d.ts +1 -1
  668. package/dist/types/effect/app-node-platform.d.ts +1 -1
  669. package/dist/types/generate.d.ts +1 -1
  670. package/dist/types/model-resolver.d.ts +1 -1
  671. package/dist/types/model-retry.d.ts +1 -1
  672. package/dist/types/plugin/internal.d.ts +2 -2
  673. package/dist/types/provider.d.ts +2 -2
  674. package/dist/types/session/compaction.d.ts +2 -2
  675. package/dist/types/session/generate.d.ts +2 -2
  676. package/dist/types/session/history.d.ts +1 -1
  677. package/dist/types/session/model-request.d.ts +2 -2
  678. package/dist/types/session/runner/index.d.ts +1 -1
  679. package/dist/types/session/runner/model.d.ts +1 -1
  680. package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
  681. package/dist/types/session/runner/retry.d.ts +1 -1
  682. package/dist/types/session/runner/step.d.ts +2 -2
  683. package/dist/types/session/runner/to-llm-message.d.ts +1 -1
  684. package/dist/types/session/title.d.ts +1 -1
  685. package/dist/types/session/to-session-error.d.ts +1 -1
  686. package/dist/types/session/usage.d.ts +1 -1
  687. package/dist/types/tool/runtime.d.ts +1 -1
  688. package/dist/types/tool.d.ts +1 -1
  689. package/dist/usage-limits.js +93 -93
  690. package/dist/util/error-summary.js +1 -1
  691. package/dist/util/git-executable.js +3 -3
  692. package/dist/util/lazy.js +1 -1
  693. package/dist/util/slug.js +1 -1
  694. package/dist/util/token.js +1 -1
  695. package/dist/util/which.js +1 -1
  696. package/dist/util/wildcard.js +1 -1
  697. package/dist/v1/config/agent.js +7 -7
  698. package/dist/v1/config/command.js +3 -3
  699. package/dist/v1/config/mcp.js +4 -4
  700. package/dist/v1/config/migrate.js +97 -97
  701. package/dist/v1/config/permission.js +7 -7
  702. package/dist/v1/config/plugin.js +1 -1
  703. package/dist/v1/config/provider-options.js +1 -1
  704. package/dist/v1/config/provider.js +4 -4
  705. package/dist/variant.js +98 -98
  706. package/dist/vcs/patch.js +1 -1
  707. package/dist/vcs.js +94 -94
  708. package/dist/voice.js +92 -92
  709. package/dist/websearch.js +88 -88
  710. package/dist/wellknown/plugin.js +80 -80
  711. package/dist/wellknown.js +85 -85
  712. package/dist/workspace/driver.js +5 -5
  713. package/dist/workspace/sql.js +1 -1
  714. package/dist/workspace.js +84 -84
  715. package/dist/worktree/directory.js +2 -2
  716. package/dist/worktree/git.js +11 -11
  717. package/dist/worktree/sql.js +5 -5
  718. package/dist/worktree/strategies.js +94 -94
  719. package/dist/worktree.js +105 -105
  720. package/package.json +8 -8
  721. package/dist/chunks/tool-output-cw8zeq3d.js +0 -517
  722. package/dist/chunks/tool-output-grzehpz7.js +0 -18
  723. package/dist/chunks/tool-output-jr7x9p7n.js +0 -26
  724. package/dist/chunks/tool-output-pxgxg1jw.js +0 -261
  725. /package/dist/chunks/{tool-output-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
  726. /package/dist/chunks/{tool-output-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
  727. /package/dist/chunks/{tool-output-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
  728. /package/dist/chunks/{tool-output-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
  729. /package/dist/chunks/{tool-output-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
  730. /package/dist/chunks/{tool-output-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
  731. /package/dist/chunks/{tool-output-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
  732. /package/dist/chunks/{tool-output-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
  733. /package/dist/chunks/{tool-output-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
  734. /package/dist/chunks/{tool-output-3asan66x.js → model-retry-3asan66x.js} +0 -0
  735. /package/dist/chunks/{tool-output-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
  736. /package/dist/chunks/{tool-output-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
  737. /package/dist/chunks/{tool-output-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
  738. /package/dist/chunks/{tool-output-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
  739. /package/dist/chunks/{tool-output-4vcrnpx2.js → model-retry-4vcrnpx2.js} +0 -0
  740. /package/dist/chunks/{tool-output-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
  741. /package/dist/chunks/{tool-output-53557ph1.js → model-retry-53557ph1.js} +0 -0
  742. /package/dist/chunks/{tool-output-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
  743. /package/dist/chunks/{tool-output-6prwharc.js → model-retry-6prwharc.js} +0 -0
  744. /package/dist/chunks/{tool-output-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
  745. /package/dist/chunks/{tool-output-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
  746. /package/dist/chunks/{tool-output-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
  747. /package/dist/chunks/{tool-output-822emrt2.js → model-retry-822emrt2.js} +0 -0
  748. /package/dist/chunks/{tool-output-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
  749. /package/dist/chunks/{tool-output-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
  750. /package/dist/chunks/{tool-output-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
  751. /package/dist/chunks/{tool-output-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
  752. /package/dist/chunks/{tool-output-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
  753. /package/dist/chunks/{tool-output-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
  754. /package/dist/chunks/{tool-output-a058387c.js → model-retry-a058387c.js} +0 -0
  755. /package/dist/chunks/{tool-output-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
  756. /package/dist/chunks/{tool-output-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
  757. /package/dist/chunks/{tool-output-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
  758. /package/dist/chunks/{tool-output-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
  759. /package/dist/chunks/{tool-output-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
  760. /package/dist/chunks/{tool-output-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
  761. /package/dist/chunks/{tool-output-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
  762. /package/dist/chunks/{tool-output-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
  763. /package/dist/chunks/{tool-output-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
  764. /package/dist/chunks/{tool-output-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
  765. /package/dist/chunks/{tool-output-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
  766. /package/dist/chunks/{tool-output-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
  767. /package/dist/chunks/{tool-output-dajrwvna.js → model-retry-dajrwvna.js} +0 -0
  768. /package/dist/chunks/{tool-output-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
  769. /package/dist/chunks/{tool-output-df08tz66.js → model-retry-df08tz66.js} +0 -0
  770. /package/dist/chunks/{tool-output-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
  771. /package/dist/chunks/{tool-output-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
  772. /package/dist/chunks/{tool-output-e73j6tqm.js → model-retry-e73j6tqm.js} +0 -0
  773. /package/dist/chunks/{tool-output-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
  774. /package/dist/chunks/{tool-output-eh3zwz77.js → model-retry-eh3zwz77.js} +0 -0
  775. /package/dist/chunks/{tool-output-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
  776. /package/dist/chunks/{tool-output-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
  777. /package/dist/chunks/{tool-output-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
  778. /package/dist/chunks/{tool-output-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
  779. /package/dist/chunks/{tool-output-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
  780. /package/dist/chunks/{tool-output-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
  781. /package/dist/chunks/{tool-output-g86h250q.js → model-retry-g86h250q.js} +0 -0
  782. /package/dist/chunks/{tool-output-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
  783. /package/dist/chunks/{tool-output-gftt206x.js → model-retry-gftt206x.js} +0 -0
  784. /package/dist/chunks/{tool-output-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
  785. /package/dist/chunks/{tool-output-hk9envan.js → model-retry-hk9envan.js} +0 -0
  786. /package/dist/chunks/{tool-output-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
  787. /package/dist/chunks/{tool-output-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
  788. /package/dist/chunks/{tool-output-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
  789. /package/dist/chunks/{tool-output-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
  790. /package/dist/chunks/{tool-output-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
  791. /package/dist/chunks/{tool-output-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
  792. /package/dist/chunks/{tool-output-jze0r7bz.js → model-retry-jze0r7bz.js} +0 -0
  793. /package/dist/chunks/{tool-output-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
  794. /package/dist/chunks/{tool-output-m18g726c.js → model-retry-m18g726c.js} +0 -0
  795. /package/dist/chunks/{tool-output-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
  796. /package/dist/chunks/{tool-output-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
  797. /package/dist/chunks/{tool-output-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
  798. /package/dist/chunks/{tool-output-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
  799. /package/dist/chunks/{tool-output-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
  800. /package/dist/chunks/{tool-output-pkyv6v7h.js → model-retry-pkyv6v7h.js} +0 -0
  801. /package/dist/chunks/{tool-output-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
  802. /package/dist/chunks/{tool-output-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
  803. /package/dist/chunks/{tool-output-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
  804. /package/dist/chunks/{tool-output-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
  805. /package/dist/chunks/{tool-output-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
  806. /package/dist/chunks/{tool-output-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
  807. /package/dist/chunks/{tool-output-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
  808. /package/dist/chunks/{tool-output-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
  809. /package/dist/chunks/{tool-output-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
  810. /package/dist/chunks/{tool-output-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
  811. /package/dist/chunks/{tool-output-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
  812. /package/dist/chunks/{tool-output-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
  813. /package/dist/chunks/{tool-output-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
  814. /package/dist/chunks/{tool-output-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
  815. /package/dist/chunks/{tool-output-wjj7prxr.js → model-retry-wjj7prxr.js} +0 -0
  816. /package/dist/chunks/{tool-output-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
  817. /package/dist/chunks/{tool-output-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
  818. /package/dist/chunks/{tool-output-x61499pn.js → model-retry-x61499pn.js} +0 -0
  819. /package/dist/chunks/{tool-output-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
  820. /package/dist/chunks/{tool-output-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
  821. /package/dist/chunks/{tool-output-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
  822. /package/dist/chunks/{tool-output-ym463w8f.js → model-retry-ym463w8f.js} +0 -0
  823. /package/dist/chunks/{tool-output-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
  824. /package/dist/chunks/{tool-output-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./tool-output-682mbbtd.js";
4
+ } from "./model-retry-g91txfza.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./tool-output-bstexjd6.js";
11
+ } from "./model-retry-bstexjd6.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./tool-output-z5v4ffb3.js";
14
+ } from "./model-retry-z5v4ffb3.js";
15
15
  import {
16
- Service47,
17
- node51
18
- } from "./tool-output-x7jnexzk.js";
16
+ Service40,
17
+ node43
18
+ } from "./model-retry-zx5t73xg.js";
19
19
  import {
20
20
  create3
21
- } from "./tool-output-vd3b3yk9.js";
21
+ } from "./model-retry-vd3b3yk9.js";
22
22
  import {
23
23
  __export
24
- } from "./tool-output-9rqn6x4v.js";
24
+ } from "./model-retry-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event10,
29
+ Event: () => Event4,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info10,
31
+ Info: () => Info7,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service46,
35
- Source: () => Source4,
36
- node: () => node50
34
+ Service: () => Service37,
35
+ Source: () => Source3,
36
+ node: () => node40
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event10 } from "@opencode/schema/reference";
42
+ import { Event as Event4 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source4 = Reference.Source;
46
- var Info10 = Reference.Info;
45
+ var Source3 = Reference.Source;
46
+ var Info7 = Reference.Info;
47
47
 
48
- class Service46 extends Context.Service()("@opencode/Reference") {
48
+ class Service37 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service46, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service86;
53
- const cache = yield* Service47;
53
+ const cache = yield* Service40;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info10.make({ ...info, path: source.path })];
63
+ return [Info7.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info10.make({
75
+ Info7.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service46.of({
107
+ return Service37.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node50 = makeLocationNode({
116
- service: Service46,
115
+ var node40 = makeLocationNode({
116
+ service: Service37,
117
117
  layer,
118
- deps: [Global.node, node90, node51]
118
+ deps: [Global.node, node90, node43]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source4, Info10, Service46, node50, exports_reference2, Event10 };
121
+ export { LocalSource2, GitSource2, Source3, Info7, Service37, node40, exports_reference2, Event4 };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./tool-output-z5v4ffb3.js";
3
+ } from "./model-retry-z5v4ffb3.js";
4
4
  import {
5
- Service83
6
- } from "./tool-output-vfntgn96.js";
5
+ Service77
6
+ } from "./model-retry-jvasdgem.js";
7
7
  import {
8
- Service59
9
- } from "./tool-output-ga2dp1ny.js";
8
+ Service71
9
+ } from "./model-retry-w4qj5bhy.js";
10
10
  import {
11
- Service17
12
- } from "./tool-output-6xaz3aew.js";
11
+ Service49
12
+ } from "./model-retry-wx4hn9c6.js";
13
13
  import {
14
14
  observe2
15
- } from "./tool-output-6pjqjmy2.js";
15
+ } from "./model-retry-6pjqjmy2.js";
16
16
  import {
17
17
  __export
18
- } from "./tool-output-9rqn6x4v.js";
18
+ } from "./model-retry-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin28
24
+ Plugin: () => Plugin18
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin28 = define({
30
+ var Plugin18 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service59;
34
- const location = yield* Service83;
33
+ const config = yield* Service71;
34
+ const location = yield* Service77;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service17;
36
+ const worktrees = yield* Service49;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin28 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin28, exports_worktree };
51
+ export { Plugin18, exports_worktree };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./tool-output-3v8g72cx.js";
3
+ } from "./model-retry-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-output-9rqn6x4v.js";
6
+ } from "./model-retry-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp2 = {};
10
10
  __export(exports_mcp2, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
12
  WebSearchMcp: () => exports_mcp2,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/http";
18
- var MAX_RESPONSE_BYTES3 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES2 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.scoped, Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
64
+ export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
@@ -108,29 +108,19 @@ var validateStandard = (schema, value) => Effect.gen(function* () {
108
108
  onFailure: (error) => ({ issues: [{ message: error instanceof Error ? error.message : String(error) }] }),
109
109
  onSuccess: (result) => result
110
110
  }));
111
- var inputJsonSchemas = new WeakMap;
112
- var outputJsonSchemas = new WeakMap;
113
- var memoize = (cache, schema, build) => {
114
- const cached = cache.get(schema);
115
- if (cached)
116
- return cached;
117
- const built = build();
118
- cache.set(schema, built);
119
- return built;
120
- };
121
111
  var inputJsonSchema = (schema) => {
122
112
  if (schema === undefined || schema === null)
123
113
  return {};
124
114
  if (isStandardSchema(schema))
125
- return memoize(inputJsonSchemas, schema, () => standardJsonSchema(schema, "input"));
115
+ return standardJsonSchema(schema, "input");
126
116
  if (!Schema.isSchema(schema))
127
117
  return schema;
128
- return memoize(inputJsonSchemas, schema, () => emptyInputJsonSchema(schema) ?? toJsonSchema(schema));
118
+ return emptyInputJsonSchema(schema) ?? toJsonSchema(schema);
129
119
  };
130
120
  var outputJsonSchema = (schema) => {
131
121
  if (isStandardSchema(schema))
132
- return memoize(outputJsonSchemas, schema, () => standardJsonSchema(schema, "output"));
133
- return Schema.isSchema(schema) ? memoize(outputJsonSchemas, schema, () => toJsonSchema(schema)) : schema;
122
+ return standardJsonSchema(schema, "output");
123
+ return Schema.isSchema(schema) ? toJsonSchema(schema) : schema;
134
124
  };
135
125
  var standardJsonSchema = (schema, io) => {
136
126
  if (isStandardJSONSchema(schema))
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./tool-output-6q2bdcd1.js";
3
+ } from "./model-retry-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -4,44 +4,44 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./tool-output-sjmm3wxa.js";
7
+ } from "./model-retry-5fjb7ams.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./tool-output-xkfczkpn.js";
11
+ } from "./model-retry-4xvmh7wp.js";
12
12
  import {
13
13
  create3
14
- } from "./tool-output-vd3b3yk9.js";
14
+ } from "./model-retry-vd3b3yk9.js";
15
15
  import {
16
- Service66,
17
- node69
18
- } from "./tool-output-a3h99bw5.js";
16
+ Service44,
17
+ node48
18
+ } from "./model-retry-tmgcn98f.js";
19
19
  import {
20
20
  Service76,
21
21
  node80
22
- } from "./tool-output-v6h5bgwd.js";
22
+ } from "./model-retry-v6h5bgwd.js";
23
23
  import {
24
24
  match2
25
- } from "./tool-output-z38nccrw.js";
25
+ } from "./model-retry-z38nccrw.js";
26
26
  import {
27
27
  __export
28
- } from "./tool-output-9rqn6x4v.js";
28
+ } from "./model-retry-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error4,
35
+ Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service65,
38
+ Service: () => Service43,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node68
41
+ node: () => node47
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
- import { ToolDefinition } from "@opencode/ai";
43
+ import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
+ import { ToolDefinition } from "@opencode/ai/effect";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
47
47
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service65 extends Context.Service()("@opencode/Tool") {
54
+ class Service43 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service65, Effect.gen(function* () {
56
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
57
57
  const hooks = yield* Service76;
58
- const image = yield* Service66;
58
+ const image = yield* Service44;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -131,6 +131,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
131
131
  name: "tool",
132
132
  initial: () => ({
133
133
  tools: new Map,
134
+ definitions: new Map,
134
135
  namespaces: new Map,
135
136
  errors: []
136
137
  }),
@@ -146,13 +147,19 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
146
147
  editor.namespaces.set(namespace.name, { ...namespace });
147
148
  },
148
149
  add: (tool) => {
149
- const error = registrationError(tool);
150
- if (error) {
151
- editor.errors.push({ kind: "tool", name: tool.name, namespace: tool.options?.namespace, error });
150
+ const registered = register(tool);
151
+ if (Result.isFailure(registered)) {
152
+ editor.errors.push({
153
+ kind: "tool",
154
+ name: tool.name,
155
+ namespace: tool.options?.namespace,
156
+ error: registered.failure
157
+ });
152
158
  return;
153
159
  }
154
160
  const id = effectiveName2(tool);
155
161
  editor.tools.set(id, { ...tool, id, options: tool.options && { ...tool.options } });
162
+ editor.definitions.set(id, registered.success);
156
163
  },
157
164
  update: (id, update) => {
158
165
  const current = editor.tools.get(id);
@@ -164,15 +171,22 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
164
171
  tool.id = id;
165
172
  if (tool.options?.namespace !== current.options?.namespace)
166
173
  tool.options = { ...tool.options, namespace: current.options?.namespace };
167
- const error = registrationError(tool);
168
- if (error) {
169
- editor.errors.push({ kind: "tool", name: tool.name, namespace: tool.options?.namespace, error });
174
+ const registered = register(tool);
175
+ if (Result.isFailure(registered)) {
176
+ editor.errors.push({
177
+ kind: "tool",
178
+ name: tool.name,
179
+ namespace: tool.options?.namespace,
180
+ error: registered.failure
181
+ });
170
182
  return;
171
183
  }
172
184
  editor.tools.set(id, tool);
185
+ editor.definitions.set(id, registered.success);
173
186
  },
174
187
  remove: (id) => {
175
188
  editor.tools.delete(id);
189
+ editor.definitions.delete(id);
176
190
  }
177
191
  }),
178
192
  notify: (value) => {
@@ -184,7 +198,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
184
198
  }), { discard: true });
185
199
  }
186
200
  });
187
- return Service65.of({
201
+ return Service43.of({
188
202
  transform: state.transform,
189
203
  reload: state.reload,
190
204
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -205,13 +219,20 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
205
219
  const codeModeInventory = cached?.inventory ?? { tools: codeModeTools, namespaces: data.namespaces };
206
220
  const codeModeTool = codeModeEnabled ? create2(codeModeInventory, (name, tool, input, context) => beforeExecute(name, input, context).pipe(Effect.flatMap((event) => executeTool(tool, name, event.input, context)))) : undefined;
207
221
  const codeModeCatalog = !codeModeEnabled ? undefined : cached?.value ?? catalog2(codeModeInventory);
208
- if (codeModeCatalog)
209
- catalog = { data, names, inventory: codeModeInventory, value: codeModeCatalog };
222
+ const codeModeDefinition = codeModeTool && (cached?.definition ?? definition2(codeModeTool));
223
+ if (codeModeCatalog && codeModeDefinition)
224
+ catalog = {
225
+ data,
226
+ names,
227
+ inventory: codeModeInventory,
228
+ value: codeModeCatalog,
229
+ definition: codeModeDefinition
230
+ };
210
231
  return {
211
232
  ...codeModeCatalog === undefined ? {} : { codeModeCatalog },
212
233
  definitions: [
213
- ...Array.from(direct).sort(([left], [right]) => left < right ? -1 : left > right ? 1 : 0).map(([, tool]) => definition2(tool)),
214
- ...codeModeTool ? [definition2(codeModeTool)] : []
234
+ ...Array.from(direct).sort(([left], [right]) => left < right ? -1 : left > right ? 1 : 0).map(([name]) => data.definitions.get(name)),
235
+ ...codeModeDefinition ? [codeModeDefinition] : []
215
236
  ],
216
237
  execute: Effect.fnUntraced(function* (input) {
217
238
  const context = {
@@ -249,34 +270,33 @@ function schemaMakeError(error) {
249
270
  return formatSchemaIssue(error.cause);
250
271
  return error instanceof Error ? error.message : String(error);
251
272
  }
252
- function registrationError(tool) {
273
+ function register(tool) {
253
274
  const namespace = tool.options?.namespace;
254
275
  if (namespace !== undefined) {
255
276
  const error = namespaceError(namespace);
256
277
  if (error)
257
- return error;
278
+ return Result.fail(error);
258
279
  }
259
280
  const name = normalizedName2(tool);
260
281
  if (!/^[A-Za-z0-9_-]+$/.test(name))
261
- return new RegistrationError2({ name, message: `Invalid tool name: ${name}` });
282
+ return Result.fail(new RegistrationError2({ name, message: `Invalid tool name: ${name}` }));
262
283
  const id = effectiveName2(tool);
263
284
  if (tool.options?.codemode === false && id === "execute")
264
- return new RegistrationError2({ name: id, message: 'Tool name "execute" is reserved for CodeMode' });
265
- const result = Result.try({
285
+ return Result.fail(new RegistrationError2({ name: id, message: 'Tool name "execute" is reserved for CodeMode' }));
286
+ return Result.try({
266
287
  try: () => ToolDefinition.make(definition2(tool)),
267
288
  catch: (error) => new RegistrationError2({ name: id, message: `Invalid tool definition ${id}: ${schemaMakeError(error)}` })
268
289
  });
269
- return Result.isFailure(result) ? result.failure : undefined;
270
290
  }
271
291
  function namespaceError(name) {
272
292
  if (name.split(".").every((segment) => /^[A-Za-z0-9_-]+$/.test(segment)))
273
293
  return;
274
294
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
295
  }
276
- var node68 = makeLocationNode({
277
- service: Service65,
296
+ var node47 = makeLocationNode({
297
+ service: Service43,
278
298
  layer,
279
- deps: [node80, node69]
299
+ deps: [node80, node48]
280
300
  });
281
301
 
282
- export { RegistrationError2, Service65, node68, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
302
+ export { RegistrationError2, Service43, node47, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-output-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-defaults.ts
6
6
  var exports_mcp_codemode_defaults = {};
7
7
  __export(exports_mcp_codemode_defaults, {
8
8
  McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
9
- Plugin: () => Plugin48
9
+ Plugin: () => Plugin27
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
14
  var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
15
15
  var mode = "x-posthog-mcp-mode";
16
- var Plugin48 = define({
16
+ var Plugin27 = define({
17
17
  id: "opencode.mcp.codemode.defaults",
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.mcp.transform((editor) => {
@@ -38,4 +38,4 @@ var Plugin48 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin48, exports_mcp_codemode_defaults };
41
+ export { Plugin27, exports_mcp_codemode_defaults };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./tool-output-rbpy9kt0.js";
2
+ ID12
3
+ } from "./model-retry-yqqqeckg.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
35
35
  })))).filter(Boolean).toSorted();
36
36
  yield* ctx.integration.transform((editor) => {
37
37
  editor.method.update({
38
- integrationID: ID13.amazonBedrock,
38
+ integrationID: ID12.amazonBedrock,
39
39
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
40
40
  });
41
41
  editor.method.update({
42
- integrationID: ID13.amazonBedrock,
42
+ integrationID: ID12.amazonBedrock,
43
43
  method: { type: "key", label: "Bedrock API key" }
44
44
  });
45
45
  editor.method.update({
46
- integrationID: ID13.amazonBedrock,
46
+ integrationID: ID12.amazonBedrock,
47
47
  method: {
48
48
  id: "aws-profile",
49
49
  type: "external",
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service46,
3
- node50
4
- } from "./tool-output-a7549q9v.js";
2
+ Service37,
3
+ node40
4
+ } from "./model-retry-592w8t9y.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make21,
8
+ make20,
9
9
  diffByKey2
10
- } from "./tool-output-jneg3k74.js";
10
+ } from "./model-retry-e5dqjz6v.js";
11
11
  import {
12
12
  __export
13
- } from "./tool-output-9rqn6x4v.js";
13
+ } from "./model-retry-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
16
  var exports_instructions2 = {};
17
17
  __export(exports_instructions2, {
18
18
  ReferenceInstructions: () => exports_instructions2,
19
- Service: () => Service26,
20
- node: () => node30
19
+ Service: () => Service31,
20
+ node: () => node34
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,18 +61,18 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service26 extends Context.Service()("@opencode/ReferenceInstructions") {
64
+ class Service31 extends Context.Service()("@opencode/ReferenceInstructions") {
65
65
  }
66
- var layer = Layer.effect(Service26, Effect.gen(function* () {
67
- const references = yield* Service46;
68
- return Service26.of({
66
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
67
+ const references = yield* Service37;
68
+ return Service31.of({
69
69
  load: Effect.fn("ReferenceInstructions.load")(function* () {
70
70
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
71
71
  name: reference.name,
72
72
  path: reference.path,
73
73
  description: reference.description
74
74
  })).toSorted((a, b) => a.name.localeCompare(b.name));
75
- return make21({
75
+ return make20({
76
76
  key: Key3.make("core/reference-guidance"),
77
77
  codec: Schema.toCodecJson(Schema.Array(Summary)),
78
78
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
85
85
  })
86
86
  });
87
87
  }));
88
- var node30 = makeLocationNode({ service: Service26, layer, deps: [node50] });
88
+ var node34 = makeLocationNode({ service: Service31, layer, deps: [node40] });
89
89
 
90
- export { Service26, node30, exports_instructions2 };
90
+ export { Service31, node34, exports_instructions2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./tool-output-60p7g2te.js";
3
+ } from "./model-retry-qnz3a88e.js";
4
4
  import {
5
5
  call2
6
- } from "./tool-output-w2eysc6j.js";
6
+ } from "./model-retry-5enarcya.js";
7
7
  import {
8
8
  __export
9
- } from "./tool-output-9rqn6x4v.js";
9
+ } from "./model-retry-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin38,
14
+ Plugin: () => Plugin24,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint5
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/http";
21
- var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin38 = define({
40
+ var Plugin24 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin38 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin38 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint5, Plugin38, exports_firecrawl };
80
+ export { endpoint4, Plugin24, exports_firecrawl };