@opencode/core 0.0.0-dev-19812 → 0.0.0-dev-19814

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{ripgrep-hs2a3b3x.js → aisdk-native-00yvd0x7.js} +9 -9
  8. package/dist/chunks/{ripgrep-a0pddpcz.js → aisdk-native-07fw2bc3.js} +29 -29
  9. package/dist/chunks/{ripgrep-7r38cm17.js → aisdk-native-08b8veqf.js} +43 -43
  10. package/dist/chunks/{ripgrep-p7wr61jb.js → aisdk-native-0bnmk6v2.js} +2 -2
  11. package/dist/chunks/{ripgrep-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{ripgrep-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{ripgrep-9fxx88z5.js → aisdk-native-112cr4rm.js} +45 -45
  14. package/dist/chunks/{ripgrep-qbgzzech.js → aisdk-native-11bbsyb4.js} +74 -74
  15. package/dist/chunks/{ripgrep-8pk0vt9k.js → aisdk-native-1agxs8qz.js} +15 -15
  16. package/dist/chunks/{ripgrep-hfmtk0wz.js → aisdk-native-1c56g0tt.js} +1 -1
  17. package/dist/chunks/{ripgrep-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{ripgrep-1gterc69.js → aisdk-native-1eycq7v0.js} +10 -10
  19. package/dist/chunks/{ripgrep-pr3r74r8.js → aisdk-native-1eys957h.js} +24 -24
  20. package/dist/chunks/{ripgrep-1ygqh575.js → aisdk-native-1ygqh575.js} +2 -2
  21. package/dist/chunks/{ripgrep-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
  22. package/dist/chunks/{ripgrep-6h73sxmp.js → aisdk-native-2402vzrj.js} +5 -5
  23. package/dist/chunks/{ripgrep-z63w68vq.js → aisdk-native-29x78va6.js} +6 -6
  24. package/dist/chunks/{ripgrep-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{ripgrep-5bydv4zf.js → aisdk-native-2av99hgc.js} +10 -10
  26. package/dist/chunks/{ripgrep-14p23t01.js → aisdk-native-2d0haajb.js} +46 -46
  27. package/dist/chunks/{ripgrep-dyagwqbw.js → aisdk-native-2egk0w3r.js} +37 -37
  28. package/dist/chunks/{ripgrep-q289wsms.js → aisdk-native-2haft7pr.js} +7 -7
  29. package/dist/chunks/{ripgrep-2f81mqye.js → aisdk-native-2k7w94xe.js} +4 -4
  30. package/dist/chunks/{ripgrep-54pbzxnk.js → aisdk-native-2nz9yxvz.js} +18 -18
  31. package/dist/chunks/{ripgrep-djszqvmq.js → aisdk-native-2sejkfem.js} +9 -9
  32. package/dist/chunks/{ripgrep-xhd2r5mb.js → aisdk-native-2tr6bnzb.js} +8 -8
  33. package/dist/chunks/{ripgrep-gb7ervf3.js → aisdk-native-35agz59w.js} +6 -6
  34. package/dist/chunks/{ripgrep-nmq6ymmq.js → aisdk-native-3a9n5gmg.js} +31 -31
  35. package/dist/chunks/{ripgrep-dg7130wh.js → aisdk-native-3ensn9wd.js} +25 -25
  36. package/dist/chunks/{ripgrep-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{ripgrep-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{ripgrep-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{ripgrep-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{ripgrep-kjad9j46.js → aisdk-native-3xyfw6wr.js} +3 -3
  41. package/dist/chunks/aisdk-native-3z6xp169.js +492 -0
  42. package/dist/chunks/{ripgrep-g9yyzkqa.js → aisdk-native-46q6s1xt.js} +11 -11
  43. package/dist/chunks/{ripgrep-9cx0nyab.js → aisdk-native-4aphdq12.js} +12 -12
  44. package/dist/chunks/{ripgrep-1v1e6ee9.js → aisdk-native-4nm3cgsd.js} +297 -297
  45. package/dist/chunks/{ripgrep-vwwhhmge.js → aisdk-native-4qntw1nx.js} +30 -30
  46. package/dist/chunks/{ripgrep-vmjkkbv8.js → aisdk-native-4t5hftqh.js} +8 -8
  47. package/dist/chunks/{ripgrep-n0723yqh.js → aisdk-native-4t6vtd3e.js} +15 -15
  48. package/dist/chunks/{ripgrep-5frpvc34.js → aisdk-native-4vq28sgd.js} +2 -2
  49. package/dist/chunks/{ripgrep-y5hpfjhw.js → aisdk-native-4vy3dpyp.js} +32 -32
  50. package/dist/chunks/{ripgrep-zz1yydc9.js → aisdk-native-4yy7byfr.js} +58 -58
  51. package/dist/chunks/{ripgrep-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
  52. package/dist/chunks/{ripgrep-3bqr18yv.js → aisdk-native-5jma6wsm.js} +16 -16
  53. package/dist/chunks/{ripgrep-z4swd48g.js → aisdk-native-5qjcaz6d.js} +20 -20
  54. package/dist/chunks/{ripgrep-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{ripgrep-cky7jn4a.js → aisdk-native-5x835y8k.js} +32 -32
  56. package/dist/chunks/{ripgrep-pa8pe2x7.js → aisdk-native-5yzzbxa7.js} +8 -8
  57. package/dist/chunks/{ripgrep-mfhfdr54.js → aisdk-native-64kphnzf.js} +4 -4
  58. package/dist/chunks/{ripgrep-669tq793.js → aisdk-native-669tq793.js} +1 -1
  59. package/dist/chunks/{ripgrep-6p659vat.js → aisdk-native-66bpdn03.js} +10 -10
  60. package/dist/chunks/{ripgrep-3rsmh9bb.js → aisdk-native-66x8nh2j.js} +17 -17
  61. package/dist/chunks/{ripgrep-ycwh9915.js → aisdk-native-6ma6tmn5.js} +27 -27
  62. package/dist/chunks/{ripgrep-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{ripgrep-5bssef41.js → aisdk-native-6tkaswsb.js} +3 -3
  64. package/dist/chunks/{ripgrep-caeeqckt.js → aisdk-native-73gf1wwg.js} +28 -28
  65. package/dist/chunks/{ripgrep-73tb2d7t.js → aisdk-native-73tb2d7t.js} +1 -1
  66. package/dist/chunks/{ripgrep-t6msp11s.js → aisdk-native-75my1bc5.js} +6 -6
  67. package/dist/chunks/{ripgrep-qqy7xhhx.js → aisdk-native-78z3hgz7.js} +5 -5
  68. package/dist/chunks/{ripgrep-cpd8602d.js → aisdk-native-790tyfjj.js} +27 -27
  69. package/dist/chunks/{ripgrep-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{ripgrep-t7fksv2z.js → aisdk-native-7fnse62p.js} +11 -11
  71. package/dist/chunks/{ripgrep-qmhk62hb.js → aisdk-native-7m9x3c92.js} +12 -12
  72. package/dist/chunks/{ripgrep-1q4danzp.js → aisdk-native-7n1bk2y3.js} +17 -17
  73. package/dist/chunks/{ripgrep-55ep0f0m.js → aisdk-native-7wh281p0.js} +14 -14
  74. package/dist/chunks/{ripgrep-yf540f63.js → aisdk-native-7y7cnn6p.js} +12 -12
  75. package/dist/chunks/{ripgrep-x7cxrgta.js → aisdk-native-81y7m6rg.js} +11 -11
  76. package/dist/chunks/{ripgrep-47qmnyy5.js → aisdk-native-86kgpshc.js} +16 -16
  77. package/dist/chunks/{ripgrep-2k71kv7p.js → aisdk-native-86qzxe6p.js} +4 -4
  78. package/dist/chunks/{ripgrep-afed7ext.js → aisdk-native-893r7tvp.js} +12 -12
  79. package/dist/chunks/{ripgrep-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{ripgrep-7nvstvty.js → aisdk-native-8p3z1z1q.js} +30 -30
  81. package/dist/chunks/{ripgrep-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
  82. package/dist/chunks/{ripgrep-ngg3x1tr.js → aisdk-native-8xcy80v1.js} +4 -4
  83. package/dist/chunks/aisdk-native-8zy7n5vr.js +26 -0
  84. package/dist/chunks/{ripgrep-3ntreqen.js → aisdk-native-90cbbvgp.js} +33 -33
  85. package/dist/chunks/{ripgrep-kt1f9n97.js → aisdk-native-914fvng1.js} +41 -41
  86. package/dist/chunks/{ripgrep-0r7yqxbf.js → aisdk-native-92a4ap4w.js} +5 -5
  87. package/dist/chunks/{ripgrep-wvq10dhv.js → aisdk-native-93geh6gt.js} +5 -5
  88. package/dist/chunks/{ripgrep-stx8bz6x.js → aisdk-native-9m2snvh5.js} +5 -5
  89. package/dist/chunks/{ripgrep-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
  90. package/dist/chunks/{ripgrep-qx6ay3k3.js → aisdk-native-a25fytbr.js} +25 -25
  91. package/dist/chunks/{ripgrep-tj1h49fw.js → aisdk-native-a58t5jn9.js} +6 -6
  92. package/dist/chunks/{ripgrep-zvfnjsma.js → aisdk-native-a8mcjsjd.js} +15 -15
  93. package/dist/chunks/{ripgrep-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
  94. package/dist/chunks/{ripgrep-axvqvry5.js → aisdk-native-aefmpby3.js} +48 -48
  95. package/dist/chunks/{ripgrep-y0mykrjf.js → aisdk-native-aftgtdfq.js} +5 -5
  96. package/dist/chunks/{ripgrep-fkv3tvmb.js → aisdk-native-ag13dntn.js} +11 -11
  97. package/dist/chunks/{ripgrep-37s12vcn.js → aisdk-native-ag9w8cw1.js} +5 -5
  98. package/dist/chunks/{ripgrep-6n6txemt.js → aisdk-native-ak612zyr.js} +12 -12
  99. package/dist/chunks/{ripgrep-p0xmwpxx.js → aisdk-native-apqrc77e.js} +20 -20
  100. package/dist/chunks/{ripgrep-57ez7d0k.js → aisdk-native-atcatw0c.js} +9 -9
  101. package/dist/chunks/{ripgrep-hkfg6fzm.js → aisdk-native-avm8jn6n.js} +5 -5
  102. package/dist/chunks/{ripgrep-prnfm6s2.js → aisdk-native-azzxr1zd.js} +4 -4
  103. package/dist/chunks/{ripgrep-8q7cq0y1.js → aisdk-native-b1a1n7cj.js} +3 -3
  104. package/dist/chunks/{ripgrep-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{ripgrep-135zn4ta.js → aisdk-native-bak8mr3b.js} +50 -50
  106. package/dist/chunks/{ripgrep-wwajdw47.js → aisdk-native-be2hac41.js} +9 -9
  107. package/dist/chunks/{ripgrep-r0x7c0b1.js → aisdk-native-be9tjw7k.js} +17 -17
  108. package/dist/chunks/{ripgrep-dandedvx.js → aisdk-native-bg2zrr75.js} +1 -1
  109. package/dist/chunks/{ripgrep-fdbc3gda.js → aisdk-native-bgj4j950.js} +17 -17
  110. package/dist/chunks/{ripgrep-bj0j6qyc.js → aisdk-native-bk15tzr6.js} +3 -3
  111. package/dist/chunks/{ripgrep-2hb99qqb.js → aisdk-native-bnzay7e1.js} +33 -33
  112. package/dist/chunks/{ripgrep-yyf6wefc.js → aisdk-native-c24yqw6p.js} +8 -8
  113. package/dist/chunks/{ripgrep-wreshrrc.js → aisdk-native-ca6j6eah.js} +27 -27
  114. package/dist/chunks/{ripgrep-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{ripgrep-bd4r2s1a.js → aisdk-native-cfrmccbd.js} +41 -41
  116. package/dist/chunks/{ripgrep-3262rvz8.js → aisdk-native-ch95akqm.js} +11 -11
  117. package/dist/chunks/{ripgrep-rp2wkk18.js → aisdk-native-cndx7de7.js} +12 -12
  118. package/dist/chunks/{ripgrep-ey6276gs.js → aisdk-native-cxwwdtda.js} +172 -171
  119. package/dist/chunks/{ripgrep-x0p2edan.js → aisdk-native-d6712et1.js} +19 -19
  120. package/dist/chunks/{ripgrep-787j17s7.js → aisdk-native-da31v1fa.js} +18 -18
  121. package/dist/chunks/{ripgrep-paz2y578.js → aisdk-native-ddct6w9p.js} +27 -27
  122. package/dist/chunks/{ripgrep-pmr4s4kc.js → aisdk-native-dfe8djrf.js} +4 -4
  123. package/dist/chunks/{ripgrep-y71avatq.js → aisdk-native-dpkg50ah.js} +4 -4
  124. package/dist/chunks/{ripgrep-3xc0bepy.js → aisdk-native-dqk33esk.js} +9 -9
  125. package/dist/chunks/{ripgrep-v60wn0qp.js → aisdk-native-dw5z7z4w.js} +20 -20
  126. package/dist/chunks/{ripgrep-5y91esw8.js → aisdk-native-dy466qfe.js} +18 -18
  127. package/dist/chunks/{ripgrep-eq20ba7x.js → aisdk-native-e0a154fg.js} +8 -8
  128. package/dist/chunks/{ripgrep-0anfjktx.js → aisdk-native-e0s4nb43.js} +11 -11
  129. package/dist/chunks/{ripgrep-5qd3pb7m.js → aisdk-native-e3qxr5gk.js} +2 -2
  130. package/dist/chunks/{ripgrep-143me7bn.js → aisdk-native-e7angbes.js} +22 -22
  131. package/dist/chunks/{ripgrep-t41ab7wk.js → aisdk-native-e9abyfmb.js} +9 -9
  132. package/dist/chunks/{ripgrep-nkrzdj13.js → aisdk-native-e9f2ej98.js} +3 -3
  133. package/dist/chunks/{ripgrep-3cshwv8b.js → aisdk-native-eb3djvsg.js} +20 -20
  134. package/dist/chunks/{ripgrep-ejzm5bey.js → aisdk-native-ebsh90pc.js} +2 -2
  135. package/dist/chunks/{ripgrep-hnstydcq.js → aisdk-native-eby9q55s.js} +24 -24
  136. package/dist/chunks/{ripgrep-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{ripgrep-mtjk0yh9.js → aisdk-native-eghc6w1b.js} +2 -2
  138. package/dist/chunks/{ripgrep-2mkxn96z.js → aisdk-native-eh031js9.js} +12 -12
  139. package/dist/chunks/{ripgrep-egqspz5t.js → aisdk-native-ep9bxrrg.js} +11 -11
  140. package/dist/chunks/{ripgrep-erw5rpbs.js → aisdk-native-erw5rpbs.js} +2 -2
  141. package/dist/chunks/{ripgrep-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{ripgrep-e3d6n7ca.js → aisdk-native-f62qkzqr.js} +15 -23
  143. package/dist/chunks/{ripgrep-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
  144. package/dist/chunks/{ripgrep-9gqm56s8.js → aisdk-native-faxym4p7.js} +23 -23
  145. package/dist/chunks/{ripgrep-7dqw4kz8.js → aisdk-native-fcrkznn8.js} +5 -5
  146. package/dist/chunks/{ripgrep-17602m8n.js → aisdk-native-ffznjnm2.js} +6 -6
  147. package/dist/chunks/{ripgrep-hxpmbfxm.js → aisdk-native-fgzz64pf.js} +7 -7
  148. package/dist/chunks/{ripgrep-d0k1g5nx.js → aisdk-native-fk8xkx28.js} +6 -6
  149. package/dist/chunks/{ripgrep-05czfhhv.js → aisdk-native-fvfn927n.js} +24 -24
  150. package/dist/chunks/{ripgrep-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{ripgrep-zyvvry14.js → aisdk-native-fy1zrqyn.js} +29 -29
  152. package/dist/chunks/{ripgrep-p4ajb0r8.js → aisdk-native-g7tbdc89.js} +1 -1
  153. package/dist/chunks/{ripgrep-6hh8kjz6.js → aisdk-native-gcg66cf7.js} +8 -8
  154. package/dist/chunks/{ripgrep-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{ripgrep-skqsy7ey.js → aisdk-native-ge77k9jj.js} +1 -1
  156. package/dist/chunks/{ripgrep-4nnddwb9.js → aisdk-native-gtwa73tb.js} +26 -26
  157. package/dist/chunks/{ripgrep-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{ripgrep-s3pw955p.js → aisdk-native-gz8mhd5a.js} +9 -9
  159. package/dist/chunks/{ripgrep-5mtzsd3b.js → aisdk-native-h6r3nrb9.js} +4 -4
  160. package/dist/chunks/{ripgrep-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{ripgrep-zcfzy7jy.js → aisdk-native-h78yx8q2.js} +9 -9
  162. package/dist/chunks/{ripgrep-bajakh74.js → aisdk-native-hfdr1yjj.js} +4 -4
  163. package/dist/chunks/{ripgrep-j5a0rw3y.js → aisdk-native-hm0evkep.js} +31 -31
  164. package/dist/chunks/{ripgrep-pg7x47cv.js → aisdk-native-hp33agmj.js} +17 -17
  165. package/dist/chunks/{ripgrep-ggkags7h.js → aisdk-native-hz16zzfp.js} +9 -9
  166. package/dist/chunks/{ripgrep-aaj2p223.js → aisdk-native-j21xqhbq.js} +14 -14
  167. package/dist/chunks/{ripgrep-y2sxgdnx.js → aisdk-native-j49xx98j.js} +30 -30
  168. package/dist/chunks/{ripgrep-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
  169. package/dist/chunks/{ripgrep-r01j3116.js → aisdk-native-jek3y7zv.js} +8 -8
  170. package/dist/chunks/{ripgrep-ryr25ayn.js → aisdk-native-jfqtm2ew.js} +4 -4
  171. package/dist/chunks/{ripgrep-71xfkcdx.js → aisdk-native-jmvtxc6a.js} +9 -9
  172. package/dist/chunks/{ripgrep-s1ayrrqq.js → aisdk-native-jqc73k12.js} +13 -13
  173. package/dist/chunks/{ripgrep-zdecw2c9.js → aisdk-native-jw132d3y.js} +30 -30
  174. package/dist/chunks/{ripgrep-yqwasm36.js → aisdk-native-jxf4tgs5.js} +15 -15
  175. package/dist/chunks/{ripgrep-k3c624dm.js → aisdk-native-k3c624dm.js} +3 -3
  176. package/dist/chunks/{ripgrep-8srhhjp8.js → aisdk-native-k6sp08p6.js} +25 -25
  177. package/dist/chunks/{ripgrep-c4k4dnr2.js → aisdk-native-k8ajmdky.js} +32 -32
  178. package/dist/chunks/{ripgrep-knb7evpn.js → aisdk-native-k9kj6xed.js} +6 -6
  179. package/dist/chunks/{ripgrep-jvbjhzb9.js → aisdk-native-kdezk8ga.js} +1 -1
  180. package/dist/chunks/{ripgrep-bf8atwev.js → aisdk-native-kh4seyd8.js} +11 -11
  181. package/dist/chunks/{ripgrep-n6mzjwwn.js → aisdk-native-kmgmy88r.js} +8 -8
  182. package/dist/chunks/{ripgrep-vb972p95.js → aisdk-native-kxchnaet.js} +16 -16
  183. package/dist/chunks/{ripgrep-8cd4z6z0.js → aisdk-native-m214n8z9.js} +42 -42
  184. package/dist/chunks/{ripgrep-m3fdjcah.js → aisdk-native-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{ripgrep-pjds5a1t.js → aisdk-native-m8tmq85a.js} +23 -23
  186. package/dist/chunks/{ripgrep-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{ripgrep-0z8vjex2.js → aisdk-native-mjncxbbh.js} +9 -9
  188. package/dist/chunks/{ripgrep-7qne91zt.js → aisdk-native-mka4rcnv.js} +20 -20
  189. package/dist/chunks/{ripgrep-w8dfjvzm.js → aisdk-native-mrqg3fqd.js} +20 -20
  190. package/dist/chunks/{ripgrep-zcyyg4pk.js → aisdk-native-mty1zc95.js} +96 -96
  191. package/dist/chunks/{ripgrep-2hcfq88c.js → aisdk-native-n3r2v0yx.js} +13 -13
  192. package/dist/chunks/{ripgrep-5vrw4q23.js → aisdk-native-nc2nfq0c.js} +4 -4
  193. package/dist/chunks/{ripgrep-ktznxcr1.js → aisdk-native-nehj9kjw.js} +17 -17
  194. package/dist/chunks/{ripgrep-kqcs6pzm.js → aisdk-native-nhpn0yqv.js} +11 -11
  195. package/dist/chunks/{ripgrep-9093ft31.js → aisdk-native-p23y0mz8.js} +6 -6
  196. package/dist/chunks/{ripgrep-mh1qkymb.js → aisdk-native-p26stxcb.js} +4 -4
  197. package/dist/chunks/{ripgrep-p28j5sbe.js → aisdk-native-p28j5sbe.js} +2 -2
  198. package/dist/chunks/{ripgrep-ymyt7haz.js → aisdk-native-pdm49dqy.js} +21 -21
  199. package/dist/chunks/{ripgrep-eatbj8ff.js → aisdk-native-phe6xc55.js} +24 -24
  200. package/dist/chunks/{ripgrep-7amtwfv5.js → aisdk-native-phzsxtff.js} +25 -24
  201. package/dist/chunks/{ripgrep-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{ripgrep-764fh7qq.js → aisdk-native-pkj89tdt.js} +18 -18
  203. package/dist/chunks/{ripgrep-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
  204. package/dist/chunks/{ripgrep-vbwt2byz.js → aisdk-native-pm6sdbvh.js} +1 -1
  205. package/dist/chunks/{ripgrep-tn3fb21q.js → aisdk-native-prbagxsk.js} +53 -53
  206. package/dist/chunks/{ripgrep-1zkdfxnx.js → aisdk-native-prh8wjy2.js} +11 -11
  207. package/dist/chunks/{ripgrep-wk5z6jzv.js → aisdk-native-prq7hedt.js} +9 -9
  208. package/dist/chunks/{ripgrep-vcn0tswg.js → aisdk-native-psfye3yz.js} +12 -12
  209. package/dist/chunks/{ripgrep-25bf7f5x.js → aisdk-native-pyy7gq1t.js} +5 -5
  210. package/dist/chunks/{ripgrep-e1enepvt.js → aisdk-native-q3c2jmmf.js} +28 -28
  211. package/dist/chunks/{ripgrep-m2d0j7c0.js → aisdk-native-qg0jgkcp.js} +9 -9
  212. package/dist/chunks/{ripgrep-yyn6n238.js → aisdk-native-qgmd0z72.js} +13 -13
  213. package/dist/chunks/{ripgrep-cn9dh10h.js → aisdk-native-qhj8jn65.js} +27 -27
  214. package/dist/chunks/{ripgrep-6571xj0k.js → aisdk-native-qkvp0cth.js} +4 -4
  215. package/dist/chunks/{ripgrep-d5r70txb.js → aisdk-native-qrwrpt8e.js} +10 -10
  216. package/dist/chunks/{ripgrep-818pfwc9.js → aisdk-native-qs001aqx.js} +11 -11
  217. package/dist/chunks/{ripgrep-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
  218. package/dist/chunks/{ripgrep-fw0n9c34.js → aisdk-native-qzhapjzb.js} +22 -22
  219. package/dist/chunks/{ripgrep-pm0s3t7d.js → aisdk-native-r3axxf75.js} +23 -23
  220. package/dist/chunks/aisdk-native-rap9a73h.js +18 -0
  221. package/dist/chunks/{ripgrep-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{ripgrep-s64k6dbj.js → aisdk-native-rejdk2wv.js} +13 -13
  223. package/dist/chunks/{ripgrep-sf6ccvgz.js → aisdk-native-rg03pp26.js} +7 -7
  224. package/dist/chunks/{ripgrep-yp2x3t23.js → aisdk-native-rhraev7y.js} +4 -4
  225. package/dist/chunks/{ripgrep-k58mf6j0.js → aisdk-native-rkjc101m.js} +17 -17
  226. package/dist/chunks/{ripgrep-hc3z6ty8.js → aisdk-native-rrzgzpdc.js} +13 -13
  227. package/dist/chunks/{ripgrep-yrznvahk.js → aisdk-native-s4enseaf.js} +2 -2
  228. package/dist/chunks/{ripgrep-9z1feey3.js → aisdk-native-s4wkfnry.js} +15 -15
  229. package/dist/chunks/{ripgrep-hw4xfg24.js → aisdk-native-s76znbf7.js} +14 -14
  230. package/dist/chunks/{ripgrep-t550f9t1.js → aisdk-native-s8d7rejh.js} +4 -4
  231. package/dist/chunks/{ripgrep-gmpw826m.js → aisdk-native-s93p5fgj.js} +23 -23
  232. package/dist/chunks/{ripgrep-19v4a8v1.js → aisdk-native-sejx4042.js} +30 -30
  233. package/dist/chunks/{ripgrep-207ajt2h.js → aisdk-native-sznyev98.js} +5 -5
  234. package/dist/chunks/{ripgrep-n9yj8kwm.js → aisdk-native-t15sgqra.js} +15 -15
  235. package/dist/chunks/{ripgrep-jh6yv6jp.js → aisdk-native-t3dmpghz.js} +17 -17
  236. package/dist/chunks/{ripgrep-kmh62sce.js → aisdk-native-t3mxyr11.js} +29 -29
  237. package/dist/chunks/{ripgrep-3bxd3j1q.js → aisdk-native-t52mx0qx.js} +8 -8
  238. package/dist/chunks/{ripgrep-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{ripgrep-89znhe33.js → aisdk-native-tcezcvh9.js} +4 -4
  240. package/dist/chunks/{ripgrep-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
  241. package/dist/chunks/{ripgrep-19yyczty.js → aisdk-native-te5bmdg3.js} +11 -11
  242. package/dist/chunks/{ripgrep-rrvdcwb8.js → aisdk-native-tm5b9rdb.js} +31 -31
  243. package/dist/chunks/{ripgrep-2m6ftvg3.js → aisdk-native-tt6xt5e9.js} +89 -89
  244. package/dist/chunks/{ripgrep-88v965ed.js → aisdk-native-ttvr5j0k.js} +11 -11
  245. package/dist/chunks/{ripgrep-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
  246. package/dist/chunks/{ripgrep-b2kw7jbn.js → aisdk-native-twj7rfp0.js} +32 -32
  247. package/dist/chunks/{ripgrep-2yxhe8rz.js → aisdk-native-tz061fqk.js} +23 -23
  248. package/dist/chunks/{ripgrep-14nch4p9.js → aisdk-native-v1yx87k2.js} +32 -32
  249. package/dist/chunks/{ripgrep-shh6fz4q.js → aisdk-native-v4jw97dc.js} +4 -4
  250. package/dist/chunks/aisdk-native-vcgb19sy.js +252 -0
  251. package/dist/chunks/{ripgrep-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
  252. package/dist/chunks/aisdk-native-vh42dt1g.js +65 -0
  253. package/dist/chunks/{ripgrep-90xbkf1m.js → aisdk-native-vw9rkfa4.js} +6 -6
  254. package/dist/chunks/{ripgrep-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{ripgrep-pw9v3g6d.js → aisdk-native-w1ad28wa.js} +8 -8
  256. package/dist/chunks/{ripgrep-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{ripgrep-gtfpvnfh.js → aisdk-native-w763fc1z.js} +15 -15
  258. package/dist/chunks/{ripgrep-b0mp8gvf.js → aisdk-native-w7ng0qg3.js} +35 -35
  259. package/dist/chunks/{ripgrep-dn383c3j.js → aisdk-native-wch3b3hf.js} +15 -15
  260. package/dist/chunks/{ripgrep-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
  261. package/dist/chunks/{ripgrep-t45wd2f1.js → aisdk-native-wef24876.js} +4 -4
  262. package/dist/chunks/{ripgrep-gryp532t.js → aisdk-native-wf65n15g.js} +32 -32
  263. package/dist/chunks/{ripgrep-kbtn0gvj.js → aisdk-native-wpah13ae.js} +47 -47
  264. package/dist/chunks/{ripgrep-fch79rh9.js → aisdk-native-wy8b5sm2.js} +1 -1
  265. package/dist/chunks/{ripgrep-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{ripgrep-v4djrp1d.js → aisdk-native-x3jj28dr.js} +16 -16
  267. package/dist/chunks/{ripgrep-zwjrcp72.js → aisdk-native-x7rdhrf2.js} +3 -3
  268. package/dist/chunks/{ripgrep-g190xswt.js → aisdk-native-xdk9p2qn.js} +21 -21
  269. package/dist/chunks/{ripgrep-drwq78ky.js → aisdk-native-xfkkasph.js} +4 -4
  270. package/dist/chunks/{ripgrep-9jbvj98d.js → aisdk-native-xncgd71c.js} +8 -8
  271. package/dist/chunks/{ripgrep-xs8bgbnm.js → aisdk-native-xt926x41.js} +9 -9
  272. package/dist/chunks/{ripgrep-4ms8cvn9.js → aisdk-native-xz012fjz.js} +43 -43
  273. package/dist/chunks/{ripgrep-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{ripgrep-f77kvyx9.js → aisdk-native-y5sbkpav.js} +9 -9
  275. package/dist/chunks/{ripgrep-ed4jhkrr.js → aisdk-native-y8retmp5.js} +11 -11
  276. package/dist/chunks/{ripgrep-mhg7kg7t.js → aisdk-native-ycszhq9a.js} +13 -13
  277. package/dist/chunks/{ripgrep-d17v2seq.js → aisdk-native-yd82269j.js} +24 -24
  278. package/dist/chunks/{ripgrep-36nh78em.js → aisdk-native-yj9cs6ej.js} +11 -11
  279. package/dist/chunks/{ripgrep-0t9h8sys.js → aisdk-native-yk07gt9m.js} +25 -25
  280. package/dist/chunks/{ripgrep-pj7cm4a7.js → aisdk-native-ykdn4ap7.js} +60 -60
  281. package/dist/chunks/{ripgrep-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{ripgrep-dy30gtq0.js → aisdk-native-ytynsydc.js} +7 -7
  283. package/dist/chunks/{ripgrep-ahd542yp.js → aisdk-native-yvvvp4gn.js} +8 -8
  284. package/dist/chunks/{ripgrep-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{ripgrep-kf7s4xja.js → aisdk-native-z761613z.js} +9 -9
  286. package/dist/chunks/{ripgrep-rpg9c19m.js → aisdk-native-zav06jzw.js} +4 -4
  287. package/dist/chunks/{ripgrep-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{ripgrep-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{ripgrep-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +82 -82
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +123 -123
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +82 -82
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +89 -89
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +88 -88
  432. package/dist/generate.js +100 -100
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +87 -87
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +68 -68
  466. package/dist/location-activity.js +134 -134
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +88 -88
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +98 -98
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +99 -99
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +79 -79
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +112 -112
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +83 -83
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +101 -101
  492. package/dist/plugin/command.js +98 -98
  493. package/dist/plugin/compaction.js +130 -130
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +73 -73
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +138 -138
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +2 -2
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +4 -4
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +224 -224
  558. package/dist/project/schema.js +8 -8
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +89 -89
  561. package/dist/provider.js +96 -96
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +91 -91
  566. package/dist/reference/instructions.js +86 -86
  567. package/dist/reference.js +88 -88
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +96 -96
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +131 -131
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +7 -7
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +223 -223
  582. package/dist/session/execution.js +127 -127
  583. package/dist/session/generate.js +150 -150
  584. package/dist/session/history.js +15 -15
  585. package/dist/session/inbox.js +89 -89
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +113 -113
  606. package/dist/session/runner/step.js +125 -125
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +171 -171
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +72 -72
  614. package/dist/session/store.js +86 -86
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +155 -155
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +219 -219
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +219 -219
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +104 -104
  630. package/dist/skill.js +109 -109
  631. package/dist/snapshot.js +92 -92
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +126 -126
  636. package/dist/tool/plugin/edit.js +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +119 -119
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +119 -119
  642. package/dist/tool/plugin/question.js +104 -104
  643. package/dist/tool/plugin/read.js +122 -122
  644. package/dist/tool/plugin/shell.js +216 -216
  645. package/dist/tool/plugin/skill.js +110 -110
  646. package/dist/tool/plugin/subagent.js +216 -216
  647. package/dist/tool/plugin/webfetch.js +109 -109
  648. package/dist/tool/plugin/websearch.js +113 -113
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +14 -14
  654. package/dist/types/tool.d.ts +3 -0
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +7 -7
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +7 -7
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +7 -7
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +92 -92
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +83 -83
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +80 -80
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +79 -79
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +95 -95
  695. package/package.json +8 -8
  696. package/dist/chunks/ripgrep-959fz07v.js +0 -26
  697. package/dist/chunks/ripgrep-bpc11pn8.js +0 -65
  698. package/dist/chunks/ripgrep-cgzmgrgv.js +0 -492
  699. package/dist/chunks/ripgrep-jyfacthb.js +0 -252
  700. package/dist/chunks/ripgrep-pf31ssb9.js +0 -18
  701. /package/dist/chunks/{ripgrep-0mesazry.js → aisdk-native-0mesazry.js} +0 -0
  702. /package/dist/chunks/{ripgrep-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{ripgrep-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{ripgrep-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{ripgrep-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{ripgrep-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{ripgrep-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{ripgrep-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{ripgrep-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{ripgrep-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{ripgrep-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{ripgrep-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
  713. /package/dist/chunks/{ripgrep-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{ripgrep-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{ripgrep-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{ripgrep-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{ripgrep-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{ripgrep-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{ripgrep-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{ripgrep-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
  721. /package/dist/chunks/{ripgrep-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{ripgrep-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
  723. /package/dist/chunks/{ripgrep-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{ripgrep-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{ripgrep-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
  726. /package/dist/chunks/{ripgrep-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{ripgrep-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{ripgrep-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
  729. /package/dist/chunks/{ripgrep-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{ripgrep-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{ripgrep-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{ripgrep-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{ripgrep-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{ripgrep-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{ripgrep-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{ripgrep-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{ripgrep-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{ripgrep-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{ripgrep-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{ripgrep-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{ripgrep-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{ripgrep-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{ripgrep-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{ripgrep-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
  745. /package/dist/chunks/{ripgrep-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{ripgrep-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{ripgrep-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{ripgrep-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{ripgrep-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{ripgrep-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{ripgrep-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{ripgrep-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{ripgrep-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{ripgrep-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{ripgrep-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{ripgrep-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{ripgrep-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
  758. /package/dist/chunks/{ripgrep-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{ripgrep-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
  760. /package/dist/chunks/{ripgrep-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{ripgrep-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
  762. /package/dist/chunks/{ripgrep-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{ripgrep-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{ripgrep-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{ripgrep-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{ripgrep-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{ripgrep-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{ripgrep-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{ripgrep-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{ripgrep-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{ripgrep-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{ripgrep-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{ripgrep-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{ripgrep-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{ripgrep-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{ripgrep-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{ripgrep-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{ripgrep-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{ripgrep-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{ripgrep-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{ripgrep-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{ripgrep-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{ripgrep-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{ripgrep-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{ripgrep-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{ripgrep-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{ripgrep-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{ripgrep-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{ripgrep-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{ripgrep-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
  791. /package/dist/chunks/{ripgrep-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{ripgrep-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{ripgrep-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{ripgrep-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{ripgrep-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{ripgrep-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
@@ -2,47 +2,47 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./ripgrep-922hggd3.js";
5
+ } from "./aisdk-native-922hggd3.js";
6
6
  import {
7
- Service77,
8
- node81
9
- } from "./ripgrep-k58mf6j0.js";
7
+ Service74,
8
+ node78
9
+ } from "./aisdk-native-rkjc101m.js";
10
10
  import {
11
- Service70,
12
- node73
13
- } from "./ripgrep-y5hpfjhw.js";
11
+ Service14,
12
+ node16
13
+ } from "./aisdk-native-4vy3dpyp.js";
14
14
  import {
15
15
  __export
16
- } from "./ripgrep-9rqn6x4v.js";
16
+ } from "./aisdk-native-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
- Entry: () => Entry4,
25
- Event: () => Event19,
24
+ Entry: () => Entry2,
25
+ Event: () => Event2,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
- ListInput: () => ListInput5,
30
+ ListInput: () => ListInput2,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError10,
32
+ NotFoundError: () => NotFoundError2,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service69,
34
+ Service: () => Service13,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node72
38
+ node: () => node15
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
42
42
  import { Context, Effect, Layer, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
44
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
45
- import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
+ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
46
46
  var ReadInput2 = Schema.Struct({
47
47
  path: RelativePath2
48
48
  });
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
58
- var Content3 = Schema.Struct({
58
+ var Content2 = Schema.Struct({
59
59
  uri: Schema.String,
60
60
  name: Schema.String.pipe(Schema.optional),
61
61
  content: Schema.String,
62
62
  encoding: Schema.Literals(["utf8", "base64"]),
63
63
  mime: Schema.String
64
64
  }).annotate({ identifier: "FileSystem.Content" });
65
- var ListInput5 = Schema.Struct({
65
+ var ListInput2 = Schema.Struct({
66
66
  path: Schema.String.pipe(Schema.optional)
67
67
  });
68
68
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event19 = FileSystem.Event;
88
+ var Event2 = FileSystem.Event;
89
89
 
90
- class Service69 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service13 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service69, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
- const location = yield* Service77;
95
- const search = yield* Service70;
94
+ const location = yield* Service74;
95
+ const search = yield* Service14;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service69, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service69.of({
106
+ return Service13.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service69, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node72 = makeLocationNode({
144
- service: Service69,
143
+ var node15 = makeLocationNode({
144
+ service: Service13,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node81, node73]
146
+ deps: [FSUtil.node, node78, node16]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError10, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event19, Service69, node72, exports_filesystem, Entry4, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node15, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -2,31 +2,31 @@ import {
2
2
  Key3,
3
3
  removed2,
4
4
  empty3,
5
- make19,
5
+ make21,
6
6
  diffByKey2
7
- } from "./ripgrep-t550f9t1.js";
7
+ } from "./aisdk-native-s8d7rejh.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./ripgrep-zz1yydc9.js";
10
+ } from "./aisdk-native-4yy7byfr.js";
11
11
  import {
12
- Service31,
13
- node34
14
- } from "./ripgrep-tn3fb21q.js";
12
+ Service39,
13
+ node42
14
+ } from "./aisdk-native-prbagxsk.js";
15
15
  import {
16
16
  namespace2,
17
- name14
18
- } from "./ripgrep-gryp532t.js";
17
+ name13
18
+ } from "./aisdk-native-wf65n15g.js";
19
19
  import {
20
20
  __export
21
- } from "./ripgrep-9rqn6x4v.js";
21
+ } from "./aisdk-native-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
- var exports_instructions4 = {};
25
- __export(exports_instructions4, {
26
- McpInstructions: () => exports_instructions4,
27
- Service: () => Service29,
28
- layer: () => layer12,
29
- node: () => node32
24
+ var exports_instructions3 = {};
25
+ __export(exports_instructions3, {
26
+ McpInstructions: () => exports_instructions3,
27
+ Service: () => Service31,
28
+ layer: () => layer11,
29
+ node: () => node35
30
30
  });
31
31
  import { makeLocationNode } from "@opencode/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,16 +62,16 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service29 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service31 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer12 = Layer.effect(Service29, Effect.gen(function* () {
68
- const mcp = yield* Service31;
69
- return Service29.of({
67
+ var layer11 = Layer.effect(Service31, Effect.gen(function* () {
68
+ const mcp = yield* Service39;
69
+ return Service31.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
- const source = (value) => make19({
74
+ const source = (value) => make21({
75
75
  key: Key3.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
90
90
  const codemode = owned[0]?.codemode !== false;
91
91
  if (codemode && !canExecute)
92
92
  return [];
93
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
93
+ if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
94
94
  return [];
95
95
  return [
96
96
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node32 = makeLocationNode({ service: Service29, layer: layer12, deps: [node34] });
103
+ var node35 = makeLocationNode({ service: Service31, layer: layer11, deps: [node42] });
104
104
 
105
- export { Service29, layer12, node32, exports_instructions4 };
105
+ export { Service31, layer11, node35, exports_instructions3 };
@@ -1,54 +1,54 @@
1
- import {
2
- Service79,
3
- node83
4
- } from "./ripgrep-2mkxn96z.js";
5
1
  import {
6
2
  Service82,
7
3
  node86
8
- } from "./ripgrep-afed7ext.js";
4
+ } from "./aisdk-native-eh031js9.js";
5
+ import {
6
+ Service76,
7
+ node80
8
+ } from "./aisdk-native-893r7tvp.js";
9
9
  import {
10
- Service77,
11
- node81
12
- } from "./ripgrep-k58mf6j0.js";
10
+ Service74,
11
+ node78
12
+ } from "./aisdk-native-rkjc101m.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./ripgrep-pf31ssb9.js";
15
+ } from "./aisdk-native-rap9a73h.js";
16
16
  import {
17
- Service43,
18
- node47
19
- } from "./ripgrep-d17v2seq.js";
17
+ Service70,
18
+ node74
19
+ } from "./aisdk-native-yd82269j.js";
20
20
  import {
21
- node19
22
- } from "./ripgrep-5y91esw8.js";
21
+ node22
22
+ } from "./aisdk-native-dy466qfe.js";
23
23
  import {
24
- Service10,
25
- node12
26
- } from "./ripgrep-djszqvmq.js";
24
+ Service11,
25
+ node13
26
+ } from "./aisdk-native-2sejkfem.js";
27
27
  import {
28
28
  __export
29
- } from "./ripgrep-9rqn6x4v.js";
29
+ } from "./aisdk-native-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
33
33
  __export(exports_location_watcher, {
34
34
  LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service2,
36
- node: () => node2
35
+ Service: () => Service5,
36
+ node: () => node6
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service2 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service5 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service2, Effect.gen(function* () {
46
- const location = yield* Service77;
47
- const watcher = yield* Service43;
48
- const bus = yield* Service79;
45
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
46
+ const location = yield* Service74;
47
+ const watcher = yield* Service70;
48
+ const bus = yield* Service82;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
51
- const policy = yield* Service10;
50
+ const git = yield* Service76;
51
+ const policy = yield* Service11;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service2.of({});
103
+ return Service5.of({});
104
104
  }));
105
- var node2 = makeLocationNode({
106
- service: Service2,
105
+ var node6 = makeLocationNode({
106
+ service: Service5,
107
107
  layer,
108
- deps: [node47, FSUtil.node, node81, node86, node83, node19, node12]
108
+ deps: [node74, FSUtil.node, node78, node80, node86, node22, node13]
109
109
  });
110
110
 
111
- export { Service2, node2, exports_location_watcher };
111
+ export { Service5, node6, exports_location_watcher };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-exclusion.ts
6
6
  var exports_mcp_codemode_exclusion = {};
7
7
  __export(exports_mcp_codemode_exclusion, {
8
8
  McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
9
- Plugin: () => Plugin12
9
+ Plugin: () => Plugin17
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
- var Plugin12 = define({
14
+ var Plugin17 = define({
15
15
  id: "opencode.mcp.codemode.exclusion",
16
16
  effect: Effect.fn(function* (ctx) {
17
17
  yield* ctx.mcp.transform((editor) => {
@@ -34,4 +34,4 @@ var Plugin12 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin12, exports_mcp_codemode_exclusion };
37
+ export { Plugin17, exports_mcp_codemode_exclusion };
@@ -0,0 +1,252 @@
1
+ import {
2
+ node64
3
+ } from "./aisdk-native-6ma6tmn5.js";
4
+ import {
5
+ node82
6
+ } from "./aisdk-native-ca6j6eah.js";
7
+ import {
8
+ node81
9
+ } from "./aisdk-native-jw132d3y.js";
10
+ import {
11
+ node78,
12
+ boundNode2
13
+ } from "./aisdk-native-rkjc101m.js";
14
+ import {
15
+ node77
16
+ } from "./aisdk-native-4nm3cgsd.js";
17
+ import {
18
+ node68
19
+ } from "./aisdk-native-z761613z.js";
20
+ import {
21
+ node76
22
+ } from "./aisdk-native-hm0evkep.js";
23
+ import {
24
+ node65
25
+ } from "./aisdk-native-k6sp08p6.js";
26
+ import {
27
+ configured10,
28
+ node73
29
+ } from "./aisdk-native-aefmpby3.js";
30
+ import {
31
+ node48
32
+ } from "./aisdk-native-1eys957h.js";
33
+ import {
34
+ node18
35
+ } from "./aisdk-native-fgzz64pf.js";
36
+ import {
37
+ node29
38
+ } from "./aisdk-native-da31v1fa.js";
39
+ import {
40
+ node16
41
+ } from "./aisdk-native-4vy3dpyp.js";
42
+ import {
43
+ node15
44
+ } from "./aisdk-native-twj7rfp0.js";
45
+ import {
46
+ node67
47
+ } from "./aisdk-native-8p3z1z1q.js";
48
+ import {
49
+ node26
50
+ } from "./aisdk-native-be9tjw7k.js";
51
+ import {
52
+ node57
53
+ } from "./aisdk-native-be2hac41.js";
54
+ import {
55
+ node42
56
+ } from "./aisdk-native-prbagxsk.js";
57
+ import {
58
+ Service50,
59
+ node54
60
+ } from "./aisdk-native-fk8xkx28.js";
61
+ import {
62
+ node36
63
+ } from "./aisdk-native-1agxs8qz.js";
64
+ import {
65
+ node63
66
+ } from "./aisdk-native-xncgd71c.js";
67
+ import {
68
+ node60
69
+ } from "./aisdk-native-4yy7byfr.js";
70
+ import {
71
+ node55
72
+ } from "./aisdk-native-qgmd0z72.js";
73
+ import {
74
+ configured9,
75
+ node71
76
+ } from "./aisdk-native-q3c2jmmf.js";
77
+ import {
78
+ node38
79
+ } from "./aisdk-native-5jma6wsm.js";
80
+ import {
81
+ node44
82
+ } from "./aisdk-native-phzsxtff.js";
83
+ import {
84
+ node39
85
+ } from "./aisdk-native-wf65n15g.js";
86
+ import {
87
+ node43
88
+ } from "./aisdk-native-fy1zrqyn.js";
89
+ import {
90
+ node37
91
+ } from "./aisdk-native-4t6vtd3e.js";
92
+ import {
93
+ node59
94
+ } from "./aisdk-native-qzhapjzb.js";
95
+ import {
96
+ node34
97
+ } from "./aisdk-native-jxf4tgs5.js";
98
+ import {
99
+ node33
100
+ } from "./aisdk-native-tt6xt5e9.js";
101
+ import {
102
+ node66
103
+ } from "./aisdk-native-bnzay7e1.js";
104
+ import {
105
+ node70
106
+ } from "./aisdk-native-dw5z7z4w.js";
107
+ import {
108
+ node47
109
+ } from "./aisdk-native-7m9x3c92.js";
110
+ import {
111
+ node45
112
+ } from "./aisdk-native-bak8mr3b.js";
113
+ import {
114
+ node27
115
+ } from "./aisdk-native-faxym4p7.js";
116
+ import {
117
+ node23
118
+ } from "./aisdk-native-s93p5fgj.js";
119
+ import {
120
+ node84
121
+ } from "./aisdk-native-yk07gt9m.js";
122
+ import {
123
+ node25
124
+ } from "./aisdk-native-pdm49dqy.js";
125
+ import {
126
+ node22
127
+ } from "./aisdk-native-dy466qfe.js";
128
+ import {
129
+ node6
130
+ } from "./aisdk-native-v1yx87k2.js";
131
+ import {
132
+ Service18,
133
+ node20
134
+ } from "./aisdk-native-vh42dt1g.js";
135
+ import {
136
+ node28
137
+ } from "./aisdk-native-2nz9yxvz.js";
138
+ import {
139
+ node3,
140
+ bound2
141
+ } from "./aisdk-native-5yzzbxa7.js";
142
+ import {
143
+ node14
144
+ } from "./aisdk-native-73gf1wwg.js";
145
+ import {
146
+ node9
147
+ } from "./aisdk-native-e7angbes.js";
148
+ import {
149
+ node10
150
+ } from "./aisdk-native-7n1bk2y3.js";
151
+ import {
152
+ node2
153
+ } from "./aisdk-native-m214n8z9.js";
154
+ import {
155
+ node19
156
+ } from "./aisdk-native-qhj8jn65.js";
157
+ import {
158
+ node8
159
+ } from "./aisdk-native-t3mxyr11.js";
160
+ import {
161
+ node7
162
+ } from "./aisdk-native-11bbsyb4.js";
163
+ import {
164
+ __export
165
+ } from "./aisdk-native-9rqn6x4v.js";
166
+
167
+ // src/instance.ts
168
+ var exports_instance = {};
169
+ __export(exports_instance, {
170
+ Instance: () => exports_instance,
171
+ Service: () => Service50,
172
+ graph: () => graph2,
173
+ layer: () => layer2,
174
+ node: () => node54
175
+ });
176
+ import { Context, Effect, Layer } from "effect";
177
+ import { LayerNode } from "@opencode/util/effect/layer-node";
178
+ import { Node } from "@opencode/util/effect/app-node";
179
+ var nodes = [
180
+ node78,
181
+ node20,
182
+ node48,
183
+ node73,
184
+ node64,
185
+ node65,
186
+ node43,
187
+ node27,
188
+ node84,
189
+ node81,
190
+ node77,
191
+ node76,
192
+ node67,
193
+ node68,
194
+ node22,
195
+ node63,
196
+ node3,
197
+ node2,
198
+ node25,
199
+ node16,
200
+ node15,
201
+ node70,
202
+ node19,
203
+ node45,
204
+ node59,
205
+ node38,
206
+ node71,
207
+ node28,
208
+ node18,
209
+ node29,
210
+ node42,
211
+ node60,
212
+ node44,
213
+ node47,
214
+ node57,
215
+ node34,
216
+ node37,
217
+ node36,
218
+ node82,
219
+ node26,
220
+ node10,
221
+ node39,
222
+ node9,
223
+ node55,
224
+ node14,
225
+ node8,
226
+ node33,
227
+ node66,
228
+ node7,
229
+ node23,
230
+ node6
231
+ ];
232
+ var graph2 = LayerNode.group(nodes);
233
+ var vanillaReplacements = [
234
+ node73.replace(configured10({ project: false, global: false })),
235
+ node71.replace(configured9({ project: false, global: false }))
236
+ ];
237
+ function layer2(ref, options = {}) {
238
+ const startedAt = performance.now();
239
+ const replacements = [
240
+ ...options.discovery === false ? vanillaReplacements : [],
241
+ ...options.replacements ?? [],
242
+ node78.replace(boundNode2(ref, { discovery: options.discovery })),
243
+ node3.replace(bound2(options.plugins ?? []))
244
+ ];
245
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service18).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
246
+ directory: ref.directory,
247
+ workspaceID: ref.workspaceID,
248
+ durationMs: Math.round(performance.now() - startedAt)
249
+ })));
250
+ }
251
+
252
+ export { graph2, layer2, exports_instance };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./ripgrep-ym463w8f.js";
3
+ } from "./aisdk-native-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -0,0 +1,65 @@
1
+ import {
2
+ Service82,
3
+ node86
4
+ } from "./aisdk-native-eh031js9.js";
5
+ import {
6
+ Service78,
7
+ node82
8
+ } from "./aisdk-native-ca6j6eah.js";
9
+ import {
10
+ Ref3,
11
+ Service74,
12
+ node78
13
+ } from "./aisdk-native-rkjc101m.js";
14
+ import {
15
+ Service56,
16
+ node60
17
+ } from "./aisdk-native-4yy7byfr.js";
18
+ import {
19
+ Service24,
20
+ node27
21
+ } from "./aisdk-native-faxym4p7.js";
22
+ import {
23
+ __export
24
+ } from "./aisdk-native-9rqn6x4v.js";
25
+
26
+ // src/location-lifecycle.ts
27
+ var exports_location_lifecycle = {};
28
+ __export(exports_location_lifecycle, {
29
+ LocationLifecycle: () => exports_location_lifecycle,
30
+ Service: () => Service18,
31
+ node: () => node20
32
+ });
33
+ import { Context, Effect, Layer } from "effect";
34
+ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
+ import { LocationEvent } from "@opencode/schema/location-event";
36
+ class Service18 extends Context.Service()("@opencode/LocationLifecycle") {
37
+ }
38
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
39
+ const bus = yield* Service82;
40
+ const location = yield* Service74;
41
+ const permission = yield* Service56;
42
+ const forms = yield* Service78;
43
+ const rpc = yield* Service24;
44
+ let closed = false;
45
+ const shutdown = yield* Effect.cached(Effect.gen(function* () {
46
+ closed = true;
47
+ yield* permission.close;
48
+ yield* forms.close;
49
+ yield* rpc.close;
50
+ yield* bus.publish(LocationEvent.Shutdown, {}, {
51
+ location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
52
+ });
53
+ }).pipe(Effect.uninterruptible));
54
+ return Service18.of({
55
+ isClosed: () => closed,
56
+ shutdown
57
+ });
58
+ }));
59
+ var node20 = makeLocationNode({
60
+ service: Service18,
61
+ layer,
62
+ deps: [node86, node78, node60, node82, node27]
63
+ });
64
+
65
+ export { Service18, node20, exports_location_lifecycle };