@opencode/core 0.0.0-dev-20023 → 0.0.0-dev-20024

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 (797) 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 +68 -68
  7. package/dist/chunks/{bus-ve4pfa0n.js → location-mutation-00z3vp5f.js} +4 -4
  8. package/dist/chunks/{bus-rhjbct0v.js → location-mutation-02nrjc1r.js} +6 -6
  9. package/dist/chunks/{bus-km16yc9p.js → location-mutation-05j4n1ws.js} +18 -18
  10. package/dist/chunks/{bus-rv5xwt73.js → location-mutation-07ha980f.js} +12 -12
  11. package/dist/chunks/{bus-s17gp5yc.js → location-mutation-0e212dhy.js} +3 -3
  12. package/dist/chunks/{bus-zc4m99dd.js → location-mutation-0hmy5ypz.js} +13 -13
  13. package/dist/chunks/{bus-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{bus-qeey90fn.js → location-mutation-0rcbddbz.js} +5 -5
  15. package/dist/chunks/{bus-pn1r49m7.js → location-mutation-0yd4bm3n.js} +8 -8
  16. package/dist/chunks/{bus-k9dr5fag.js → location-mutation-11aw4bp1.js} +29 -29
  17. package/dist/chunks/{bus-8d0p2m37.js → location-mutation-147kkz38.js} +6 -6
  18. package/dist/chunks/{bus-k4dqtr2a.js → location-mutation-18fjsgbr.js} +26 -26
  19. package/dist/chunks/{bus-yp2x3t23.js → location-mutation-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{bus-wjtcmmcc.js → location-mutation-1d112cb4.js} +20 -20
  21. package/dist/chunks/{bus-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{bus-vavc4npn.js → location-mutation-1dcx1n9a.js} +35 -35
  23. package/dist/chunks/{bus-036p5t1s.js → location-mutation-1rmaqtrx.js} +4 -4
  24. package/dist/chunks/{bus-kjqwwhjn.js → location-mutation-1xykv8xw.js} +12 -12
  25. package/dist/chunks/{bus-mfqp6xfm.js → location-mutation-1ygqh575.js} +6 -6
  26. package/dist/chunks/{bus-21r38tys.js → location-mutation-21r38tys.js} +1 -1
  27. package/dist/chunks/{bus-3agsheqw.js → location-mutation-287swpq4.js} +42 -42
  28. package/dist/chunks/{bus-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{bus-kxpygcw9.js → location-mutation-2d57kztd.js} +4 -4
  30. package/dist/chunks/{bus-f13p3gpw.js → location-mutation-2gp9g042.js} +17 -17
  31. package/dist/chunks/{bus-2e9rpkgh.js → location-mutation-2h7nr2dq.js} +7 -7
  32. package/dist/chunks/{bus-yfbfw99s.js → location-mutation-2n6xcrtw.js} +15 -15
  33. package/dist/chunks/{bus-cqtsyhxp.js → location-mutation-2y3whdx8.js} +167 -167
  34. package/dist/chunks/{bus-5295gdn1.js → location-mutation-2znrjh5s.js} +31 -31
  35. package/dist/chunks/{bus-t0fxg8b9.js → location-mutation-37s12vcn.js} +5 -5
  36. package/dist/chunks/{bus-cq37gk0t.js → location-mutation-3c4e3q8d.js} +4 -4
  37. package/dist/chunks/{bus-asmhqfh7.js → location-mutation-3cawfvg9.js} +13 -13
  38. package/dist/chunks/{bus-ax6ydr4f.js → location-mutation-3emyecbb.js} +85 -85
  39. package/dist/chunks/{bus-3fc6dm20.js → location-mutation-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{bus-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{bus-1qyqr2yd.js → location-mutation-3k04zyzs.js} +11 -11
  42. package/dist/chunks/{bus-0c5h751b.js → location-mutation-3m46hkaz.js} +2 -2
  43. package/dist/chunks/{bus-955hz2z1.js → location-mutation-3mmzvcvq.js} +14 -14
  44. package/dist/chunks/{bus-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{bus-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{bus-3zsf4n22.js → location-mutation-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{bus-9vqvxtq4.js → location-mutation-415g09m0.js} +7 -7
  48. package/dist/chunks/{bus-dmmh7n23.js → location-mutation-41rytcpr.js} +11 -11
  49. package/dist/chunks/{bus-f5rde0mf.js → location-mutation-43q23gcr.js} +9 -9
  50. package/dist/chunks/{bus-3ykzfd22.js → location-mutation-4541pte3.js} +9 -9
  51. package/dist/chunks/{bus-k8e10kf0.js → location-mutation-4a6h4wrp.js} +27 -27
  52. package/dist/chunks/{bus-s2avjtxg.js → location-mutation-4j809b3d.js} +13 -13
  53. package/dist/chunks/{bus-mnzpjgw7.js → location-mutation-4key4fq7.js} +4 -4
  54. package/dist/chunks/{bus-57ez7d0k.js → location-mutation-57ez7d0k.js} +2 -2
  55. package/dist/chunks/{bus-a1bz86dw.js → location-mutation-5c4hm403.js} +3 -3
  56. package/dist/chunks/{bus-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
  57. package/dist/chunks/{bus-5ekn9679.js → location-mutation-5ekn9679.js} +1 -1
  58. package/dist/chunks/{bus-5ms58nc1.js → location-mutation-5jx0ywhf.js} +11 -11
  59. package/dist/chunks/{bus-txc1zf78.js → location-mutation-5ntswbj3.js} +8 -8
  60. package/dist/chunks/{bus-xbtr9dqn.js → location-mutation-5qgdv5h0.js} +37 -37
  61. package/dist/chunks/{bus-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{bus-r4st4fg3.js → location-mutation-5vdq9pgq.js} +20 -20
  63. package/dist/chunks/{bus-kyjhmbv9.js → location-mutation-63x4799j.js} +19 -19
  64. package/dist/chunks/{bus-7hd0q4g8.js → location-mutation-65jmxcge.js} +11 -11
  65. package/dist/chunks/{bus-669tq793.js → location-mutation-669tq793.js} +1 -1
  66. package/dist/chunks/{bus-2be9bx68.js → location-mutation-6a753ss8.js} +48 -48
  67. package/dist/chunks/{bus-6h73sxmp.js → location-mutation-6h73sxmp.js} +1 -1
  68. package/dist/chunks/{bus-nznwhm2a.js → location-mutation-6jm6bgjn.js} +15 -15
  69. package/dist/chunks/{bus-62qsqm8s.js → location-mutation-6m9azzzz.js} +35 -35
  70. package/dist/chunks/{bus-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{bus-mhqk2p2z.js → location-mutation-6v9me7yx.js} +24 -24
  72. package/dist/chunks/{bus-qj733f4v.js → location-mutation-6zprjfx5.js} +42 -42
  73. package/dist/chunks/{bus-a1gpj94z.js → location-mutation-73tb2d7t.js} +3 -3
  74. package/dist/chunks/{bus-xkyz092v.js → location-mutation-760hvg9h.js} +3 -3
  75. package/dist/chunks/{bus-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{bus-4qnbfv01.js → location-mutation-7e2ke00k.js} +25 -25
  77. package/dist/chunks/{bus-n8q5m16v.js → location-mutation-7errh0f2.js} +15 -15
  78. package/dist/chunks/{bus-k0gdq8ga.js → location-mutation-818pfwc9.js} +8 -8
  79. package/dist/chunks/{bus-ste6s18m.js → location-mutation-83dgf92e.js} +9 -9
  80. package/dist/chunks/{bus-2c2pthh1.js → location-mutation-86czshtb.js} +4 -4
  81. package/dist/chunks/{bus-tcezcvh9.js → location-mutation-89znhe33.js} +4 -4
  82. package/dist/chunks/{bus-7s451enq.js → location-mutation-8ank75fn.js} +8 -8
  83. package/dist/chunks/{bus-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{bus-58mhhvvc.js → location-mutation-8f5p4pwe.js} +34 -34
  85. package/dist/chunks/{bus-sgt19s1v.js → location-mutation-8fh4dspn.js} +24 -24
  86. package/dist/chunks/{bus-5qdsfvwm.js → location-mutation-8ga603cp.js} +12 -12
  87. package/dist/chunks/{bus-wj426n11.js → location-mutation-8pt1jyw7.js} +17 -17
  88. package/dist/chunks/{bus-nxx48bkr.js → location-mutation-8r1zxxnv.js} +5 -5
  89. package/dist/chunks/{bus-6ezpw46y.js → location-mutation-8sd99ncp.js} +3 -3
  90. package/dist/chunks/{bus-y78y3r0z.js → location-mutation-8sfmeb4x.js} +5 -5
  91. package/dist/chunks/{bus-d8tee39x.js → location-mutation-8w4b0w14.js} +25 -25
  92. package/dist/chunks/{bus-axjyegnf.js → location-mutation-965jek49.js} +7 -7
  93. package/dist/chunks/{bus-44bq749c.js → location-mutation-9m8se1t0.js} +13 -13
  94. package/dist/chunks/{bus-65wt44ph.js → location-mutation-9pajzaat.js} +13 -13
  95. package/dist/chunks/{bus-mxkyhxjm.js → location-mutation-9pp8k1fj.js} +11 -11
  96. package/dist/chunks/{bus-8afkf39b.js → location-mutation-9tc9jvay.js} +84 -84
  97. package/dist/chunks/{bus-nr669dq2.js → location-mutation-9v8wx44b.js} +8 -8
  98. package/dist/chunks/{bus-y4b15vep.js → location-mutation-a1r0sk56.js} +8 -8
  99. package/dist/chunks/{bus-vnpdrrhw.js → location-mutation-a3kw06th.js} +26 -26
  100. package/dist/chunks/{bus-nf8ztekt.js → location-mutation-a8v3d86t.js} +14 -14
  101. package/dist/chunks/{bus-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
  102. package/dist/chunks/{bus-2hegk72a.js → location-mutation-ar5042nv.js} +17 -17
  103. package/dist/chunks/{bus-hfysmbcm.js → location-mutation-asscy6pk.js} +24 -24
  104. package/dist/chunks/{bus-bpv1pw5j.js → location-mutation-avzvtmgr.js} +27 -27
  105. package/dist/chunks/{bus-2zcvrg1e.js → location-mutation-b5mcfzkp.js} +5 -5
  106. package/dist/chunks/{bus-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{bus-4gpm7wt7.js → location-mutation-b7btgvj5.js} +4 -4
  108. package/dist/chunks/{bus-7g3h6q7t.js → location-mutation-b97j21th.js} +9 -9
  109. package/dist/chunks/{bus-7d2a7xbs.js → location-mutation-bgs9y14h.js} +5 -5
  110. package/dist/chunks/{bus-yag3facz.js → location-mutation-bj3p2s8f.js} +35 -35
  111. package/dist/chunks/{bus-p1nvkxcp.js → location-mutation-bt0ey53w.js} +12 -12
  112. package/dist/chunks/{bus-2rsdr3cn.js → location-mutation-c1df4dj7.js} +11 -11
  113. package/dist/chunks/{bus-3y3dqax9.js → location-mutation-c2h7be1y.js} +8 -8
  114. package/dist/chunks/{bus-r2m716tb.js → location-mutation-c765mh8b.js} +5 -5
  115. package/dist/chunks/{bus-mrq6z0ak.js → location-mutation-c9kahmjr.js} +19 -19
  116. package/dist/chunks/{bus-kdq6h4dx.js → location-mutation-cm78evcp.js} +4 -4
  117. package/dist/chunks/{bus-dp3wkqpm.js → location-mutation-cn3vn15h.js} +21 -21
  118. package/dist/chunks/{bus-h6r3nrb9.js → location-mutation-cpj0znwe.js} +4 -4
  119. package/dist/chunks/{bus-wtj175dr.js → location-mutation-cpmmh3r9.js} +11 -11
  120. package/dist/chunks/{bus-yd4vk3cp.js → location-mutation-crtwvk10.js} +11 -11
  121. package/dist/chunks/{bus-6q6ah1za.js → location-mutation-cxds2wxd.js} +18 -18
  122. package/dist/chunks/{bus-rh2sckgg.js → location-mutation-d4yhjfbe.js} +29 -29
  123. package/dist/chunks/{bus-06x8he3q.js → location-mutation-ddt2bs9e.js} +4 -4
  124. package/dist/chunks/{bus-8p4f9s12.js → location-mutation-dj2t23y0.js} +2 -2
  125. package/dist/chunks/{bus-y71avatq.js → location-mutation-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{bus-em8ywp9g.js → location-mutation-drrkymsn.js} +22 -22
  127. package/dist/chunks/{bus-hnr5yq9h.js → location-mutation-e6hmchc5.js} +5 -5
  128. package/dist/chunks/{bus-7j92jdde.js → location-mutation-ec87kc5z.js} +4 -4
  129. package/dist/chunks/{bus-ef5x83kb.js → location-mutation-ef5x83kb.js} +1 -1
  130. package/dist/chunks/location-mutation-emdvc7y7.js +503 -0
  131. package/dist/chunks/{bus-1bnc86tq.js → location-mutation-enrvee4b.js} +16 -16
  132. package/dist/chunks/{bus-wfwqsfnv.js → location-mutation-eqxdc8mp.js} +2 -2
  133. package/dist/chunks/{bus-erw5rpbs.js → location-mutation-erw5rpbs.js} +2 -2
  134. package/dist/chunks/{bus-rcan3sss.js → location-mutation-etdfdz9n.js} +20 -20
  135. package/dist/chunks/{bus-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{bus-96vzaj3m.js → location-mutation-eztkbwah.js} +15 -15
  137. package/dist/chunks/{bus-4zdj9ayc.js → location-mutation-f0h3qbzs.js} +5 -5
  138. package/dist/chunks/{bus-z4gbawvg.js → location-mutation-f9pjpvtx.js} +64 -64
  139. package/dist/chunks/{bus-4dynb0b2.js → location-mutation-fn652s59.js} +13 -13
  140. package/dist/chunks/{bus-62knkx65.js → location-mutation-frptvanx.js} +19 -19
  141. package/dist/chunks/{bus-6mne9kvv.js → location-mutation-fxt475k0.js} +12 -12
  142. package/dist/chunks/{bus-jb3kqqtq.js → location-mutation-fy2r6802.js} +12 -12
  143. package/dist/chunks/{bus-qzaqzf4z.js → location-mutation-fzw6kvvp.js} +20 -20
  144. package/dist/chunks/{bus-qj8eh1ht.js → location-mutation-g190xswt.js} +4 -4
  145. package/dist/chunks/{bus-d07mke8v.js → location-mutation-g2z23txw.js} +26 -26
  146. package/dist/chunks/location-mutation-gbadjzag.js +4 -0
  147. package/dist/chunks/{bus-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{bus-3pg5tcmy.js → location-mutation-gdpzykdj.js} +13 -13
  149. package/dist/chunks/{bus-zxcnjva9.js → location-mutation-gh02xaqr.js} +31 -31
  150. package/dist/chunks/{bus-ybhbtxjg.js → location-mutation-gmjjhz4f.js} +3 -3
  151. package/dist/chunks/{bus-pk6g247z.js → location-mutation-gseev5jd.js} +6 -6
  152. package/dist/chunks/{bus-gv6a8nnw.js → location-mutation-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{bus-e1j67ccp.js → location-mutation-gw3jpy4y.js} +16 -16
  154. package/dist/chunks/{bus-89bb6baa.js → location-mutation-h04cqsq0.js} +8 -8
  155. package/dist/chunks/{bus-rg9k3tks.js → location-mutation-h69yr78q.js} +16 -16
  156. package/dist/chunks/{bus-dvvx8exq.js → location-mutation-h6syajn5.js} +3 -3
  157. package/dist/chunks/{bus-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{bus-f828m53h.js → location-mutation-hdnk95c8.js} +2 -2
  159. package/dist/chunks/{bus-bqjst2ga.js → location-mutation-he6wdzpy.js} +9 -9
  160. package/dist/chunks/{bus-dhaja7z9.js → location-mutation-hgyg00rt.js} +20 -20
  161. package/dist/chunks/{bus-kt2mtnna.js → location-mutation-hnz1vd55.js} +8 -8
  162. package/dist/chunks/{bus-qmd4qmz6.js → location-mutation-hptm3x45.js} +48 -48
  163. package/dist/chunks/{bus-j66yn2fw.js → location-mutation-hsq7tvrb.js} +20 -20
  164. package/dist/chunks/{bus-8xted83r.js → location-mutation-j4g6bjqf.js} +6 -6
  165. package/dist/chunks/{bus-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
  166. package/dist/chunks/{bus-1nf4mfax.js → location-mutation-j7sdw5nk.js} +5 -5
  167. package/dist/chunks/{bus-a7gqq3g2.js → location-mutation-j8rzd9ap.js} +15 -15
  168. package/dist/chunks/{bus-c83tnrm1.js → location-mutation-ja93bcmn.js} +10 -10
  169. package/dist/chunks/{bus-a3r4dcrj.js → location-mutation-jca4demv.js} +2 -2
  170. package/dist/chunks/{bus-ek46zrte.js → location-mutation-jkkh0dgx.js} +8 -8
  171. package/dist/chunks/{bus-5dc1jw76.js → location-mutation-jp1d2c53.js} +8 -8
  172. package/dist/chunks/{bus-75d4r5r9.js → location-mutation-jqcqaqk1.js} +6 -6
  173. package/dist/chunks/{bus-32psr599.js → location-mutation-jqe8c22f.js} +43 -43
  174. package/dist/chunks/{bus-vxvdqqhg.js → location-mutation-jt89ckk3.js} +9 -9
  175. package/dist/chunks/{bus-1588s453.js → location-mutation-jvr0a44c.js} +11 -11
  176. package/dist/chunks/{bus-1gd24jtv.js → location-mutation-jvw73btf.js} +11 -11
  177. package/dist/chunks/{bus-dqvyvseb.js → location-mutation-jw9sfpm0.js} +6 -6
  178. package/dist/chunks/{bus-h282rwby.js → location-mutation-jxc4myrx.js} +43 -43
  179. package/dist/chunks/{bus-7t99ryxb.js → location-mutation-k6y504h4.js} +20 -20
  180. package/dist/chunks/{bus-ssdqnhy0.js → location-mutation-k9d40v1y.js} +4 -4
  181. package/dist/chunks/{bus-bhndscsn.js → location-mutation-kansrtmv.js} +21 -21
  182. package/dist/chunks/{bus-drdm7q8r.js → location-mutation-kp86r9b3.js} +30 -30
  183. package/dist/chunks/{bus-ehzvax51.js → location-mutation-krrzbazv.js} +6 -6
  184. package/dist/chunks/{bus-9fgnx2y2.js → location-mutation-krscvss0.js} +8 -8
  185. package/dist/chunks/{bus-ggn63ca0.js → location-mutation-ks0b5fhh.js} +10 -10
  186. package/dist/chunks/{bus-fxda7p1p.js → location-mutation-kwyenn5c.js} +12 -12
  187. package/dist/chunks/{bus-cfpkc3c9.js → location-mutation-m0jqrx5p.js} +2 -2
  188. package/dist/chunks/{bus-m3fdjcah.js → location-mutation-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{bus-55f96cqf.js → location-mutation-m8ar47ek.js} +13 -13
  190. package/dist/chunks/{bus-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{bus-44ke2mar.js → location-mutation-mmr7bq34.js} +8 -8
  192. package/dist/chunks/{bus-x6j13p6x.js → location-mutation-mp1fmwr2.js} +5 -5
  193. package/dist/chunks/{bus-h5d0nsap.js → location-mutation-mwvyrfwc.js} +25 -25
  194. package/dist/chunks/{bus-zth7gqw3.js → location-mutation-mzeaa52x.js} +20 -20
  195. package/dist/chunks/{bus-smgbhx6z.js → location-mutation-n03y2nvv.js} +29 -29
  196. package/dist/chunks/{bus-183eyv49.js → location-mutation-n0tvqc4h.js} +11 -11
  197. package/dist/chunks/{bus-6zh0kd8a.js → location-mutation-nkf7ea5p.js} +46 -46
  198. package/dist/chunks/{bus-6xh1kcp9.js → location-mutation-nswc3ws5.js} +8 -8
  199. package/dist/chunks/{bus-k3c624dm.js → location-mutation-nzks3jc8.js} +3 -3
  200. package/dist/chunks/{bus-dq0v80fr.js → location-mutation-p1zpfjkz.js} +5 -5
  201. package/dist/chunks/location-mutation-p7p1ybb8.js +26 -0
  202. package/dist/chunks/{bus-v7v4jk8m.js → location-mutation-pa6qpeew.js} +10 -10
  203. package/dist/chunks/{bus-g0445xdp.js → location-mutation-pa8pe2x7.js} +8 -8
  204. package/dist/chunks/{bus-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{bus-pknna89w.js → location-mutation-pknna89w.js} +1 -1
  206. package/dist/chunks/{bus-qg0jgkcp.js → location-mutation-pnv527nz.js} +9 -9
  207. package/dist/chunks/{bus-yg6nt6v4.js → location-mutation-pw9v3g6d.js} +8 -8
  208. package/dist/chunks/{bus-tpatgnyt.js → location-mutation-pxq2x33y.js} +24 -24
  209. package/dist/chunks/{bus-jexxy024.js → location-mutation-q3t37ft6.js} +3 -3
  210. package/dist/chunks/{bus-1z0p4hs7.js → location-mutation-q7tj62n7.js} +30 -30
  211. package/dist/chunks/{bus-79pm3y1j.js → location-mutation-qaa2yvb1.js} +23 -23
  212. package/dist/chunks/{bus-qvreyy9g.js → location-mutation-qdbakdjh.js} +5 -5
  213. package/dist/chunks/{bus-7dqw4kz8.js → location-mutation-qgn6gcr1.js} +5 -5
  214. package/dist/chunks/{bus-e13bpq8t.js → location-mutation-qhq4a865.js} +9 -9
  215. package/dist/chunks/{bus-wc3p6akr.js → location-mutation-qhq71jc6.js} +29 -29
  216. package/dist/chunks/{bus-xfkkasph.js → location-mutation-qqeeq2t9.js} +7 -7
  217. package/dist/chunks/{bus-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
  218. package/dist/chunks/{bus-kscz57pn.js → location-mutation-qt5asz00.js} +18 -18
  219. package/dist/chunks/{bus-wrt06kej.js → location-mutation-qw39grzm.js} +4 -4
  220. package/dist/chunks/{bus-r2axq500.js → location-mutation-qxt041pa.js} +21 -21
  221. package/dist/chunks/{bus-p0t9pk22.js → location-mutation-r23z5d8f.js} +4 -4
  222. package/dist/chunks/{bus-79d8ddz7.js → location-mutation-r339gb8t.js} +5 -5
  223. package/dist/chunks/{bus-jcgqybrx.js → location-mutation-r46pqq1s.js} +7 -7
  224. package/dist/chunks/{bus-7s8ytp8a.js → location-mutation-r9vycjg2.js} +12 -12
  225. package/dist/chunks/{bus-befbg1h9.js → location-mutation-rc523c8n.js} +33 -33
  226. package/dist/chunks/{bus-rdw6cm16.js → location-mutation-rdw6cm16.js} +1 -1
  227. package/dist/chunks/{bus-g9rsppv7.js → location-mutation-rjxwg6my.js} +26 -26
  228. package/dist/chunks/{bus-6gs2bj3z.js → location-mutation-rkfnr0xp.js} +1 -1
  229. package/dist/chunks/{bus-qfzsj00a.js → location-mutation-rqt3ht1f.js} +3 -3
  230. package/dist/chunks/{bus-4mj681nk.js → location-mutation-rvsn1kwz.js} +27 -27
  231. package/dist/chunks/{bus-fgr0da6t.js → location-mutation-ryr2m08g.js} +4 -4
  232. package/dist/chunks/{bus-nxhqveyz.js → location-mutation-s8zy8myc.js} +5 -5
  233. package/dist/chunks/{bus-yg3nrnme.js → location-mutation-s9s562vb.js} +13 -13
  234. package/dist/chunks/{bus-djgdsjb0.js → location-mutation-sa96sbyt.js} +14 -14
  235. package/dist/chunks/{bus-nghttz5c.js → location-mutation-say5sfs8.js} +17 -17
  236. package/dist/chunks/{bus-mcgja72h.js → location-mutation-sd4hb3jk.js} +47 -47
  237. package/dist/chunks/{bus-m5kg83s1.js → location-mutation-sgtdr5xd.js} +5 -5
  238. package/dist/chunks/{bus-39jysb05.js → location-mutation-sj6hyns7.js} +43 -43
  239. package/dist/chunks/{bus-v3sgzvyr.js → location-mutation-sqy4ahhk.js} +1 -1
  240. package/dist/chunks/{bus-ct6yytk4.js → location-mutation-t1w7zdgx.js} +15 -15
  241. package/dist/chunks/{bus-aajya80x.js → location-mutation-t3zkw3za.js} +17 -17
  242. package/dist/chunks/{bus-h2apygcd.js → location-mutation-t7ph3h46.js} +11 -11
  243. package/dist/chunks/{bus-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{bus-tdstcens.js → location-mutation-tdstcens.js} +1 -1
  245. package/dist/chunks/{bus-fm2qvscf.js → location-mutation-tkmwgdpd.js} +7 -7
  246. package/dist/chunks/{bus-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
  247. package/dist/chunks/{bus-n2srvep7.js → location-mutation-vbfgae2j.js} +4 -4
  248. package/dist/chunks/{bus-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
  249. package/dist/chunks/{bus-vze1te8n.js → location-mutation-ver2men6.js} +10 -10
  250. package/dist/chunks/location-mutation-vnkjks7b.js +18 -0
  251. package/dist/chunks/{bus-fpk9swdv.js → location-mutation-vry9y5h5.js} +24 -24
  252. package/dist/chunks/{bus-vtxr0yy2.js → location-mutation-vtxr0yy2.js} +2 -2
  253. package/dist/chunks/{bus-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{bus-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{bus-etjvrvcv.js → location-mutation-w8qbsc09.js} +24 -24
  256. package/dist/chunks/{bus-wd87259q.js → location-mutation-wd87259q.js} +1 -1
  257. package/dist/chunks/{bus-xbzz39h7.js → location-mutation-wgt0n93c.js} +32 -32
  258. package/dist/chunks/{bus-68zbwets.js → location-mutation-wz9pjx5y.js} +20 -20
  259. package/dist/chunks/{bus-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/location-mutation-xgef326k.js +252 -0
  261. package/dist/chunks/{bus-mnt867w7.js → location-mutation-xpk8r8b8.js} +25 -25
  262. package/dist/chunks/{bus-yv7qswmh.js → location-mutation-xpnq3dj5.js} +24 -24
  263. package/dist/chunks/{bus-cfsneazd.js → location-mutation-xsytrpqt.js} +6 -6
  264. package/dist/chunks/{bus-vtt0yr3x.js → location-mutation-xv8bhmcn.js} +13 -13
  265. package/dist/chunks/{bus-eh8n600s.js → location-mutation-xx9kgtw1.js} +24 -24
  266. package/dist/chunks/{bus-vh6g4kyg.js → location-mutation-xyqjfxv0.js} +18 -18
  267. package/dist/chunks/{bus-02khppbe.js → location-mutation-y16p1w2y.js} +9 -9
  268. package/dist/chunks/{bus-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{bus-0jq9fyba.js → location-mutation-y56ehv6b.js} +9 -9
  270. package/dist/chunks/{bus-mzrbxmyd.js → location-mutation-y9vcbm1p.js} +11 -11
  271. package/dist/chunks/{bus-xkrbr206.js → location-mutation-ydgy0jv4.js} +8 -8
  272. package/dist/chunks/{bus-j1srxjvx.js → location-mutation-ye6tmwz4.js} +9 -9
  273. package/dist/chunks/{bus-ajkakq68.js → location-mutation-yefjccnd.js} +27 -27
  274. package/dist/chunks/{bus-sjfgsjz9.js → location-mutation-yf8gt2v7.js} +20 -20
  275. package/dist/chunks/{bus-ehk9kapw.js → location-mutation-ygx1qhaf.js} +1 -1
  276. package/dist/chunks/{bus-g56pgxge.js → location-mutation-ypxn8na5.js} +3 -3
  277. package/dist/chunks/{bus-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{bus-yrznvahk.js → location-mutation-yrznvahk.js} +2 -2
  279. package/dist/chunks/{bus-ebvfnkrm.js → location-mutation-z06cc0jq.js} +37 -24
  280. package/dist/chunks/{bus-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{bus-hvvsh4tm.js → location-mutation-z58mz0mp.js} +21 -21
  282. package/dist/chunks/{bus-z63w68vq.js → location-mutation-z63w68vq.js} +2 -2
  283. package/dist/chunks/{bus-gsz04hhj.js → location-mutation-zbb1t9ts.js} +8 -8
  284. package/dist/chunks/{bus-sxzvkvgj.js → location-mutation-zcqf6png.js} +6 -6
  285. package/dist/chunks/{bus-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{bus-8jqfghx0.js → location-mutation-zja6ntk0.js} +11 -11
  287. package/dist/chunks/{bus-3zt4sf8n.js → location-mutation-zkfs0tv5.js} +37 -37
  288. package/dist/chunks/{bus-7py2syng.js → location-mutation-zq3deerb.js} +43 -43
  289. package/dist/chunks/{bus-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{bus-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +124 -124
  308. package/dist/config/plugin/mcp.js +131 -131
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +4 -4
  424. package/dist/filesystem/location-watcher.js +226 -226
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +85 -85
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +88 -88
  433. package/dist/generate.js +100 -100
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +80 -80
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +80 -80
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +127 -127
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +90 -90
  481. package/dist/model-resolver.js +95 -95
  482. package/dist/model.js +99 -99
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +81 -81
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +110 -110
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +87 -87
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +103 -103
  494. package/dist/plugin/command.js +100 -100
  495. package/dist/plugin/compaction.js +132 -132
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +119 -119
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +71 -71
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +140 -140
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +350 -350
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +224 -224
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +79 -79
  563. package/dist/provider.js +100 -100
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +97 -97
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +88 -88
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +127 -127
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +220 -220
  584. package/dist/session/execution.js +123 -123
  585. package/dist/session/generate.js +150 -150
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +85 -85
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +92 -92
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +111 -111
  608. package/dist/session/runner/step.js +125 -125
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +86 -86
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +207 -207
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +213 -213
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +217 -217
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +106 -106
  632. package/dist/skill.js +107 -107
  633. package/dist/snapshot.js +90 -90
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +124 -124
  638. package/dist/tool/plugin/edit.js +117 -117
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +123 -123
  641. package/dist/tool/plugin/grep.js +123 -123
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +121 -121
  644. package/dist/tool/plugin/question.js +102 -102
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +214 -214
  647. package/dist/tool/plugin/skill.js +110 -110
  648. package/dist/tool/plugin/subagent.js +218 -218
  649. package/dist/tool/plugin/webfetch.js +109 -109
  650. package/dist/tool/plugin/websearch.js +111 -111
  651. package/dist/tool/plugin/write.js +119 -119
  652. package/dist/tool/read-filesystem.js +95 -95
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +7 -7
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +3 -3
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +92 -92
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +86 -86
  685. package/dist/websearch.js +81 -81
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +78 -78
  688. package/dist/workspace/driver.js +7 -7
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -79
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +93 -93
  696. package/package.json +8 -8
  697. package/dist/chunks/bus-9zdhvgqs.js +0 -18
  698. package/dist/chunks/bus-pkqtqxbs.js +0 -252
  699. package/dist/chunks/bus-qapv375x.js +0 -4
  700. package/dist/chunks/bus-sn7pzh75.js +0 -26
  701. package/dist/chunks/bus-zkkcedaa.js +0 -503
  702. /package/dist/chunks/{bus-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{bus-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{bus-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{bus-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{bus-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{bus-24dcb14g.js → location-mutation-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{bus-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{bus-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{bus-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{bus-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{bus-3asan66x.js → location-mutation-3asan66x.js} +0 -0
  713. /package/dist/chunks/{bus-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{bus-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{bus-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{bus-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{bus-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{bus-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{bus-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{bus-53557ph1.js → location-mutation-53557ph1.js} +0 -0
  721. /package/dist/chunks/{bus-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{bus-5qd3pb7m.js → location-mutation-5qd3pb7m.js} +0 -0
  723. /package/dist/chunks/{bus-6prwharc.js → location-mutation-6prwharc.js} +0 -0
  724. /package/dist/chunks/{bus-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{bus-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{bus-822emrt2.js → location-mutation-822emrt2.js} +0 -0
  727. /package/dist/chunks/{bus-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{bus-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{bus-922hggd3.js → location-mutation-922hggd3.js} +0 -0
  730. /package/dist/chunks/{bus-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{bus-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{bus-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{bus-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{bus-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{bus-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{bus-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{bus-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{bus-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{bus-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{bus-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{bus-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{bus-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{bus-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{bus-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{bus-df08tz66.js → location-mutation-df08tz66.js} +0 -0
  746. /package/dist/chunks/{bus-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{bus-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{bus-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{bus-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{bus-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{bus-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{bus-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{bus-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{bus-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{bus-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{bus-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{bus-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{bus-g86h250q.js → location-mutation-g86h250q.js} +0 -0
  759. /package/dist/chunks/{bus-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{bus-gftt206x.js → location-mutation-gftt206x.js} +0 -0
  761. /package/dist/chunks/{bus-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{bus-hk9envan.js → location-mutation-hk9envan.js} +0 -0
  763. /package/dist/chunks/{bus-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{bus-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{bus-jjkms2e6.js → location-mutation-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{bus-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{bus-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{bus-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{bus-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{bus-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{bus-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{bus-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{bus-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{bus-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{bus-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{bus-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{bus-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{bus-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{bus-qg3g05ea.js → location-mutation-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{bus-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{bus-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{bus-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{bus-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{bus-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{bus-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
  786. /package/dist/chunks/{bus-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{bus-wc3fc9cn.js → location-mutation-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{bus-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{bus-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{bus-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{bus-x61499pn.js → location-mutation-x61499pn.js} +0 -0
  792. /package/dist/chunks/{bus-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{bus-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{bus-y8f7s663.js → location-mutation-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{bus-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{bus-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{bus-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-922hggd3.js";
3
+ } from "./location-mutation-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./bus-922hggd3.js";
3
+ } from "./location-mutation-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./bus-qj8eh1ht.js";
6
+ } from "./location-mutation-g190xswt.js";
7
7
  import {
8
- Info14
9
- } from "./bus-k0gdq8ga.js";
8
+ Info15
9
+ } from "./location-mutation-818pfwc9.js";
10
10
  import {
11
- Info12
12
- } from "./bus-t0fxg8b9.js";
11
+ Info10
12
+ } from "./location-mutation-37s12vcn.js";
13
13
  import {
14
- Info17
15
- } from "./bus-fm2qvscf.js";
14
+ Info12
15
+ } from "./location-mutation-tkmwgdpd.js";
16
16
  import {
17
- Info15
18
- } from "./bus-nxhqveyz.js";
17
+ Info11
18
+ } from "./location-mutation-s8zy8myc.js";
19
19
  import {
20
20
  Spec2
21
- } from "./bus-7dqw4kz8.js";
21
+ } from "./location-mutation-qgn6gcr1.js";
22
22
  import {
23
- Info16
24
- } from "./bus-hnr5yq9h.js";
23
+ Info13
24
+ } from "./location-mutation-e6hmchc5.js";
25
25
  import {
26
- Info11
27
- } from "./bus-32psr599.js";
26
+ Info8
27
+ } from "./location-mutation-jqe8c22f.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./bus-fgr0da6t.js";
36
+ } from "./location-mutation-ryr2m08g.js";
37
37
  import {
38
38
  __export
39
- } from "./bus-9rqn6x4v.js";
39
+ } from "./location-mutation-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info11.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info12, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info10, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info17, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info12, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info15, value, path, diagnostics);
228
+ const server = decodeValue(Info11, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info16, raw, path, diagnostics);
424
+ const provider = decodeValue(Info13, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID10,
3
- Service70
4
- } from "./bus-dp3wkqpm.js";
2
+ ID14,
3
+ Service73
4
+ } from "./location-mutation-cn3vn15h.js";
5
5
  import {
6
6
  Ref2,
7
- Service74
8
- } from "./bus-k8e10kf0.js";
7
+ Service60
8
+ } from "./location-mutation-4a6h4wrp.js";
9
9
  import {
10
10
  latest2,
11
- Service61
12
- } from "./bus-39jysb05.js";
11
+ Service51
12
+ } from "./location-mutation-sj6hyns7.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./bus-jexxy024.js";
15
+ } from "./location-mutation-q3t37ft6.js";
16
16
  import {
17
- Service43
18
- } from "./bus-aajya80x.js";
17
+ Service49
18
+ } from "./location-mutation-t3zkw3za.js";
19
19
  import {
20
20
  evaluate2,
21
- Service67
22
- } from "./bus-6zh0kd8a.js";
21
+ Service70
22
+ } from "./location-mutation-nkf7ea5p.js";
23
23
  import {
24
- Service24
25
- } from "./bus-ax6ydr4f.js";
24
+ Service15
25
+ } from "./location-mutation-3emyecbb.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./bus-x1ezjp6w.js";
28
+ } from "./location-mutation-x1ezjp6w.js";
29
29
  import {
30
30
  make9
31
- } from "./bus-5dc1jw76.js";
31
+ } from "./location-mutation-jp1d2c53.js";
32
32
  import {
33
33
  __export
34
- } from "./bus-9rqn6x4v.js";
34
+ } from "./location-mutation-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input12,
40
- Output: () => Output8,
41
- Plugin: () => Plugin48,
39
+ Input: () => Input9,
40
+ Output: () => Output7,
41
+ Plugin: () => Plugin44,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description5,
44
- name: () => name12
43
+ description: () => description3,
44
+ name: () => name9
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Schema } from "effect";
48
- var name12 = "subagent";
48
+ var name9 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input12 = Schema.Struct({
59
+ var Input9 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input12 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output8 = Schema.Struct({
75
+ var Output7 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description5 = [
80
+ var description3 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,15 +86,15 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin48 = {
89
+ var Plugin44 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service24;
93
- const jobs = yield* Service43;
94
- const agents = yield* Service70;
95
- const config = yield* Service61;
96
- const permission = yield* Service67;
97
- const models = yield* Service74;
92
+ const sessions = yield* Service15;
93
+ const jobs = yield* Service49;
94
+ const agents = yield* Service73;
95
+ const config = yield* Service51;
96
+ const permission = yield* Service70;
97
+ const models = yield* Service60;
98
98
  const subagents = yield* make9;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
@@ -115,11 +115,11 @@ var Plugin48 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name12,
118
+ name: name9,
119
119
  options: { codemode: false },
120
- description: description5,
121
- input: Input12,
122
- output: Output8,
120
+ description: description3,
121
+ input: Input9,
122
+ output: Output7,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin48 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name12,
142
+ action: name9,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin48 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID10.make(input.agent),
171
+ agent: ID14.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,13 +218,13 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  const hook = (event) => Effect.gen(function* () {
221
- const tool = event.tools[name12];
221
+ const tool = event.tools[name9];
222
222
  if (!tool)
223
223
  return;
224
224
  const selected = yield* agents.resolve(event.agent);
225
225
  if (!selected)
226
226
  return;
227
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
227
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
228
228
  if (available.length === 0)
229
229
  return;
230
230
  tool.description = [
@@ -241,4 +241,4 @@ ${output.output}
241
241
  })
242
242
  };
243
243
 
244
- export { name12, Input12, Output8, description5, Plugin48, exports_subagent };
244
+ export { name9, Input9, Output7, description3, Plugin44, exports_subagent };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./bus-qaymkmh1.js";
3
+ } from "./location-mutation-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make11(input) {
8
+ function make10(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make11 };
264
+ export { make10 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./bus-cfsneazd.js";
3
+ } from "./location-mutation-xsytrpqt.js";
4
4
  import {
5
5
  apply3
6
- } from "./bus-dvvx8exq.js";
6
+ } from "./location-mutation-h6syajn5.js";
7
7
  import {
8
8
  __export
9
- } from "./bus-9rqn6x4v.js";
9
+ } from "./location-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./bus-emrn6kk6.js";
5
+ } from "./location-mutation-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./bus-922hggd3.js";
4
+ } from "./location-mutation-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service82,
9
9
  node86
10
- } from "./bus-dq0v80fr.js";
10
+ } from "./location-mutation-p1zpfjkz.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./bus-wfwqsfnv.js";
14
+ } from "./location-mutation-eqxdc8mp.js";
15
15
  import {
16
16
  create3
17
- } from "./bus-rdw6cm16.js";
17
+ } from "./location-mutation-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./bus-9rqn6x4v.js";
20
+ } from "./location-mutation-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
26
- ID: () => ID7,
27
- Service: () => Service59,
25
+ Error: () => Error3,
26
+ ID: () => ID5,
27
+ Service: () => Service55,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node62,
29
+ node: () => node58,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,18 +34,18 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID7 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service59 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service55 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service59, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID7.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service59.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service55.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node62 = makeLocationNode({
144
- service: Service59,
143
+ var node58 = makeLocationNode({
144
+ service: Service55,
145
145
  layer,
146
146
  deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service59, Service59.of({
148
+ var noopLayer3 = Layer.succeed(Service55, Service55.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service59, Service59.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error5 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error5({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID7, Error5, Service59, node62, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error3, Service55, node58, noopLayer3, exports_snapshot2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./bus-mzrbxmyd.js";
3
+ } from "./location-mutation-y9vcbm1p.js";
4
4
  import {
5
5
  Service83
6
- } from "./bus-p0t9pk22.js";
6
+ } from "./location-mutation-r23z5d8f.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./bus-1z0p4hs7.js";
9
+ Event16
10
+ } from "./location-mutation-q7tj62n7.js";
11
11
  import {
12
- ID14,
12
+ ID9,
13
13
  MethodID2
14
- } from "./bus-smgbhx6z.js";
14
+ } from "./location-mutation-n03y2nvv.js";
15
15
  import {
16
- ID13
17
- } from "./bus-rh2sckgg.js";
16
+ ID8
17
+ } from "./location-mutation-d4yhjfbe.js";
18
18
  import {
19
- ID12,
19
+ ID7,
20
20
  Family2
21
- } from "./bus-k8e10kf0.js";
21
+ } from "./location-mutation-4a6h4wrp.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./bus-pjvnvgmy.js";
24
+ } from "./location-mutation-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
30
- var providerID = ID13.make("digitalocean");
31
- var integrationID = ID14.make("digitalocean");
30
+ var providerID = ID8.make("digitalocean");
31
+ var integrationID = ID9.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID12.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID7.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./bus-922hggd3.js";
3
+ } from "./location-mutation-922hggd3.js";
4
4
  import {
5
- Info19
6
- } from "./bus-qj8eh1ht.js";
5
+ Info16
6
+ } from "./location-mutation-g190xswt.js";
7
7
  import {
8
8
  __export
9
- } from "./bus-9rqn6x4v.js";
9
+ } from "./location-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info14
15
+ Info: () => Info15
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info19)
47
+ permission: Schema.optional(Info16)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info14 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info14, exports_agent3 };
74
+ export { Info15, exports_agent3 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./bus-mzrbxmyd.js";
3
+ } from "./location-mutation-y9vcbm1p.js";
4
4
  import {
5
5
  call2
6
- } from "./bus-mfqp6xfm.js";
6
+ } from "./location-mutation-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./bus-9rqn6x4v.js";
9
+ } from "./location-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin25,
14
+ Plugin: () => Plugin9,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint5
16
+ endpoint: () => endpoint6
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/unstable/http";
21
- var endpoint5 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint6 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin25 = define({
36
+ var Plugin9 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin25 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin25 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint5, Plugin25, exports_tinyfish };
76
+ export { endpoint6, Plugin9, exports_tinyfish };