@opencode/core 0.0.0-dev-19774 → 0.0.0-dev-19775

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{file-mutation-nng2ktcm.js → location-lifecycle-042q83f5.js} +2 -2
  8. package/dist/chunks/{file-mutation-x2gr69vr.js → location-lifecycle-0m545p7q.js} +9 -9
  9. package/dist/chunks/location-lifecycle-0mesazry.js +4 -0
  10. package/dist/chunks/{file-mutation-paqyj2en.js → location-lifecycle-0p85d2b5.js} +15 -15
  11. package/dist/chunks/{file-mutation-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{file-mutation-0q0f95c6.js → location-lifecycle-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{file-mutation-ysw9y8px.js → location-lifecycle-0qfptt5k.js} +33 -33
  14. package/dist/chunks/{file-mutation-4vtzzjzy.js → location-lifecycle-0t2p0s6x.js} +35 -35
  15. package/dist/chunks/{file-mutation-zy95xavh.js → location-lifecycle-0vweymcq.js} +21 -21
  16. package/dist/chunks/{file-mutation-5x4r9t6b.js → location-lifecycle-18sy4pmj.js} +8 -8
  17. package/dist/chunks/{file-mutation-jfqtm2ew.js → location-lifecycle-19vf66h0.js} +4 -4
  18. package/dist/chunks/{file-mutation-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{file-mutation-fwr1nb5p.js → location-lifecycle-1n6mrg39.js} +24 -24
  20. package/dist/chunks/{file-mutation-waay8jvx.js → location-lifecycle-1yzkmr49.js} +24 -24
  21. package/dist/chunks/{file-mutation-21r38tys.js → location-lifecycle-21r38tys.js} +1 -1
  22. package/dist/chunks/{file-mutation-x8tgrdy7.js → location-lifecycle-2359sbzh.js} +13 -13
  23. package/dist/chunks/{file-mutation-6h73sxmp.js → location-lifecycle-2402vzrj.js} +5 -5
  24. package/dist/chunks/location-lifecycle-26hpxw0m.js +252 -0
  25. package/dist/chunks/{file-mutation-kf7mt0f8.js → location-lifecycle-27bvgpry.js} +18 -18
  26. package/dist/chunks/{file-mutation-3cdqy5gs.js → location-lifecycle-2919v7f8.js} +6 -6
  27. package/dist/chunks/{file-mutation-29x78va6.js → location-lifecycle-29x78va6.js} +2 -2
  28. package/dist/chunks/{file-mutation-26zn0zdd.js → location-lifecycle-2a1p58y4.js} +22 -22
  29. package/dist/chunks/{file-mutation-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{file-mutation-y7gfa8qa.js → location-lifecycle-2e6tr95n.js} +15 -15
  31. package/dist/chunks/{file-mutation-9zsbca5k.js → location-lifecycle-2n8ex6wt.js} +48 -48
  32. package/dist/chunks/{file-mutation-56gdpj1q.js → location-lifecycle-33w4ejhs.js} +6 -6
  33. package/dist/chunks/{file-mutation-kjyymkn6.js → location-lifecycle-3702ncx3.js} +11 -11
  34. package/dist/chunks/{file-mutation-5xv3dz3w.js → location-lifecycle-37ee5xtk.js} +91 -91
  35. package/dist/chunks/{file-mutation-ebqbjk3w.js → location-lifecycle-39fbdg6v.js} +23 -23
  36. package/dist/chunks/{file-mutation-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{file-mutation-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{file-mutation-18xb591f.js → location-lifecycle-3nssxx48.js} +7 -7
  39. package/dist/chunks/{file-mutation-1b5j2nkr.js → location-lifecycle-3nztwa7f.js} +3 -3
  40. package/dist/chunks/{file-mutation-b8kkksp1.js → location-lifecycle-3qsm2re4.js} +18 -18
  41. package/dist/chunks/{file-mutation-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{file-mutation-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{file-mutation-2qp6y8xf.js → location-lifecycle-3w2b2yj4.js} +5 -5
  44. package/dist/chunks/{file-mutation-32h20yfr.js → location-lifecycle-47cy0djt.js} +1 -1
  45. package/dist/chunks/{file-mutation-bs0e8e65.js → location-lifecycle-488ecjmm.js} +1 -1
  46. package/dist/chunks/{file-mutation-9q2n6mg9.js → location-lifecycle-4b2v48k8.js} +17 -17
  47. package/dist/chunks/{file-mutation-sc7wv7tt.js → location-lifecycle-4faaayh9.js} +13 -13
  48. package/dist/chunks/{file-mutation-g0p5jsxc.js → location-lifecycle-4grhrwhs.js} +30 -30
  49. package/dist/chunks/{file-mutation-cgegp93j.js → location-lifecycle-4m9w2phg.js} +18 -18
  50. package/dist/chunks/{file-mutation-g2kefdbs.js → location-lifecycle-4mrjq53b.js} +32 -32
  51. package/dist/chunks/{file-mutation-fwrss4ad.js → location-lifecycle-4y9pqhyv.js} +4 -4
  52. package/dist/chunks/{file-mutation-aamtrqep.js → location-lifecycle-57ez7d0k.js} +9 -9
  53. package/dist/chunks/{file-mutation-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
  54. package/dist/chunks/{file-mutation-xkredtp8.js → location-lifecycle-5hb63z90.js} +15 -15
  55. package/dist/chunks/{file-mutation-jkk2smcb.js → location-lifecycle-5jch67cs.js} +16 -16
  56. package/dist/chunks/{file-mutation-9t5hjfj5.js → location-lifecycle-5kj4kk34.js} +16 -16
  57. package/dist/chunks/{file-mutation-36ysvq8r.js → location-lifecycle-5m2thc3h.js} +15 -15
  58. package/dist/chunks/{file-mutation-fpz52p8q.js → location-lifecycle-5mgfe4rs.js} +2 -2
  59. package/dist/chunks/{file-mutation-fxfyjszp.js → location-lifecycle-5rx1en03.js} +13 -13
  60. package/dist/chunks/{file-mutation-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{file-mutation-metngcsb.js → location-lifecycle-5v63wf0e.js} +27 -27
  62. package/dist/chunks/{file-mutation-669tq793.js → location-lifecycle-669tq793.js} +1 -1
  63. package/dist/chunks/{file-mutation-6msgmcgs.js → location-lifecycle-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{file-mutation-64kphnzf.js → location-lifecycle-6p3xbzsx.js} +4 -4
  65. package/dist/chunks/{file-mutation-2tnvdx3z.js → location-lifecycle-75251nmg.js} +165 -165
  66. package/dist/chunks/{file-mutation-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{file-mutation-7dqw4kz8.js → location-lifecycle-7dqw4kz8.js} +1 -1
  68. package/dist/chunks/{file-mutation-n0pywpq4.js → location-lifecycle-7gcp8pkf.js} +6 -6
  69. package/dist/chunks/{file-mutation-hrhrsrxp.js → location-lifecycle-7kne1rr3.js} +32 -32
  70. package/dist/chunks/{file-mutation-tpwrm9yt.js → location-lifecycle-7pzbss7r.js} +46 -46
  71. package/dist/chunks/{file-mutation-4hsrte5k.js → location-lifecycle-7s6533aw.js} +27 -27
  72. package/dist/chunks/{file-mutation-81tbvkms.js → location-lifecycle-7wacmsvk.js} +15 -15
  73. package/dist/chunks/{file-mutation-y8m9m17y.js → location-lifecycle-88z22xyb.js} +24 -24
  74. package/dist/chunks/{file-mutation-7bx1sn78.js → location-lifecycle-8bkef4w4.js} +18 -18
  75. package/dist/chunks/{file-mutation-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
  76. package/dist/chunks/{file-mutation-dct99a2c.js → location-lifecycle-8f6k85bw.js} +1 -1
  77. package/dist/chunks/{file-mutation-8p4f9s12.js → location-lifecycle-8p4f9s12.js} +2 -2
  78. package/dist/chunks/{file-mutation-3rqkssp8.js → location-lifecycle-8rrp4d6h.js} +6 -6
  79. package/dist/chunks/{file-mutation-rtathh62.js → location-lifecycle-90p59b3a.js} +5 -5
  80. package/dist/chunks/{file-mutation-8aaqm6qj.js → location-lifecycle-97w5rk9e.js} +8 -8
  81. package/dist/chunks/{file-mutation-21s87zpc.js → location-lifecycle-9gksjqwg.js} +21 -21
  82. package/dist/chunks/{file-mutation-bszv4pr1.js → location-lifecycle-9k9p9g57.js} +26 -26
  83. package/dist/chunks/{file-mutation-v9s3adxq.js → location-lifecycle-9snyxm1r.js} +3 -3
  84. package/dist/chunks/{file-mutation-8cx2cchs.js → location-lifecycle-9vzyn289.js} +30 -30
  85. package/dist/chunks/{file-mutation-fe107s36.js → location-lifecycle-9yhet4f0.js} +27 -27
  86. package/dist/chunks/{file-mutation-a1bz86dw.js → location-lifecycle-a1bz86dw.js} +3 -3
  87. package/dist/chunks/{file-mutation-vb222jev.js → location-lifecycle-a1r6gdc1.js} +67 -67
  88. package/dist/chunks/{file-mutation-96tqna7g.js → location-lifecycle-a5d13p60.js} +13 -13
  89. package/dist/chunks/{file-mutation-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
  90. package/dist/chunks/{file-mutation-h03rnsfd.js → location-lifecycle-abxf3pnh.js} +47 -47
  91. package/dist/chunks/{file-mutation-cfwkp8ke.js → location-lifecycle-am60j996.js} +8 -8
  92. package/dist/chunks/{file-mutation-0a8rb6zk.js → location-lifecycle-anpxnxga.js} +8 -8
  93. package/dist/chunks/{file-mutation-txr16vfg.js → location-lifecycle-apasb5kv.js} +26 -26
  94. package/dist/chunks/{file-mutation-59bsrgj4.js → location-lifecycle-ars4a9nd.js} +35 -35
  95. package/dist/chunks/{file-mutation-zfvm8rtc.js → location-lifecycle-b648f3a2.js} +6 -6
  96. package/dist/chunks/{file-mutation-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
  97. package/dist/chunks/{file-mutation-m32fe6rj.js → location-lifecycle-b7wa81tp.js} +11 -11
  98. package/dist/chunks/{file-mutation-x90w03rt.js → location-lifecycle-b9gzvhds.js} +32 -32
  99. package/dist/chunks/{file-mutation-3j8sdtpz.js → location-lifecycle-bf0ztrs3.js} +4 -4
  100. package/dist/chunks/{file-mutation-q8qgrk48.js → location-lifecycle-bn6s17cs.js} +36 -36
  101. package/dist/chunks/{file-mutation-672tdqna.js → location-lifecycle-brx3w182.js} +33 -33
  102. package/dist/chunks/{file-mutation-jeybges7.js → location-lifecycle-byr3fygr.js} +4 -4
  103. package/dist/chunks/{file-mutation-p9qdtawc.js → location-lifecycle-c447jeeg.js} +24 -24
  104. package/dist/chunks/{file-mutation-6y0m54vs.js → location-lifecycle-c5gqad7k.js} +17 -17
  105. package/dist/chunks/{file-mutation-b1paggmv.js → location-lifecycle-c7kw5n00.js} +47 -47
  106. package/dist/chunks/{file-mutation-cfpkc3c9.js → location-lifecycle-cfpkc3c9.js} +2 -2
  107. package/dist/chunks/{file-mutation-xpr3mqf5.js → location-lifecycle-cvgayg76.js} +11 -11
  108. package/dist/chunks/{file-mutation-d4he2qe1.js → location-lifecycle-cwa6csj7.js} +9 -9
  109. package/dist/chunks/{file-mutation-n436hdn0.js → location-lifecycle-d0kq6bcs.js} +16 -16
  110. package/dist/chunks/{file-mutation-h2mtz7rf.js → location-lifecycle-d8ner1vk.js} +19 -19
  111. package/dist/chunks/{file-mutation-gsp24vdq.js → location-lifecycle-day6310d.js} +20 -20
  112. package/dist/chunks/{file-mutation-h53tpazp.js → location-lifecycle-db54agdm.js} +12 -12
  113. package/dist/chunks/{file-mutation-kne8f3cn.js → location-lifecycle-ddt2bs9e.js} +4 -4
  114. package/dist/chunks/{file-mutation-ftfm72kd.js → location-lifecycle-dnavak78.js} +8 -8
  115. package/dist/chunks/{file-mutation-y71avatq.js → location-lifecycle-dpkg50ah.js} +4 -4
  116. package/dist/chunks/{file-mutation-xfkkasph.js → location-lifecycle-drwq78ky.js} +4 -4
  117. package/dist/chunks/{file-mutation-br0tr5aq.js → location-lifecycle-dv1qgsyq.js} +8 -8
  118. package/dist/chunks/{file-mutation-0svbgh5c.js → location-lifecycle-dwtvkfdb.js} +43 -43
  119. package/dist/chunks/{file-mutation-tgkhkf8q.js → location-lifecycle-e6yt117e.js} +8 -8
  120. package/dist/chunks/{file-mutation-gxzpt4bf.js → location-lifecycle-e7hvxrxc.js} +5 -5
  121. package/dist/chunks/location-lifecycle-e804n02b.js +65 -0
  122. package/dist/chunks/{file-mutation-73k5nevg.js → location-lifecycle-e89vbeg8.js} +32 -32
  123. package/dist/chunks/{file-mutation-sr3kag3a.js → location-lifecycle-eakwe6db.js} +23 -23
  124. package/dist/chunks/{file-mutation-x12g5k71.js → location-lifecycle-ee8fp9pb.js} +2 -2
  125. package/dist/chunks/{file-mutation-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{file-mutation-mzrbxmyd.js → location-lifecycle-en0bd26m.js} +8 -8
  127. package/dist/chunks/{file-mutation-mvfsc1pv.js → location-lifecycle-eq1pz5kg.js} +3 -3
  128. package/dist/chunks/{file-mutation-998pkbc5.js → location-lifecycle-erf1z1aw.js} +20 -20
  129. package/dist/chunks/{file-mutation-erw5rpbs.js → location-lifecycle-erw5rpbs.js} +2 -2
  130. package/dist/chunks/{file-mutation-744d2y49.js → location-lifecycle-erx1ymvz.js} +13 -13
  131. package/dist/chunks/{file-mutation-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{file-mutation-7sqbmk8k.js → location-lifecycle-f67z0p6b.js} +32 -32
  133. package/dist/chunks/{file-mutation-f828m53h.js → location-lifecycle-f828m53h.js} +2 -2
  134. package/dist/chunks/{file-mutation-8qspac1s.js → location-lifecycle-fe13djvq.js} +26 -26
  135. package/dist/chunks/{file-mutation-pnv527nz.js → location-lifecycle-fhs97t90.js} +9 -9
  136. package/dist/chunks/{file-mutation-cf3tj770.js → location-lifecycle-fjvydvzm.js} +4 -4
  137. package/dist/chunks/{file-mutation-44ke2mar.js → location-lifecycle-fkjmw100.js} +6 -6
  138. package/dist/chunks/{file-mutation-7000hrfc.js → location-lifecycle-fv6axbdc.js} +8 -8
  139. package/dist/chunks/{file-mutation-7yqjxrmz.js → location-lifecycle-fvanntqq.js} +4 -4
  140. package/dist/chunks/{file-mutation-qpbktacs.js → location-lifecycle-fvgp010w.js} +6 -6
  141. package/dist/chunks/{file-mutation-hnr5yq9h.js → location-lifecycle-fvsyg6qk.js} +5 -5
  142. package/dist/chunks/{file-mutation-fxbjtjnd.js → location-lifecycle-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{file-mutation-337ej1cd.js → location-lifecycle-fy4nfvq6.js} +5 -5
  144. package/dist/chunks/{file-mutation-gdsttb99.js → location-lifecycle-g85jzhcq.js} +4 -4
  145. package/dist/chunks/{file-mutation-kn475exs.js → location-lifecycle-g9d4q01g.js} +11 -11
  146. package/dist/chunks/{file-mutation-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{file-mutation-9s4fnnwx.js → location-lifecycle-grjhnehy.js} +16 -16
  148. package/dist/chunks/{file-mutation-gv6a8nnw.js → location-lifecycle-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{file-mutation-sy5npsvs.js → location-lifecycle-gzgsw2w2.js} +23 -23
  150. package/dist/chunks/{file-mutation-h6r3nrb9.js → location-lifecycle-h6r3nrb9.js} +1 -1
  151. package/dist/chunks/{file-mutation-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{file-mutation-b8rp9x54.js → location-lifecycle-hafpya9j.js} +16 -16
  153. package/dist/chunks/{file-mutation-vkxpz7g2.js → location-lifecycle-hc7n3jk5.js} +4 -4
  154. package/dist/chunks/{file-mutation-b52awwxw.js → location-lifecycle-hcwqpyvc.js} +14 -14
  155. package/dist/chunks/{file-mutation-a58czpns.js → location-lifecycle-hj6d10w0.js} +17 -17
  156. package/dist/chunks/location-lifecycle-ht5y0zrb.js +18 -0
  157. package/dist/chunks/{file-mutation-9d52tmdm.js → location-lifecycle-j33757dq.js} +10 -10
  158. package/dist/chunks/{file-mutation-kfnrrrna.js → location-lifecycle-j4jgwbxy.js} +5 -5
  159. package/dist/chunks/{file-mutation-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
  160. package/dist/chunks/{file-mutation-wy8b5sm2.js → location-lifecycle-j5786zrt.js} +1 -1
  161. package/dist/chunks/{file-mutation-qpgdq3j5.js → location-lifecycle-j5djgq14.js} +20 -20
  162. package/dist/chunks/{file-mutation-6reav88k.js → location-lifecycle-jfktk5f2.js} +28 -28
  163. package/dist/chunks/{file-mutation-xnahtpae.js → location-lifecycle-jgn59k9q.js} +12 -12
  164. package/dist/chunks/{file-mutation-bh6093r6.js → location-lifecycle-jjng5k39.js} +38 -38
  165. package/dist/chunks/{file-mutation-pw3xx31k.js → location-lifecycle-jqccg9bw.js} +5 -5
  166. package/dist/chunks/{file-mutation-7bhykvjv.js → location-lifecycle-jxcmjcy4.js} +32 -32
  167. package/dist/chunks/{file-mutation-0md6znfh.js → location-lifecycle-k0km23p1.js} +6 -6
  168. package/dist/chunks/{file-mutation-k3c624dm.js → location-lifecycle-k3c624dm.js} +3 -3
  169. package/dist/chunks/{file-mutation-9ejexxwn.js → location-lifecycle-k9fj1e0n.js} +24 -24
  170. package/dist/chunks/{file-mutation-89zh9079.js → location-lifecycle-kamc54jj.js} +41 -41
  171. package/dist/chunks/{file-mutation-ksnwa2zv.js → location-lifecycle-keaxt39w.js} +11 -11
  172. package/dist/chunks/{file-mutation-ypp9m475.js → location-lifecycle-kgs94606.js} +40 -40
  173. package/dist/chunks/{file-mutation-2pnhn36q.js → location-lifecycle-kk00bynn.js} +4 -4
  174. package/dist/chunks/{file-mutation-s4q94gyy.js → location-lifecycle-kn58mc9c.js} +13 -13
  175. package/dist/chunks/{file-mutation-evz86p9p.js → location-lifecycle-kvbgbx56.js} +14 -14
  176. package/dist/chunks/{file-mutation-jewzahs7.js → location-lifecycle-kzc3h1h3.js} +4 -4
  177. package/dist/chunks/{file-mutation-rkdvqggb.js → location-lifecycle-kzdcqyn1.js} +5 -5
  178. package/dist/chunks/{file-mutation-wdpm5xyv.js → location-lifecycle-m3dzp4pc.js} +18 -18
  179. package/dist/chunks/{file-mutation-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{file-mutation-vmctfggj.js → location-lifecycle-m7q6macq.js} +13 -13
  181. package/dist/chunks/{file-mutation-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{file-mutation-he62sb3p.js → location-lifecycle-mg0hvqns.js} +18 -18
  183. package/dist/chunks/{file-mutation-gb26m6rq.js → location-lifecycle-mtcwhrrs.js} +29 -29
  184. package/dist/chunks/{file-mutation-2xn06zhq.js → location-lifecycle-n6kjjvst.js} +19 -19
  185. package/dist/chunks/{file-mutation-ckvaaqnr.js → location-lifecycle-neggjd8m.js} +18 -18
  186. package/dist/chunks/{file-mutation-6qdm2rsa.js → location-lifecycle-nj9ssgdn.js} +16 -16
  187. package/dist/chunks/{file-mutation-9yrzyr7j.js → location-lifecycle-nzh7nt0x.js} +18 -18
  188. package/dist/chunks/{file-mutation-2qfmjqcy.js → location-lifecycle-p5r4g375.js} +9 -9
  189. package/dist/chunks/{file-mutation-mx9vqzsb.js → location-lifecycle-p7a39gy5.js} +6 -6
  190. package/dist/chunks/location-lifecycle-pe3634vc.js +26 -0
  191. package/dist/chunks/{file-mutation-pex2dkp7.js → location-lifecycle-pgkynvr1.js} +29 -29
  192. package/dist/chunks/{file-mutation-cekd2vsf.js → location-lifecycle-phrncyc5.js} +28 -28
  193. package/dist/chunks/{file-mutation-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{file-mutation-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
  195. package/dist/chunks/{file-mutation-267zfkt7.js → location-lifecycle-pkvdgekh.js} +22 -22
  196. package/dist/chunks/{file-mutation-xwv6rqmk.js → location-lifecycle-ppgtt6fv.js} +3 -3
  197. package/dist/chunks/{file-mutation-h78m9h9q.js → location-lifecycle-pryfatb2.js} +6 -6
  198. package/dist/chunks/{file-mutation-jh7y3ak4.js → location-lifecycle-pxr7vr2f.js} +3 -3
  199. package/dist/chunks/{file-mutation-vynmvp9h.js → location-lifecycle-q0raz0xt.js} +9 -9
  200. package/dist/chunks/{file-mutation-k16pevg1.js → location-lifecycle-q58r1q90.js} +8 -8
  201. package/dist/chunks/{file-mutation-yw8t9dwe.js → location-lifecycle-qby9dwvd.js} +8 -8
  202. package/dist/chunks/{file-mutation-3zbb0e4x.js → location-lifecycle-qek8dtx8.js} +14 -14
  203. package/dist/chunks/{file-mutation-daq2e3zz.js → location-lifecycle-qmz5hgkz.js} +4 -4
  204. package/dist/chunks/{file-mutation-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
  205. package/dist/chunks/{file-mutation-7w99qc9d.js → location-lifecycle-qsee9sfb.js} +2 -2
  206. package/dist/chunks/{file-mutation-p2e22hpe.js → location-lifecycle-qx8yq4hs.js} +9 -9
  207. package/dist/chunks/{file-mutation-sxhyyss9.js → location-lifecycle-qyppsvy7.js} +47 -47
  208. package/dist/chunks/{file-mutation-rg5hq0wm.js → location-lifecycle-qys7d30g.js} +13 -13
  209. package/dist/chunks/{file-mutation-0ehxtnnz.js → location-lifecycle-r0vfb6s8.js} +26 -26
  210. package/dist/chunks/{file-mutation-8ae46srb.js → location-lifecycle-r8074hfk.js} +22 -22
  211. package/dist/chunks/{file-mutation-z59eg471.js → location-lifecycle-rcsbpktc.js} +9 -9
  212. package/dist/chunks/{file-mutation-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{file-mutation-b5a5chs4.js → location-lifecycle-rfyy2fbp.js} +8 -8
  214. package/dist/chunks/{file-mutation-a0wtmgep.js → location-lifecycle-rgw6bvjh.js} +9 -9
  215. package/dist/chunks/{file-mutation-0kpaqnhp.js → location-lifecycle-rh8waqx1.js} +9 -9
  216. package/dist/chunks/{file-mutation-0gdmqesm.js → location-lifecycle-rhjbct0v.js} +4 -4
  217. package/dist/chunks/{file-mutation-f6kbfvjt.js → location-lifecycle-rkdqx70x.js} +12 -12
  218. package/dist/chunks/{file-mutation-8tjk8105.js → location-lifecycle-rxq1rw6x.js} +1 -1
  219. package/dist/chunks/{file-mutation-s4enseaf.js → location-lifecycle-s4enseaf.js} +2 -2
  220. package/dist/chunks/{file-mutation-y9vy3w1f.js → location-lifecycle-s6kv65ar.js} +41 -41
  221. package/dist/chunks/{file-mutation-qfv53cem.js → location-lifecycle-sdsxhjm1.js} +22 -22
  222. package/dist/chunks/{file-mutation-v5a2m05x.js → location-lifecycle-sewjnrgk.js} +9 -9
  223. package/dist/chunks/{file-mutation-n53jc5f0.js → location-lifecycle-sfsanhkm.js} +7 -7
  224. package/dist/chunks/{file-mutation-dq0f4b6t.js → location-lifecycle-sgnqmrx9.js} +8 -8
  225. package/dist/chunks/{file-mutation-nxhqveyz.js → location-lifecycle-sra9araw.js} +5 -5
  226. package/dist/chunks/{file-mutation-e4gqq6ma.js → location-lifecycle-sv6xjb0f.js} +25 -25
  227. package/dist/chunks/{file-mutation-82wb5vjr.js → location-lifecycle-sy0y93sa.js} +14 -14
  228. package/dist/chunks/{file-mutation-ppd28z9t.js → location-lifecycle-t6rnktzk.js} +9 -9
  229. package/dist/chunks/{file-mutation-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{file-mutation-p28j5sbe.js → location-lifecycle-tbz0fdvh.js} +5 -5
  231. package/dist/chunks/{file-mutation-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{file-mutation-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
  233. package/dist/chunks/{file-mutation-rg9jxnrj.js → location-lifecycle-tjbwrg3m.js} +4 -4
  234. package/dist/chunks/{file-mutation-sqmfwgs3.js → location-lifecycle-ts8nkrqx.js} +23 -23
  235. package/dist/chunks/{file-mutation-tvtrv512.js → location-lifecycle-tvtrv512.js} +1 -1
  236. package/dist/chunks/{file-mutation-aw4er02a.js → location-lifecycle-v0zfhqw3.js} +17 -17
  237. package/dist/chunks/location-lifecycle-v699prpt.js +478 -0
  238. package/dist/chunks/{file-mutation-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
  239. package/dist/chunks/{file-mutation-c8mrj3kp.js → location-lifecycle-vj3k5gd6.js} +60 -60
  240. package/dist/chunks/{file-mutation-9ybrs273.js → location-lifecycle-vk2qvkq3.js} +14 -14
  241. package/dist/chunks/{file-mutation-x6f9vzrq.js → location-lifecycle-vqrz25dp.js} +15 -15
  242. package/dist/chunks/{file-mutation-d0gb447e.js → location-lifecycle-vvb19s65.js} +26 -26
  243. package/dist/chunks/{file-mutation-pdb8ga4w.js → location-lifecycle-vyp5mzt3.js} +12 -12
  244. package/dist/chunks/{file-mutation-zyr433b0.js → location-lifecycle-vyrd71eq.js} +8 -8
  245. package/dist/chunks/{file-mutation-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{file-mutation-thp2m506.js → location-lifecycle-w1hvpvz2.js} +11 -11
  247. package/dist/chunks/{file-mutation-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{file-mutation-xj4hsedh.js → location-lifecycle-w40pnpej.js} +11 -11
  249. package/dist/chunks/{file-mutation-rs8v52yx.js → location-lifecycle-w7954qpa.js} +1 -1
  250. package/dist/chunks/{file-mutation-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
  251. package/dist/chunks/{file-mutation-cmq3w01w.js → location-lifecycle-wjvzynk3.js} +15 -15
  252. package/dist/chunks/{file-mutation-a0whw9jd.js → location-lifecycle-wk77qrbw.js} +11 -11
  253. package/dist/chunks/{file-mutation-gmrkgfhq.js → location-lifecycle-wrh74t2j.js} +16 -16
  254. package/dist/chunks/{file-mutation-bcbe7qcx.js → location-lifecycle-wsp0kw9y.js} +11 -11
  255. package/dist/chunks/{file-mutation-87z6e93s.js → location-lifecycle-wtcwnkvw.js} +30 -30
  256. package/dist/chunks/{file-mutation-16ykham6.js → location-lifecycle-wwmey332.js} +11 -11
  257. package/dist/chunks/{file-mutation-av0n72pr.js → location-lifecycle-wy609sy0.js} +22 -22
  258. package/dist/chunks/{file-mutation-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{file-mutation-y0jwsk5r.js → location-lifecycle-xdsa205k.js} +14 -14
  260. package/dist/chunks/{file-mutation-pn0bg5pg.js → location-lifecycle-xgmv817t.js} +90 -90
  261. package/dist/chunks/{file-mutation-6tegjpz6.js → location-lifecycle-xn1s65b5.js} +9 -9
  262. package/dist/chunks/{file-mutation-prbe7swn.js → location-lifecycle-xncbf6ay.js} +5 -5
  263. package/dist/chunks/{file-mutation-1btxqys4.js → location-lifecycle-xprfz8hm.js} +4 -4
  264. package/dist/chunks/{file-mutation-thyqgksr.js → location-lifecycle-xsd6aqt0.js} +10 -10
  265. package/dist/chunks/{file-mutation-ec8389mk.js → location-lifecycle-xwwz9aqf.js} +4 -4
  266. package/dist/chunks/{file-mutation-6mn82bpr.js → location-lifecycle-xy7zkf14.js} +8 -8
  267. package/dist/chunks/{file-mutation-608s2005.js → location-lifecycle-xymwp6jy.js} +30 -30
  268. package/dist/chunks/{file-mutation-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{file-mutation-jrq0rrs9.js → location-lifecycle-y563cxrh.js} +5 -5
  270. package/dist/chunks/{file-mutation-b0dgvpy7.js → location-lifecycle-y56ehv6b.js} +9 -9
  271. package/dist/chunks/{file-mutation-x66hh719.js → location-lifecycle-y7hyc544.js} +15 -15
  272. package/dist/chunks/{file-mutation-9vw038cm.js → location-lifecycle-yb62w462.js} +24 -24
  273. package/dist/chunks/{file-mutation-yp2x3t23.js → location-lifecycle-yp2x3t23.js} +1 -1
  274. package/dist/chunks/{file-mutation-920tyraz.js → location-lifecycle-yprrd5kf.js} +22 -22
  275. package/dist/chunks/{file-mutation-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{file-mutation-e0y5jvpm.js → location-lifecycle-yw8t7fty.js} +39 -39
  277. package/dist/chunks/{file-mutation-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{file-mutation-v1r8ymca.js → location-lifecycle-z4y453q1.js} +9 -9
  279. package/dist/chunks/{file-mutation-tegzbpn0.js → location-lifecycle-z6pnwnms.js} +2 -2
  280. package/dist/chunks/{file-mutation-2hgjwxzn.js → location-lifecycle-z7fg3yzq.js} +17 -17
  281. package/dist/chunks/{file-mutation-4en4kvr5.js → location-lifecycle-zbfk49h1.js} +1 -1
  282. package/dist/chunks/{file-mutation-zeh9ct20.js → location-lifecycle-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{file-mutation-be80trnb.js → location-lifecycle-zfjy4kgb.js} +17 -17
  284. package/dist/chunks/{file-mutation-y5b0ehek.js → location-lifecycle-zmw9a2ym.js} +43 -43
  285. package/dist/chunks/{file-mutation-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{file-mutation-vtggy08e.js → location-lifecycle-zt149n1m.js} +26 -26
  287. package/dist/chunks/{file-mutation-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +76 -76
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +124 -124
  297. package/dist/config/plugin/command.js +213 -213
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +124 -124
  305. package/dist/config/plugin/mcp.js +131 -131
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +122 -122
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +143 -143
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +125 -125
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +121 -121
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +125 -125
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +82 -82
  322. package/dist/database/database.js +69 -69
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +366 -366
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +73 -73
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +226 -226
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +96 -96
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +11 -11
  426. package/dist/filesystem.js +101 -101
  427. package/dist/form.js +79 -79
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +102 -102
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +98 -98
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +357 -357
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +70 -70
  464. package/dist/location-activity.js +134 -134
  465. package/dist/location-lifecycle.js +105 -105
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +88 -88
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +105 -105
  472. package/dist/mcp/instructions.js +127 -127
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +98 -98
  477. package/dist/model-resolver.js +97 -97
  478. package/dist/model.js +95 -95
  479. package/dist/models-dev.js +106 -106
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +77 -77
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +104 -104
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +77 -77
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +103 -103
  490. package/dist/plugin/command.js +100 -100
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +119 -119
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +140 -140
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +345 -345
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +228 -228
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +89 -89
  557. package/dist/provider.js +92 -92
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +93 -93
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +88 -88
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +94 -94
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +133 -133
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +3 -3
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +223 -223
  578. package/dist/session/execution.js +125 -125
  579. package/dist/session/generate.js +152 -152
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +87 -87
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +1 -1
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +228 -228
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +113 -113
  602. package/dist/session/runner/step.js +123 -123
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +3 -3
  605. package/dist/session/session.js +171 -171
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +74 -74
  610. package/dist/session/store.js +84 -84
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +209 -209
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +149 -149
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +220 -220
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +137 -137
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +106 -106
  626. package/dist/skill.js +109 -109
  627. package/dist/snapshot.js +88 -88
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +126 -126
  632. package/dist/tool/plugin/edit.js +119 -119
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +115 -115
  635. package/dist/tool/plugin/grep.js +121 -121
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +121 -121
  638. package/dist/tool/plugin/question.js +104 -104
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +214 -214
  641. package/dist/tool/plugin/skill.js +110 -110
  642. package/dist/tool/plugin/subagent.js +216 -216
  643. package/dist/tool/plugin/webfetch.js +107 -107
  644. package/dist/tool/plugin/websearch.js +111 -111
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +14 -14
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/formatter.js +3 -3
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +3 -3
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +1 -1
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +92 -92
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +83 -83
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +76 -76
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +95 -95
  690. package/package.json +8 -8
  691. package/dist/chunks/file-mutation-0dr17sfc.js +0 -252
  692. package/dist/chunks/file-mutation-3n20nwgf.js +0 -478
  693. package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
  694. package/dist/chunks/file-mutation-75z37rd0.js +0 -65
  695. package/dist/chunks/file-mutation-ctefx7dc.js +0 -18
  696. package/dist/chunks/file-mutation-k14es7wq.js +0 -26
  697. /package/dist/chunks/{file-mutation-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{file-mutation-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{file-mutation-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{file-mutation-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{file-mutation-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{file-mutation-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
  703. /package/dist/chunks/{file-mutation-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
  704. /package/dist/chunks/{file-mutation-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
  705. /package/dist/chunks/{file-mutation-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{file-mutation-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{file-mutation-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
  708. /package/dist/chunks/{file-mutation-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{file-mutation-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
  710. /package/dist/chunks/{file-mutation-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{file-mutation-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{file-mutation-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{file-mutation-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{file-mutation-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{file-mutation-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
  716. /package/dist/chunks/{file-mutation-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{file-mutation-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
  718. /package/dist/chunks/{file-mutation-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{file-mutation-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{file-mutation-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
  721. /package/dist/chunks/{file-mutation-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{file-mutation-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{file-mutation-922hggd3.js → location-lifecycle-922hggd3.js} +0 -0
  724. /package/dist/chunks/{file-mutation-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{file-mutation-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{file-mutation-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{file-mutation-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{file-mutation-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{file-mutation-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{file-mutation-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{file-mutation-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{file-mutation-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{file-mutation-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{file-mutation-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{file-mutation-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{file-mutation-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{file-mutation-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{file-mutation-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{file-mutation-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
  740. /package/dist/chunks/{file-mutation-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{file-mutation-e3qxr5gk.js → location-lifecycle-e3qxr5gk.js} +0 -0
  742. /package/dist/chunks/{file-mutation-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{file-mutation-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{file-mutation-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{file-mutation-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{file-mutation-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{file-mutation-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{file-mutation-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{file-mutation-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{file-mutation-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{file-mutation-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
  752. /package/dist/chunks/{file-mutation-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{file-mutation-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
  754. /package/dist/chunks/{file-mutation-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{file-mutation-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
  756. /package/dist/chunks/{file-mutation-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
  757. /package/dist/chunks/{file-mutation-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
  758. /package/dist/chunks/{file-mutation-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{file-mutation-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{file-mutation-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{file-mutation-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{file-mutation-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{file-mutation-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{file-mutation-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{file-mutation-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{file-mutation-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{file-mutation-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{file-mutation-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{file-mutation-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{file-mutation-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{file-mutation-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{file-mutation-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{file-mutation-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{file-mutation-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{file-mutation-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{file-mutation-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{file-mutation-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{file-mutation-sk3qaz4a.js → location-lifecycle-sk3qaz4a.js} +0 -0
  779. /package/dist/chunks/{file-mutation-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{file-mutation-twg0f83k.js → location-lifecycle-twg0f83k.js} +0 -0
  781. /package/dist/chunks/{file-mutation-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{file-mutation-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{file-mutation-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{file-mutation-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{file-mutation-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{file-mutation-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
  787. /package/dist/chunks/{file-mutation-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{file-mutation-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
  789. /package/dist/chunks/{file-mutation-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{file-mutation-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{file-mutation-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{file-mutation-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service68
3
- } from "./file-mutation-9vw038cm.js";
2
+ Service49
3
+ } from "./location-lifecycle-yb62w462.js";
4
4
  import {
5
- Service27,
5
+ Service18,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./file-mutation-sc7wv7tt.js";
8
+ } from "./location-lifecycle-4faaayh9.js";
9
9
  import {
10
- Service13
11
- } from "./file-mutation-81tbvkms.js";
10
+ Service15
11
+ } from "./location-lifecycle-7wacmsvk.js";
12
12
  import {
13
- Service55
14
- } from "./file-mutation-bh6093r6.js";
13
+ Service62
14
+ } from "./location-lifecycle-jjng5k39.js";
15
15
  import {
16
- Service21
17
- } from "./file-mutation-9yrzyr7j.js";
16
+ Service59
17
+ } from "./location-lifecycle-nzh7nt0x.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./file-mutation-6prwharc.js";
20
+ } from "./location-lifecycle-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./file-mutation-9rqn6x4v.js";
23
+ } from "./location-lifecycle-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input3,
29
- Output: () => Output3,
30
- Plugin: () => Plugin4,
28
+ Input: () => Input8,
29
+ Output: () => Output7,
30
+ Plugin: () => Plugin9,
31
31
  WriteTool: () => exports_write,
32
- name: () => name3,
33
- toModelContent: () => toModelContent3
32
+ name: () => name8,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name3 = "write";
39
- var Input3 = Schema.Struct({
38
+ var name8 = "write";
39
+ var Input8 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output3 = Schema.Struct({
45
+ var Output7 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin4 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin9 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service21;
56
- const fileMutation = yield* Service27;
57
- const environment = yield* Service68;
58
- const formatter = yield* Service13;
59
- const permission = yield* Service55;
55
+ const access = yield* Service59;
56
+ const fileMutation = yield* Service18;
57
+ const environment = yield* Service49;
58
+ const formatter = yield* Service15;
59
+ const permission = yield* Service62;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name3,
61
+ name: name8,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input3,
69
- output: Output3,
68
+ input: Input8,
69
+ output: Output7,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name3, Input3, Output3, toModelContent3, Plugin4, exports_write };
101
+ export { name8, Input8, Output7, toModelContent4, Plugin9, exports_write };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-922hggd3.js";
4
- import {
5
- Service83,
6
- node87
7
- } from "./file-mutation-kn475exs.js";
3
+ } from "./location-lifecycle-922hggd3.js";
8
4
  import {
9
5
  Service82,
10
6
  node86
11
- } from "./file-mutation-b8rp9x54.js";
7
+ } from "./location-lifecycle-g9d4q01g.js";
8
+ import {
9
+ Service81,
10
+ node85
11
+ } from "./location-lifecycle-hafpya9j.js";
12
12
  import {
13
- Service78,
14
- node82
15
- } from "./file-mutation-h53tpazp.js";
13
+ Service80,
14
+ node84
15
+ } from "./location-lifecycle-db54agdm.js";
16
16
  import {
17
- ID15,
17
+ ID18,
18
18
  Current3,
19
- Info31,
19
+ Info34,
20
20
  UpdateInput4,
21
- Event18,
21
+ Event21,
22
22
  Vcs3
23
- } from "./file-mutation-aamtrqep.js";
23
+ } from "./location-lifecycle-57ez7d0k.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./file-mutation-8p4f9s12.js";
27
+ } from "./location-lifecycle-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./file-mutation-cfpkc3c9.js";
30
+ } from "./location-lifecycle-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./file-mutation-9rqn6x4v.js";
33
+ } from "./location-lifecycle-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID14,
40
- Info: () => Info30,
41
- NotFoundError: () => NotFoundError10,
39
+ ID: () => ID17,
40
+ Info: () => Info33,
41
+ NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service77,
43
+ Service: () => Service79,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node81,
46
+ node: () => node83,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID14 = ID15;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info30 = Info31;
61
+ var Info33 = Info34;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID14
64
+ class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service77 extends Context.Service()("@opencode/Project") {
74
+ class Service79 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -93,12 +93,12 @@ function fromRow(row) {
93
93
  sandboxes: row.sandboxes
94
94
  };
95
95
  }
96
- var layer = Layer.effect(Service77, Effect.gen(function* () {
96
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
- const git = yield* Service78;
98
+ const git = yield* Service80;
99
99
  const proc = yield* AppProcess.Service;
100
- const bus = yield* Service82;
101
- const db = (yield* Service83).db;
100
+ const bus = yield* Service81;
101
+ const db = (yield* Service82).db;
102
102
  const announcing = new Set;
103
103
  const persist = Effect.fnUntraced(function* (project) {
104
104
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
106
106
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
107
107
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
108
108
  if (row)
109
- yield* bus.publish(Event18.Updated, fromRow(row));
109
+ yield* bus.publish(Event21.Updated, fromRow(row));
110
110
  }
111
111
  if (!project.vcs)
112
112
  return project;
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
143
143
  yield* bus.publish(Worktree.Event.Resolved, {
144
144
  projectID: item.projectID,
145
145
  directory: item.directory,
146
- previous: project.previous ?? ID14.global,
146
+ previous: project.previous ?? ID17.global,
147
147
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
148
148
  }, {
149
149
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
166
166
  time_updated: Date.now()
167
167
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
168
168
  if (!row)
169
- return yield* new NotFoundError10({ projectID: input.projectID });
169
+ return yield* new NotFoundError11({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event18.Updated, project);
171
+ yield* bus.publish(Event21.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID14.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID14.make(root) : undefined;
211
+ return root ? ID17.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID14.make(node) : undefined;
227
+ return node ? ID17.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID14.global,
236
+ id: id ?? ID17.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
250
250
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID14.global,
253
+ id: id ?? ID17.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID14.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service77.of({ list, update, resolve });
273
+ return Service79.of({ list, update, resolve });
274
274
  }));
275
- var node81 = makeGlobalNode({
276
- service: Service77,
275
+ var node83 = makeGlobalNode({
276
+ service: Service79,
277
277
  layer,
278
- deps: [node86, node87, FSUtil.node, node82, AppProcess.node]
278
+ deps: [node85, node86, FSUtil.node, node84, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID14, Vcs2, Current2, Info30, UpdateInput3, NotFoundError10, root2, Service77, node81, exports_project };
281
+ export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service79, node83, exports_project };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./location-lifecycle-922hggd3.js";
4
4
  import {
5
- Service76
6
- } from "./file-mutation-a58czpns.js";
5
+ Service78
6
+ } from "./location-lifecycle-hj6d10w0.js";
7
7
  import {
8
- Service21
9
- } from "./file-mutation-9yrzyr7j.js";
8
+ Service59
9
+ } from "./location-lifecycle-nzh7nt0x.js";
10
10
  import {
11
- Service6
12
- } from "./file-mutation-qfv53cem.js";
11
+ Service7
12
+ } from "./location-lifecycle-sdsxhjm1.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./file-mutation-2a5m3afh.js";
15
+ } from "./location-lifecycle-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service5
27
- } from "./file-mutation-x6f9vzrq.js";
26
+ Service6
27
+ } from "./location-lifecycle-vqrz25dp.js";
28
28
  import {
29
29
  __export
30
- } from "./file-mutation-9rqn6x4v.js";
30
+ } from "./location-lifecycle-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input9,
36
- Plugin: () => Plugin11,
35
+ Input: () => Input11,
36
+ Plugin: () => Plugin12,
37
37
  ReadTool: () => exports_read,
38
- name: () => name9,
39
- toModelContent: () => toModelContent5
38
+ name: () => name11,
39
+ toModelContent: () => toModelContent6
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name9 = "read";
45
+ var name11 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input9 = LocationInput;
56
+ var Input11 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin11 = {
58
+ var Plugin12 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service5;
62
- const access = yield* Service21;
63
- const sessionInstructions = yield* Service6;
61
+ const reader = yield* Service6;
62
+ const access = yield* Service59;
63
+ const sessionInstructions = yield* Service7;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service76;
65
+ const location = yield* Service78;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name9,
67
+ name: name11,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input9,
70
+ input: Input11,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin11 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent5(result.path, input.offset, result.output),
115
+ content: toModelContent6(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent5 = (path, offset, output) => {
147
+ var toModelContent6 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent5 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name9, Input9, Plugin11, toModelContent5, exports_read };
183
+ export { name11, Input11, Plugin12, toModelContent6, exports_read };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service76,
3
- node80
4
- } from "./file-mutation-a58czpns.js";
2
+ Service78,
3
+ node82
4
+ } from "./location-lifecycle-hj6d10w0.js";
5
5
  import {
6
6
  create3
7
- } from "./file-mutation-rdw6cm16.js";
7
+ } from "./location-lifecycle-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./file-mutation-9rqn6x4v.js";
10
+ } from "./location-lifecycle-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service13,
17
- node: () => node15
16
+ Service: () => Service15,
17
+ node: () => node17
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service13 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service15 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service13, Effect.gen(function* () {
27
- const location = yield* Service76;
26
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
27
+ const location = yield* Service78;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service13.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service15.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node15 = makeLocationNode({
91
- service: Service13,
90
+ var node17 = makeLocationNode({
91
+ service: Service15,
92
92
  layer,
93
- deps: [node80, AppProcess.node]
93
+ deps: [node82, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service13, node15, exports_formatter2 };
96
+ export { Service15, node17, exports_formatter2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./location-lifecycle-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./file-mutation-2pnhn36q.js";
6
+ } from "./location-lifecycle-kk00bynn.js";
7
7
  import {
8
- Info17
9
- } from "./file-mutation-zyr433b0.js";
10
- import {
11
- Info20
12
- } from "./file-mutation-2qp6y8xf.js";
8
+ Info23
9
+ } from "./location-lifecycle-vyrd71eq.js";
13
10
  import {
14
11
  Info19
15
- } from "./file-mutation-jfqtm2ew.js";
12
+ } from "./location-lifecycle-3w2b2yj4.js";
13
+ import {
14
+ Info22
15
+ } from "./location-lifecycle-19vf66h0.js";
16
16
  import {
17
- Info15
18
- } from "./file-mutation-nxhqveyz.js";
17
+ Info21
18
+ } from "./location-lifecycle-sra9araw.js";
19
19
  import {
20
20
  Spec2
21
- } from "./file-mutation-7dqw4kz8.js";
21
+ } from "./location-lifecycle-7dqw4kz8.js";
22
22
  import {
23
- Info16
24
- } from "./file-mutation-hnr5yq9h.js";
23
+ Info25
24
+ } from "./location-lifecycle-fvsyg6qk.js";
25
25
  import {
26
- Info14
27
- } from "./file-mutation-0svbgh5c.js";
26
+ Info16
27
+ } from "./location-lifecycle-dwtvkfdb.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 "./file-mutation-jeybges7.js";
36
+ } from "./location-lifecycle-byr3fygr.js";
37
37
  import {
38
38
  __export
39
- } from "./file-mutation-9rqn6x4v.js";
39
+ } from "./location-lifecycle-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(Info14.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info16.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(Info20, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info19, 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, Info19, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info22, ["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, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info23, ["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, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info23, ["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(Info21, 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(Info25, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);