@opencode/core 0.0.0-dev-210 → 0.0.0-dev-216

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 (832) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +88 -88
  3. package/dist/aisdk-native.js +98 -98
  4. package/dist/aisdk.js +104 -104
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +80 -80
  7. package/dist/chunks/{filesystem-034tev2y.js → managed-policy-034tev2y.js} +2 -2
  8. package/dist/chunks/{filesystem-0g3nw2rk.js → managed-policy-07kkcbvt.js} +5 -5
  9. package/dist/chunks/{filesystem-hrp7h9k8.js → managed-policy-09w9rp09.js} +8 -8
  10. package/dist/chunks/{filesystem-k1txdcnn.js → managed-policy-0nh5p15d.js} +31 -31
  11. package/dist/chunks/{filesystem-f1g9v2n6.js → managed-policy-0pqx6czk.js} +3 -3
  12. package/dist/chunks/{filesystem-2pb4csn2.js → managed-policy-0qfymv80.js} +41 -41
  13. package/dist/chunks/{filesystem-w3p04qes.js → managed-policy-0r3h9arj.js} +45 -45
  14. package/dist/chunks/{filesystem-majcfxdx.js → managed-policy-0vp9s6f9.js} +9 -9
  15. package/dist/chunks/{filesystem-5ect6tx9.js → managed-policy-107zh63q.js} +3 -3
  16. package/dist/chunks/{filesystem-dvaraee2.js → managed-policy-150dhjmr.js} +22 -22
  17. package/dist/chunks/{filesystem-v5hpj9dd.js → managed-policy-160yv0cs.js} +8 -8
  18. package/dist/chunks/{filesystem-1ep2p91f.js → managed-policy-1ep2p91f.js} +2 -2
  19. package/dist/chunks/{filesystem-n6v0k17x.js → managed-policy-1hm6kjpw.js} +9 -9
  20. package/dist/chunks/{filesystem-ax7jxbq7.js → managed-policy-1j23x897.js} +39 -39
  21. package/dist/chunks/{filesystem-rvp0ckfz.js → managed-policy-1m7gsgyc.js} +29 -29
  22. package/dist/chunks/{filesystem-kaaytn36.js → managed-policy-1qnvpg4t.js} +20 -20
  23. package/dist/chunks/{filesystem-1x2knyw4.js → managed-policy-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{filesystem-1yq9hg58.js → managed-policy-1yq9hg58.js} +1 -1
  25. package/dist/chunks/{filesystem-pgzqbqf1.js → managed-policy-1z710ehv.js} +8 -8
  26. package/dist/chunks/{filesystem-204s3925.js → managed-policy-204s3925.js} +1 -1
  27. package/dist/chunks/{filesystem-1a6vdzep.js → managed-policy-228qw6tw.js} +12 -12
  28. package/dist/chunks/{filesystem-6r5tx5vd.js → managed-policy-266g2ee2.js} +15 -15
  29. package/dist/chunks/{filesystem-xptjxdz6.js → managed-policy-2cvzdrfc.js} +16 -16
  30. package/dist/chunks/{filesystem-gm2f0atq.js → managed-policy-2eaepfht.js} +18 -18
  31. package/dist/chunks/{filesystem-14hxjxc8.js → managed-policy-2gk94sz8.js} +6 -6
  32. package/dist/chunks/{filesystem-qpa23kw8.js → managed-policy-2rph8h54.js} +30 -30
  33. package/dist/chunks/{filesystem-5yght9ra.js → managed-policy-2y6dz9f0.js} +35 -35
  34. package/dist/chunks/{filesystem-1vz7yhpq.js → managed-policy-33wts4m2.js} +43 -43
  35. package/dist/chunks/{filesystem-rcthcsey.js → managed-policy-37z7t7n3.js} +13 -13
  36. package/dist/chunks/{filesystem-45wb8ppp.js → managed-policy-3bgf9gas.js} +4 -4
  37. package/dist/chunks/{filesystem-3rhjxprg.js → managed-policy-3fpavj51.js} +18 -18
  38. package/dist/chunks/{filesystem-3hepkmqq.js → managed-policy-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{filesystem-vm40an3j.js → managed-policy-3kzsdk5j.js} +9 -9
  40. package/dist/chunks/{filesystem-r0dsnsr8.js → managed-policy-3mrgaxhn.js} +16 -16
  41. package/dist/chunks/{filesystem-3nnrz6f6.js → managed-policy-3nnrz6f6.js} +1 -1
  42. package/dist/chunks/{filesystem-97ctmtmy.js → managed-policy-3sf2e76y.js} +7 -7
  43. package/dist/chunks/{filesystem-wq31c655.js → managed-policy-3zpkprm0.js} +35 -35
  44. package/dist/chunks/{filesystem-dr326g96.js → managed-policy-412bywns.js} +7 -7
  45. package/dist/chunks/{filesystem-xdkjcj8h.js → managed-policy-41e375vw.js} +25 -25
  46. package/dist/chunks/{filesystem-annen545.js → managed-policy-42aa8r78.js} +8 -8
  47. package/dist/chunks/{filesystem-4dxkx4vc.js → managed-policy-43hxaq7r.js} +15 -15
  48. package/dist/chunks/managed-policy-44sxkgfq.js +535 -0
  49. package/dist/chunks/{filesystem-pcrfxpzv.js → managed-policy-4gg4ddc9.js} +17 -17
  50. package/dist/chunks/{filesystem-4pyp9zr9.js → managed-policy-4pyp9zr9.js} +1 -1
  51. package/dist/chunks/{filesystem-k079z09p.js → managed-policy-4rddwp2j.js} +4 -4
  52. package/dist/chunks/{filesystem-4v008n1t.js → managed-policy-4v008n1t.js} +1 -1
  53. package/dist/chunks/{filesystem-w1fms507.js → managed-policy-4wgh4n97.js} +22 -22
  54. package/dist/chunks/{filesystem-5m9w47nd.js → managed-policy-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{filesystem-xarg0qdr.js → managed-policy-5mszzwxq.js} +11 -11
  56. package/dist/chunks/{filesystem-n2h4jtew.js → managed-policy-622qny3f.js} +5 -5
  57. package/dist/chunks/{filesystem-2yqf0428.js → managed-policy-63r6w7hz.js} +5 -5
  58. package/dist/chunks/{filesystem-e618q6jv.js → managed-policy-66bbatvw.js} +9 -9
  59. package/dist/chunks/{filesystem-6esdw8yj.js → managed-policy-6esdw8yj.js} +1 -1
  60. package/dist/chunks/{filesystem-gxwtb78g.js → managed-policy-6hv1p7wn.js} +17 -17
  61. package/dist/chunks/{filesystem-18g90bpv.js → managed-policy-6twykydk.js} +9 -9
  62. package/dist/chunks/{filesystem-cj5ykkxh.js → managed-policy-767v337v.js} +5 -5
  63. package/dist/chunks/{filesystem-76cb1hcw.js → managed-policy-76cb1hcw.js} +1 -1
  64. package/dist/chunks/{filesystem-bmrbft0k.js → managed-policy-7a3114f4.js} +24 -24
  65. package/dist/chunks/{filesystem-armxxs9m.js → managed-policy-7b97r4gm.js} +9 -9
  66. package/dist/chunks/{filesystem-7bmhse3q.js → managed-policy-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{filesystem-e3g479a6.js → managed-policy-7h0rt7c4.js} +77 -77
  68. package/dist/chunks/{filesystem-nkdehe09.js → managed-policy-7pg11w8a.js} +28 -28
  69. package/dist/chunks/{filesystem-08w4mgsv.js → managed-policy-7q8j4vsb.js} +33 -33
  70. package/dist/chunks/{filesystem-h7gvp0tv.js → managed-policy-7tghhr5w.js} +2 -2
  71. package/dist/chunks/{filesystem-7w2ypzdf.js → managed-policy-7w2ypzdf.js} +1 -1
  72. package/dist/chunks/{filesystem-1596dtyg.js → managed-policy-7xnr23hg.js} +8 -8
  73. package/dist/chunks/{filesystem-csvfcyj3.js → managed-policy-85s6fvbh.js} +25 -25
  74. package/dist/chunks/{filesystem-bprm2g42.js → managed-policy-86kf6kwz.js} +32 -32
  75. package/dist/chunks/{filesystem-24c2n9k1.js → managed-policy-8d4sj4bn.js} +33 -33
  76. package/dist/chunks/{filesystem-czzevw5a.js → managed-policy-8gdy4vr2.js} +13 -13
  77. package/dist/chunks/{filesystem-11hfp36g.js → managed-policy-8jztxfpf.js} +4 -4
  78. package/dist/chunks/{filesystem-fny70jpy.js → managed-policy-8k8pzbp4.js} +8 -8
  79. package/dist/chunks/{filesystem-xqx7k15x.js → managed-policy-8nzrkxd1.js} +50 -50
  80. package/dist/chunks/{filesystem-5jmrcfpw.js → managed-policy-8pa15k9v.js} +13 -13
  81. package/dist/chunks/{filesystem-ytys4wt6.js → managed-policy-8r963mc5.js} +31 -31
  82. package/dist/chunks/{filesystem-ws6kh7b7.js → managed-policy-8rxnf6rg.js} +8 -8
  83. package/dist/chunks/{filesystem-rerxfbrr.js → managed-policy-8s5gsqh9.js} +13 -13
  84. package/dist/chunks/{filesystem-8wtp7s3z.js → managed-policy-8wtp7s3z.js} +1 -1
  85. package/dist/chunks/{filesystem-90zstvax.js → managed-policy-90zstvax.js} +1 -1
  86. package/dist/chunks/{filesystem-61ennm6n.js → managed-policy-95sp4hdf.js} +6 -6
  87. package/dist/chunks/{filesystem-n61g9vyf.js → managed-policy-98n8hmv5.js} +25 -25
  88. package/dist/chunks/{filesystem-zgtpaate.js → managed-policy-9je1nwdh.js} +19 -19
  89. package/dist/chunks/{filesystem-t1ncdzfb.js → managed-policy-9kd02d4m.js} +30 -30
  90. package/dist/chunks/{filesystem-ck72d7f2.js → managed-policy-9kp3x9wv.js} +10 -10
  91. package/dist/chunks/{filesystem-1r7af8ee.js → managed-policy-9n4vggc2.js} +3 -3
  92. package/dist/chunks/{filesystem-8aem79f2.js → managed-policy-9n82mgqh.js} +21 -21
  93. package/dist/chunks/{filesystem-gsnkxft0.js → managed-policy-9p4f82fn.js} +11 -11
  94. package/dist/chunks/{filesystem-z6vvjhzx.js → managed-policy-9p5d80zf.js} +16 -16
  95. package/dist/chunks/{filesystem-4pw98qd4.js → managed-policy-9tvpxs1q.js} +4 -4
  96. package/dist/chunks/{filesystem-snfsmn1e.js → managed-policy-a2zex5ge.js} +8 -8
  97. package/dist/chunks/{filesystem-b46dpqs0.js → managed-policy-a6k8x5h8.js} +11 -11
  98. package/dist/chunks/{filesystem-m146rhxa.js → managed-policy-aevmsyha.js} +15 -15
  99. package/dist/chunks/{filesystem-drvbhkez.js → managed-policy-agqd6nxz.js} +2 -2
  100. package/dist/chunks/{filesystem-14k2p94z.js → managed-policy-amrj7qc1.js} +4 -4
  101. package/dist/chunks/{filesystem-w5qh0yp9.js → managed-policy-aqqtfdwz.js} +11 -11
  102. package/dist/chunks/{filesystem-8wc2fpae.js → managed-policy-avgzkss2.js} +5 -5
  103. package/dist/chunks/{filesystem-ayjs7tqn.js → managed-policy-ayjs7tqn.js} +2 -2
  104. package/dist/chunks/{filesystem-x4z26120.js → managed-policy-b1abqd7e.js} +12 -12
  105. package/dist/chunks/{filesystem-b6vsg801.js → managed-policy-b6vsg801.js} +2 -2
  106. package/dist/chunks/managed-policy-bap3ksvb.js +179 -0
  107. package/dist/chunks/{filesystem-y5d65aff.js → managed-policy-bj5qwy1k.js} +9 -9
  108. package/dist/chunks/{filesystem-j6fmvzx1.js → managed-policy-bjzqk2n8.js} +25 -25
  109. package/dist/chunks/{filesystem-bstexjd6.js → managed-policy-bstexjd6.js} +1 -1
  110. package/dist/chunks/{filesystem-c8fxmp84.js → managed-policy-bv3y5c4j.js} +4 -4
  111. package/dist/chunks/{filesystem-fej4fvmz.js → managed-policy-bvdny1vn.js} +15 -15
  112. package/dist/chunks/{filesystem-fg2aznv6.js → managed-policy-bw1xzdqa.js} +13 -13
  113. package/dist/chunks/{filesystem-91bvc4ty.js → managed-policy-bw7qwmzq.js} +4 -4
  114. package/dist/chunks/{filesystem-09bv4atg.js → managed-policy-c46s9eb3.js} +5 -5
  115. package/dist/chunks/{filesystem-fncrvfr8.js → managed-policy-c5creg6z.js} +9 -9
  116. package/dist/chunks/{filesystem-p76me67c.js → managed-policy-c5kjsz6q.js} +4 -4
  117. package/dist/chunks/{filesystem-ssfehs1z.js → managed-policy-c9t2ty9q.js} +4 -4
  118. package/dist/chunks/{filesystem-0nhbejy7.js → managed-policy-cbvth98t.js} +32 -31
  119. package/dist/chunks/{filesystem-6cems51h.js → managed-policy-cfssf86b.js} +9 -9
  120. package/dist/chunks/{filesystem-cm18kf9d.js → managed-policy-cm18kf9d.js} +3 -3
  121. package/dist/chunks/{filesystem-h01md3m8.js → managed-policy-crdpj2hj.js} +4 -4
  122. package/dist/chunks/{filesystem-dma5n97j.js → managed-policy-cv75k6pt.js} +37 -37
  123. package/dist/chunks/{filesystem-d3bra3vm.js → managed-policy-cvndt9rs.js} +8 -8
  124. package/dist/chunks/{filesystem-cwrgdav8.js → managed-policy-cwrgdav8.js} +2 -2
  125. package/dist/chunks/{filesystem-crxr35d9.js → managed-policy-d08wnpp5.js} +37 -37
  126. package/dist/chunks/{filesystem-8zh671ad.js → managed-policy-d1ejqyaz.js} +35 -35
  127. package/dist/chunks/{filesystem-d4v9tmah.js → managed-policy-d4v9tmah.js} +2 -2
  128. package/dist/chunks/{filesystem-hyyve62m.js → managed-policy-db9bcw6m.js} +31 -31
  129. package/dist/chunks/{filesystem-hx3mz2q2.js → managed-policy-dd57nsvn.js} +4 -4
  130. package/dist/chunks/{filesystem-3kwyfx5c.js → managed-policy-dezggndt.js} +22 -22
  131. package/dist/chunks/{filesystem-x2kwmbaj.js → managed-policy-dh3287tk.js} +4 -4
  132. package/dist/chunks/{filesystem-2ede0ce3.js → managed-policy-dqppdk9v.js} +18 -18
  133. package/dist/chunks/{filesystem-dt77769w.js → managed-policy-dt77769w.js} +1 -1
  134. package/dist/chunks/{filesystem-w6763yes.js → managed-policy-dwxz8etj.js} +32 -32
  135. package/dist/chunks/{filesystem-55y85j01.js → managed-policy-dz3xg6q8.js} +13 -13
  136. package/dist/chunks/{filesystem-qbhjbqdd.js → managed-policy-e0c9a8sh.js} +18 -18
  137. package/dist/chunks/{filesystem-p6aax6q6.js → managed-policy-e1ym7zmg.js} +21 -21
  138. package/dist/chunks/{filesystem-gmqegw1e.js → managed-policy-e2w7x0d9.js} +6 -6
  139. package/dist/chunks/{filesystem-e834z07m.js → managed-policy-e834z07m.js} +1 -1
  140. package/dist/chunks/{filesystem-tf83vx35.js → managed-policy-ecrdeyvn.js} +10 -10
  141. package/dist/chunks/{filesystem-xbc6qp68.js → managed-policy-efer459w.js} +6 -6
  142. package/dist/chunks/{filesystem-9d50e9x8.js → managed-policy-egrbahm2.js} +12 -12
  143. package/dist/chunks/{filesystem-jg2yb00g.js → managed-policy-egvkbdb0.js} +32 -32
  144. package/dist/chunks/{filesystem-2vzb41ed.js → managed-policy-eka8qb2s.js} +5 -5
  145. package/dist/chunks/{filesystem-j8b46n9s.js → managed-policy-enfxargv.js} +31 -31
  146. package/dist/chunks/{filesystem-434rvpkg.js → managed-policy-eqebhpz4.js} +9 -9
  147. package/dist/chunks/{filesystem-sjq3mznt.js → managed-policy-evr1eg8m.js} +11 -11
  148. package/dist/chunks/{filesystem-bhvs01y7.js → managed-policy-f52hekk8.js} +6 -6
  149. package/dist/chunks/{filesystem-6easw4m5.js → managed-policy-f85p8vjg.js} +4 -4
  150. package/dist/chunks/{filesystem-fffv3p7h.js → managed-policy-fffv3p7h.js} +1 -1
  151. package/dist/chunks/{filesystem-prq7xxp2.js → managed-policy-fg9p65nk.js} +6 -6
  152. package/dist/chunks/{filesystem-df9zz4rf.js → managed-policy-fpbj6hj1.js} +8 -8
  153. package/dist/chunks/managed-policy-fpd6ajsz.js +257 -0
  154. package/dist/chunks/{filesystem-c7xcdgb3.js → managed-policy-fqgsc6ey.js} +3 -3
  155. package/dist/chunks/{filesystem-xhesmbhs.js → managed-policy-frtra50h.js} +19 -19
  156. package/dist/chunks/{filesystem-n1gr2kpt.js → managed-policy-g583fxgy.js} +4 -4
  157. package/dist/chunks/{filesystem-gg8p9cgs.js → managed-policy-gg8p9cgs.js} +3 -3
  158. package/dist/chunks/managed-policy-gkc8nen5.js +26 -0
  159. package/dist/chunks/{filesystem-bw7c9nwt.js → managed-policy-gnan7e3f.js} +15 -15
  160. package/dist/chunks/{filesystem-bdpbxs8g.js → managed-policy-grsxt8dy.js} +21 -21
  161. package/dist/chunks/managed-policy-grzehpz7.js +18 -0
  162. package/dist/chunks/{filesystem-xt0z8zst.js → managed-policy-gtn9c16a.js} +4 -4
  163. package/dist/chunks/{filesystem-ywjp853w.js → managed-policy-h3xs8p56.js} +39 -39
  164. package/dist/chunks/{filesystem-y47dt2v0.js → managed-policy-h5swxdgv.js} +25 -25
  165. package/dist/chunks/{filesystem-1ym1r093.js → managed-policy-h6ng9pwv.js} +39 -39
  166. package/dist/chunks/{filesystem-j5ge61vx.js → managed-policy-hm7fe3gd.js} +51 -43
  167. package/dist/chunks/{filesystem-g4pcw3ts.js → managed-policy-hm96abet.js} +24 -24
  168. package/dist/chunks/{filesystem-hpg1pkwy.js → managed-policy-hpg1pkwy.js} +1 -1
  169. package/dist/chunks/{filesystem-nv9tsjma.js → managed-policy-hvvf9qw8.js} +6 -6
  170. package/dist/chunks/{filesystem-qmx7pqgw.js → managed-policy-hyx29p98.js} +28 -20
  171. package/dist/chunks/{filesystem-ynaqhc8e.js → managed-policy-hzhwf3pn.js} +9 -9
  172. package/dist/chunks/{filesystem-2ps4vp47.js → managed-policy-jdjyz4r2.js} +55 -55
  173. package/dist/chunks/{filesystem-jfaecv01.js → managed-policy-jfaecv01.js} +1 -1
  174. package/dist/chunks/{filesystem-3ztadfm7.js → managed-policy-jk6fvq65.js} +45 -45
  175. package/dist/chunks/{filesystem-m3bdadrj.js → managed-policy-jmgpwxbk.js} +9 -9
  176. package/dist/chunks/{filesystem-jtnps1zs.js → managed-policy-jtnps1zs.js} +2 -2
  177. package/dist/chunks/{filesystem-18crnhyq.js → managed-policy-jvwj74kk.js} +11 -11
  178. package/dist/chunks/{filesystem-k3febq9m.js → managed-policy-jx9m0dx7.js} +45 -45
  179. package/dist/chunks/{filesystem-1hmj4y1x.js → managed-policy-k7xwzbsq.js} +19 -19
  180. package/dist/chunks/{filesystem-k814nvkf.js → managed-policy-k814nvkf.js} +1 -1
  181. package/dist/chunks/{filesystem-x4vrc5nf.js → managed-policy-kcdz11rk.js} +24 -24
  182. package/dist/chunks/{filesystem-hdfrs5mg.js → managed-policy-kcg78dnn.js} +7 -7
  183. package/dist/chunks/{filesystem-hs9b4b47.js → managed-policy-kjgnzevm.js} +9 -9
  184. package/dist/chunks/{filesystem-n0raz6dg.js → managed-policy-kmd587sr.js} +4 -4
  185. package/dist/chunks/{filesystem-kt3bjfbg.js → managed-policy-kt3bjfbg.js} +1 -1
  186. package/dist/chunks/{filesystem-bsjb0v70.js → managed-policy-ky5tw3ry.js} +5 -5
  187. package/dist/chunks/{filesystem-m1714858.js → managed-policy-m1714858.js} +1 -1
  188. package/dist/chunks/{filesystem-hfgk9wzg.js → managed-policy-m37sd98t.js} +4 -4
  189. package/dist/chunks/{filesystem-m9w0rfyh.js → managed-policy-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{filesystem-r8m134k8.js → managed-policy-mp336wd6.js} +15 -15
  191. package/dist/chunks/{filesystem-t54qx1t0.js → managed-policy-msje9pjd.js} +6 -6
  192. package/dist/chunks/{filesystem-89vjf07m.js → managed-policy-mtrbqqrq.js} +5 -5
  193. package/dist/chunks/{filesystem-pd94qqs3.js → managed-policy-mxee9aw9.js} +22 -22
  194. package/dist/chunks/{filesystem-890cq6zw.js → managed-policy-n46x9jgs.js} +17 -17
  195. package/dist/chunks/{filesystem-89jkg93w.js → managed-policy-n9crm0th.js} +21 -21
  196. package/dist/chunks/{filesystem-nah043kf.js → managed-policy-nah043kf.js} +1 -1
  197. package/dist/chunks/{filesystem-ex5adzvz.js → managed-policy-nara9vyc.js} +4 -4
  198. package/dist/chunks/{filesystem-qf8srjpf.js → managed-policy-nbwfspyj.js} +21 -21
  199. package/dist/chunks/{filesystem-31avdb49.js → managed-policy-neary136.js} +6 -6
  200. package/dist/chunks/{filesystem-pbbktnbz.js → managed-policy-nf3nsvxh.js} +4 -4
  201. package/dist/chunks/{filesystem-wxrneye3.js → managed-policy-nm44szyp.js} +8 -8
  202. package/dist/chunks/{filesystem-aw4xetmc.js → managed-policy-nswh1z5p.js} +9 -9
  203. package/dist/chunks/{filesystem-stka8v7r.js → managed-policy-ntp93fke.js} +5 -5
  204. package/dist/chunks/{filesystem-kj6bvb2j.js → managed-policy-nz0merk7.js} +5 -5
  205. package/dist/chunks/{filesystem-p015t6z3.js → managed-policy-p015t6z3.js} +2 -2
  206. package/dist/chunks/{filesystem-pknna89w.js → managed-policy-pknna89w.js} +1 -1
  207. package/dist/chunks/{filesystem-8z7fx9da.js → managed-policy-pmk1zss2.js} +25 -25
  208. package/dist/chunks/{filesystem-60wv84he.js → managed-policy-q02gzrjf.js} +10 -10
  209. package/dist/chunks/{filesystem-xgjn9k1a.js → managed-policy-q1kcgj59.js} +2 -2
  210. package/dist/chunks/{filesystem-wappnbgt.js → managed-policy-q2k1m846.js} +9 -9
  211. package/dist/chunks/{filesystem-esbzcf2v.js → managed-policy-q4nd2ya6.js} +6 -6
  212. package/dist/chunks/{filesystem-hc4wny2n.js → managed-policy-q7d4wm2f.js} +11 -11
  213. package/dist/chunks/{filesystem-9wm1sbvz.js → managed-policy-q8gkaxn0.js} +25 -25
  214. package/dist/chunks/{filesystem-vsqvcqta.js → managed-policy-qnqasnye.js} +3 -3
  215. package/dist/chunks/{filesystem-aq96vb51.js → managed-policy-qnykfza7.js} +14 -14
  216. package/dist/chunks/{filesystem-qp7r0hxv.js → managed-policy-qp7r0hxv.js} +1 -1
  217. package/dist/chunks/{filesystem-qqvy8y24.js → managed-policy-qqvy8y24.js} +1 -1
  218. package/dist/chunks/{filesystem-fe5m0zbk.js → managed-policy-qtkqedvd.js} +21 -21
  219. package/dist/chunks/{filesystem-r0yr0wbs.js → managed-policy-r0yr0wbs.js} +1 -1
  220. package/dist/chunks/{filesystem-rngmar94.js → managed-policy-r3j3kg8w.js} +36 -36
  221. package/dist/chunks/{filesystem-r542h3bh.js → managed-policy-r542h3bh.js} +1 -1
  222. package/dist/chunks/{filesystem-e07q2w5p.js → managed-policy-r94gekwm.js} +4 -4
  223. package/dist/chunks/{filesystem-psfkywbe.js → managed-policy-r9e8mhxe.js} +21 -21
  224. package/dist/chunks/{filesystem-rb9dy4dg.js → managed-policy-rb9dy4dg.js} +1 -1
  225. package/dist/chunks/{filesystem-7rct0254.js → managed-policy-rdv8wnp0.js} +14 -14
  226. package/dist/chunks/{filesystem-xajgh51x.js → managed-policy-recrykrw.js} +13 -13
  227. package/dist/chunks/{filesystem-1z5aa1s9.js → managed-policy-rfkx5d30.js} +5 -5
  228. package/dist/chunks/{filesystem-rgzggw2r.js → managed-policy-rgzggw2r.js} +2 -2
  229. package/dist/chunks/{filesystem-g82fkzhe.js → managed-policy-rsxkyc7q.js} +17 -17
  230. package/dist/chunks/{filesystem-rt5dr6hb.js → managed-policy-rt5dr6hb.js} +1 -1
  231. package/dist/chunks/{filesystem-jc4yfsds.js → managed-policy-rx9gnge7.js} +5 -5
  232. package/dist/chunks/{filesystem-nk58jtss.js → managed-policy-rzdmkq6d.js} +19 -19
  233. package/dist/chunks/{filesystem-0vt12t1a.js → managed-policy-s2ftej4p.js} +12 -12
  234. package/dist/chunks/{filesystem-s7gmm2q3.js → managed-policy-s7gmm2q3.js} +3 -3
  235. package/dist/chunks/{filesystem-sa3fpqfw.js → managed-policy-sa3fpqfw.js} +2 -2
  236. package/dist/chunks/{filesystem-fcrv3p1c.js → managed-policy-sbsvp3xh.js} +13 -13
  237. package/dist/chunks/{filesystem-bwqn28c5.js → managed-policy-sd8cy1y7.js} +5 -5
  238. package/dist/chunks/{filesystem-61ee6dgv.js → managed-policy-sf94snq4.js} +22 -22
  239. package/dist/chunks/{filesystem-cnaqb1tg.js → managed-policy-shb3taz0.js} +12 -12
  240. package/dist/chunks/{filesystem-sqjzf8x2.js → managed-policy-sqjzf8x2.js} +1 -1
  241. package/dist/chunks/{filesystem-thq4q9my.js → managed-policy-sv00mm7g.js} +8 -8
  242. package/dist/chunks/{filesystem-svcy3p9a.js → managed-policy-svcy3p9a.js} +1 -1
  243. package/dist/chunks/{filesystem-zyfw5drr.js → managed-policy-t628qfe2.js} +9 -9
  244. package/dist/chunks/{filesystem-tczq8hjw.js → managed-policy-tczq8hjw.js} +1 -1
  245. package/dist/chunks/{filesystem-pj65rgyr.js → managed-policy-tfc1rrc7.js} +1 -1
  246. package/dist/chunks/{filesystem-emz5z3x7.js → managed-policy-tpbc0r62.js} +2 -2
  247. package/dist/chunks/{filesystem-twssxy5n.js → managed-policy-twssxy5n.js} +2 -2
  248. package/dist/chunks/{filesystem-v0t96s7a.js → managed-policy-v0t96s7a.js} +1 -1
  249. package/dist/chunks/{filesystem-v2r1d0zg.js → managed-policy-v2r1d0zg.js} +1 -1
  250. package/dist/chunks/{filesystem-fj2tjxmw.js → managed-policy-v8jvz7pd.js} +30 -30
  251. package/dist/chunks/{filesystem-vg0erq9k.js → managed-policy-vb80j1wh.js} +3 -3
  252. package/dist/chunks/{filesystem-c34yv8jr.js → managed-policy-vf28gzax.js} +11 -11
  253. package/dist/chunks/{filesystem-vdfc3vwf.js → managed-policy-vjqm51em.js} +27 -27
  254. package/dist/chunks/{filesystem-hjaahymy.js → managed-policy-vrrz3168.js} +50 -50
  255. package/dist/chunks/{filesystem-v7rdhf5e.js → managed-policy-vvzt346t.js} +11 -11
  256. package/dist/chunks/{filesystem-r2rzgj46.js → managed-policy-vyt6yqa0.js} +22 -22
  257. package/dist/chunks/{filesystem-phmgxt2f.js → managed-policy-vz5jpjpa.js} +3 -3
  258. package/dist/chunks/{filesystem-w2eysc6j.js → managed-policy-w2eysc6j.js} +2 -2
  259. package/dist/chunks/{filesystem-4se3fcjy.js → managed-policy-w3190j0e.js} +16 -16
  260. package/dist/chunks/{filesystem-w3wsvvr9.js → managed-policy-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{filesystem-aw8sakew.js → managed-policy-w88w0n5c.js} +24 -24
  262. package/dist/chunks/{filesystem-4nyhany0.js → managed-policy-w9tzngvg.js} +26 -26
  263. package/dist/chunks/{filesystem-94wxcshz.js → managed-policy-wa4kp388.js} +9 -9
  264. package/dist/chunks/{filesystem-wakvkjy4.js → managed-policy-wakvkjy4.js} +1 -1
  265. package/dist/chunks/{filesystem-wd87259q.js → managed-policy-wd87259q.js} +1 -1
  266. package/dist/chunks/{filesystem-wnhgecwx.js → managed-policy-wnhgecwx.js} +1 -1
  267. package/dist/chunks/{filesystem-wr3re1en.js → managed-policy-wr3re1en.js} +1 -1
  268. package/dist/chunks/{filesystem-8hwf4h4a.js → managed-policy-wxtdy279.js} +31 -31
  269. package/dist/chunks/{filesystem-6bafzmvy.js → managed-policy-x3a29hta.js} +193 -193
  270. package/dist/chunks/{filesystem-s43pka83.js → managed-policy-x47ppzp7.js} +9 -9
  271. package/dist/chunks/{filesystem-rfy1qsv0.js → managed-policy-x48bv8h6.js} +5 -5
  272. package/dist/chunks/{filesystem-qgjxsz2y.js → managed-policy-x6q8p9c8.js} +16 -16
  273. package/dist/chunks/{filesystem-pw343ads.js → managed-policy-x9heceqt.js} +42 -42
  274. package/dist/chunks/{filesystem-bdf3r1gz.js → managed-policy-xfw982m5.js} +60 -60
  275. package/dist/chunks/{filesystem-cpvd08na.js → managed-policy-xmx7xj34.js} +4 -4
  276. package/dist/chunks/{filesystem-mgxqcbam.js → managed-policy-xmz2c5c9.js} +8 -8
  277. package/dist/chunks/{filesystem-g8763th5.js → managed-policy-xwpb2nvc.js} +18 -18
  278. package/dist/chunks/{filesystem-r98dxkx5.js → managed-policy-xwtecabs.js} +24 -24
  279. package/dist/chunks/{filesystem-zes7n4m2.js → managed-policy-xykztc7h.js} +89 -89
  280. package/dist/chunks/{filesystem-15rqtvc6.js → managed-policy-y702q9ad.js} +15 -15
  281. package/dist/chunks/{filesystem-yxy26kq2.js → managed-policy-y7kwza11.js} +12 -12
  282. package/dist/chunks/{filesystem-nbdtng8k.js → managed-policy-y9rgzqvj.js} +13 -13
  283. package/dist/chunks/{filesystem-ye085k5q.js → managed-policy-yad05gqx.js} +95 -95
  284. package/dist/chunks/{filesystem-yara3q77.js → managed-policy-yara3q77.js} +2 -2
  285. package/dist/chunks/{filesystem-yb20nhc3.js → managed-policy-yb20nhc3.js} +1 -1
  286. package/dist/chunks/{filesystem-8cykdwq1.js → managed-policy-ycw2m91r.js} +29 -29
  287. package/dist/chunks/{filesystem-hry4p7je.js → managed-policy-yknvw4w2.js} +11 -11
  288. package/dist/chunks/managed-policy-yt69br7b.js +356 -0
  289. package/dist/chunks/{filesystem-hjwwwxxw.js → managed-policy-ywczxhk7.js} +24 -24
  290. package/dist/chunks/{filesystem-y20gse86.js → managed-policy-z1j203we.js} +7 -7
  291. package/dist/chunks/{filesystem-z38nccrw.js → managed-policy-z38nccrw.js} +1 -1
  292. package/dist/chunks/{filesystem-444az151.js → managed-policy-z3vwn5pv.js} +30 -30
  293. package/dist/chunks/{filesystem-kjst82ar.js → managed-policy-z41mzh4z.js} +1 -1
  294. package/dist/chunks/{filesystem-ykamt9jm.js → managed-policy-z5cdq1b0.js} +26 -26
  295. package/dist/chunks/{filesystem-7m5yeeqj.js → managed-policy-zad8az0q.js} +25 -25
  296. package/dist/chunks/{filesystem-zgd8t41s.js → managed-policy-zgd8t41s.js} +2 -2
  297. package/dist/chunks/{filesystem-fn2p6yf2.js → managed-policy-zs5g6ycw.js} +18 -18
  298. package/dist/chunks/{filesystem-pvpa9p11.js → managed-policy-zz8kz1cz.js} +38 -38
  299. package/dist/codemode/catalog.js +1 -1
  300. package/dist/codemode/instructions.js +7 -7
  301. package/dist/codemode/tool.js +3 -3
  302. package/dist/codemode/web.js +1 -1
  303. package/dist/command.js +90 -90
  304. package/dist/config/discovery.js +91 -91
  305. package/dist/config/integration.js +3 -3
  306. package/dist/config/markdown.js +1 -1
  307. package/dist/config/normalize.js +108 -108
  308. package/dist/config/plugin/agent.js +122 -122
  309. package/dist/config/plugin/command.js +220 -220
  310. package/dist/config/plugin/compaction.js +163 -163
  311. package/dist/config/plugin/compatibility.js +143 -143
  312. package/dist/config/plugin/entry-observer.js +1 -1
  313. package/dist/config/plugin/formatter.js +123 -123
  314. package/dist/config/plugin/image.js +122 -122
  315. package/dist/config/plugin/instruction.js +122 -122
  316. package/dist/config/plugin/location-watcher.js +122 -122
  317. package/dist/config/plugin/mcp.js +129 -129
  318. package/dist/config/plugin/policy.js +124 -124
  319. package/dist/config/plugin/provider.js +123 -123
  320. package/dist/config/plugin/reference.js +124 -124
  321. package/dist/config/plugin/shell.js +122 -122
  322. package/dist/config/plugin/skill-file.js +139 -139
  323. package/dist/config/plugin/skill-scan.js +1 -1
  324. package/dist/config/plugin/skill.js +144 -144
  325. package/dist/config/plugin/snapshot.js +122 -122
  326. package/dist/config/plugin/source.js +119 -119
  327. package/dist/config/plugin/tool-output.js +123 -123
  328. package/dist/config/plugin/websearch.js +121 -121
  329. package/dist/config/plugin/worktree.js +124 -124
  330. package/dist/config/variable.js +1 -1
  331. package/dist/config/watch.js +1 -1
  332. package/dist/config.js +117 -117
  333. package/dist/console-access.js +1 -1
  334. package/dist/credential/sql.js +2 -2
  335. package/dist/credential.js +88 -88
  336. package/dist/database/database.js +77 -77
  337. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  338. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  339. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  340. package/dist/database/drizzle/index.js +15 -15
  341. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  343. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  344. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  345. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  346. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  348. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  349. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  350. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  351. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  352. package/dist/database/drizzle.js +16 -16
  353. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  354. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  355. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  356. package/dist/database/migration/20260225215848_workspace.js +1 -1
  357. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  358. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  359. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  360. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  361. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  362. package/dist/database/migration/20260323234822_events.js +1 -1
  363. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  364. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  365. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  366. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  367. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  368. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  369. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  370. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  371. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  372. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  373. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  374. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  375. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  376. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  377. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  378. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  379. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  380. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  381. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  382. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  383. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  384. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  385. package/dist/database/migration/20260611035744_credential.js +1 -1
  386. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  387. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  388. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  389. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  390. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  391. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  392. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  393. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  394. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  395. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  396. package/dist/database/migration/20260812213948_worktree.js +1 -1
  397. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  398. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  399. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  400. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  401. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  402. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  403. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  404. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  405. package/dist/database/migration/20261025123711_blob.js +1 -1
  406. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  407. package/dist/database/migration/20261026223005_schedule.js +1 -1
  408. package/dist/database/migration.gen.js +56 -56
  409. package/dist/database/migration.js +58 -58
  410. package/dist/database/path.js +2 -2
  411. package/dist/database/schema.gen.js +1 -1
  412. package/dist/database/schema.sql.js +1 -1
  413. package/dist/database/sqlite.bun.js +1 -1
  414. package/dist/database/sqlite.js +1 -1
  415. package/dist/database/sqlite.node.js +1 -1
  416. package/dist/database/sqlite.workerd.js +1 -1
  417. package/dist/database/v1-migration.bun.js +104 -104
  418. package/dist/database/v1-migration.js +1 -1
  419. package/dist/effect/app-node-builder.js +385 -382
  420. package/dist/effect/app-node-platform.js +2 -2
  421. package/dist/effect/keyed-mutex.js +3 -3
  422. package/dist/effect/websocket-constructor.js +1 -1
  423. package/dist/environment/driver.js +1 -1
  424. package/dist/environment/environment.js +102 -102
  425. package/dist/environment/exec-defaults.js +2 -2
  426. package/dist/environment/files.js +1 -1
  427. package/dist/environment/index.js +102 -102
  428. package/dist/environment/local.js +2 -2
  429. package/dist/environment/memory.js +2 -2
  430. package/dist/environment/unavailable.js +1 -1
  431. package/dist/event/sql.js +1 -1
  432. package/dist/event-logger.js +81 -81
  433. package/dist/file-access.js +149 -149
  434. package/dist/file-mutation.js +103 -103
  435. package/dist/file-retention.js +1 -1
  436. package/dist/filesystem/fff.bun.js +2 -2
  437. package/dist/filesystem/fff.js +1 -1
  438. package/dist/filesystem/fff.node.js +2 -2
  439. package/dist/filesystem/fff.workerd.js +2 -2
  440. package/dist/filesystem/file-watch.js +84 -84
  441. package/dist/filesystem/location-watcher-policy.js +2 -2
  442. package/dist/filesystem/location-watcher.js +229 -229
  443. package/dist/filesystem/protected.js +1 -1
  444. package/dist/filesystem/search.js +108 -108
  445. package/dist/filesystem/watcher-binding.js +1 -1
  446. package/dist/filesystem/watcher.js +3 -3
  447. package/dist/filesystem.js +111 -111
  448. package/dist/form.js +89 -89
  449. package/dist/formatter/builtins.js +4 -4
  450. package/dist/formatter.js +96 -96
  451. package/dist/generate.js +114 -114
  452. package/dist/git.js +11 -11
  453. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  454. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  455. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  456. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  457. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  458. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  459. package/dist/github-copilot/copilot-provider.js +17 -17
  460. package/dist/github-copilot/models.js +100 -100
  461. package/dist/github-copilot/openai-compatible-error.js +1 -1
  462. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  463. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  464. package/dist/github-copilot/responses/openai-error.js +1 -1
  465. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  466. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  467. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  468. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  469. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  470. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  471. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  472. package/dist/image/photon-normalize.js +1 -1
  473. package/dist/image/photon-worker.js +1 -1
  474. package/dist/image/photon.js +4 -4
  475. package/dist/image.js +6 -6
  476. package/dist/instance/service.js +5 -5
  477. package/dist/instance.js +376 -373
  478. package/dist/instruction-discovery.js +93 -93
  479. package/dist/instructions/builtins.js +96 -96
  480. package/dist/instructions/index.js +3 -3
  481. package/dist/integration/connection.js +5 -5
  482. package/dist/integration.js +92 -92
  483. package/dist/job.js +85 -85
  484. package/dist/kv/sql.js +2 -2
  485. package/dist/kv.js +80 -80
  486. package/dist/location-activity.js +165 -165
  487. package/dist/location-lifecycle.js +143 -143
  488. package/dist/location-service-map.js +95 -95
  489. package/dist/location-services.js +373 -370
  490. package/dist/location.js +96 -96
  491. package/dist/managed-policy.js +3 -3
  492. package/dist/mcp/client.js +100 -100
  493. package/dist/mcp/index.js +116 -116
  494. package/dist/mcp/instructions.js +165 -165
  495. package/dist/mcp/oauth.js +85 -85
  496. package/dist/mcp/socket-client.js +1 -1
  497. package/dist/mcp/stdio.js +99 -99
  498. package/dist/mime.js +1 -1
  499. package/dist/modal/models.js +100 -100
  500. package/dist/model-resolver.js +108 -108
  501. package/dist/model-retry.js +1 -1
  502. package/dist/model.js +109 -109
  503. package/dist/models-dev/v1.js +1 -1
  504. package/dist/models-dev.js +117 -117
  505. package/dist/oauth/page.js +1 -1
  506. package/dist/permission/saved.js +89 -89
  507. package/dist/permission/sql.js +5 -5
  508. package/dist/permission.js +148 -148
  509. package/dist/persistent-pty/binary.bun.js +1 -1
  510. package/dist/persistent-pty/daemon.js +1 -1
  511. package/dist/persistent-pty/index.js +93 -93
  512. package/dist/persistent-pty/pty-binding.js +1 -1
  513. package/dist/persistent-pty.js +82 -82
  514. package/dist/plugin/agent.js +81 -81
  515. package/dist/plugin/command.js +109 -109
  516. package/dist/plugin/goal.js +3 -3
  517. package/dist/plugin/hooks.js +5 -5
  518. package/dist/plugin/host.js +226 -226
  519. package/dist/plugin/identity.js +5 -5
  520. package/dist/plugin/instance.js +5 -5
  521. package/dist/plugin/internal.js +346 -343
  522. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  523. package/dist/plugin/models-dev.js +106 -106
  524. package/dist/plugin/module.js +124 -124
  525. package/dist/plugin/optimize.js +2 -2
  526. package/dist/plugin/plan.js +139 -139
  527. package/dist/plugin/promise.js +1 -1
  528. package/dist/plugin/provider/amazon-bedrock.js +100 -100
  529. package/dist/plugin/provider/azure.js +120 -120
  530. package/dist/plugin/provider/cerebras.js +1 -1
  531. package/dist/plugin/provider/chatgpt.js +122 -122
  532. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  533. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  534. package/dist/plugin/provider/configured.js +118 -118
  535. package/dist/plugin/provider/credential-settings.js +81 -81
  536. package/dist/plugin/provider/databricks.js +1 -1
  537. package/dist/plugin/provider/digitalocean.js +102 -102
  538. package/dist/plugin/provider/dynamic.js +2 -2
  539. package/dist/plugin/provider/github-copilot.js +104 -104
  540. package/dist/plugin/provider/gitlab.js +103 -103
  541. package/dist/plugin/provider/google-vertex.js +119 -119
  542. package/dist/plugin/provider/kilo.js +1 -1
  543. package/dist/plugin/provider/llmgateway.js +85 -85
  544. package/dist/plugin/provider/lmstudio.js +131 -131
  545. package/dist/plugin/provider/local.js +128 -128
  546. package/dist/plugin/provider/modal.js +101 -101
  547. package/dist/plugin/provider/neon.js +1 -1
  548. package/dist/plugin/provider/nvidia.js +1 -1
  549. package/dist/plugin/provider/ollama.js +129 -129
  550. package/dist/plugin/provider/openai-context-caps.js +99 -99
  551. package/dist/plugin/provider/openai.js +122 -122
  552. package/dist/plugin/provider/opencode.js +125 -125
  553. package/dist/plugin/provider/openrouter.js +100 -100
  554. package/dist/plugin/provider/poe.js +86 -86
  555. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  556. package/dist/plugin/provider/sap-ai-core.js +100 -100
  557. package/dist/plugin/provider/sdk-factory.js +1 -1
  558. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  559. package/dist/plugin/provider/vllm.js +131 -131
  560. package/dist/plugin/provider/xai.js +100 -100
  561. package/dist/plugin/provider/zenmux.js +1 -1
  562. package/dist/plugin/provider.js +173 -173
  563. package/dist/plugin/sdk.js +77 -77
  564. package/dist/plugin/service.js +3 -3
  565. package/dist/plugin/skill.js +140 -140
  566. package/dist/plugin/source-directory.js +1 -1
  567. package/dist/plugin/supervisor.js +360 -357
  568. package/dist/plugin/tool-input-repair.js +4 -4
  569. package/dist/plugin/update.js +6 -6
  570. package/dist/plugin/vcs/git.js +95 -95
  571. package/dist/plugin/vcs/hg.js +95 -95
  572. package/dist/plugin/verbosity.js +102 -102
  573. package/dist/plugin/warming.js +120 -120
  574. package/dist/plugin/websearch/exa.js +7 -7
  575. package/dist/plugin/websearch/firecrawl.js +8 -8
  576. package/dist/plugin/websearch/index.js +9 -9
  577. package/dist/plugin/websearch/mcp.js +2 -2
  578. package/dist/plugin/websearch/parallel.js +8 -8
  579. package/dist/plugin/websearch/tavily.js +6 -6
  580. package/dist/plugin/websearch/tinyfish.js +8 -8
  581. package/dist/plugin.js +237 -237
  582. package/dist/project/icon.js +5 -5
  583. package/dist/project/schema.js +6 -6
  584. package/dist/project/sql.js +4 -4
  585. package/dist/project.js +99 -99
  586. package/dist/provider.js +108 -108
  587. package/dist/pty/protocol.js +1 -1
  588. package/dist/pty/ticket.js +1 -1
  589. package/dist/pty.js +107 -107
  590. package/dist/reference/instructions.js +97 -97
  591. package/dist/reference.js +99 -99
  592. package/dist/repository-cache.js +89 -89
  593. package/dist/repository.js +1 -1
  594. package/dist/ripgrep/binary.js +2 -2
  595. package/dist/ripgrep.js +104 -104
  596. package/dist/rpc.js +95 -95
  597. package/dist/schedule/sql.js +6 -6
  598. package/dist/schedule.js +244 -553
  599. package/dist/schema.js +1 -1
  600. package/dist/session/affinity.js +1 -1
  601. package/dist/session/background.js +1 -1
  602. package/dist/session/blob.js +121 -121
  603. package/dist/session/command.js +81 -81
  604. package/dist/session/compaction.js +163 -163
  605. package/dist/session/context.js +189 -189
  606. package/dist/session/diff.js +97 -97
  607. package/dist/session/environment.js +3 -3
  608. package/dist/session/error.js +5 -5
  609. package/dist/session/event.js +1 -1
  610. package/dist/session/execution/restart.js +232 -232
  611. package/dist/session/execution.js +153 -153
  612. package/dist/session/generate.js +191 -191
  613. package/dist/session/history.js +128 -128
  614. package/dist/session/inbox.js +137 -137
  615. package/dist/session/info.js +3 -3
  616. package/dist/session/instruction-entry.js +84 -84
  617. package/dist/session/instruction-state.js +8 -8
  618. package/dist/session/instructions.js +133 -133
  619. package/dist/session/message-updater.js +2 -2
  620. package/dist/session/message.js +1 -1
  621. package/dist/session/model-request.js +154 -154
  622. package/dist/session/model-transport.js +7 -7
  623. package/dist/session/move.js +157 -157
  624. package/dist/session/projector.js +135 -135
  625. package/dist/session/prompt.js +141 -141
  626. package/dist/session/recent-text.js +1 -1
  627. package/dist/session/revert.js +131 -131
  628. package/dist/session/run-coordinator.js +3 -3
  629. package/dist/session/runner/index.js +3 -3
  630. package/dist/session/runner/llm.js +238 -238
  631. package/dist/session/runner/max-steps.js +1 -1
  632. package/dist/session/runner/model.js +109 -109
  633. package/dist/session/runner/publish-llm-event.js +142 -142
  634. package/dist/session/runner/retry.js +3 -3
  635. package/dist/session/runner/step.js +153 -153
  636. package/dist/session/runner/to-llm-message.js +129 -129
  637. package/dist/session/schema.js +5 -5
  638. package/dist/session/session.js +173 -173
  639. package/dist/session/shell.js +136 -136
  640. package/dist/session/skill.js +140 -140
  641. package/dist/session/sql.js +5 -5
  642. package/dist/session/stats.js +82 -82
  643. package/dist/session/store.js +134 -134
  644. package/dist/session/stored.js +4 -4
  645. package/dist/session/subagent-completion.js +1 -1
  646. package/dist/session/subagent-job.js +216 -216
  647. package/dist/session/system-prompt.js +3 -3
  648. package/dist/session/title.js +187 -187
  649. package/dist/session/to-session-error.js +141 -141
  650. package/dist/session/transfer.js +231 -231
  651. package/dist/session/usage.js +1 -1
  652. package/dist/session.js +224 -224
  653. package/dist/shell/parse.js +6 -6
  654. package/dist/shell/result.js +1 -1
  655. package/dist/shell/scan.js +1 -1
  656. package/dist/shell/select.js +13 -13
  657. package/dist/shell.js +136 -136
  658. package/dist/skill/discovery.js +6 -6
  659. package/dist/skill/instructions.js +142 -142
  660. package/dist/skill.js +147 -147
  661. package/dist/snapshot.js +100 -100
  662. package/dist/state.js +1 -1
  663. package/dist/tool/html-markdown.js +1 -1
  664. package/dist/tool/http-body.js +1 -1
  665. package/dist/tool/mcp.js +164 -164
  666. package/dist/tool/plugin/edit.js +155 -155
  667. package/dist/tool/plugin/file-diff.js +1 -1
  668. package/dist/tool/plugin/glob.js +161 -161
  669. package/dist/tool/plugin/grep.js +161 -161
  670. package/dist/tool/plugin/image-generate.js +226 -226
  671. package/dist/tool/plugin/mcp-resource.js +153 -153
  672. package/dist/tool/plugin/opencode.js +154 -154
  673. package/dist/tool/plugin/patch.js +157 -157
  674. package/dist/tool/plugin/question.js +141 -141
  675. package/dist/tool/plugin/read.js +160 -160
  676. package/dist/tool/plugin/schedule.js +229 -0
  677. package/dist/tool/plugin/shell.js +223 -223
  678. package/dist/tool/plugin/skill.js +142 -142
  679. package/dist/tool/plugin/subagent.js +227 -227
  680. package/dist/tool/plugin/todo.js +146 -146
  681. package/dist/tool/plugin/webfetch.js +148 -148
  682. package/dist/tool/plugin/websearch.js +144 -144
  683. package/dist/tool/plugin/write.js +159 -159
  684. package/dist/tool/read-filesystem.js +109 -109
  685. package/dist/tool/runtime.js +1 -1
  686. package/dist/tool-output.js +7 -7
  687. package/dist/tool.js +14 -14
  688. package/dist/types/plugin/internal.d.ts +3 -2
  689. package/dist/types/schedule.d.ts +65 -1
  690. package/dist/types/tool/plugin/image-generate.d.ts +1 -1
  691. package/dist/types/tool/plugin/schedule.d.ts +46 -0
  692. package/dist/usage-limits.js +94 -94
  693. package/dist/util/error-summary.js +1 -1
  694. package/dist/util/git-executable.js +3 -3
  695. package/dist/util/lazy.js +1 -1
  696. package/dist/util/slug.js +1 -1
  697. package/dist/util/token.js +1 -1
  698. package/dist/util/which.js +1 -1
  699. package/dist/util/wildcard.js +1 -1
  700. package/dist/v1/config/agent.js +5 -5
  701. package/dist/v1/config/command.js +3 -3
  702. package/dist/v1/config/mcp.js +4 -4
  703. package/dist/v1/config/migrate.js +101 -101
  704. package/dist/v1/config/permission.js +1 -1
  705. package/dist/v1/config/plugin.js +1 -1
  706. package/dist/v1/config/provider-options.js +1 -1
  707. package/dist/v1/config/provider.js +4 -4
  708. package/dist/variant.js +102 -102
  709. package/dist/vcs/patch.js +1 -1
  710. package/dist/vcs.js +98 -98
  711. package/dist/voice.js +95 -95
  712. package/dist/websearch.js +93 -93
  713. package/dist/wellknown/plugin.js +83 -83
  714. package/dist/wellknown.js +86 -86
  715. package/dist/workspace/driver.js +3 -3
  716. package/dist/workspace/sql.js +1 -1
  717. package/dist/workspace.js +89 -89
  718. package/dist/worktree/directory.js +2 -2
  719. package/dist/worktree/git.js +11 -11
  720. package/dist/worktree/sql.js +5 -5
  721. package/dist/worktree/strategies.js +98 -98
  722. package/dist/worktree.js +103 -103
  723. package/package.json +8 -8
  724. package/dist/chunks/filesystem-bsgt82ad.js +0 -257
  725. package/dist/chunks/filesystem-qv57zvvg.js +0 -525
  726. package/dist/chunks/filesystem-s7ertgdh.js +0 -26
  727. package/dist/chunks/filesystem-z355x5yr.js +0 -18
  728. /package/dist/chunks/{filesystem-0qkdqm5v.js → managed-policy-0qkdqm5v.js} +0 -0
  729. /package/dist/chunks/{filesystem-0zkw76rk.js → managed-policy-0zkw76rk.js} +0 -0
  730. /package/dist/chunks/{filesystem-17cy0kzp.js → managed-policy-17cy0kzp.js} +0 -0
  731. /package/dist/chunks/{filesystem-1cnp2v09.js → managed-policy-1cnp2v09.js} +0 -0
  732. /package/dist/chunks/{filesystem-1jakw16s.js → managed-policy-1jakw16s.js} +0 -0
  733. /package/dist/chunks/{filesystem-24dcb14g.js → managed-policy-24dcb14g.js} +0 -0
  734. /package/dist/chunks/{filesystem-2710q6r3.js → managed-policy-2710q6r3.js} +0 -0
  735. /package/dist/chunks/{filesystem-2bv980vf.js → managed-policy-2bv980vf.js} +0 -0
  736. /package/dist/chunks/{filesystem-2c3vjs8z.js → managed-policy-2c3vjs8z.js} +0 -0
  737. /package/dist/chunks/{filesystem-359p4xyc.js → managed-policy-359p4xyc.js} +0 -0
  738. /package/dist/chunks/{filesystem-3asan66x.js → managed-policy-3asan66x.js} +0 -0
  739. /package/dist/chunks/{filesystem-3v8g72cx.js → managed-policy-3v8g72cx.js} +0 -0
  740. /package/dist/chunks/{filesystem-3wcehsnq.js → managed-policy-3wcehsnq.js} +0 -0
  741. /package/dist/chunks/{filesystem-43n2bw4t.js → managed-policy-43n2bw4t.js} +0 -0
  742. /package/dist/chunks/{filesystem-4knz6hnm.js → managed-policy-4knz6hnm.js} +0 -0
  743. /package/dist/chunks/{filesystem-4vcrnpx2.js → managed-policy-4vcrnpx2.js} +0 -0
  744. /package/dist/chunks/{filesystem-4y7fprxs.js → managed-policy-4y7fprxs.js} +0 -0
  745. /package/dist/chunks/{filesystem-53557ph1.js → managed-policy-53557ph1.js} +0 -0
  746. /package/dist/chunks/{filesystem-550bvhaj.js → managed-policy-550bvhaj.js} +0 -0
  747. /package/dist/chunks/{filesystem-5w3e23ze.js → managed-policy-5w3e23ze.js} +0 -0
  748. /package/dist/chunks/{filesystem-6prwharc.js → managed-policy-6prwharc.js} +0 -0
  749. /package/dist/chunks/{filesystem-6q2bdcd1.js → managed-policy-6q2bdcd1.js} +0 -0
  750. /package/dist/chunks/{filesystem-7akdwqpd.js → managed-policy-7akdwqpd.js} +0 -0
  751. /package/dist/chunks/{filesystem-7m9af43g.js → managed-policy-7m9af43g.js} +0 -0
  752. /package/dist/chunks/{filesystem-822emrt2.js → managed-policy-822emrt2.js} +0 -0
  753. /package/dist/chunks/{filesystem-84wd9syh.js → managed-policy-84wd9syh.js} +0 -0
  754. /package/dist/chunks/{filesystem-88xbtdfr.js → managed-policy-88xbtdfr.js} +0 -0
  755. /package/dist/chunks/{filesystem-8n3pysct.js → managed-policy-8n3pysct.js} +0 -0
  756. /package/dist/chunks/{filesystem-8wj87zfr.js → managed-policy-8wj87zfr.js} +0 -0
  757. /package/dist/chunks/{filesystem-9a4afbnw.js → managed-policy-9a4afbnw.js} +0 -0
  758. /package/dist/chunks/{filesystem-9rqn6x4v.js → managed-policy-9rqn6x4v.js} +0 -0
  759. /package/dist/chunks/{filesystem-a058387c.js → managed-policy-a058387c.js} +0 -0
  760. /package/dist/chunks/{filesystem-a6k6eb26.js → managed-policy-a6k6eb26.js} +0 -0
  761. /package/dist/chunks/{filesystem-af5trqkr.js → managed-policy-af5trqkr.js} +0 -0
  762. /package/dist/chunks/{filesystem-afrmfg78.js → managed-policy-afrmfg78.js} +0 -0
  763. /package/dist/chunks/{filesystem-aqzs7mqg.js → managed-policy-aqzs7mqg.js} +0 -0
  764. /package/dist/chunks/{filesystem-atq7p7m5.js → managed-policy-atq7p7m5.js} +0 -0
  765. /package/dist/chunks/{filesystem-beh6qq61.js → managed-policy-beh6qq61.js} +0 -0
  766. /package/dist/chunks/{filesystem-bkyjaxrp.js → managed-policy-bkyjaxrp.js} +0 -0
  767. /package/dist/chunks/{filesystem-bmr6ed5q.js → managed-policy-bmr6ed5q.js} +0 -0
  768. /package/dist/chunks/{filesystem-cf4snx6d.js → managed-policy-cf4snx6d.js} +0 -0
  769. /package/dist/chunks/{filesystem-cqv5kn06.js → managed-policy-cqv5kn06.js} +0 -0
  770. /package/dist/chunks/{filesystem-cvy3z8tj.js → managed-policy-cvy3z8tj.js} +0 -0
  771. /package/dist/chunks/{filesystem-d9fn303g.js → managed-policy-d9fn303g.js} +0 -0
  772. /package/dist/chunks/{filesystem-d9jj8t3e.js → managed-policy-d9jj8t3e.js} +0 -0
  773. /package/dist/chunks/{filesystem-dajrwvna.js → managed-policy-dajrwvna.js} +0 -0
  774. /package/dist/chunks/{filesystem-dap0rakb.js → managed-policy-dap0rakb.js} +0 -0
  775. /package/dist/chunks/{filesystem-df08tz66.js → managed-policy-df08tz66.js} +0 -0
  776. /package/dist/chunks/{filesystem-dy18nga0.js → managed-policy-dy18nga0.js} +0 -0
  777. /package/dist/chunks/{filesystem-e5kj55wp.js → managed-policy-e5kj55wp.js} +0 -0
  778. /package/dist/chunks/{filesystem-e73j6tqm.js → managed-policy-e73j6tqm.js} +0 -0
  779. /package/dist/chunks/{filesystem-ec1grn59.js → managed-policy-ec1grn59.js} +0 -0
  780. /package/dist/chunks/{filesystem-eh3zwz77.js → managed-policy-eh3zwz77.js} +0 -0
  781. /package/dist/chunks/{filesystem-emrn6kk6.js → managed-policy-emrn6kk6.js} +0 -0
  782. /package/dist/chunks/{filesystem-f0mxakyp.js → managed-policy-f0mxakyp.js} +0 -0
  783. /package/dist/chunks/{filesystem-f6n9ztr4.js → managed-policy-f6n9ztr4.js} +0 -0
  784. /package/dist/chunks/{filesystem-faypxj3z.js → managed-policy-faypxj3z.js} +0 -0
  785. /package/dist/chunks/{filesystem-fd410y7t.js → managed-policy-fd410y7t.js} +0 -0
  786. /package/dist/chunks/{filesystem-fkpq3x5p.js → managed-policy-fkpq3x5p.js} +0 -0
  787. /package/dist/chunks/{filesystem-g4wezp1m.js → managed-policy-g4wezp1m.js} +0 -0
  788. /package/dist/chunks/{filesystem-g86h250q.js → managed-policy-g86h250q.js} +0 -0
  789. /package/dist/chunks/{filesystem-gebd4c9n.js → managed-policy-gebd4c9n.js} +0 -0
  790. /package/dist/chunks/{filesystem-gftt206x.js → managed-policy-gftt206x.js} +0 -0
  791. /package/dist/chunks/{filesystem-hcxmzztb.js → managed-policy-hcxmzztb.js} +0 -0
  792. /package/dist/chunks/{filesystem-hk9envan.js → managed-policy-hk9envan.js} +0 -0
  793. /package/dist/chunks/{filesystem-j2ntwpah.js → managed-policy-j2ntwpah.js} +0 -0
  794. /package/dist/chunks/{filesystem-j5zkgpj8.js → managed-policy-j5zkgpj8.js} +0 -0
  795. /package/dist/chunks/{filesystem-jjkms2e6.js → managed-policy-jjkms2e6.js} +0 -0
  796. /package/dist/chunks/{filesystem-jr7sbwjy.js → managed-policy-jr7sbwjy.js} +0 -0
  797. /package/dist/chunks/{filesystem-jwfs4k6c.js → managed-policy-jwfs4k6c.js} +0 -0
  798. /package/dist/chunks/{filesystem-jwr30sdr.js → managed-policy-jwr30sdr.js} +0 -0
  799. /package/dist/chunks/{filesystem-jze0r7bz.js → managed-policy-jze0r7bz.js} +0 -0
  800. /package/dist/chunks/{filesystem-jzg6c2d5.js → managed-policy-jzg6c2d5.js} +0 -0
  801. /package/dist/chunks/{filesystem-m18g726c.js → managed-policy-m18g726c.js} +0 -0
  802. /package/dist/chunks/{filesystem-mp448xyj.js → managed-policy-mp448xyj.js} +0 -0
  803. /package/dist/chunks/{filesystem-msx8hqn2.js → managed-policy-msx8hqn2.js} +0 -0
  804. /package/dist/chunks/{filesystem-myztnk54.js → managed-policy-myztnk54.js} +0 -0
  805. /package/dist/chunks/{filesystem-n05xt0ee.js → managed-policy-n05xt0ee.js} +0 -0
  806. /package/dist/chunks/{filesystem-n3j8tn72.js → managed-policy-n3j8tn72.js} +0 -0
  807. /package/dist/chunks/{filesystem-ncqqe42p.js → managed-policy-ncqqe42p.js} +0 -0
  808. /package/dist/chunks/{filesystem-nh4v3znn.js → managed-policy-nh4v3znn.js} +0 -0
  809. /package/dist/chunks/{filesystem-njntx4h6.js → managed-policy-njntx4h6.js} +0 -0
  810. /package/dist/chunks/{filesystem-p71gwv9c.js → managed-policy-p71gwv9c.js} +0 -0
  811. /package/dist/chunks/{filesystem-q3sfg36h.js → managed-policy-q3sfg36h.js} +0 -0
  812. /package/dist/chunks/{filesystem-q74kybfr.js → managed-policy-q74kybfr.js} +0 -0
  813. /package/dist/chunks/{filesystem-qaymkmh1.js → managed-policy-qaymkmh1.js} +0 -0
  814. /package/dist/chunks/{filesystem-qb87gjwd.js → managed-policy-qb87gjwd.js} +0 -0
  815. /package/dist/chunks/{filesystem-qfa1cgps.js → managed-policy-qfa1cgps.js} +0 -0
  816. /package/dist/chunks/{filesystem-qg3g05ea.js → managed-policy-qg3g05ea.js} +0 -0
  817. /package/dist/chunks/{filesystem-qrg20bc0.js → managed-policy-qrg20bc0.js} +0 -0
  818. /package/dist/chunks/{filesystem-rcb2kzg1.js → managed-policy-rcb2kzg1.js} +0 -0
  819. /package/dist/chunks/{filesystem-sdp7kfr6.js → managed-policy-sdp7kfr6.js} +0 -0
  820. /package/dist/chunks/{filesystem-ssg3fenm.js → managed-policy-ssg3fenm.js} +0 -0
  821. /package/dist/chunks/{filesystem-ve7vex1e.js → managed-policy-ve7vex1e.js} +0 -0
  822. /package/dist/chunks/{filesystem-w803qqfp.js → managed-policy-w803qqfp.js} +0 -0
  823. /package/dist/chunks/{filesystem-wc3fc9cn.js → managed-policy-wc3fc9cn.js} +0 -0
  824. /package/dist/chunks/{filesystem-wer8tq1h.js → managed-policy-wer8tq1h.js} +0 -0
  825. /package/dist/chunks/{filesystem-wtztk69x.js → managed-policy-wtztk69x.js} +0 -0
  826. /package/dist/chunks/{filesystem-x0ckcb58.js → managed-policy-x0ckcb58.js} +0 -0
  827. /package/dist/chunks/{filesystem-x61499pn.js → managed-policy-x61499pn.js} +0 -0
  828. /package/dist/chunks/{filesystem-y44na4kk.js → managed-policy-y44na4kk.js} +0 -0
  829. /package/dist/chunks/{filesystem-y8f7s663.js → managed-policy-y8f7s663.js} +0 -0
  830. /package/dist/chunks/{filesystem-ygaqb7jw.js → managed-policy-ygaqb7jw.js} +0 -0
  831. /package/dist/chunks/{filesystem-z5v4ffb3.js → managed-policy-z5v4ffb3.js} +0 -0
  832. /package/dist/chunks/{filesystem-z9919s4g.js → managed-policy-z9919s4g.js} +0 -0
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service80
3
- } from "./filesystem-4nyhany0.js";
2
+ Service79
3
+ } from "./managed-policy-w9tzngvg.js";
4
4
  import {
5
- Service55
6
- } from "./filesystem-hjaahymy.js";
5
+ Service68
6
+ } from "./managed-policy-vrrz3168.js";
7
7
  import {
8
- ID3,
8
+ ID8,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
- DisabledError2,
11
+ DisabledError3,
12
12
  RequestError2,
13
- Service17
14
- } from "./filesystem-j8b46n9s.js";
13
+ Service65
14
+ } from "./managed-policy-enfxargv.js";
15
15
  import {
16
16
  __export
17
- } from "./filesystem-9rqn6x4v.js";
17
+ } from "./managed-policy-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch2 = {};
21
21
  __export(exports_websearch2, {
22
- Input: () => Input3,
22
+ Input: () => Input8,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin20,
24
+ Plugin: () => Plugin28,
25
25
  WebSearchTool: () => exports_websearch2,
26
26
  description: () => description3,
27
- name: () => name3
27
+ name: () => name8
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai/effect";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/http";
32
- var name3 = "websearch";
32
+ var name8 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
@@ -39,28 +39,28 @@ var httpErrors = new Map([
39
39
  var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input3 = Schema.Struct({
42
+ var Input8 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID3,
46
+ provider: ID8,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin20 = {
49
+ var Plugin28 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service55;
53
- const forms = yield* Service80;
54
- const websearch = yield* Service17;
52
+ const permission = yield* Service68;
53
+ const forms = yield* Service79;
54
+ const websearch = yield* Service65;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name3,
56
+ name: name8,
57
57
  options: { codemode: false },
58
58
  description: description3,
59
- input: Input3,
59
+ input: Input8,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name3,
63
+ action: name8,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -109,7 +109,7 @@ var Plugin20 = {
109
109
  return yield* Effect.fail(new Error("Web search cancelled"));
110
110
  if (response.answer.choice === "disable") {
111
111
  yield* websearch.select(false);
112
- return yield* new DisabledError2;
112
+ return yield* new DisabledError3;
113
113
  }
114
114
  const selection = response.answer.choice === "choose" ? yield* forms.ask({
115
115
  sessionID: context.sessionID,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name3];
179
+ delete event.tools[name8];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name3, NO_RESULTS2, description3, Input3, Plugin20, exports_websearch2 };
187
+ export { name8, NO_RESULTS2, description3, Input8, Plugin28, exports_websearch2 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./managed-policy-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
6
  Service73
7
- } from "./filesystem-8cykdwq1.js";
7
+ } from "./managed-policy-ycw2m91r.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./filesystem-svcy3p9a.js";
10
+ } from "./managed-policy-svcy3p9a.js";
11
11
  import {
12
- Service69
13
- } from "./filesystem-r98dxkx5.js";
12
+ Service63
13
+ } from "./managed-policy-xwtecabs.js";
14
14
  import {
15
- Service54
16
- } from "./filesystem-4se3fcjy.js";
15
+ Service44
16
+ } from "./managed-policy-w3190j0e.js";
17
17
  import {
18
- Service55
19
- } from "./filesystem-hjaahymy.js";
18
+ Service68
19
+ } from "./managed-policy-vrrz3168.js";
20
20
  import {
21
- Service19,
21
+ Service58,
22
22
  resolvePath2
23
- } from "./filesystem-7m5yeeqj.js";
23
+ } from "./managed-policy-zad8az0q.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./filesystem-k814nvkf.js";
29
+ } from "./managed-policy-k814nvkf.js";
30
30
  import {
31
- Service64,
31
+ Service61,
32
32
  name17
33
- } from "./filesystem-1hmj4y1x.js";
33
+ } from "./managed-policy-k7xwzbsq.js";
34
34
  import {
35
- NotFoundError6,
35
+ NotFoundError5,
36
36
  Service46
37
- } from "./filesystem-ax7jxbq7.js";
37
+ } from "./managed-policy-1j23x897.js";
38
38
  import {
39
- Service27
40
- } from "./filesystem-ye085k5q.js";
39
+ Service23
40
+ } from "./managed-policy-yad05gqx.js";
41
41
  import {
42
42
  scan3
43
- } from "./filesystem-ex5adzvz.js";
43
+ } from "./managed-policy-nara9vyc.js";
44
44
  import {
45
45
  __export
46
- } from "./filesystem-9rqn6x4v.js";
46
+ } from "./managed-policy-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input7,
53
- Plugin: () => Plugin24,
52
+ Input: () => Input3,
53
+ Plugin: () => Plugin21,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name7
55
+ name: () => name3
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai/effect";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name7 = "shell";
60
+ var name3 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input7 = Schema.Struct({
74
+ var Input3 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,18 +117,18 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin24 = {
120
+ var Plugin21 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service27;
124
- const jobs = yield* Service54;
123
+ const sessions = yield* Service23;
124
+ const jobs = yield* Service44;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service69;
127
- const access = yield* Service19;
126
+ const environment = yield* Service63;
127
+ const access = yield* Service58;
128
128
  const shell = yield* Service46;
129
- const shellSelect = yield* Service64;
129
+ const shellSelect = yield* Service61;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service55;
131
+ const permission = yield* Service68;
132
132
  const config = yield* Service73;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
@@ -148,7 +148,7 @@ var Plugin24 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name7,
151
+ action: name3,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin24 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name7,
188
+ name: name3,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input7,
191
+ input: Input3,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin24 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError6({ id: info.id });
214
+ return yield* new NotFoundError5({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name7,
228
+ type: name3,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name7];
258
+ const tool = event.tools[name3];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name17(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin24, exports_shell2 };
269
+ export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin21, exports_shell2 };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  Ref3,
3
- Service76
4
- } from "./filesystem-wq31c655.js";
3
+ Service75
4
+ } from "./managed-policy-3zpkprm0.js";
5
5
  import {
6
6
  Service73
7
- } from "./filesystem-8cykdwq1.js";
7
+ } from "./managed-policy-ycw2m91r.js";
8
8
  import {
9
- Service69
10
- } from "./filesystem-r98dxkx5.js";
9
+ Service63
10
+ } from "./managed-policy-xwtecabs.js";
11
11
  import {
12
12
  SessionMessage2
13
- } from "./filesystem-gftt206x.js";
13
+ } from "./managed-policy-gftt206x.js";
14
14
  import {
15
- Service55
16
- } from "./filesystem-hjaahymy.js";
15
+ Service68
16
+ } from "./managed-policy-vrrz3168.js";
17
17
  import {
18
- Service19
19
- } from "./filesystem-7m5yeeqj.js";
18
+ Service58
19
+ } from "./managed-policy-zad8az0q.js";
20
20
  import {
21
- Service21
22
- } from "./filesystem-9wm1sbvz.js";
21
+ Service55
22
+ } from "./managed-policy-q8gkaxn0.js";
23
23
  import {
24
- Service54
25
- } from "./filesystem-4se3fcjy.js";
24
+ Service44
25
+ } from "./managed-policy-w3190j0e.js";
26
26
  import {
27
27
  detect2
28
- } from "./filesystem-4pyp9zr9.js";
28
+ } from "./managed-policy-4pyp9zr9.js";
29
29
  import {
30
- Service27
31
- } from "./filesystem-ye085k5q.js";
30
+ Service23
31
+ } from "./managed-policy-yad05gqx.js";
32
32
  import {
33
33
  collectBoundedResponseBody2
34
- } from "./filesystem-3v8g72cx.js";
34
+ } from "./managed-policy-3v8g72cx.js";
35
35
  import {
36
36
  __export
37
- } from "./filesystem-9rqn6x4v.js";
37
+ } from "./managed-policy-9rqn6x4v.js";
38
38
 
39
39
  // src/tool/plugin/image-generate.ts
40
40
  var exports_image_generate = {};
41
41
  __export(exports_image_generate, {
42
42
  ImageGenerateTool: () => exports_image_generate,
43
- Input: () => Input12,
43
+ Input: () => Input11,
44
44
  MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
45
- Output: () => Output8,
45
+ Output: () => Output7,
46
46
  Plugin: () => Plugin31,
47
47
  defaultModel: () => defaultModel2,
48
- description: () => description6,
49
- name: () => name12
48
+ description: () => description5,
49
+ name: () => name11
50
50
  });
51
51
  import path from "path";
52
52
  import { ToolFailure } from "@opencode/ai/effect";
@@ -54,7 +54,7 @@ import { Identifier } from "@opencode/schema/identifier";
54
54
  import { Global } from "@opencode/util/global";
55
55
  import { Duration, Effect, Schema, Scope, Stream } from "effect";
56
56
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
57
- var name12 = "image_generate";
57
+ var name11 = "image_generate";
58
58
  var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
59
59
  var DOWNLOAD_TIMEOUT = Duration.seconds(30);
60
60
  var GENERATE_TIMEOUT = Duration.minutes(30);
@@ -65,13 +65,21 @@ var EXTENSIONS = {
65
65
  "image/webp": ".webp",
66
66
  "image/gif": ".gif"
67
67
  };
68
- var description6 = "Generate or edit an image. Pass images to edit them or to guide style and subject. To make several images, call the tool once per image with distinct prompts. Omit model to use the default. Runs in the background: the call returns right away and you are notified automatically when the image is saved or fails. DO NOT sleep, poll, or check whether the file exists while it runs; continue with other work or end your response. After the notice, use the read tool on the path to view the image and mention the path to the user. Each call costs money, so don't regenerate unless asked or the result is clearly wrong.";
69
- var Input12 = Schema.Struct({
68
+ var description5 = [
69
+ "Generates a new image, or edits existing ones.",
70
+ "Only call this when the user asks you to create or edit an image.",
71
+ "Images you pass are used as the source to edit, or as references for style and subject.",
72
+ "Each call makes one image. For several images, call it once per image.",
73
+ "It runs in the background: the call starts a job and returns right away, and you are notified automatically when the image is saved, with its path. Never poll, sleep, or check for the file while you wait.",
74
+ "Don't repeat a request unless the user asks."
75
+ ].join(`
76
+ `);
77
+ var Input11 = Schema.Struct({
70
78
  prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
71
79
  description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
72
80
  }),
73
81
  images: Schema.optionalKey(Schema.Array(Schema.String.check(Schema.isMinLength(1))).check(Schema.isMinLength(1), Schema.isMaxLength(8))).annotate({
74
- description: "Images to edit or use as references, in order. Local file paths (relative to the session directory or absolute) or http(s) URLs. Omit to create a new image."
82
+ description: "Images to edit, or to use as references for style and subject when creating a new image, in order. Local file paths (relative to the session directory or absolute) or http(s) URLs."
75
83
  }),
76
84
  model: Schema.optionalKey(Schema.String).annotate({
77
85
  description: 'NEVER set this unless the user explicitly asks for a particular image model or variant. The value is written as "providerID/modelID", or "providerID/modelID#variant" to include a variant. Do not guess the ID: look it up with the models tool using type: "image", filtering to your own provider first.'
@@ -80,24 +88,24 @@ var Input12 = Schema.Struct({
80
88
  description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
81
89
  })
82
90
  });
83
- var Output8 = Schema.Struct({
91
+ var Output7 = Schema.Struct({
84
92
  path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
85
93
  model: Schema.String.annotate({ description: "providerID/modelID" })
86
94
  });
87
95
  var Plugin31 = {
88
96
  id: "opencode.tool.image-generate",
89
97
  effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
90
- const access = yield* Service19;
91
- const environment = yield* Service69;
92
- const generate = yield* Service21;
98
+ const access = yield* Service58;
99
+ const environment = yield* Service63;
100
+ const generate = yield* Service55;
93
101
  const global = yield* Global.Service;
94
102
  const http = yield* HttpClient.HttpClient;
95
103
  const config = yield* Service73;
96
- const jobs = yield* Service54;
104
+ const jobs = yield* Service44;
97
105
  const scope = yield* Scope.Scope;
98
- const sessions = yield* Service27;
99
- const models = yield* Service76;
100
- const permission = yield* Service55;
106
+ const sessions = yield* Service23;
107
+ const models = yield* Service75;
108
+ const permission = yield* Service68;
101
109
  const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
102
110
  const available = yield* models.available(["image"]);
103
111
  if (!input) {
@@ -174,7 +182,7 @@ var Plugin31 = {
174
182
  sessionID,
175
183
  description: "Image generation",
176
184
  text: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${file}.` : `Image request for ${file} was cancelled.`,
177
- metadata: { source: name12, jobID: id, state: info.status, path: file }
185
+ metadata: { source: name11, jobID: id, state: info.status, path: file }
178
186
  });
179
187
  yield* jobs.completeBackground(notificationID);
180
188
  }, Effect.forkIn(scope, { startImmediately: true }));
@@ -192,11 +200,11 @@ var Plugin31 = {
192
200
  if (!enabled)
193
201
  return;
194
202
  editor.add({
195
- name: name12,
203
+ name: name11,
196
204
  options: { codemode: false },
197
- description: description6,
198
- input: Input12,
199
- output: Output8,
205
+ description: description5,
206
+ input: Input11,
207
+ output: Output7,
200
208
  execute: (input, context) => Effect.gen(function* () {
201
209
  const source = { type: "tool", messageID: context.messageID, id: context.id };
202
210
  const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
@@ -206,7 +214,7 @@ var Plugin31 = {
206
214
  const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
207
215
  const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
208
216
  yield* permission.assert({
209
- action: name12,
217
+ action: name11,
210
218
  resources: [ref],
211
219
  save: ["*"],
212
220
  metadata: { ...input, model: ref },
@@ -274,7 +282,7 @@ Use the read tool on this path to view the image.`;
274
282
  const job = yield* jobs.start({
275
283
  id,
276
284
  notificationID,
277
- type: name12,
285
+ type: name11,
278
286
  title: input.prompt,
279
287
  metadata: { sessionID: context.sessionID, path: stem, model: ref },
280
288
  recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
@@ -309,4 +317,4 @@ function acceptsImages(model) {
309
317
  return model.capabilities.input.some((item) => item.startsWith("image"));
310
318
  }
311
319
 
312
- export { name12, MAX_INPUT_BYTES2, description6, Input12, Output8, Plugin31, defaultModel2, exports_image_generate };
320
+ export { name11, MAX_INPUT_BYTES2, description5, Input11, Output7, Plugin31, defaultModel2, exports_image_generate };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./filesystem-xptjxdz6.js";
2
+ Service86,
3
+ node90
4
+ } from "./managed-policy-2cvzdrfc.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./filesystem-rb9dy4dg.js";
9
+ } from "./managed-policy-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./filesystem-w3p04qes.js";
12
+ } from "./managed-policy-0r3h9arj.js";
13
13
  import {
14
- Service82,
15
- node86
16
- } from "./filesystem-r0dsnsr8.js";
14
+ Service83,
15
+ node87
16
+ } from "./managed-policy-3mrgaxhn.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./filesystem-204s3925.js";
20
+ } from "./managed-policy-204s3925.js";
21
21
  import {
22
22
  __export
23
- } from "./filesystem-9rqn6x4v.js";
23
+ } from "./managed-policy-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,19 +29,19 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info5,
32
+ Info: () => Info7,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service16,
35
+ Service: () => Service21,
36
36
  Untracked: () => Untracked2,
37
37
  Vcs: () => exports_vcs,
38
- node: () => node19
38
+ node: () => node24
39
39
  });
40
40
  import path from "path";
41
41
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
42
42
  import { FileDiff } from "@opencode/schema/file-diff";
43
43
  import { FileSystem } from "@opencode/schema/filesystem";
44
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
44
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
45
45
  import { VcsEvent } from "@opencode/schema/vcs-event";
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import { FSUtil } from "@opencode/util/fs-util";
@@ -55,12 +55,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service16 extends Context.Service()("@opencode/Vcs") {
58
+ class Service21 extends Context.Service()("@opencode/Vcs") {
59
59
  }
60
- var layer = Layer.effect(Service16, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
61
61
  const fs = yield* FSUtil.Service;
62
- const location = yield* Service82;
63
- const bus = yield* Service85;
62
+ const location = yield* Service83;
63
+ const bus = yield* Service86;
64
64
  const root = yield* Effect.scope;
65
65
  const fork = yield* FiberSet.makeRuntime();
66
66
  const vcs = location.vcs;
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
72
72
  canonical: location.project.canonical,
73
73
  ...vcs ? { store: vcs.store } : {}
74
74
  };
75
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
75
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
76
76
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
77
77
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
78
78
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
130
130
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
131
131
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
132
132
  }
133
- return Service16.of({
133
+ return Service21.of({
134
134
  transform: state.transform,
135
135
  reload: state.reload,
136
136
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
189
189
  })
190
190
  });
191
191
  }));
192
- var node19 = makeLocationNode({
193
- service: Service16,
192
+ var node24 = makeLocationNode({
193
+ service: Service21,
194
194
  layer,
195
- deps: [FSUtil.node, node86, node89]
195
+ deps: [FSUtil.node, node87, node90]
196
196
  });
197
197
 
198
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, Untracked2, DiffError2, InitializeError2, Service16, node19, exports_vcs };
198
+ export { Base2, BranchList2, FileStatus2, Info7, Mode2, Untracked2, DiffError2, InitializeError2, Service21, node24, exports_vcs };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./managed-policy-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./managed-policy-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service52,
10
- node: () => node54
9
+ Service: () => Service40,
10
+ node: () => node42
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service52 extends Context.Service()("@opencode/Instance") {
16
+ class Service40 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node54 = LayerNode.unbound(Service52, Node.tags.values.global);
18
+ var node42 = LayerNode.unbound(Service40, Node.tags.values.global);
19
19
 
20
- export { Service52, node54, exports_service2 };
20
+ export { Service40, node42, exports_service2 };