@opencode/core 0.0.0-dev-248 → 0.0.0-dev-261

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 (852) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +89 -88
  3. package/dist/aisdk-native.js +101 -100
  4. package/dist/aisdk.js +107 -106
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -78
  7. package/dist/chunks/{image-034tev2y.js → mime-034tev2y.js} +2 -2
  8. package/dist/chunks/{image-qsv00416.js → mime-05ga3jym.js} +32 -32
  9. package/dist/chunks/{image-stv8d0fa.js → mime-09npetjp.js} +27 -27
  10. package/dist/chunks/{image-m11k789k.js → mime-0cjt6hj4.js} +17 -17
  11. package/dist/chunks/{image-jn88007r.js → mime-0eq01nmm.js} +9 -9
  12. package/dist/chunks/{image-w0sctsdt.js → mime-0h3385jp.js} +2 -2
  13. package/dist/chunks/{image-fznmdakp.js → mime-0h8y3ex8.js} +4 -4
  14. package/dist/chunks/{image-gbjdk4c3.js → mime-0j9k711p.js} +26 -26
  15. package/dist/chunks/{image-js1q3m86.js → mime-0rhd3fk1.js} +6 -6
  16. package/dist/chunks/{image-vx3jgdek.js → mime-107zh63q.js} +3 -3
  17. package/dist/chunks/{image-11hfp36g.js → mime-11hfp36g.js} +1 -1
  18. package/dist/chunks/{image-qy3khhnd.js → mime-17x7vgjp.js} +24 -24
  19. package/dist/chunks/{image-z38nccrw.js → mime-1aqsckx4.js} +4 -4
  20. package/dist/chunks/{image-pf7dnjhv.js → mime-1dtbfpzr.js} +27 -25
  21. package/dist/chunks/{image-8gxv70g9.js → mime-1dy1zrej.js} +85 -85
  22. package/dist/chunks/{image-q2akw4rt.js → mime-1ene02nc.js} +28 -28
  23. package/dist/chunks/{image-1ep2p91f.js → mime-1ep2p91f.js} +2 -2
  24. package/dist/chunks/mime-1hm0b4am.js +257 -0
  25. package/dist/chunks/{image-c4104nvq.js → mime-1hma5w09.js} +88 -88
  26. package/dist/chunks/{image-tn1wjjkb.js → mime-1kmbt0nq.js} +4 -4
  27. package/dist/chunks/{image-xt0z8zst.js → mime-1kn6jdkn.js} +4 -4
  28. package/dist/chunks/{image-a862c78z.js → mime-1nwvfgjk.js} +19 -19
  29. package/dist/chunks/{image-j8ypmtmr.js → mime-1w8p0a18.js} +12 -12
  30. package/dist/chunks/{image-avce3vrt.js → mime-1wpsahk2.js} +7 -7
  31. package/dist/chunks/{image-1x2knyw4.js → mime-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{image-204s3925.js → mime-204s3925.js} +1 -1
  33. package/dist/chunks/{image-f3d4492r.js → mime-2135gcnk.js} +13 -13
  34. package/dist/chunks/{image-25h84942.js → mime-25h84942.js} +1 -1
  35. package/dist/chunks/{image-vk8647fk.js → mime-29db0j4x.js} +4 -4
  36. package/dist/chunks/{image-jy8nsvvz.js → mime-2b25mbj3.js} +5 -5
  37. package/dist/chunks/{image-2dkjcnxp.js → mime-2dkjcnxp.js} +1 -1
  38. package/dist/chunks/{image-nhjb6w3d.js → mime-2e3yfjq6.js} +8 -8
  39. package/dist/chunks/{image-kprvh3r4.js → mime-2hrk5wbs.js} +18 -18
  40. package/dist/chunks/{image-s7kyse9r.js → mime-2kg89srt.js} +4 -4
  41. package/dist/chunks/{image-86fy72ae.js → mime-2qwjmz35.js} +14 -14
  42. package/dist/chunks/{image-hqxkkta1.js → mime-2zp5a6yg.js} +3 -3
  43. package/dist/chunks/{image-e2ne77ac.js → mime-36qx82yz.js} +4 -4
  44. package/dist/chunks/{image-3bks771a.js → mime-3f6130kj.js} +36 -36
  45. package/dist/chunks/{image-p087ke4f.js → mime-3h56g0x5.js} +44 -44
  46. package/dist/chunks/{image-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{image-k0cyqgb5.js → mime-3k3cm4zk.js} +11 -11
  48. package/dist/chunks/{image-tmc7xdjs.js → mime-3nnrz6f6.js} +4 -4
  49. package/dist/chunks/{image-g8mt74n4.js → mime-3xm4v4zv.js} +20 -20
  50. package/dist/chunks/{image-nwarprta.js → mime-45xte6ee.js} +20 -20
  51. package/dist/chunks/{image-x219xq9r.js → mime-48es43h7.js} +10 -10
  52. package/dist/chunks/{image-ra36q08n.js → mime-4a1s8y4n.js} +12 -12
  53. package/dist/chunks/mime-4dx1dgte.js +16 -0
  54. package/dist/chunks/{image-20pjvqtm.js → mime-4hebgate.js} +12 -12
  55. package/dist/chunks/{image-4pyp9zr9.js → mime-4pyp9zr9.js} +1 -1
  56. package/dist/chunks/{image-8jf3czjf.js → mime-4qxqnvmw.js} +19 -19
  57. package/dist/chunks/{image-zm4870m6.js → mime-4tdcetb8.js} +11 -11
  58. package/dist/chunks/{image-k5jndtya.js → mime-4thnqhg3.js} +1 -1
  59. package/dist/chunks/{image-4v008n1t.js → mime-4v008n1t.js} +1 -1
  60. package/dist/chunks/{image-7zwtd1t5.js → mime-4yscp7k1.js} +34 -34
  61. package/dist/chunks/{image-mg0htjxc.js → mime-50x74c5d.js} +30 -30
  62. package/dist/chunks/mime-52zxaxjc.js +26 -0
  63. package/dist/chunks/{image-5enarcya.js → mime-5enarcya.js} +2 -2
  64. package/dist/chunks/{image-10gwmmpt.js → mime-5f3qf23k.js} +23 -23
  65. package/dist/chunks/{image-04dwygev.js → mime-5g59k7nb.js} +30 -30
  66. package/dist/chunks/{image-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
  67. package/dist/chunks/{image-xg3m3sfb.js → mime-6447hfkj.js} +167 -167
  68. package/dist/chunks/{image-ydx4vg6d.js → mime-69nya0q4.js} +16 -16
  69. package/dist/chunks/{image-6esdw8yj.js → mime-6esdw8yj.js} +1 -1
  70. package/dist/chunks/{image-q4rvt96e.js → mime-6evmzryz.js} +9 -9
  71. package/dist/chunks/{image-dgy090gd.js → mime-6fpf7z8r.js} +5 -5
  72. package/dist/chunks/{image-trpj6qs6.js → mime-6vkwvj03.js} +14 -14
  73. package/dist/chunks/mime-6vmee23j.js +52 -0
  74. package/dist/chunks/{image-0v1smhm7.js → mime-6zh541c7.js} +62 -58
  75. package/dist/chunks/{image-76cb1hcw.js → mime-76cb1hcw.js} +1 -1
  76. package/dist/chunks/{image-f01y088k.js → mime-78p2h4ex.js} +7 -7
  77. package/dist/chunks/{image-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{image-jns4gqy7.js → mime-7h09t6vy.js} +4 -4
  79. package/dist/chunks/{image-cje1pfpn.js → mime-7q2ytnwk.js} +32 -32
  80. package/dist/chunks/{image-2m7vd2mn.js → mime-7q3qfmpr.js} +29 -29
  81. package/dist/chunks/{image-jqcfy5ts.js → mime-7qrckcvm.js} +23 -23
  82. package/dist/chunks/{image-n8x58739.js → mime-7s9zy64f.js} +11 -11
  83. package/dist/chunks/{image-5gmpzygr.js → mime-7ssbg7yb.js} +15 -15
  84. package/dist/chunks/{image-7w2ypzdf.js → mime-7w2ypzdf.js} +1 -1
  85. package/dist/chunks/{image-kssbtbt0.js → mime-85aybcep.js} +76 -76
  86. package/dist/chunks/{image-hex7e87k.js → mime-87vy0wwt.js} +11 -11
  87. package/dist/chunks/{image-67eerw5j.js → mime-8dnnkdqt.js} +15 -15
  88. package/dist/chunks/{image-pkx7b8zb.js → mime-8f7wz2tq.js} +16 -16
  89. package/dist/chunks/{image-2ap97v08.js → mime-8p46qq0s.js} +17 -17
  90. package/dist/chunks/{image-fysk4shs.js → mime-8pyn3tva.js} +4 -4
  91. package/dist/chunks/{image-8wtp7s3z.js → mime-8wtp7s3z.js} +1 -1
  92. package/dist/chunks/{image-bqdeah0e.js → mime-904xv1p5.js} +21 -21
  93. package/dist/chunks/{image-e6v5qvkg.js → mime-90g6tx1j.js} +11 -11
  94. package/dist/chunks/{image-90zstvax.js → mime-90zstvax.js} +1 -1
  95. package/dist/chunks/{image-kag6nkv4.js → mime-91a9ea02.js} +19 -19
  96. package/dist/chunks/{image-pfz9gkfy.js → mime-91xttez3.js} +11 -11
  97. package/dist/chunks/{image-8nkb1bb0.js → mime-98sj2w4a.js} +21 -21
  98. package/dist/chunks/{image-39m5thjs.js → mime-9e3hvwnw.js} +32 -32
  99. package/dist/chunks/{image-6b5m6t85.js → mime-9esxa6rs.js} +13 -13
  100. package/dist/chunks/{image-m4rznpxk.js → mime-9kq27ct5.js} +275 -66
  101. package/dist/chunks/{image-3w0ntz8g.js → mime-9pf0pmfk.js} +9 -9
  102. package/dist/chunks/{image-znxs0qdf.js → mime-9wkv0v86.js} +27 -27
  103. package/dist/chunks/{image-ack5fry6.js → mime-9zk9amhx.js} +20 -20
  104. package/dist/chunks/{image-hp23tba8.js → mime-abne355d.js} +42 -42
  105. package/dist/chunks/{image-5f9y2yjb.js → mime-aes06p6b.js} +5 -5
  106. package/dist/chunks/{image-fskffsfd.js → mime-ajntjgfc.js} +15 -15
  107. package/dist/chunks/{image-9vmwptcj.js → mime-ape62p7n.js} +31 -31
  108. package/dist/chunks/{image-3kdbrncp.js → mime-avgzkss2.js} +5 -5
  109. package/dist/chunks/{image-ayjs7tqn.js → mime-ayjs7tqn.js} +2 -2
  110. package/dist/chunks/{image-qqyrafx2.js → mime-b4hen3e4.js} +7 -7
  111. package/dist/chunks/{image-b6vsg801.js → mime-b6vsg801.js} +2 -2
  112. package/dist/chunks/{image-32epp8e4.js → mime-bcyfntnp.js} +9 -9
  113. package/dist/chunks/{image-9sqzj7jg.js → mime-bgwcavjj.js} +9 -9
  114. package/dist/chunks/{image-5v2ww1a5.js → mime-bpyckyws.js} +13 -13
  115. package/dist/chunks/{image-v1zexmjw.js → mime-br6xvyb6.js} +18 -18
  116. package/dist/chunks/{image-2haa1nrw.js → mime-bvk25jmh.js} +4 -4
  117. package/dist/chunks/{image-1bf8edtk.js → mime-bx6g05dx.js} +13 -13
  118. package/dist/chunks/{image-penn2v67.js → mime-c3gnxtmm.js} +14 -14
  119. package/dist/chunks/{image-a4ww6fpm.js → mime-c4phwmq5.js} +6 -6
  120. package/dist/chunks/{image-8b714bza.js → mime-c4vfmmrn.js} +8 -8
  121. package/dist/chunks/{image-yc8ck43p.js → mime-c5q03pmb.js} +3 -3
  122. package/dist/chunks/{image-c6x7d2ts.js → mime-c6x7d2ts.js} +1 -1
  123. package/dist/chunks/{image-xcx6w6h2.js → mime-cpbq744t.js} +3 -3
  124. package/dist/chunks/{image-kee8ykx2.js → mime-crttzga9.js} +8 -8
  125. package/dist/chunks/{image-m528r48h.js → mime-cw43sd18.js} +4 -4
  126. package/dist/chunks/{image-cwrgdav8.js → mime-cwrgdav8.js} +2 -2
  127. package/dist/chunks/{image-6v2f7dvw.js → mime-czey47wt.js} +4 -4
  128. package/dist/chunks/{image-pebb1b2g.js → mime-d1zc5akg.js} +10 -10
  129. package/dist/chunks/{image-8ykqf5wm.js → mime-d390zwf3.js} +8 -8
  130. package/dist/chunks/{image-d4v9tmah.js → mime-d4v9tmah.js} +2 -2
  131. package/dist/chunks/{image-4hhk1wq5.js → mime-d64mgb0d.js} +33 -33
  132. package/dist/chunks/{image-xsvq7cjt.js → mime-d8p3t516.js} +4 -4
  133. package/dist/chunks/{image-q0f5tnzd.js → mime-dbqn72gh.js} +37 -37
  134. package/dist/chunks/{image-hmthv8g3.js → mime-ddb1fpa4.js} +18 -18
  135. package/dist/chunks/{image-em6jm62j.js → mime-de5ev1ss.js} +1 -1
  136. package/dist/chunks/{image-v4ntjfa2.js → mime-dgy529yc.js} +23 -23
  137. package/dist/chunks/{image-3rt29ewr.js → mime-dgzhj2a3.js} +17 -17
  138. package/dist/chunks/{image-azte55v6.js → mime-dja1b12h.js} +2 -2
  139. package/dist/chunks/{image-ag44vf4f.js → mime-dmbvkkjp.js} +8 -8
  140. package/dist/chunks/{image-1sd3wnkk.js → mime-dn75kjkt.js} +12 -12
  141. package/dist/chunks/{image-dt77769w.js → mime-dt77769w.js} +1 -1
  142. package/dist/chunks/{image-fy9mjtsj.js → mime-dt8yqcce.js} +20 -20
  143. package/dist/chunks/{image-e16ncx1j.js → mime-dtpswqs3.js} +25 -25
  144. package/dist/chunks/{image-rnm2nekc.js → mime-e11a9bx3.js} +3 -3
  145. package/dist/chunks/{image-e834z07m.js → mime-e834z07m.js} +1 -1
  146. package/dist/chunks/{image-dajrwvna.js → mime-ean2d8b5.js} +1 -1
  147. package/dist/chunks/{image-ntqnj75s.js → mime-ecgyc3nf.js} +4 -4
  148. package/dist/chunks/{image-8zgx0mk8.js → mime-eek85r7s.js} +19 -15
  149. package/dist/chunks/{image-4vb4pv6c.js → mime-ej397f02.js} +4 -4
  150. package/dist/chunks/{image-f1qxk96b.js → mime-ekd6nmzx.js} +36 -19
  151. package/dist/chunks/{image-ydsespw1.js → mime-enkpkfwx.js} +8 -8
  152. package/dist/chunks/{image-28yqhrns.js → mime-ew1cbhhw.js} +5 -5
  153. package/dist/chunks/{image-frevgasg.js → mime-f004ykrw.js} +25 -25
  154. package/dist/chunks/{image-3qcna5dk.js → mime-f0ay53g6.js} +3 -3
  155. package/dist/chunks/{image-86g1pe6q.js → mime-f1md2d8q.js} +17 -17
  156. package/dist/chunks/{image-qz9nzpv7.js → mime-fddcjhj2.js} +24 -24
  157. package/dist/chunks/{image-fffv3p7h.js → mime-fffv3p7h.js} +1 -1
  158. package/dist/chunks/{image-ahzw090p.js → mime-fg9n74ny.js} +17 -17
  159. package/dist/chunks/{image-fg9p65nk.js → mime-fg9p65nk.js} +2 -2
  160. package/dist/chunks/{image-vpfyxq3b.js → mime-fym7nwga.js} +24 -24
  161. package/dist/chunks/{image-eahpwh8e.js → mime-gd8sx287.js} +4 -4
  162. package/dist/chunks/{image-s9r9y5yp.js → mime-ghzabfw7.js} +15 -15
  163. package/dist/chunks/{image-hcc6p5a3.js → mime-gqwtxsn1.js} +5 -5
  164. package/dist/chunks/{image-x5jjnb31.js → mime-gw7tqdxz.js} +5 -5
  165. package/dist/chunks/{image-9grvd76r.js → mime-gy1k9bkm.js} +8 -8
  166. package/dist/chunks/{image-2xwjc3g5.js → mime-h2atfgt1.js} +8 -8
  167. package/dist/chunks/{image-f9vfey2v.js → mime-h3pj7a7m.js} +16 -16
  168. package/dist/chunks/{image-hxh3sdms.js → mime-h5060pr3.js} +11 -11
  169. package/dist/chunks/{image-8g8ajnhh.js → mime-h6sym59v.js} +9 -9
  170. package/dist/chunks/{image-bdsr3j33.js → mime-hbe771na.js} +17 -17
  171. package/dist/chunks/{image-zp19ebaj.js → mime-hbqfs0kq.js} +15 -15
  172. package/dist/chunks/{image-sm9ekc7r.js → mime-hcaakz9a.js} +9 -9
  173. package/dist/chunks/{image-hh7kjqtw.js → mime-hh7kjqtw.js} +1 -1
  174. package/dist/chunks/{image-njw1ekhc.js → mime-hj8ktf3x.js} +8 -8
  175. package/dist/chunks/{image-5sb780hn.js → mime-hk82q6eb.js} +12 -12
  176. package/dist/chunks/{image-zeytg9j8.js → mime-hkv8mm0v.js} +14 -14
  177. package/dist/chunks/{image-hpg1pkwy.js → mime-hpg1pkwy.js} +1 -1
  178. package/dist/chunks/{image-g6car740.js → mime-hw311zkt.js} +41 -41
  179. package/dist/chunks/{image-wwv5we4j.js → mime-hz5a1k95.js} +2 -2
  180. package/dist/chunks/{image-6m42rt11.js → mime-j8c8vpy0.js} +27 -27
  181. package/dist/chunks/{image-jfaecv01.js → mime-jfaecv01.js} +1 -1
  182. package/dist/chunks/{image-heqea18d.js → mime-jgmjv1sa.js} +27 -27
  183. package/dist/chunks/{image-k0e45ge6.js → mime-jjmhfyts.js} +11 -11
  184. package/dist/chunks/{image-kqjfhnyk.js → mime-jjv1q8d4.js} +12 -12
  185. package/dist/chunks/{image-jtnps1zs.js → mime-jtnps1zs.js} +2 -2
  186. package/dist/chunks/{image-qp7zbdnj.js → mime-jw5zbn3z.js} +40 -40
  187. package/dist/chunks/{image-1z3wvqve.js → mime-k4s79gcj.js} +9 -9
  188. package/dist/chunks/{image-k814nvkf.js → mime-k814nvkf.js} +1 -1
  189. package/dist/chunks/{image-j0y2j2y9.js → mime-k989ntyt.js} +12 -12
  190. package/dist/chunks/{image-zge8sn7n.js → mime-k9xb07cm.js} +2 -2
  191. package/dist/chunks/{image-zr9mjdac.js → mime-kdd90951.js} +71 -42
  192. package/dist/chunks/{image-rj53dkn5.js → mime-kehv92bx.js} +41 -41
  193. package/dist/chunks/{image-7f054j3n.js → mime-kewx5hse.js} +7 -7
  194. package/dist/chunks/{image-4tkxmvmj.js → mime-kk2a6haj.js} +8 -8
  195. package/dist/chunks/{image-51y3dyvd.js → mime-kpj4bnmp.js} +5 -5
  196. package/dist/chunks/{image-j36nge33.js → mime-kprjpmw6.js} +40 -28
  197. package/dist/chunks/{image-4mkdw68v.js → mime-ksxm71aw.js} +6 -6
  198. package/dist/chunks/{image-kt3bjfbg.js → mime-kt3bjfbg.js} +1 -1
  199. package/dist/chunks/{image-3y081v33.js → mime-kt9zkheb.js} +52 -52
  200. package/dist/chunks/{image-qeqspr7f.js → mime-kzcsdwss.js} +3 -3
  201. package/dist/chunks/{image-m1714858.js → mime-m1714858.js} +1 -1
  202. package/dist/chunks/{image-yhrdpjcs.js → mime-m6jwak7z.js} +13 -13
  203. package/dist/chunks/{image-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  204. package/dist/chunks/{image-mb7mbhnz.js → mime-mb7mbhnz.js} +3 -3
  205. package/dist/chunks/{image-fe7b6z6g.js → mime-mf0cbe1f.js} +17 -17
  206. package/dist/chunks/{image-mg356nz4.js → mime-mg356nz4.js} +3 -3
  207. package/dist/chunks/{image-7bcfrs2x.js → mime-mgvjndd7.js} +6 -6
  208. package/dist/chunks/{image-xxbr9jsf.js → mime-mpc1wbnc.js} +24 -24
  209. package/dist/chunks/{image-awtxj99r.js → mime-mpqhh0ff.js} +22 -22
  210. package/dist/chunks/{image-y6jzwgk6.js → mime-msj7tqt3.js} +8 -8
  211. package/dist/chunks/{image-z4vm3w9s.js → mime-mz88wxq7.js} +15 -15
  212. package/dist/chunks/{image-nah043kf.js → mime-nah043kf.js} +1 -1
  213. package/dist/chunks/{image-4x8zw6t1.js → mime-nf5vm8zn.js} +6 -6
  214. package/dist/chunks/{image-gacpt71r.js → mime-nj6nnwwx.js} +30 -30
  215. package/dist/chunks/{image-wec13qf8.js → mime-njqr3cdm.js} +11 -11
  216. package/dist/chunks/{image-89embc53.js → mime-nym9wyb3.js} +6 -6
  217. package/dist/chunks/{image-p015t6z3.js → mime-p015t6z3.js} +2 -2
  218. package/dist/chunks/{image-q5gscbn2.js → mime-p36gpr4j.js} +5 -5
  219. package/dist/chunks/{image-1yq9hg58.js → mime-p7vhpwh8.js} +5 -5
  220. package/dist/chunks/{image-b0nx2azr.js → mime-p87480bx.js} +6 -6
  221. package/dist/chunks/{image-h3pnxjmh.js → mime-pcc4d2n5.js} +9 -9
  222. package/dist/chunks/{image-pknna89w.js → mime-pknna89w.js} +1 -1
  223. package/dist/chunks/{image-67xt1syw.js → mime-q5654s0t.js} +21 -21
  224. package/dist/chunks/{image-7x8d5pk9.js → mime-q5fg6nv3.js} +65 -45
  225. package/dist/chunks/{image-c2az2pbz.js → mime-q8jvga0v.js} +23 -23
  226. package/dist/chunks/{image-3ajqprdg.js → mime-qatgy48x.js} +32 -32
  227. package/dist/chunks/{image-mj7659ab.js → mime-qevqwm2d.js} +26 -26
  228. package/dist/chunks/{image-3gst0kgm.js → mime-qkevpenz.js} +12 -12
  229. package/dist/chunks/{image-m409210a.js → mime-qnt4yn7k.js} +5 -5
  230. package/dist/chunks/{image-qp7r0hxv.js → mime-qp7r0hxv.js} +1 -1
  231. package/dist/chunks/{image-qqvy8y24.js → mime-qqvy8y24.js} +1 -1
  232. package/dist/chunks/{image-25f6p34y.js → mime-qsawh7eg.js} +27 -27
  233. package/dist/chunks/{image-pd4ndcwr.js → mime-qx2f3s6n.js} +16 -16
  234. package/dist/chunks/{image-89ycw09x.js → mime-r1b7wght.js} +23 -23
  235. package/dist/chunks/{image-r542h3bh.js → mime-r542h3bh.js} +1 -1
  236. package/dist/chunks/{image-rb9dy4dg.js → mime-rb9dy4dg.js} +1 -1
  237. package/dist/chunks/{image-rt5dr6hb.js → mime-rt5dr6hb.js} +1 -1
  238. package/dist/chunks/{image-wpv0pemx.js → mime-s4fkafj4.js} +2 -2
  239. package/dist/chunks/{image-sa3fpqfw.js → mime-sa3fpqfw.js} +2 -2
  240. package/dist/chunks/{image-bhdy8mdp.js → mime-sdvfaqjv.js} +26 -26
  241. package/dist/chunks/mime-sefdxvs5.js +113 -0
  242. package/dist/chunks/{image-qcsh9g2y.js → mime-sg2p3jg1.js} +9 -9
  243. package/dist/chunks/{image-xpryaxy7.js → mime-sj7qk1wq.js} +17 -17
  244. package/dist/chunks/{image-9b00c1fb.js → mime-sqbb0ctm.js} +5 -5
  245. package/dist/chunks/{image-sqjzf8x2.js → mime-sqjzf8x2.js} +1 -1
  246. package/dist/chunks/{image-c9t2ty9q.js → mime-ssfehs1z.js} +4 -4
  247. package/dist/chunks/{image-qgfkghh1.js → mime-stkk57rt.js} +4 -0
  248. package/dist/chunks/{image-svcy3p9a.js → mime-svcy3p9a.js} +1 -1
  249. package/dist/chunks/mime-t03h4f5z.js +16 -0
  250. package/dist/chunks/{image-59few21w.js → mime-t6t8h010.js} +36 -36
  251. package/dist/chunks/{image-tczq8hjw.js → mime-tczq8hjw.js} +1 -1
  252. package/dist/chunks/{image-3jrww01t.js → mime-tdjh7w66.js} +45 -45
  253. package/dist/chunks/{image-q4jmz9te.js → mime-tr6n2pd7.js} +22 -22
  254. package/dist/chunks/{image-de8e9e1p.js → mime-tspwpfmw.js} +3 -3
  255. package/dist/chunks/{image-6r8yaq0c.js → mime-tt26s4vq.js} +8 -8
  256. package/dist/chunks/{image-twssxy5n.js → mime-twssxy5n.js} +2 -2
  257. package/dist/chunks/{image-v2r1d0zg.js → mime-v2r1d0zg.js} +1 -1
  258. package/dist/chunks/{image-j1k7c27p.js → mime-v4g74xq2.js} +16 -16
  259. package/dist/chunks/{image-9f3sjfep.js → mime-v7a0snhq.js} +9 -9
  260. package/dist/chunks/{image-c44160y8.js → mime-vf16q2b1.js} +6 -6
  261. package/dist/chunks/{image-5v3yzjvk.js → mime-vh5h3cx2.js} +35 -35
  262. package/dist/chunks/{image-g7esga4v.js → mime-vmfhgzt5.js} +5 -5
  263. package/dist/chunks/{image-jcqm84fr.js → mime-vrcsa8qx.js} +9 -9
  264. package/dist/chunks/{image-26x8chrq.js → mime-vzppetdn.js} +6 -6
  265. package/dist/chunks/{image-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  266. package/dist/chunks/{image-816kk8rv.js → mime-w4ykgd89.js} +13 -7
  267. package/dist/chunks/{image-6khf956j.js → mime-w81tm3vv.js} +17 -17
  268. package/dist/chunks/{image-wakvkjy4.js → mime-wakvkjy4.js} +1 -1
  269. package/dist/chunks/{image-wd87259q.js → mime-wd87259q.js} +1 -1
  270. package/dist/chunks/{image-fypmhnps.js → mime-wegkxhrn.js} +6 -2
  271. package/dist/chunks/{image-wnhgecwx.js → mime-wnhgecwx.js} +1 -1
  272. package/dist/chunks/{image-q4zyxfy7.js → mime-wwgpyqzb.js} +5 -5
  273. package/dist/chunks/{image-5cdcvw12.js → mime-x2kc3zfh.js} +5 -5
  274. package/dist/chunks/{image-5y4p2mbw.js → mime-x3a4n8aj.js} +14 -14
  275. package/dist/chunks/{image-bn6dytgp.js → mime-x6tax50b.js} +6 -6
  276. package/dist/chunks/{image-4eqwcsj2.js → mime-x7qkck9a.js} +15 -15
  277. package/dist/chunks/{image-n1c40vny.js → mime-xcmevbrr.js} +3 -3
  278. package/dist/chunks/{image-bstexjd6.js → mime-xd9cc171.js} +5 -5
  279. package/dist/chunks/{image-xk2zn0cv.js → mime-xk2zn0cv.js} +1 -1
  280. package/dist/chunks/{image-92zdzejd.js → mime-xmcerbsc.js} +18 -18
  281. package/dist/chunks/{image-k9zkdd2y.js → mime-xp4cjnvy.js} +20 -10
  282. package/dist/chunks/{image-2skrxz14.js → mime-xqpnzpk3.js} +16 -16
  283. package/dist/chunks/{image-47tv8dfp.js → mime-xr2mnjhn.js} +15 -15
  284. package/dist/chunks/{image-ha1g65f2.js → mime-y24rddh5.js} +11 -11
  285. package/dist/chunks/{image-9ztt5qj6.js → mime-y2bdgeyh.js} +3 -3
  286. package/dist/chunks/{image-wxae8jq7.js → mime-y3a4nh1w.js} +19 -19
  287. package/dist/chunks/{image-nz92z2sf.js → mime-ya13x5xa.js} +18 -18
  288. package/dist/chunks/{image-yara3q77.js → mime-yara3q77.js} +2 -2
  289. package/dist/chunks/{image-yb20nhc3.js → mime-yb20nhc3.js} +1 -1
  290. package/dist/chunks/{image-0tdbgf6t.js → mime-ych9pyce.js} +23 -23
  291. package/dist/chunks/{image-t2rnpzgv.js → mime-ykcxy4jb.js} +18 -18
  292. package/dist/chunks/{image-4c3xmdam.js → mime-ys5ht53z.js} +38 -38
  293. package/dist/chunks/{image-3t9dgkdy.js → mime-yvg33581.js} +11 -11
  294. package/dist/chunks/{image-h4p3pyf8.js → mime-z2dgfpsc.js} +6 -6
  295. package/dist/chunks/{image-58d281yc.js → mime-z6b5kr5f.js} +24 -24
  296. package/dist/chunks/mime-z8xs1n5t.js +222 -0
  297. package/dist/chunks/{image-e4v2mgyj.js → mime-zba90nwx.js} +10 -10
  298. package/dist/chunks/{image-qqsnbxa9.js → mime-zcf14pnt.js} +4 -4
  299. package/dist/chunks/{image-seap89fc.js → mime-zeba2tf9.js} +11 -11
  300. package/dist/chunks/{image-d8pnfqg9.js → mime-zeg6dwe8.js} +28 -28
  301. package/dist/chunks/{image-0hq318p0.js → mime-zfvpppwm.js} +16 -16
  302. package/dist/chunks/{image-n0ekdz40.js → mime-zjqm9jqg.js} +32 -32
  303. package/dist/chunks/{image-dxw797sb.js → mime-ztytxe50.js} +8 -8
  304. package/dist/chunks/{image-tkm3ck5b.js → mime-zw960apb.js} +328 -328
  305. package/dist/codemode/catalog.js +1 -1
  306. package/dist/codemode/instructions.js +9 -9
  307. package/dist/codemode/tool.js +3 -3
  308. package/dist/codemode/web.js +1 -1
  309. package/dist/command.js +91 -90
  310. package/dist/config/discovery.js +94 -93
  311. package/dist/config/integration.js +11 -7
  312. package/dist/config/managed.js +8 -0
  313. package/dist/config/markdown.js +1 -1
  314. package/dist/config/normalize.js +111 -110
  315. package/dist/config/plugin/agent.js +129 -124
  316. package/dist/config/plugin/command.js +226 -222
  317. package/dist/config/plugin/compaction.js +169 -165
  318. package/dist/config/plugin/compatibility.js +149 -145
  319. package/dist/config/plugin/entry-observer.js +1 -1
  320. package/dist/config/plugin/formatter.js +130 -125
  321. package/dist/config/plugin/image.js +129 -124
  322. package/dist/config/plugin/instruction.js +129 -124
  323. package/dist/config/plugin/location-watcher.js +131 -126
  324. package/dist/config/plugin/mcp.js +134 -129
  325. package/dist/config/plugin/policy.js +129 -126
  326. package/dist/config/plugin/provider.js +129 -125
  327. package/dist/config/plugin/reference.js +131 -126
  328. package/dist/config/plugin/shell.js +129 -124
  329. package/dist/config/plugin/skill-file.js +145 -141
  330. package/dist/config/plugin/skill-scan.js +1 -1
  331. package/dist/config/plugin/skill.js +150 -146
  332. package/dist/config/plugin/snapshot.js +127 -122
  333. package/dist/config/plugin/source.js +132 -127
  334. package/dist/config/plugin/tool-output.js +130 -125
  335. package/dist/config/plugin/websearch.js +128 -123
  336. package/dist/config/plugin/worktree.js +131 -126
  337. package/dist/config/variable.js +1 -1
  338. package/dist/config/watch.js +1 -1
  339. package/dist/config.js +134 -129
  340. package/dist/console-access.js +1 -1
  341. package/dist/credential/sql.js +2 -2
  342. package/dist/credential.js +83 -82
  343. package/dist/database/database.js +76 -75
  344. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  345. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  346. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  347. package/dist/database/drizzle/index.js +13 -13
  348. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  349. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  350. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  351. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  352. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  353. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  354. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  355. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  356. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  357. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  358. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  359. package/dist/database/drizzle.js +14 -14
  360. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  361. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  362. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  363. package/dist/database/migration/20260225215848_workspace.js +1 -1
  364. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  365. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  366. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  367. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  368. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  369. package/dist/database/migration/20260323234822_events.js +1 -1
  370. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  371. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  372. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  373. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  374. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  375. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  376. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  377. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  378. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  379. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  380. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  381. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  382. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  383. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  384. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  385. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  386. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  387. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  388. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  389. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  390. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  391. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  392. package/dist/database/migration/20260611035744_credential.js +1 -1
  393. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  394. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  395. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  396. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  397. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  398. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  399. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  400. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  401. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  402. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  403. package/dist/database/migration/20260812213948_worktree.js +1 -1
  404. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  405. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  406. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  407. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  408. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  409. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  410. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  411. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  412. package/dist/database/migration/20261025123711_blob.js +1 -1
  413. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  414. package/dist/database/migration/20261026223005_schedule.js +1 -1
  415. package/dist/database/migration/20261029002625_session_part.js +1 -1
  416. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  417. package/dist/database/migration/20261029165540_schedule_checks.js +6 -0
  418. package/dist/database/migration.gen.js +59 -58
  419. package/dist/database/migration.js +61 -60
  420. package/dist/database/path.js +2 -2
  421. package/dist/database/schema.gen.js +1 -1
  422. package/dist/database/schema.sql.js +1 -1
  423. package/dist/database/sqlite.bun.js +1 -1
  424. package/dist/database/sqlite.js +1 -1
  425. package/dist/database/sqlite.node.js +1 -1
  426. package/dist/database/sqlite.workerd.js +1 -1
  427. package/dist/database/v1-migration.bun.js +99 -98
  428. package/dist/database/v1-migration.js +1 -1
  429. package/dist/effect/app-node-builder.js +391 -388
  430. package/dist/effect/app-node-platform.js +2 -2
  431. package/dist/effect/keyed-mutex.js +1 -1
  432. package/dist/effect/websocket-constructor.js +1 -1
  433. package/dist/environment/driver.js +1 -1
  434. package/dist/environment/environment.js +105 -104
  435. package/dist/environment/exec-defaults.js +2 -2
  436. package/dist/environment/files.js +1 -1
  437. package/dist/environment/index.js +107 -106
  438. package/dist/environment/local.js +2 -2
  439. package/dist/environment/memory.js +2 -2
  440. package/dist/environment/unavailable.js +3 -3
  441. package/dist/event/sql.js +1 -1
  442. package/dist/event-logger.js +80 -79
  443. package/dist/file-access.js +155 -151
  444. package/dist/file-mutation.js +106 -105
  445. package/dist/file-retention.js +1 -1
  446. package/dist/filesystem/fff.bun.js +2 -2
  447. package/dist/filesystem/fff.js +1 -1
  448. package/dist/filesystem/fff.node.js +2 -2
  449. package/dist/filesystem/fff.workerd.js +2 -2
  450. package/dist/filesystem/file-watch.js +87 -86
  451. package/dist/filesystem/location-watcher-policy.js +6 -6
  452. package/dist/filesystem/location-watcher.js +241 -237
  453. package/dist/filesystem/protected.js +1 -1
  454. package/dist/filesystem/search.js +111 -110
  455. package/dist/filesystem/watcher-binding.js +1 -1
  456. package/dist/filesystem/watcher.js +11 -11
  457. package/dist/filesystem.js +116 -115
  458. package/dist/form.js +80 -79
  459. package/dist/formatter/builtins.js +4 -4
  460. package/dist/formatter.js +99 -98
  461. package/dist/generate.js +119 -118
  462. package/dist/git.js +11 -11
  463. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  464. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  465. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  466. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  467. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  468. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  469. package/dist/github-copilot/copilot-provider.js +17 -17
  470. package/dist/github-copilot/models.js +111 -110
  471. package/dist/github-copilot/openai-compatible-error.js +1 -1
  472. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  473. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  474. package/dist/github-copilot/responses/openai-error.js +1 -1
  475. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  476. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  477. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  478. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  479. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  480. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  481. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  482. package/dist/image/notice.js +1 -1
  483. package/dist/image/photon-normalize.js +1 -1
  484. package/dist/image/photon-worker.js +1 -1
  485. package/dist/image/photon.js +4 -4
  486. package/dist/image.js +6 -6
  487. package/dist/instance/service.js +5 -5
  488. package/dist/instance.js +382 -379
  489. package/dist/instruction-discovery.js +92 -91
  490. package/dist/instructions/builtins.js +99 -98
  491. package/dist/instructions/index.js +3 -3
  492. package/dist/integration/connection.js +1 -1
  493. package/dist/integration.js +87 -86
  494. package/dist/job.js +88 -87
  495. package/dist/kv/sql.js +2 -2
  496. package/dist/kv.js +83 -82
  497. package/dist/location-activity.js +170 -166
  498. package/dist/location-lifecycle.js +149 -145
  499. package/dist/location-service-map.js +98 -97
  500. package/dist/location-services.js +379 -376
  501. package/dist/location.js +97 -96
  502. package/dist/managed-policy.js +11 -3
  503. package/dist/mcp/client.js +103 -102
  504. package/dist/mcp/index.js +115 -114
  505. package/dist/mcp/instructions.js +175 -171
  506. package/dist/mcp/oauth.js +85 -84
  507. package/dist/mcp/socket-client.js +1 -1
  508. package/dist/mcp/stdio.js +102 -101
  509. package/dist/mime.js +1 -1
  510. package/dist/modal/models.js +111 -110
  511. package/dist/model-resolver.js +111 -110
  512. package/dist/model-retry.js +1 -1
  513. package/dist/model.js +112 -111
  514. package/dist/models-dev/v1.js +1 -1
  515. package/dist/models-dev.js +112 -111
  516. package/dist/oauth/page.js +1 -1
  517. package/dist/permission/saved.js +90 -89
  518. package/dist/permission/sql.js +5 -5
  519. package/dist/permission.js +152 -146
  520. package/dist/persistent-pty/binary.bun.js +1 -1
  521. package/dist/persistent-pty/daemon.js +1 -1
  522. package/dist/persistent-pty/index.js +100 -97
  523. package/dist/persistent-pty/pty-binding.js +1 -1
  524. package/dist/persistent-pty.js +85 -84
  525. package/dist/plugin/agent.js +84 -83
  526. package/dist/plugin/command.js +112 -111
  527. package/dist/plugin/goal.js +3 -3
  528. package/dist/plugin/hooks.js +5 -5
  529. package/dist/plugin/host.js +234 -230
  530. package/dist/plugin/identity.js +5 -5
  531. package/dist/plugin/instance.js +5 -5
  532. package/dist/plugin/internal.js +358 -349
  533. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  534. package/dist/plugin/models-dev.js +109 -108
  535. package/dist/plugin/module.js +128 -126
  536. package/dist/plugin/optimize.js +2 -2
  537. package/dist/plugin/plan.js +145 -141
  538. package/dist/plugin/promise.js +1 -1
  539. package/dist/plugin/provider/amazon-bedrock.js +103 -102
  540. package/dist/plugin/provider/azure.js +129 -124
  541. package/dist/plugin/provider/cerebras.js +1 -1
  542. package/dist/plugin/provider/chatgpt.js +129 -124
  543. package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -122
  544. package/dist/plugin/provider/cloudflare-workers-ai.js +127 -122
  545. package/dist/plugin/provider/configured.js +125 -120
  546. package/dist/plugin/provider/credential-settings.js +84 -83
  547. package/dist/plugin/provider/databricks.js +1 -1
  548. package/dist/plugin/provider/digitalocean.js +105 -104
  549. package/dist/plugin/provider/dynamic.js +2 -2
  550. package/dist/plugin/provider/github-copilot.js +107 -106
  551. package/dist/plugin/provider/gitlab.js +106 -105
  552. package/dist/plugin/provider/google-vertex.js +126 -121
  553. package/dist/plugin/provider/kilo.js +1 -1
  554. package/dist/plugin/provider/llmgateway.js +88 -87
  555. package/dist/plugin/provider/lmstudio.js +138 -133
  556. package/dist/plugin/provider/local.js +135 -130
  557. package/dist/plugin/provider/modal.js +104 -103
  558. package/dist/plugin/provider/neon.js +1 -1
  559. package/dist/plugin/provider/nvidia.js +1 -1
  560. package/dist/plugin/provider/ollama.js +138 -133
  561. package/dist/plugin/provider/openai-context-caps.js +102 -101
  562. package/dist/plugin/provider/openai.js +129 -124
  563. package/dist/plugin/provider/opencode.js +131 -127
  564. package/dist/plugin/provider/openrouter.js +103 -102
  565. package/dist/plugin/provider/poe.js +89 -88
  566. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  567. package/dist/plugin/provider/sap-ai-core.js +103 -102
  568. package/dist/plugin/provider/sdk-factory.js +1 -1
  569. package/dist/plugin/provider/snowflake-cortex.js +128 -123
  570. package/dist/plugin/provider/vllm.js +138 -133
  571. package/dist/plugin/provider/xai.js +103 -102
  572. package/dist/plugin/provider/zenmux.js +1 -1
  573. package/dist/plugin/provider.js +179 -175
  574. package/dist/plugin/sdk.js +86 -85
  575. package/dist/plugin/service.js +1 -1
  576. package/dist/plugin/skill.js +146 -142
  577. package/dist/plugin/source-directory.js +1 -1
  578. package/dist/plugin/supervisor.js +370 -367
  579. package/dist/plugin/tool-input-repair.js +4 -4
  580. package/dist/plugin/update.js +6 -6
  581. package/dist/plugin/vcs/git.js +98 -97
  582. package/dist/plugin/vcs/hg.js +98 -97
  583. package/dist/plugin/verbosity.js +105 -104
  584. package/dist/plugin/warming.js +127 -122
  585. package/dist/plugin/websearch/exa.js +7 -7
  586. package/dist/plugin/websearch/firecrawl.js +8 -8
  587. package/dist/plugin/websearch/index.js +9 -9
  588. package/dist/plugin/websearch/mcp.js +2 -2
  589. package/dist/plugin/websearch/parallel.js +6 -6
  590. package/dist/plugin/websearch/tavily.js +4 -4
  591. package/dist/plugin/websearch/tinyfish.js +8 -8
  592. package/dist/plugin.js +237 -233
  593. package/dist/project/icon.js +5 -5
  594. package/dist/project/schema.js +4 -4
  595. package/dist/project/sql.js +4 -4
  596. package/dist/project.js +96 -95
  597. package/dist/provider.js +109 -108
  598. package/dist/pty/protocol.js +1 -1
  599. package/dist/pty/ticket.js +1 -1
  600. package/dist/pty.js +102 -101
  601. package/dist/reference/instructions.js +100 -99
  602. package/dist/reference.js +100 -99
  603. package/dist/repository-cache.js +92 -91
  604. package/dist/repository.js +3 -3
  605. package/dist/ripgrep/binary.js +2 -2
  606. package/dist/ripgrep.js +109 -108
  607. package/dist/rpc.js +98 -97
  608. package/dist/schedule/check.js +251 -0
  609. package/dist/schedule/sql.js +6 -6
  610. package/dist/schedule.js +251 -227
  611. package/dist/schema.js +1 -1
  612. package/dist/session/affinity.js +3 -3
  613. package/dist/session/background.js +1 -1
  614. package/dist/session/blob.js +130 -125
  615. package/dist/session/command.js +84 -83
  616. package/dist/session/compaction.js +171 -167
  617. package/dist/session/context.js +195 -191
  618. package/dist/session/diff.js +100 -99
  619. package/dist/session/environment.js +5 -5
  620. package/dist/session/error.js +5 -5
  621. package/dist/session/event.js +1 -1
  622. package/dist/session/execution/restart.js +236 -232
  623. package/dist/session/execution.js +159 -155
  624. package/dist/session/generate.js +197 -193
  625. package/dist/session/history.js +135 -130
  626. package/dist/session/inbox.js +146 -141
  627. package/dist/session/info.js +3 -3
  628. package/dist/session/instruction-entry.js +89 -88
  629. package/dist/session/instruction-state.js +8 -8
  630. package/dist/session/instructions.js +140 -135
  631. package/dist/session/message-updater.js +2 -2
  632. package/dist/session/message.js +1 -1
  633. package/dist/session/model-request.js +162 -158
  634. package/dist/session/model-transport.js +9 -9
  635. package/dist/session/move.js +163 -159
  636. package/dist/session/projector.js +142 -137
  637. package/dist/session/prompt.js +147 -143
  638. package/dist/session/recent-text.js +1 -1
  639. package/dist/session/revert.js +138 -133
  640. package/dist/session/run-coordinator.js +3 -3
  641. package/dist/session/runner/index.js +3 -3
  642. package/dist/session/runner/llm.js +246 -242
  643. package/dist/session/runner/max-steps.js +1 -1
  644. package/dist/session/runner/model.js +112 -111
  645. package/dist/session/runner/publish-llm-event.js +148 -144
  646. package/dist/session/runner/retry.js +5 -5
  647. package/dist/session/runner/step.js +161 -157
  648. package/dist/session/runner/to-llm-message.js +136 -131
  649. package/dist/session/schema.js +5 -5
  650. package/dist/session/session.js +179 -175
  651. package/dist/session/shell.js +143 -138
  652. package/dist/session/skill.js +148 -144
  653. package/dist/session/sql.js +5 -5
  654. package/dist/session/stats.js +83 -82
  655. package/dist/session/store.js +141 -136
  656. package/dist/session/stored.js +2 -2
  657. package/dist/session/subagent-completion.js +1 -1
  658. package/dist/session/subagent-job.js +226 -222
  659. package/dist/session/system-prompt.js +3 -3
  660. package/dist/session/title.js +199 -195
  661. package/dist/session/to-session-error.js +147 -143
  662. package/dist/session/transfer.js +233 -229
  663. package/dist/session/usage.js +1 -1
  664. package/dist/session.js +232 -228
  665. package/dist/shell/parse.js +6 -6
  666. package/dist/shell/result.js +1 -1
  667. package/dist/shell/scan.js +1 -1
  668. package/dist/shell/select.js +13 -13
  669. package/dist/shell.js +143 -138
  670. package/dist/skill/discovery.js +6 -6
  671. package/dist/skill/instructions.js +148 -144
  672. package/dist/skill.js +153 -149
  673. package/dist/snapshot.js +101 -100
  674. package/dist/state.js +1 -1
  675. package/dist/tool/html-markdown.js +1 -1
  676. package/dist/tool/http-body.js +1 -1
  677. package/dist/tool/mcp.js +172 -168
  678. package/dist/tool/plugin/edit.js +163 -159
  679. package/dist/tool/plugin/file-diff.js +1 -1
  680. package/dist/tool/plugin/glob.js +161 -157
  681. package/dist/tool/plugin/grep.js +167 -163
  682. package/dist/tool/plugin/image-generate.js +234 -230
  683. package/dist/tool/plugin/mcp-resource.js +159 -155
  684. package/dist/tool/plugin/opencode.js +160 -156
  685. package/dist/tool/plugin/patch.js +165 -161
  686. package/dist/tool/plugin/question.js +145 -141
  687. package/dist/tool/plugin/read.js +168 -164
  688. package/dist/tool/plugin/schedule.js +242 -222
  689. package/dist/tool/plugin/shell.js +229 -225
  690. package/dist/tool/plugin/skill.js +154 -150
  691. package/dist/tool/plugin/subagent.js +233 -229
  692. package/dist/tool/plugin/todo.js +150 -146
  693. package/dist/tool/plugin/webfetch.js +154 -150
  694. package/dist/tool/plugin/websearch.js +152 -148
  695. package/dist/tool/plugin/write.js +165 -161
  696. package/dist/tool/read-filesystem.js +112 -111
  697. package/dist/tool/runtime.js +1 -1
  698. package/dist/tool-output.js +5 -5
  699. package/dist/tool.js +16 -16
  700. package/dist/types/config/integration.d.ts +29 -7
  701. package/dist/types/config/managed.d.ts +10 -0
  702. package/dist/types/config/plugin/policy.d.ts +4 -1
  703. package/dist/types/database/migration/20261029165540_schedule_checks.d.ts +3 -0
  704. package/dist/types/managed-policy.d.ts +16 -2
  705. package/dist/types/permission.d.ts +10 -0
  706. package/dist/types/persistent-pty/index.d.ts +7 -1
  707. package/dist/types/schedule/check.d.ts +46 -0
  708. package/dist/types/schedule/sql.d.ts +75 -1
  709. package/dist/types/schedule.d.ts +4 -147
  710. package/dist/types/tool/plugin/schedule.d.ts +28 -1
  711. package/dist/types/websearch.d.ts +2 -0
  712. package/dist/usage-limits.js +99 -98
  713. package/dist/util/error-summary.js +1 -1
  714. package/dist/util/git-executable.js +3 -3
  715. package/dist/util/lazy.js +1 -1
  716. package/dist/util/slug.js +1 -1
  717. package/dist/util/token.js +1 -1
  718. package/dist/util/which.js +1 -1
  719. package/dist/util/wildcard.js +3 -3
  720. package/dist/v1/config/agent.js +5 -5
  721. package/dist/v1/config/command.js +1 -1
  722. package/dist/v1/config/mcp.js +6 -6
  723. package/dist/v1/config/migrate.js +104 -103
  724. package/dist/v1/config/permission.js +3 -3
  725. package/dist/v1/config/plugin.js +3 -3
  726. package/dist/v1/config/provider-options.js +1 -1
  727. package/dist/v1/config/provider.js +4 -4
  728. package/dist/variant.js +103 -102
  729. package/dist/vcs/patch.js +1 -1
  730. package/dist/vcs.js +99 -98
  731. package/dist/voice.js +94 -93
  732. package/dist/websearch.js +94 -93
  733. package/dist/wellknown/plugin.js +86 -85
  734. package/dist/wellknown.js +89 -88
  735. package/dist/workspace/driver.js +5 -5
  736. package/dist/workspace/sql.js +1 -1
  737. package/dist/workspace.js +92 -91
  738. package/dist/worktree/directory.js +2 -2
  739. package/dist/worktree/git.js +11 -11
  740. package/dist/worktree/sql.js +5 -5
  741. package/dist/worktree/strategies.js +101 -100
  742. package/dist/worktree.js +108 -107
  743. package/package.json +9 -9
  744. package/dist/chunks/image-4tpjns74.js +0 -76
  745. package/dist/chunks/image-n4r6va5a.js +0 -257
  746. package/dist/chunks/image-ymz7p2c9.js +0 -31
  747. package/dist/chunks/image-zx247qgx.js +0 -26
  748. /package/dist/chunks/{image-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  749. /package/dist/chunks/{image-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  750. /package/dist/chunks/{image-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  751. /package/dist/chunks/{image-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  752. /package/dist/chunks/{image-1kah00gy.js → mime-1kah00gy.js} +0 -0
  753. /package/dist/chunks/{image-24dcb14g.js → mime-24dcb14g.js} +0 -0
  754. /package/dist/chunks/{image-2710q6r3.js → mime-2710q6r3.js} +0 -0
  755. /package/dist/chunks/{image-2bv980vf.js → mime-2bv980vf.js} +0 -0
  756. /package/dist/chunks/{image-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  757. /package/dist/chunks/{image-359p4xyc.js → mime-359p4xyc.js} +0 -0
  758. /package/dist/chunks/{image-3asan66x.js → mime-3asan66x.js} +0 -0
  759. /package/dist/chunks/{image-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  760. /package/dist/chunks/{image-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  761. /package/dist/chunks/{image-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  762. /package/dist/chunks/{image-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  763. /package/dist/chunks/{image-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  764. /package/dist/chunks/{image-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  765. /package/dist/chunks/{image-53557ph1.js → mime-53557ph1.js} +0 -0
  766. /package/dist/chunks/{image-550bvhaj.js → mime-550bvhaj.js} +0 -0
  767. /package/dist/chunks/{image-5w3e23ze.js → mime-5w3e23ze.js} +0 -0
  768. /package/dist/chunks/{image-6prwharc.js → mime-6prwharc.js} +0 -0
  769. /package/dist/chunks/{image-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
  770. /package/dist/chunks/{image-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  771. /package/dist/chunks/{image-7m9af43g.js → mime-7m9af43g.js} +0 -0
  772. /package/dist/chunks/{image-7stb81gk.js → mime-7stb81gk.js} +0 -0
  773. /package/dist/chunks/{image-822emrt2.js → mime-822emrt2.js} +0 -0
  774. /package/dist/chunks/{image-84wd9syh.js → mime-84wd9syh.js} +0 -0
  775. /package/dist/chunks/{image-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  776. /package/dist/chunks/{image-8n3pysct.js → mime-8n3pysct.js} +0 -0
  777. /package/dist/chunks/{image-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
  778. /package/dist/chunks/{image-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  779. /package/dist/chunks/{image-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  780. /package/dist/chunks/{image-a058387c.js → mime-a058387c.js} +0 -0
  781. /package/dist/chunks/{image-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  782. /package/dist/chunks/{image-af5trqkr.js → mime-af5trqkr.js} +0 -0
  783. /package/dist/chunks/{image-afrmfg78.js → mime-afrmfg78.js} +0 -0
  784. /package/dist/chunks/{image-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  785. /package/dist/chunks/{image-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  786. /package/dist/chunks/{image-beh6qq61.js → mime-beh6qq61.js} +0 -0
  787. /package/dist/chunks/{image-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  788. /package/dist/chunks/{image-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  789. /package/dist/chunks/{image-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  790. /package/dist/chunks/{image-cqv5kn06.js → mime-cqv5kn06.js} +0 -0
  791. /package/dist/chunks/{image-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  792. /package/dist/chunks/{image-d9fn303g.js → mime-d9fn303g.js} +0 -0
  793. /package/dist/chunks/{image-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  794. /package/dist/chunks/{image-dap0rakb.js → mime-dap0rakb.js} +0 -0
  795. /package/dist/chunks/{image-df08tz66.js → mime-df08tz66.js} +0 -0
  796. /package/dist/chunks/{image-dy18nga0.js → mime-dy18nga0.js} +0 -0
  797. /package/dist/chunks/{image-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  798. /package/dist/chunks/{image-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  799. /package/dist/chunks/{image-ec1grn59.js → mime-ec1grn59.js} +0 -0
  800. /package/dist/chunks/{image-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  801. /package/dist/chunks/{image-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  802. /package/dist/chunks/{image-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  803. /package/dist/chunks/{image-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  804. /package/dist/chunks/{image-faypxj3z.js → mime-faypxj3z.js} +0 -0
  805. /package/dist/chunks/{image-fd410y7t.js → mime-fd410y7t.js} +0 -0
  806. /package/dist/chunks/{image-fkpq3x5p.js → mime-fkpq3x5p.js} +0 -0
  807. /package/dist/chunks/{image-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  808. /package/dist/chunks/{image-g86h250q.js → mime-g86h250q.js} +0 -0
  809. /package/dist/chunks/{image-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  810. /package/dist/chunks/{image-gftt206x.js → mime-gftt206x.js} +0 -0
  811. /package/dist/chunks/{image-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
  812. /package/dist/chunks/{image-hk9envan.js → mime-hk9envan.js} +0 -0
  813. /package/dist/chunks/{image-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  814. /package/dist/chunks/{image-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  815. /package/dist/chunks/{image-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
  816. /package/dist/chunks/{image-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  817. /package/dist/chunks/{image-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  818. /package/dist/chunks/{image-jwr30sdr.js → mime-jwr30sdr.js} +0 -0
  819. /package/dist/chunks/{image-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
  820. /package/dist/chunks/{image-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  821. /package/dist/chunks/{image-m18g726c.js → mime-m18g726c.js} +0 -0
  822. /package/dist/chunks/{image-mp448xyj.js → mime-mp448xyj.js} +0 -0
  823. /package/dist/chunks/{image-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  824. /package/dist/chunks/{image-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  825. /package/dist/chunks/{image-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  826. /package/dist/chunks/{image-ncqqe42p.js → mime-ncqqe42p.js} +0 -0
  827. /package/dist/chunks/{image-nh4v3znn.js → mime-nh4v3znn.js} +0 -0
  828. /package/dist/chunks/{image-njntx4h6.js → mime-njntx4h6.js} +0 -0
  829. /package/dist/chunks/{image-p71gwv9c.js → mime-p71gwv9c.js} +0 -0
  830. /package/dist/chunks/{image-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  831. /package/dist/chunks/{image-q74kybfr.js → mime-q74kybfr.js} +0 -0
  832. /package/dist/chunks/{image-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  833. /package/dist/chunks/{image-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  834. /package/dist/chunks/{image-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  835. /package/dist/chunks/{image-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
  836. /package/dist/chunks/{image-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  837. /package/dist/chunks/{image-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  838. /package/dist/chunks/{image-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  839. /package/dist/chunks/{image-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  840. /package/dist/chunks/{image-ty7weeps.js → mime-ty7weeps.js} +0 -0
  841. /package/dist/chunks/{image-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
  842. /package/dist/chunks/{image-w803qqfp.js → mime-w803qqfp.js} +0 -0
  843. /package/dist/chunks/{image-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
  844. /package/dist/chunks/{image-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  845. /package/dist/chunks/{image-wtztk69x.js → mime-wtztk69x.js} +0 -0
  846. /package/dist/chunks/{image-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  847. /package/dist/chunks/{image-x61499pn.js → mime-x61499pn.js} +0 -0
  848. /package/dist/chunks/{image-y44na4kk.js → mime-y44na4kk.js} +0 -0
  849. /package/dist/chunks/{image-y8f7s663.js → mime-y8f7s663.js} +0 -0
  850. /package/dist/chunks/{image-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  851. /package/dist/chunks/{image-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
  852. /package/dist/chunks/{image-z9919s4g.js → mime-z9919s4g.js} +0 -0
package/dist/tool.js CHANGED
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  RegistrationError2,
3
- Service39,
4
- node42,
3
+ Service49,
4
+ node53,
5
5
  exports_tool,
6
6
  CallID2,
7
- Content2,
8
- Error3,
7
+ Content3,
8
+ Error4,
9
9
  FileContent3,
10
10
  TextContent2
11
- } from "./chunks/image-25f6p34y.js";
12
- import"./chunks/image-mg356nz4.js";
13
- import"./chunks/image-jfaecv01.js";
14
- import"./chunks/image-7stb81gk.js";
15
- import"./chunks/image-9sqzj7jg.js";
16
- import"./chunks/image-y6jzwgk6.js";
17
- import"./chunks/image-z38nccrw.js";
18
- import"./chunks/image-204s3925.js";
11
+ } from "./chunks/mime-qsawh7eg.js";
12
+ import"./chunks/mime-mg356nz4.js";
13
+ import"./chunks/mime-jfaecv01.js";
14
+ import"./chunks/mime-bgwcavjj.js";
15
+ import"./chunks/mime-7stb81gk.js";
16
+ import"./chunks/mime-msj7tqt3.js";
17
+ import"./chunks/mime-1aqsckx4.js";
18
+ import"./chunks/mime-204s3925.js";
19
19
  export {
20
20
  CallID2 as CallID,
21
- Content2 as Content,
22
- Error3 as Error,
21
+ Content3 as Content,
22
+ Error4 as Error,
23
23
  FileContent3 as FileContent,
24
24
  RegistrationError2 as RegistrationError,
25
- Service39 as Service,
25
+ Service49 as Service,
26
26
  TextContent2 as TextContent,
27
27
  exports_tool as Tool,
28
- node42 as node
28
+ node53 as node
29
29
  };
@@ -1,15 +1,19 @@
1
1
  export * as ConfigIntegration from "./integration.js";
2
2
  import { Schema } from "effect";
3
- import { Config } from "@opencode/schema/config";
3
+ import { Config, type Entry } from "@opencode/schema/config";
4
4
  import { ConfigMCP } from "@opencode/schema/config/mcp";
5
5
  import { ConfigProvider } from "@opencode/schema/config/provider";
6
6
  import { Connection } from "@opencode/schema/connection";
7
7
  import { IntegrationID } from "@opencode/schema/integration-id";
8
- export declare const Policies: Schema.compose<Schema.$Array<Schema.Struct<{
9
- readonly action: Schema.Literals<readonly ["provider.use", "tool.use", "integration.use"]>;
8
+ export declare const Policies: Schema.compose<Schema.$Array<Schema.decodeTo<Schema.toType<Schema.Struct<{
9
+ readonly action: Schema.Literals<readonly ["provider.use", "tool.use", "integration.connect", "integration.use", "mcp.use", "skill.use", "plugin.use"]>;
10
10
  readonly resource: Schema.String;
11
11
  readonly effect: Schema.Literals<readonly ["allow", "deny"]>;
12
- }>>, Schema.decodeTo<Schema.Unknown, Schema.$Array<Schema.Unknown>, never, never>>;
12
+ }>>, Schema.Struct<{
13
+ readonly action: Schema.Literals<readonly ["provider.use", "tool.use", "integration.connect", "integration.use", "mcp.use", "skill.use", "plugin.use"]>;
14
+ readonly resource: Schema.String;
15
+ readonly effect: Schema.Literals<readonly ["allow", "deny"]>;
16
+ }>, never, never>>, Schema.decodeTo<Schema.Unknown, Schema.$Array<Schema.Unknown>, never, never>>;
13
17
  /**
14
18
  * The allow-listed keys of a remote config. Only these keys are read before decoding, so a newer remote source's
15
19
  * other keys, valid or not, can never reject the document.
@@ -17,11 +21,15 @@ export declare const Policies: Schema.compose<Schema.$Array<Schema.Struct<{
17
21
  export declare const Remote: Schema.Struct<{
18
22
  readonly providers: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, typeof ConfigProvider.Info>>>, Schema.optionalKey<Schema.$Record<Schema.String, typeof ConfigProvider.Info>>, never, never>;
19
23
  readonly mcp: Schema.decodeTo<Schema.optional<Schema.toType<typeof ConfigMCP.Info>>, Schema.optionalKey<typeof ConfigMCP.Info>, never, never>;
20
- readonly policies: Schema.optional<Schema.compose<Schema.$Array<Schema.Struct<{
21
- readonly action: Schema.Literals<readonly ["provider.use", "tool.use", "integration.use"]>;
24
+ readonly policies: Schema.optional<Schema.compose<Schema.$Array<Schema.decodeTo<Schema.toType<Schema.Struct<{
25
+ readonly action: Schema.Literals<readonly ["provider.use", "tool.use", "integration.connect", "integration.use", "mcp.use", "skill.use", "plugin.use"]>;
26
+ readonly resource: Schema.String;
27
+ readonly effect: Schema.Literals<readonly ["allow", "deny"]>;
28
+ }>>, Schema.Struct<{
29
+ readonly action: Schema.Literals<readonly ["provider.use", "tool.use", "integration.connect", "integration.use", "mcp.use", "skill.use", "plugin.use"]>;
22
30
  readonly resource: Schema.String;
23
31
  readonly effect: Schema.Literals<readonly ["allow", "deny"]>;
24
- }>>, Schema.decodeTo<Schema.Unknown, Schema.$Array<Schema.Unknown>, never, never>>>;
32
+ }>, never, never>>, Schema.decodeTo<Schema.Unknown, Schema.$Array<Schema.Unknown>, never, never>>>;
25
33
  readonly websearch: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.Literal<false>, typeof import("@opencode/schema/config/websearch").Info]>>>, Schema.optionalKey<Schema.Union<readonly [Schema.Literal<false>, typeof import("@opencode/schema/config/websearch").Info]>>, never, never>;
26
34
  }>;
27
35
  export type Remote = typeof Remote.Type;
@@ -68,6 +76,20 @@ declare const Document_base: Schema.Class<Document, Schema.Struct<{
68
76
  */
69
77
  export declare class Document extends Document_base {
70
78
  }
79
+ declare const WellKnownDocument_base: Schema.Class<WellKnownDocument, Schema.Struct<{
80
+ readonly type: Schema.Literal<"document">;
81
+ readonly path: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "AbsolutePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "AbsolutePath">>, never, never>;
82
+ readonly info: typeof Config.Info;
83
+ integrationID: Schema.brand<Schema.String, "Integration.ID">;
84
+ }>, Config.Document> & Pick<{}, never>;
85
+ /**
86
+ * A config document a well-known origin delivers. `integrationID` is the origin, so `integration.use` decides the
87
+ * providers it defines by the origin rather than by provider ID.
88
+ */
89
+ export declare class WellKnownDocument extends WellKnownDocument_base {
90
+ }
91
+ /** The integration whose delivered document last defines each provider. */
92
+ export declare function suppliers(entries: readonly Entry[]): Map<string, string & import("effect/Brand").Brand<"Integration.ID">>;
71
93
  /**
72
94
  * Builds an integration document from the allow-listed keys of a remote config: providers, remote MCP servers,
73
95
  * policies, and the web search selection. A remote source can never load plugins, run commands, or change any
@@ -0,0 +1,10 @@
1
+ export * as ConfigManaged from "./managed.js";
2
+ import { Config } from "@opencode/schema/config";
3
+ declare const Document_base: import("effect/Schema").Class<Document, import("effect/Schema").Struct<{
4
+ readonly type: import("effect/Schema").Literal<"document">;
5
+ readonly path: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">>, never, never>;
6
+ readonly info: typeof Config.Info;
7
+ }>, Config.Document> & Pick<{}, never>;
8
+ /** A document from managed configuration: the system config directory or MDM managed preferences. */
9
+ export declare class Document extends Document_base {
10
+ }
@@ -1,3 +1,6 @@
1
1
  export * as ConfigPolicyPlugin from "./policy.js";
2
+ import { Bus } from "../../bus.js";
2
3
  import { Config } from "../../config.js";
3
- export declare const Plugin: import("@opencode/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Config.Service>;
4
+ import { Credential } from "../../credential.js";
5
+ import { WebSearch } from "../../websearch.js";
6
+ export declare const Plugin: import("@opencode/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Credential.Service | Config.Service | WebSearch.Service | Bus.Service>;
@@ -0,0 +1,3 @@
1
+ import type { DatabaseMigration } from "../migration.js";
2
+ declare const migration: DatabaseMigration.Migration;
3
+ export default migration;
@@ -1,11 +1,25 @@
1
1
  export * as ManagedPolicy from "./managed-policy.js";
2
2
  import { type Entry } from "@opencode/schema/config";
3
3
  import { ConfigPolicy } from "@opencode/schema/config/policy";
4
+ import type { Credential } from "./credential.js";
4
5
  /** Every policy statement in config, earliest-loaded first so it wins, each with the message a denial shows. */
5
6
  export declare function statements(entries: readonly Entry[]): {
6
- action: "integration.use" | "provider.use" | "tool.use";
7
+ action: "integration.connect" | "integration.use" | "mcp.use" | "plugin.use" | "provider.use" | "skill.use" | "tool.use";
7
8
  resource: string;
8
9
  effect: "allow" | "deny";
9
10
  message: string;
10
11
  }[];
11
- export declare function decision(policies: readonly ConfigPolicy.Info[], action: ConfigPolicy.Info["action"], resource: string): "allow" | "deny";
12
+ /** The statement deciding `action` on `resource`: the last match, since statements are earliest-loaded last. */
13
+ export declare function match<Policy extends ConfigPolicy.Info>(policies: readonly Policy[], action: ConfigPolicy.Action, resource: string): Policy | undefined;
14
+ export declare function decision(policies: readonly ConfigPolicy.Info[], action: ConfigPolicy.Action, resource: string): "allow" | "deny";
15
+ /**
16
+ * The `integration.use` resource for what an integration supplies: `<integration>#<account>` when a connection with
17
+ * a known account backs it, otherwise the bare integration ID (env keys, local config, the signed-out free tier).
18
+ * A bare-ID pattern such as `opencode` therefore matches only connectionless use, never an org account. `#`
19
+ * separates the two because integration IDs can be URLs.
20
+ */
21
+ export declare function integrationResource(integrationID: string, account?: string): string;
22
+ /** The organization, or failing that the account, a stored credential belongs to. */
23
+ export declare function account(value: Credential.Value): string | undefined;
24
+ /** The account behind each integration's active stored credential. */
25
+ export declare function accounts(credentials: readonly Credential.Info[]): Map<string, string | undefined>;
@@ -56,6 +56,15 @@ export interface AskResult {
56
56
  readonly effect: Permission.Effect;
57
57
  }
58
58
  export { Event } from "@opencode/schema/permission";
59
+ /**
60
+ * Rules that settle a request which would otherwise ask, for work nobody is present to answer, such as a schedule's
61
+ * check. A request they do not allow is denied. Configured denies still win, as they are evaluated first.
62
+ */
63
+ export declare const Unattended: Context.Reference<readonly {
64
+ readonly action: string;
65
+ readonly resource: string;
66
+ readonly effect: "allow" | "ask" | "deny";
67
+ }[] | undefined>;
59
68
  declare const DeclinedError_base: Schema.Class<DeclinedError, Schema.TaggedStruct<"Permission.DeclinedError", {}>, import("effect/Cause").YieldableError>;
60
69
  export declare class DeclinedError extends DeclinedError_base {
61
70
  }
@@ -63,6 +72,7 @@ declare const CorrectedError_base: Schema.Class<CorrectedError, Schema.TaggedStr
63
72
  readonly feedback: Schema.String;
64
73
  }>, import("effect/Cause").YieldableError>;
65
74
  export declare class CorrectedError extends CorrectedError_base {
75
+ get message(): string;
66
76
  }
67
77
  declare const BlockedError_base: Schema.Class<BlockedError, Schema.TaggedStruct<"Permission.BlockedError", {
68
78
  readonly rules: Schema.$Array<Schema.Struct<{
@@ -49,6 +49,12 @@ declare const NotFoundError_base: Schema.Class<NotFoundError, Schema.TaggedStruc
49
49
  }>, import("effect/Cause").YieldableError>;
50
50
  export declare class NotFoundError extends NotFoundError_base {
51
51
  }
52
+ declare const InvalidCwdError_base: Schema.Class<InvalidCwdError, Schema.TaggedStruct<"PersistentPty.InvalidCwdError", {
53
+ readonly cwd: Schema.String;
54
+ readonly message: Schema.String;
55
+ }>, import("effect/Cause").YieldableError>;
56
+ export declare class InvalidCwdError extends InvalidCwdError_base {
57
+ }
52
58
  export interface Interface {
53
59
  readonly list: (sessionID?: Session.ID) => Effect.Effect<Info[], UnavailableError>;
54
60
  readonly get: (id: Pty.ID) => Effect.Effect<Info, NotFoundError | UnavailableError>;
@@ -60,7 +66,7 @@ export interface Interface {
60
66
  readonly env: Readonly<Record<string, string>>;
61
67
  readonly cols?: number;
62
68
  readonly rows?: number;
63
- }) => Effect.Effect<Info, UnavailableError>;
69
+ }) => Effect.Effect<Info, InvalidCwdError | UnavailableError>;
64
70
  readonly write: (id: Pty.ID, data: string, attachmentID?: string) => Effect.Effect<void, NotFoundError | UnavailableError>;
65
71
  readonly resize: (id: Pty.ID, cols: number, rows: number, attachmentID?: string) => Effect.Effect<void, NotFoundError | UnavailableError>;
66
72
  readonly control: (id: Pty.ID, attachmentID: string, cols: number, rows: number) => Effect.Effect<void, NotFoundError | UnavailableError>;
@@ -0,0 +1,46 @@
1
+ export * as ScheduleCheck from "./check.js";
2
+ import type { Schedule as ScheduleSchema } from "@opencode/schema/schedule";
3
+ import { Effect, Result, type Schema } from "effect";
4
+ import { Agent } from "../agent.js";
5
+ import { Environment } from "../environment/index.js";
6
+ import { FileAccess } from "../file-access.js";
7
+ import { Location } from "../location.js";
8
+ import { Permission } from "../permission.js";
9
+ import { Plugin } from "../plugin.js";
10
+ import type { SessionSchema } from "../session/schema.js";
11
+ import { ShellSelect } from "../shell/select.js";
12
+ export declare const TIMEOUT_MS = 30000;
13
+ export type Outcome = {
14
+ readonly ok: true;
15
+ readonly wake: boolean;
16
+ readonly state: Schema.Json;
17
+ readonly message?: string;
18
+ } | {
19
+ readonly ok: false;
20
+ readonly error: string;
21
+ };
22
+ /** Validates condition syntax synchronously before asking for permissions or spawning anything. */
23
+ export declare function validate(condition: ScheduleSchema.Condition): Result.Result<void, string>;
24
+ export declare function describe(condition: ScheduleSchema.Condition): string;
25
+ /** Runs in the Session's Location while the user is present; approves required permissions once without saving. */
26
+ export declare const authorize: (session: SessionSchema.Info, name: string | undefined, check: {
27
+ readonly mode: "if" | "until";
28
+ readonly condition: {
29
+ readonly type: "shell";
30
+ readonly run: string;
31
+ readonly is?: string | undefined;
32
+ readonly matches?: string | undefined;
33
+ readonly changes?: boolean | undefined;
34
+ };
35
+ }) => Effect.Effect<void, string | import("../session.js").NotFoundError | Permission.Error, Location.Service | Permission.Service | FileAccess.Service | ShellSelect.Service | Plugin.Service | Agent.Service>;
36
+ /** Runs one check in the Session's Location under narrow unattended permissions and a 30s wall-clock cap. */
37
+ export declare const evaluate: (session: SessionSchema.Info, check: {
38
+ readonly mode: "if" | "until";
39
+ readonly condition: {
40
+ readonly type: "shell";
41
+ readonly run: string;
42
+ readonly is?: string | undefined;
43
+ readonly matches?: string | undefined;
44
+ readonly changes?: boolean | undefined;
45
+ };
46
+ }, prevState: Schema.Json) => Effect.Effect<Outcome, never, Location.Service | Environment.Service | Permission.Service | FileAccess.Service | ShellSelect.Service | Plugin.Service | Agent.Service>;
@@ -1,3 +1,4 @@
1
+ import type { Schema } from "effect";
1
2
  export declare const ScheduleTable: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
2
3
  name: "schedule";
3
4
  schema: undefined;
@@ -101,6 +102,31 @@ export declare const ScheduleTable: import("drizzle-orm/sqlite-core").SQLiteTabl
101
102
  identity: undefined;
102
103
  generated: undefined;
103
104
  }, {}>;
105
+ check: import("drizzle-orm/sqlite-core").SQLiteColumn<{
106
+ name: string;
107
+ tableName: "schedule";
108
+ dataType: "object json";
109
+ data: {
110
+ readonly mode: "if" | "until";
111
+ readonly condition: {
112
+ readonly type: "shell";
113
+ readonly run: string;
114
+ readonly is?: string | undefined;
115
+ readonly matches?: string | undefined;
116
+ readonly changes?: boolean | undefined;
117
+ };
118
+ };
119
+ driverParam: string;
120
+ notNull: false;
121
+ hasDefault: false;
122
+ isPrimaryKey: false;
123
+ isAutoincrement: false;
124
+ hasRuntimeDefault: false;
125
+ enumValues: undefined;
126
+ baseColumn: never;
127
+ identity: undefined;
128
+ generated: undefined;
129
+ }, {}>;
104
130
  when: import("drizzle-orm/sqlite-core").SQLiteColumn<{
105
131
  name: string;
106
132
  tableName: "schedule";
@@ -229,6 +255,38 @@ export declare const ScheduleTable: import("drizzle-orm/sqlite-core").SQLiteTabl
229
255
  identity: undefined;
230
256
  generated: undefined;
231
257
  }, {}>;
258
+ checks: import("drizzle-orm/sqlite-core").SQLiteColumn<{
259
+ name: string;
260
+ tableName: "schedule";
261
+ dataType: "number int53";
262
+ data: number;
263
+ driverParam: number;
264
+ notNull: true;
265
+ hasDefault: true;
266
+ isPrimaryKey: false;
267
+ isAutoincrement: false;
268
+ hasRuntimeDefault: false;
269
+ enumValues: undefined;
270
+ baseColumn: never;
271
+ identity: undefined;
272
+ generated: undefined;
273
+ }, {}>;
274
+ failures: import("drizzle-orm/sqlite-core").SQLiteColumn<{
275
+ name: string;
276
+ tableName: "schedule";
277
+ dataType: "number int53";
278
+ data: number;
279
+ driverParam: number;
280
+ notNull: true;
281
+ hasDefault: true;
282
+ isPrimaryKey: false;
283
+ isAutoincrement: false;
284
+ hasRuntimeDefault: false;
285
+ enumValues: undefined;
286
+ baseColumn: never;
287
+ identity: undefined;
288
+ generated: undefined;
289
+ }, {}>;
232
290
  last_fired_at: import("drizzle-orm/sqlite-core").SQLiteColumn<{
233
291
  name: string;
234
292
  tableName: "schedule";
@@ -265,7 +323,7 @@ export declare const ScheduleTable: import("drizzle-orm/sqlite-core").SQLiteTabl
265
323
  name: string;
266
324
  tableName: "schedule";
267
325
  dataType: "string";
268
- data: "disabled" | "failed" | "fired" | "late" | "skipped";
326
+ data: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped";
269
327
  driverParam: string;
270
328
  notNull: false;
271
329
  hasDefault: false;
@@ -293,6 +351,22 @@ export declare const ScheduleTable: import("drizzle-orm/sqlite-core").SQLiteTabl
293
351
  identity: undefined;
294
352
  generated: undefined;
295
353
  }, {}>;
354
+ state: import("drizzle-orm/sqlite-core").SQLiteColumn<{
355
+ name: string;
356
+ tableName: "schedule";
357
+ dataType: "object json";
358
+ data: Schema.Json;
359
+ driverParam: string;
360
+ notNull: false;
361
+ hasDefault: false;
362
+ isPrimaryKey: false;
363
+ isAutoincrement: false;
364
+ hasRuntimeDefault: false;
365
+ enumValues: undefined;
366
+ baseColumn: never;
367
+ identity: undefined;
368
+ generated: undefined;
369
+ }, {}>;
296
370
  };
297
371
  dialect: 'sqlite';
298
372
  }>;
@@ -2,154 +2,11 @@ export * as Schedule from "./schedule.js";
2
2
  import { Cause, Context, Effect, Schema } from "effect";
3
3
  import { Node } from "@opencode/util/effect/app-node";
4
4
  import { LayerNode } from "@opencode/util/effect/layer-node";
5
- import { Schedule as ScheduleSchema } from "@opencode/schema/schedule";
5
+ import { Condition, ConditionInput, CreateInput, ID, Info, Outcome, Request, Status, toCreateInput, When } from "@opencode/schema/schedule";
6
+ import type { Permission } from "./permission.js";
6
7
  import { Session } from "./session.js";
7
8
  import { SessionSchema } from "./session/schema.js";
8
- export declare const ID: Schema.brand<Schema.String, "Schedule.ID"> & {
9
- create: () => string & import("effect/Brand").Brand<"Schedule.ID">;
10
- };
11
- export type ID = ScheduleSchema.ID;
12
- export declare const Info: Schema.Struct<{
13
- readonly id: Schema.brand<Schema.String, "Schedule.ID"> & {
14
- create: () => string & import("effect/Brand").Brand<"Schedule.ID">;
15
- };
16
- readonly sessionID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "SessionID"> & {
17
- create: () => string & import("effect/Brand").Brand<"SessionID">;
18
- }>>, Schema.optionalKey<Schema.brand<Schema.String, "SessionID"> & {
19
- create: () => string & import("effect/Brand").Brand<"SessionID">;
20
- }>, never, never>;
21
- readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
22
- readonly when: Schema.Union<readonly [Schema.Struct<{
23
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
24
- readonly type: Schema.tag<"in">;
25
- readonly in: Schema.String;
26
- }>, Schema.Struct<{
27
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
28
- readonly type: Schema.tag<"at">;
29
- readonly at: Schema.String;
30
- }>, Schema.Struct<{
31
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
32
- readonly type: Schema.tag<"every">;
33
- readonly every: Schema.String;
34
- }>, Schema.Struct<{
35
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
36
- readonly type: Schema.tag<"cron">;
37
- readonly cron: Schema.String;
38
- }>]>;
39
- readonly tz: Schema.String;
40
- readonly action: Schema.Union<readonly [Schema.Struct<{
41
- readonly type: Schema.tag<"prompt">;
42
- readonly prompt: Schema.String;
43
- }>]>;
44
- readonly status: Schema.Literals<readonly ["active", "paused", "done"]>;
45
- readonly nextDueAt: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
46
- readonly endsAt: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
47
- readonly remainingRuns: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
48
- readonly runCount: Schema.Int;
49
- readonly lastFiredAt: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>>, Schema.optionalKey<Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>>, never, never>;
50
- readonly lastOutcome: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["fired", "late", "skipped", "disabled", "failed"]>>>, Schema.optionalKey<Schema.Literals<readonly ["fired", "late", "skipped", "disabled", "failed"]>>, never, never>;
51
- readonly time: Schema.Struct<{
52
- readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
53
- readonly updated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
54
- }>;
55
- }>;
56
- export type Info = ScheduleSchema.Info;
57
- export declare const CreateInput: Schema.Struct<{
58
- readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
59
- create: () => string & import("effect/Brand").Brand<"SessionID">;
60
- };
61
- readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
62
- readonly when: Schema.Union<readonly [Schema.Struct<{
63
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
64
- readonly type: Schema.tag<"in">;
65
- readonly in: Schema.String;
66
- }>, Schema.Struct<{
67
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
68
- readonly type: Schema.tag<"at">;
69
- readonly at: Schema.String;
70
- }>, Schema.Struct<{
71
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
72
- readonly type: Schema.tag<"every">;
73
- readonly every: Schema.String;
74
- }>, Schema.Struct<{
75
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
76
- readonly type: Schema.tag<"cron">;
77
- readonly cron: Schema.String;
78
- }>]>;
79
- readonly ends: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
80
- readonly after: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
81
- readonly at: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
82
- readonly times: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
83
- }>>>, Schema.optionalKey<Schema.Struct<{
84
- readonly after: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
85
- readonly at: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
86
- readonly times: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
87
- }>>, never, never>;
88
- readonly action: Schema.Union<readonly [Schema.Struct<{
89
- readonly type: Schema.tag<"prompt">;
90
- readonly prompt: Schema.String;
91
- }>]>;
92
- }>;
93
- export type CreateInput = ScheduleSchema.CreateInput;
94
- export declare const Request: Schema.Struct<{
95
- readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
96
- readonly when: Schema.Union<readonly [Schema.Struct<{
97
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
98
- readonly in: Schema.String;
99
- readonly at: Schema.optionalKey<Schema.Never>;
100
- readonly every: Schema.optionalKey<Schema.Never>;
101
- readonly cron: Schema.optionalKey<Schema.Never>;
102
- }>, Schema.Struct<{
103
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
104
- readonly at: Schema.String;
105
- readonly in: Schema.optionalKey<Schema.Never>;
106
- readonly every: Schema.optionalKey<Schema.Never>;
107
- readonly cron: Schema.optionalKey<Schema.Never>;
108
- }>, Schema.Struct<{
109
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
110
- readonly every: Schema.String;
111
- readonly in: Schema.optionalKey<Schema.Never>;
112
- readonly at: Schema.optionalKey<Schema.Never>;
113
- readonly cron: Schema.optionalKey<Schema.Never>;
114
- }>, Schema.Struct<{
115
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
116
- readonly cron: Schema.String;
117
- readonly in: Schema.optionalKey<Schema.Never>;
118
- readonly at: Schema.optionalKey<Schema.Never>;
119
- readonly every: Schema.optionalKey<Schema.Never>;
120
- }>]>;
121
- readonly ends: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
122
- readonly after: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
123
- readonly at: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
124
- readonly times: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
125
- }>>>, Schema.optionalKey<Schema.Struct<{
126
- readonly after: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
127
- readonly at: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
128
- readonly times: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
129
- }>>, never, never>;
130
- readonly prompt: Schema.String;
131
- }>;
132
- export type Request = ScheduleSchema.Request;
133
- export declare const When: Schema.Union<readonly [Schema.Struct<{
134
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
135
- readonly type: Schema.tag<"in">;
136
- readonly in: Schema.String;
137
- }>, Schema.Struct<{
138
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
139
- readonly type: Schema.tag<"at">;
140
- readonly at: Schema.String;
141
- }>, Schema.Struct<{
142
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
143
- readonly type: Schema.tag<"every">;
144
- readonly every: Schema.String;
145
- }>, Schema.Struct<{
146
- readonly tz: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
147
- readonly type: Schema.tag<"cron">;
148
- readonly cron: Schema.String;
149
- }>]>;
150
- export declare const Status: Schema.Literals<readonly ["active", "paused", "done"]>;
151
- export declare const Outcome: Schema.Literals<readonly ["fired", "late", "skipped", "disabled", "failed"]>;
152
- export declare const toCreateInput: typeof ScheduleSchema.toCreateInput;
9
+ export { ID, Info, CreateInput, Request, Condition, ConditionInput, When, Status, Outcome, toCreateInput };
153
10
  declare const NotFoundError_base: Schema.Class<NotFoundError, Schema.TaggedStruct<"Schedule.NotFoundError", {
154
11
  readonly scheduleID: Schema.brand<Schema.String, "Schedule.ID"> & {
155
12
  create: () => string & import("effect/Brand").Brand<"Schedule.ID">;
@@ -169,7 +26,7 @@ export declare class DisabledError extends DisabledError_base {
169
26
  get message(): string;
170
27
  }
171
28
  export interface Interface {
172
- readonly create: (input: CreateInput) => Effect.Effect<Info, InvalidError | DisabledError | Session.NotFoundError>;
29
+ readonly create: (input: CreateInput) => Effect.Effect<Info, InvalidError | DisabledError | Session.NotFoundError | Permission.Error>;
173
30
  readonly list: (input?: {
174
31
  readonly sessionID?: SessionSchema.ID;
175
32
  }) => Effect.Effect<Info[]>;
@@ -27,6 +27,32 @@ export declare const View: Schema.Struct<{
27
27
  readonly cron: Schema.String;
28
28
  }>]>;
29
29
  readonly tz: Schema.String;
30
+ readonly if: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.Struct<{
31
+ readonly type: Schema.tag<"shell">;
32
+ readonly run: Schema.String;
33
+ readonly is: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
34
+ readonly matches: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
35
+ readonly changes: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
36
+ }>]>>>, Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
37
+ readonly type: Schema.tag<"shell">;
38
+ readonly run: Schema.String;
39
+ readonly is: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
40
+ readonly matches: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
41
+ readonly changes: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
42
+ }>]>>, never, never>;
43
+ readonly until: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.Struct<{
44
+ readonly type: Schema.tag<"shell">;
45
+ readonly run: Schema.String;
46
+ readonly is: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
47
+ readonly matches: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
48
+ readonly changes: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
49
+ }>]>>>, Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
50
+ readonly type: Schema.tag<"shell">;
51
+ readonly run: Schema.String;
52
+ readonly is: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
53
+ readonly matches: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
54
+ readonly changes: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
55
+ }>]>>, never, never>;
30
56
  readonly prompt: Schema.String;
31
57
  readonly status: Schema.Literals<readonly ["active", "paused", "done"]>;
32
58
  readonly nextDueAt: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
@@ -34,7 +60,8 @@ export declare const View: Schema.Struct<{
34
60
  readonly remainingRuns: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
35
61
  readonly runCount: Schema.Number;
36
62
  readonly lastFiredAt: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
37
- readonly lastOutcome: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["fired", "late", "skipped", "disabled", "failed"]>>>, Schema.optionalKey<Schema.Literals<readonly ["fired", "late", "skipped", "disabled", "failed"]>>, never, never>;
63
+ readonly lastOutcome: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["fired", "late", "checked", "expired", "skipped", "disabled", "failed"]>>>, Schema.optionalKey<Schema.Literals<readonly ["fired", "late", "checked", "expired", "skipped", "disabled", "failed"]>>, never, never>;
64
+ readonly lastOutput: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
38
65
  }>;
39
66
  export type View = typeof View.Type;
40
67
  export declare const IDInput: Schema.Struct<{
@@ -66,6 +66,8 @@ export declare class Service extends Service_base {
66
66
  }
67
67
  export type Editor = {
68
68
  add: (provider: ProviderImplementation) => void;
69
+ list: () => readonly ProviderImplementation[];
70
+ remove: (id: ID) => void;
69
71
  default: {
70
72
  get: () => Selection | undefined;
71
73
  set: (selection: Selection) => void;