@opencode/core 0.0.0-dev-20187 → 0.0.0-dev-20189

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 (803) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{file-access-mvfdckk2.js → managed-policy-07770t2t.js} +4 -4
  8. package/dist/chunks/{file-access-1gd8g1kd.js → managed-policy-0a1eevr3.js} +21 -21
  9. package/dist/chunks/{file-access-xz29hvcb.js → managed-policy-0bzgh1ra.js} +8 -8
  10. package/dist/chunks/{file-access-h6gdmyf8.js → managed-policy-0ckwnra1.js} +26 -26
  11. package/dist/chunks/managed-policy-0mesazry.js +4 -0
  12. package/dist/chunks/{file-access-gpk600j1.js → managed-policy-0mm9aq32.js} +13 -13
  13. package/dist/chunks/{file-access-0paq2nw3.js → managed-policy-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-access-d5ggx3gj.js → managed-policy-0tgsh6wb.js} +3 -3
  15. package/dist/chunks/{file-access-zr4a2xz6.js → managed-policy-0wqwwdc3.js} +48 -48
  16. package/dist/chunks/{file-access-pnqe9gv0.js → managed-policy-0yzk9hp5.js} +1 -1
  17. package/dist/chunks/{file-access-za77p82n.js → managed-policy-1be6dza8.js} +6 -6
  18. package/dist/chunks/{file-access-1dazxqgg.js → managed-policy-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{file-access-5zarf4w6.js → managed-policy-1hwmn15w.js} +10 -10
  20. package/dist/chunks/{file-access-nb97snw5.js → managed-policy-1jb4d023.js} +15 -15
  21. package/dist/chunks/{file-access-7f2vjcwv.js → managed-policy-1v7cd3cq.js} +18 -18
  22. package/dist/chunks/{file-access-yw2ajja7.js → managed-policy-1v8reh4w.js} +3 -3
  23. package/dist/chunks/{file-access-ksear8pa.js → managed-policy-1ztyjhqq.js} +24 -24
  24. package/dist/chunks/{file-access-21r38tys.js → managed-policy-21r38tys.js} +1 -1
  25. package/dist/chunks/{file-access-2402vzrj.js → managed-policy-2402vzrj.js} +1 -1
  26. package/dist/chunks/{file-access-ksxfp18t.js → managed-policy-2863ew87.js} +29 -29
  27. package/dist/chunks/{file-access-29x78va6.js → managed-policy-29x78va6.js} +2 -2
  28. package/dist/chunks/{file-access-ssfqen5b.js → managed-policy-2a1w5wq2.js} +24 -24
  29. package/dist/chunks/{file-access-2a5m3afh.js → managed-policy-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{file-access-3cfzdc8e.js → managed-policy-2f0bjgcj.js} +5 -5
  31. package/dist/chunks/{file-access-x3avqwht.js → managed-policy-2j13chjm.js} +4 -4
  32. package/dist/chunks/{file-access-2k8khapm.js → managed-policy-2k8khapm.js} +1 -1
  33. package/dist/chunks/{file-access-5btey1ak.js → managed-policy-2wzvfsyc.js} +9 -9
  34. package/dist/chunks/{file-access-pgwpntn4.js → managed-policy-33xvpn5s.js} +4 -4
  35. package/dist/chunks/{file-access-v4jzz8kz.js → managed-policy-358c23mq.js} +13 -13
  36. package/dist/chunks/{file-access-z3nay82g.js → managed-policy-3b9qt4hj.js} +9 -9
  37. package/dist/chunks/{file-access-ermxvwhp.js → managed-policy-3ewed21c.js} +4 -4
  38. package/dist/chunks/{file-access-3fc6dm20.js → managed-policy-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{file-access-j07veqf6.js → managed-policy-3gapn5nw.js} +20 -20
  40. package/dist/chunks/{file-access-3hepkmqq.js → managed-policy-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{file-access-qg0jgkcp.js → managed-policy-3pe7sts8.js} +9 -9
  42. package/dist/chunks/{file-access-3smtnn6g.js → managed-policy-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{file-access-3tvqynh2.js → managed-policy-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{file-access-5982ss3w.js → managed-policy-3xphndqd.js} +10 -10
  45. package/dist/chunks/{file-access-3zsf4n22.js → managed-policy-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{file-access-xsxds6qn.js → managed-policy-41bs2fpb.js} +170 -170
  47. package/dist/chunks/{file-access-ynz8wf59.js → managed-policy-43wm6kz7.js} +15 -15
  48. package/dist/chunks/managed-policy-45th5jwr.js +18 -0
  49. package/dist/chunks/{file-access-h6r3nrb9.js → managed-policy-4dgbcxzg.js} +4 -4
  50. package/dist/chunks/{file-access-me78x99w.js → managed-policy-4j58h7ky.js} +30 -30
  51. package/dist/chunks/{file-access-9jcbxg0k.js → managed-policy-4k2rghe9.js} +21 -21
  52. package/dist/chunks/{file-access-nddt17wd.js → managed-policy-4kzyxb26.js} +15 -15
  53. package/dist/chunks/{file-access-0trjvgwz.js → managed-policy-4p6crha5.js} +12 -12
  54. package/dist/chunks/{file-access-4acqjqp7.js → managed-policy-4s3tx91s.js} +14 -14
  55. package/dist/chunks/{file-access-efd5z8ny.js → managed-policy-4sas3krp.js} +14 -14
  56. package/dist/chunks/{file-access-bdy3xwvm.js → managed-policy-4zak5cvq.js} +9 -9
  57. package/dist/chunks/{file-access-09p5dswj.js → managed-policy-50dag6g8.js} +29 -29
  58. package/dist/chunks/{file-access-962mx99c.js → managed-policy-52kry9ag.js} +25 -25
  59. package/dist/chunks/{file-access-mfqp6xfm.js → managed-policy-56gdpj1q.js} +6 -6
  60. package/dist/chunks/{file-access-57ez7d0k.js → managed-policy-57ez7d0k.js} +2 -2
  61. package/dist/chunks/{file-access-337y9ajx.js → managed-policy-58fdabks.js} +11 -11
  62. package/dist/chunks/{file-access-jexxy024.js → managed-policy-5cmxdwv8.js} +3 -3
  63. package/dist/chunks/{file-access-5daktx2q.js → managed-policy-5daktx2q.js} +1 -1
  64. package/dist/chunks/{file-access-0egx9fcg.js → managed-policy-5eb3a1ca.js} +12 -12
  65. package/dist/chunks/{file-access-e7b5xck2.js → managed-policy-5rt30t11.js} +18 -18
  66. package/dist/chunks/{file-access-5t3nmthw.js → managed-policy-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{file-access-9syxb0r3.js → managed-policy-5x0vc0vb.js} +11 -11
  68. package/dist/chunks/{file-access-xcd0eash.js → managed-policy-63xctefh.js} +6 -6
  69. package/dist/chunks/{file-access-zrfdpbnq.js → managed-policy-65dg9dkc.js} +26 -26
  70. package/dist/chunks/{file-access-669tq793.js → managed-policy-669tq793.js} +1 -1
  71. package/dist/chunks/{file-access-p37cw4rj.js → managed-policy-6f890ccd.js} +8 -8
  72. package/dist/chunks/{file-access-me9yfmm8.js → managed-policy-6m48a2t7.js} +5 -5
  73. package/dist/chunks/{file-access-6msgmcgs.js → managed-policy-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{file-access-dwgwpymj.js → managed-policy-6n9z0a9w.js} +11 -11
  75. package/dist/chunks/{file-access-k2w2e4qt.js → managed-policy-6qyvmb4v.js} +5 -5
  76. package/dist/chunks/{file-access-mvfsc1pv.js → managed-policy-73tb2d7t.js} +3 -3
  77. package/dist/chunks/{file-access-s6cz2hhw.js → managed-policy-779bqasr.js} +19 -19
  78. package/dist/chunks/{file-access-pcmh8n4s.js → managed-policy-77j23m7r.js} +8 -8
  79. package/dist/chunks/{file-access-r2m716tb.js → managed-policy-79qaa2kf.js} +9 -9
  80. package/dist/chunks/{file-access-hg429xeg.js → managed-policy-79zjhypg.js} +10 -10
  81. package/dist/chunks/{file-access-mkd90k1k.js → managed-policy-7aentnvm.js} +11 -11
  82. package/dist/chunks/{file-access-7bmhse3q.js → managed-policy-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{file-access-8sze2n9a.js → managed-policy-7fkffz83.js} +8 -8
  84. package/dist/chunks/{file-access-m6yz57p5.js → managed-policy-7fpb7792.js} +13 -13
  85. package/dist/chunks/{file-access-e12qqq59.js → managed-policy-7rcm28ha.js} +44 -44
  86. package/dist/chunks/{file-access-1q0j3phs.js → managed-policy-7tc1349b.js} +17 -17
  87. package/dist/chunks/{file-access-mktjswcw.js → managed-policy-7yrswys2.js} +33 -33
  88. package/dist/chunks/{file-access-0ban4q7j.js → managed-policy-80m7jm0y.js} +16 -16
  89. package/dist/chunks/{file-access-8d7r5vzw.js → managed-policy-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{file-access-qje44bf3.js → managed-policy-8p29yw8h.js} +3 -3
  91. package/dist/chunks/{file-access-4p4fv3qj.js → managed-policy-8q6wx5qs.js} +16 -16
  92. package/dist/chunks/{file-access-7rwqf82v.js → managed-policy-91p1v22t.js} +8 -8
  93. package/dist/chunks/{file-access-94ek1h2f.js → managed-policy-94ek1h2f.js} +2 -2
  94. package/dist/chunks/{file-access-6mvtq6c7.js → managed-policy-97fxhqfr.js} +16 -16
  95. package/dist/chunks/{file-access-0h3wrvqa.js → managed-policy-9cb7xadb.js} +1 -1
  96. package/dist/chunks/{file-access-vttwzxbr.js → managed-policy-9g951eg1.js} +6 -6
  97. package/dist/chunks/{file-access-mce70z9k.js → managed-policy-9qm1sam9.js} +2 -2
  98. package/dist/chunks/{file-access-c3jkddnq.js → managed-policy-9skf8tre.js} +3 -3
  99. package/dist/chunks/{file-access-nen0t6m1.js → managed-policy-9tv440c6.js} +16 -16
  100. package/dist/chunks/{file-access-ratrq7cm.js → managed-policy-a46v4e4v.js} +4 -4
  101. package/dist/chunks/{file-access-tvve5xjy.js → managed-policy-a4rc8qx2.js} +4 -4
  102. package/dist/chunks/{file-access-hnwbm56y.js → managed-policy-a7pzzedx.js} +4 -4
  103. package/dist/chunks/{file-access-aaet6srn.js → managed-policy-aaet6srn.js} +2 -2
  104. package/dist/chunks/{file-access-xxndcd6m.js → managed-policy-afjydgk3.js} +4 -4
  105. package/dist/chunks/{file-access-drq6bgth.js → managed-policy-aj3jkc19.js} +38 -38
  106. package/dist/chunks/{file-access-1258x4qk.js → managed-policy-ax4vhxp3.js} +22 -22
  107. package/dist/chunks/{file-access-t51qk8jz.js → managed-policy-axmvebxj.js} +4 -4
  108. package/dist/chunks/{file-access-efq6bxpk.js → managed-policy-ayb2ep33.js} +3 -3
  109. package/dist/chunks/{file-access-f4mxeny4.js → managed-policy-ayny3xs7.js} +7 -7
  110. package/dist/chunks/{file-access-gas93twd.js → managed-policy-az8hvwf1.js} +35 -35
  111. package/dist/chunks/{file-access-b6gygkdw.js → managed-policy-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{file-access-49exe669.js → managed-policy-b7b4ctej.js} +5 -5
  113. package/dist/chunks/{file-access-pekdjahx.js → managed-policy-bh832hz7.js} +9 -9
  114. package/dist/chunks/{file-access-2qq7qy34.js → managed-policy-bvtf22kj.js} +3 -3
  115. package/dist/chunks/{file-access-27f0zk48.js → managed-policy-bxdgsfjb.js} +43 -43
  116. package/dist/chunks/{file-access-0jq9fyba.js → managed-policy-bzgcn0jp.js} +9 -9
  117. package/dist/chunks/{file-access-vsx3errm.js → managed-policy-c2xmwhf7.js} +12 -12
  118. package/dist/chunks/{file-access-31sqvd3m.js → managed-policy-c4rjy2bg.js} +11 -11
  119. package/dist/chunks/{file-access-zcdn9qkv.js → managed-policy-c937fekk.js} +49 -49
  120. package/dist/chunks/{file-access-118e1mbr.js → managed-policy-cbqhpk3g.js} +5 -5
  121. package/dist/chunks/{file-access-2yf0aazv.js → managed-policy-cgz7622g.js} +12 -12
  122. package/dist/chunks/{file-access-ckecvw8r.js → managed-policy-ckecvw8r.js} +2 -2
  123. package/dist/chunks/{file-access-zsycvhqj.js → managed-policy-cvb5keb3.js} +7 -7
  124. package/dist/chunks/{file-access-shcbc0mr.js → managed-policy-d3egrn39.js} +42 -42
  125. package/dist/chunks/{file-access-z8ckggf1.js → managed-policy-de8e9bjw.js} +18 -18
  126. package/dist/chunks/{file-access-dq0v80fr.js → managed-policy-dq0v80fr.js} +5 -5
  127. package/dist/chunks/{file-access-bm9d9rgc.js → managed-policy-dqrrnxrw.js} +9 -9
  128. package/dist/chunks/{file-access-w9xbefsq.js → managed-policy-dzh8x6fa.js} +13 -13
  129. package/dist/chunks/{file-access-k88pt7np.js → managed-policy-e6ztxka3.js} +23 -23
  130. package/dist/chunks/{file-access-ecfe7b91.js → managed-policy-ecfe7b91.js} +2 -2
  131. package/dist/chunks/{file-access-r4k1wyhr.js → managed-policy-eexrnx7t.js} +3 -3
  132. package/dist/chunks/{file-access-ef5x83kb.js → managed-policy-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{file-access-rw4r7gj7.js → managed-policy-emh3z3ge.js} +11 -11
  134. package/dist/chunks/{file-access-vx9wnsws.js → managed-policy-etgjzd5h.js} +9 -9
  135. package/dist/chunks/{file-access-etq0c3wd.js → managed-policy-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{file-access-fhwwmt3w.js → managed-policy-eyftq924.js} +20 -20
  137. package/dist/chunks/{file-access-sea28k5q.js → managed-policy-f32czd11.js} +5 -5
  138. package/dist/chunks/{file-access-q9nke688.js → managed-policy-f45ayqgj.js} +15 -15
  139. package/dist/chunks/{file-access-j34awfj4.js → managed-policy-fdbr74vy.js} +10 -10
  140. package/dist/chunks/{file-access-cnmnpfzq.js → managed-policy-fhn4dbfy.js} +41 -41
  141. package/dist/chunks/{file-access-frvysw6e.js → managed-policy-fhqgg6b3.js} +15 -15
  142. package/dist/chunks/{file-access-c9mjmcgp.js → managed-policy-fj1y74vg.js} +5 -5
  143. package/dist/chunks/{file-access-2rb43g2j.js → managed-policy-fx8ver8w.js} +5 -5
  144. package/dist/chunks/{file-access-21z43ch8.js → managed-policy-fz9j70nw.js} +11 -11
  145. package/dist/chunks/{file-access-qnshbhpz.js → managed-policy-fzg6ycaf.js} +8 -8
  146. package/dist/chunks/{file-access-34d8h93h.js → managed-policy-g50vnnvq.js} +17 -17
  147. package/dist/chunks/{file-access-x8b8vvbw.js → managed-policy-g5kh2xcz.js} +13 -13
  148. package/dist/chunks/{file-access-sb2mhttb.js → managed-policy-gc2hdxyk.js} +15 -15
  149. package/dist/chunks/{file-access-vrpz8t5t.js → managed-policy-gcavn3wx.js} +5 -5
  150. package/dist/chunks/{file-access-gd4qta3r.js → managed-policy-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{file-access-gv6a8nnw.js → managed-policy-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{file-access-mcg4cdmb.js → managed-policy-h2vwxax4.js} +35 -35
  153. package/dist/chunks/{file-access-h6vf3j39.js → managed-policy-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{file-access-4w5bpbdf.js → managed-policy-h8jhh88t.js} +2 -2
  155. package/dist/chunks/{file-access-0pr3hkd7.js → managed-policy-h9wp8z5w.js} +24 -7
  156. package/dist/chunks/{file-access-t8ssh1sh.js → managed-policy-heah1624.js} +16 -16
  157. package/dist/chunks/{file-access-hcz3zddy.js → managed-policy-hnr5yq9h.js} +5 -5
  158. package/dist/chunks/managed-policy-hxyc6rm4.js +26 -0
  159. package/dist/chunks/managed-policy-hybrcz9k.js +252 -0
  160. package/dist/chunks/managed-policy-j1j7mnwh.js +511 -0
  161. package/dist/chunks/{file-access-bfpeh5ef.js → managed-policy-j2g94gkj.js} +31 -31
  162. package/dist/chunks/{file-access-j56e64zr.js → managed-policy-j56e64zr.js} +1 -1
  163. package/dist/chunks/{file-access-fdth3mr3.js → managed-policy-j57veafx.js} +10 -10
  164. package/dist/chunks/{file-access-hr1w2mm6.js → managed-policy-j6mhcfxe.js} +30 -30
  165. package/dist/chunks/{file-access-jahf9mby.js → managed-policy-jaj4szq5.js} +19 -19
  166. package/dist/chunks/{file-access-fjvydvzm.js → managed-policy-jbjr1a4g.js} +6 -6
  167. package/dist/chunks/{file-access-wefk1wqt.js → managed-policy-jdvq2jhf.js} +36 -36
  168. package/dist/chunks/{file-access-0gtypekj.js → managed-policy-jf81njd6.js} +34 -34
  169. package/dist/chunks/{file-access-s9q1cvsk.js → managed-policy-jwp2njjg.js} +14 -14
  170. package/dist/chunks/{file-access-x4sthz2w.js → managed-policy-kjxkk3w4.js} +20 -20
  171. package/dist/chunks/{file-access-ctsbw3ys.js → managed-policy-ks8ntyh3.js} +23 -23
  172. package/dist/chunks/{file-access-6jq3w683.js → managed-policy-kskqm6d2.js} +48 -48
  173. package/dist/chunks/{file-access-4aq4ypfe.js → managed-policy-kswh8eer.js} +24 -24
  174. package/dist/chunks/{file-access-1sbn9mmf.js → managed-policy-m1pdnfay.js} +13 -13
  175. package/dist/chunks/{file-access-m3fdjcah.js → managed-policy-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{file-access-f7zky7ve.js → managed-policy-m4me88d9.js} +22 -22
  177. package/dist/chunks/{file-access-8gxqpgph.js → managed-policy-m70sbz6t.js} +4 -4
  178. package/dist/chunks/{file-access-m9w0rfyh.js → managed-policy-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{file-access-b5jzj1yj.js → managed-policy-magd1yzt.js} +4 -4
  180. package/dist/chunks/{file-access-154cngd0.js → managed-policy-mbt0r9ns.js} +11 -11
  181. package/dist/chunks/{file-access-7z82321y.js → managed-policy-mex4hcth.js} +11 -11
  182. package/dist/chunks/{file-access-6ba3re5s.js → managed-policy-mgphmkeb.js} +17 -17
  183. package/dist/chunks/{file-access-0bp4e21p.js → managed-policy-mvcs6n85.js} +3 -3
  184. package/dist/chunks/{file-access-mvksx64m.js → managed-policy-mvksx64m.js} +4 -4
  185. package/dist/chunks/{file-access-mts3tp2a.js → managed-policy-n02pcqqr.js} +26 -26
  186. package/dist/chunks/{file-access-18yef4q6.js → managed-policy-n6x86dnt.js} +16 -16
  187. package/dist/chunks/{file-access-m7ygnyv0.js → managed-policy-n936hzck.js} +68 -68
  188. package/dist/chunks/{file-access-8txb2b8x.js → managed-policy-n986xf23.js} +9 -9
  189. package/dist/chunks/{file-access-23a4zp69.js → managed-policy-nakmx0qk.js} +5 -5
  190. package/dist/chunks/{file-access-65p03r80.js → managed-policy-naww4dxg.js} +20 -20
  191. package/dist/chunks/{file-access-nfhxq8kb.js → managed-policy-nftbrb0j.js} +20 -20
  192. package/dist/chunks/{file-access-906a7jx9.js → managed-policy-ng9vjhd1.js} +5 -5
  193. package/dist/chunks/{file-access-k3c624dm.js → managed-policy-nzks3jc8.js} +3 -3
  194. package/dist/chunks/{file-access-k1s0srkb.js → managed-policy-phbyh0a5.js} +10 -10
  195. package/dist/chunks/{file-access-pjvnvgmy.js → managed-policy-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{file-access-pknna89w.js → managed-policy-pknna89w.js} +1 -1
  197. package/dist/chunks/{file-access-mxr1v1s0.js → managed-policy-pq9y5n5m.js} +8 -8
  198. package/dist/chunks/{file-access-ahj96hsx.js → managed-policy-ptr74we0.js} +3 -3
  199. package/dist/chunks/{file-access-w5fm9rj9.js → managed-policy-pw638tag.js} +14 -14
  200. package/dist/chunks/{file-access-negvxphk.js → managed-policy-pz6e2nts.js} +45 -45
  201. package/dist/chunks/{file-access-y4w844dc.js → managed-policy-q0dv4cw2.js} +88 -88
  202. package/dist/chunks/{file-access-vfn0gt82.js → managed-policy-q2kn9tye.js} +5 -5
  203. package/dist/chunks/{file-access-tdhdvv51.js → managed-policy-q6e4tnqb.js} +9 -9
  204. package/dist/chunks/{file-access-akhdm1q5.js → managed-policy-q8h29z87.js} +26 -26
  205. package/dist/chunks/{file-access-zq6stcrg.js → managed-policy-qm7jrdpz.js} +8 -8
  206. package/dist/chunks/{file-access-xfkkasph.js → managed-policy-qqeeq2t9.js} +7 -7
  207. package/dist/chunks/{file-access-qsdy395h.js → managed-policy-qsdy395h.js} +1 -1
  208. package/dist/chunks/{file-access-p2drbkg5.js → managed-policy-qsxdxqt3.js} +20 -20
  209. package/dist/chunks/{file-access-9xe9qmj9.js → managed-policy-qsy7t4zk.js} +30 -30
  210. package/dist/chunks/{file-access-eb4gdybs.js → managed-policy-qwjtejvm.js} +20 -20
  211. package/dist/chunks/{file-access-93g208q1.js → managed-policy-qxm4jarf.js} +14 -14
  212. package/dist/chunks/{file-access-1a6p2twq.js → managed-policy-r98e92ep.js} +4 -4
  213. package/dist/chunks/{file-access-w7kk730q.js → managed-policy-r9gspksd.js} +33 -33
  214. package/dist/chunks/{file-access-v9pkbxww.js → managed-policy-rbnn75vf.js} +19 -19
  215. package/dist/chunks/{file-access-rxpah76v.js → managed-policy-rdjy4bhh.js} +22 -22
  216. package/dist/chunks/{file-access-rdw6cm16.js → managed-policy-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{file-access-98zr84gz.js → managed-policy-rf9mgppd.js} +30 -30
  218. package/dist/chunks/{file-access-z19z2vt9.js → managed-policy-rgtsr3hh.js} +13 -13
  219. package/dist/chunks/{file-access-rhjbct0v.js → managed-policy-rhjbct0v.js} +1 -1
  220. package/dist/chunks/{file-access-gzq5apsj.js → managed-policy-rk7s9xkn.js} +4 -4
  221. package/dist/chunks/{file-access-p0b4ytnr.js → managed-policy-rph3zd4r.js} +6 -6
  222. package/dist/chunks/{file-access-z6p2s66k.js → managed-policy-rswb1apg.js} +11 -11
  223. package/dist/chunks/{file-access-3cbqyyyx.js → managed-policy-s1beqvy1.js} +13 -13
  224. package/dist/chunks/{file-access-s4enseaf.js → managed-policy-s4enseaf.js} +2 -2
  225. package/dist/chunks/{file-access-yp1ke19a.js → managed-policy-sdk1fzq5.js} +15 -15
  226. package/dist/chunks/{file-access-ec0abva6.js → managed-policy-sqd39fca.js} +84 -84
  227. package/dist/chunks/{file-access-wkwjecr6.js → managed-policy-sqy6emsh.js} +18 -18
  228. package/dist/chunks/{file-access-7gy1ktzc.js → managed-policy-st5dzq7x.js} +10 -10
  229. package/dist/chunks/{file-access-ww2xgyza.js → managed-policy-t79whn4w.js} +29 -29
  230. package/dist/chunks/{file-access-tazgh4e4.js → managed-policy-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{file-access-tcezcvh9.js → managed-policy-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{file-access-tdstcens.js → managed-policy-tdstcens.js} +1 -1
  233. package/dist/chunks/{file-access-yjgdj1z3.js → managed-policy-te5pspps.js} +4 -4
  234. package/dist/chunks/{file-access-3334155c.js → managed-policy-tky0bhmc.js} +10 -10
  235. package/dist/chunks/{file-access-tvtrv512.js → managed-policy-tvtrv512.js} +1 -1
  236. package/dist/chunks/{file-access-4e8vs6eh.js → managed-policy-tx9w5tca.js} +8 -8
  237. package/dist/chunks/{file-access-cfgmghb0.js → managed-policy-v3r6wrax.js} +17 -17
  238. package/dist/chunks/{file-access-75gb3hq5.js → managed-policy-vd1xt34m.js} +5 -5
  239. package/dist/chunks/{file-access-veqvce7d.js → managed-policy-veqvce7d.js} +1 -1
  240. package/dist/chunks/{file-access-5cb5swh5.js → managed-policy-vf8ekb55.js} +8 -8
  241. package/dist/chunks/{file-access-p9p4b71m.js → managed-policy-vhrh9n3q.js} +19 -19
  242. package/dist/chunks/{file-access-hrehjthg.js → managed-policy-vjnw2173.js} +8 -8
  243. package/dist/chunks/{file-access-a3r4dcrj.js → managed-policy-vmgq4x8b.js} +2 -2
  244. package/dist/chunks/{file-access-z9mg39zm.js → managed-policy-vvnwfe3a.js} +8 -8
  245. package/dist/chunks/{file-access-vzcthcp8.js → managed-policy-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{file-access-vzs5sf6e.js → managed-policy-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{file-access-w3wsvvr9.js → managed-policy-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{file-access-4sjwj7n7.js → managed-policy-w6gh42p5.js} +18 -18
  249. package/dist/chunks/{file-access-5vrnswt1.js → managed-policy-w9s1mhr8.js} +8 -8
  250. package/dist/chunks/{file-access-95ep91d8.js → managed-policy-w9vp1hvg.js} +16 -16
  251. package/dist/chunks/{file-access-wd3x2cqz.js → managed-policy-wd3x2cqz.js} +2 -2
  252. package/dist/chunks/{file-access-wd87259q.js → managed-policy-wd87259q.js} +1 -1
  253. package/dist/chunks/{file-access-bep57vhd.js → managed-policy-wec12kcc.js} +18 -18
  254. package/dist/chunks/{file-access-rjq7qqfa.js → managed-policy-wgkrnqac.js} +33 -33
  255. package/dist/chunks/{file-access-sd5ayyvb.js → managed-policy-wpc20qgk.js} +7 -7
  256. package/dist/chunks/{file-access-x1ezjp6w.js → managed-policy-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{file-access-qfwq9sf6.js → managed-policy-x4frdbx5.js} +16 -16
  258. package/dist/chunks/{file-access-4x8kksgb.js → managed-policy-x4jf395z.js} +11 -11
  259. package/dist/chunks/{file-access-8skxcr47.js → managed-policy-x6qqf22v.js} +13 -13
  260. package/dist/chunks/{file-access-5h27d9rq.js → managed-policy-x8spbnc9.js} +20 -20
  261. package/dist/chunks/{file-access-qvrs9pm7.js → managed-policy-xc934jfm.js} +37 -37
  262. package/dist/chunks/{file-access-wd1jg618.js → managed-policy-xfz6p364.js} +11 -11
  263. package/dist/chunks/{file-access-xkntkrq7.js → managed-policy-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{file-access-b8me5nm1.js → managed-policy-xrma4n88.js} +9 -9
  265. package/dist/chunks/{file-access-skrn7tyk.js → managed-policy-xvtq9ts9.js} +22 -22
  266. package/dist/chunks/{file-access-rjsh0779.js → managed-policy-xwnkmnyx.js} +8 -8
  267. package/dist/chunks/{file-access-9as0zx85.js → managed-policy-xxbzqkxw.js} +25 -25
  268. package/dist/chunks/{file-access-3r09dpjk.js → managed-policy-xyzj08bz.js} +4 -4
  269. package/dist/chunks/{file-access-y1fvbwt7.js → managed-policy-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{file-access-9924wf9r.js → managed-policy-y206krxg.js} +10 -10
  271. package/dist/chunks/{file-access-gtecn56v.js → managed-policy-y5dxb9zm.js} +14 -14
  272. package/dist/chunks/{file-access-y71avatq.js → managed-policy-y71avatq.js} +1 -1
  273. package/dist/chunks/{file-access-8d0p2m37.js → managed-policy-ybaxr0a6.js} +6 -6
  274. package/dist/chunks/{file-access-q98mvgyg.js → managed-policy-ykqvw6n0.js} +13 -13
  275. package/dist/chunks/{file-access-1acjjqhc.js → managed-policy-yp2x3t23.js} +4 -4
  276. package/dist/chunks/{file-access-5jmp07yj.js → managed-policy-yr68hvap.js} +25 -25
  277. package/dist/chunks/{file-access-yrhqyw5v.js → managed-policy-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{file-access-hb9qvk7n.js → managed-policy-ys6t246v.js} +34 -34
  279. package/dist/chunks/{file-access-d2aac7k2.js → managed-policy-yt0fqk68.js} +5 -5
  280. package/dist/chunks/{file-access-8jjtxg0s.js → managed-policy-yv320rcs.js} +20 -20
  281. package/dist/chunks/{file-access-z07pqspn.js → managed-policy-z07pqspn.js} +3 -3
  282. package/dist/chunks/{file-access-z0bkrqjs.js → managed-policy-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{file-access-hzmns3wg.js → managed-policy-z4s7g43y.js} +1 -1
  284. package/dist/chunks/{file-access-pdh0wy3m.js → managed-policy-z59mzw5n.js} +15 -15
  285. package/dist/chunks/{file-access-1mk6sdbt.js → managed-policy-zbhhzgj6.js} +11 -11
  286. package/dist/chunks/{file-access-zeh9ct20.js → managed-policy-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{file-access-j83wewfm.js → managed-policy-zfdpneax.js} +20 -20
  288. package/dist/chunks/{file-access-zr2ceqn5.js → managed-policy-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{file-access-e9j2rb6f.js → managed-policy-zrj27d4v.js} +16 -16
  290. package/dist/chunks/{file-access-7nn57yq6.js → managed-policy-ztfr3gj5.js} +6 -6
  291. package/dist/chunks/{file-access-zxq2ej10.js → managed-policy-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{file-access-t638vh07.js → managed-policy-zy79aer6.js} +15 -15
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +79 -79
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +160 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +124 -124
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +122 -122
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +81 -81
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +93 -93
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +227 -227
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +93 -93
  430. package/dist/filesystem/watcher-binding.js +1 -1
  431. package/dist/filesystem/watcher.js +7 -7
  432. package/dist/filesystem.js +94 -94
  433. package/dist/form.js +78 -78
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +103 -103
  437. package/dist/git.js +6 -6
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +83 -83
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +1 -1
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +84 -84
  467. package/dist/job.js +77 -77
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +360 -360
  475. package/dist/location.js +85 -85
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +108 -108
  479. package/dist/mcp/instructions.js +128 -128
  480. package/dist/mcp/oauth.js +80 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +99 -99
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +98 -98
  486. package/dist/models-dev.js +95 -95
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +82 -82
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +105 -105
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +86 -86
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +99 -99
  498. package/dist/plugin/compaction.js +131 -131
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +334 -334
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +4 -4
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +94 -94
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +122 -122
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +94 -94
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +161 -161
  545. package/dist/plugin/sdk.js +74 -74
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +141 -141
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +351 -351
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/verbosity.js +93 -93
  555. package/dist/plugin/warming.js +121 -121
  556. package/dist/plugin/websearch/exa.js +7 -7
  557. package/dist/plugin/websearch/firecrawl.js +8 -8
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +4 -4
  560. package/dist/plugin/websearch/parallel.js +8 -8
  561. package/dist/plugin/websearch/tavily.js +6 -6
  562. package/dist/plugin/websearch/tinyfish.js +8 -8
  563. package/dist/plugin.js +227 -227
  564. package/dist/project/schema.js +2 -2
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +80 -80
  567. package/dist/provider.js +97 -97
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/schema.js +3 -3
  570. package/dist/pty/ticket.js +1 -1
  571. package/dist/pty.js +98 -98
  572. package/dist/reference/instructions.js +89 -89
  573. package/dist/reference.js +87 -87
  574. package/dist/repository-cache.js +81 -81
  575. package/dist/repository.js +1 -1
  576. package/dist/ripgrep/binary.js +2 -2
  577. package/dist/ripgrep.js +97 -97
  578. package/dist/rpc.js +86 -86
  579. package/dist/schema.js +1 -1
  580. package/dist/session/command.js +74 -74
  581. package/dist/session/compaction.js +134 -134
  582. package/dist/session/context.js +152 -152
  583. package/dist/session/diff.js +88 -88
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +3 -3
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +221 -221
  588. package/dist/session/execution.js +128 -128
  589. package/dist/session/generate.js +153 -153
  590. package/dist/session/history.js +13 -13
  591. package/dist/session/inbox.js +88 -88
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +79 -79
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +97 -97
  596. package/dist/session/message-updater.js +2 -2
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +119 -119
  599. package/dist/session/model-transport.js +9 -9
  600. package/dist/session/move.js +130 -130
  601. package/dist/session/projector.js +86 -86
  602. package/dist/session/prompt.js +105 -105
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -90
  605. package/dist/session/run-coordinator.js +3 -3
  606. package/dist/session/runner/index.js +3 -3
  607. package/dist/session/runner/llm.js +231 -231
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -98
  610. package/dist/session/runner/publish-llm-event.js +3 -3
  611. package/dist/session/runner/retry.js +114 -114
  612. package/dist/session/runner/step.js +126 -126
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +5 -5
  615. package/dist/session/session.js +172 -172
  616. package/dist/session/shell.js +138 -138
  617. package/dist/session/skill.js +103 -103
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +73 -73
  620. package/dist/session/store.js +87 -87
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +210 -210
  623. package/dist/session/system-prompt.js +5 -5
  624. package/dist/session/title.js +156 -156
  625. package/dist/session/to-session-error.js +111 -111
  626. package/dist/session/transfer.js +214 -214
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +214 -214
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +9 -9
  633. package/dist/shell.js +138 -138
  634. package/dist/skill/discovery.js +6 -6
  635. package/dist/skill/instructions.js +107 -107
  636. package/dist/skill.js +106 -106
  637. package/dist/snapshot.js +93 -93
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +127 -127
  642. package/dist/tool/plugin/edit.js +118 -118
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +124 -124
  645. package/dist/tool/plugin/grep.js +124 -124
  646. package/dist/tool/plugin/mcp-resource.js +116 -116
  647. package/dist/tool/plugin/opencode.js +3 -3
  648. package/dist/tool/plugin/patch.js +120 -120
  649. package/dist/tool/plugin/question.js +105 -105
  650. package/dist/tool/plugin/read.js +123 -123
  651. package/dist/tool/plugin/shell.js +215 -215
  652. package/dist/tool/plugin/skill.js +113 -113
  653. package/dist/tool/plugin/subagent.js +219 -219
  654. package/dist/tool/plugin/webfetch.js +110 -110
  655. package/dist/tool/plugin/websearch.js +106 -106
  656. package/dist/tool/plugin/write.js +114 -114
  657. package/dist/tool/read-filesystem.js +100 -100
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +8 -8
  660. package/dist/tool.js +12 -12
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +3 -3
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +3 -3
  673. package/dist/v1/config/config.js +14 -14
  674. package/dist/v1/config/error.js +2 -2
  675. package/dist/v1/config/formatter.js +5 -5
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +5 -5
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +3 -3
  681. package/dist/v1/config/plugin.js +1 -1
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +91 -91
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +89 -89
  690. package/dist/websearch.js +84 -84
  691. package/dist/wellknown/plugin.js +74 -74
  692. package/dist/wellknown.js +77 -77
  693. package/dist/workspace/driver.js +3 -3
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +76 -76
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +10 -10
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +98 -98
  701. package/package.json +8 -8
  702. package/dist/chunks/file-access-37gbyejr.js +0 -26
  703. package/dist/chunks/file-access-6kdq0pjd.js +0 -4
  704. package/dist/chunks/file-access-7fj5dwt0.js +0 -18
  705. package/dist/chunks/file-access-8bx98dp2.js +0 -252
  706. package/dist/chunks/file-access-az20cacd.js +0 -511
  707. /package/dist/chunks/{file-access-0qkdqm5v.js → managed-policy-0qkdqm5v.js} +0 -0
  708. /package/dist/chunks/{file-access-0zkw76rk.js → managed-policy-0zkw76rk.js} +0 -0
  709. /package/dist/chunks/{file-access-17cy0kzp.js → managed-policy-17cy0kzp.js} +0 -0
  710. /package/dist/chunks/{file-access-1cnp2v09.js → managed-policy-1cnp2v09.js} +0 -0
  711. /package/dist/chunks/{file-access-1kg9ymc8.js → managed-policy-1kg9ymc8.js} +0 -0
  712. /package/dist/chunks/{file-access-24dcb14g.js → managed-policy-24dcb14g.js} +0 -0
  713. /package/dist/chunks/{file-access-2710q6r3.js → managed-policy-2710q6r3.js} +0 -0
  714. /package/dist/chunks/{file-access-2axfhc9x.js → managed-policy-2axfhc9x.js} +0 -0
  715. /package/dist/chunks/{file-access-2c3vjs8z.js → managed-policy-2c3vjs8z.js} +0 -0
  716. /package/dist/chunks/{file-access-34c7v6d4.js → managed-policy-34c7v6d4.js} +0 -0
  717. /package/dist/chunks/{file-access-359p4xyc.js → managed-policy-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{file-access-3asan66x.js → managed-policy-3asan66x.js} +0 -0
  719. /package/dist/chunks/{file-access-3v8g72cx.js → managed-policy-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{file-access-3w5fmr99.js → managed-policy-3w5fmr99.js} +0 -0
  721. /package/dist/chunks/{file-access-3wcehsnq.js → managed-policy-3wcehsnq.js} +0 -0
  722. /package/dist/chunks/{file-access-43n2bw4t.js → managed-policy-43n2bw4t.js} +0 -0
  723. /package/dist/chunks/{file-access-4knz6hnm.js → managed-policy-4knz6hnm.js} +0 -0
  724. /package/dist/chunks/{file-access-4vcrnpx2.js → managed-policy-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{file-access-4y7fprxs.js → managed-policy-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{file-access-53557ph1.js → managed-policy-53557ph1.js} +0 -0
  727. /package/dist/chunks/{file-access-550bvhaj.js → managed-policy-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{file-access-6prwharc.js → managed-policy-6prwharc.js} +0 -0
  729. /package/dist/chunks/{file-access-7akdwqpd.js → managed-policy-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{file-access-7m9af43g.js → managed-policy-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{file-access-822emrt2.js → managed-policy-822emrt2.js} +0 -0
  732. /package/dist/chunks/{file-access-88xbtdfr.js → managed-policy-88xbtdfr.js} +0 -0
  733. /package/dist/chunks/{file-access-8n3pysct.js → managed-policy-8n3pysct.js} +0 -0
  734. /package/dist/chunks/{file-access-8wj87zfr.js → managed-policy-8wj87zfr.js} +0 -0
  735. /package/dist/chunks/{file-access-922hggd3.js → managed-policy-922hggd3.js} +0 -0
  736. /package/dist/chunks/{file-access-9a4afbnw.js → managed-policy-9a4afbnw.js} +0 -0
  737. /package/dist/chunks/{file-access-9rqn6x4v.js → managed-policy-9rqn6x4v.js} +0 -0
  738. /package/dist/chunks/{file-access-a6k6eb26.js → managed-policy-a6k6eb26.js} +0 -0
  739. /package/dist/chunks/{file-access-af5trqkr.js → managed-policy-af5trqkr.js} +0 -0
  740. /package/dist/chunks/{file-access-afrmfg78.js → managed-policy-afrmfg78.js} +0 -0
  741. /package/dist/chunks/{file-access-aqzs7mqg.js → managed-policy-aqzs7mqg.js} +0 -0
  742. /package/dist/chunks/{file-access-atq7p7m5.js → managed-policy-atq7p7m5.js} +0 -0
  743. /package/dist/chunks/{file-access-bkyjaxrp.js → managed-policy-bkyjaxrp.js} +0 -0
  744. /package/dist/chunks/{file-access-bmr6ed5q.js → managed-policy-bmr6ed5q.js} +0 -0
  745. /package/dist/chunks/{file-access-cf4snx6d.js → managed-policy-cf4snx6d.js} +0 -0
  746. /package/dist/chunks/{file-access-cvy3z8tj.js → managed-policy-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{file-access-d9fn303g.js → managed-policy-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{file-access-d9jj8t3e.js → managed-policy-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{file-access-dajrwvna.js → managed-policy-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{file-access-dap0rakb.js → managed-policy-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{file-access-df08tz66.js → managed-policy-df08tz66.js} +0 -0
  752. /package/dist/chunks/{file-access-dy18nga0.js → managed-policy-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{file-access-e3qxr5gk.js → managed-policy-e3qxr5gk.js} +0 -0
  754. /package/dist/chunks/{file-access-e5kj55wp.js → managed-policy-e5kj55wp.js} +0 -0
  755. /package/dist/chunks/{file-access-e73j6tqm.js → managed-policy-e73j6tqm.js} +0 -0
  756. /package/dist/chunks/{file-access-ec1grn59.js → managed-policy-ec1grn59.js} +0 -0
  757. /package/dist/chunks/{file-access-eh3zwz77.js → managed-policy-eh3zwz77.js} +0 -0
  758. /package/dist/chunks/{file-access-emrn6kk6.js → managed-policy-emrn6kk6.js} +0 -0
  759. /package/dist/chunks/{file-access-f0mxakyp.js → managed-policy-f0mxakyp.js} +0 -0
  760. /package/dist/chunks/{file-access-f6n9ztr4.js → managed-policy-f6n9ztr4.js} +0 -0
  761. /package/dist/chunks/{file-access-faypxj3z.js → managed-policy-faypxj3z.js} +0 -0
  762. /package/dist/chunks/{file-access-fd410y7t.js → managed-policy-fd410y7t.js} +0 -0
  763. /package/dist/chunks/{file-access-fxgpk5d8.js → managed-policy-fxgpk5d8.js} +0 -0
  764. /package/dist/chunks/{file-access-g4wezp1m.js → managed-policy-g4wezp1m.js} +0 -0
  765. /package/dist/chunks/{file-access-g86h250q.js → managed-policy-g86h250q.js} +0 -0
  766. /package/dist/chunks/{file-access-gebd4c9n.js → managed-policy-gebd4c9n.js} +0 -0
  767. /package/dist/chunks/{file-access-gftt206x.js → managed-policy-gftt206x.js} +0 -0
  768. /package/dist/chunks/{file-access-hjbc5kem.js → managed-policy-hjbc5kem.js} +0 -0
  769. /package/dist/chunks/{file-access-hk9envan.js → managed-policy-hk9envan.js} +0 -0
  770. /package/dist/chunks/{file-access-j2ntwpah.js → managed-policy-j2ntwpah.js} +0 -0
  771. /package/dist/chunks/{file-access-j5zkgpj8.js → managed-policy-j5zkgpj8.js} +0 -0
  772. /package/dist/chunks/{file-access-jjkms2e6.js → managed-policy-jjkms2e6.js} +0 -0
  773. /package/dist/chunks/{file-access-jr7sbwjy.js → managed-policy-jr7sbwjy.js} +0 -0
  774. /package/dist/chunks/{file-access-jwfs4k6c.js → managed-policy-jwfs4k6c.js} +0 -0
  775. /package/dist/chunks/{file-access-jzg6c2d5.js → managed-policy-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{file-access-mp448xyj.js → managed-policy-mp448xyj.js} +0 -0
  777. /package/dist/chunks/{file-access-msx8hqn2.js → managed-policy-msx8hqn2.js} +0 -0
  778. /package/dist/chunks/{file-access-n05xt0ee.js → managed-policy-n05xt0ee.js} +0 -0
  779. /package/dist/chunks/{file-access-n3j8tn72.js → managed-policy-n3j8tn72.js} +0 -0
  780. /package/dist/chunks/{file-access-njntx4h6.js → managed-policy-njntx4h6.js} +0 -0
  781. /package/dist/chunks/{file-access-q3sfg36h.js → managed-policy-q3sfg36h.js} +0 -0
  782. /package/dist/chunks/{file-access-q74kybfr.js → managed-policy-q74kybfr.js} +0 -0
  783. /package/dist/chunks/{file-access-qaymkmh1.js → managed-policy-qaymkmh1.js} +0 -0
  784. /package/dist/chunks/{file-access-qb87gjwd.js → managed-policy-qb87gjwd.js} +0 -0
  785. /package/dist/chunks/{file-access-qfa1cgps.js → managed-policy-qfa1cgps.js} +0 -0
  786. /package/dist/chunks/{file-access-qg3g05ea.js → managed-policy-qg3g05ea.js} +0 -0
  787. /package/dist/chunks/{file-access-qrg20bc0.js → managed-policy-qrg20bc0.js} +0 -0
  788. /package/dist/chunks/{file-access-rcb2kzg1.js → managed-policy-rcb2kzg1.js} +0 -0
  789. /package/dist/chunks/{file-access-sdp7kfr6.js → managed-policy-sdp7kfr6.js} +0 -0
  790. /package/dist/chunks/{file-access-sk3qaz4a.js → managed-policy-sk3qaz4a.js} +0 -0
  791. /package/dist/chunks/{file-access-ssg3fenm.js → managed-policy-ssg3fenm.js} +0 -0
  792. /package/dist/chunks/{file-access-w803qqfp.js → managed-policy-w803qqfp.js} +0 -0
  793. /package/dist/chunks/{file-access-wc3fc9cn.js → managed-policy-wc3fc9cn.js} +0 -0
  794. /package/dist/chunks/{file-access-wer8tq1h.js → managed-policy-wer8tq1h.js} +0 -0
  795. /package/dist/chunks/{file-access-wtztk69x.js → managed-policy-wtztk69x.js} +0 -0
  796. /package/dist/chunks/{file-access-x0ckcb58.js → managed-policy-x0ckcb58.js} +0 -0
  797. /package/dist/chunks/{file-access-x61499pn.js → managed-policy-x61499pn.js} +0 -0
  798. /package/dist/chunks/{file-access-y44na4kk.js → managed-policy-y44na4kk.js} +0 -0
  799. /package/dist/chunks/{file-access-y8cydn3q.js → managed-policy-y8cydn3q.js} +0 -0
  800. /package/dist/chunks/{file-access-y8f7s663.js → managed-policy-y8f7s663.js} +0 -0
  801. /package/dist/chunks/{file-access-ygaqb7jw.js → managed-policy-ygaqb7jw.js} +0 -0
  802. /package/dist/chunks/{file-access-ym463w8f.js → managed-policy-ym463w8f.js} +0 -0
  803. /package/dist/chunks/{file-access-z9919s4g.js → managed-policy-z9919s4g.js} +0 -0
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-access-922hggd3.js";
4
+ } from "./managed-policy-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service82,
9
9
  node86
10
- } from "./file-access-dq0v80fr.js";
10
+ } from "./managed-policy-dq0v80fr.js";
11
11
  import {
12
- Service79,
13
- node83
14
- } from "./file-access-5zarf4w6.js";
12
+ Service80,
13
+ node84
14
+ } from "./managed-policy-1hwmn15w.js";
15
15
  import {
16
16
  create3
17
- } from "./file-access-rdw6cm16.js";
17
+ } from "./managed-policy-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./file-access-9rqn6x4v.js";
20
+ } from "./managed-policy-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID9,
27
- Service: () => Service63,
25
+ Error: () => Error2,
26
+ ID: () => ID4,
27
+ Service: () => Service31,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node66,
30
- noopLayer: () => noopLayer3
29
+ node: () => node35,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID9 } from "@opencode/schema/snapshot";
37
+ import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service63 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service31 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service63, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service79;
52
+ const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID9.make(yield* git.tree.capture({
85
+ return ID4.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service63.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service31.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node66 = makeLocationNode({
144
- service: Service63,
143
+ var node35 = makeLocationNode({
144
+ service: Service31,
145
145
  layer,
146
- deps: [FSUtil.node, node86, Global.node, node83]
146
+ deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service63, Service63.of({
148
+ var noopLayer2 = Layer.succeed(Service31, Service31.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service63, Service63.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error4 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error4({
159
+ return new Error2({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID9, Error4, Service63, node66, noopLayer3, exports_snapshot2 };
166
+ export { ID4, Error2, Service31, node35, noopLayer2, exports_snapshot2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node56
5
- } from "./file-access-9syxb0r3.js";
4
+ node34
5
+ } from "./managed-policy-5x0vc0vb.js";
6
6
  import {
7
7
  Service83,
8
8
  node87
9
- } from "./file-access-x3avqwht.js";
9
+ } from "./managed-policy-2j13chjm.js";
10
10
  import {
11
11
  native2,
12
- ID13,
12
+ ID12,
13
13
  aisdk2
14
- } from "./file-access-zrfdpbnq.js";
14
+ } from "./managed-policy-65dg9dkc.js";
15
15
  import {
16
- ID12,
16
+ ID11,
17
17
  Family2,
18
18
  compatibility2
19
- } from "./file-access-akhdm1q5.js";
19
+ } from "./managed-policy-q8h29z87.js";
20
20
  import {
21
21
  resolve2
22
- } from "./file-access-ahj96hsx.js";
22
+ } from "./managed-policy-ptr74we0.js";
23
23
  import {
24
- Service80,
25
- node84
26
- } from "./file-access-k1s0srkb.js";
24
+ Service70,
25
+ node73
26
+ } from "./managed-policy-phbyh0a5.js";
27
27
  import {
28
28
  __export
29
- } from "./file-access-9rqn6x4v.js";
29
+ } from "./managed-policy-9rqn6x4v.js";
30
30
 
31
31
  // src/models-dev.ts
32
32
  var exports_models_dev = {};
@@ -63,7 +63,7 @@ function nativePackage(provider, model) {
63
63
  function normalize(input) {
64
64
  const providers = [];
65
65
  for (const item of Object.values(input)) {
66
- const providerID = ID13.make(item.id);
66
+ const providerID = ID12.make(item.id);
67
67
  const packageName = nativePackage(item);
68
68
  const info = {
69
69
  id: providerID,
@@ -75,12 +75,12 @@ function normalize(input) {
75
75
  const models = [];
76
76
  for (const model of Object.values(item.models)) {
77
77
  const baseCost = cost(model.cost);
78
- const id = ID12.make(model.id);
78
+ const id = ID11.make(model.id);
79
79
  const base = modelInfo(item, id, model, { cost: baseCost });
80
80
  const variants = resolve2({ ...base, package: nativePackage(item, model) }, supports(model));
81
81
  models.push({ ...base, variants });
82
82
  for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
83
- const modeID = ID12.make(`${model.id}-${mode}`);
83
+ const modeID = ID11.make(`${model.id}-${mode}`);
84
84
  models.push(modelInfo(item, modeID, model, {
85
85
  name: modeName(model, mode),
86
86
  cost: mergeCost(baseCost, options.cost),
@@ -164,7 +164,7 @@ function supports(model) {
164
164
  return (model.reasoning_options ?? []).map((option) => option.type === "effort" ? { type: "effort", values: option.values.filter((value) => value !== null && value !== "null") } : option);
165
165
  }
166
166
  function modelInfo(provider, id, model, input = {}) {
167
- const providerID = ID13.make(provider.id);
167
+ const providerID = ID12.make(provider.id);
168
168
  const pkg = model.provider?.npm ? nativePackage(provider, model) : undefined;
169
169
  const settings = {
170
170
  ...model.provider?.api ? { baseURL: model.provider.api } : {},
@@ -172,7 +172,7 @@ function modelInfo(provider, id, model, input = {}) {
172
172
  };
173
173
  return {
174
174
  id,
175
- modelID: ID12.make(model.id),
175
+ modelID: ID11.make(model.id),
176
176
  providerID,
177
177
  name: input.name ?? model.name,
178
178
  compatibility: compatibility2(model.interleaved),
@@ -232,7 +232,7 @@ var layer8 = (options) => Layer.effect(Service13, Effect.gen(function* () {
232
232
  const fs = yield* FSUtil.Service;
233
233
  const bus = yield* Service83;
234
234
  const app = yield* Metadata2;
235
- const kv = yield* Service80;
235
+ const kv = yield* Service70;
236
236
  const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
237
237
  retryOn: "errors-and-responses",
238
238
  times: 2,
@@ -318,7 +318,7 @@ function configured2(options) {
318
318
  return makeGlobalNode({
319
319
  service: Service13,
320
320
  layer: layer8(options),
321
- deps: [FSUtil.node, node87, node56, node84, httpClient]
321
+ deps: [FSUtil.node, node87, node34, node73, httpClient]
322
322
  });
323
323
  }
324
324
  var node15 = configured2();
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./managed-policy-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
- Entry: () => Entry3,
10
- Info: () => Info17
9
+ Entry: () => Entry4,
10
+ Info: () => Info23
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Entry3 = Schema.Struct({
13
+ var Entry4 = Schema.Struct({
14
14
  disabled: Schema.optional(Schema.Boolean),
15
15
  command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info17 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info23 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
20
20
 
21
- export { Entry3, Info17, exports_formatter3 };
21
+ export { Entry4, Info23, exports_formatter3 };
@@ -1,53 +1,53 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-access-x3avqwht.js";
4
+ } from "./managed-policy-2j13chjm.js";
5
5
  import {
6
- node71
7
- } from "./file-access-4acqjqp7.js";
6
+ node69
7
+ } from "./managed-policy-4s3tx91s.js";
8
8
  import {
9
- Service2,
10
- node3
11
- } from "./file-access-9as0zx85.js";
9
+ Service3,
10
+ node4
11
+ } from "./managed-policy-xxbzqkxw.js";
12
12
  import {
13
- Service38
14
- } from "./file-access-7fj5dwt0.js";
13
+ Service20
14
+ } from "./managed-policy-45th5jwr.js";
15
15
  import {
16
16
  node20,
17
- ID2
18
- } from "./file-access-z8ckggf1.js";
17
+ ID3
18
+ } from "./managed-policy-de8e9bjw.js";
19
19
  import {
20
- Service4,
21
- node5
22
- } from "./file-access-p37cw4rj.js";
20
+ Service9,
21
+ node10
22
+ } from "./managed-policy-6f890ccd.js";
23
23
  import {
24
24
  requirements2,
25
25
  guarded2,
26
26
  list2
27
- } from "./file-access-az20cacd.js";
27
+ } from "./managed-policy-j1j7mnwh.js";
28
28
  import {
29
- make3,
29
+ make6,
30
30
  LoadError2
31
- } from "./file-access-qnshbhpz.js";
31
+ } from "./managed-policy-fzg6ycaf.js";
32
32
  import {
33
33
  Updated2,
34
- Service5,
35
- node6
36
- } from "./file-access-5btey1ak.js";
34
+ Service4,
35
+ node5
36
+ } from "./managed-policy-2wzvfsyc.js";
37
37
  import {
38
- Service3,
39
- node4
40
- } from "./file-access-0jq9fyba.js";
38
+ Service8,
39
+ node9
40
+ } from "./managed-policy-bzgcn0jp.js";
41
41
  import {
42
42
  __export
43
- } from "./file-access-9rqn6x4v.js";
43
+ } from "./managed-policy-9rqn6x4v.js";
44
44
 
45
45
  // src/plugin/supervisor.ts
46
46
  var exports_supervisor = {};
47
47
  __export(exports_supervisor, {
48
48
  PluginSupervisor: () => exports_supervisor,
49
49
  layer: () => layer3,
50
- node: () => node2
50
+ node: () => node3
51
51
  });
52
52
  import { Event } from "@opencode/schema/config";
53
53
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
116
116
  failures: [
117
117
  ...failures.values(),
118
118
  ...ordered.filter(duplicate).map((plugin) => ({
119
- id: ID2.make(plugin.id),
119
+ id: ID3.make(plugin.id),
120
120
  source: plugin.source ?? { type: "builtin" },
121
121
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
122
122
  features: { server: true, ...plugin.features }
@@ -126,13 +126,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
126
126
  };
127
127
  });
128
128
  var layer3 = Layer.effectDiscard(Effect.gen(function* () {
129
- const registry = yield* Service38;
130
- const sdk = yield* Service5;
131
- const instance = yield* Service4;
132
- const sources = yield* Service2;
133
- const modules = yield* make3();
129
+ const registry = yield* Service20;
130
+ const sdk = yield* Service4;
131
+ const instance = yield* Service9;
132
+ const sources = yield* Service3;
133
+ const modules = yield* make6();
134
134
  const bus = yield* Service83;
135
- const updates = yield* Service3;
135
+ const updates = yield* Service8;
136
136
  const internal = yield* list2();
137
137
  let release = yield* registry.hold();
138
138
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -208,13 +208,13 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
208
208
  }));
209
209
  var nodeDeps = [
210
210
  node20,
211
- node6,
212
211
  node5,
213
- node3,
212
+ node10,
214
213
  node4,
214
+ node9,
215
215
  node87,
216
216
  Npm.node,
217
- node71,
217
+ node69,
218
218
  requirements2
219
219
  ];
220
220
  function pluginSource(target) {
@@ -222,6 +222,6 @@ function pluginSource(target) {
222
222
  return { type: "local", path: target };
223
223
  return { type: "package", target };
224
224
  }
225
- var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
225
+ var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
226
226
 
227
- export { layer3, node2, exports_supervisor };
227
+ export { layer3, node3, exports_supervisor };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  key2
3
- } from "./file-access-h6r3nrb9.js";
3
+ } from "./managed-policy-4dgbcxzg.js";
4
4
  import {
5
5
  Service83
6
- } from "./file-access-x3avqwht.js";
6
+ } from "./managed-policy-2j13chjm.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./file-access-65p03r80.js";
10
+ } from "./managed-policy-naww4dxg.js";
11
11
  import {
12
- ID14,
12
+ ID13,
13
13
  MethodID2
14
- } from "./file-access-ctsbw3ys.js";
14
+ } from "./managed-policy-ks8ntyh3.js";
15
15
  import {
16
- ID13,
16
+ ID12,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service75
20
- } from "./file-access-zrfdpbnq.js";
19
+ Service74
20
+ } from "./managed-policy-65dg9dkc.js";
21
21
  import {
22
- ID12
23
- } from "./file-access-akhdm1q5.js";
22
+ ID11
23
+ } from "./managed-policy-q8h29z87.js";
24
24
  import {
25
- load3,
26
- derive3
27
- } from "./file-access-1258x4qk.js";
25
+ load2,
26
+ derive2
27
+ } from "./managed-policy-ax4vhxp3.js";
28
28
  import {
29
29
  useragent2
30
- } from "./file-access-9syxb0r3.js";
30
+ } from "./managed-policy-5x0vc0vb.js";
31
31
  import {
32
- ID8
33
- } from "./file-access-95ep91d8.js";
32
+ ID9
33
+ } from "./managed-policy-w9vp1hvg.js";
34
34
 
35
35
  // src/plugin/provider/github-copilot.ts
36
36
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -62,7 +62,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
62
62
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
63
63
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
64
64
  var oauth = (app) => ({
65
- integrationID: ID14.make("github-copilot"),
65
+ integrationID: ID13.make("github-copilot"),
66
66
  method: {
67
67
  id: methodID,
68
68
  type: "oauth",
@@ -160,7 +160,7 @@ var oauth = (app) => ({
160
160
  var GithubCopilotPlugin2 = define({
161
161
  id: "opencode.provider.github.copilot",
162
162
  effect: Effect.fn(function* (ctx) {
163
- const providers = yield* Service75;
163
+ const providers = yield* Service74;
164
164
  const bus = yield* Service83;
165
165
  const loading = Semaphore.makeUnsafe(1);
166
166
  const loaded = {};
@@ -177,9 +177,9 @@ var GithubCopilotPlugin2 = define({
177
177
  return;
178
178
  }
179
179
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
180
- const provider = yield* providers.get(ID13.githubCopilot);
180
+ const provider = yield* providers.get(ID12.githubCopilot);
181
181
  const remote = yield* Effect.tryPromise({
182
- try: () => load3(url, {
182
+ try: () => load2(url, {
183
183
  ...provider?.headers,
184
184
  Authorization: `Bearer ${credential.refresh}`,
185
185
  "User-Agent": useragent2(ctx.app),
@@ -199,13 +199,13 @@ var GithubCopilotPlugin2 = define({
199
199
  editor.method.update(oauth(ctx.app));
200
200
  });
201
201
  yield* ctx.provider.transform((evt) => {
202
- const item = evt.get(ID13.githubCopilot);
202
+ const item = evt.get(ID12.githubCopilot);
203
203
  if (!item)
204
204
  return;
205
205
  if (loaded.models) {
206
206
  evt.add({
207
207
  info: item.provider,
208
- models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
208
+ models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
209
209
  sourceConnection: loaded.connection
210
210
  });
211
211
  return;
@@ -219,17 +219,17 @@ var GithubCopilotPlugin2 = define({
219
219
  }
220
220
  });
221
221
  yield* ctx.model.transform((models) => {
222
- if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
223
- models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
222
+ if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
223
+ models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
224
224
  model.enabled = false;
225
225
  });
226
226
  }
227
227
  });
228
228
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
229
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
229
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
230
  yield* refresh().pipe(Effect.forkScoped);
231
231
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
232
- if (evt.model.providerID !== ID13.githubCopilot)
232
+ if (evt.model.providerID !== ID12.githubCopilot)
233
233
  return;
234
234
  if (evt.package !== "@ai-sdk/github-copilot")
235
235
  return;
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
238
238
  evt.sdk = mod.createOpenaiCompatible(evt.options);
239
239
  }));
240
240
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID13.githubCopilot)
241
+ if (evt.model.providerID !== ID12.githubCopilot)
242
242
  return;
243
243
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
244
244
  return;
@@ -248,13 +248,13 @@ var GithubCopilotPlugin2 = define({
248
248
  evt.headers["X-Interaction-Id"] = evt.sessionID;
249
249
  if (interaction !== "conversation-agent")
250
250
  evt.headers["x-initiator"] = "agent";
251
- }), { providerID: ID13.githubCopilot });
251
+ }), { providerID: ID12.githubCopilot });
252
252
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
253
- if (evt.model.providerID !== ID13.githubCopilot)
253
+ if (evt.model.providerID !== ID12.githubCopilot)
254
254
  return;
255
255
  if (!loaded.baseURL || !loaded.token || !loaded.models)
256
256
  return;
257
- const agent = yield* ctx.agent.get({ agentID: ID8.make("title") }).pipe(Effect.orElseSucceed(() => {
257
+ const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
258
258
  return;
259
259
  }));
260
260
  if (agent?.data.model)
@@ -265,9 +265,9 @@ var GithubCopilotPlugin2 = define({
265
265
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
266
266
  return;
267
267
  }));
268
- }), { providerID: ID13.githubCopilot });
268
+ }), { providerID: ID12.githubCopilot });
269
269
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
270
- if (evt.model.providerID !== ID13.githubCopilot)
270
+ if (evt.model.providerID !== ID12.githubCopilot)
271
271
  return;
272
272
  const token = evt.request.headers.get("x-api-key");
273
273
  if (!token)
@@ -275,9 +275,9 @@ var GithubCopilotPlugin2 = define({
275
275
  const text = yield* Effect.promise(() => evt.request.clone().text());
276
276
  const body = Option.getOrUndefined(decodeBody(text));
277
277
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
278
- }), { providerID: ID13.githubCopilot });
278
+ }), { providerID: ID12.githubCopilot });
279
279
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
280
- if (evt.model.providerID !== ID13.githubCopilot)
280
+ if (evt.model.providerID !== ID12.githubCopilot)
281
281
  return;
282
282
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
283
283
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./file-access-922hggd3.js";
3
+ } from "./managed-policy-922hggd3.js";
4
4
  import {
5
- Service79,
6
- node83
7
- } from "./file-access-5zarf4w6.js";
5
+ Service80,
6
+ node84
7
+ } from "./managed-policy-1hwmn15w.js";
8
8
  import {
9
- Service17,
10
- node19
11
- } from "./file-access-e7b5xck2.js";
9
+ Service51,
10
+ node54
11
+ } from "./managed-policy-5rt30t11.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./file-access-tcezcvh9.js";
15
+ } from "./managed-policy-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./file-access-9rqn6x4v.js";
18
+ } from "./managed-policy-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
@@ -59,8 +59,8 @@ function search(index, input) {
59
59
  });
60
60
  }
61
61
  var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
62
- const location = yield* Service79;
63
- const ripgrep = yield* Service17;
62
+ const location = yield* Service80;
63
+ const ripgrep = yield* Service51;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -113,7 +113,7 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
113
113
  });
114
114
  }));
115
115
  var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
116
- const location = yield* Service79;
116
+ const location = yield* Service80;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -175,7 +175,7 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
175
175
  });
176
176
  }));
177
177
  var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service79;
178
+ const location = yield* Service80;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
@@ -183,7 +183,7 @@ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
185
  function configured3(options) {
186
- return makeLocationNode({ service: Service16, layer: layer9(options), deps: [node83, node19] });
186
+ return makeLocationNode({ service: Service16, layer: layer9(options), deps: [node84, node54] });
187
187
  }
188
188
  var node18 = configured3();
189
189