@opencode/core 0.0.0-dev-241 → 0.0.0-dev-256

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 (845) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -86
  3. package/dist/aisdk-native.js +101 -100
  4. package/dist/aisdk.js +107 -106
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +83 -82
  7. package/dist/chunks/{form-qd0p20n5.js → ripgrep-03sqz7a9.js} +9 -9
  8. package/dist/chunks/{form-bmp8ftgp.js → ripgrep-0cc6nv5k.js} +11 -11
  9. package/dist/chunks/{form-d877pmrn.js → ripgrep-0h910ma9.js} +15 -15
  10. package/dist/chunks/{form-8jztxfpf.js → ripgrep-11hfp36g.js} +4 -4
  11. package/dist/chunks/{form-agqd6nxz.js → ripgrep-17cjzed1.js} +4 -4
  12. package/dist/chunks/{form-vrcsa8qx.js → ripgrep-18g90bpv.js} +9 -9
  13. package/dist/chunks/{form-5gahmjy1.js → ripgrep-1f952vs7.js} +9 -9
  14. package/dist/chunks/{form-maemcbqj.js → ripgrep-1fwefjcd.js} +22 -22
  15. package/dist/chunks/{form-eydhdpnx.js → ripgrep-1gx6yymd.js} +44 -44
  16. package/dist/chunks/{form-q1dg5ken.js → ripgrep-1t7faze9.js} +21 -21
  17. package/dist/chunks/{form-1x2knyw4.js → ripgrep-1x2knyw4.js} +1 -1
  18. package/dist/chunks/{form-1yq9hg58.js → ripgrep-1yq9hg58.js} +1 -1
  19. package/dist/chunks/{form-204s3925.js → ripgrep-204s3925.js} +1 -1
  20. package/dist/chunks/{form-25h84942.js → ripgrep-25h84942.js} +1 -1
  21. package/dist/chunks/{form-1ep2p91f.js → ripgrep-27w5k9zf.js} +2 -2
  22. package/dist/chunks/{form-4wc1e944.js → ripgrep-29bbm67v.js} +15 -15
  23. package/dist/chunks/{form-wg881gmg.js → ripgrep-2e5pdp54.js} +7 -7
  24. package/dist/chunks/{form-t4y2eqtb.js → ripgrep-2hnaskt6.js} +9 -9
  25. package/dist/chunks/{form-0z8aj9nb.js → ripgrep-2k2kcze4.js} +87 -87
  26. package/dist/chunks/{form-2t5drfwv.js → ripgrep-2kk97py3.js} +11 -11
  27. package/dist/chunks/{form-sxramexz.js → ripgrep-2n5jzsvh.js} +13 -13
  28. package/dist/chunks/{form-mp850hqc.js → ripgrep-2w1g18fp.js} +4 -4
  29. package/dist/chunks/{form-hqxkkta1.js → ripgrep-2zp5a6yg.js} +3 -3
  30. package/dist/chunks/{form-56xpzs9c.js → ripgrep-3416qbwy.js} +8 -8
  31. package/dist/chunks/{form-9x2ynd3b.js → ripgrep-3b0cyw5p.js} +15 -15
  32. package/dist/chunks/{form-ayjs7tqn.js → ripgrep-3cbjf1nt.js} +2 -2
  33. package/dist/chunks/{form-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{form-nxpp7t5x.js → ripgrep-3jqgx5kj.js} +51 -51
  35. package/dist/chunks/{form-3nnrz6f6.js → ripgrep-3nnrz6f6.js} +1 -1
  36. package/dist/chunks/{form-jhc11j6v.js → ripgrep-3rj35y7k.js} +5 -5
  37. package/dist/chunks/{form-c6x7d2ts.js → ripgrep-3ryz99p0.js} +4 -4
  38. package/dist/chunks/{form-vr3x69az.js → ripgrep-3sxgvrsr.js} +15 -15
  39. package/dist/chunks/{form-cnac7q8x.js → ripgrep-3szttj5s.js} +23 -23
  40. package/dist/chunks/{form-eeejwcqn.js → ripgrep-3t0qvtxf.js} +12 -12
  41. package/dist/chunks/{form-7bcs6f94.js → ripgrep-3tpyq6vw.js} +13 -13
  42. package/dist/chunks/{form-5enarcya.js → ripgrep-40za9wsf.js} +6 -6
  43. package/dist/chunks/{form-dbn5ca56.js → ripgrep-49835bfw.js} +4 -4
  44. package/dist/chunks/{form-9mesydma.js → ripgrep-4fcq8f9m.js} +15 -15
  45. package/dist/chunks/{form-nxbfjhca.js → ripgrep-4ggjgtjs.js} +12 -12
  46. package/dist/chunks/{form-4pyp9zr9.js → ripgrep-4pyp9zr9.js} +1 -1
  47. package/dist/chunks/{form-4v008n1t.js → ripgrep-4v008n1t.js} +1 -1
  48. package/dist/chunks/{form-5qjz8kxn.js → ripgrep-5aysfjzq.js} +22 -22
  49. package/dist/chunks/{form-d4z67fwt.js → ripgrep-5bp97s21.js} +18 -18
  50. package/dist/chunks/{form-qekva0d7.js → ripgrep-5c6v7bf7.js} +31 -31
  51. package/dist/chunks/{form-ebc2yafe.js → ripgrep-5jefyemb.js} +5 -5
  52. package/dist/chunks/{form-5m9w47nd.js → ripgrep-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{form-5a6cq72k.js → ripgrep-5qbnyx67.js} +43 -43
  54. package/dist/chunks/{form-1rp9wec1.js → ripgrep-5rgg5y2m.js} +6 -6
  55. package/dist/chunks/ripgrep-5w9dwxvh.js +222 -0
  56. package/dist/chunks/{form-5gse0r5n.js → ripgrep-5zt75wsq.js} +8 -8
  57. package/dist/chunks/{form-ymtvagr8.js → ripgrep-68gxk72y.js} +27 -27
  58. package/dist/chunks/{form-g85b9q37.js → ripgrep-6dstrpje.js} +12 -12
  59. package/dist/chunks/{form-6esdw8yj.js → ripgrep-6esdw8yj.js} +1 -1
  60. package/dist/chunks/{form-wewy9wfm.js → ripgrep-6fpch3kw.js} +19 -19
  61. package/dist/chunks/{form-34czpf76.js → ripgrep-6t0y96w1.js} +37 -37
  62. package/dist/chunks/{form-ex68cs9x.js → ripgrep-6vab03tz.js} +35 -35
  63. package/dist/chunks/{form-1kyyf73t.js → ripgrep-7442v31d.js} +9 -9
  64. package/dist/chunks/{form-y02zb68m.js → ripgrep-7521vzgd.js} +13 -13
  65. package/dist/chunks/{form-76cb1hcw.js → ripgrep-76cb1hcw.js} +1 -1
  66. package/dist/chunks/{form-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{form-bn194m36.js → ripgrep-7fjdcjgg.js} +11 -11
  68. package/dist/chunks/{form-fn32zha6.js → ripgrep-7h63ckp6.js} +19 -19
  69. package/dist/chunks/{form-8cbkaxar.js → ripgrep-7kef5ntp.js} +3 -3
  70. package/dist/chunks/{form-fq8z76yw.js → ripgrep-7pf9jw4b.js} +6 -6
  71. package/dist/chunks/{form-a97jh5ay.js → ripgrep-7rr96ps8.js} +37 -37
  72. package/dist/chunks/{form-7w2ypzdf.js → ripgrep-7w2ypzdf.js} +1 -1
  73. package/dist/chunks/{form-p2d6jc5h.js → ripgrep-82b9pnxq.js} +5 -5
  74. package/dist/chunks/{form-r1r2wh37.js → ripgrep-882n9ge3.js} +5 -5
  75. package/dist/chunks/{form-ydsespw1.js → ripgrep-8d2bz6m6.js} +8 -8
  76. package/dist/chunks/{form-5m24a4sd.js → ripgrep-8k3jsm6y.js} +22 -22
  77. package/dist/chunks/{form-8wtp7s3z.js → ripgrep-8wtp7s3z.js} +1 -1
  78. package/dist/chunks/{form-ymvwqgy0.js → ripgrep-8wxjt6jj.js} +43 -43
  79. package/dist/chunks/{form-mb7mbhnz.js → ripgrep-8z6m94af.js} +3 -3
  80. package/dist/chunks/{form-344ymb5t.js → ripgrep-909bcygr.js} +51 -51
  81. package/dist/chunks/{form-90zstvax.js → ripgrep-90zstvax.js} +1 -1
  82. package/dist/chunks/{form-yn3pvg3g.js → ripgrep-9nd6g1h4.js} +53 -53
  83. package/dist/chunks/{form-bd58n5m3.js → ripgrep-9wqtqs01.js} +34 -34
  84. package/dist/chunks/{form-n37g9rz2.js → ripgrep-9x1v9m9g.js} +4 -4
  85. package/dist/chunks/{form-bzgcjp3p.js → ripgrep-a17h2gz7.js} +5 -5
  86. package/dist/chunks/{form-12ce349e.js → ripgrep-a33m5c2w.js} +11 -11
  87. package/dist/chunks/{form-qg4wfayj.js → ripgrep-a4f3mdv6.js} +15 -15
  88. package/dist/chunks/{form-nfkjwrxk.js → ripgrep-ackzm7p5.js} +20 -20
  89. package/dist/chunks/{form-yykjbrqt.js → ripgrep-agz4bq91.js} +33 -33
  90. package/dist/chunks/{form-034tev2y.js → ripgrep-aj7mw0zk.js} +2 -2
  91. package/dist/chunks/{form-gbh3tqmh.js → ripgrep-aje86v63.js} +5 -5
  92. package/dist/chunks/{form-zwt99n69.js → ripgrep-ak1f0tsr.js} +16 -16
  93. package/dist/chunks/{form-k5h0kew3.js → ripgrep-am8n4zj8.js} +42 -42
  94. package/dist/chunks/{form-g8a7cptb.js → ripgrep-ams2yx18.js} +21 -21
  95. package/dist/chunks/{form-rva7ahw2.js → ripgrep-apk2hew3.js} +11 -11
  96. package/dist/chunks/{form-gd8sx287.js → ripgrep-aytd9eaj.js} +4 -4
  97. package/dist/chunks/{form-1q3qkd77.js → ripgrep-b0hcd791.js} +10 -10
  98. package/dist/chunks/{form-dtg3e95z.js → ripgrep-b0mgw4ep.js} +12 -12
  99. package/dist/chunks/{form-0kfnnbj0.js → ripgrep-b363w4yw.js} +14 -14
  100. package/dist/chunks/{form-yd39j0pc.js → ripgrep-b3tsdpgs.js} +10 -10
  101. package/dist/chunks/{form-h9mc95dv.js → ripgrep-b5jmjrr6.js} +33 -33
  102. package/dist/chunks/{form-5nnwax6m.js → ripgrep-b6vsg801.js} +5 -5
  103. package/dist/chunks/{form-t925je5x.js → ripgrep-bccmdxdz.js} +12 -12
  104. package/dist/chunks/{form-qz087kyw.js → ripgrep-bxe7n28z.js} +8 -8
  105. package/dist/chunks/{form-30ae49hf.js → ripgrep-bzmxpqn3.js} +18 -18
  106. package/dist/chunks/{form-1hc4tfsd.js → ripgrep-c48vnd7r.js} +3 -3
  107. package/dist/chunks/{form-47xk0geh.js → ripgrep-c5rgx9f0.js} +17 -17
  108. package/dist/chunks/{form-xk2zn0cv.js → ripgrep-cac0wmbb.js} +4 -4
  109. package/dist/chunks/ripgrep-cgp1s624.js +26 -0
  110. package/dist/chunks/{form-cwrgdav8.js → ripgrep-cwrgdav8.js} +2 -2
  111. package/dist/chunks/{form-9f6y0syf.js → ripgrep-d0t1jrhe.js} +16 -5
  112. package/dist/chunks/{form-d4v9tmah.js → ripgrep-d4v9tmah.js} +2 -2
  113. package/dist/chunks/{form-kpgx0vyx.js → ripgrep-d5xvmxkt.js} +9 -9
  114. package/dist/chunks/{form-16twya52.js → ripgrep-d8k33s6g.js} +8 -8
  115. package/dist/chunks/{form-jnndjjbg.js → ripgrep-daqk1zzh.js} +32 -32
  116. package/dist/chunks/{form-8q7qvvvm.js → ripgrep-db73xe5x.js} +21 -21
  117. package/dist/chunks/{form-bnrmard3.js → ripgrep-ddcyzbs8.js} +13 -13
  118. package/dist/chunks/{form-0m9q59s6.js → ripgrep-ddwaa558.js} +4 -4
  119. package/dist/chunks/{form-mkcsvzvr.js → ripgrep-dp20ymjh.js} +5 -5
  120. package/dist/chunks/{form-eq53d4e8.js → ripgrep-dqyfjygp.js} +32 -32
  121. package/dist/chunks/{form-vjcm0c6v.js → ripgrep-dsmd9z3t.js} +34 -34
  122. package/dist/chunks/{form-dt77769w.js → ripgrep-dt77769w.js} +1 -1
  123. package/dist/chunks/{form-ka01146j.js → ripgrep-dwwyec8z.js} +6 -6
  124. package/dist/chunks/{form-pq2gn7y4.js → ripgrep-e5697zjm.js} +9 -9
  125. package/dist/chunks/{form-rs8acqz3.js → ripgrep-e7gncem7.js} +2 -2
  126. package/dist/chunks/{form-e834z07m.js → ripgrep-e834z07m.js} +1 -1
  127. package/dist/chunks/{form-dajrwvna.js → ripgrep-ean2d8b5.js} +1 -1
  128. package/dist/chunks/{form-164bbpt7.js → ripgrep-enpxw9ft.js} +38 -38
  129. package/dist/chunks/{form-m37sd98t.js → ripgrep-eqmd2tfz.js} +7 -7
  130. package/dist/chunks/{form-wawq6c5s.js → ripgrep-erc81w38.js} +34 -17
  131. package/dist/chunks/{form-r5gq5fkx.js → ripgrep-f2dkd9c9.js} +84 -84
  132. package/dist/chunks/{form-c7b37yvv.js → ripgrep-f2hbk3te.js} +11 -11
  133. package/dist/chunks/{form-8azpkpgk.js → ripgrep-f38wrs86.js} +341 -341
  134. package/dist/chunks/{form-saap6htg.js → ripgrep-fdfr6sds.js} +17 -17
  135. package/dist/chunks/{form-mdmwbg8j.js → ripgrep-ffcqnzz5.js} +14 -14
  136. package/dist/chunks/{form-fffv3p7h.js → ripgrep-fffv3p7h.js} +1 -1
  137. package/dist/chunks/{form-fg9p65nk.js → ripgrep-fg9p65nk.js} +2 -2
  138. package/dist/chunks/{form-epbdechd.js → ripgrep-fkx1epcn.js} +24 -24
  139. package/dist/chunks/{form-17nembyj.js → ripgrep-fqsvv22e.js} +45 -45
  140. package/dist/chunks/{form-hh8z0h5r.js → ripgrep-fxhhzhmy.js} +23 -23
  141. package/dist/chunks/{form-2zxqqy9n.js → ripgrep-g24xgb35.js} +11 -11
  142. package/dist/chunks/{form-cecnk0g5.js → ripgrep-gffq2h0h.js} +21 -21
  143. package/dist/chunks/{form-yckvrk0f.js → ripgrep-gkng5bng.js} +6 -6
  144. package/dist/chunks/{form-syd5ygf3.js → ripgrep-gs1ef0jt.js} +21 -21
  145. package/dist/chunks/{form-k67dv3fj.js → ripgrep-gt0enb5r.js} +33 -33
  146. package/dist/chunks/{form-cq4y0zvs.js → ripgrep-gzqtw9gm.js} +23 -23
  147. package/dist/chunks/{form-hjhf5s4p.js → ripgrep-h0xgca3k.js} +22 -22
  148. package/dist/chunks/{form-s3bc4aa5.js → ripgrep-h5prggwk.js} +47 -47
  149. package/dist/chunks/{form-jvks6kr5.js → ripgrep-h7tawekg.js} +27 -27
  150. package/dist/chunks/{form-qhwx0fdf.js → ripgrep-h7zsgwja.js} +28 -28
  151. package/dist/chunks/{form-hh7kjqtw.js → ripgrep-hh7kjqtw.js} +1 -1
  152. package/dist/chunks/{form-hpg1pkwy.js → ripgrep-hpg1pkwy.js} +1 -1
  153. package/dist/chunks/{form-ynk496q3.js → ripgrep-hq7e4nr1.js} +7 -7
  154. package/dist/chunks/{form-f01y088k.js → ripgrep-hr4y9snp.js} +5 -5
  155. package/dist/chunks/{form-yc4xwjk4.js → ripgrep-hs9b4b47.js} +9 -9
  156. package/dist/chunks/{form-hsdtatpb.js → ripgrep-hy1b2qcd.js} +2 -2
  157. package/dist/chunks/{form-za8zk8x5.js → ripgrep-hzv53yz7.js} +21 -21
  158. package/dist/chunks/{form-pez63j8g.js → ripgrep-j5dh2pqj.js} +17 -17
  159. package/dist/chunks/{form-gdn6yz18.js → ripgrep-j83zfqb4.js} +27 -27
  160. package/dist/chunks/{form-x1wbs47z.js → ripgrep-jdra26ww.js} +9 -9
  161. package/dist/chunks/{form-yk6ggz05.js → ripgrep-jew46n24.js} +11 -11
  162. package/dist/chunks/{form-jfaecv01.js → ripgrep-jfaecv01.js} +1 -1
  163. package/dist/chunks/{form-bxsgj37y.js → ripgrep-jhvnj4yv.js} +15 -15
  164. package/dist/chunks/{form-s8ecjhm6.js → ripgrep-jk10zsa9.js} +25 -25
  165. package/dist/chunks/{form-7r72dc1g.js → ripgrep-jp89zqat.js} +23 -23
  166. package/dist/chunks/{form-m528r48h.js → ripgrep-jqfrpy0b.js} +4 -4
  167. package/dist/chunks/{form-a44gt5xs.js → ripgrep-jqnfqjgv.js} +6 -6
  168. package/dist/chunks/{form-jtnps1zs.js → ripgrep-jtnps1zs.js} +2 -2
  169. package/dist/chunks/{form-hnb1qy4e.js → ripgrep-jxs8nk7d.js} +11 -11
  170. package/dist/chunks/{form-apsqrt3t.js → ripgrep-jzpa86ty.js} +42 -42
  171. package/dist/chunks/{form-wy3fx33q.js → ripgrep-k1sfxhaz.js} +40 -40
  172. package/dist/chunks/{form-e9fqtmvn.js → ripgrep-k4461cq5.js} +4 -4
  173. package/dist/chunks/{form-p32m2zja.js → ripgrep-k4hxmz12.js} +46 -34
  174. package/dist/chunks/{form-k814nvkf.js → ripgrep-k814nvkf.js} +1 -1
  175. package/dist/chunks/{form-wwgpyqzb.js → ripgrep-kcg78dnn.js} +9 -9
  176. package/dist/chunks/{form-21aep2yn.js → ripgrep-ke335cjj.js} +5 -5
  177. package/dist/chunks/{form-kqxn4pnr.js → ripgrep-kjdrtwey.js} +8 -8
  178. package/dist/chunks/{form-kt3bjfbg.js → ripgrep-kt3bjfbg.js} +1 -1
  179. package/dist/chunks/{form-rw00jzn7.js → ripgrep-m049c8tp.js} +18 -18
  180. package/dist/chunks/{form-m1714858.js → ripgrep-m1714858.js} +1 -1
  181. package/dist/chunks/{form-zf08ma9p.js → ripgrep-m7egy7mx.js} +69 -49
  182. package/dist/chunks/{form-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{form-d0nww1bx.js → ripgrep-mb3v38wv.js} +5 -5
  184. package/dist/chunks/{form-6wmf2q20.js → ripgrep-mg06kx6s.js} +16 -16
  185. package/dist/chunks/{form-mg356nz4.js → ripgrep-mg356nz4.js} +3 -3
  186. package/dist/chunks/{form-w35wzz9x.js → ripgrep-mmx1mfjr.js} +4 -4
  187. package/dist/chunks/{form-b1pn0vxn.js → ripgrep-mtkfycnh.js} +4 -4
  188. package/dist/chunks/{form-c9cgbm0j.js → ripgrep-mvntxdz5.js} +17 -17
  189. package/dist/chunks/{form-n97mvkbq.js → ripgrep-mw7r6xhf.js} +9 -9
  190. package/dist/chunks/{form-2hz06pja.js → ripgrep-my54cbqv.js} +5 -5
  191. package/dist/chunks/{form-a2yfqhnm.js → ripgrep-n0xqaxze.js} +30 -30
  192. package/dist/chunks/ripgrep-n3r3rt18.js +18 -0
  193. package/dist/chunks/{form-06b0dpwc.js → ripgrep-n53x6sf3.js} +4 -4
  194. package/dist/chunks/{form-6xqtcmxs.js → ripgrep-n6v2b7cw.js} +5 -5
  195. package/dist/chunks/{form-nah043kf.js → ripgrep-nah043kf.js} +1 -1
  196. package/dist/chunks/{form-g450zyfk.js → ripgrep-ndtpazxm.js} +30 -30
  197. package/dist/chunks/{form-3e3pzb31.js → ripgrep-nta1mp64.js} +11 -11
  198. package/dist/chunks/{form-fypmhnps.js → ripgrep-nx4vzyjd.js} +6 -2
  199. package/dist/chunks/{form-hef4msp3.js → ripgrep-nxftzjsa.js} +20 -20
  200. package/dist/chunks/{form-p015t6z3.js → ripgrep-p015t6z3.js} +2 -2
  201. package/dist/chunks/{form-a5qbrk1x.js → ripgrep-p47gpjqr.js} +15 -15
  202. package/dist/chunks/{form-vzvvagw1.js → ripgrep-pa3yh9f4.js} +25 -25
  203. package/dist/chunks/{form-k9zkdd2y.js → ripgrep-pcc6rjnf.js} +4 -4
  204. package/dist/chunks/{form-j0ft87f1.js → ripgrep-phrz113q.js} +28 -28
  205. package/dist/chunks/{form-yjhf0rgk.js → ripgrep-pj6fb39f.js} +269 -60
  206. package/dist/chunks/{form-pknna89w.js → ripgrep-pknna89w.js} +1 -1
  207. package/dist/chunks/{form-sxjfgefz.js → ripgrep-pmnwwjgv.js} +61 -61
  208. package/dist/chunks/{form-nzbx2r18.js → ripgrep-pnxd3f75.js} +11 -11
  209. package/dist/chunks/{form-ng3j8dj2.js → ripgrep-psanbaqe.js} +6 -6
  210. package/dist/chunks/{form-dmb95mhx.js → ripgrep-pvvt21d7.js} +14 -14
  211. package/dist/chunks/{form-xwhcj832.js → ripgrep-q6vnkpbt.js} +33 -33
  212. package/dist/chunks/{form-xq6beh0s.js → ripgrep-q91dqmyj.js} +26 -26
  213. package/dist/chunks/{form-r2z4j37j.js → ripgrep-qavpxcye.js} +2 -2
  214. package/dist/chunks/{form-j3ahjss5.js → ripgrep-qf4spmep.js} +35 -35
  215. package/dist/chunks/{form-7e0vrbjb.js → ripgrep-qfkq8xrf.js} +62 -58
  216. package/dist/chunks/{form-2bgp64vn.js → ripgrep-qh99nfkk.js} +30 -30
  217. package/dist/chunks/{form-yara3q77.js → ripgrep-qkw2jr9b.js} +2 -2
  218. package/dist/chunks/{form-bpmnncyw.js → ripgrep-qnghve6e.js} +8 -8
  219. package/dist/chunks/{form-qp7r0hxv.js → ripgrep-qp7r0hxv.js} +1 -1
  220. package/dist/chunks/{form-1kn6jdkn.js → ripgrep-qqpbcr2p.js} +4 -4
  221. package/dist/chunks/{form-qqvy8y24.js → ripgrep-qqvy8y24.js} +1 -1
  222. package/dist/chunks/ripgrep-qraj6mtx.js +257 -0
  223. package/dist/chunks/{form-wxknf58s.js → ripgrep-qys60372.js} +10 -10
  224. package/dist/chunks/{form-yewpp7ak.js → ripgrep-qzwfbxrg.js} +11 -11
  225. package/dist/chunks/{form-kjt9j6hq.js → ripgrep-r2aaaqsx.js} +37 -37
  226. package/dist/chunks/{form-r542h3bh.js → ripgrep-r542h3bh.js} +1 -1
  227. package/dist/chunks/{form-1ehhk9f8.js → ripgrep-r5gpr2p5.js} +25 -25
  228. package/dist/chunks/{form-qnf47mt5.js → ripgrep-r87akjs2.js} +6 -6
  229. package/dist/chunks/{form-gx6q6d4a.js → ripgrep-r8ack8x7.js} +8 -8
  230. package/dist/chunks/{form-rb9dy4dg.js → ripgrep-rb9dy4dg.js} +1 -1
  231. package/dist/chunks/{form-g1hcq0g8.js → ripgrep-rkafft8x.js} +16 -16
  232. package/dist/chunks/{form-69vbzxa1.js → ripgrep-rmk8jq11.js} +42 -42
  233. package/dist/chunks/{form-rt5dr6hb.js → ripgrep-rt5dr6hb.js} +1 -1
  234. package/dist/chunks/{form-7fy0h8rf.js → ripgrep-rvdapjqy.js} +11 -11
  235. package/dist/chunks/{form-0zracm40.js → ripgrep-rxc5w0st.js} +43 -43
  236. package/dist/chunks/{form-885474ts.js → ripgrep-s4vdbda8.js} +14 -14
  237. package/dist/chunks/{form-0a7n7kwt.js → ripgrep-s5z0gt4g.js} +3 -3
  238. package/dist/chunks/{form-qkc3z5ds.js → ripgrep-s85z3cra.js} +4 -4
  239. package/dist/chunks/{form-sa3fpqfw.js → ripgrep-sa3fpqfw.js} +2 -2
  240. package/dist/chunks/{form-ywk1qbwj.js → ripgrep-sbpkqjks.js} +16 -16
  241. package/dist/chunks/{form-dpb98s6z.js → ripgrep-sfvb2ra8.js} +47 -51
  242. package/dist/chunks/{form-caxfsg60.js → ripgrep-shmzzj1p.js} +14 -14
  243. package/dist/chunks/{form-n5jdsvnn.js → ripgrep-sk9th60b.js} +32 -32
  244. package/dist/chunks/{form-sqjzf8x2.js → ripgrep-sqjzf8x2.js} +1 -1
  245. package/dist/chunks/{form-qgfkghh1.js → ripgrep-stkk57rt.js} +4 -0
  246. package/dist/chunks/{form-svcy3p9a.js → ripgrep-svcy3p9a.js} +1 -1
  247. package/dist/chunks/{form-y984veh1.js → ripgrep-sy9atnn8.js} +9 -9
  248. package/dist/chunks/ripgrep-t03h4f5z.js +16 -0
  249. package/dist/chunks/{form-yzfcgkx8.js → ripgrep-t5kja7d6.js} +27 -27
  250. package/dist/chunks/{form-emk1tmq0.js → ripgrep-tak8qdkr.js} +8 -8
  251. package/dist/chunks/{form-tczq8hjw.js → ripgrep-tczq8hjw.js} +1 -1
  252. package/dist/chunks/{form-3yz3az2p.js → ripgrep-tjx9btwx.js} +195 -195
  253. package/dist/chunks/{form-zrzd6936.js → ripgrep-tsszwamj.js} +34 -34
  254. package/dist/chunks/{form-twssxy5n.js → ripgrep-twssxy5n.js} +2 -2
  255. package/dist/chunks/{form-v2r1d0zg.js → ripgrep-v2r1d0zg.js} +1 -1
  256. package/dist/chunks/{form-ypzz06n9.js → ripgrep-v8xpr2tt.js} +5 -5
  257. package/dist/chunks/{form-26x8chrq.js → ripgrep-vaq1yek0.js} +6 -6
  258. package/dist/chunks/{form-yp7f7fzt.js → ripgrep-vcxd5eqd.js} +8 -8
  259. package/dist/chunks/{form-80d2zcb4.js → ripgrep-vm4ntgdp.js} +96 -96
  260. package/dist/chunks/{form-c2t3ry2c.js → ripgrep-vmaxc52x.js} +18 -18
  261. package/dist/chunks/{form-3ve3e0bk.js → ripgrep-vpm1h889.js} +22 -22
  262. package/dist/chunks/{form-f0q877ce.js → ripgrep-vydydcga.js} +23 -23
  263. package/dist/chunks/{form-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
  264. package/dist/chunks/{form-w687dnns.js → ripgrep-w687dnns.js} +1 -1
  265. package/dist/chunks/{form-wakvkjy4.js → ripgrep-wakvkjy4.js} +1 -1
  266. package/dist/chunks/{form-wd87259q.js → ripgrep-wd87259q.js} +1 -1
  267. package/dist/chunks/{form-ertcz5s1.js → ripgrep-wjc27my0.js} +11 -11
  268. package/dist/chunks/{form-wnhgecwx.js → ripgrep-wnhgecwx.js} +1 -1
  269. package/dist/chunks/{form-k950nrad.js → ripgrep-wsrqy1ze.js} +21 -21
  270. package/dist/chunks/{form-0dfv01xh.js → ripgrep-wz5tj16h.js} +5 -5
  271. package/dist/chunks/{form-mdz0js77.js → ripgrep-x3d3mep8.js} +6 -6
  272. package/dist/chunks/{form-1fy8p9jc.js → ripgrep-x3fmc1hr.js} +24 -24
  273. package/dist/chunks/{form-yp23a5z4.js → ripgrep-x524hec9.js} +25 -25
  274. package/dist/chunks/{form-1vseb64s.js → ripgrep-x62jm14v.js} +12 -12
  275. package/dist/chunks/{form-ymz7p2c9.js → ripgrep-x7c80rtj.js} +3 -3
  276. package/dist/chunks/{form-cegg4nag.js → ripgrep-x8yhn9vn.js} +24 -24
  277. package/dist/chunks/{form-dpd69dnd.js → ripgrep-x959zq99.js} +4 -4
  278. package/dist/chunks/{form-rwpnrpr8.js → ripgrep-xcebgh3h.js} +4 -4
  279. package/dist/chunks/{form-bstexjd6.js → ripgrep-xd9cc171.js} +5 -5
  280. package/dist/chunks/{form-m34q2a8m.js → ripgrep-xf83b33t.js} +21 -21
  281. package/dist/chunks/{form-44bj7geh.js → ripgrep-xp46ybm5.js} +22 -22
  282. package/dist/chunks/{form-w5xp5sgq.js → ripgrep-xsga5jf7.js} +22 -22
  283. package/dist/chunks/{form-ra4wx1p6.js → ripgrep-xv70sp23.js} +26 -26
  284. package/dist/chunks/{form-jheynnxb.js → ripgrep-xyn9xt4d.js} +11 -11
  285. package/dist/chunks/{form-9aqddysx.js → ripgrep-y6qsxzbk.js} +4 -4
  286. package/dist/chunks/{form-hh288azd.js → ripgrep-y8d574bw.js} +26 -26
  287. package/dist/chunks/{form-yb20nhc3.js → ripgrep-yb20nhc3.js} +1 -1
  288. package/dist/chunks/{form-w2jxje39.js → ripgrep-ybcwzyjp.js} +29 -29
  289. package/dist/chunks/{form-ckrm4vaz.js → ripgrep-ydbjebpg.js} +17 -17
  290. package/dist/chunks/{form-vpm8vpz0.js → ripgrep-yeejah88.js} +3 -3
  291. package/dist/chunks/{form-5w6nd1s8.js → ripgrep-yqqn7f99.js} +1 -1
  292. package/dist/chunks/{form-8pyh3h24.js → ripgrep-yxp9849n.js} +31 -31
  293. package/dist/chunks/{form-0geg3vaz.js → ripgrep-z33c4g07.js} +13 -13
  294. package/dist/chunks/{form-z38nccrw.js → ripgrep-z38nccrw.js} +1 -1
  295. package/dist/chunks/{form-4e78z1nw.js → ripgrep-z48jxn29.js} +18 -18
  296. package/dist/chunks/{form-cj0rt5w2.js → ripgrep-z7zabdrt.js} +24 -24
  297. package/dist/chunks/{form-e865fpdn.js → ripgrep-z9qgeafv.js} +20 -20
  298. package/dist/chunks/{form-8xqhc33s.js → ripgrep-zbjfvsrb.js} +12 -12
  299. package/dist/chunks/{form-c8w8hrxy.js → ripgrep-zd07p9e4.js} +31 -31
  300. package/dist/chunks/{form-225yscb7.js → ripgrep-zh4a5xq0.js} +19 -19
  301. package/dist/chunks/{form-e8jekyry.js → ripgrep-zh7bbm8x.js} +9 -9
  302. package/dist/chunks/{form-hcawp3ym.js → ripgrep-zmz19rft.js} +11 -11
  303. package/dist/chunks/{form-wdeh72fh.js → ripgrep-zr96t73h.js} +16 -16
  304. package/dist/codemode/catalog.js +1 -1
  305. package/dist/codemode/instructions.js +9 -9
  306. package/dist/codemode/tool.js +3 -3
  307. package/dist/codemode/web.js +1 -1
  308. package/dist/command.js +93 -92
  309. package/dist/config/discovery.js +94 -93
  310. package/dist/config/integration.js +3 -3
  311. package/dist/config/markdown.js +1 -1
  312. package/dist/config/normalize.js +111 -110
  313. package/dist/config/plugin/agent.js +127 -126
  314. package/dist/config/plugin/command.js +225 -224
  315. package/dist/config/plugin/compaction.js +166 -165
  316. package/dist/config/plugin/compatibility.js +146 -145
  317. package/dist/config/plugin/entry-observer.js +1 -1
  318. package/dist/config/plugin/formatter.js +126 -125
  319. package/dist/config/plugin/image.js +125 -124
  320. package/dist/config/plugin/instruction.js +125 -124
  321. package/dist/config/plugin/location-watcher.js +125 -124
  322. package/dist/config/plugin/mcp.js +134 -133
  323. package/dist/config/plugin/policy.js +127 -126
  324. package/dist/config/plugin/provider.js +126 -125
  325. package/dist/config/plugin/reference.js +127 -126
  326. package/dist/config/plugin/shell.js +125 -124
  327. package/dist/config/plugin/skill-file.js +142 -141
  328. package/dist/config/plugin/skill-scan.js +1 -1
  329. package/dist/config/plugin/skill.js +149 -148
  330. package/dist/config/plugin/snapshot.js +125 -124
  331. package/dist/config/plugin/source.js +128 -127
  332. package/dist/config/plugin/tool-output.js +126 -125
  333. package/dist/config/plugin/websearch.js +124 -123
  334. package/dist/config/plugin/worktree.js +127 -126
  335. package/dist/config/variable.js +1 -1
  336. package/dist/config/watch.js +1 -1
  337. package/dist/config.js +124 -123
  338. package/dist/console-access.js +1 -1
  339. package/dist/credential/sql.js +2 -2
  340. package/dist/credential.js +93 -92
  341. package/dist/database/database.js +80 -79
  342. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  343. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  344. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  345. package/dist/database/drizzle/index.js +15 -15
  346. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  347. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  348. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  349. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  350. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  351. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  352. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  353. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  354. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  355. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  356. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  357. package/dist/database/drizzle.js +16 -16
  358. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  359. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  360. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  361. package/dist/database/migration/20260225215848_workspace.js +1 -1
  362. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  363. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  364. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  365. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  366. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  367. package/dist/database/migration/20260323234822_events.js +1 -1
  368. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  369. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  370. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  371. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  372. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  373. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  374. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  375. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  376. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  377. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  378. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  379. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  380. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  381. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  382. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  383. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  384. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  385. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  386. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  387. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  388. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  389. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  390. package/dist/database/migration/20260611035744_credential.js +1 -1
  391. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  392. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  393. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  394. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  395. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  396. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  397. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  398. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  399. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  400. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  401. package/dist/database/migration/20260812213948_worktree.js +1 -1
  402. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  403. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  404. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  405. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  406. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  407. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  408. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  409. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  410. package/dist/database/migration/20261025123711_blob.js +1 -1
  411. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  412. package/dist/database/migration/20261026223005_schedule.js +1 -1
  413. package/dist/database/migration/20261029002625_session_part.js +1 -1
  414. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  415. package/dist/database/migration/20261029165540_schedule_checks.js +6 -0
  416. package/dist/database/migration.gen.js +59 -58
  417. package/dist/database/migration.js +61 -60
  418. package/dist/database/path.js +2 -2
  419. package/dist/database/schema.gen.js +1 -1
  420. package/dist/database/schema.sql.js +1 -1
  421. package/dist/database/sqlite.bun.js +1 -1
  422. package/dist/database/sqlite.js +1 -1
  423. package/dist/database/sqlite.node.js +1 -1
  424. package/dist/database/sqlite.workerd.js +1 -1
  425. package/dist/database/v1-migration.bun.js +107 -106
  426. package/dist/database/v1-migration.js +1 -1
  427. package/dist/effect/app-node-builder.js +390 -388
  428. package/dist/effect/app-node-platform.js +2 -2
  429. package/dist/effect/keyed-mutex.js +3 -3
  430. package/dist/effect/websocket-constructor.js +1 -1
  431. package/dist/environment/driver.js +1 -1
  432. package/dist/environment/environment.js +105 -104
  433. package/dist/environment/exec-defaults.js +2 -2
  434. package/dist/environment/files.js +1 -1
  435. package/dist/environment/index.js +107 -106
  436. package/dist/environment/local.js +2 -2
  437. package/dist/environment/memory.js +2 -2
  438. package/dist/environment/unavailable.js +1 -1
  439. package/dist/event/sql.js +1 -1
  440. package/dist/event-logger.js +84 -83
  441. package/dist/file-access.js +152 -151
  442. package/dist/file-mutation.js +106 -105
  443. package/dist/file-retention.js +1 -1
  444. package/dist/filesystem/fff.bun.js +2 -2
  445. package/dist/filesystem/fff.js +1 -1
  446. package/dist/filesystem/fff.node.js +2 -2
  447. package/dist/filesystem/fff.workerd.js +2 -2
  448. package/dist/filesystem/file-watch.js +90 -89
  449. package/dist/filesystem/location-watcher-policy.js +6 -6
  450. package/dist/filesystem/location-watcher.js +236 -235
  451. package/dist/filesystem/protected.js +1 -1
  452. package/dist/filesystem/search.js +109 -108
  453. package/dist/filesystem/watcher-binding.js +1 -1
  454. package/dist/filesystem/watcher.js +7 -7
  455. package/dist/filesystem.js +112 -111
  456. package/dist/form.js +92 -91
  457. package/dist/formatter/builtins.js +4 -4
  458. package/dist/formatter.js +99 -98
  459. package/dist/generate.js +119 -118
  460. package/dist/git.js +11 -11
  461. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  462. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  463. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  464. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  465. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  466. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  467. package/dist/github-copilot/copilot-provider.js +17 -17
  468. package/dist/github-copilot/models.js +111 -110
  469. package/dist/github-copilot/openai-compatible-error.js +1 -1
  470. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  471. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  472. package/dist/github-copilot/responses/openai-error.js +1 -1
  473. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  474. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  475. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  476. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  477. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  478. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  479. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  480. package/dist/image/notice.js +1 -1
  481. package/dist/image/photon-normalize.js +1 -1
  482. package/dist/image/photon-worker.js +1 -1
  483. package/dist/image/photon.js +4 -4
  484. package/dist/image.js +6 -6
  485. package/dist/instance/service.js +5 -5
  486. package/dist/instance.js +381 -379
  487. package/dist/instruction-discovery.js +88 -87
  488. package/dist/instructions/builtins.js +99 -98
  489. package/dist/instructions/index.js +3 -3
  490. package/dist/integration/connection.js +3 -3
  491. package/dist/integration.js +99 -98
  492. package/dist/job.js +88 -87
  493. package/dist/kv/sql.js +2 -2
  494. package/dist/kv.js +83 -82
  495. package/dist/location-activity.js +170 -169
  496. package/dist/location-lifecycle.js +146 -145
  497. package/dist/location-service-map.js +98 -97
  498. package/dist/location-services.js +378 -376
  499. package/dist/location.js +101 -100
  500. package/dist/managed-policy.js +3 -3
  501. package/dist/mcp/client.js +103 -102
  502. package/dist/mcp/index.js +117 -116
  503. package/dist/mcp/instructions.js +172 -171
  504. package/dist/mcp/oauth.js +88 -87
  505. package/dist/mcp/socket-client.js +1 -1
  506. package/dist/mcp/stdio.js +102 -101
  507. package/dist/mime.js +1 -1
  508. package/dist/modal/models.js +111 -110
  509. package/dist/model-resolver.js +111 -110
  510. package/dist/model-retry.js +1 -1
  511. package/dist/model.js +114 -113
  512. package/dist/models-dev/v1.js +1 -1
  513. package/dist/models-dev.js +120 -119
  514. package/dist/oauth/page.js +1 -1
  515. package/dist/permission/saved.js +92 -91
  516. package/dist/permission/sql.js +5 -5
  517. package/dist/permission.js +153 -150
  518. package/dist/persistent-pty/binary.bun.js +1 -1
  519. package/dist/persistent-pty/daemon.js +1 -1
  520. package/dist/persistent-pty/index.js +102 -99
  521. package/dist/persistent-pty/pty-binding.js +1 -1
  522. package/dist/persistent-pty.js +85 -84
  523. package/dist/plugin/agent.js +86 -85
  524. package/dist/plugin/command.js +114 -113
  525. package/dist/plugin/goal.js +3 -3
  526. package/dist/plugin/hooks.js +5 -5
  527. package/dist/plugin/host.js +231 -230
  528. package/dist/plugin/identity.js +5 -5
  529. package/dist/plugin/instance.js +5 -5
  530. package/dist/plugin/internal.js +357 -349
  531. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  532. package/dist/plugin/models-dev.js +109 -108
  533. package/dist/plugin/module.js +127 -126
  534. package/dist/plugin/optimize.js +2 -2
  535. package/dist/plugin/plan.js +142 -141
  536. package/dist/plugin/promise.js +1 -1
  537. package/dist/plugin/provider/amazon-bedrock.js +103 -102
  538. package/dist/plugin/provider/azure.js +125 -124
  539. package/dist/plugin/provider/cerebras.js +1 -1
  540. package/dist/plugin/provider/chatgpt.js +125 -124
  541. package/dist/plugin/provider/cloudflare-ai-gateway.js +123 -122
  542. package/dist/plugin/provider/cloudflare-workers-ai.js +123 -122
  543. package/dist/plugin/provider/configured.js +121 -120
  544. package/dist/plugin/provider/credential-settings.js +84 -83
  545. package/dist/plugin/provider/databricks.js +1 -1
  546. package/dist/plugin/provider/digitalocean.js +105 -104
  547. package/dist/plugin/provider/dynamic.js +2 -2
  548. package/dist/plugin/provider/github-copilot.js +107 -106
  549. package/dist/plugin/provider/gitlab.js +106 -105
  550. package/dist/plugin/provider/google-vertex.js +122 -121
  551. package/dist/plugin/provider/kilo.js +1 -1
  552. package/dist/plugin/provider/llmgateway.js +88 -87
  553. package/dist/plugin/provider/lmstudio.js +134 -133
  554. package/dist/plugin/provider/local.js +131 -130
  555. package/dist/plugin/provider/modal.js +104 -103
  556. package/dist/plugin/provider/neon.js +1 -1
  557. package/dist/plugin/provider/nvidia.js +1 -1
  558. package/dist/plugin/provider/ollama.js +134 -133
  559. package/dist/plugin/provider/openai-context-caps.js +102 -101
  560. package/dist/plugin/provider/openai.js +125 -124
  561. package/dist/plugin/provider/opencode.js +128 -127
  562. package/dist/plugin/provider/openrouter.js +103 -102
  563. package/dist/plugin/provider/poe.js +89 -88
  564. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  565. package/dist/plugin/provider/sap-ai-core.js +103 -102
  566. package/dist/plugin/provider/sdk-factory.js +1 -1
  567. package/dist/plugin/provider/snowflake-cortex.js +124 -123
  568. package/dist/plugin/provider/vllm.js +134 -133
  569. package/dist/plugin/provider/xai.js +103 -102
  570. package/dist/plugin/provider/zenmux.js +1 -1
  571. package/dist/plugin/provider.js +176 -175
  572. package/dist/plugin/sdk.js +84 -83
  573. package/dist/plugin/service.js +3 -3
  574. package/dist/plugin/skill.js +145 -144
  575. package/dist/plugin/source-directory.js +1 -1
  576. package/dist/plugin/supervisor.js +369 -367
  577. package/dist/plugin/tool-input-repair.js +4 -4
  578. package/dist/plugin/update.js +6 -6
  579. package/dist/plugin/vcs/git.js +98 -97
  580. package/dist/plugin/vcs/hg.js +98 -97
  581. package/dist/plugin/verbosity.js +105 -104
  582. package/dist/plugin/warming.js +123 -122
  583. package/dist/plugin/websearch/exa.js +7 -7
  584. package/dist/plugin/websearch/firecrawl.js +6 -6
  585. package/dist/plugin/websearch/index.js +9 -9
  586. package/dist/plugin/websearch/mcp.js +4 -4
  587. package/dist/plugin/websearch/parallel.js +8 -8
  588. package/dist/plugin/websearch/tavily.js +6 -6
  589. package/dist/plugin/websearch/tinyfish.js +8 -8
  590. package/dist/plugin.js +236 -235
  591. package/dist/project/icon.js +5 -5
  592. package/dist/project/schema.js +8 -8
  593. package/dist/project/sql.js +4 -4
  594. package/dist/project.js +102 -101
  595. package/dist/provider.js +111 -110
  596. package/dist/pty/protocol.js +1 -1
  597. package/dist/pty/ticket.js +1 -1
  598. package/dist/pty.js +96 -95
  599. package/dist/reference/instructions.js +100 -99
  600. package/dist/reference.js +102 -101
  601. package/dist/repository-cache.js +92 -91
  602. package/dist/repository.js +3 -3
  603. package/dist/ripgrep/binary.js +2 -2
  604. package/dist/ripgrep.js +107 -106
  605. package/dist/rpc.js +98 -97
  606. package/dist/schedule/check.js +248 -0
  607. package/dist/schedule/sql.js +6 -6
  608. package/dist/schedule.js +242 -221
  609. package/dist/schema.js +1 -1
  610. package/dist/session/affinity.js +1 -1
  611. package/dist/session/background.js +1 -1
  612. package/dist/session/blob.js +126 -125
  613. package/dist/session/command.js +84 -83
  614. package/dist/session/compaction.js +166 -165
  615. package/dist/session/context.js +192 -191
  616. package/dist/session/diff.js +100 -99
  617. package/dist/session/environment.js +5 -5
  618. package/dist/session/error.js +5 -5
  619. package/dist/session/event.js +1 -1
  620. package/dist/session/execution/restart.js +237 -236
  621. package/dist/session/execution.js +158 -157
  622. package/dist/session/generate.js +194 -193
  623. package/dist/session/history.js +131 -130
  624. package/dist/session/inbox.js +144 -143
  625. package/dist/session/info.js +3 -3
  626. package/dist/session/instruction-entry.js +89 -88
  627. package/dist/session/instruction-state.js +8 -8
  628. package/dist/session/instructions.js +136 -135
  629. package/dist/session/message-updater.js +4 -4
  630. package/dist/session/message.js +1 -1
  631. package/dist/session/model-request.js +159 -158
  632. package/dist/session/model-transport.js +9 -9
  633. package/dist/session/move.js +160 -159
  634. package/dist/session/projector.js +138 -137
  635. package/dist/session/prompt.js +144 -143
  636. package/dist/session/recent-text.js +1 -1
  637. package/dist/session/revert.js +134 -133
  638. package/dist/session/run-coordinator.js +3 -3
  639. package/dist/session/runner/index.js +3 -3
  640. package/dist/session/runner/llm.js +243 -242
  641. package/dist/session/runner/max-steps.js +1 -1
  642. package/dist/session/runner/model.js +112 -111
  643. package/dist/session/runner/publish-llm-event.js +145 -144
  644. package/dist/session/runner/retry.js +5 -5
  645. package/dist/session/runner/step.js +158 -157
  646. package/dist/session/runner/to-llm-message.js +132 -131
  647. package/dist/session/schema.js +5 -5
  648. package/dist/session/session.js +176 -175
  649. package/dist/session/shell.js +139 -138
  650. package/dist/session/skill.js +143 -142
  651. package/dist/session/sql.js +5 -5
  652. package/dist/session/stats.js +85 -84
  653. package/dist/session/store.js +137 -136
  654. package/dist/session/stored.js +2 -2
  655. package/dist/session/subagent-completion.js +1 -1
  656. package/dist/session/subagent-job.js +223 -222
  657. package/dist/session/system-prompt.js +5 -5
  658. package/dist/session/title.js +196 -195
  659. package/dist/session/to-session-error.js +144 -143
  660. package/dist/session/transfer.js +237 -236
  661. package/dist/session/usage.js +1 -1
  662. package/dist/session.js +229 -228
  663. package/dist/shell/parse.js +6 -6
  664. package/dist/shell/result.js +1 -1
  665. package/dist/shell/scan.js +1 -1
  666. package/dist/shell/select.js +15 -15
  667. package/dist/shell.js +141 -140
  668. package/dist/skill/discovery.js +6 -6
  669. package/dist/skill/instructions.js +147 -146
  670. package/dist/skill.js +154 -153
  671. package/dist/snapshot.js +103 -102
  672. package/dist/state.js +1 -1
  673. package/dist/tool/html-markdown.js +1 -1
  674. package/dist/tool/http-body.js +1 -1
  675. package/dist/tool/mcp.js +169 -168
  676. package/dist/tool/plugin/edit.js +160 -159
  677. package/dist/tool/plugin/file-diff.js +1 -1
  678. package/dist/tool/plugin/glob.js +164 -163
  679. package/dist/tool/plugin/grep.js +164 -163
  680. package/dist/tool/plugin/image-generate.js +231 -230
  681. package/dist/tool/plugin/mcp-resource.js +158 -157
  682. package/dist/tool/plugin/opencode.js +157 -156
  683. package/dist/tool/plugin/patch.js +160 -159
  684. package/dist/tool/plugin/question.js +142 -141
  685. package/dist/tool/plugin/read.js +165 -164
  686. package/dist/tool/plugin/schedule.js +239 -222
  687. package/dist/tool/plugin/shell.js +226 -225
  688. package/dist/tool/plugin/skill.js +151 -150
  689. package/dist/tool/plugin/subagent.js +230 -229
  690. package/dist/tool/plugin/todo.js +149 -148
  691. package/dist/tool/plugin/webfetch.js +151 -150
  692. package/dist/tool/plugin/websearch.js +149 -148
  693. package/dist/tool/plugin/write.js +162 -161
  694. package/dist/tool/read-filesystem.js +112 -111
  695. package/dist/tool/runtime.js +1 -1
  696. package/dist/tool-output.js +7 -7
  697. package/dist/tool.js +12 -12
  698. package/dist/types/database/migration/20261029165540_schedule_checks.d.ts +3 -0
  699. package/dist/types/permission.d.ts +10 -0
  700. package/dist/types/persistent-pty/index.d.ts +7 -1
  701. package/dist/types/schedule/check.d.ts +46 -0
  702. package/dist/types/schedule/sql.d.ts +75 -1
  703. package/dist/types/schedule.d.ts +4 -147
  704. package/dist/types/tool/plugin/image-generate.d.ts +1 -1
  705. package/dist/types/tool/plugin/schedule.d.ts +28 -1
  706. package/dist/usage-limits.js +89 -88
  707. package/dist/util/error-summary.js +1 -1
  708. package/dist/util/git-executable.js +3 -3
  709. package/dist/util/lazy.js +1 -1
  710. package/dist/util/slug.js +1 -1
  711. package/dist/util/token.js +1 -1
  712. package/dist/util/which.js +1 -1
  713. package/dist/util/wildcard.js +1 -1
  714. package/dist/v1/config/agent.js +3 -3
  715. package/dist/v1/config/command.js +3 -3
  716. package/dist/v1/config/mcp.js +4 -4
  717. package/dist/v1/config/migrate.js +104 -103
  718. package/dist/v1/config/permission.js +3 -3
  719. package/dist/v1/config/plugin.js +1 -1
  720. package/dist/v1/config/provider-options.js +1 -1
  721. package/dist/v1/config/provider.js +4 -4
  722. package/dist/variant.js +105 -104
  723. package/dist/vcs/patch.js +1 -1
  724. package/dist/vcs.js +101 -100
  725. package/dist/voice.js +100 -99
  726. package/dist/websearch.js +94 -93
  727. package/dist/wellknown/plugin.js +84 -83
  728. package/dist/wellknown.js +89 -88
  729. package/dist/workspace/driver.js +3 -3
  730. package/dist/workspace/sql.js +1 -1
  731. package/dist/workspace.js +90 -89
  732. package/dist/worktree/directory.js +2 -2
  733. package/dist/worktree/git.js +11 -11
  734. package/dist/worktree/sql.js +5 -5
  735. package/dist/worktree/strategies.js +101 -100
  736. package/dist/worktree.js +108 -107
  737. package/package.json +9 -9
  738. package/dist/chunks/form-08h3dm3g.js +0 -257
  739. package/dist/chunks/form-1kh93h0h.js +0 -26
  740. package/dist/chunks/form-6zjm2phc.js +0 -18
  741. /package/dist/chunks/{form-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
  742. /package/dist/chunks/{form-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
  743. /package/dist/chunks/{form-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
  744. /package/dist/chunks/{form-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
  745. /package/dist/chunks/{form-1kah00gy.js → ripgrep-1kah00gy.js} +0 -0
  746. /package/dist/chunks/{form-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
  747. /package/dist/chunks/{form-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
  748. /package/dist/chunks/{form-2bv980vf.js → ripgrep-2bv980vf.js} +0 -0
  749. /package/dist/chunks/{form-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
  750. /package/dist/chunks/{form-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
  751. /package/dist/chunks/{form-3asan66x.js → ripgrep-3asan66x.js} +0 -0
  752. /package/dist/chunks/{form-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
  753. /package/dist/chunks/{form-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
  754. /package/dist/chunks/{form-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
  755. /package/dist/chunks/{form-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
  756. /package/dist/chunks/{form-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
  757. /package/dist/chunks/{form-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
  758. /package/dist/chunks/{form-53557ph1.js → ripgrep-53557ph1.js} +0 -0
  759. /package/dist/chunks/{form-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
  760. /package/dist/chunks/{form-5w3e23ze.js → ripgrep-5w3e23ze.js} +0 -0
  761. /package/dist/chunks/{form-6prwharc.js → ripgrep-6prwharc.js} +0 -0
  762. /package/dist/chunks/{form-6q2bdcd1.js → ripgrep-6q2bdcd1.js} +0 -0
  763. /package/dist/chunks/{form-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
  764. /package/dist/chunks/{form-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
  765. /package/dist/chunks/{form-7stb81gk.js → ripgrep-7stb81gk.js} +0 -0
  766. /package/dist/chunks/{form-822emrt2.js → ripgrep-822emrt2.js} +0 -0
  767. /package/dist/chunks/{form-84wd9syh.js → ripgrep-84wd9syh.js} +0 -0
  768. /package/dist/chunks/{form-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
  769. /package/dist/chunks/{form-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
  770. /package/dist/chunks/{form-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
  771. /package/dist/chunks/{form-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
  772. /package/dist/chunks/{form-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
  773. /package/dist/chunks/{form-a058387c.js → ripgrep-a058387c.js} +0 -0
  774. /package/dist/chunks/{form-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
  775. /package/dist/chunks/{form-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
  776. /package/dist/chunks/{form-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
  777. /package/dist/chunks/{form-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
  778. /package/dist/chunks/{form-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
  779. /package/dist/chunks/{form-beh6qq61.js → ripgrep-beh6qq61.js} +0 -0
  780. /package/dist/chunks/{form-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
  781. /package/dist/chunks/{form-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
  782. /package/dist/chunks/{form-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
  783. /package/dist/chunks/{form-cqv5kn06.js → ripgrep-cqv5kn06.js} +0 -0
  784. /package/dist/chunks/{form-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
  785. /package/dist/chunks/{form-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
  786. /package/dist/chunks/{form-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
  787. /package/dist/chunks/{form-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
  788. /package/dist/chunks/{form-df08tz66.js → ripgrep-df08tz66.js} +0 -0
  789. /package/dist/chunks/{form-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
  790. /package/dist/chunks/{form-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
  791. /package/dist/chunks/{form-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
  792. /package/dist/chunks/{form-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
  793. /package/dist/chunks/{form-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
  794. /package/dist/chunks/{form-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
  795. /package/dist/chunks/{form-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
  796. /package/dist/chunks/{form-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
  797. /package/dist/chunks/{form-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
  798. /package/dist/chunks/{form-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
  799. /package/dist/chunks/{form-fkpq3x5p.js → ripgrep-fkpq3x5p.js} +0 -0
  800. /package/dist/chunks/{form-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
  801. /package/dist/chunks/{form-g86h250q.js → ripgrep-g86h250q.js} +0 -0
  802. /package/dist/chunks/{form-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
  803. /package/dist/chunks/{form-gftt206x.js → ripgrep-gftt206x.js} +0 -0
  804. /package/dist/chunks/{form-hcxmzztb.js → ripgrep-hcxmzztb.js} +0 -0
  805. /package/dist/chunks/{form-hk9envan.js → ripgrep-hk9envan.js} +0 -0
  806. /package/dist/chunks/{form-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
  807. /package/dist/chunks/{form-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
  808. /package/dist/chunks/{form-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
  809. /package/dist/chunks/{form-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
  810. /package/dist/chunks/{form-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
  811. /package/dist/chunks/{form-jwr30sdr.js → ripgrep-jwr30sdr.js} +0 -0
  812. /package/dist/chunks/{form-jze0r7bz.js → ripgrep-jze0r7bz.js} +0 -0
  813. /package/dist/chunks/{form-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
  814. /package/dist/chunks/{form-m18g726c.js → ripgrep-m18g726c.js} +0 -0
  815. /package/dist/chunks/{form-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
  816. /package/dist/chunks/{form-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
  817. /package/dist/chunks/{form-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
  818. /package/dist/chunks/{form-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
  819. /package/dist/chunks/{form-ncqqe42p.js → ripgrep-ncqqe42p.js} +0 -0
  820. /package/dist/chunks/{form-nh4v3znn.js → ripgrep-nh4v3znn.js} +0 -0
  821. /package/dist/chunks/{form-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
  822. /package/dist/chunks/{form-p71gwv9c.js → ripgrep-p71gwv9c.js} +0 -0
  823. /package/dist/chunks/{form-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
  824. /package/dist/chunks/{form-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
  825. /package/dist/chunks/{form-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
  826. /package/dist/chunks/{form-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
  827. /package/dist/chunks/{form-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
  828. /package/dist/chunks/{form-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
  829. /package/dist/chunks/{form-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
  830. /package/dist/chunks/{form-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
  831. /package/dist/chunks/{form-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
  832. /package/dist/chunks/{form-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
  833. /package/dist/chunks/{form-ty7weeps.js → ripgrep-ty7weeps.js} +0 -0
  834. /package/dist/chunks/{form-ve7vex1e.js → ripgrep-ve7vex1e.js} +0 -0
  835. /package/dist/chunks/{form-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
  836. /package/dist/chunks/{form-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
  837. /package/dist/chunks/{form-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
  838. /package/dist/chunks/{form-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
  839. /package/dist/chunks/{form-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
  840. /package/dist/chunks/{form-x61499pn.js → ripgrep-x61499pn.js} +0 -0
  841. /package/dist/chunks/{form-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
  842. /package/dist/chunks/{form-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
  843. /package/dist/chunks/{form-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
  844. /package/dist/chunks/{form-z5v4ffb3.js → ripgrep-z5v4ffb3.js} +0 -0
  845. /package/dist/chunks/{form-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./ripgrep-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -11,7 +11,7 @@ __export(exports_driver, {
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
13
  make: () => make22,
14
- node: () => node80,
14
+ node: () => node86,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node80 = registryNode2({});
47
+ var node86 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make22, RegistryService2, registry2, registryNode2, node80, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make22, RegistryService2, registry2, registryNode2, node86, exports_driver };
@@ -1,31 +1,33 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./form-ywk1qbwj.js";
2
+ Service85,
3
+ node89
4
+ } from "./ripgrep-sbpkqjks.js";
5
5
  import {
6
6
  environment2
7
- } from "./form-44bj7geh.js";
7
+ } from "./ripgrep-xp46ybm5.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./form-a058387c.js";
10
+ } from "./ripgrep-a058387c.js";
11
11
  import {
12
12
  __export
13
- } from "./form-9rqn6x4v.js";
13
+ } from "./ripgrep-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError6,
20
- Options: () => Options5,
19
+ InvalidCwdError: () => InvalidCwdError2,
20
+ NotFoundError: () => NotFoundError4,
21
+ Options: () => Options2,
21
22
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service43,
23
- UnavailableError: () => UnavailableError5,
24
- available: () => available4,
25
- configured: () => configured5,
26
- layer: () => layer20,
27
- node: () => node46
23
+ Service: () => Service16,
24
+ UnavailableError: () => UnavailableError3,
25
+ available: () => available3,
26
+ configured: () => configured2,
27
+ layer: () => layer10,
28
+ node: () => node19
28
29
  });
30
+ import { stat } from "node:fs/promises";
29
31
  import path from "node:path";
30
32
  import { Context, Effect, Layer, Schema } from "effect";
31
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -34,26 +36,32 @@ import { Pty } from "@opencode/schema/pty";
34
36
  import { Global } from "@opencode/util/global";
35
37
  import { resolveBinary } from "#persistent-pty-binary";
36
38
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
37
- import { available as available4 } from "#persistent-pty-binary";
38
- var Options5 = Schema.Struct({
39
+ import { available as available3 } from "#persistent-pty-binary";
40
+ var Options2 = Schema.Struct({
39
41
  handoff: Schema.optional(Handoff),
40
42
  root: Schema.optional(Schema.String)
41
43
  });
42
44
 
43
- class UnavailableError5 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
45
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
44
46
  message: Schema.String
45
47
  }) {
46
48
  }
47
49
 
48
- class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
50
+ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
51
  ptyID: Pty.ID
50
52
  }) {
51
53
  }
52
54
 
53
- class Service43 extends Context.Service()("@opencode/PersistentPty") {
55
+ class InvalidCwdError2 extends Schema.TaggedError()("PersistentPty.InvalidCwdError", {
56
+ cwd: Schema.String,
57
+ message: Schema.String
58
+ }) {
59
+ }
60
+
61
+ class Service16 extends Context.Service()("@opencode/PersistentPty") {
54
62
  }
55
- var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* () {
56
- const bus = yield* Service86;
63
+ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* () {
64
+ const bus = yield* Service85;
57
65
  const global = yield* Global.Service;
58
66
  const context = yield* Effect.context();
59
67
  const runFork = Effect.runForkWith(context);
@@ -75,15 +83,19 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
75
83
  const get = Effect.fn("PersistentPty.get")(function* (id) {
76
84
  const found = (yield* list()).find((terminal) => terminal.id === id);
77
85
  if (!found)
78
- return yield* new NotFoundError6({ ptyID: id });
86
+ return yield* new NotFoundError4({ ptyID: id });
79
87
  return found;
80
88
  });
81
89
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
90
+ const cwd = path.resolve(input.cwd ?? "/");
91
+ const directory = yield* Effect.promise(() => stat(cwd).then((info) => info.isDirectory(), () => false));
92
+ if (!directory)
93
+ return yield* new InvalidCwdError2({ cwd, message: `cwd is not a directory: ${cwd}` });
82
94
  const response = yield* request(daemon, {
83
95
  op: "create",
84
96
  program: input.command ?? environment2(global.bin),
85
97
  args: input.args,
86
- cwd: input.cwd ?? path.resolve("/"),
98
+ cwd,
87
99
  title: input.title,
88
100
  group_id: sessionID,
89
101
  env: input.env,
@@ -165,7 +177,7 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
165
177
  });
166
178
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
167
179
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
168
- return yield* new UnavailableError5({ message: "lines must be an integer between 1 and 65535" });
180
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
169
181
  const id = current.get(sessionID);
170
182
  if (!id)
171
183
  return null;
@@ -242,7 +254,7 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
242
254
  detach: attachment.detach
243
255
  };
244
256
  });
245
- return Service43.of({
257
+ return Service16.of({
246
258
  list,
247
259
  get,
248
260
  create,
@@ -258,17 +270,17 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
258
270
  attach
259
271
  });
260
272
  }));
261
- var layer20 = makeLayer();
262
- var configured5 = (options) => makeGlobalNode({
263
- service: Service43,
264
- layer: options === undefined ? layer20 : makeLayer(options),
265
- deps: [node90, Global.node]
273
+ var layer10 = makeLayer();
274
+ var configured2 = (options) => makeGlobalNode({
275
+ service: Service16,
276
+ layer: options === undefined ? layer10 : makeLayer(options),
277
+ deps: [node89, Global.node]
266
278
  });
267
- var node46 = configured5();
279
+ var node19 = configured2();
268
280
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
269
281
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
270
- var unexpected = (response) => Effect.fail(new UnavailableError5({ message: `unexpected opencode-pty response: ${response.type}` }));
271
- var unavailable = (error) => new UnavailableError5({ message: error instanceof Error ? error.message : String(error) });
282
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
283
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
272
284
  function toInfo(value) {
273
285
  const status = value.lifecycle.status;
274
286
  return {
@@ -300,4 +312,4 @@ function fromID(value) {
300
312
  return parsed;
301
313
  }
302
314
 
303
- export { Options5, UnavailableError5, NotFoundError6, Service43, layer20, configured5, node46, exports_persistent_pty, Handoff2, available4 };
315
+ export { Options2, UnavailableError3, NotFoundError4, InvalidCwdError2, Service16, layer10, configured2, node19, exports_persistent_pty, Handoff2, available3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./ripgrep-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./form-z5v4ffb3.js";
3
+ } from "./ripgrep-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./ripgrep-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
- Event: () => Event17,
13
- ID: () => ID16,
14
- Info: () => Info27,
12
+ Event: () => Event20,
13
+ ID: () => ID19,
14
+ Info: () => Info31,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
- var ID16 = Project.ID;
21
+ var ID19 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info27 = Project.Info;
23
+ var Info31 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
- var Event17 = Project.Event;
25
+ var Event20 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
27
27
  type: Project.Vcs,
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID16, Current3, Info27, UpdateInput4, Event17, Vcs3, exports_schema };
31
+ export { ID19, Current3, Info31, UpdateInput4, Event20, Vcs3, exports_schema };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./form-xwhcj832.js";
3
+ } from "./ripgrep-q6vnkpbt.js";
4
4
  import {
5
- ID17,
5
+ ID10,
6
6
  MethodID2
7
- } from "./form-qekva0d7.js";
7
+ } from "./ripgrep-5c6v7bf7.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./form-yb20nhc3.js";
11
+ } from "./ripgrep-yb20nhc3.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
17
- var integrationID = ID17.make("poe");
17
+ var integrationID = ID10.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-yd39j0pc.js";
3
+ } from "./ripgrep-b3tsdpgs.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./ripgrep-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin26,
11
+ Plugin: () => Plugin4,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint5
13
+ endpoint: () => endpoint4
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
18
- var endpoint5 = "https://api.tavily.com/search";
18
+ var endpoint4 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin26 = define({
32
+ var Plugin4 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin26 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin26 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint5, Plugin26, exports_tavily };
80
+ export { endpoint4, Plugin4, exports_tavily };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./ripgrep-9rqn6x4v.js";
4
4
 
5
5
  // src/console-access.ts
6
6
  var exports_console_access = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID11
3
- } from "./form-ckrm4vaz.js";
2
+ ID15
3
+ } from "./ripgrep-ydbjebpg.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./form-z5v4ffb3.js";
6
+ } from "./ripgrep-z5v4ffb3.js";
7
7
  import {
8
8
  Info15
9
- } from "./form-ypzz06n9.js";
9
+ } from "./ripgrep-v8xpr2tt.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./form-9aqddysx.js";
12
+ } from "./ripgrep-y6qsxzbk.js";
13
13
  import {
14
14
  latest2,
15
- Service69
16
- } from "./form-eydhdpnx.js";
15
+ Service59
16
+ } from "./ripgrep-1gx6yymd.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./form-e834z07m.js";
19
+ } from "./ripgrep-e834z07m.js";
20
20
  import {
21
21
  __export
22
- } from "./form-9rqn6x4v.js";
22
+ } from "./ripgrep-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent = {};
26
- __export(exports_agent, {
27
- ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin18
25
+ var exports_agent2 = {};
26
+ __export(exports_agent2, {
27
+ ConfigAgentPlugin: () => exports_agent2,
28
+ Plugin: () => Plugin33
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -44,10 +44,10 @@ var decodeLegacyAgent = Schema.decodeUnknownOption(Info15);
44
44
  var pathActions = ["external_directory", "read", "edit"];
45
45
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
46
46
  var nativeKeys = ["permissions", "request", "system", "disabled"];
47
- var Plugin18 = define({
47
+ var Plugin33 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service69;
50
+ const config = yield* Service59;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin18 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID11.make(configuredDefault));
79
+ editor.default(ID15.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID11.make(id);
85
+ const agentID = ID15.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
163
163
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
164
164
  });
165
165
 
166
- export { Plugin18, exports_agent };
166
+ export { Plugin33, exports_agent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./ripgrep-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./form-ywk1qbwj.js";
2
+ Service85,
3
+ node89
4
+ } from "./ripgrep-sbpkqjks.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./form-47xk0geh.js";
6
+ Service83,
7
+ node87
8
+ } from "./ripgrep-c5rgx9f0.js";
9
9
  import {
10
10
  Service73,
11
11
  node76
12
- } from "./form-ckrm4vaz.js";
12
+ } from "./ripgrep-ydbjebpg.js";
13
13
  import {
14
- NotFoundError11
15
- } from "./form-yckvrk0f.js";
14
+ NotFoundError10
15
+ } from "./ripgrep-gkng5bng.js";
16
16
  import {
17
- Service68,
18
- node71
19
- } from "./form-vr3x69az.js";
17
+ Service56,
18
+ node59
19
+ } from "./ripgrep-3sxgvrsr.js";
20
20
  import {
21
21
  match2
22
- } from "./form-z38nccrw.js";
22
+ } from "./ripgrep-z38nccrw.js";
23
23
  import {
24
- Service67,
25
- node70
26
- } from "./form-epbdechd.js";
24
+ Service57,
25
+ node60
26
+ } from "./ripgrep-fkx1epcn.js";
27
27
  import {
28
- Service71,
29
- node74
30
- } from "./form-qz087kyw.js";
28
+ Service58,
29
+ node61
30
+ } from "./ripgrep-bxe7n28z.js";
31
31
  import {
32
32
  __export
33
- } from "./form-9rqn6x4v.js";
33
+ } from "./ripgrep-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
36
  var exports_permission = {};
@@ -39,31 +39,37 @@ __export(exports_permission, {
39
39
  CorrectedError: () => CorrectedError2,
40
40
  DeclinedError: () => DeclinedError2,
41
41
  Effect: () => PermissionEffect,
42
- Event: () => Event12,
43
- ID: () => ID8,
42
+ Event: () => Event9,
43
+ ID: () => ID6,
44
44
  NotFoundError: () => NotFoundError9,
45
45
  Permission: () => exports_permission,
46
46
  Reply: () => Reply2,
47
47
  Request: () => Request3,
48
48
  Rule: () => Rule2,
49
49
  Ruleset: () => Ruleset2,
50
- Service: () => Service66,
51
- Source: () => Source5,
52
- evaluate: () => evaluate2,
50
+ Service: () => Service55,
51
+ Source: () => Source4,
52
+ Unattended: () => Unattended2,
53
+ evaluate: () => evaluate3,
53
54
  merge: () => merge2,
54
- node: () => node69
55
+ node: () => node58
55
56
  });
56
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
57
58
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
58
59
  import { Permission } from "@opencode/schema/permission";
59
60
  import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
60
- import { Event as Event12 } from "@opencode/schema/permission";
61
+ import { Event as Event9 } from "@opencode/schema/permission";
61
62
  var PermissionEffect = Permission.Effect;
62
63
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
63
- var ID8 = Permission.ID;
64
- var Source5 = Permission.Source;
64
+ var ID6 = Permission.ID;
65
+ var Source4 = Permission.Source;
65
66
  var Request3 = Permission.Request;
66
67
  var Reply2 = Permission.Reply;
68
+ var Unattended2 = Context.Reference("@opencode/Permission/Unattended", {
69
+ defaultValue: () => {
70
+ return;
71
+ }
72
+ });
67
73
 
68
74
  class DeclinedError2 extends Schema.TaggedError()("Permission.DeclinedError", {}) {
69
75
  }
@@ -71,6 +77,9 @@ class DeclinedError2 extends Schema.TaggedError()("Permission.DeclinedError", {}
71
77
  class CorrectedError2 extends Schema.TaggedError()("Permission.CorrectedError", {
72
78
  feedback: Schema.String
73
79
  }) {
80
+ get message() {
81
+ return this.feedback;
82
+ }
74
83
  }
75
84
 
76
85
  class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
@@ -85,10 +94,10 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
85
94
  }
86
95
 
87
96
  class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
88
- requestID: ID8
97
+ requestID: ID6
89
98
  }) {
90
99
  }
91
- function evaluate2(action, resource, ...rulesets) {
100
+ function evaluate3(action, resource, ...rulesets) {
92
101
  return rulesets.flat().findLast((rule) => match2(action, rule.action) && match2(resource, rule.resource)) ?? {
93
102
  action,
94
103
  resource: "*",
@@ -99,15 +108,15 @@ function merge2(...rulesets) {
99
108
  return rulesets.flat();
100
109
  }
101
110
 
102
- class Service66 extends Context.Service()("@opencode/Permission") {
111
+ class Service55 extends Context.Service()("@opencode/Permission") {
103
112
  }
104
- var layer = Layer.effect(Service66, Effect.gen(function* () {
105
- const bus = yield* Service86;
106
- const location = yield* Service80;
113
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
114
+ const bus = yield* Service85;
115
+ const location = yield* Service83;
107
116
  const agents = yield* Service73;
108
- const sessions = yield* Service68;
109
- const saved = yield* Service67;
110
- const hooks = yield* Service71;
117
+ const sessions = yield* Service56;
118
+ const saved = yield* Service57;
119
+ const hooks = yield* Service58;
111
120
  const pending = new Map;
112
121
  let closed = false;
113
122
  const close = Effect.gen(function* () {
@@ -130,12 +139,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
130
139
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
131
140
  const session = yield* sessions.get(sessionID);
132
141
  if (!session)
133
- return yield* new NotFoundError11({ sessionID });
142
+ return yield* new NotFoundError10({ sessionID });
134
143
  const agent = yield* agents.resolve(agentID ?? session.agent);
135
144
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
136
145
  });
137
146
  function denied(input, rules) {
138
- return input.resources.some((resource) => evaluate2(input.action, resource, rules).effect === "deny");
147
+ return input.resources.some((resource) => evaluate3(input.action, resource, rules).effect === "deny");
139
148
  }
140
149
  function relevant(input, rules) {
141
150
  return rules.filter((rule) => match2(input.action, rule.action));
@@ -145,7 +154,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
145
154
  if (denied(input, rules))
146
155
  return { effect: "deny", rules };
147
156
  const all = [...rules, ...yield* savedRules()];
148
- const effects = input.resources.map((resource) => evaluate2(input.action, resource, all).effect);
157
+ const effects = input.resources.map((resource) => evaluate3(input.action, resource, all).effect);
149
158
  const effect = effects.includes("ask") ? "ask" : "allow";
150
159
  const event = yield* hooks.trigger("permission", "evaluate", {
151
160
  sessionID: input.sessionID,
@@ -156,11 +165,22 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
156
165
  source: input.source,
157
166
  effect
158
167
  });
159
- return { effect: event.effect, message: event.message, rules: all };
168
+ const unattended = yield* Unattended2;
169
+ if (event.effect !== "ask" || unattended === undefined)
170
+ return { effect: event.effect, message: event.message, rules: all };
171
+ const settled = [...all, ...unattended];
172
+ const allowed = input.resources.every((resource) => evaluate3(input.action, resource, settled).effect === "allow");
173
+ if (allowed)
174
+ return { effect: "allow", rules: all };
175
+ return {
176
+ effect: "deny",
177
+ message: `Permission ${input.action} needs approval, and nobody is present to give it`,
178
+ rules: all
179
+ };
160
180
  });
161
181
  function request(input, message) {
162
182
  return {
163
- id: input.id ?? ID8.create(),
183
+ id: input.id ?? ID6.create(),
164
184
  sessionID: input.sessionID,
165
185
  action: input.action,
166
186
  resources: input.resources,
@@ -185,7 +205,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
185
205
  }));
186
206
  const ask = Effect.fn("Permission.ask")(function* (input) {
187
207
  if (closed)
188
- return { id: input.id ?? ID8.create(), effect: "deny" };
208
+ return { id: input.id ?? ID6.create(), effect: "deny" };
189
209
  const result = yield* evaluateInput(input);
190
210
  const value = request(input, result.message);
191
211
  if (result.effect === "ask")
@@ -282,12 +302,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
282
302
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
283
303
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
284
304
  });
285
- return Service66.of({ ask, assert, assertNotDenied, reply, get, forSession, list, close });
305
+ return Service55.of({ ask, assert, assertNotDenied, reply, get, forSession, list, close });
286
306
  }));
287
- var node69 = makeLocationNode({
288
- service: Service66,
307
+ var node58 = makeLocationNode({
308
+ service: Service55,
289
309
  layer,
290
- deps: [node90, node84, node76, node71, node70, node74]
310
+ deps: [node89, node87, node76, node59, node60, node61]
291
311
  });
292
312
 
293
- export { PermissionEffect, ID8, Source5, Request3, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service66, node69, exports_permission, Rule2, Ruleset2, Event12 };
313
+ export { PermissionEffect, ID6, Source4, Request3, Reply2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate3, merge2, Service55, node58, exports_permission, Rule2, Ruleset2, Event9 };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./form-emrn6kk6.js";
7
+ } from "./ripgrep-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";