@opencode/core 0.0.0-dev-20681 → 0.0.0-dev-20684

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{file-retention-hes1j7ga.js → location-lifecycle-02khppbe.js} +9 -9
  8. package/dist/chunks/{file-retention-acw72k0x.js → location-lifecycle-05gsqr97.js} +9 -9
  9. package/dist/chunks/{file-retention-hwm35mvz.js → location-lifecycle-063h6gxx.js} +5 -5
  10. package/dist/chunks/{file-retention-1ffbm2jk.js → location-lifecycle-06r90ppk.js} +9 -9
  11. package/dist/chunks/{file-retention-3g8j9he4.js → location-lifecycle-075nkgpd.js} +1 -1
  12. package/dist/chunks/{file-retention-qgn6gcr1.js → location-lifecycle-0jwsre1p.js} +5 -5
  13. package/dist/chunks/{file-retention-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-retention-0vbcp93d.js → location-lifecycle-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{file-retention-94bax37x.js → location-lifecycle-0vmmsz07.js} +48 -48
  16. package/dist/chunks/{file-retention-xsgjgyxe.js → location-lifecycle-0w1gqsy8.js} +4 -4
  17. package/dist/chunks/{file-retention-mbt5cw93.js → location-lifecycle-0wpwzxxn.js} +13 -13
  18. package/dist/chunks/{file-retention-0f5x9ggt.js → location-lifecycle-0yac1820.js} +4 -4
  19. package/dist/chunks/{file-retention-a2x2qtap.js → location-lifecycle-0zkygwfx.js} +32 -32
  20. package/dist/chunks/{file-retention-t83dx74p.js → location-lifecycle-10cxwvde.js} +16 -16
  21. package/dist/chunks/{file-retention-rhraev7y.js → location-lifecycle-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{file-retention-1ajx6rf5.js → location-lifecycle-1ajx6rf5.js} +1 -1
  23. package/dist/chunks/{file-retention-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{file-retention-1dvck2a7.js → location-lifecycle-1dvck2a7.js} +2 -2
  25. package/dist/chunks/{file-retention-70he5k1a.js → location-lifecycle-1jnd0kpw.js} +18 -18
  26. package/dist/chunks/{file-retention-57myy5jh.js → location-lifecycle-1pxz8ven.js} +5 -5
  27. package/dist/chunks/{file-retention-ybqw3e3v.js → location-lifecycle-1tkxjym4.js} +3 -3
  28. package/dist/chunks/{file-retention-7c5mdn1c.js → location-lifecycle-1w4qtqrn.js} +9 -9
  29. package/dist/chunks/{file-retention-bcb25nnb.js → location-lifecycle-20h11dtt.js} +21 -21
  30. package/dist/chunks/{file-retention-50fv3yjs.js → location-lifecycle-226eh3y5.js} +21 -21
  31. package/dist/chunks/{file-retention-n7m69k8w.js → location-lifecycle-26a57194.js} +9 -9
  32. package/dist/chunks/{file-retention-b929sp55.js → location-lifecycle-26ye3vwj.js} +8 -8
  33. package/dist/chunks/{file-retention-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{file-retention-jrpn6x2x.js → location-lifecycle-2ahzvgw1.js} +12 -12
  35. package/dist/chunks/{file-retention-y5nh7e22.js → location-lifecycle-2bfa9kaw.js} +11 -11
  36. package/dist/chunks/{file-retention-fqy13z6k.js → location-lifecycle-2hvzr5ar.js} +7 -7
  37. package/dist/chunks/{file-retention-rzwhqm3a.js → location-lifecycle-2rvp7s7b.js} +3 -3
  38. package/dist/chunks/{file-retention-6j7shb91.js → location-lifecycle-2s7ybbgh.js} +3 -3
  39. package/dist/chunks/{file-retention-cpqeyayh.js → location-lifecycle-2vbg8t8g.js} +6 -6
  40. package/dist/chunks/{file-retention-7jc2cdj1.js → location-lifecycle-2xmwdb14.js} +12 -12
  41. package/dist/chunks/{file-retention-xnj07x5h.js → location-lifecycle-2zk65mq5.js} +19 -19
  42. package/dist/chunks/{file-retention-na6tqg4t.js → location-lifecycle-32psh0q2.js} +19 -19
  43. package/dist/chunks/{file-retention-1n632r5x.js → location-lifecycle-337zht14.js} +3 -3
  44. package/dist/chunks/{file-retention-2x9pw9ke.js → location-lifecycle-35ec284s.js} +13 -13
  45. package/dist/chunks/{file-retention-y072d9hw.js → location-lifecycle-3a2m6res.js} +5 -5
  46. package/dist/chunks/{file-retention-dktpvhqt.js → location-lifecycle-3b8j6ss7.js} +36 -36
  47. package/dist/chunks/{file-retention-ae3ekk0y.js → location-lifecycle-3egv5ypg.js} +21 -21
  48. package/dist/chunks/{file-retention-2ma8f05f.js → location-lifecycle-3ex7axyr.js} +18 -18
  49. package/dist/chunks/{file-retention-y5chagx8.js → location-lifecycle-3f1961x7.js} +27 -27
  50. package/dist/chunks/{file-retention-9qrc8kph.js → location-lifecycle-3f8vzngw.js} +5 -5
  51. package/dist/chunks/{file-retention-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
  52. package/dist/chunks/{file-retention-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
  53. package/dist/chunks/{file-retention-gejtnehc.js → location-lifecycle-3p8ay4bf.js} +38 -38
  54. package/dist/chunks/{file-retention-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
  55. package/dist/chunks/{file-retention-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
  56. package/dist/chunks/{file-retention-3zsf4n22.js → location-lifecycle-3zsf4n22.js} +1 -1
  57. package/dist/chunks/{file-retention-srq67sk8.js → location-lifecycle-41pxaskz.js} +5 -5
  58. package/dist/chunks/{file-retention-vr81r1wp.js → location-lifecycle-48hq3w28.js} +8 -8
  59. package/dist/chunks/{file-retention-ey888tbp.js → location-lifecycle-4c5kx5jf.js} +15 -15
  60. package/dist/chunks/{file-retention-s609sw4r.js → location-lifecycle-4ckeh75z.js} +13 -13
  61. package/dist/chunks/{file-retention-wknvrshc.js → location-lifecycle-4hkjffgj.js} +13 -13
  62. package/dist/chunks/{file-retention-srm8s2qm.js → location-lifecycle-4qjpxqqa.js} +11 -11
  63. package/dist/chunks/{file-retention-yvgnd6da.js → location-lifecycle-4sa8jbrs.js} +5 -5
  64. package/dist/chunks/{file-retention-4ts7tf6z.js → location-lifecycle-4ts7tf6z.js} +2 -2
  65. package/dist/chunks/{file-retention-mjymc32g.js → location-lifecycle-50mzsvk4.js} +4 -4
  66. package/dist/chunks/{file-retention-hm31tfx1.js → location-lifecycle-51g1atb3.js} +1 -1
  67. package/dist/chunks/{file-retention-mv92nc0c.js → location-lifecycle-531cyra5.js} +27 -27
  68. package/dist/chunks/{file-retention-54ma36ye.js → location-lifecycle-54ma36ye.js} +1 -1
  69. package/dist/chunks/location-lifecycle-55bz3zr2.js +253 -0
  70. package/dist/chunks/{file-retention-crgh4fce.js → location-lifecycle-5bcb55yf.js} +6 -6
  71. package/dist/chunks/{file-retention-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
  72. package/dist/chunks/location-lifecycle-5fxk43wy.js +507 -0
  73. package/dist/chunks/{file-retention-d9wzmzc3.js → location-lifecycle-5hx7d1d6.js} +5 -5
  74. package/dist/chunks/{file-retention-0aneshm7.js → location-lifecycle-5jvwydpq.js} +20 -20
  75. package/dist/chunks/{file-retention-5m9w47nd.js → location-lifecycle-5m9w47nd.js} +1 -1
  76. package/dist/chunks/{file-retention-wsb67xeh.js → location-lifecycle-5ngaw42y.js} +10 -10
  77. package/dist/chunks/{file-retention-cd4hwype.js → location-lifecycle-5pjp1k1g.js} +50 -50
  78. package/dist/chunks/{file-retention-64yxt7jn.js → location-lifecycle-5qnej2js.js} +13 -13
  79. package/dist/chunks/{file-retention-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
  80. package/dist/chunks/{file-retention-wmns5nf0.js → location-lifecycle-60jf5vcr.js} +4 -4
  81. package/dist/chunks/{file-retention-bcfhhyy3.js → location-lifecycle-6b1rhtd5.js} +11 -11
  82. package/dist/chunks/{file-retention-k0v1pxzb.js → location-lifecycle-6bvm89f4.js} +24 -24
  83. package/dist/chunks/{file-retention-wtqemd4y.js → location-lifecycle-6d8pmp5n.js} +9 -9
  84. package/dist/chunks/{file-retention-03xyy9gs.js → location-lifecycle-6kgskxtw.js} +8 -8
  85. package/dist/chunks/{file-retention-wtdswasp.js → location-lifecycle-6svbk6pm.js} +7 -7
  86. package/dist/chunks/{file-retention-6xb47vfp.js → location-lifecycle-6xb47vfp.js} +1 -1
  87. package/dist/chunks/{file-retention-q65awyea.js → location-lifecycle-6xcdvqxh.js} +89 -89
  88. package/dist/chunks/{file-retention-820kspmq.js → location-lifecycle-6y9gnpfg.js} +20 -20
  89. package/dist/chunks/{file-retention-71az546q.js → location-lifecycle-71az546q.js} +2 -2
  90. package/dist/chunks/{file-retention-rjk8fnxb.js → location-lifecycle-78cd284a.js} +30 -30
  91. package/dist/chunks/{file-retention-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
  92. package/dist/chunks/{file-retention-6cj95z3h.js → location-lifecycle-7hdckppd.js} +33 -33
  93. package/dist/chunks/{file-retention-0mb4avxv.js → location-lifecycle-86a9aqm7.js} +5 -5
  94. package/dist/chunks/{file-retention-a1dq5efv.js → location-lifecycle-87af0jnx.js} +7 -7
  95. package/dist/chunks/{file-retention-89znhe33.js → location-lifecycle-89znhe33.js} +1 -1
  96. package/dist/chunks/{file-retention-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
  97. package/dist/chunks/{file-retention-37p191wt.js → location-lifecycle-8dqzgcf3.js} +2 -2
  98. package/dist/chunks/{file-retention-z9nc9d7h.js → location-lifecycle-8f67g1dm.js} +36 -36
  99. package/dist/chunks/{file-retention-205pr9zd.js → location-lifecycle-8g3g94ah.js} +48 -48
  100. package/dist/chunks/{file-retention-094k6nq6.js → location-lifecycle-8jkabng0.js} +16 -16
  101. package/dist/chunks/{file-retention-9jwk2z16.js → location-lifecycle-8jsp840a.js} +26 -26
  102. package/dist/chunks/{file-retention-f5gy8qwh.js → location-lifecycle-8paq7gnc.js} +8 -8
  103. package/dist/chunks/{file-retention-9e5bzkjp.js → location-lifecycle-9e5bzkjp.js} +3 -3
  104. package/dist/chunks/{file-retention-d3r92nc5.js → location-lifecycle-9ng1f03y.js} +16 -16
  105. package/dist/chunks/{file-retention-5ryzkr0h.js → location-lifecycle-9r2jpf9t.js} +20 -20
  106. package/dist/chunks/{file-retention-ytkq3k3g.js → location-lifecycle-9sgp6b5z.js} +6 -6
  107. package/dist/chunks/{file-retention-mxt3wcgd.js → location-lifecycle-9vbq82tv.js} +73 -73
  108. package/dist/chunks/{file-retention-09hj56x9.js → location-lifecycle-9xdh3x8b.js} +32 -32
  109. package/dist/chunks/{file-retention-ycw2jfrh.js → location-lifecycle-9xssfh81.js} +27 -27
  110. package/dist/chunks/{file-retention-vbpjx0bg.js → location-lifecycle-9y5b0gtx.js} +5 -5
  111. package/dist/chunks/{file-retention-5xrkpdm9.js → location-lifecycle-9yb256cm.js} +27 -27
  112. package/dist/chunks/location-lifecycle-9zdhvgqs.js +18 -0
  113. package/dist/chunks/{file-retention-mhkvc446.js → location-lifecycle-a1gpj94z.js} +3 -3
  114. package/dist/chunks/{file-retention-n2srvep7.js → location-lifecycle-a89e0tac.js} +4 -4
  115. package/dist/chunks/{file-retention-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
  116. package/dist/chunks/{file-retention-be4ddzaj.js → location-lifecycle-apzzd3ax.js} +20 -20
  117. package/dist/chunks/{file-retention-v71jy9y0.js → location-lifecycle-aw1j1f4r.js} +11 -11
  118. package/dist/chunks/{file-retention-pvr6cp49.js → location-lifecycle-b0dt9z8w.js} +4 -4
  119. package/dist/chunks/{file-retention-8sze2n9a.js → location-lifecycle-b4twkq7r.js} +2 -2
  120. package/dist/chunks/{file-retention-b674v2dg.js → location-lifecycle-b674v2dg.js} +2 -2
  121. package/dist/chunks/{file-retention-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
  122. package/dist/chunks/{file-retention-64cxtqk4.js → location-lifecycle-b8agvgd6.js} +33 -33
  123. package/dist/chunks/{file-retention-w49382pb.js → location-lifecycle-bh0zzf2s.js} +8 -8
  124. package/dist/chunks/{file-retention-yb1jef8c.js → location-lifecycle-bm7qbsac.js} +11 -11
  125. package/dist/chunks/{file-retention-nqxj0yn4.js → location-lifecycle-brk5xemp.js} +2 -2
  126. package/dist/chunks/{file-retention-8qyxgmca.js → location-lifecycle-bspqpb0c.js} +12 -12
  127. package/dist/chunks/{file-retention-x03f1vzf.js → location-lifecycle-bvydwcnj.js} +83 -83
  128. package/dist/chunks/{file-retention-23kkzav6.js → location-lifecycle-bw3ab5h2.js} +15 -15
  129. package/dist/chunks/{file-retention-33kqnb84.js → location-lifecycle-by37hsaf.js} +17 -17
  130. package/dist/chunks/{file-retention-n1n192bv.js → location-lifecycle-c35597j6.js} +4 -4
  131. package/dist/chunks/{file-retention-17sdckqj.js → location-lifecycle-c9n2nen5.js} +35 -35
  132. package/dist/chunks/{file-retention-9fyy27dk.js → location-lifecycle-cbcehkva.js} +26 -26
  133. package/dist/chunks/{file-retention-pasrzgnm.js → location-lifecycle-ccaf0804.js} +11 -11
  134. package/dist/chunks/{file-retention-ve6nm2s5.js → location-lifecycle-d1mtykxg.js} +6 -6
  135. package/dist/chunks/{file-retention-sxz6gkc3.js → location-lifecycle-d216944b.js} +4 -4
  136. package/dist/chunks/{file-retention-m7g7tjth.js → location-lifecycle-d94vkxnx.js} +20 -20
  137. package/dist/chunks/{file-retention-tx92n959.js → location-lifecycle-d9sgy5v4.js} +4 -4
  138. package/dist/chunks/{file-retention-jvf3yq6v.js → location-lifecycle-ddt2bs9e.js} +4 -4
  139. package/dist/chunks/{file-retention-arz7hw7x.js → location-lifecycle-dgma0v0g.js} +3 -3
  140. package/dist/chunks/{file-retention-473qxj02.js → location-lifecycle-djdtsz5x.js} +15 -15
  141. package/dist/chunks/{file-retention-zz29563v.js → location-lifecycle-dkbtsjnq.js} +24 -24
  142. package/dist/chunks/{file-retention-xkntkrq7.js → location-lifecycle-dmqcgk4z.js} +5 -5
  143. package/dist/chunks/{file-retention-x0r517r6.js → location-lifecycle-dnezdd38.js} +14 -14
  144. package/dist/chunks/{file-retention-kd48n5vs.js → location-lifecycle-e6cvegzg.js} +9 -9
  145. package/dist/chunks/{file-retention-bfzhmb2g.js → location-lifecycle-edm9s4jn.js} +23 -23
  146. package/dist/chunks/{file-retention-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
  147. package/dist/chunks/{file-retention-zzmbjfh5.js → location-lifecycle-ej6h7vq7.js} +3 -3
  148. package/dist/chunks/{file-retention-xe9nhgdy.js → location-lifecycle-et3fks45.js} +32 -32
  149. package/dist/chunks/{file-retention-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
  150. package/dist/chunks/{file-retention-x9hm1kyg.js → location-lifecycle-etyaes4m.js} +24 -24
  151. package/dist/chunks/{file-retention-34x5nqhx.js → location-lifecycle-ex7zhkfb.js} +7 -7
  152. package/dist/chunks/{file-retention-0pgs73yf.js → location-lifecycle-ezqzpjms.js} +39 -39
  153. package/dist/chunks/{file-retention-6r09hpxq.js → location-lifecycle-eztpkhjq.js} +23 -23
  154. package/dist/chunks/{file-retention-tg7bkhef.js → location-lifecycle-fpecnkgp.js} +5 -5
  155. package/dist/chunks/{file-retention-n37c4crj.js → location-lifecycle-ftjf86m5.js} +9 -9
  156. package/dist/chunks/{file-retention-3cw3w3a5.js → location-lifecycle-fz63517n.js} +30 -30
  157. package/dist/chunks/{file-retention-xfkkasph.js → location-lifecycle-g5w8qwbj.js} +4 -4
  158. package/dist/chunks/{file-retention-cwa6csj7.js → location-lifecycle-g6q9qykm.js} +9 -9
  159. package/dist/chunks/{file-retention-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{file-retention-ygrct2xs.js → location-lifecycle-gd6d6gzq.js} +29 -29
  161. package/dist/chunks/{file-retention-gh5z95q3.js → location-lifecycle-gh5z95q3.js} +2 -2
  162. package/dist/chunks/{file-retention-30846h32.js → location-lifecycle-gs3s1a1g.js} +8 -8
  163. package/dist/chunks/{file-retention-w14eggg5.js → location-lifecycle-gtbprh07.js} +17 -17
  164. package/dist/chunks/{file-retention-h2b79v29.js → location-lifecycle-h2b79v29.js} +2 -2
  165. package/dist/chunks/{file-retention-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{file-retention-cstv7mkv.js → location-lifecycle-hafepx0m.js} +12 -12
  167. package/dist/chunks/{file-retention-r6pqrcmr.js → location-lifecycle-hbp9e5gh.js} +31 -31
  168. package/dist/chunks/{file-retention-64dv7wa4.js → location-lifecycle-hdr6pzp4.js} +13 -13
  169. package/dist/chunks/{file-retention-904an80t.js → location-lifecycle-hhqxc54w.js} +14 -14
  170. package/dist/chunks/{file-retention-mdyte87w.js → location-lifecycle-hjdfbhvj.js} +4 -4
  171. package/dist/chunks/{file-retention-d1wgwwpz.js → location-lifecycle-hpp5kapg.js} +31 -31
  172. package/dist/chunks/{file-retention-jahc66mj.js → location-lifecycle-hvvc8a2w.js} +12 -12
  173. package/dist/chunks/{file-retention-r6qhg5cx.js → location-lifecycle-hz5tq5t5.js} +16 -16
  174. package/dist/chunks/{file-retention-xdexf0f6.js → location-lifecycle-j0957gea.js} +13 -13
  175. package/dist/chunks/{file-retention-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
  176. package/dist/chunks/{file-retention-dagpcw60.js → location-lifecycle-jmcmn6kx.js} +11 -11
  177. package/dist/chunks/{file-retention-myekv2e1.js → location-lifecycle-jnzzg47p.js} +15 -15
  178. package/dist/chunks/location-lifecycle-js13ey7k.js +26 -0
  179. package/dist/chunks/{file-retention-g7bg1e3j.js → location-lifecycle-k7wh6m2v.js} +4 -4
  180. package/dist/chunks/{file-retention-kqx66hb9.js → location-lifecycle-k9hdpf1d.js} +27 -27
  181. package/dist/chunks/{file-retention-fa9q739j.js → location-lifecycle-kcbhgjfd.js} +14 -14
  182. package/dist/chunks/{file-retention-6ny0zgt8.js → location-lifecycle-kdp23qt0.js} +15 -15
  183. package/dist/chunks/{file-retention-09fyqd88.js → location-lifecycle-kwsqnjcj.js} +9 -9
  184. package/dist/chunks/{file-retention-j7ektg2c.js → location-lifecycle-m1edx7vx.js} +50 -50
  185. package/dist/chunks/{file-retention-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{file-retention-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{file-retention-4ffr5ypj.js → location-lifecycle-mc094nv4.js} +28 -28
  188. package/dist/chunks/{file-retention-5dxg2j8v.js → location-lifecycle-mfgthqa8.js} +9 -9
  189. package/dist/chunks/{file-retention-33w4ejhs.js → location-lifecycle-mfqp6xfm.js} +9 -9
  190. package/dist/chunks/{file-retention-kpnjtwkv.js → location-lifecycle-mhd024zz.js} +45 -45
  191. package/dist/chunks/{file-retention-g2arkee0.js → location-lifecycle-mmtzy2cx.js} +1 -1
  192. package/dist/chunks/{file-retention-s6d08xqn.js → location-lifecycle-mx2aqj59.js} +8 -8
  193. package/dist/chunks/{file-retention-ey8ksrh3.js → location-lifecycle-mxbg3ygs.js} +38 -38
  194. package/dist/chunks/{file-retention-9faykjcc.js → location-lifecycle-mxw8m4vv.js} +182 -182
  195. package/dist/chunks/{file-retention-zcs7pzqw.js → location-lifecycle-mz0r50hh.js} +21 -21
  196. package/dist/chunks/{file-retention-3yef2cta.js → location-lifecycle-n0yjf684.js} +8 -8
  197. package/dist/chunks/{file-retention-jbtmhr82.js → location-lifecycle-n7nkg0mk.js} +11 -11
  198. package/dist/chunks/{file-retention-zm4ck3vc.js → location-lifecycle-nm0wvxtq.js} +15 -15
  199. package/dist/chunks/{file-retention-4jvpaqy4.js → location-lifecycle-nm2f9wrr.js} +32 -32
  200. package/dist/chunks/{file-retention-3bc8czyk.js → location-lifecycle-npwy0cf6.js} +5 -5
  201. package/dist/chunks/{file-retention-dzbjpkzp.js → location-lifecycle-nraamc83.js} +6 -6
  202. package/dist/chunks/{file-retention-dpkg50ah.js → location-lifecycle-nxm207yx.js} +4 -4
  203. package/dist/chunks/{file-retention-7qnnmmsd.js → location-lifecycle-pf32sebb.js} +3 -3
  204. package/dist/chunks/{file-retention-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{file-retention-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
  206. package/dist/chunks/{file-retention-gpdrbh7c.js → location-lifecycle-pngk9xk6.js} +33 -33
  207. package/dist/chunks/{file-retention-hdgxcmab.js → location-lifecycle-pyjrn7r3.js} +20 -20
  208. package/dist/chunks/{file-retention-q0xm7vwc.js → location-lifecycle-q0xm7vwc.js} +2 -2
  209. package/dist/chunks/{file-retention-h41w6thw.js → location-lifecycle-q1h3h95e.js} +18 -18
  210. package/dist/chunks/{file-retention-jvm6vmtm.js → location-lifecycle-qb5a6frm.js} +12 -12
  211. package/dist/chunks/{file-retention-g8pw0xsb.js → location-lifecycle-qgc4rrcj.js} +18 -18
  212. package/dist/chunks/{file-retention-qnc92qwc.js → location-lifecycle-qnc92qwc.js} +1 -1
  213. package/dist/chunks/{file-retention-2pbjjxkv.js → location-lifecycle-qqqy3pvs.js} +10 -10
  214. package/dist/chunks/{file-retention-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
  215. package/dist/chunks/{file-retention-xyafkbt0.js → location-lifecycle-qxjc9qry.js} +3 -3
  216. package/dist/chunks/{file-retention-nxb06eb5.js → location-lifecycle-qyt1w9k6.js} +11 -11
  217. package/dist/chunks/{file-retention-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{file-retention-njby6g43.js → location-lifecycle-rk51z9mh.js} +46 -46
  219. package/dist/chunks/{file-retention-2c25w9p0.js → location-lifecycle-rt1b0z2g.js} +4 -4
  220. package/dist/chunks/{file-retention-j57qcdj3.js → location-lifecycle-rykbmd5h.js} +18 -18
  221. package/dist/chunks/{file-retention-4y79czg2.js → location-lifecycle-s08b3w1e.js} +13 -13
  222. package/dist/chunks/{file-retention-938z0aze.js → location-lifecycle-s19wcxkc.js} +23 -23
  223. package/dist/chunks/{file-retention-fa14k2vq.js → location-lifecycle-s612q12g.js} +4 -4
  224. package/dist/chunks/{file-retention-gpk0vexy.js → location-lifecycle-s8b189qv.js} +19 -19
  225. package/dist/chunks/{file-retention-s8d7rejh.js → location-lifecycle-s8d7rejh.js} +1 -1
  226. package/dist/chunks/{file-retention-ptx056q3.js → location-lifecycle-sahbbq5s.js} +20 -20
  227. package/dist/chunks/{file-retention-f76zd4y3.js → location-lifecycle-sfn58asn.js} +25 -25
  228. package/dist/chunks/{file-retention-kjwsf0xt.js → location-lifecycle-sj78244k.js} +15 -15
  229. package/dist/chunks/{file-retention-f9nevmwk.js → location-lifecycle-spbjn7pa.js} +11 -11
  230. package/dist/chunks/{file-retention-q01e5agj.js → location-lifecycle-swntjeps.js} +45 -45
  231. package/dist/chunks/{file-retention-a1ekkk6g.js → location-lifecycle-sz15h4sp.js} +10 -10
  232. package/dist/chunks/{file-retention-2ymj8j9z.js → location-lifecycle-sza4v6bf.js} +8 -8
  233. package/dist/chunks/{file-retention-zwrdb9pw.js → location-lifecycle-t62pw5c1.js} +18 -18
  234. package/dist/chunks/{file-retention-a8skskqr.js → location-lifecycle-t95mj38p.js} +35 -35
  235. package/dist/chunks/{file-retention-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{file-retention-zafm009k.js → location-lifecycle-tbmkjjbj.js} +4 -4
  237. package/dist/chunks/{file-retention-g0wmaxy9.js → location-lifecycle-tcth2cmk.js} +27 -27
  238. package/dist/chunks/{file-retention-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
  239. package/dist/chunks/{file-retention-fda9q8n1.js → location-lifecycle-txk44qj0.js} +27 -27
  240. package/dist/chunks/{file-retention-3qhw393j.js → location-lifecycle-v5m63bep.js} +26 -26
  241. package/dist/chunks/{file-retention-j1akhw48.js → location-lifecycle-v6vkzzt1.js} +56 -56
  242. package/dist/chunks/{file-retention-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
  243. package/dist/chunks/{file-retention-pgp1nwjn.js → location-lifecycle-vfjhn2wd.js} +4 -4
  244. package/dist/chunks/{file-retention-hwgkyev7.js → location-lifecycle-vjm1nyv7.js} +10 -10
  245. package/dist/chunks/{file-retention-gdgxkkph.js → location-lifecycle-vtkehqnv.js} +16 -16
  246. package/dist/chunks/{file-retention-vzs5sf6e.js → location-lifecycle-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{file-retention-w1eejvng.js → location-lifecycle-w1eejvng.js} +1 -1
  248. package/dist/chunks/{file-retention-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{file-retention-5bvv5wt0.js → location-lifecycle-w4zz6nd0.js} +12 -12
  250. package/dist/chunks/{file-retention-hh66qvd1.js → location-lifecycle-w98pcy5g.js} +32 -32
  251. package/dist/chunks/{file-retention-dpw5yek7.js → location-lifecycle-wa0hznzt.js} +5 -5
  252. package/dist/chunks/{file-retention-mna3rst0.js → location-lifecycle-wa80y0bh.js} +11 -11
  253. package/dist/chunks/{file-retention-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
  254. package/dist/chunks/{file-retention-b3f8fkhc.js → location-lifecycle-wecqtg5s.js} +5 -5
  255. package/dist/chunks/{file-retention-vnn4j5gh.js → location-lifecycle-ws6ndszr.js} +9 -9
  256. package/dist/chunks/{file-retention-dhxjrn4z.js → location-lifecycle-wxc0khkc.js} +9 -9
  257. package/dist/chunks/{file-retention-x9qn77dj.js → location-lifecycle-wye7nvcy.js} +35 -35
  258. package/dist/chunks/{file-retention-1m3hxyx8.js → location-lifecycle-wysxdp34.js} +51 -51
  259. package/dist/chunks/{file-retention-dzyv9zyr.js → location-lifecycle-xc20pkzj.js} +11 -11
  260. package/dist/chunks/{file-retention-rf6cmkn1.js → location-lifecycle-xcmk6yw7.js} +11 -11
  261. package/dist/chunks/{file-retention-vczt2j2e.js → location-lifecycle-xj71rk50.js} +3 -3
  262. package/dist/chunks/{file-retention-5kw0n2ma.js → location-lifecycle-xs12am9p.js} +5 -5
  263. package/dist/chunks/{file-retention-4j03jpg8.js → location-lifecycle-y0c4c2h5.js} +3 -3
  264. package/dist/chunks/{file-retention-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{file-retention-sbc7xwzx.js → location-lifecycle-y3c20489.js} +39 -39
  266. package/dist/chunks/{file-retention-6dnjeqe6.js → location-lifecycle-y4a37d1e.js} +48 -52
  267. package/dist/chunks/{file-retention-he1kwnjy.js → location-lifecycle-yez4jscq.js} +24 -24
  268. package/dist/chunks/{file-retention-nncbtphf.js → location-lifecycle-yme16cyz.js} +28 -28
  269. package/dist/chunks/{file-retention-1f0b6d85.js → location-lifecycle-yrx1a3r0.js} +20 -20
  270. package/dist/chunks/{file-retention-750g53k3.js → location-lifecycle-ys0rdjsq.js} +34 -34
  271. package/dist/chunks/{file-retention-edexehs9.js → location-lifecycle-ytr85qwh.js} +26 -26
  272. package/dist/chunks/{file-retention-8h3wwz5z.js → location-lifecycle-yv3x7tkh.js} +8 -8
  273. package/dist/chunks/{file-retention-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{file-retention-2e6ycnq2.js → location-lifecycle-z7rvg8nx.js} +4 -4
  275. package/dist/chunks/{file-retention-5cyysqwj.js → location-lifecycle-ze9cz0xh.js} +22 -22
  276. package/dist/chunks/{file-retention-8rg5szvb.js → location-lifecycle-zfs8ae4p.js} +4 -4
  277. package/dist/chunks/{file-retention-9ye852qw.js → location-lifecycle-zfsa101a.js} +5 -5
  278. package/dist/chunks/{file-retention-mbf8d5kt.js → location-lifecycle-zmc286va.js} +12 -12
  279. package/dist/chunks/{file-retention-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{file-retention-gq1kxapj.js → location-lifecycle-ztne98yc.js} +22 -22
  281. package/dist/chunks/{file-retention-mxvxcxwy.js → location-lifecycle-zw2hpfmh.js} +4 -4
  282. package/dist/chunks/{file-retention-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{file-retention-phm79hns.js → location-lifecycle-zzk5q109.js} +13 -13
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +115 -115
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +83 -83
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +99 -99
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +11 -11
  421. package/dist/filesystem.js +100 -100
  422. package/dist/form.js +76 -76
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +1 -1
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +127 -127
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +98 -98
  473. package/dist/models-dev.js +101 -101
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +109 -109
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +88 -88
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +74 -74
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +1 -1
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -341
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +84 -84
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +6 -6
  546. package/dist/plugin/websearch/parallel.js +6 -6
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +4 -4
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +101 -101
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +97 -97
  557. package/dist/reference/instructions.js +87 -87
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +84 -84
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +118 -118
  585. package/dist/session/model-transport.js +7 -7
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +155 -155
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +213 -213
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +209 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +11 -11
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +2 -2
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +108 -108
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +114 -114
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +122 -122
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +105 -105
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +2 -2
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +84 -84
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +79 -79
  671. package/dist/workspace/driver.js +3 -3
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +76 -76
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/file-retention-08vhykfc.js +0 -253
  681. package/dist/chunks/file-retention-4hv31q0j.js +0 -507
  682. package/dist/chunks/file-retention-q509s3k3.js +0 -18
  683. package/dist/chunks/file-retention-qssvdjk7.js +0 -26
  684. /package/dist/chunks/{file-retention-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{file-retention-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{file-retention-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{file-retention-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{file-retention-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{file-retention-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{file-retention-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{file-retention-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{file-retention-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{file-retention-34c7v6d4.js → location-lifecycle-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{file-retention-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{file-retention-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
  696. /package/dist/chunks/{file-retention-3t0ybcrp.js → location-lifecycle-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{file-retention-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{file-retention-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{file-retention-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{file-retention-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{file-retention-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{file-retention-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{file-retention-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{file-retention-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
  705. /package/dist/chunks/{file-retention-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{file-retention-5qd3pb7m.js → location-lifecycle-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{file-retention-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
  708. /package/dist/chunks/{file-retention-6q2bdcd1.js → location-lifecycle-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{file-retention-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{file-retention-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{file-retention-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
  712. /package/dist/chunks/{file-retention-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{file-retention-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{file-retention-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{file-retention-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{file-retention-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{file-retention-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{file-retention-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{file-retention-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{file-retention-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{file-retention-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{file-retention-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{file-retention-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{file-retention-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{file-retention-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{file-retention-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{file-retention-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{file-retention-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{file-retention-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{file-retention-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
  731. /package/dist/chunks/{file-retention-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{file-retention-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{file-retention-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{file-retention-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{file-retention-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{file-retention-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{file-retention-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{file-retention-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{file-retention-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{file-retention-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{file-retention-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{file-retention-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{file-retention-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
  744. /package/dist/chunks/{file-retention-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{file-retention-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
  746. /package/dist/chunks/{file-retention-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
  747. /package/dist/chunks/{file-retention-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{file-retention-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{file-retention-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{file-retention-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{file-retention-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{file-retention-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{file-retention-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{file-retention-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{file-retention-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{file-retention-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{file-retention-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{file-retention-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{file-retention-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{file-retention-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{file-retention-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{file-retention-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{file-retention-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{file-retention-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{file-retention-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{file-retention-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{file-retention-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{file-retention-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{file-retention-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{file-retention-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{file-retention-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{file-retention-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{file-retention-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
  774. /package/dist/chunks/{file-retention-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{file-retention-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{file-retention-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{file-retention-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{file-retention-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{file-retention-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{file-retention-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./file-retention-ey8ksrh3.js";
2
+ Service80,
3
+ node84
4
+ } from "./location-lifecycle-mxbg3ygs.js";
5
5
  import {
6
6
  __export
7
- } from "./file-retention-9rqn6x4v.js";
7
+ } from "./location-lifecycle-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
@@ -12,22 +12,22 @@ __export(exports_location, {
12
12
  Info: () => Info26,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service78,
15
+ Service: () => Service79,
16
16
  boundNode: () => boundNode2,
17
- node: () => node82,
17
+ node: () => node83,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { Info as Info26, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service78 extends Context.Service()("@opencode/Location") {
24
+ class Service79 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node82 = LayerNode.unbound(Service78, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service78, Effect.gen(function* () {
28
- const project = yield* Service79;
26
+ var node83 = LayerNode.unbound(Service79, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
28
+ const project = yield* Service80;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service78.of({
30
+ return Service79.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service78, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service78,
38
+ service: Service79,
39
39
  layer: layer(ref),
40
- deps: [node83]
40
+ deps: [node84]
41
41
  });
42
42
 
43
- export { Info26, Ref4, response2, Service78, node82, boundNode2, exports_location };
43
+ export { Info26, Ref4, response2, Service79, node83, boundNode2, exports_location };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-retention-z5v4ffb3.js";
5
+ } from "./location-lifecycle-z5v4ffb3.js";
6
6
  import {
7
- Service76,
8
- node79
9
- } from "./file-retention-zz29563v.js";
7
+ Service77,
8
+ node80
9
+ } from "./location-lifecycle-dkbtsjnq.js";
10
10
  import {
11
11
  Content3
12
- } from "./file-retention-mv92nc0c.js";
12
+ } from "./location-lifecycle-531cyra5.js";
13
13
  import {
14
14
  detect2
15
- } from "./file-retention-3smtnn6g.js";
15
+ } from "./location-lifecycle-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./file-retention-9rqn6x4v.js";
18
+ } from "./location-lifecycle-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service6,
36
+ Service: () => Service12,
37
37
  TextPage: () => TextPage2,
38
- node: () => node8,
38
+ node: () => node14,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service6, Effect.gen(function* () {
334
- const environment = yield* Service76;
335
- return Service6.of({
333
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
334
+ const environment = yield* Service77;
335
+ return Service12.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node8 = makeLocationNode({ service: Service6, layer, deps: [node79] });
340
+ var node14 = makeLocationNode({ service: Service12, layer, deps: [node80] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node8, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID12,
2
+ ID7,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./file-retention-a8skskqr.js";
5
+ } from "./location-lifecycle-t95mj38p.js";
6
6
  import {
7
- ID7,
7
+ ID6,
8
8
  VariantID2,
9
9
  Family2,
10
10
  Info15
11
- } from "./file-retention-rjk8fnxb.js";
11
+ } from "./location-lifecycle-78cd284a.js";
12
12
  import {
13
13
  __export
14
- } from "./file-retention-9rqn6x4v.js";
14
+ } from "./location-lifecycle-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models2 = {};
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID7.make(id);
97
+ const key = ID6.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -119,10 +119,10 @@ function build(id, remote, baseURL, previous) {
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
121
  return Info15.make({
122
- ...Info15.default(ID12.githubCopilot, id),
122
+ ...Info15.default(ID7.githubCopilot, id),
123
123
  id,
124
- modelID: ID7.make(remote.id),
125
- providerID: ID12.githubCopilot,
124
+ modelID: ID6.make(remote.id),
125
+ providerID: ID7.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-retention-dpkg50ah.js";
3
+ } from "./location-lifecycle-nxm207yx.js";
4
4
  import {
5
+ Service83,
6
+ node87
7
+ } from "./location-lifecycle-2xmwdb14.js";
8
+ import {
9
+ Event21,
5
10
  Service82,
6
11
  node86
7
- } from "./file-retention-7jc2cdj1.js";
8
- import {
9
- Event18,
10
- Service71,
11
- node74
12
- } from "./file-retention-r6pqrcmr.js";
12
+ } from "./location-lifecycle-hbp9e5gh.js";
13
13
  import {
14
- Service78,
15
- node82
16
- } from "./file-retention-fa9q739j.js";
14
+ Service79,
15
+ node83
16
+ } from "./location-lifecycle-kcbhgjfd.js";
17
17
  import {
18
- Service76,
19
- node79
20
- } from "./file-retention-zz29563v.js";
18
+ Service77,
19
+ node80
20
+ } from "./location-lifecycle-dkbtsjnq.js";
21
21
  import {
22
- ID14,
22
+ ID13,
23
23
  Service70,
24
24
  node73
25
- } from "./file-retention-2ma8f05f.js";
25
+ } from "./location-lifecycle-3ex7axyr.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./file-retention-rdw6cm16.js";
29
+ } from "./location-lifecycle-rdw6cm16.js";
30
30
  import {
31
- ID13,
31
+ ID8,
32
32
  MethodID2,
33
- Service69,
34
- node72
35
- } from "./file-retention-ygrct2xs.js";
33
+ Service61,
34
+ node64
35
+ } from "./location-lifecycle-gd6d6gzq.js";
36
36
  import {
37
37
  __export
38
- } from "./file-retention-9rqn6x4v.js";
38
+ } from "./location-lifecycle-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service29,
52
+ Service: () => Service33,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured3,
56
- layer: () => layer11,
57
- node: () => node32
55
+ configured: () => configured4,
56
+ layer: () => layer15,
57
+ node: () => node36
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service29 extends Context.Service()("@opencode/MCP") {
106
+ class Service33 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options3 = Schema.Struct({
108
+ var Options4 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer11 = (options) => Layer.effect(Service29, Effect.gen(function* () {
115
- const location = yield* Service78;
116
- const environment = yield* Service76;
117
- const bus = yield* Service82;
114
+ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
115
+ const location = yield* Service79;
116
+ const environment = yield* Service77;
117
+ const bus = yield* Service83;
118
118
  const forms = yield* Service70;
119
- const integration = yield* Service69;
120
- const credentials = yield* Service71;
119
+ const integration = yield* Service61;
120
+ const credentials = yield* Service82;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer11 = (options) => Layer.effect(Service29, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID13.make(suffix);
132
+ const integrationID = ID8.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer11 = (options) => Layer.effect(Service29, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service71, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service82, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,19 +154,19 @@ var layer11 = (options) => Layer.effect(Service29, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError3({ server: name });
157
+ return yield* new NotFoundError4({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service71, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service82, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID14.create();
169
+ const formID = ID13.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer11 = (options) => Layer.effect(Service29, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service76, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service77, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer11 = (options) => Layer.effect(Service29, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer11 = (options) => Layer.effect(Service29, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service29.of({
423
+ return Service33.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured3(options) {
533
+ function configured4(options) {
534
534
  return makeLocationNode({
535
- service: Service29,
536
- layer: layer11(options),
537
- deps: [node82, node79, node86, node73, node72, node74]
535
+ service: Service33,
536
+ layer: layer15(options),
537
+ deps: [node83, node80, node87, node73, node64, node86]
538
538
  });
539
539
  }
540
- var node32 = configured3();
540
+ var node36 = configured4();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service29, Options3, layer11, configured3, node32, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service33, Options4, layer15, configured4, node36, exports_mcp4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./file-retention-emrn6kk6.js";
7
+ } from "./location-lifecycle-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./file-retention-7jc2cdj1.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-lifecycle-2xmwdb14.js";
5
5
  import {
6
6
  environment2
7
- } from "./file-retention-myekv2e1.js";
7
+ } from "./location-lifecycle-jnzzg47p.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./file-retention-3t0ybcrp.js";
10
+ } from "./location-lifecycle-3t0ybcrp.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./location-lifecycle-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError5,
20
- Options: () => Options8,
19
+ NotFoundError: () => NotFoundError2,
20
+ Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service61,
22
+ Service: () => Service18,
23
23
  UnavailableError: () => UnavailableError3,
24
- available: () => available3,
25
- configured: () => configured8,
26
- layer: () => layer22,
27
- node: () => node64
24
+ available: () => available2,
25
+ configured: () => configured3,
26
+ layer: () => layer10,
27
+ node: () => node21
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -35,8 +35,8 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- import { available as available3 } from "#persistent-pty-binary";
39
- var Options8 = Schema.Struct({
38
+ import { available as available2 } from "#persistent-pty-binary";
39
+ var Options3 = Schema.Struct({
40
40
  handoff: Schema.optional(Handoff),
41
41
  root: Schema.optional(Schema.String)
42
42
  });
@@ -46,15 +46,15 @@ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableE
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
+ class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
50
50
  ptyID: Pty.ID
51
51
  }) {
52
52
  }
53
53
 
54
- class Service61 extends Context.Service()("@opencode/PersistentPty") {
54
+ class Service18 extends Context.Service()("@opencode/PersistentPty") {
55
55
  }
56
- var makeLayer = (options = {}) => Layer.effect(Service61, Effect.gen(function* () {
57
- const bus = yield* Service82;
56
+ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* () {
57
+ const bus = yield* Service83;
58
58
  const global = yield* Global.Service;
59
59
  const context = yield* Effect.context();
60
60
  const runFork = Effect.runForkWith(context);
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service61, Effect.gen(function* (
76
76
  const get = Effect.fn("PersistentPty.get")(function* (id) {
77
77
  const found = (yield* list()).find((terminal) => terminal.id === id);
78
78
  if (!found)
79
- return yield* new NotFoundError5({ ptyID: id });
79
+ return yield* new NotFoundError2({ ptyID: id });
80
80
  return found;
81
81
  });
82
82
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service61, Effect.gen(function* (
243
243
  detach: attachment.detach
244
244
  };
245
245
  });
246
- return Service61.of({
246
+ return Service18.of({
247
247
  list,
248
248
  get,
249
249
  create,
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service61, Effect.gen(function* (
259
259
  attach
260
260
  });
261
261
  }));
262
- var layer22 = makeLayer();
263
- var configured8 = (options) => makeGlobalNode({
264
- service: Service61,
265
- layer: options === undefined ? layer22 : makeLayer(options),
266
- deps: [node86, Global.node]
262
+ var layer10 = makeLayer();
263
+ var configured3 = (options) => makeGlobalNode({
264
+ service: Service18,
265
+ layer: options === undefined ? layer10 : makeLayer(options),
266
+ deps: [node87, Global.node]
267
267
  });
268
- var node64 = configured8();
268
+ var node21 = configured3();
269
269
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
270
270
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
271
271
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options8, UnavailableError3, NotFoundError5, Service61, layer22, configured8, node64, exports_persistent_pty, Handoff2, available3 };
304
+ export { Options3, UnavailableError3, NotFoundError2, Service18, layer10, configured3, node21, exports_persistent_pty, Handoff2, available2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-a1ekkk6g.js";
3
+ } from "./location-lifecycle-sz15h4sp.js";
4
4
  import {
5
5
  call2
6
- } from "./file-retention-33w4ejhs.js";
6
+ } from "./location-lifecycle-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./location-lifecycle-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin17,
14
+ Plugin: () => Plugin24,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint3
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin17 = define({
40
+ var Plugin24 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin17 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin17 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint3, Plugin17, exports_firecrawl };
80
+ export { endpoint4, Plugin24, exports_firecrawl };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./file-retention-3v8g72cx.js";
3
+ } from "./location-lifecycle-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./location-lifecycle-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_BYTES3,
12
- WebSearchMcp: () => exports_mcp,
9
+ var exports_mcp2 = {};
10
+ __export(exports_mcp2, {
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
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_BYTES3 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES2 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.scoped, Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
64
+ export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };