@opencode/core 0.0.0-dev-19908 → 0.0.0-dev-19910

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{location-service-map-nx2c145c.js → git-0e4jjwrw.js} +24 -24
  8. package/dist/chunks/{location-service-map-0ft9cg2j.js → git-0ft9cg2j.js} +1 -1
  9. package/dist/chunks/{location-service-map-qgn6gcr1.js → git-0jwsre1p.js} +5 -5
  10. package/dist/chunks/git-0mesazry.js +4 -0
  11. package/dist/chunks/{location-service-map-0paq2nw3.js → git-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{location-service-map-0q0f95c6.js → git-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{location-service-map-5kfdkwnt.js → git-0vm7ymqn.js} +10 -10
  14. package/dist/chunks/{location-service-map-t9sq69f9.js → git-0vrxxr1a.js} +34 -34
  15. package/dist/chunks/{location-service-map-8r1shvjs.js → git-0xs9q83d.js} +4 -4
  16. package/dist/chunks/{location-service-map-8pxjqnah.js → git-16y6wkws.js} +11 -11
  17. package/dist/chunks/{location-service-map-p3mw2y19.js → git-17peyqa8.js} +23 -23
  18. package/dist/chunks/{location-service-map-1dazxqgg.js → git-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{location-service-map-4bhjphkk.js → git-1e3e3vry.js} +9 -9
  20. package/dist/chunks/{location-service-map-0mkceren.js → git-1hyh35hc.js} +15 -15
  21. package/dist/chunks/{location-service-map-z8z94c7r.js → git-1ns81jp7.js} +22 -22
  22. package/dist/chunks/{location-service-map-90zzpcmb.js → git-1p4vxbgh.js} +5 -5
  23. package/dist/chunks/{location-service-map-sd2d2cgh.js → git-1pp06av9.js} +37 -37
  24. package/dist/chunks/{location-service-map-a881zpfh.js → git-1rh4yqvv.js} +9 -9
  25. package/dist/chunks/{location-service-map-21r38tys.js → git-21r38tys.js} +1 -1
  26. package/dist/chunks/{location-service-map-6h73sxmp.js → git-2402vzrj.js} +5 -5
  27. package/dist/chunks/{location-service-map-eewwnnjm.js → git-2689451z.js} +4 -4
  28. package/dist/chunks/{location-service-map-ep7z2cty.js → git-288kk2p1.js} +7 -7
  29. package/dist/chunks/{location-service-map-2a5m3afh.js → git-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{location-service-map-0t9wd588.js → git-2aet7wja.js} +8 -8
  31. package/dist/chunks/{location-service-map-bxtw2qk2.js → git-2bxa57sj.js} +17 -17
  32. package/dist/chunks/{location-service-map-vk9pbctf.js → git-2nwjcwjm.js} +32 -32
  33. package/dist/chunks/{location-service-map-x6cf67we.js → git-3cjhgjje.js} +56 -56
  34. package/dist/chunks/{location-service-map-ph842b28.js → git-3ewed21c.js} +4 -4
  35. package/dist/chunks/{location-service-map-3fc6dm20.js → git-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{location-service-map-3hepkmqq.js → git-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{location-service-map-83bwd35t.js → git-3hj12f9s.js} +12 -12
  38. package/dist/chunks/{location-service-map-vq6a6twd.js → git-3hr1140z.js} +25 -25
  39. package/dist/chunks/{location-service-map-yqm635vm.js → git-3pe4e59h.js} +15 -15
  40. package/dist/chunks/{location-service-map-3smtnn6g.js → git-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{location-service-map-3tvqynh2.js → git-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{location-service-map-f6dgbcmr.js → git-43nsyqa5.js} +23 -23
  43. package/dist/chunks/{location-service-map-wkegjedf.js → git-43zf1p2c.js} +5 -5
  44. package/dist/chunks/{location-service-map-wpe4t8d6.js → git-4fp7hyfn.js} +13 -16
  45. package/dist/chunks/{location-service-map-1a5fqs30.js → git-4p5t2wp7.js} +13 -13
  46. package/dist/chunks/{location-service-map-662skhf0.js → git-4r2mk5j3.js} +18 -18
  47. package/dist/chunks/{location-service-map-whtzs7pp.js → git-4vxbjmaf.js} +29 -29
  48. package/dist/chunks/{location-service-map-98b0h016.js → git-4wja9c2w.js} +10 -10
  49. package/dist/chunks/{location-service-map-1ygqh575.js → git-56gdpj1q.js} +9 -9
  50. package/dist/chunks/{location-service-map-paegk39x.js → git-5c0f1prt.js} +4 -4
  51. package/dist/chunks/{location-service-map-5daktx2q.js → git-5daktx2q.js} +1 -1
  52. package/dist/chunks/{location-service-map-jqx27dm3.js → git-5hv86fpb.js} +14 -14
  53. package/dist/chunks/{location-service-map-92azg307.js → git-5hx7d1d6.js} +5 -5
  54. package/dist/chunks/{location-service-map-m6ry2d28.js → git-5s1mhvj6.js} +14 -14
  55. package/dist/chunks/{location-service-map-kp1afcxm.js → git-5scqd8ad.js} +26 -26
  56. package/dist/chunks/{location-service-map-5t3nmthw.js → git-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{location-service-map-s9zgft08.js → git-5y69b4r6.js} +11 -11
  58. package/dist/chunks/{location-service-map-r40g9bwm.js → git-618b53ja.js} +20 -20
  59. package/dist/chunks/{location-service-map-4cxhm7bv.js → git-63nbkngr.js} +24 -24
  60. package/dist/chunks/{location-service-map-v3vvdts4.js → git-64af36b2.js} +11 -11
  61. package/dist/chunks/{location-service-map-669tq793.js → git-669tq793.js} +1 -1
  62. package/dist/chunks/{location-service-map-6qn23cec.js → git-672beszh.js} +3 -3
  63. package/dist/chunks/{location-service-map-mv76532y.js → git-6dt9rsqm.js} +31 -31
  64. package/dist/chunks/{location-service-map-m012ar2z.js → git-6e6g2mqd.js} +3 -3
  65. package/dist/chunks/{location-service-map-xmhy1khr.js → git-6gykz65j.js} +5 -5
  66. package/dist/chunks/{location-service-map-3zjkz1b2.js → git-6j8cvwa1.js} +25 -25
  67. package/dist/chunks/{location-service-map-x1xcpfha.js → git-6jqkynh6.js} +12 -12
  68. package/dist/chunks/{location-service-map-6msgmcgs.js → git-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{location-service-map-pbw8g0bs.js → git-6sxa5bvt.js} +23 -23
  70. package/dist/chunks/{location-service-map-fmyban77.js → git-6ybsm94g.js} +16 -16
  71. package/dist/chunks/{location-service-map-dexmpbfg.js → git-6yv4qapz.js} +11 -11
  72. package/dist/chunks/{location-service-map-dn8dshff.js → git-74b6haq2.js} +31 -31
  73. package/dist/chunks/{location-service-map-9xvq3m7s.js → git-78v47nsk.js} +5 -5
  74. package/dist/chunks/git-7aqwnkq9.js +252 -0
  75. package/dist/chunks/{location-service-map-7bmhse3q.js → git-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{location-service-map-65m45y7f.js → git-7parea5t.js} +33 -33
  77. package/dist/chunks/{location-service-map-1w6r18a3.js → git-7qfnj7bd.js} +9 -9
  78. package/dist/chunks/{location-service-map-b6jkr1zz.js → git-7vr3dmr2.js} +13 -13
  79. package/dist/chunks/{location-service-map-qh9dpbry.js → git-7z7fdcae.js} +19 -19
  80. package/dist/chunks/{location-service-map-xp4st0zd.js → git-858mqmds.js} +8 -8
  81. package/dist/chunks/{location-service-map-tcezcvh9.js → git-89znhe33.js} +4 -4
  82. package/dist/chunks/{location-service-map-gkejymts.js → git-8cyahtjd.js} +4 -4
  83. package/dist/chunks/{location-service-map-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{location-service-map-0fn2v7vk.js → git-8e1b1gzh.js} +6 -6
  85. package/dist/chunks/{location-service-map-rx6jh09a.js → git-8erct5rq.js} +5 -5
  86. package/dist/chunks/{location-service-map-9v0tnpfd.js → git-8g9s2qm2.js} +36 -36
  87. package/dist/chunks/{location-service-map-4xwtynpb.js → git-8hnmhdsn.js} +23 -23
  88. package/dist/chunks/{location-service-map-dj2t23y0.js → git-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{location-service-map-hs63n349.js → git-8xy4ymhm.js} +46 -46
  90. package/dist/chunks/git-9a3eyg4n.js +26 -0
  91. package/dist/chunks/{location-service-map-a8efdyvq.js → git-9gz4yvws.js} +4 -4
  92. package/dist/chunks/{location-service-map-8hyye2v9.js → git-9nxfh24q.js} +16 -16
  93. package/dist/chunks/{location-service-map-y38r0g18.js → git-9zajbvzp.js} +3 -3
  94. package/dist/chunks/{location-service-map-fhk237js.js → git-9znc1w06.js} +41 -41
  95. package/dist/chunks/{location-service-map-5c4hm403.js → git-a1bz86dw.js} +3 -3
  96. package/dist/chunks/{location-service-map-hkagk5ex.js → git-a3r4dcrj.js} +2 -2
  97. package/dist/chunks/{location-service-map-aaet6srn.js → git-aaet6srn.js} +2 -2
  98. package/dist/chunks/{location-service-map-2fgn2we9.js → git-aamtrqep.js} +9 -9
  99. package/dist/chunks/{location-service-map-ddt2bs9e.js → git-afdssyjb.js} +4 -4
  100. package/dist/chunks/{location-service-map-4m7whkwr.js → git-ar15xcmb.js} +11 -11
  101. package/dist/chunks/{location-service-map-ddbqavaz.js → git-aze3g556.js} +7 -7
  102. package/dist/chunks/{location-service-map-9gn5b0q7.js → git-b4etar07.js} +32 -32
  103. package/dist/chunks/{location-service-map-v0nht15a.js → git-b4wh3kk3.js} +42 -42
  104. package/dist/chunks/{location-service-map-b6gygkdw.js → git-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{location-service-map-78tqsgcn.js → git-b8wnyzx7.js} +41 -41
  106. package/dist/chunks/{location-service-map-8s8mxddj.js → git-bjn91642.js} +4 -4
  107. package/dist/chunks/{location-service-map-3y1j0a2h.js → git-bm3dpr67.js} +4 -4
  108. package/dist/chunks/{location-service-map-qtq0xewc.js → git-bpjsqt6w.js} +15 -15
  109. package/dist/chunks/{location-service-map-htx28xdf.js → git-bqcxmntf.js} +12 -12
  110. package/dist/chunks/{location-service-map-dtcnxq3d.js → git-brvw573r.js} +10 -10
  111. package/dist/chunks/{location-service-map-fdwj3bfj.js → git-by82rxdc.js} +23 -23
  112. package/dist/chunks/{location-service-map-9vnf7qt0.js → git-c42wgx82.js} +35 -35
  113. package/dist/chunks/{location-service-map-hk3dpda4.js → git-c49neaws.js} +49 -49
  114. package/dist/chunks/{location-service-map-0m0tvs7x.js → git-c6ds0c94.js} +4 -4
  115. package/dist/chunks/{location-service-map-a90nz60e.js → git-c6z42dag.js} +31 -31
  116. package/dist/chunks/{location-service-map-wqc4f3p6.js → git-cdbm2jpq.js} +13 -13
  117. package/dist/chunks/{location-service-map-m0jqrx5p.js → git-cfpkc3c9.js} +2 -2
  118. package/dist/chunks/{location-service-map-gx2b53vf.js → git-cg9hks8v.js} +22 -22
  119. package/dist/chunks/{location-service-map-gxnxecbq.js → git-ckpezhnz.js} +28 -28
  120. package/dist/chunks/{location-service-map-9hn6k4tm.js → git-czfptnv9.js} +8 -8
  121. package/dist/chunks/{location-service-map-trhnmn1e.js → git-d3vp4tvv.js} +47 -47
  122. package/dist/chunks/{location-service-map-wawr6n1a.js → git-dfvnyc1p.js} +12 -12
  123. package/dist/chunks/{location-service-map-xt2qmbhx.js → git-dkgfs7qs.js} +41 -41
  124. package/dist/chunks/{location-service-map-jrxej8cd.js → git-drmrsq1a.js} +22 -22
  125. package/dist/chunks/{location-service-map-drwq78ky.js → git-drwq78ky.js} +1 -1
  126. package/dist/chunks/{location-service-map-n98zs5sd.js → git-dvn4kdj3.js} +15 -15
  127. package/dist/chunks/{location-service-map-5wrvcd50.js → git-dy3fdsce.js} +28 -28
  128. package/dist/chunks/{location-service-map-9180s51j.js → git-e1h2r55f.js} +8 -8
  129. package/dist/chunks/{location-service-map-r3fe1xjf.js → git-ebc9nwad.js} +7 -7
  130. package/dist/chunks/{location-service-map-ef5x83kb.js → git-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{location-service-map-r33kyee3.js → git-ehsj7wt5.js} +15 -15
  132. package/dist/chunks/{location-service-map-gp68ydnh.js → git-er2nv8wb.js} +8 -8
  133. package/dist/chunks/{location-service-map-wby7c117.js → git-er6g6738.js} +5 -5
  134. package/dist/chunks/{location-service-map-erw5rpbs.js → git-erw5rpbs.js} +2 -2
  135. package/dist/chunks/{location-service-map-etq0c3wd.js → git-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{location-service-map-d1x6gan2.js → git-eyqq4r43.js} +8 -8
  137. package/dist/chunks/{location-service-map-b4x0msg6.js → git-f5yy2vv1.js} +9 -9
  138. package/dist/chunks/{location-service-map-hdnk95c8.js → git-f828m53h.js} +2 -2
  139. package/dist/chunks/{location-service-map-zar9kkhf.js → git-fa0xf0qg.js} +25 -25
  140. package/dist/chunks/{location-service-map-fkjmw100.js → git-fkjmw100.js} +2 -2
  141. package/dist/chunks/{location-service-map-p7a39gy5.js → git-fpq9acqp.js} +6 -6
  142. package/dist/chunks/{location-service-map-0pvf7m16.js → git-ftt4q9pv.js} +10 -10
  143. package/dist/chunks/{location-service-map-2a4ngzra.js → git-fx8hh4f3.js} +11 -11
  144. package/dist/chunks/{location-service-map-fxbjtjnd.js → git-fxbjtjnd.js} +1 -1
  145. package/dist/chunks/{location-service-map-j7jx6nts.js → git-fzgke8tr.js} +11 -11
  146. package/dist/chunks/{location-service-map-166kng33.js → git-g1sxm558.js} +8 -8
  147. package/dist/chunks/{location-service-map-xpqdzpnq.js → git-g6kej4xb.js} +17 -17
  148. package/dist/chunks/{location-service-map-gd4qta3r.js → git-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{location-service-map-army0fs2.js → git-ggjkqpcf.js} +15 -15
  150. package/dist/chunks/{location-service-map-tt8pxjfh.js → git-gjcbrjt5.js} +1 -1
  151. package/dist/chunks/{location-service-map-nhnj3r8x.js → git-gqft2nrr.js} +6 -6
  152. package/dist/chunks/{location-service-map-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{location-service-map-yt1n8wq9.js → git-h2aa9ksg.js} +44 -44
  154. package/dist/chunks/{location-service-map-9a1vbzsf.js → git-h6r3nrb9.js} +4 -4
  155. package/dist/chunks/{location-service-map-h6vf3j39.js → git-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{location-service-map-8a9xw8ry.js → git-ha8vn221.js} +13 -13
  157. package/dist/chunks/{location-service-map-mtq5sw6w.js → git-hf4whmtg.js} +1 -1
  158. package/dist/chunks/{location-service-map-2tfmgkzg.js → git-hfdr1yjj.js} +4 -4
  159. package/dist/chunks/{location-service-map-2b1sk39h.js → git-hka040n9.js} +17 -17
  160. package/dist/chunks/{location-service-map-vkt5fbj2.js → git-hz84tk5e.js} +8 -8
  161. package/dist/chunks/{location-service-map-mhkvc446.js → git-j028xdjb.js} +3 -3
  162. package/dist/chunks/{location-service-map-j56e64zr.js → git-j56e64zr.js} +1 -1
  163. package/dist/chunks/{location-service-map-1z27hz33.js → git-j63fa09p.js} +50 -50
  164. package/dist/chunks/{location-service-map-772npm7s.js → git-j8xg6mrm.js} +43 -43
  165. package/dist/chunks/{location-service-map-ndmv45hp.js → git-jexxy024.js} +3 -3
  166. package/dist/chunks/{location-service-map-5egg5sww.js → git-jf362r72.js} +3 -3
  167. package/dist/chunks/{location-service-map-6836s78k.js → git-jk15xws4.js} +11 -11
  168. package/dist/chunks/{location-service-map-vd14z2yv.js → git-jpd36d6c.js} +15 -15
  169. package/dist/chunks/{location-service-map-nzks3jc8.js → git-k3c624dm.js} +3 -3
  170. package/dist/chunks/{location-service-map-emrt4k6z.js → git-kczjb4tf.js} +20 -20
  171. package/dist/chunks/{location-service-map-gtsscnck.js → git-kh9xs558.js} +9 -9
  172. package/dist/chunks/{location-service-map-27npcnq6.js → git-krbhq476.js} +51 -51
  173. package/dist/chunks/{location-service-map-m3fdjcah.js → git-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{location-service-map-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{location-service-map-ag26xfby.js → git-mp3jt1vp.js} +21 -21
  176. package/dist/chunks/{location-service-map-s7rj0mx9.js → git-mq533pjk.js} +27 -27
  177. package/dist/chunks/{location-service-map-y2f1nv48.js → git-nc19f9d4.js} +27 -27
  178. package/dist/chunks/{location-service-map-a5t0p1z6.js → git-nhny46wm.js} +17 -17
  179. package/dist/chunks/{location-service-map-r9w3djhf.js → git-njhqdk9p.js} +9 -9
  180. package/dist/chunks/{location-service-map-p5qkcp8b.js → git-njs7e820.js} +41 -41
  181. package/dist/chunks/{location-service-map-m4z85945.js → git-ntazb8er.js} +10 -10
  182. package/dist/chunks/{location-service-map-8jb42n3c.js → git-ntf7ng8w.js} +12 -12
  183. package/dist/chunks/{location-service-map-t847fcsw.js → git-p0j3v3px.js} +18 -18
  184. package/dist/chunks/{location-service-map-2f0ps26r.js → git-p2s4r87m.js} +3 -3
  185. package/dist/chunks/{location-service-map-dy5qaydb.js → git-p402qtyx.js} +17 -17
  186. package/dist/chunks/{location-service-map-hkfg6fzm.js → git-p44d8wdy.js} +5 -5
  187. package/dist/chunks/git-p6mzafbb.js +492 -0
  188. package/dist/chunks/{location-service-map-4q8wsteh.js → git-pce1006a.js} +21 -21
  189. package/dist/chunks/{location-service-map-gkxbbwdq.js → git-pecsbykn.js} +22 -22
  190. package/dist/chunks/{location-service-map-b9ez143t.js → git-pf4sg1bc.js} +52 -52
  191. package/dist/chunks/{location-service-map-51tvzc68.js → git-ph7261hm.js} +5 -5
  192. package/dist/chunks/{location-service-map-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{location-service-map-4y1a8txt.js → git-pkn2k75h.js} +4 -4
  194. package/dist/chunks/{location-service-map-pknna89w.js → git-pknna89w.js} +1 -1
  195. package/dist/chunks/{location-service-map-t9zs3egg.js → git-pmr4s4kc.js} +4 -4
  196. package/dist/chunks/{location-service-map-1v655e7m.js → git-pqqx5r28.js} +28 -28
  197. package/dist/chunks/{location-service-map-8pen1rfb.js → git-pv119cyc.js} +9 -9
  198. package/dist/chunks/{location-service-map-r8z66xh6.js → git-q2k0k7gp.js} +29 -29
  199. package/dist/chunks/git-q509s3k3.js +18 -0
  200. package/dist/chunks/{location-service-map-ab8cnxkj.js → git-qrvxy8qx.js} +12 -12
  201. package/dist/chunks/{location-service-map-qsdy395h.js → git-qsdy395h.js} +1 -1
  202. package/dist/chunks/{location-service-map-0yxeee59.js → git-r04dhbzm.js} +20 -20
  203. package/dist/chunks/{location-service-map-djszqvmq.js → git-r2m716tb.js} +9 -9
  204. package/dist/chunks/{location-service-map-2e38sqrt.js → git-r40wg4tq.js} +30 -30
  205. package/dist/chunks/{location-service-map-yp2x3t23.js → git-r8xr0va3.js} +4 -4
  206. package/dist/chunks/{location-service-map-yxtrr34x.js → git-r9hg784z.js} +25 -25
  207. package/dist/chunks/{location-service-map-rew2pe94.js → git-ras1ee3t.js} +3 -3
  208. package/dist/chunks/{location-service-map-rdw6cm16.js → git-rdw6cm16.js} +1 -1
  209. package/dist/chunks/{location-service-map-pnv527nz.js → git-rhafb4aa.js} +9 -9
  210. package/dist/chunks/{location-service-map-5bxs6rtb.js → git-rprjdt61.js} +2 -2
  211. package/dist/chunks/{location-service-map-2938t71n.js → git-rymrqawx.js} +85 -85
  212. package/dist/chunks/{location-service-map-bbfzv23w.js → git-s7fy4fw9.js} +71 -71
  213. package/dist/chunks/{location-service-map-eaj1djv9.js → git-s8d7rejh.js} +6 -6
  214. package/dist/chunks/{location-service-map-cavr175a.js → git-sez5jh81.js} +4 -4
  215. package/dist/chunks/{location-service-map-qwfgmsy8.js → git-sk9aqj88.js} +32 -32
  216. package/dist/chunks/{location-service-map-awxzb73g.js → git-sqsnjckg.js} +11 -11
  217. package/dist/chunks/{location-service-map-y6h6zkea.js → git-sx705cz4.js} +16 -16
  218. package/dist/chunks/{location-service-map-v3h1wcwh.js → git-sxpyths9.js} +6 -6
  219. package/dist/chunks/{location-service-map-7ph5r14r.js → git-tafcm9s2.js} +13 -13
  220. package/dist/chunks/{location-service-map-tazgh4e4.js → git-tazgh4e4.js} +1 -1
  221. package/dist/chunks/{location-service-map-p28j5sbe.js → git-tbz0fdvh.js} +5 -5
  222. package/dist/chunks/{location-service-map-tdstcens.js → git-tdstcens.js} +1 -1
  223. package/dist/chunks/{location-service-map-hfeprhdn.js → git-te19744a.js} +17 -17
  224. package/dist/chunks/{location-service-map-wtf9a8xg.js → git-teypzqam.js} +14 -14
  225. package/dist/chunks/{location-service-map-z76vp15m.js → git-tjfg9936.js} +6 -6
  226. package/dist/chunks/{location-service-map-g8d3gcyj.js → git-tkmwgdpd.js} +4 -4
  227. package/dist/chunks/{location-service-map-hsvnfevx.js → git-tr4gpxdj.js} +10 -10
  228. package/dist/chunks/{location-service-map-tvtrv512.js → git-tvtrv512.js} +1 -1
  229. package/dist/chunks/{location-service-map-4ppc3h9w.js → git-tw48jm20.js} +12 -12
  230. package/dist/chunks/{location-service-map-ebs875ns.js → git-v2fn5cje.js} +4 -4
  231. package/dist/chunks/{location-service-map-fv22qhf7.js → git-v2fywz06.js} +11 -11
  232. package/dist/chunks/{location-service-map-fzb7pnb3.js → git-v8xjkfmf.js} +41 -41
  233. package/dist/chunks/{location-service-map-e4a7h3de.js → git-vayd41fe.js} +33 -33
  234. package/dist/chunks/{location-service-map-veqvce7d.js → git-veqvce7d.js} +1 -1
  235. package/dist/chunks/{location-service-map-pfca1pfz.js → git-vf09fb5w.js} +21 -21
  236. package/dist/chunks/{location-service-map-5xerxp25.js → git-vh4e3tf6.js} +8 -8
  237. package/dist/chunks/{location-service-map-y87t9fp6.js → git-vhzwz6jw.js} +22 -22
  238. package/dist/chunks/{location-service-map-5r3df9a0.js → git-vrqxrqyx.js} +6 -6
  239. package/dist/chunks/{location-service-map-f98t382m.js → git-vw95j725.js} +27 -27
  240. package/dist/chunks/{location-service-map-vzcthcp8.js → git-vzcthcp8.js} +1 -1
  241. package/dist/chunks/{location-service-map-nn0rafdk.js → git-w072qfac.js} +27 -27
  242. package/dist/chunks/{location-service-map-ykw8m083.js → git-w2xq192h.js} +18 -18
  243. package/dist/chunks/{location-service-map-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{location-service-map-1tm87m4q.js → git-wajqq34j.js} +35 -35
  245. package/dist/chunks/{location-service-map-9wtk3fb8.js → git-wb6nw9s2.js} +7 -7
  246. package/dist/chunks/{location-service-map-wd87259q.js → git-wd87259q.js} +1 -1
  247. package/dist/chunks/{location-service-map-k188wcvq.js → git-wejqvva8.js} +16 -16
  248. package/dist/chunks/{location-service-map-2km99av1.js → git-wwxvw6cz.js} +20 -20
  249. package/dist/chunks/{location-service-map-bypa996g.js → git-wx3m0z92.js} +11 -11
  250. package/dist/chunks/{location-service-map-5yeq06a0.js → git-wzg7zq6j.js} +6 -6
  251. package/dist/chunks/{location-service-map-y3a3cvm4.js → git-x039wt3r.js} +30 -30
  252. package/dist/chunks/{location-service-map-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{location-service-map-wvgd2jmw.js → git-x2d9qy7d.js} +5 -5
  254. package/dist/chunks/{location-service-map-yfdxd69c.js → git-x5cyaybx.js} +5 -5
  255. package/dist/chunks/{location-service-map-d0g4z7q4.js → git-x6h9vts0.js} +5 -5
  256. package/dist/chunks/{location-service-map-ve8rn4r1.js → git-xchesy5b.js} +19 -19
  257. package/dist/chunks/{location-service-map-ckyt0zc1.js → git-xd2eepn7.js} +23 -23
  258. package/dist/chunks/{location-service-map-r6apnabc.js → git-xdd5m13n.js} +17 -17
  259. package/dist/chunks/{location-service-map-cnhy75xp.js → git-xffg26zj.js} +7 -7
  260. package/dist/chunks/{location-service-map-a4vpawzh.js → git-xgrh65hf.js} +187 -187
  261. package/dist/chunks/{location-service-map-y642n9b2.js → git-xkc5gz1n.js} +11 -11
  262. package/dist/chunks/{location-service-map-4jhxmthm.js → git-y0fr9ak9.js} +89 -89
  263. package/dist/chunks/{location-service-map-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{location-service-map-dpkg50ah.js → git-y71avatq.js} +4 -4
  265. package/dist/chunks/{location-service-map-jemfgm91.js → git-ybhbtxjg.js} +3 -3
  266. package/dist/chunks/{location-service-map-67e2aj6a.js → git-ybzt69z9.js} +12 -12
  267. package/dist/chunks/{location-service-map-f5vqjzqv.js → git-yc72r6y6.js} +28 -28
  268. package/dist/chunks/{location-service-map-hzbz7kx4.js → git-yffsrks6.js} +34 -34
  269. package/dist/chunks/git-ygkrcpmw.js +65 -0
  270. package/dist/chunks/{location-service-map-eq23s0y6.js → git-yjptyezs.js} +5 -5
  271. package/dist/chunks/{location-service-map-m5xhdgb9.js → git-yjpwaj2n.js} +24 -24
  272. package/dist/chunks/{location-service-map-ztwwngdb.js → git-ym0qxjj8.js} +5 -5
  273. package/dist/chunks/{location-service-map-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{location-service-map-yrznvahk.js → git-yrznvahk.js} +2 -2
  275. package/dist/chunks/{location-service-map-k9ab4ktd.js → git-yxssrz9b.js} +11 -11
  276. package/dist/chunks/{location-service-map-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{location-service-map-bn6tr5ps.js → git-z1cbmdk8.js} +8 -8
  278. package/dist/chunks/{location-service-map-2n3788zq.js → git-z3t6faa9.js} +11 -11
  279. package/dist/chunks/{location-service-map-z63w68vq.js → git-z63w68vq.js} +2 -2
  280. package/dist/chunks/{location-service-map-7b4eysef.js → git-zbxcgkb3.js} +18 -18
  281. package/dist/chunks/{location-service-map-zeh9ct20.js → git-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{location-service-map-de260zrm.js → git-zh4jz90y.js} +34 -34
  283. package/dist/chunks/{location-service-map-tcg29b4q.js → git-zhq6vg7a.js} +1 -1
  284. package/dist/chunks/{location-service-map-xam4be5c.js → git-zm1kgnct.js} +26 -26
  285. package/dist/chunks/{location-service-map-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{location-service-map-66px8fgb.js → git-zr3s38d1.js} +14 -14
  287. package/dist/chunks/{location-service-map-zxq2ej10.js → git-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{location-service-map-v74dqahz.js → git-zxv2zsm9.js} +9 -9
  289. package/dist/chunks/{location-service-map-ckp5ab6w.js → git-zyyrtepr.js} +24 -24
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +80 -80
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +366 -366
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +73 -73
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +104 -104
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +90 -90
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +87 -87
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +132 -132
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +83 -83
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +88 -88
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +90 -90
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +101 -101
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +108 -108
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +87 -87
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +103 -103
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/compaction.js +132 -132
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +119 -119
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +91 -91
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +6 -6
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +6 -6
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +4 -4
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +228 -228
  558. package/dist/project/schema.js +8 -8
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +87 -87
  561. package/dist/provider.js +100 -100
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +97 -97
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +90 -90
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +94 -94
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +131 -131
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +3 -3
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +223 -223
  582. package/dist/session/execution.js +127 -127
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +89 -89
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +111 -111
  606. package/dist/session/runner/step.js +125 -125
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +169 -169
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +72 -72
  614. package/dist/session/store.js +86 -86
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +1 -1
  618. package/dist/session/title.js +155 -155
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +219 -219
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +217 -217
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +15 -15
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +109 -109
  631. package/dist/snapshot.js +90 -90
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +124 -124
  636. package/dist/tool/plugin/edit.js +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +121 -121
  639. package/dist/tool/plugin/grep.js +121 -121
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +100 -100
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +216 -216
  645. package/dist/tool/plugin/skill.js +108 -108
  646. package/dist/tool/plugin/subagent.js +216 -216
  647. package/dist/tool/plugin/webfetch.js +111 -111
  648. package/dist/tool/plugin/websearch.js +113 -113
  649. package/dist/tool/plugin/write.js +119 -119
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +12 -12
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +5 -5
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +1 -1
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +92 -92
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +81 -81
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +80 -80
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +77 -77
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +97 -97
  694. package/package.json +8 -8
  695. package/dist/chunks/location-service-map-25wt5q19.js +0 -26
  696. package/dist/chunks/location-service-map-2v82530a.js +0 -65
  697. package/dist/chunks/location-service-map-6pjjxh9g.js +0 -492
  698. package/dist/chunks/location-service-map-pf31ssb9.js +0 -18
  699. package/dist/chunks/location-service-map-vj32h5cd.js +0 -252
  700. package/dist/chunks/location-service-map-xrsqh21y.js +0 -4
  701. /package/dist/chunks/{location-service-map-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{location-service-map-0zkw76rk.js → git-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{location-service-map-17cy0kzp.js → git-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{location-service-map-1cnp2v09.js → git-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{location-service-map-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{location-service-map-24dcb14g.js → git-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{location-service-map-2710q6r3.js → git-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{location-service-map-2axfhc9x.js → git-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{location-service-map-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{location-service-map-359p4xyc.js → git-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{location-service-map-3asan66x.js → git-3asan66x.js} +0 -0
  712. /package/dist/chunks/{location-service-map-3v8g72cx.js → git-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{location-service-map-3w5fmr99.js → git-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{location-service-map-3wcehsnq.js → git-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{location-service-map-43n2bw4t.js → git-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{location-service-map-4knz6hnm.js → git-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{location-service-map-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{location-service-map-4y7fprxs.js → git-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{location-service-map-53557ph1.js → git-53557ph1.js} +0 -0
  720. /package/dist/chunks/{location-service-map-550bvhaj.js → git-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{location-service-map-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{location-service-map-6prwharc.js → git-6prwharc.js} +0 -0
  723. /package/dist/chunks/{location-service-map-7akdwqpd.js → git-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{location-service-map-7m9af43g.js → git-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{location-service-map-822emrt2.js → git-822emrt2.js} +0 -0
  726. /package/dist/chunks/{location-service-map-88xbtdfr.js → git-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{location-service-map-8n3pysct.js → git-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{location-service-map-922hggd3.js → git-922hggd3.js} +0 -0
  729. /package/dist/chunks/{location-service-map-9a4afbnw.js → git-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{location-service-map-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{location-service-map-a6k6eb26.js → git-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{location-service-map-af5trqkr.js → git-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{location-service-map-afrmfg78.js → git-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{location-service-map-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{location-service-map-atq7p7m5.js → git-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{location-service-map-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{location-service-map-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{location-service-map-cf4snx6d.js → git-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{location-service-map-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{location-service-map-d9fn303g.js → git-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{location-service-map-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{location-service-map-dajrwvna.js → git-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{location-service-map-dap0rakb.js → git-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{location-service-map-df08tz66.js → git-df08tz66.js} +0 -0
  745. /package/dist/chunks/{location-service-map-dy18nga0.js → git-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{location-service-map-e5kj55wp.js → git-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{location-service-map-e73j6tqm.js → git-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{location-service-map-ec1grn59.js → git-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{location-service-map-eh3zwz77.js → git-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{location-service-map-emrn6kk6.js → git-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{location-service-map-f0mxakyp.js → git-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{location-service-map-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{location-service-map-faypxj3z.js → git-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{location-service-map-fd410y7t.js → git-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{location-service-map-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{location-service-map-g4wezp1m.js → git-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{location-service-map-g86h250q.js → git-g86h250q.js} +0 -0
  758. /package/dist/chunks/{location-service-map-gebd4c9n.js → git-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{location-service-map-gftt206x.js → git-gftt206x.js} +0 -0
  760. /package/dist/chunks/{location-service-map-hjbc5kem.js → git-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{location-service-map-hk9envan.js → git-hk9envan.js} +0 -0
  762. /package/dist/chunks/{location-service-map-j2ntwpah.js → git-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{location-service-map-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{location-service-map-jjkms2e6.js → git-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{location-service-map-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{location-service-map-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{location-service-map-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{location-service-map-mp448xyj.js → git-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{location-service-map-msx8hqn2.js → git-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{location-service-map-n05xt0ee.js → git-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{location-service-map-n3j8tn72.js → git-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{location-service-map-njntx4h6.js → git-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{location-service-map-q3sfg36h.js → git-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{location-service-map-q74kybfr.js → git-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{location-service-map-qaymkmh1.js → git-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{location-service-map-qb87gjwd.js → git-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{location-service-map-qfa1cgps.js → git-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{location-service-map-qg3g05ea.js → git-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{location-service-map-qrg20bc0.js → git-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{location-service-map-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{location-service-map-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{location-service-map-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{location-service-map-ssg3fenm.js → git-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{location-service-map-twg0f83k.js → git-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{location-service-map-w803qqfp.js → git-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{location-service-map-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{location-service-map-wer8tq1h.js → git-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{location-service-map-wtztk69x.js → git-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{location-service-map-x0ckcb58.js → git-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{location-service-map-x61499pn.js → git-x61499pn.js} +0 -0
  791. /package/dist/chunks/{location-service-map-y44na4kk.js → git-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{location-service-map-y8cydn3q.js → git-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{location-service-map-y8f7s663.js → git-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{location-service-map-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{location-service-map-ym463w8f.js → git-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{location-service-map-z9919s4g.js → git-z9919s4g.js} +0 -0
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID15,
2
+ ID10,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./location-service-map-4cxhm7bv.js";
5
+ } from "./git-63nbkngr.js";
6
6
  import {
7
7
  merge2
8
- } from "./location-service-map-1z27hz33.js";
8
+ } from "./git-j63fa09p.js";
9
9
  import {
10
10
  __export
11
- } from "./location-service-map-9rqn6x4v.js";
11
+ } from "./git-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent = {};
15
- __export(exports_agent, {
16
- AgentPlugin: () => exports_agent,
17
- Plugin: () => Plugin11
14
+ var exports_agent2 = {};
15
+ __export(exports_agent2, {
16
+ AgentPlugin: () => exports_agent2,
17
+ Plugin: () => Plugin43
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin11 = define({
93
+ var Plugin43 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin11 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID15.make("general"), (item) => {
103
+ editor.update(ID10.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID15.make("explore"), (item) => {
109
+ editor.update(ID10.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin11 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID15.make("compaction"), (item) => {
128
+ editor.update(ID10.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID15.make("title"), (item) => {
133
+ editor.update(ID10.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID15.make("summary"), (item) => {
140
+ editor.update(ID10.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin11 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin11, exports_agent };
151
+ export { Plugin43, exports_agent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./git-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./location-service-map-htx28xdf.js";
2
+ Service81,
3
+ node85
4
+ } from "./git-bqcxmntf.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./location-service-map-922hggd3.js";
8
+ } from "./git-922hggd3.js";
9
9
  import {
10
- Ref4,
11
- Service78,
12
- node82
13
- } from "./location-service-map-dy5qaydb.js";
10
+ Ref3,
11
+ Service74,
12
+ node78
13
+ } from "./git-p402qtyx.js";
14
14
  import {
15
15
  __export
16
- } from "./location-service-map-9rqn6x4v.js";
16
+ } from "./git-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service19,
22
+ Service: () => Service47,
23
23
  define: () => define2,
24
- node: () => node22
24
+ node: () => node51
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service19 extends Context.Service()("@opencode/Rpc") {
30
+ class Service47 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service19, Effect.gen(function* () {
43
- const bus = yield* Service82;
44
- const location = yield* Service78;
45
- const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
42
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
43
+ const bus = yield* Service81;
44
+ const location = yield* Service74;
45
+ const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
48
48
  error: (type, message, data) => new DeclaredError(type, message, data)
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
82
82
  const event = registered.event;
83
83
  const data = yield* encode(event.schema, args[1]);
84
84
  return yield* bus.publish(registered.definition, data, {
85
- location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
85
+ location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
86
86
  }).pipe(Effect.asVoid);
87
87
  })
88
88
  }
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service78, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service74, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service19.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service47.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node22 = makeLocationNode({ service: Service19, layer, deps: [node86, node82] });
128
+ var node51 = makeLocationNode({ service: Service47, layer, deps: [node85, node78] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
132
132
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
133
- location: optional2(Ref4)
133
+ location: optional2(Ref3)
134
134
  };
135
135
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
136
136
  var jsonSchemas = new WeakMap;
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
206
206
  ...payload,
207
207
  type: eventType(definition, name),
208
208
  data,
209
- location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
209
+ location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
210
210
  };
211
211
  });
212
212
 
213
- export { Service19, node22, exports_rpc, define2 };
213
+ export { Service47, node51, exports_rpc, define2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID8,
3
- Service60
4
- } from "./location-service-map-t9sq69f9.js";
2
+ ID16,
3
+ Service78
4
+ } from "./git-0vrxxr1a.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service60;
12
+ const integrations = yield* Service78;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID8.make(item.provider.id)))
22
+ if (!configured.has(ID16.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./location-service-map-9vnf7qt0.js";
3
+ } from "./git-c42wgx82.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./location-service-map-1tm87m4q.js";
6
+ } from "./git-wajqq34j.js";
7
7
  import {
8
8
  __export
9
- } from "./location-service-map-9rqn6x4v.js";
9
+ } from "./git-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
13
13
  __export(exports_variant, {
14
14
  Variant: () => exports_variant,
15
- resolve: () => resolve3
15
+ resolve: () => resolve4
16
16
  });
17
- function resolve3(model, supports = [{ type: "effort" }]) {
17
+ function resolve4(model, supports = [{ type: "effort" }]) {
18
18
  const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
19
19
  if (!protocol)
20
20
  return [];
@@ -28,11 +28,12 @@ function resolve3(model, supports = [{ type: "effort" }]) {
28
28
  var EFFORTS = ["low", "medium", "high"];
29
29
  var ENCRYPTED_REASONING = ["reasoning.encrypted_content"];
30
30
  var ADAPTIVE_THINKING = { type: "adaptive", display: "summarized" };
31
+ var ANTHROPIC_OUTPUT_TOKEN_MAX = 32000;
31
32
  var variant = (id, overlay) => ({ id: VariantID2.make(id), ...overlay });
32
33
  var efforts = (values, spell) => values.map((effort) => variant(effort, spell(effort)));
33
34
  var toggle = (off, on) => [variant("none", off), variant("thinking", on)];
34
- function budgets(model, support, spell) {
35
- const maximum = Math.min(support.max ?? model.limit.output - 1, model.limit.output - 1);
35
+ function budgets(model, support, spell, ceiling = model.limit.output) {
36
+ const maximum = Math.min(support.max ?? ceiling - 1, model.limit.output - 1, ceiling - 1);
36
37
  if (maximum <= 0)
37
38
  return [];
38
39
  const high = Math.min(Math.max(support.min ?? 0, Math.floor((maximum + 1) / 2)), maximum);
@@ -257,9 +258,7 @@ var anthropicMessages = (model, support) => {
257
258
  return toggle({ settings: { thinking: { type: "disabled" } } }, thinking);
258
259
  }
259
260
  case "budget_tokens":
260
- return budgets(model, support, (tokens) => ({
261
- settings: { thinking: { type: "enabled", budgetTokens: tokens } }
262
- }));
261
+ return budgets(model, support, (tokens) => ({ settings: { thinking: { type: "enabled", budgetTokens: tokens } } }), ANTHROPIC_OUTPUT_TOKEN_MAX);
263
262
  }
264
263
  };
265
264
  var minimaxMessages = (model, support) => {
@@ -357,7 +356,7 @@ var bedrockConverse = (model, support) => {
357
356
  case "toggle":
358
357
  return claude ? toggle(fields({ thinking: { type: "disabled" } }), fields({ thinking: ADAPTIVE_THINKING })) : toggle(fields({ reasoningConfig: { type: "disabled" } }), fields({ reasoningConfig: { type: "enabled" } }));
359
358
  case "budget_tokens":
360
- return budgets(model, support, (tokens) => claude ? fields({ thinking: { type: "enabled", budget_tokens: tokens } }) : fields({ reasoningConfig: { type: "enabled", budgetTokens: tokens } }));
359
+ return budgets(model, support, (tokens) => claude ? fields({ thinking: { type: "enabled", budget_tokens: tokens } }) : fields({ reasoningConfig: { type: "enabled", budgetTokens: tokens } }), claude ? ANTHROPIC_OUTPUT_TOKEN_MAX : model.limit.output);
361
360
  }
362
361
  };
363
362
  var alibabaAISDK = (model, support) => {
@@ -395,9 +394,7 @@ var bedrockAISDK = (model, support) => {
395
394
  case "toggle":
396
395
  return claude ? toggle({ settings: { additionalModelRequestFields: { thinking: { type: "disabled" } } } }, { settings: { additionalModelRequestFields: { thinking: ADAPTIVE_THINKING } } }) : toggle({ settings: { additionalModelRequestFields: { reasoningConfig: { type: "disabled" } } } }, { settings: { additionalModelRequestFields: { reasoningConfig: { type: "enabled" } } } });
397
396
  case "budget_tokens":
398
- return budgets(model, support, (tokens) => ({
399
- settings: { reasoningConfig: { type: "enabled", budgetTokens: tokens } }
400
- }));
397
+ return budgets(model, support, (tokens) => ({ settings: { reasoningConfig: { type: "enabled", budgetTokens: tokens } } }), claude ? ANTHROPIC_OUTPUT_TOKEN_MAX : model.limit.output);
401
398
  }
402
399
  };
403
400
  var vercelGateway = (model, support) => {
@@ -443,7 +440,7 @@ var sapAICore = (model, support) => {
443
440
  return [];
444
441
  case "budget_tokens":
445
442
  if (id.includes("anthropic"))
446
- return budgets(model, support, (tokens) => sap({ additionalModelRequestFields: { thinking: { type: "enabled", budget_tokens: tokens } } }));
443
+ return budgets(model, support, (tokens) => sap({ additionalModelRequestFields: { thinking: { type: "enabled", budget_tokens: tokens } } }), ANTHROPIC_OUTPUT_TOKEN_MAX);
447
444
  if (id.includes("gemini"))
448
445
  return budgets(model, support, (tokens) => sap({ thinkingConfig: { includeThoughts: true, thinkingBudget: tokens } }));
449
446
  if (id.includes("cohere"))
@@ -497,4 +494,4 @@ var PROTOCOLS = {
497
494
  [aisdk2("@ai-sdk/cohere")]: cohere
498
495
  };
499
496
 
500
- export { resolve3, exports_variant };
497
+ export { resolve4, exports_variant };
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service42,
9
- node44
10
- } from "./location-service-map-yt1n8wq9.js";
8
+ Service70,
9
+ node74
10
+ } from "./git-h2aa9ksg.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./location-service-map-ndmv45hp.js";
13
+ } from "./git-jexxy024.js";
14
14
  import {
15
15
  __export
16
- } from "./location-service-map-9rqn6x4v.js";
16
+ } from "./git-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -22,13 +22,13 @@ __export(exports_model, {
22
22
  ModelInitializationError: () => ModelInitializationError2,
23
23
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
24
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service39,
25
+ Service: () => Service60,
26
26
  SessionRunnerModel: () => exports_model,
27
27
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
28
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
29
  UnsupportedPackageError: () => UnsupportedPackageError2,
30
30
  VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node41,
31
+ node: () => node64,
32
32
  resolved: () => resolved2
33
33
  });
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
57
57
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
58
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
59
 
60
- class Service39 extends Context.Service()("@opencode/SessionRunnerModel") {
60
+ class Service60 extends Context.Service()("@opencode/SessionRunnerModel") {
61
61
  }
62
62
  var resolved2 = (model, options) => ({
63
63
  model,
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
72
72
  compaction: options.compaction,
73
73
  transport: options.transport
74
74
  });
75
- var layer = Layer.effect(Service39, Effect.gen(function* () {
76
- const resolver = yield* Service42;
77
- return Service39.of({
75
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
76
+ const resolver = yield* Service70;
77
+ return Service60.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
80
80
  const resolved = yield* resolver.resolve();
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node41 = makeLocationNode({ service: Service39, layer, deps: [node44] });
95
+ var node64 = makeLocationNode({ service: Service60, layer, deps: [node74] });
96
96
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service39, resolved2, node41, exports_model };
97
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service60, resolved2, node64, exports_model };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service62,
3
- node65
4
- } from "./location-service-map-mv76532y.js";
2
+ Service34,
3
+ node37
4
+ } from "./git-6dt9rsqm.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
8
  make21,
9
9
  diffByKey2
10
- } from "./location-service-map-eaj1djv9.js";
10
+ } from "./git-s8d7rejh.js";
11
11
  import {
12
12
  __export
13
- } from "./location-service-map-9rqn6x4v.js";
13
+ } from "./git-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions5 = {};
17
- __export(exports_instructions5, {
18
- ReferenceInstructions: () => exports_instructions5,
19
- Service: () => Service32,
20
- node: () => node35
16
+ var exports_instructions4 = {};
17
+ __export(exports_instructions4, {
18
+ ReferenceInstructions: () => exports_instructions4,
19
+ Service: () => Service20,
20
+ node: () => node23
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,11 +57,11 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service32 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service20 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service32, Effect.gen(function* () {
63
- const references = yield* Service62;
64
- return Service32.of({
62
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
63
+ const references = yield* Service34;
64
+ return Service20.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
71
  return make21({
72
- key: Key4.make("core/reference-guidance"),
72
+ key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node35 = makeLocationNode({ service: Service32, layer, deps: [node65] });
84
+ var node23 = makeLocationNode({ service: Service20, layer, deps: [node37] });
85
85
 
86
- export { Service32, node35, exports_instructions5 };
86
+ export { Service20, node23, exports_instructions4 };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service81
3
- } from "./location-service-map-4ppc3h9w.js";
2
+ Service80
3
+ } from "./git-tw48jm20.js";
4
4
  import {
5
- Service72
6
- } from "./location-service-map-1z27hz33.js";
5
+ Service63
6
+ } from "./git-j63fa09p.js";
7
7
  import {
8
- ID3,
8
+ ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service17
14
- } from "./location-service-map-vq6a6twd.js";
13
+ Service15
14
+ } from "./git-3hr1140z.js";
15
15
  import {
16
16
  __export
17
- } from "./location-service-map-9rqn6x4v.js";
17
+ } from "./git-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch = {};
21
- __export(exports_websearch, {
22
- Input: () => Input4,
20
+ var exports_websearch2 = {};
21
+ __export(exports_websearch2, {
22
+ Input: () => Input3,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin21,
25
- WebSearchTool: () => exports_websearch,
26
- description: () => description3,
27
- name: () => name4
24
+ Plugin: () => Plugin22,
25
+ WebSearchTool: () => exports_websearch2,
26
+ description: () => description2,
27
+ name: () => name3
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name4 = "websearch";
32
+ var name3 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input4 = Schema.Struct({
42
+ var Input3 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID3,
46
+ provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin21 = {
49
+ var Plugin22 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service72;
53
- const forms = yield* Service81;
54
- const websearch = yield* Service17;
52
+ const permission = yield* Service63;
53
+ const forms = yield* Service80;
54
+ const websearch = yield* Service15;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name4,
56
+ name: name3,
57
57
  options: { codemode: false },
58
- description: description3,
59
- input: Input4,
58
+ description: description2,
59
+ input: Input3,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name4,
63
+ action: name3,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name4];
179
+ delete event.tools[name3];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name4, NO_RESULTS2, description3, Input4, Plugin21, exports_websearch };
187
+ export { name3, NO_RESULTS2, description2, Input3, Plugin22, exports_websearch2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-service-map-m012ar2z.js";
4
+ } from "./git-6e6g2mqd.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./location-service-map-3hepkmqq.js";
7
+ } from "./git-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./location-service-map-9rqn6x4v.js";
10
+ } from "./git-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service65,
17
- node: () => node68
16
+ Service: () => Service82,
17
+ node: () => node86
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service65 extends Context.Service()("@opencode/KV") {
22
+ class Service82 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service65, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
25
25
  const db = (yield* Service83).db;
26
- return Service65.of({
26
+ return Service82.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node68 = makeGlobalNode({ service: Service65, layer, deps: [node87] });
54
+ var node86 = makeGlobalNode({ service: Service82, layer, deps: [node87] });
55
55
 
56
- export { Service65, node68, exports_kv };
56
+ export { Service82, node86, exports_kv };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./location-service-map-3v8g72cx.js";
3
+ } from "./git-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./location-service-map-9rqn6x4v.js";
6
+ } from "./git-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp = {};
10
- __export(exports_mcp, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
- WebSearchMcp: () => exports_mcp,
9
+ var exports_mcp2 = {};
10
+ __export(exports_mcp2, {
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
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/unstable/http";
18
- var MAX_RESPONSE_BYTES2 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES3 = 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_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} 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_BYTES2, parseResponse2, call2, exports_mcp };
64
+ export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };