@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
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./filesystem-z5v4ffb3.js";
5
+ } from "./managed-policy-z5v4ffb3.js";
6
6
  import {
7
- Service82,
8
- node86
9
- } from "./filesystem-r0dsnsr8.js";
7
+ Service83,
8
+ node87
9
+ } from "./managed-policy-3mrgaxhn.js";
10
10
  import {
11
- Service67,
12
- node69
13
- } from "./filesystem-xdkjcj8h.js";
11
+ Service49,
12
+ node51
13
+ } from "./managed-policy-41e375vw.js";
14
14
  import {
15
15
  __export
16
- } from "./filesystem-9rqn6x4v.js";
16
+ } from "./managed-policy-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event12,
27
+ Event: () => Event6,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError10,
34
- Service: () => Service66,
33
+ NotFoundError: () => NotFoundError6,
34
+ Service: () => Service48,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node68
37
+ node: () => node50
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event12 = FileSystem.Event;
95
+ var Event6 = FileSystem.Event;
96
96
 
97
- class Service66 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service48 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service66, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service48, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service82;
102
- const search = yield* Service67;
101
+ const location = yield* Service83;
102
+ const search = yield* Service49;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service66, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError10({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError6({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError10({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError6({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError10({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError6({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service66.of({
121
+ return Service48.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError10({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError6({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service66, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError10({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError6({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service66, Effect.gen(function* () {
158
158
  })
159
159
  });
160
160
  }));
161
- var node68 = makeLocationNode({
162
- service: Service66,
161
+ var node50 = makeLocationNode({
162
+ service: Service48,
163
163
  layer: baseLayer,
164
- deps: [FSUtil.node, node86, node69]
164
+ deps: [FSUtil.node, node87, node51]
165
165
  });
166
166
 
167
- export { FindInput2, Write2, NotFoundError10, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event12, Service66, node68, exports_filesystem, Entry2, Match2, Submatch2 };
167
+ export { FindInput2, Write2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service48, node50, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  which2
3
- } from "./filesystem-qaymkmh1.js";
3
+ } from "./managed-policy-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/process";
8
8
  import { isRecord } from "@opencode/util/record";
9
- function make4(input) {
9
+ function make6(input) {
10
10
  const disabled = false;
11
11
  const findExecutable = (name) => which2(name, undefined, input.bin);
12
12
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
259
259
  return isRecord(input[field]) && key in input[field];
260
260
  }
261
261
 
262
- export { make4 };
262
+ export { make6 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./filesystem-esbzcf2v.js";
3
+ } from "./managed-policy-q4nd2ya6.js";
4
4
  import {
5
5
  apply3
6
- } from "./filesystem-phmgxt2f.js";
6
+ } from "./managed-policy-vz5jpjpa.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./managed-policy-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
13
13
  __export(exports_database, {
14
14
  Database: () => exports_database,
15
15
  Options: () => Options9,
16
- Service: () => Service86,
16
+ Service: () => Service87,
17
17
  configured: () => configured13,
18
18
  configuredClient: () => configuredClient2,
19
19
  layer: () => layer28,
20
20
  layerFromClient: () => layerFromClient2,
21
- node: () => node90
21
+ node: () => node91
22
22
  });
23
23
  import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
24
24
  import { Context, Effect, Layer, Schema, Semaphore } from "effect";
@@ -32,9 +32,9 @@ var Options9 = Schema.Struct({
32
32
  path: Schema.optional(Schema.String)
33
33
  });
34
34
 
35
- class Service86 extends Context.Service()("@opencode/storage/Database") {
35
+ class Service87 extends Context.Service()("@opencode/storage/Database") {
36
36
  }
37
- var databaseLayer = (lock) => Layer.effect(Service86, Effect.gen(function* () {
37
+ var databaseLayer = (lock) => Layer.effect(Service87, Effect.gen(function* () {
38
38
  const db = yield* makeDatabase;
39
39
  if (supportsTuningPragmas) {
40
40
  yield* db.run("PRAGMA journal_mode = WAL");
@@ -82,15 +82,15 @@ async function restrictToOwner(filename) {
82
82
  }
83
83
  var layerFromClient2 = databaseLayer(Semaphore.make(1));
84
84
  function configured13(options) {
85
- return makeGlobalNode({ service: Service86, layer: layer28(options), deps: [Global.node] });
85
+ return makeGlobalNode({ service: Service87, layer: layer28(options), deps: [Global.node] });
86
86
  }
87
87
  function configuredClient2(client) {
88
88
  return makeGlobalNode({
89
- service: Service86,
89
+ service: Service87,
90
90
  layer: layerFromClient2.pipe(Layer.provide(client)),
91
91
  deps: [Global.node]
92
92
  });
93
93
  }
94
- var node90 = configured13({ path: ":memory:" });
94
+ var node91 = configured13({ path: ":memory:" });
95
95
 
96
- export { Options9, Service86, layer28, layerFromClient2, configured13, configuredClient2, node90, exports_database };
96
+ export { Options9, Service87, layer28, layerFromClient2, configured13, configuredClient2, node91, exports_database };
@@ -1,27 +1,27 @@
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
  Key4,
7
7
  External2,
8
- Service81,
9
- node85
10
- } from "./filesystem-n61g9vyf.js";
8
+ Service80,
9
+ node84
10
+ } from "./managed-policy-98n8hmv5.js";
11
11
  import {
12
12
  changes2,
13
13
  create3
14
- } from "./filesystem-204s3925.js";
14
+ } from "./managed-policy-204s3925.js";
15
15
  import {
16
16
  key2
17
- } from "./filesystem-61ennm6n.js";
17
+ } from "./managed-policy-95sp4hdf.js";
18
18
  import {
19
19
  validateAnswer2,
20
20
  validateFields2
21
- } from "./filesystem-4nyhany0.js";
21
+ } from "./managed-policy-w9tzngvg.js";
22
22
  import {
23
23
  __export
24
- } from "./filesystem-9rqn6x4v.js";
24
+ } from "./managed-policy-9rqn6x4v.js";
25
25
 
26
26
  // src/integration.ts
27
27
  var exports_integration2 = {};
@@ -38,16 +38,16 @@ __export(exports_integration2, {
38
38
  EnvMethod: () => EnvMethod2,
39
39
  Event: () => Event17,
40
40
  ExternalMethod: () => ExternalMethod2,
41
- ID: () => ID14,
42
- Info: () => Info24,
41
+ ID: () => ID15,
42
+ Info: () => Info25,
43
43
  Integration: () => exports_integration2,
44
44
  KeyMethod: () => KeyMethod2,
45
45
  Method: () => Method2,
46
46
  MethodID: () => MethodID2,
47
47
  OAuthMethod: () => OAuthMethod2,
48
48
  Ref: () => Ref4,
49
- Service: () => Service79,
50
- node: () => node83
49
+ Service: () => Service78,
50
+ node: () => node82
51
51
  });
52
52
  import { makeLocationNode } from "@opencode/util/effect/app-node";
53
53
  import {
@@ -70,7 +70,7 @@ import { Integration } from "@opencode/schema/integration";
70
70
  import { AppProcess } from "@opencode/util/process";
71
71
  import { ChildProcess } from "effect/process";
72
72
  import { Event as Event17 } from "@opencode/schema/integration";
73
- var ID14 = Integration.ID;
73
+ var ID15 = Integration.ID;
74
74
  var MethodID2 = Integration.MethodID;
75
75
  var AttemptID2 = Integration.AttemptID;
76
76
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -79,7 +79,7 @@ var KeyMethod2 = Integration.KeyMethod;
79
79
  var ExternalMethod2 = Integration.ExternalMethod;
80
80
  var EnvMethod2 = Integration.EnvMethod;
81
81
  var Method2 = Integration.Method;
82
- var Info24 = Integration.Info;
82
+ var Info25 = Integration.Info;
83
83
  var Attempt2 = Integration.Attempt;
84
84
  var AttemptStatus2 = Integration.AttemptStatus;
85
85
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -102,20 +102,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
102
102
  }
103
103
 
104
104
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
105
- integrationID: ID14,
105
+ integrationID: ID15,
106
106
  attemptID: AttemptID2
107
107
  }) {
108
108
  }
109
109
  var Ref4 = Integration.Ref;
110
110
 
111
- class Service79 extends Context.Service()("@opencode/Integration") {
111
+ class Service78 extends Context.Service()("@opencode/Integration") {
112
112
  }
113
113
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
114
114
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
115
115
  var scrubInterval = Duration.seconds(30);
116
- var layer = Layer.effect(Service79, Effect.gen(function* () {
117
- const credentials = yield* Service81;
118
- const bus = yield* Service85;
116
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
117
+ const credentials = yield* Service80;
118
+ const bus = yield* Service86;
119
119
  const processes = yield* AppProcess.Service;
120
120
  const scope = yield* Scope.Scope;
121
121
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
225
225
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
226
226
  return [...credentials, ...env];
227
227
  };
228
- const project = (entry, connections) => Info24.make({
228
+ const project = (entry, connections) => Info25.make({
229
229
  id: entry.ref.id,
230
230
  name: entry.ref.name,
231
231
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
462
462
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
463
463
  return CommandAttempt2.make({ attemptID, time });
464
464
  });
465
- return Service79.of({
465
+ return Service78.of({
466
466
  transform: state.transform,
467
467
  reload: state.reload,
468
468
  revision: state.revision,
@@ -655,10 +655,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
655
655
  }
656
656
  });
657
657
  }));
658
- var node83 = makeLocationNode({
659
- service: Service79,
658
+ var node82 = makeLocationNode({
659
+ service: Service78,
660
660
  layer,
661
- deps: [node85, node89, AppProcess.node]
661
+ deps: [node84, node90, AppProcess.node]
662
662
  });
663
663
 
664
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info24, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service79, node83, exports_integration2, Event17 };
664
+ export { ID15, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info25, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service78, node82, exports_integration2, Event17 };
@@ -1,36 +1,36 @@
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
- Service82,
7
- node86
8
- } from "./filesystem-r0dsnsr8.js";
6
+ Service83,
7
+ node87
8
+ } from "./managed-policy-3mrgaxhn.js";
9
9
  import {
10
- Service58,
11
- node60
12
- } from "./filesystem-61ee6dgv.js";
10
+ Service71,
11
+ node75
12
+ } from "./managed-policy-sf94snq4.js";
13
13
  import {
14
- NotFoundError8
15
- } from "./filesystem-bhvs01y7.js";
14
+ NotFoundError10
15
+ } from "./managed-policy-f52hekk8.js";
16
16
  import {
17
- Service56,
18
- node58
19
- } from "./filesystem-4dxkx4vc.js";
17
+ Service69,
18
+ node73
19
+ } from "./managed-policy-43hxaq7r.js";
20
20
  import {
21
21
  match2
22
- } from "./filesystem-z38nccrw.js";
22
+ } from "./managed-policy-z38nccrw.js";
23
23
  import {
24
- Service57,
25
- node59
26
- } from "./filesystem-hjwwwxxw.js";
24
+ Service70,
25
+ node74
26
+ } from "./managed-policy-ywczxhk7.js";
27
27
  import {
28
- Service59,
29
- node61
30
- } from "./filesystem-fny70jpy.js";
28
+ Service72,
29
+ node76
30
+ } from "./managed-policy-8k8pzbp4.js";
31
31
  import {
32
32
  __export
33
- } from "./filesystem-9rqn6x4v.js";
33
+ } from "./managed-policy-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
36
  var exports_permission = {};
@@ -39,30 +39,30 @@ __export(exports_permission, {
39
39
  CorrectedError: () => CorrectedError2,
40
40
  DeclinedError: () => DeclinedError2,
41
41
  Effect: () => PermissionEffect,
42
- Event: () => Event9,
43
- ID: () => ID6,
44
- NotFoundError: () => NotFoundError7,
42
+ Event: () => Event12,
43
+ ID: () => ID9,
44
+ NotFoundError: () => NotFoundError9,
45
45
  Permission: () => exports_permission,
46
46
  Reply: () => Reply2,
47
- Request: () => Request2,
47
+ Request: () => Request3,
48
48
  Rule: () => Rule2,
49
49
  Ruleset: () => Ruleset2,
50
- Service: () => Service55,
50
+ Service: () => Service68,
51
51
  Source: () => Source5,
52
52
  evaluate: () => evaluate2,
53
53
  merge: () => merge2,
54
- node: () => node57
54
+ node: () => node72
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
57
57
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
58
58
  import { Permission } from "@opencode/schema/permission";
59
59
  import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
60
- import { Event as Event9 } from "@opencode/schema/permission";
60
+ import { Event as Event12 } from "@opencode/schema/permission";
61
61
  var PermissionEffect = Permission.Effect;
62
62
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
63
- var ID6 = Permission.ID;
63
+ var ID9 = Permission.ID;
64
64
  var Source5 = Permission.Source;
65
- var Request2 = Permission.Request;
65
+ var Request3 = Permission.Request;
66
66
  var Reply2 = Permission.Reply;
67
67
 
68
68
  class DeclinedError2 extends Schema.TaggedError()("Permission.DeclinedError", {}) {
@@ -84,8 +84,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
84
84
  }
85
85
  }
86
86
 
87
- class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
88
- requestID: ID6
87
+ class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
88
+ requestID: ID9
89
89
  }) {
90
90
  }
91
91
  function evaluate2(action, resource, ...rulesets) {
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
99
99
  return rulesets.flat();
100
100
  }
101
101
 
102
- class Service55 extends Context.Service()("@opencode/Permission") {
102
+ class Service68 extends Context.Service()("@opencode/Permission") {
103
103
  }
104
- var layer = Layer.effect(Service55, Effect.gen(function* () {
105
- const bus = yield* Service85;
106
- const location = yield* Service82;
107
- const agents = yield* Service58;
108
- const sessions = yield* Service56;
109
- const saved = yield* Service57;
110
- const hooks = yield* Service59;
104
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
105
+ const bus = yield* Service86;
106
+ const location = yield* Service83;
107
+ const agents = yield* Service71;
108
+ const sessions = yield* Service69;
109
+ const saved = yield* Service70;
110
+ const hooks = yield* Service72;
111
111
  const pending = new Map;
112
112
  let closed = false;
113
113
  const close = Effect.gen(function* () {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
130
130
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
131
131
  const session = yield* sessions.get(sessionID);
132
132
  if (!session)
133
- return yield* new NotFoundError8({ sessionID });
133
+ return yield* new NotFoundError10({ sessionID });
134
134
  const agent = yield* agents.resolve(agentID ?? session.agent);
135
135
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
136
136
  });
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
160
160
  });
161
161
  function request(input, message) {
162
162
  return {
163
- id: input.id ?? ID6.create(),
163
+ id: input.id ?? ID9.create(),
164
164
  sessionID: input.sessionID,
165
165
  action: input.action,
166
166
  resources: input.resources,
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
185
185
  }));
186
186
  const ask = Effect.fn("Permission.ask")(function* (input) {
187
187
  if (closed)
188
- return { id: input.id ?? ID6.create(), effect: "deny" };
188
+ return { id: input.id ?? ID9.create(), effect: "deny" };
189
189
  const result = yield* evaluateInput(input);
190
190
  const value = request(input, result.message);
191
191
  if (result.effect === "ask")
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
227
227
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
228
228
  const existing = pending.get(input.requestID);
229
229
  if (!existing)
230
- return yield* new NotFoundError7({ requestID: input.requestID });
230
+ return yield* new NotFoundError9({ requestID: input.requestID });
231
231
  yield* bus.publish(Permission.Event.Replied, {
232
232
  sessionID: existing.request.sessionID,
233
233
  requestID: existing.request.id,
@@ -282,12 +282,12 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
282
282
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
283
283
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
284
284
  });
285
- return Service55.of({ ask, assert, assertNotDenied, reply, get, forSession, list, close });
285
+ return Service68.of({ ask, assert, assertNotDenied, reply, get, forSession, list, close });
286
286
  }));
287
- var node57 = makeLocationNode({
288
- service: Service55,
287
+ var node72 = makeLocationNode({
288
+ service: Service68,
289
289
  layer,
290
- deps: [node89, node86, node60, node58, node59, node61]
290
+ deps: [node90, node87, node75, node73, node74, node76]
291
291
  });
292
292
 
293
- export { PermissionEffect, ID6, Source5, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service55, node57, exports_permission, Rule2, Ruleset2, Event9 };
293
+ export { PermissionEffect, ID9, Source5, Request3, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service68, node72, exports_permission, Rule2, Ruleset2, Event12 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID13,
2
+ ID14,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./filesystem-0nhbejy7.js";
5
+ } from "./managed-policy-cbvth98t.js";
6
6
  import {
7
- ID12,
7
+ ID13,
8
8
  VariantID2,
9
9
  Family2,
10
- Info22
11
- } from "./filesystem-wq31c655.js";
10
+ Info23
11
+ } from "./managed-policy-3zpkprm0.js";
12
12
  import {
13
13
  __export
14
- } from "./filesystem-9rqn6x4v.js";
14
+ } from "./managed-policy-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID12.make(id);
97
+ const key = ID13.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info22.make({
122
- ...Info22.default(ID13.githubCopilot, id),
121
+ return Info23.make({
122
+ ...Info23.default(ID14.githubCopilot, id),
123
123
  id,
124
- modelID: ID12.make(remote.id),
125
- providerID: ID13.githubCopilot,
124
+ modelID: ID13.make(remote.id),
125
+ providerID: ID14.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./filesystem-c34yv8jr.js";
2
+ Service87,
3
+ node91
4
+ } from "./managed-policy-vf28gzax.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service85,
8
- node89
9
- } from "./filesystem-xptjxdz6.js";
7
+ Service86,
8
+ node90
9
+ } from "./managed-policy-2cvzdrfc.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./filesystem-p015t6z3.js";
12
+ } from "./managed-policy-p015t6z3.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./filesystem-ec1grn59.js";
15
+ } from "./managed-policy-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./filesystem-zyfw5drr.js";
18
+ } from "./managed-policy-t628qfe2.js";
19
19
  import {
20
- Service56,
21
- node58
22
- } from "./filesystem-4dxkx4vc.js";
20
+ Service69,
21
+ node73
22
+ } from "./managed-policy-43hxaq7r.js";
23
23
  import {
24
- Service29,
25
- node33
26
- } from "./filesystem-zes7n4m2.js";
24
+ Service25,
25
+ node29
26
+ } from "./managed-policy-xykztc7h.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./filesystem-r542h3bh.js";
30
+ } from "./managed-policy-r542h3bh.js";
31
31
  import {
32
32
  __export
33
- } from "./filesystem-9rqn6x4v.js";
33
+ } from "./managed-policy-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
@@ -73,11 +73,11 @@ var isUntitled2 = (session) => isExactRootFallback({
73
73
  time: { created: DateTime.toEpochMillis(session.time.created) }
74
74
  });
75
75
  var layer3 = Layer.effect(Service2, Effect.gen(function* () {
76
- const bus = yield* Service85;
76
+ const bus = yield* Service86;
77
77
  const llm = yield* LLMClient.Service;
78
- const context = yield* Service29;
79
- const store = yield* Service56;
80
- const db = (yield* Service86).db;
78
+ const context = yield* Service25;
79
+ const store = yield* Service69;
80
+ const db = (yield* Service87).db;
81
81
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
82
82
  const chunks = [];
83
83
  let failed = false;
@@ -165,7 +165,7 @@ Recent conversation:
165
165
  var node3 = makeLocationNode({
166
166
  service: Service2,
167
167
  layer: layer3,
168
- deps: [node89, llmClient2, node33, node58, node90]
168
+ deps: [node90, llmClient2, node29, node73, node91]
169
169
  });
170
170
 
171
171
  export { Service2, isUntitled2, layer3, node3, exports_title };