@opencode/core 0.0.0-dev-20026 → 0.0.0-dev-20029

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  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/{variant-kqbmdx55.js → managed-policy-02rzac9a.js} +29 -29
  8. package/dist/chunks/{variant-8eh51za7.js → managed-policy-07ntzvz4.js} +9 -9
  9. package/dist/chunks/{variant-k5y748ge.js → managed-policy-0c92dpjb.js} +3 -3
  10. package/dist/chunks/{variant-af7j52hr.js → managed-policy-0fcjr1ar.js} +4 -4
  11. package/dist/chunks/{variant-zzexawz9.js → managed-policy-0g0txq2z.js} +23 -23
  12. package/dist/chunks/{variant-pt7424fw.js → managed-policy-0k1wajbn.js} +7 -7
  13. package/dist/chunks/{variant-0paq2nw3.js → managed-policy-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{variant-r6cdbtvh.js → managed-policy-0r5abbz4.js} +4 -4
  15. package/dist/chunks/{variant-dtss6q18.js → managed-policy-0sf511qw.js} +11 -11
  16. package/dist/chunks/{variant-ppxpc5nv.js → managed-policy-0vqt28aq.js} +3 -3
  17. package/dist/chunks/{variant-t6055e0v.js → managed-policy-19e700kt.js} +31 -31
  18. package/dist/chunks/{variant-4n6z1r8s.js → managed-policy-1a551269.js} +24 -24
  19. package/dist/chunks/{variant-yp2x3t23.js → managed-policy-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{variant-zqy8ejrp.js → managed-policy-1ag1pq0v.js} +14 -14
  21. package/dist/chunks/{variant-1dazxqgg.js → managed-policy-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{variant-7xgrqf4n.js → managed-policy-1edxvj4h.js} +15 -15
  23. package/dist/chunks/{variant-xb02k0wq.js → managed-policy-1g7epwpd.js} +7 -7
  24. package/dist/chunks/{variant-ajk3nktm.js → managed-policy-1pyqratn.js} +33 -33
  25. package/dist/chunks/{variant-fbc9vsj2.js → managed-policy-1tdcmptc.js} +20 -20
  26. package/dist/chunks/{variant-21r38tys.js → managed-policy-21r38tys.js} +1 -1
  27. package/dist/chunks/{variant-2402vzrj.js → managed-policy-2402vzrj.js} +1 -1
  28. package/dist/chunks/{variant-md1qfzvn.js → managed-policy-251d3kbp.js} +30 -30
  29. package/dist/chunks/{variant-2a5m3afh.js → managed-policy-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{variant-a6x7shte.js → managed-policy-2da53pjx.js} +3 -3
  31. package/dist/chunks/{variant-xe0jn6g3.js → managed-policy-2p8k3371.js} +5 -5
  32. package/dist/chunks/{variant-f747t98r.js → managed-policy-2ryrf09a.js} +16 -16
  33. package/dist/chunks/{variant-rtgnjske.js → managed-policy-2vng4z65.js} +31 -31
  34. package/dist/chunks/{variant-5hwa0061.js → managed-policy-2wygw19c.js} +2 -2
  35. package/dist/chunks/{variant-6p55r51m.js → managed-policy-30kwrm97.js} +1 -1
  36. package/dist/chunks/{variant-2ptfhmaq.js → managed-policy-38h5e1be.js} +16 -16
  37. package/dist/chunks/{variant-stas9bdh.js → managed-policy-3cz6x5mb.js} +9 -9
  38. package/dist/chunks/{variant-3fc6dm20.js → managed-policy-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{variant-3hepkmqq.js → managed-policy-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{variant-6rxwp35s.js → managed-policy-3hhw65fg.js} +20 -20
  41. package/dist/chunks/{variant-2d57kztd.js → managed-policy-3k6sfp50.js} +6 -6
  42. package/dist/chunks/{variant-3smtnn6g.js → managed-policy-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{variant-3tvqynh2.js → managed-policy-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{variant-dngx6zgq.js → managed-policy-3wdbfyxb.js} +2 -2
  45. package/dist/chunks/{variant-3zsf4n22.js → managed-policy-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{variant-v7eyjk8c.js → managed-policy-41dak7mt.js} +27 -27
  47. package/dist/chunks/{variant-ecnb5xks.js → managed-policy-41fs1qjb.js} +16 -16
  48. package/dist/chunks/{variant-wnsqmkbm.js → managed-policy-42tscsba.js} +24 -24
  49. package/dist/chunks/{variant-knb7evpn.js → managed-policy-44ke2mar.js} +2 -2
  50. package/dist/chunks/{variant-a5t4p5xt.js → managed-policy-473re8za.js} +24 -24
  51. package/dist/chunks/{variant-ehd2w0yp.js → managed-policy-4hpzevxd.js} +17 -17
  52. package/dist/chunks/{variant-nydghdxw.js → managed-policy-4jr8td7z.js} +24 -24
  53. package/dist/chunks/{variant-5b64cte8.js → managed-policy-4rsy6rhw.js} +18 -18
  54. package/dist/chunks/{variant-wbtey438.js → managed-policy-4s6vd5dk.js} +8 -8
  55. package/dist/chunks/{variant-r9684t3a.js → managed-policy-4y6b28a1.js} +10 -10
  56. package/dist/chunks/{variant-9mye8vwy.js → managed-policy-4yx5pf48.js} +11 -11
  57. package/dist/chunks/{variant-eqvqvd13.js → managed-policy-4zv6n53j.js} +12 -12
  58. package/dist/chunks/{variant-56gdpj1q.js → managed-policy-56gdpj1q.js} +2 -2
  59. package/dist/chunks/{variant-9jwjh49g.js → managed-policy-578fqz8n.js} +32 -32
  60. package/dist/chunks/{variant-pef6k0gg.js → managed-policy-57ez7d0k.js} +9 -9
  61. package/dist/chunks/managed-policy-57q3t40e.js +503 -0
  62. package/dist/chunks/{variant-5daktx2q.js → managed-policy-5daktx2q.js} +1 -1
  63. package/dist/chunks/{variant-5ekn9679.js → managed-policy-5ekn9679.js} +1 -1
  64. package/dist/chunks/{variant-5jf3agd7.js → managed-policy-5h11ybms.js} +1 -1
  65. package/dist/chunks/{variant-d27k1qq2.js → managed-policy-5kbfeevd.js} +17 -17
  66. package/dist/chunks/{variant-e3qxr5gk.js → managed-policy-5qd3pb7m.js} +2 -2
  67. package/dist/chunks/{variant-5t3nmthw.js → managed-policy-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{variant-q7azfttr.js → managed-policy-5xpznt2d.js} +4 -4
  69. package/dist/chunks/{variant-gga0wymx.js → managed-policy-61qqwrfn.js} +68 -68
  70. package/dist/chunks/{variant-669tq793.js → managed-policy-669tq793.js} +1 -1
  71. package/dist/chunks/{variant-mm84f3fs.js → managed-policy-67d3kp3s.js} +27 -27
  72. package/dist/chunks/{variant-7c8esnqs.js → managed-policy-6b1r9qfx.js} +25 -25
  73. package/dist/chunks/{variant-7d4hdxdy.js → managed-policy-6c314mz2.js} +11 -11
  74. package/dist/chunks/{variant-fzhdr1mx.js → managed-policy-6djy54x7.js} +1 -1
  75. package/dist/chunks/managed-policy-6kdq0pjd.js +4 -0
  76. package/dist/chunks/{variant-zxbrzaq9.js → managed-policy-6kzvch4n.js} +11 -11
  77. package/dist/chunks/{variant-yaktvxn2.js → managed-policy-6mct90se.js} +15 -15
  78. package/dist/chunks/{variant-84sj45vf.js → managed-policy-6mnafygm.js} +15 -15
  79. package/dist/chunks/{variant-6msgmcgs.js → managed-policy-6msgmcgs.js} +1 -1
  80. package/dist/chunks/{variant-v1nyvan4.js → managed-policy-6nvgqmbz.js} +38 -38
  81. package/dist/chunks/{variant-9r5qhkng.js → managed-policy-6rewzfhv.js} +15 -15
  82. package/dist/chunks/{variant-71zkw7xr.js → managed-policy-72zxmgt4.js} +9 -9
  83. package/dist/chunks/{variant-5mef3xk7.js → managed-policy-76cqma85.js} +15 -15
  84. package/dist/chunks/{variant-j55501wg.js → managed-policy-76xhfwj9.js} +6 -6
  85. package/dist/chunks/{variant-7bmhse3q.js → managed-policy-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{variant-rbqcddk9.js → managed-policy-7dvrqder.js} +14 -14
  87. package/dist/chunks/{variant-8tpythmx.js → managed-policy-7h9mx2w5.js} +24 -24
  88. package/dist/chunks/{variant-q7mj73f6.js → managed-policy-7jykq1cg.js} +24 -24
  89. package/dist/chunks/{variant-mjncxbbh.js → managed-policy-7s6gk46a.js} +9 -9
  90. package/dist/chunks/{variant-tk2xtqnn.js → managed-policy-7szh0m8y.js} +32 -32
  91. package/dist/chunks/{variant-mn93ga5d.js → managed-policy-87q0yepe.js} +17 -17
  92. package/dist/chunks/{variant-tcezcvh9.js → managed-policy-89znhe33.js} +4 -4
  93. package/dist/chunks/{variant-ybday7y9.js → managed-policy-8aj1qpge.js} +11 -11
  94. package/dist/chunks/{variant-8d7r5vzw.js → managed-policy-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/{variant-nj481gba.js → managed-policy-8fhzpqwh.js} +5 -5
  96. package/dist/chunks/{variant-fzgxakwn.js → managed-policy-8q61w4ba.js} +6 -6
  97. package/dist/chunks/{variant-jes8xwtq.js → managed-policy-8xh1vfpb.js} +6 -6
  98. package/dist/chunks/{variant-gfvb90ym.js → managed-policy-94ek1h2f.js} +2 -2
  99. package/dist/chunks/{variant-834a0b17.js → managed-policy-984xje6x.js} +7 -7
  100. package/dist/chunks/{variant-r39jerzg.js → managed-policy-9b0k8yaa.js} +10 -10
  101. package/dist/chunks/{variant-jk953tft.js → managed-policy-9bqmq0zv.js} +4 -4
  102. package/dist/chunks/{variant-e37stjd8.js → managed-policy-9eyez545.js} +11 -11
  103. package/dist/chunks/{variant-g20tdqpk.js → managed-policy-9jmvwkse.js} +32 -32
  104. package/dist/chunks/{variant-kfd45557.js → managed-policy-9ra9hhs6.js} +18 -18
  105. package/dist/chunks/{variant-ar8vm0ff.js → managed-policy-9yxd2v4q.js} +13 -13
  106. package/dist/chunks/managed-policy-9zdhvgqs.js +18 -0
  107. package/dist/chunks/{variant-dbdtaeh3.js → managed-policy-a293rvby.js} +42 -42
  108. package/dist/chunks/{variant-s5d9hk7s.js → managed-policy-a3ftg8j6.js} +9 -9
  109. package/dist/chunks/{variant-aaet6srn.js → managed-policy-aaet6srn.js} +2 -2
  110. package/dist/chunks/{variant-t3hvp6ye.js → managed-policy-ad2m42br.js} +37 -37
  111. package/dist/chunks/{variant-yh7kjdpc.js → managed-policy-aej8eep8.js} +9 -9
  112. package/dist/chunks/{variant-21xkm9mw.js → managed-policy-akq6t692.js} +22 -22
  113. package/dist/chunks/{variant-hpfrvn9v.js → managed-policy-aw4bep3f.js} +16 -16
  114. package/dist/chunks/{variant-g2yz86wh.js → managed-policy-b09hzw3k.js} +2 -2
  115. package/dist/chunks/{variant-yf5fe4my.js → managed-policy-b11r5vy8.js} +18 -18
  116. package/dist/chunks/{variant-b6gygkdw.js → managed-policy-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{variant-2p623br6.js → managed-policy-b7b4ctej.js} +5 -5
  118. package/dist/chunks/{variant-jx4tygjy.js → managed-policy-bgx3rwgq.js} +10 -10
  119. package/dist/chunks/{variant-8mvw6bgy.js → managed-policy-bxbprr42.js} +25 -25
  120. package/dist/chunks/{variant-r2m716tb.js → managed-policy-c765mh8b.js} +5 -5
  121. package/dist/chunks/{variant-6w0aczmv.js → managed-policy-c9mmfgm8.js} +11 -11
  122. package/dist/chunks/{variant-54tcyq79.js → managed-policy-ckecvw8r.js} +2 -2
  123. package/dist/chunks/{variant-6zedfc54.js → managed-policy-cn0pj63m.js} +27 -27
  124. package/dist/chunks/managed-policy-crpty8yf.js +252 -0
  125. package/dist/chunks/{variant-s07fdbeq.js → managed-policy-d9jh3nn5.js} +19 -19
  126. package/dist/chunks/{variant-557d9c8t.js → managed-policy-d9v6a70r.js} +20 -20
  127. package/dist/chunks/{variant-nk7804dj.js → managed-policy-dd5dn1hm.js} +11 -11
  128. package/dist/chunks/{variant-v1x57w6y.js → managed-policy-ddnyxkgk.js} +19 -19
  129. package/dist/chunks/{variant-7836xe6r.js → managed-policy-dej5hqqy.js} +7 -7
  130. package/dist/chunks/{variant-3g33scay.js → managed-policy-dg2cj1yd.js} +4 -4
  131. package/dist/chunks/{variant-9byqxeta.js → managed-policy-drkpxzze.js} +17 -17
  132. package/dist/chunks/{variant-8epdgwc0.js → managed-policy-dz2720q4.js} +26 -26
  133. package/dist/chunks/{variant-t0yy7xg2.js → managed-policy-eabvk12d.js} +87 -87
  134. package/dist/chunks/{variant-2eyvmpqy.js → managed-policy-ebp4vjcq.js} +37 -37
  135. package/dist/chunks/{variant-s41dxx30.js → managed-policy-ed38yjr8.js} +1 -1
  136. package/dist/chunks/{variant-bfhm6t97.js → managed-policy-eezffbxh.js} +10 -10
  137. package/dist/chunks/{variant-ef5x83kb.js → managed-policy-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{variant-vya4f7hk.js → managed-policy-ekj7a5hz.js} +11 -11
  139. package/dist/chunks/{variant-bjn6skbd.js → managed-policy-erv8bcet.js} +5 -5
  140. package/dist/chunks/{variant-erw5rpbs.js → managed-policy-erw5rpbs.js} +2 -2
  141. package/dist/chunks/{variant-was7srj9.js → managed-policy-et0rkxxj.js} +8 -8
  142. package/dist/chunks/{variant-etq0c3wd.js → managed-policy-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{variant-sjgae2xy.js → managed-policy-ew6h5s3h.js} +24 -24
  144. package/dist/chunks/{variant-cmh4zy5x.js → managed-policy-fanxnb74.js} +11 -11
  145. package/dist/chunks/{variant-b51jbz85.js → managed-policy-fapvw67d.js} +10 -10
  146. package/dist/chunks/{variant-nmvjxe16.js → managed-policy-fb6g4eyr.js} +10 -10
  147. package/dist/chunks/{variant-n7hwxzgv.js → managed-policy-fnqpbz25.js} +26 -26
  148. package/dist/chunks/{variant-2hr5nhwa.js → managed-policy-fqhbsnr5.js} +8 -8
  149. package/dist/chunks/{variant-b8y4420x.js → managed-policy-fr55k2sw.js} +43 -43
  150. package/dist/chunks/{variant-kns7re6s.js → managed-policy-fvgj0p1d.js} +18 -18
  151. package/dist/chunks/managed-policy-g14e49v8.js +26 -0
  152. package/dist/chunks/{variant-0xezjjjn.js → managed-policy-g1sxm558.js} +8 -8
  153. package/dist/chunks/{variant-1j4qs2dp.js → managed-policy-g7cdhhyx.js} +13 -13
  154. package/dist/chunks/{variant-6mmx0pze.js → managed-policy-g9trvnpg.js} +7 -7
  155. package/dist/chunks/{variant-gd4qta3r.js → managed-policy-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{variant-4h2qm5xd.js → managed-policy-gfn7xntb.js} +40 -40
  157. package/dist/chunks/{variant-2d0rz701.js → managed-policy-gsc5p4tt.js} +16 -16
  158. package/dist/chunks/{variant-vrk0cgw0.js → managed-policy-gshdf3b6.js} +24 -24
  159. package/dist/chunks/{variant-gv6a8nnw.js → managed-policy-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{variant-0kdyx93j.js → managed-policy-gw0bnd3r.js} +20 -20
  161. package/dist/chunks/{variant-e6y173sj.js → managed-policy-gza8p2w0.js} +9 -9
  162. package/dist/chunks/{variant-h6r3nrb9.js → managed-policy-h6r3nrb9.js} +1 -1
  163. package/dist/chunks/{variant-h6vf3j39.js → managed-policy-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{variant-zd5rdewp.js → managed-policy-hk10n3xs.js} +8 -8
  165. package/dist/chunks/{variant-1wyzf5g7.js → managed-policy-hsxmh5g8.js} +2 -2
  166. package/dist/chunks/{variant-6wjad31y.js → managed-policy-j3m7wdn9.js} +7 -7
  167. package/dist/chunks/{variant-j56e64zr.js → managed-policy-j56e64zr.js} +1 -1
  168. package/dist/chunks/{variant-gf45v5rv.js → managed-policy-j7kakgc5.js} +9 -9
  169. package/dist/chunks/{variant-engkm2d6.js → managed-policy-jgttmm4a.js} +5 -5
  170. package/dist/chunks/{variant-2a6rn6yr.js → managed-policy-jhf3jymm.js} +6 -6
  171. package/dist/chunks/{variant-rhafb4aa.js → managed-policy-jjs74g98.js} +9 -9
  172. package/dist/chunks/{variant-bjn91642.js → managed-policy-jva4mgym.js} +4 -4
  173. package/dist/chunks/{variant-hkafdcbz.js → managed-policy-jyw9wa94.js} +1 -1
  174. package/dist/chunks/{variant-563rq041.js → managed-policy-jzapyy4j.js} +89 -89
  175. package/dist/chunks/{variant-0bzevza6.js → managed-policy-jzvhswbf.js} +18 -18
  176. package/dist/chunks/{variant-rh1n8m2g.js → managed-policy-k0b3m8xv.js} +11 -11
  177. package/dist/chunks/{variant-3wwqqeqp.js → managed-policy-k2a0w1ze.js} +2 -2
  178. package/dist/chunks/{variant-nzks3jc8.js → managed-policy-k3c624dm.js} +3 -3
  179. package/dist/chunks/{variant-vtd2qwnf.js → managed-policy-k53npxr2.js} +1 -1
  180. package/dist/chunks/{variant-0krcabsn.js → managed-policy-kavv7h9b.js} +6 -6
  181. package/dist/chunks/{variant-cgrt34rb.js → managed-policy-kmkte60t.js} +26 -26
  182. package/dist/chunks/{variant-2n3rws7p.js → managed-policy-kpa692bj.js} +16 -16
  183. package/dist/chunks/{variant-80dj63ps.js → managed-policy-kq7dkryj.js} +9 -9
  184. package/dist/chunks/{variant-rwnjws6z.js → managed-policy-kwe3mta9.js} +7 -7
  185. package/dist/chunks/{variant-cenw4sj9.js → managed-policy-kzcf93wx.js} +171 -171
  186. package/dist/chunks/{variant-m3fdjcah.js → managed-policy-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{variant-1xcw6xjf.js → managed-policy-m56t3ka1.js} +27 -27
  188. package/dist/chunks/{variant-m9w0rfyh.js → managed-policy-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{variant-6sr3ve8g.js → managed-policy-magykp64.js} +21 -21
  190. package/dist/chunks/{variant-na0h3a6c.js → managed-policy-mkhtgmm9.js} +19 -19
  191. package/dist/chunks/{variant-gs9rpsen.js → managed-policy-mvdfc68y.js} +11 -11
  192. package/dist/chunks/{variant-1bbkgx8g.js → managed-policy-mvfsc1pv.js} +3 -3
  193. package/dist/chunks/{variant-83xz4qq9.js → managed-policy-mxye78ab.js} +20 -20
  194. package/dist/chunks/{variant-4hz2mmtn.js → managed-policy-mzdhr4f5.js} +6 -6
  195. package/dist/chunks/{variant-fjeqa7jj.js → managed-policy-n17fh37w.js} +8 -8
  196. package/dist/chunks/{variant-dcer5810.js → managed-policy-nq90v52f.js} +26 -26
  197. package/dist/chunks/{variant-9f1seg8j.js → managed-policy-ntpzaq4y.js} +30 -30
  198. package/dist/chunks/{variant-9qw4j31g.js → managed-policy-ntrdmkct.js} +9 -9
  199. package/dist/chunks/{variant-8nx8zez9.js → managed-policy-p08t8h9z.js} +13 -13
  200. package/dist/chunks/{variant-m74j5n8t.js → managed-policy-p0ey5wrv.js} +44 -44
  201. package/dist/chunks/{variant-avrnkb01.js → managed-policy-p7pse8xf.js} +46 -46
  202. package/dist/chunks/{variant-c8swy7ka.js → managed-policy-p8hywtm9.js} +15 -15
  203. package/dist/chunks/{variant-17j9h1rv.js → managed-policy-pb1eahw5.js} +11 -11
  204. package/dist/chunks/{variant-p37cw4rj.js → managed-policy-phstrbs2.js} +8 -8
  205. package/dist/chunks/{variant-pjvnvgmy.js → managed-policy-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{variant-pknna89w.js → managed-policy-pknna89w.js} +1 -1
  207. package/dist/chunks/{variant-gbdr24b9.js → managed-policy-pn2fvd3j.js} +12 -12
  208. package/dist/chunks/{variant-c5ezeqt5.js → managed-policy-q4pw0c2n.js} +27 -27
  209. package/dist/chunks/{variant-wtm3ybk1.js → managed-policy-q4yhrq2j.js} +3 -3
  210. package/dist/chunks/{variant-dvc89yjx.js → managed-policy-q6amncqc.js} +8 -8
  211. package/dist/chunks/{variant-kzynzy4y.js → managed-policy-qa1h2r6b.js} +14 -14
  212. package/dist/chunks/{variant-g04dwg7s.js → managed-policy-qdes8zwy.js} +4 -4
  213. package/dist/chunks/{variant-45p7gsnq.js → managed-policy-qdy7cmrh.js} +25 -25
  214. package/dist/chunks/{variant-7dqw4kz8.js → managed-policy-qgn6gcr1.js} +5 -5
  215. package/dist/chunks/{variant-hcz3zddy.js → managed-policy-qn4ba14w.js} +5 -5
  216. package/dist/chunks/{variant-qsdy395h.js → managed-policy-qsdy395h.js} +1 -1
  217. package/dist/chunks/{variant-8fz7s7fk.js → managed-policy-rd8gyews.js} +3 -3
  218. package/dist/chunks/{variant-xycc92pn.js → managed-policy-rdp0wvtx.js} +32 -32
  219. package/dist/chunks/{variant-rdw6cm16.js → managed-policy-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{variant-nq97rzw1.js → managed-policy-retwe0n8.js} +21 -21
  221. package/dist/chunks/{variant-8qdtva9t.js → managed-policy-rf504ff2.js} +15 -15
  222. package/dist/chunks/{variant-fhpv401t.js → managed-policy-rf7cpa0c.js} +47 -47
  223. package/dist/chunks/{variant-kad49353.js → managed-policy-rjq8wmvv.js} +14 -14
  224. package/dist/chunks/{variant-g1zq083n.js → managed-policy-rncv50b8.js} +13 -13
  225. package/dist/chunks/{variant-5mvsdnr7.js → managed-policy-rpg9xyrt.js} +4 -4
  226. package/dist/chunks/{variant-3h50d2d8.js → managed-policy-rrq86xxm.js} +8 -8
  227. package/dist/chunks/{variant-72v9w41r.js → managed-policy-ryw39exz.js} +54 -54
  228. package/dist/chunks/{variant-b9dsjnj7.js → managed-policy-s13azqgb.js} +8 -8
  229. package/dist/chunks/{variant-eaj1djv9.js → managed-policy-s8d7rejh.js} +6 -6
  230. package/dist/chunks/{variant-3cz8rj72.js → managed-policy-s8zy8myc.js} +5 -5
  231. package/dist/chunks/{variant-vkepkbsm.js → managed-policy-skvzhceq.js} +20 -20
  232. package/dist/chunks/{variant-3prdw56f.js → managed-policy-sr8wmms9.js} +46 -46
  233. package/dist/chunks/{variant-1a6p2twq.js → managed-policy-sx1n432n.js} +4 -4
  234. package/dist/chunks/{variant-nv7t75ky.js → managed-policy-t38q3erb.js} +11 -11
  235. package/dist/chunks/{variant-qmkkft71.js → managed-policy-t7mznaap.js} +20 -20
  236. package/dist/chunks/{variant-n3hpqbgj.js → managed-policy-tar13cek.js} +11 -11
  237. package/dist/chunks/{variant-tazgh4e4.js → managed-policy-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{variant-tbmac1c7.js → managed-policy-tbmac1c7.js} +1 -1
  239. package/dist/chunks/{variant-tdstcens.js → managed-policy-tdstcens.js} +1 -1
  240. package/dist/chunks/{variant-dfjemdtf.js → managed-policy-tmfw0skg.js} +32 -32
  241. package/dist/chunks/{variant-tvtrv512.js → managed-policy-tvtrv512.js} +1 -1
  242. package/dist/chunks/{variant-z3pw5915.js → managed-policy-tz2bjj40.js} +5 -5
  243. package/dist/chunks/{variant-zvt5dnpc.js → managed-policy-tz4n1mmd.js} +4 -4
  244. package/dist/chunks/{variant-veqvce7d.js → managed-policy-veqvce7d.js} +1 -1
  245. package/dist/chunks/{variant-jn81emqq.js → managed-policy-vff1trn9.js} +11 -11
  246. package/dist/chunks/{variant-a5fr2mj9.js → managed-policy-vgbd6tbf.js} +20 -20
  247. package/dist/chunks/{variant-cm9mwwq8.js → managed-policy-vk08gg5p.js} +29 -29
  248. package/dist/chunks/{variant-9cyfspf3.js → managed-policy-vtxr0yy2.js} +5 -5
  249. package/dist/chunks/{variant-0z6w7vfv.js → managed-policy-vy4zg7qh.js} +12 -12
  250. package/dist/chunks/{variant-0f3fkebw.js → managed-policy-vyp2nf9v.js} +4 -4
  251. package/dist/chunks/{variant-vzcthcp8.js → managed-policy-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{variant-ngjw7veb.js → managed-policy-w1rh5dj8.js} +3 -3
  253. package/dist/chunks/{variant-w3wsvvr9.js → managed-policy-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{variant-2g7pkq9k.js → managed-policy-w5684xyg.js} +20 -20
  255. package/dist/chunks/{variant-psazpmmj.js → managed-policy-wd3x2cqz.js} +2 -2
  256. package/dist/chunks/{variant-wd87259q.js → managed-policy-wd87259q.js} +1 -1
  257. package/dist/chunks/{variant-9esb0m0p.js → managed-policy-wjxzpywc.js} +1 -1
  258. package/dist/chunks/{variant-rc0khjqf.js → managed-policy-wxzf76mr.js} +12 -12
  259. package/dist/chunks/{variant-x1ezjp6w.js → managed-policy-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{variant-62m7qsdd.js → managed-policy-x1kf4mj5.js} +3 -3
  261. package/dist/chunks/{variant-z16bdfpw.js → managed-policy-x35r8jm4.js} +9 -9
  262. package/dist/chunks/{variant-edv89m0p.js → managed-policy-x5j8ez8g.js} +44 -44
  263. package/dist/chunks/{variant-s7h606h9.js → managed-policy-x6mfsyej.js} +25 -25
  264. package/dist/chunks/{variant-fx8cm3j5.js → managed-policy-xbcmvxpx.js} +11 -11
  265. package/dist/chunks/{variant-7yrwfpwm.js → managed-policy-xf43b6z6.js} +11 -11
  266. package/dist/chunks/{variant-drwq78ky.js → managed-policy-xfkkasph.js} +4 -4
  267. package/dist/chunks/{variant-n2cj49gr.js → managed-policy-xmvnm6d3.js} +22 -22
  268. package/dist/chunks/{variant-yq6sxka3.js → managed-policy-xsascqe8.js} +48 -48
  269. package/dist/chunks/{variant-avd8ev9v.js → managed-policy-y19c3zcv.js} +4 -4
  270. package/dist/chunks/{variant-y1fvbwt7.js → managed-policy-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{variant-p8djes8h.js → managed-policy-y49pmrpy.js} +19 -19
  272. package/dist/chunks/{variant-xkhfjrgz.js → managed-policy-y6f0p4jw.js} +3 -3
  273. package/dist/chunks/{variant-y71avatq.js → managed-policy-y71avatq.js} +1 -1
  274. package/dist/chunks/{variant-31rgt9cd.js → managed-policy-y9xjjn74.js} +15 -15
  275. package/dist/chunks/{variant-75x4dgvy.js → managed-policy-yckd2dzx.js} +8 -8
  276. package/dist/chunks/{variant-jfmkgsry.js → managed-policy-yk0hjqzt.js} +18 -18
  277. package/dist/chunks/{variant-yrhqyw5v.js → managed-policy-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{variant-s4enseaf.js → managed-policy-yrznvahk.js} +2 -2
  279. package/dist/chunks/{variant-r8bjv7hd.js → managed-policy-yzg6r347.js} +14 -14
  280. package/dist/chunks/{variant-bjtzbw4r.js → managed-policy-z07pqspn.js} +3 -3
  281. package/dist/chunks/{variant-z0bkrqjs.js → managed-policy-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{variant-rt8yt3bf.js → managed-policy-z13zbn97.js} +17 -17
  283. package/dist/chunks/{variant-29x78va6.js → managed-policy-z63w68vq.js} +6 -6
  284. package/dist/chunks/{variant-02av72dv.js → managed-policy-z8518aq2.js} +35 -35
  285. package/dist/chunks/{variant-7y60eay9.js → managed-policy-z85wtvq4.js} +37 -37
  286. package/dist/chunks/{variant-apg24jar.js → managed-policy-zbd32vaa.js} +30 -30
  287. package/dist/chunks/{variant-zeh9ct20.js → managed-policy-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{variant-1w0wkfxf.js → managed-policy-zj1szvsc.js} +5 -5
  289. package/dist/chunks/{variant-d42e34ke.js → managed-policy-zpez7jvj.js} +49 -49
  290. package/dist/chunks/{variant-zr2ceqn5.js → managed-policy-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{variant-zxq2ej10.js → managed-policy-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +121 -121
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +4 -4
  426. package/dist/filesystem/location-watcher.js +221 -221
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +361 -361
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +1 -1
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +358 -358
  474. package/dist/location.js +89 -89
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +106 -106
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +96 -96
  485. package/dist/models-dev.js +97 -97
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +111 -111
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +1 -1
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +332 -332
  503. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +2 -2
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +91 -91
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +92 -92
  530. package/dist/plugin/provider/opencode.js +94 -94
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +351 -351
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +6 -6
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +223 -223
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +90 -90
  565. package/dist/provider.js +95 -95
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +96 -96
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +134 -134
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +15 -15
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +125 -125
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +116 -116
  646. package/dist/tool/plugin/question.js +103 -103
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +217 -217
  649. package/dist/tool/plugin/skill.js +105 -105
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +98 -98
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +4 -4
  672. package/dist/v1/config/formatter.js +7 -7
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +7 -7
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +91 -91
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +84 -84
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +81 -81
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +80 -80
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +8 -8
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +96 -96
  698. package/package.json +8 -8
  699. package/dist/chunks/variant-b6ck6p7e.js +0 -26
  700. package/dist/chunks/variant-cr86fwsy.js +0 -252
  701. package/dist/chunks/variant-ctefx7dc.js +0 -18
  702. package/dist/chunks/variant-fczcbajx.js +0 -503
  703. package/dist/chunks/variant-qapv375x.js +0 -4
  704. /package/dist/chunks/{variant-0qkdqm5v.js → managed-policy-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{variant-0zkw76rk.js → managed-policy-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{variant-17cy0kzp.js → managed-policy-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{variant-1cnp2v09.js → managed-policy-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{variant-1kg9ymc8.js → managed-policy-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{variant-24dcb14g.js → managed-policy-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{variant-2710q6r3.js → managed-policy-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{variant-2axfhc9x.js → managed-policy-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{variant-2c3vjs8z.js → managed-policy-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{variant-34c7v6d4.js → managed-policy-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{variant-359p4xyc.js → managed-policy-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{variant-3asan66x.js → managed-policy-3asan66x.js} +0 -0
  716. /package/dist/chunks/{variant-3v8g72cx.js → managed-policy-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{variant-3w5fmr99.js → managed-policy-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{variant-3wcehsnq.js → managed-policy-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{variant-43n2bw4t.js → managed-policy-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{variant-4knz6hnm.js → managed-policy-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{variant-4vcrnpx2.js → managed-policy-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{variant-4y7fprxs.js → managed-policy-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{variant-53557ph1.js → managed-policy-53557ph1.js} +0 -0
  724. /package/dist/chunks/{variant-550bvhaj.js → managed-policy-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{variant-6prwharc.js → managed-policy-6prwharc.js} +0 -0
  726. /package/dist/chunks/{variant-7akdwqpd.js → managed-policy-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{variant-7m9af43g.js → managed-policy-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{variant-822emrt2.js → managed-policy-822emrt2.js} +0 -0
  729. /package/dist/chunks/{variant-88xbtdfr.js → managed-policy-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{variant-8n3pysct.js → managed-policy-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{variant-8wj87zfr.js → managed-policy-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{variant-922hggd3.js → managed-policy-922hggd3.js} +0 -0
  733. /package/dist/chunks/{variant-9a4afbnw.js → managed-policy-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{variant-9rqn6x4v.js → managed-policy-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{variant-a6k6eb26.js → managed-policy-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{variant-af5trqkr.js → managed-policy-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{variant-afrmfg78.js → managed-policy-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{variant-aqzs7mqg.js → managed-policy-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{variant-atq7p7m5.js → managed-policy-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{variant-bkyjaxrp.js → managed-policy-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{variant-bmr6ed5q.js → managed-policy-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{variant-cf4snx6d.js → managed-policy-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{variant-cvy3z8tj.js → managed-policy-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{variant-d9fn303g.js → managed-policy-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{variant-d9jj8t3e.js → managed-policy-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{variant-dajrwvna.js → managed-policy-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{variant-dap0rakb.js → managed-policy-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{variant-df08tz66.js → managed-policy-df08tz66.js} +0 -0
  749. /package/dist/chunks/{variant-dy18nga0.js → managed-policy-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{variant-e5kj55wp.js → managed-policy-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{variant-e73j6tqm.js → managed-policy-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{variant-ec1grn59.js → managed-policy-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{variant-eh3zwz77.js → managed-policy-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{variant-emrn6kk6.js → managed-policy-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{variant-f0mxakyp.js → managed-policy-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{variant-f6n9ztr4.js → managed-policy-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{variant-faypxj3z.js → managed-policy-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{variant-fd410y7t.js → managed-policy-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{variant-fxgpk5d8.js → managed-policy-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{variant-g4wezp1m.js → managed-policy-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{variant-g86h250q.js → managed-policy-g86h250q.js} +0 -0
  762. /package/dist/chunks/{variant-gebd4c9n.js → managed-policy-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{variant-gftt206x.js → managed-policy-gftt206x.js} +0 -0
  764. /package/dist/chunks/{variant-hjbc5kem.js → managed-policy-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{variant-hk9envan.js → managed-policy-hk9envan.js} +0 -0
  766. /package/dist/chunks/{variant-j2ntwpah.js → managed-policy-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{variant-j5zkgpj8.js → managed-policy-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{variant-jjkms2e6.js → managed-policy-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{variant-jr7sbwjy.js → managed-policy-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{variant-jwfs4k6c.js → managed-policy-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{variant-jzg6c2d5.js → managed-policy-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{variant-mp448xyj.js → managed-policy-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{variant-msx8hqn2.js → managed-policy-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{variant-n05xt0ee.js → managed-policy-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{variant-n3j8tn72.js → managed-policy-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{variant-njntx4h6.js → managed-policy-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{variant-q3sfg36h.js → managed-policy-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{variant-q74kybfr.js → managed-policy-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{variant-qaymkmh1.js → managed-policy-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{variant-qb87gjwd.js → managed-policy-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{variant-qfa1cgps.js → managed-policy-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{variant-qg3g05ea.js → managed-policy-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{variant-qrg20bc0.js → managed-policy-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{variant-rcb2kzg1.js → managed-policy-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{variant-sdp7kfr6.js → managed-policy-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{variant-sk3qaz4a.js → managed-policy-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{variant-ssg3fenm.js → managed-policy-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{variant-w803qqfp.js → managed-policy-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{variant-wc3fc9cn.js → managed-policy-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{variant-wer8tq1h.js → managed-policy-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{variant-wtztk69x.js → managed-policy-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{variant-x0ckcb58.js → managed-policy-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{variant-x61499pn.js → managed-policy-x61499pn.js} +0 -0
  794. /package/dist/chunks/{variant-y44na4kk.js → managed-policy-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{variant-y8cydn3q.js → managed-policy-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{variant-y8f7s663.js → managed-policy-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{variant-ygaqb7jw.js → managed-policy-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{variant-ym463w8f.js → managed-policy-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{variant-z9919s4g.js → managed-policy-z9919s4g.js} +0 -0
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./variant-922hggd3.js";
5
+ } from "./managed-policy-922hggd3.js";
6
6
  import {
7
- Service75,
8
- node79
9
- } from "./variant-ehd2w0yp.js";
7
+ Service80,
8
+ node84
9
+ } from "./managed-policy-4hpzevxd.js";
10
10
  import {
11
- Service14,
12
- node16
13
- } from "./variant-xycc92pn.js";
11
+ Service55,
12
+ node58
13
+ } from "./managed-policy-rdp0wvtx.js";
14
14
  import {
15
15
  __export
16
- } from "./variant-9rqn6x4v.js";
16
+ } from "./managed-policy-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -21,28 +21,28 @@ __export(exports_filesystem, {
21
21
  Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
- Entry: () => Entry2,
25
- Event: () => Event2,
24
+ Entry: () => Entry4,
25
+ Event: () => Event11,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
- ListInput: () => ListInput2,
30
+ ListInput: () => ListInput3,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError2,
32
+ NotFoundError: () => NotFoundError7,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service13,
34
+ Service: () => Service54,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node15
38
+ node: () => node57
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 Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
+ import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
46
46
  var ReadInput2 = Schema.Struct({
47
47
  path: RelativePath2
48
48
  });
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
@@ -62,7 +62,7 @@ var Content2 = Schema.Struct({
62
62
  encoding: Schema.Literals(["utf8", "base64"]),
63
63
  mime: Schema.String
64
64
  }).annotate({ identifier: "FileSystem.Content" });
65
- var ListInput2 = Schema.Struct({
65
+ var ListInput3 = 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 Event2 = FileSystem.Event;
88
+ var Event11 = FileSystem.Event;
89
89
 
90
- class Service13 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service54 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service54, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
- const location = yield* Service75;
95
- const search = yield* Service14;
94
+ const location = yield* Service80;
95
+ const search = yield* Service55;
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(Service13, 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 Service13.of({
106
+ return Service54.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 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)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ 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 NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ 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(Service13, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node15 = makeLocationNode({
144
- service: Service13,
143
+ var node57 = makeLocationNode({
144
+ service: Service54,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node79, node16]
146
+ deps: [FSUtil.node, node84, node58]
147
147
  });
148
148
 
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 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError7, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event11, Service54, node57, exports_filesystem, Entry4, Match2, Submatch2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service70
3
- } from "./variant-avrnkb01.js";
2
+ Service43
3
+ } from "./managed-policy-p7pse8xf.js";
4
4
  import {
5
5
  Service7
6
- } from "./variant-r2m716tb.js";
6
+ } from "./managed-policy-c765mh8b.js";
7
7
  import {
8
8
  observe2
9
- } from "./variant-qsdy395h.js";
9
+ } from "./managed-policy-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./variant-9rqn6x4v.js";
12
+ } from "./managed-policy-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
15
  var exports_location_watcher2 = {};
16
16
  __export(exports_location_watcher2, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin15
18
+ Plugin: () => Plugin31
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin15 = define({
22
+ var Plugin31 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service70;
25
+ const config = yield* Service43;
26
26
  const policy = yield* Service7;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
@@ -35,4 +35,4 @@ var Plugin15 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin15, exports_location_watcher2 };
38
+ export { Plugin31, exports_location_watcher2 };
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service51,
9
- node53
10
- } from "./variant-md1qfzvn.js";
8
+ Service72,
9
+ node76
10
+ } from "./managed-policy-251d3kbp.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./variant-xkhfjrgz.js";
13
+ } from "./managed-policy-y6f0p4jw.js";
14
14
  import {
15
15
  __export
16
- } from "./variant-9rqn6x4v.js";
16
+ } from "./managed-policy-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -22,13 +22,13 @@ __export(exports_model, {
22
22
  ModelInitializationError: () => ModelInitializationError2,
23
23
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
24
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service46,
25
+ Service: () => Service38,
26
26
  SessionRunnerModel: () => exports_model,
27
27
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
28
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
29
  UnsupportedPackageError: () => UnsupportedPackageError2,
30
30
  VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node48,
31
+ node: () => node40,
32
32
  resolved: () => resolved2
33
33
  });
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
57
57
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
58
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
59
 
60
- class Service46 extends Context.Service()("@opencode/SessionRunnerModel") {
60
+ class Service38 extends Context.Service()("@opencode/SessionRunnerModel") {
61
61
  }
62
62
  var resolved2 = (model, options) => ({
63
63
  model,
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
72
72
  compaction: options.compaction,
73
73
  transport: options.transport
74
74
  });
75
- var layer = Layer.effect(Service46, Effect.gen(function* () {
76
- const resolver = yield* Service51;
77
- return Service46.of({
75
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
76
+ const resolver = yield* Service72;
77
+ return Service38.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
80
80
  const resolved = yield* resolver.resolve();
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node48 = makeLocationNode({ service: Service46, layer, deps: [node53] });
95
+ var node40 = makeLocationNode({ service: Service38, layer, deps: [node76] });
96
96
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service46, resolved2, node48, exports_model };
97
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service38, resolved2, node40, exports_model };
@@ -1,71 +1,71 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./variant-0f3fkebw.js";
4
+ } from "./managed-policy-vyp2nf9v.js";
5
5
  import {
6
- Service75,
7
- node79
8
- } from "./variant-ehd2w0yp.js";
6
+ Service80,
7
+ node84
8
+ } from "./managed-policy-4hpzevxd.js";
9
9
  import {
10
- ID9,
11
- Service67,
12
- node71
13
- } from "./variant-vrk0cgw0.js";
10
+ ID11,
11
+ Service66,
12
+ node70
13
+ } from "./managed-policy-gshdf3b6.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./variant-834a0b17.js";
16
+ } from "./managed-policy-984xje6x.js";
17
17
  import {
18
- Service66,
19
- node70
20
- } from "./variant-f747t98r.js";
18
+ Service65,
19
+ node69
20
+ } from "./managed-policy-2ryrf09a.js";
21
21
  import {
22
22
  match2
23
- } from "./variant-y1fvbwt7.js";
23
+ } from "./managed-policy-y1fvbwt7.js";
24
24
  import {
25
- Service68,
26
- node72
27
- } from "./variant-9byqxeta.js";
25
+ Service64,
26
+ node68
27
+ } from "./managed-policy-drkpxzze.js";
28
28
  import {
29
- Service69,
30
- node73
31
- } from "./variant-0xezjjjn.js";
29
+ Service67,
30
+ node71
31
+ } from "./managed-policy-g1sxm558.js";
32
32
  import {
33
33
  __export
34
- } from "./variant-9rqn6x4v.js";
34
+ } from "./managed-policy-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event11,
45
+ Event: () => Event13,
46
46
  ID: () => ID8,
47
47
  NotFoundError: () => NotFoundError8,
48
- Permission: () => exports_permission,
48
+ Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule2,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service65,
55
- Source: () => Source5,
54
+ Service: () => Service63,
55
+ Source: () => Source4,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node69
58
+ node: () => node67
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event11 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event13 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
67
  var ID8 = Permission.ID;
68
- var Source5 = Permission.Source;
68
+ var Source4 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
71
71
  action: Permission.Request.fields.action,
@@ -79,7 +79,7 @@ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
80
  id: ID8.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID9.pipe(Schema.optional)
82
+ agent: ID11.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
85
  requestID: ID8,
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service65 extends Context.Service()("@opencode/Permission") {
128
+ class Service63 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service65, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
- const location = yield* Service75;
133
- const agents = yield* Service67;
134
- const sessions = yield* Service66;
135
- const saved = yield* Service68;
136
- const hooks = yield* Service69;
132
+ const location = yield* Service80;
133
+ const agents = yield* Service66;
134
+ const sessions = yield* Service65;
135
+ const saved = yield* Service64;
136
+ const hooks = yield* Service67;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service65.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service63.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node69 = makeLocationNode({
303
- service: Service65,
302
+ var node67 = makeLocationNode({
303
+ service: Service63,
304
304
  layer,
305
- deps: [node87, node79, node71, node70, node72, node73]
305
+ deps: [node87, node84, node70, node69, node68, node71]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service65, node69, exports_permission, Rule2, Ruleset2, Event11 };
308
+ export { PermissionEffect, ID8, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service63, node67, exports_permission2, Rule3, Ruleset2, Event13 };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./variant-0f3fkebw.js";
4
+ } from "./managed-policy-vyp2nf9v.js";
5
5
  import {
6
- Event20,
7
- Service81,
8
- node85
9
- } from "./variant-apg24jar.js";
6
+ Event19,
7
+ Service77,
8
+ node81
9
+ } from "./managed-policy-zbd32vaa.js";
10
10
  import {
11
- Service71,
12
- node75
13
- } from "./variant-n2cj49gr.js";
11
+ Service44,
12
+ node46
13
+ } from "./managed-policy-xmvnm6d3.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./variant-922hggd3.js";
16
+ } from "./managed-policy-922hggd3.js";
17
17
  import {
18
- Service75,
19
- node79
20
- } from "./variant-ehd2w0yp.js";
18
+ Service80,
19
+ node84
20
+ } from "./managed-policy-4hpzevxd.js";
21
21
  import {
22
22
  substitute2
23
- } from "./variant-s4enseaf.js";
23
+ } from "./managed-policy-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./variant-a5t4p5xt.js";
26
+ } from "./managed-policy-473re8za.js";
27
27
  import {
28
- names4,
28
+ names3,
29
29
  discover3
30
- } from "./variant-b51jbz85.js";
30
+ } from "./managed-policy-fapvw67d.js";
31
31
  import {
32
32
  plan2
33
- } from "./variant-j56e64zr.js";
33
+ } from "./managed-policy-j56e64zr.js";
34
34
  import {
35
- Service72,
36
- Event14,
37
- node76
38
- } from "./variant-2g7pkq9k.js";
35
+ Service45,
36
+ Event7,
37
+ node47
38
+ } from "./managed-policy-w5684xyg.js";
39
39
  import {
40
40
  __export
41
- } from "./variant-9rqn6x4v.js";
41
+ } from "./managed-policy-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options7,
48
- Service: () => Service70,
47
+ Options: () => Options6,
48
+ Service: () => Service43,
49
49
  Test: () => Test2,
50
- configured: () => configured9,
50
+ configured: () => configured6,
51
51
  latest: () => latest2,
52
- layer: () => layer22,
53
- node: () => node74,
52
+ layer: () => layer18,
53
+ node: () => node45,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options7 = Schema.Struct({
67
+ var Options6 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service70 extends Context.Service()("@opencode/Config") {
74
+ class Service43 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service70, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service43, service), Context.add(Test2, service));
93
93
  }));
94
- var layer22 = (options) => Layer.effect(Service70, Effect.gen(function* () {
94
+ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service75;
97
- const watcher = yield* Service71;
96
+ const location = yield* Service80;
97
+ const watcher = yield* Service44;
98
98
  const bus = yield* Service83;
99
- const credentials = yield* Service81;
99
+ const credentials = yield* Service77;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service72;
101
+ const wellknown = yield* Service45;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -167,7 +167,7 @@ var layer22 = (options) => Layer.effect(Service70, Effect.gen(function* () {
167
167
  });
168
168
  const loadDirectory = Effect.fnUntraced(function* (directory) {
169
169
  return [
170
- ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
170
+ ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
171
  new Directory({ type: "directory", path: directory })
172
172
  ];
173
173
  });
@@ -221,8 +221,8 @@ var layer22 = (options) => Layer.effect(Service70, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event7.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -235,7 +235,7 @@ var layer22 = (options) => Layer.effect(Service70, Effect.gen(function* () {
235
235
  yield* reloadLock.withPermit(reconcile(initial));
236
236
  const update = Effect.fn("Config.update")(function* (patch) {
237
237
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
238
- const candidates = names4.map((name) => path.join(directory, name));
238
+ const candidates = names3.map((name) => path.join(directory, name));
239
239
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
240
240
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
241
241
  `;
@@ -250,7 +250,7 @@ var layer22 = (options) => Layer.effect(Service70, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service70.of({
253
+ return Service43.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer22 = (options) => Layer.effect(Service70, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured9(options) {
265
+ function configured6(options) {
266
266
  return makeLocationNode({
267
- service: Service70,
268
- layer: layer22(options),
269
- deps: [node75, node87, FSUtil.node, Global.node, node79, node85, node76]
267
+ service: Service43,
268
+ layer: layer18(options),
269
+ deps: [node46, node87, FSUtil.node, Global.node, node84, node81, node47]
270
270
  });
271
271
  }
272
- var node74 = configured9();
272
+ var node45 = configured6();
273
273
 
274
- export { latest2, Options7, Service70, Test2, testLayer2, layer22, configured9, node74, exports_config };
274
+ export { latest2, Options6, Service43, Test2, testLayer2, layer18, configured6, node45, exports_config };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service71
3
- } from "./variant-n2cj49gr.js";
2
+ Service44
3
+ } from "./managed-policy-xmvnm6d3.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./variant-eaj1djv9.js";
6
+ } from "./managed-policy-s8d7rejh.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./variant-922hggd3.js";
9
+ } from "./managed-policy-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service82
13
- } from "./variant-8tpythmx.js";
12
+ Service40
13
+ } from "./managed-policy-7h9mx2w5.js";
14
14
  import {
15
- Service75
16
- } from "./variant-ehd2w0yp.js";
15
+ Service80
16
+ } from "./managed-policy-4hpzevxd.js";
17
17
  import {
18
18
  __export
19
- } from "./variant-9rqn6x4v.js";
19
+ } from "./managed-policy-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin13
25
+ Plugin: () => Plugin14
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin13 = define({
32
+ var Plugin14 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service82;
35
+ const discovery = yield* Service40;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service75;
42
- const watcher = yield* Service71;
41
+ const location = yield* Service80;
42
+ const watcher = yield* Service44;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin13, exports_instruction };
117
+ export { Plugin14, exports_instruction };