@opencode/core 0.0.0-dev-21517 → 0.0.0-dev-21528

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +75 -75
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{location-activity-pp22040a.js → ripgrep-01mpbv93.js} +35 -35
  8. package/dist/chunks/{location-activity-5h6tfdbz.js → ripgrep-01shgzdc.js} +3 -3
  9. package/dist/chunks/{location-activity-02mvvr71.js → ripgrep-02mvvr71.js} +3 -3
  10. package/dist/chunks/{location-activity-6azzqc0z.js → ripgrep-02vamycj.js} +5 -5
  11. package/dist/chunks/{location-activity-034tev2y.js → ripgrep-034tev2y.js} +2 -2
  12. package/dist/chunks/{location-activity-92p7xx7n.js → ripgrep-059731j3.js} +5 -5
  13. package/dist/chunks/{location-activity-njhqdk9p.js → ripgrep-0jq9fyba.js} +9 -9
  14. package/dist/chunks/{location-activity-fcrkznn8.js → ripgrep-0jwsre1p.js} +5 -5
  15. package/dist/chunks/{location-activity-gs3gp2dw.js → ripgrep-0n64x4tw.js} +30 -30
  16. package/dist/chunks/{location-activity-6t960epn.js → ripgrep-0p01dw92.js} +13 -13
  17. package/dist/chunks/{location-activity-7ppyhzjx.js → ripgrep-0rhcgknv.js} +8 -8
  18. package/dist/chunks/{location-activity-0vbcp93d.js → ripgrep-0vbcp93d.js} +2 -2
  19. package/dist/chunks/{location-activity-f54rk091.js → ripgrep-0vh2wh8r.js} +23 -23
  20. package/dist/chunks/{location-activity-1pkb9xf6.js → ripgrep-0z5rwn5b.js} +3 -3
  21. package/dist/chunks/{location-activity-e247ns4g.js → ripgrep-10c60s01.js} +41 -41
  22. package/dist/chunks/{location-activity-1ep2p91f.js → ripgrep-1ep2p91f.js} +2 -2
  23. package/dist/chunks/{location-activity-bjx1sjef.js → ripgrep-1ffvrpkg.js} +6 -6
  24. package/dist/chunks/{location-activity-pzbyjs7h.js → ripgrep-1jbzqkv3.js} +8 -8
  25. package/dist/chunks/{location-activity-ykdjanh2.js → ripgrep-1jjmp4ry.js} +22 -22
  26. package/dist/chunks/{location-activity-djjr2x20.js → ripgrep-1kr28b9y.js} +11 -14
  27. package/dist/chunks/{location-activity-28c9dwea.js → ripgrep-1t3k43qg.js} +5 -5
  28. package/dist/chunks/{location-activity-fgdtfedm.js → ripgrep-1w3jgprt.js} +35 -35
  29. package/dist/chunks/{location-activity-gd1x13z4.js → ripgrep-1x7nm4pt.js} +11 -11
  30. package/dist/chunks/{location-activity-rbg9fbf6.js → ripgrep-252xprac.js} +34 -34
  31. package/dist/chunks/{location-activity-rz270s8p.js → ripgrep-2awrrk9p.js} +17 -17
  32. package/dist/chunks/{location-activity-0qmzksdr.js → ripgrep-2qn0jgtg.js} +51 -51
  33. package/dist/chunks/{location-activity-r2m716tb.js → ripgrep-2sejkfem.js} +9 -9
  34. package/dist/chunks/{location-activity-dqja8dw2.js → ripgrep-30exac31.js} +31 -31
  35. package/dist/chunks/{location-activity-537fk6rv.js → ripgrep-36n1s7v8.js} +21 -21
  36. package/dist/chunks/{location-activity-jhfd3768.js → ripgrep-3842yvza.js} +41 -41
  37. package/dist/chunks/{location-activity-bmbhqgdj.js → ripgrep-3dk8yxk5.js} +38 -39
  38. package/dist/chunks/{location-activity-1rtxx7gs.js → ripgrep-3epxp6vs.js} +21 -21
  39. package/dist/chunks/{location-activity-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{location-activity-3hwn7j4h.js → ripgrep-3hwn7j4h.js} +2 -2
  41. package/dist/chunks/{location-activity-9t9dtkqe.js → ripgrep-3n7ky5ef.js} +14 -14
  42. package/dist/chunks/{location-activity-y1bnj3c2.js → ripgrep-3qs99gjb.js} +26 -26
  43. package/dist/chunks/{location-activity-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{location-activity-90t6v735.js → ripgrep-3x7f1rzc.js} +9 -9
  45. package/dist/chunks/{location-activity-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{location-activity-nxk5tgz1.js → ripgrep-40dgfgpg.js} +22 -22
  47. package/dist/chunks/{location-activity-vbz8v6qj.js → ripgrep-41fykjt6.js} +9 -9
  48. package/dist/chunks/{location-activity-7y1sbygh.js → ripgrep-4314yh8e.js} +4 -4
  49. package/dist/chunks/{location-activity-7t5avhxh.js → ripgrep-4323h7yk.js} +9 -9
  50. package/dist/chunks/{location-activity-n8vdnqrc.js → ripgrep-47jkzegy.js} +5 -5
  51. package/dist/chunks/{location-activity-paeq8bm7.js → ripgrep-4pq9qanv.js} +32 -32
  52. package/dist/chunks/{location-activity-d5c0yphb.js → ripgrep-4rv5m1hd.js} +16 -16
  53. package/dist/chunks/{location-activity-dagxvrjx.js → ripgrep-51cc7nn0.js} +5 -5
  54. package/dist/chunks/{location-activity-tegs1ycp.js → ripgrep-51f5btjf.js} +6 -6
  55. package/dist/chunks/{location-activity-56cza17w.js → ripgrep-52cc258v.js} +12 -12
  56. package/dist/chunks/{location-activity-fd8vcgz6.js → ripgrep-52gmg6gk.js} +22 -22
  57. package/dist/chunks/{location-activity-5h58n3v7.js → ripgrep-5cvjwq3s.js} +24 -24
  58. package/dist/chunks/{location-activity-jtstryge.js → ripgrep-5czmpw7c.js} +4 -4
  59. package/dist/chunks/{location-activity-a9drt9e7.js → ripgrep-5dgwy7vk.js} +11 -11
  60. package/dist/chunks/{location-activity-z0ydvj27.js → ripgrep-5g57z1ma.js} +4 -4
  61. package/dist/chunks/{location-activity-5m9w47nd.js → ripgrep-5m9w47nd.js} +1 -1
  62. package/dist/chunks/{location-activity-mpyev40f.js → ripgrep-5qsp4wg3.js} +9 -9
  63. package/dist/chunks/{location-activity-0bmgx1nz.js → ripgrep-5sk42kyx.js} +11 -11
  64. package/dist/chunks/{location-activity-2evmdc3g.js → ripgrep-5t2kw4pk.js} +17 -17
  65. package/dist/chunks/{location-activity-am1tmpj5.js → ripgrep-5w5a4wvv.js} +10 -10
  66. package/dist/chunks/{location-activity-zcjqesvk.js → ripgrep-644y02x9.js} +24 -24
  67. package/dist/chunks/{location-activity-6827pfxn.js → ripgrep-6827pfxn.js} +1 -1
  68. package/dist/chunks/{location-activity-jyx3vsn7.js → ripgrep-6bc70xnv.js} +1 -1
  69. package/dist/chunks/{location-activity-yeqk0rnt.js → ripgrep-6cg5s87t.js} +22 -22
  70. package/dist/chunks/{location-activity-h28sqj9e.js → ripgrep-6fx9ws93.js} +24 -24
  71. package/dist/chunks/{location-activity-4av8mw61.js → ripgrep-6nd0dxps.js} +37 -37
  72. package/dist/chunks/{location-activity-5ybyrtj9.js → ripgrep-6w56n6fk.js} +12 -12
  73. package/dist/chunks/{location-activity-6xb47vfp.js → ripgrep-6xb47vfp.js} +1 -1
  74. package/dist/chunks/{location-activity-h92dknr7.js → ripgrep-6z448gwt.js} +17 -17
  75. package/dist/chunks/{location-activity-5cb9jvgc.js → ripgrep-6ze0vk8j.js} +9 -9
  76. package/dist/chunks/{location-activity-1r3g6d8r.js → ripgrep-71syg536.js} +20 -20
  77. package/dist/chunks/ripgrep-73kg42pk.js +26 -0
  78. package/dist/chunks/{location-activity-m3yk03ze.js → ripgrep-75qa566n.js} +14 -14
  79. package/dist/chunks/{location-activity-775gj3j1.js → ripgrep-775gj3j1.js} +2 -2
  80. package/dist/chunks/ripgrep-77w5wkn6.js +523 -0
  81. package/dist/chunks/{location-activity-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{location-activity-jj6wnavt.js → ripgrep-7gs737wr.js} +6 -6
  83. package/dist/chunks/{location-activity-nz7m2gc2.js → ripgrep-7gxjxwcg.js} +7 -7
  84. package/dist/chunks/{location-activity-ndmy5zdf.js → ripgrep-7n3ryd6m.js} +10 -10
  85. package/dist/chunks/{location-activity-j97xjg52.js → ripgrep-7r3p37an.js} +4 -4
  86. package/dist/chunks/{location-activity-13cf78z7.js → ripgrep-7s3x24kv.js} +24 -24
  87. package/dist/chunks/{location-activity-f9s3qxhk.js → ripgrep-82zcy4t3.js} +11 -11
  88. package/dist/chunks/{location-activity-84txncab.js → ripgrep-84txncab.js} +1 -1
  89. package/dist/chunks/{location-activity-yn3pj0yh.js → ripgrep-8b5ta5tp.js} +13 -13
  90. package/dist/chunks/{location-activity-tj1d5qjh.js → ripgrep-8hf7gczp.js} +21 -21
  91. package/dist/chunks/{location-activity-8m6m0r52.js → ripgrep-8m6m0r52.js} +1 -1
  92. package/dist/chunks/{location-activity-8mywswrd.js → ripgrep-8mywswrd.js} +1 -1
  93. package/dist/chunks/{location-activity-cemgdj9d.js → ripgrep-8p6qz19e.js} +28 -28
  94. package/dist/chunks/{location-activity-x3y0w94c.js → ripgrep-8ra0dv5t.js} +14 -14
  95. package/dist/chunks/{location-activity-6pc27hjz.js → ripgrep-8sze2n9a.js} +2 -2
  96. package/dist/chunks/{location-activity-v13b12ef.js → ripgrep-942tz9ab.js} +4 -3
  97. package/dist/chunks/{location-activity-9996tgcy.js → ripgrep-98ann1j5.js} +50 -50
  98. package/dist/chunks/{location-activity-998yhzzq.js → ripgrep-998yhzzq.js} +3 -3
  99. package/dist/chunks/{location-activity-hjakaqqy.js → ripgrep-9g0nchv4.js} +11 -11
  100. package/dist/chunks/{location-activity-ds8w0hjc.js → ripgrep-9g0wqaaz.js} +23 -23
  101. package/dist/chunks/{location-activity-0tfy61zw.js → ripgrep-9gg87rr4.js} +16 -16
  102. package/dist/chunks/{location-activity-4n0ytgej.js → ripgrep-9qxkzfze.js} +18 -18
  103. package/dist/chunks/{location-activity-9wev2pgg.js → ripgrep-9wev2pgg.js} +1 -1
  104. package/dist/chunks/{location-activity-n0j76x42.js → ripgrep-a171qt9a.js} +4 -4
  105. package/dist/chunks/{location-activity-x69p0nft.js → ripgrep-a733a65v.js} +8 -8
  106. package/dist/chunks/{location-activity-2shtrhxh.js → ripgrep-a8nkje97.js} +11 -11
  107. package/dist/chunks/{location-activity-rbfexjrq.js → ripgrep-a9rqmse4.js} +19 -19
  108. package/dist/chunks/{location-activity-yxygda1x.js → ripgrep-afm8gjtq.js} +12 -12
  109. package/dist/chunks/{location-activity-a05vnbee.js → ripgrep-ak2q6qgs.js} +13 -13
  110. package/dist/chunks/{location-activity-b11a7tx7.js → ripgrep-b11a7tx7.js} +1 -1
  111. package/dist/chunks/{location-activity-zwkj30rw.js → ripgrep-b38r71wk.js} +15 -15
  112. package/dist/chunks/{location-activity-62skc2qf.js → ripgrep-b46x1qag.js} +20 -28
  113. package/dist/chunks/{location-activity-ngsdhqcd.js → ripgrep-b79mf2wv.js} +8 -8
  114. package/dist/chunks/{location-activity-bacj9t34.js → ripgrep-bacj9t34.js} +2 -2
  115. package/dist/chunks/{location-activity-bzeyqsqd.js → ripgrep-bzeyqsqd.js} +1 -1
  116. package/dist/chunks/{location-activity-er22t3x6.js → ripgrep-c00cthjb.js} +10 -10
  117. package/dist/chunks/{location-activity-jehyjhmh.js → ripgrep-c1gpv2mk.js} +14 -14
  118. package/dist/chunks/{location-activity-6fpm48m7.js → ripgrep-c1menwye.js} +44 -44
  119. package/dist/chunks/{location-activity-z3293m6q.js → ripgrep-cd921w3g.js} +2 -2
  120. package/dist/chunks/{location-activity-8gy1q646.js → ripgrep-cdd3neqk.js} +16 -16
  121. package/dist/chunks/{location-activity-01kf8yhn.js → ripgrep-cqqcamvx.js} +19 -19
  122. package/dist/chunks/{location-activity-v45697c8.js → ripgrep-cqz5yx1g.js} +5 -5
  123. package/dist/chunks/{location-activity-j9yyv4k7.js → ripgrep-crvmmsgx.js} +15 -15
  124. package/dist/chunks/{location-activity-3em0thmm.js → ripgrep-cvmnawzf.js} +8 -8
  125. package/dist/chunks/{location-activity-502kcfzs.js → ripgrep-d39q5djw.js} +50 -50
  126. package/dist/chunks/{location-activity-jshthe41.js → ripgrep-d4epdn84.js} +25 -25
  127. package/dist/chunks/ripgrep-ddq52evp.js +257 -0
  128. package/dist/chunks/{location-activity-mb0fhdf6.js → ripgrep-de70dmzp.js} +21 -21
  129. package/dist/chunks/{location-activity-2k71kv7p.js → ripgrep-dj68pnee.js} +4 -4
  130. package/dist/chunks/{location-activity-7w6118fp.js → ripgrep-dznbw734.js} +60 -60
  131. package/dist/chunks/{location-activity-e1eg6kc1.js → ripgrep-e1eg6kc1.js} +2 -2
  132. package/dist/chunks/{location-activity-eaj1djv9.js → ripgrep-eaj1djv9.js} +1 -1
  133. package/dist/chunks/{location-activity-eej6y6fw.js → ripgrep-eej6y6fw.js} +2 -2
  134. package/dist/chunks/{location-activity-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{location-activity-7jpqzpd7.js → ripgrep-eft6wwca.js} +33 -33
  136. package/dist/chunks/{location-activity-p06yjkdd.js → ripgrep-ehzasdw1.js} +7 -7
  137. package/dist/chunks/{location-activity-3q6hmgvb.js → ripgrep-epbjas11.js} +27 -27
  138. package/dist/chunks/{location-activity-q8s8gt54.js → ripgrep-eya67jsr.js} +13 -13
  139. package/dist/chunks/{location-activity-41mvb394.js → ripgrep-f0n6e319.js} +14 -14
  140. package/dist/chunks/{location-activity-bft0aa8z.js → ripgrep-f0s1k55d.js} +7 -7
  141. package/dist/chunks/{location-activity-08bp9gk4.js → ripgrep-f6md5hft.js} +18 -18
  142. package/dist/chunks/{location-activity-fcy631f0.js → ripgrep-fcy631f0.js} +1 -1
  143. package/dist/chunks/{location-activity-fczg31pg.js → ripgrep-fja19q0n.js} +5 -5
  144. package/dist/chunks/{location-activity-fn9t717r.js → ripgrep-fn9t717r.js} +3 -3
  145. package/dist/chunks/{location-activity-1xy4vzvc.js → ripgrep-g75wcaan.js} +3 -3
  146. package/dist/chunks/{location-activity-51j3hrvc.js → ripgrep-g7hwtxxj.js} +14 -14
  147. package/dist/chunks/{location-activity-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{location-activity-14y67es9.js → ripgrep-gd6ja0kz.js} +11 -11
  149. package/dist/chunks/{location-activity-ey557bc7.js → ripgrep-gfvcc5jk.js} +32 -32
  150. package/dist/chunks/{location-activity-0tf9ya7d.js → ripgrep-gkymdc6s.js} +9 -9
  151. package/dist/chunks/{location-activity-azwe5p1w.js → ripgrep-gqtdsdt7.js} +4 -4
  152. package/dist/chunks/{location-activity-ry6831an.js → ripgrep-gr1f03ws.js} +9 -9
  153. package/dist/chunks/{location-activity-gk08jtek.js → ripgrep-gsy1tnq9.js} +22 -22
  154. package/dist/chunks/{location-activity-1g6m8tcr.js → ripgrep-gtrnswr7.js} +35 -35
  155. package/dist/chunks/{location-activity-mpmg7r7y.js → ripgrep-h0164j0a.js} +28 -41
  156. package/dist/chunks/{location-activity-p269hv07.js → ripgrep-h4542y1d.js} +42 -42
  157. package/dist/chunks/{location-activity-e4hyd2jn.js → ripgrep-h4bqh5zx.js} +1 -1
  158. package/dist/chunks/{location-activity-6xryydhb.js → ripgrep-h6pdp2g8.js} +13 -13
  159. package/dist/chunks/{location-activity-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{location-activity-gqg0rsq2.js → ripgrep-hbprad8z.js} +33 -33
  161. package/dist/chunks/{location-activity-hgz4x7wa.js → ripgrep-hgz4x7wa.js} +1 -1
  162. package/dist/chunks/{location-activity-4r98eeww.js → ripgrep-hh4ravdp.js} +2 -2
  163. package/dist/chunks/{location-activity-4bag1db2.js → ripgrep-hpwndzcc.js} +5 -5
  164. package/dist/chunks/{location-activity-05w7bww5.js → ripgrep-j2hyxy1e.js} +25 -25
  165. package/dist/chunks/{location-activity-knqarm1q.js → ripgrep-ja3v411g.js} +13 -13
  166. package/dist/chunks/{location-activity-17jwbhm2.js → ripgrep-jc1xwfbq.js} +29 -36
  167. package/dist/chunks/{location-activity-vfm45d2v.js → ripgrep-jpjpmxdq.js} +5 -5
  168. package/dist/chunks/{location-activity-jqh9b0xq.js → ripgrep-jqh9b0xq.js} +1 -1
  169. package/dist/chunks/{location-activity-nm268en7.js → ripgrep-jwm9r2mk.js} +20 -20
  170. package/dist/chunks/{location-activity-cx6bqw11.js → ripgrep-jy7marrj.js} +7 -7
  171. package/dist/chunks/{location-activity-yfzpe4zr.js → ripgrep-k06ywqkh.js} +19 -19
  172. package/dist/chunks/{location-activity-x0nw82cs.js → ripgrep-k35zjkf6.js} +32 -32
  173. package/dist/chunks/{location-activity-snzfrcy2.js → ripgrep-k6k9nh3f.js} +14 -14
  174. package/dist/chunks/{location-activity-6yaymdqw.js → ripgrep-knfx0005.js} +32 -32
  175. package/dist/chunks/{location-activity-7bjvrdsa.js → ripgrep-kvapg1n1.js} +13 -13
  176. package/dist/chunks/{location-activity-kwb1v3vj.js → ripgrep-kwb1v3vj.js} +1 -1
  177. package/dist/chunks/{location-activity-7p7zayqc.js → ripgrep-m58m10rk.js} +1 -1
  178. package/dist/chunks/{location-activity-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{location-activity-0h785e3w.js → ripgrep-mah98xap.js} +5 -5
  180. package/dist/chunks/{location-activity-maspj1v3.js → ripgrep-maspj1v3.js} +1 -1
  181. package/dist/chunks/{location-activity-7m71vrgm.js → ripgrep-mjsx87f0.js} +81 -81
  182. package/dist/chunks/{location-activity-nmj46b78.js → ripgrep-mqjjpdbh.js} +11 -11
  183. package/dist/chunks/{location-activity-5ppd002q.js → ripgrep-mqqhst8y.js} +4 -4
  184. package/dist/chunks/{location-activity-0mwht5j2.js → ripgrep-mw7fnh7a.js} +6 -6
  185. package/dist/chunks/{location-activity-ebc4hc03.js → ripgrep-n8c97awd.js} +12 -12
  186. package/dist/chunks/{location-activity-v210v162.js → ripgrep-nhe1x14z.js} +7 -7
  187. package/dist/chunks/{location-activity-xv4hnfey.js → ripgrep-nq7ffrj9.js} +4 -4
  188. package/dist/chunks/{location-activity-zw0jf4j9.js → ripgrep-nxeywbky.js} +12 -12
  189. package/dist/chunks/{location-activity-khmqacep.js → ripgrep-ny8edt06.js} +4 -4
  190. package/dist/chunks/{location-activity-vp15kmxq.js → ripgrep-p353fx2f.js} +91 -91
  191. package/dist/chunks/{location-activity-p37cw4rj.js → ripgrep-p37cw4rj.js} +1 -1
  192. package/dist/chunks/{location-activity-pc1v25hk.js → ripgrep-pc1v25hk.js} +1 -1
  193. package/dist/chunks/{location-activity-xns282hb.js → ripgrep-pdjnt312.js} +35 -61
  194. package/dist/chunks/{location-activity-qbk8jmg9.js → ripgrep-pf494cc8.js} +50 -50
  195. package/dist/chunks/{location-activity-wt7mczz9.js → ripgrep-pf4vj2x2.js} +21 -21
  196. package/dist/chunks/{location-activity-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{location-activity-pknna89w.js → ripgrep-pknna89w.js} +1 -1
  198. package/dist/chunks/{location-activity-t6mbdjs5.js → ripgrep-pq7a6r0e.js} +66 -66
  199. package/dist/chunks/{location-activity-mnmsk3d0.js → ripgrep-q6s3sz9j.js} +38 -38
  200. package/dist/chunks/{location-activity-86zhaznv.js → ripgrep-q7x4taa7.js} +13 -13
  201. package/dist/chunks/{location-activity-0zkz45z3.js → ripgrep-qbvfc74m.js} +14 -14
  202. package/dist/chunks/{location-activity-cdtth5pq.js → ripgrep-qg4e8vdn.js} +28 -28
  203. package/dist/chunks/{location-activity-gp95sf5k.js → ripgrep-qger05k9.js} +11 -11
  204. package/dist/chunks/{location-activity-0tbd1f4q.js → ripgrep-qkhw7n0g.js} +29 -29
  205. package/dist/chunks/{location-activity-1gfxhtb5.js → ripgrep-qs8w2ksw.js} +20 -20
  206. package/dist/chunks/{location-activity-j17j0h0c.js → ripgrep-qsa492eb.js} +4 -4
  207. package/dist/chunks/{location-activity-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
  208. package/dist/chunks/{location-activity-bh8ad4py.js → ripgrep-r2610tc4.js} +15 -15
  209. package/dist/chunks/{location-activity-g9m76s7h.js → ripgrep-r4fxm0j1.js} +3 -3
  210. package/dist/chunks/{location-activity-r94pvvab.js → ripgrep-r94pvvab.js} +1 -1
  211. package/dist/chunks/{location-activity-stx7hq6g.js → ripgrep-rb2qm7yc.js} +15 -15
  212. package/dist/chunks/{location-activity-y9hbk2er.js → ripgrep-rcdfc04v.js} +11 -11
  213. package/dist/chunks/{location-activity-x2a7qa3g.js → ripgrep-rcwd9s5q.js} +21 -21
  214. package/dist/chunks/{location-activity-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{location-activity-b4bzws13.js → ripgrep-rew48swg.js} +13 -13
  216. package/dist/chunks/{location-activity-fn08h0vb.js → ripgrep-rk26gw9b.js} +35 -35
  217. package/dist/chunks/{location-activity-qa3qhgw8.js → ripgrep-ryr25ayn.js} +4 -4
  218. package/dist/chunks/{location-activity-kn9a3rt9.js → ripgrep-s247n0z7.js} +27 -27
  219. package/dist/chunks/{location-activity-801xp6nc.js → ripgrep-s7025g3c.js} +17 -17
  220. package/dist/chunks/{location-activity-sa6168g2.js → ripgrep-sa6168g2.js} +3 -3
  221. package/dist/chunks/{location-activity-jsz4j0f1.js → ripgrep-sb5w5fqd.js} +15 -15
  222. package/dist/chunks/{location-activity-4y59gdq5.js → ripgrep-srrvx50p.js} +22 -24
  223. package/dist/chunks/{location-activity-k31f5s50.js → ripgrep-ss64yk7e.js} +28 -28
  224. package/dist/chunks/{location-activity-qdz4w9cy.js → ripgrep-sye62zz8.js} +23 -23
  225. package/dist/chunks/{location-activity-syv4x271.js → ripgrep-syv4x271.js} +1 -1
  226. package/dist/chunks/{location-activity-4y06bmfc.js → ripgrep-t4jxebhw.js} +5 -5
  227. package/dist/chunks/{location-activity-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{location-activity-r6ph5k83.js → ripgrep-tc46500c.js} +16 -16
  229. package/dist/chunks/{location-activity-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{location-activity-tdstcens.js → ripgrep-tdstcens.js} +1 -1
  231. package/dist/chunks/{location-activity-5gzjtbzb.js → ripgrep-thjxzeng.js} +8 -8
  232. package/dist/chunks/{location-activity-pjpe8m1n.js → ripgrep-tppgbmaa.js} +11 -11
  233. package/dist/chunks/{location-activity-asfdzfp1.js → ripgrep-ttnk9ntm.js} +21 -21
  234. package/dist/chunks/{location-activity-tyytaxap.js → ripgrep-tyytaxap.js} +1 -1
  235. package/dist/chunks/{location-activity-v7p4zvkq.js → ripgrep-v7p4zvkq.js} +2 -2
  236. package/dist/chunks/{location-activity-ys29mwwj.js → ripgrep-v9fefnh7.js} +10 -10
  237. package/dist/chunks/{location-activity-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
  238. package/dist/chunks/{location-activity-1z0y9k0b.js → ripgrep-vewkg1sw.js} +15 -15
  239. package/dist/chunks/{location-activity-7xq5rfcp.js → ripgrep-vg6tgr51.js} +21 -21
  240. package/dist/chunks/{location-activity-kg1vtevg.js → ripgrep-vm4m688h.js} +4 -4
  241. package/dist/chunks/{location-activity-06f81zaa.js → ripgrep-vn93zb4z.js} +47 -47
  242. package/dist/chunks/{location-activity-k9jxnbe9.js → ripgrep-vp0mm0kc.js} +12 -12
  243. package/dist/chunks/{location-activity-1pev4fnm.js → ripgrep-vxg243jx.js} +4 -4
  244. package/dist/chunks/{location-activity-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
  245. package/dist/chunks/{location-activity-vzndzpkc.js → ripgrep-w1t606zy.js} +11 -11
  246. package/dist/chunks/{location-activity-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{location-activity-5mrq4sqf.js → ripgrep-w81ytvh4.js} +13 -30
  248. package/dist/chunks/{location-activity-wakvkjy4.js → ripgrep-wakvkjy4.js} +1 -1
  249. package/dist/chunks/{location-activity-wd87259q.js → ripgrep-wd87259q.js} +1 -1
  250. package/dist/chunks/{location-activity-dj2wvysw.js → ripgrep-wf8m51n0.js} +45 -45
  251. package/dist/chunks/{location-activity-cg46d0x0.js → ripgrep-wfyym0nk.js} +14 -14
  252. package/dist/chunks/{location-activity-kjdm35cs.js → ripgrep-wh6zw745.js} +5 -5
  253. package/dist/chunks/{location-activity-kxhnmrdj.js → ripgrep-x1833xj2.js} +23 -23
  254. package/dist/chunks/{location-activity-xqh94nq7.js → ripgrep-x874k1t8.js} +13 -13
  255. package/dist/chunks/{location-activity-ejg29mxq.js → ripgrep-xemxb09e.js} +20 -20
  256. package/dist/chunks/{location-activity-ma65t0cg.js → ripgrep-xf5qsyy6.js} +36 -36
  257. package/dist/chunks/{location-activity-drwq78ky.js → ripgrep-xfkkasph.js} +4 -4
  258. package/dist/chunks/{location-activity-wa5fpxh1.js → ripgrep-xjchawe4.js} +11 -11
  259. package/dist/chunks/{location-activity-ef32jdqr.js → ripgrep-xkhk1g30.js} +11 -11
  260. package/dist/chunks/{location-activity-qkgtb9e9.js → ripgrep-xsbswz4w.js} +9 -9
  261. package/dist/chunks/{location-activity-xw9fg8fb.js → ripgrep-xw9fg8fb.js} +2 -2
  262. package/dist/chunks/{location-activity-xw6avn3p.js → ripgrep-xwkencv2.js} +12 -12
  263. package/dist/chunks/{location-activity-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{location-activity-y71avatq.js → ripgrep-y71avatq.js} +1 -1
  265. package/dist/chunks/{location-activity-00x4qneg.js → ripgrep-y72zmemf.js} +8 -8
  266. package/dist/chunks/{location-activity-59jp7pd6.js → ripgrep-ygd2mcpa.js} +6 -6
  267. package/dist/chunks/{location-activity-d4mzham1.js → ripgrep-yk55vtb2.js} +21 -21
  268. package/dist/chunks/{location-activity-9sk1wf25.js → ripgrep-ywryrc1x.js} +4 -4
  269. package/dist/chunks/{location-activity-ydxzzmqj.js → ripgrep-z03qmy9y.js} +4 -4
  270. package/dist/chunks/{location-activity-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
  271. package/dist/chunks/{location-activity-z18fegx4.js → ripgrep-z18fegx4.js} +1 -1
  272. package/dist/chunks/{location-activity-1a140ev3.js → ripgrep-z37bqphs.js} +6 -6
  273. package/dist/chunks/{location-activity-dj5cvrpb.js → ripgrep-z4tnrsa6.js} +155 -155
  274. package/dist/chunks/{location-activity-2shfqszk.js → ripgrep-z7bf8532.js} +9 -9
  275. package/dist/chunks/{location-activity-a694798e.js → ripgrep-za6yq9hg.js} +5 -5
  276. package/dist/chunks/{location-activity-f73rjn58.js → ripgrep-zcrspsvn.js} +4 -4
  277. package/dist/chunks/{location-activity-faea9xsf.js → ripgrep-zdhd8t02.js} +12 -12
  278. package/dist/chunks/{location-activity-w7e41agf.js → ripgrep-zg0hshr1.js} +5 -5
  279. package/dist/chunks/{location-activity-8dnrzmmm.js → ripgrep-zh0x9fg3.js} +37 -41
  280. package/dist/chunks/{location-activity-v4zywrnk.js → ripgrep-zhbt7eq1.js} +6 -6
  281. package/dist/chunks/{location-activity-8qyyddbw.js → ripgrep-zj9sjr7a.js} +30 -30
  282. package/dist/chunks/{location-activity-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{location-activity-ykfgt8p5.js → ripgrep-zvnbwra8.js} +13 -13
  284. package/dist/chunks/{location-activity-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{location-activity-8wbxkt1z.js → ripgrep-zy43x3f1.js} +4 -4
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +81 -81
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +116 -116
  295. package/dist/config/plugin/command.js +212 -212
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/compatibility.js +135 -135
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +116 -116
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +123 -123
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill-scan.js +1 -1
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +1 -1
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +121 -121
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +85 -85
  321. package/dist/database/database.js +76 -76
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  388. package/dist/database/migration.gen.js +51 -51
  389. package/dist/database/migration.js +53 -53
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +81 -81
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -95
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +97 -97
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +3 -3
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +76 -76
  413. package/dist/file-access.js +102 -102
  414. package/dist/file-mutation.js +96 -96
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +221 -221
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +99 -105
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +11 -17
  426. package/dist/filesystem.js +102 -108
  427. package/dist/form.js +84 -84
  428. package/dist/formatter/builtins.js +2 -2
  429. package/dist/formatter.js +85 -85
  430. package/dist/generate.js +101 -101
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +93 -93
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +360 -360
  455. package/dist/instruction-discovery.js +86 -86
  456. package/dist/instructions/builtins.js +89 -89
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +89 -89
  460. package/dist/job.js +80 -80
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -75
  463. package/dist/location-activity.js +159 -159
  464. package/dist/location-lifecycle.js +109 -109
  465. package/dist/location-service-map.js +88 -88
  466. package/dist/location-services.js +357 -357
  467. package/dist/location.js +87 -87
  468. package/dist/managed-policy.js +8 -8
  469. package/dist/mcp/client.js +93 -93
  470. package/dist/mcp/index.js +109 -109
  471. package/dist/mcp/instructions.js +140 -140
  472. package/dist/mcp/oauth.js +80 -80
  473. package/dist/mcp/stdio.js +92 -92
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +93 -93
  476. package/dist/model-resolver.js +101 -101
  477. package/dist/model-retry.js +1 -1
  478. package/dist/model.js +102 -102
  479. package/dist/models-dev.js +109 -109
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +78 -84
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +107 -113
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +80 -80
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +77 -77
  489. package/dist/plugin/agent.js +76 -76
  490. package/dist/plugin/command.js +102 -102
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +218 -218
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +1 -1
  495. package/dist/plugin/internal.js +332 -332
  496. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  497. package/dist/plugin/models-dev.js +98 -98
  498. package/dist/plugin/module.js +117 -117
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +104 -104
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  503. package/dist/plugin/provider/azure.js +116 -116
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/chatgpt.js +116 -116
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +112 -112
  510. package/dist/plugin/provider/databricks.js +1 -1
  511. package/dist/plugin/provider/digitalocean.js +95 -95
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/github-copilot.js +97 -97
  515. package/dist/plugin/provider/gitlab.js +95 -95
  516. package/dist/plugin/provider/google-vertex.js +113 -113
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +80 -80
  519. package/dist/plugin/provider/lmstudio.js +125 -125
  520. package/dist/plugin/provider/local.js +122 -122
  521. package/dist/plugin/provider/modal.js +94 -94
  522. package/dist/plugin/provider/neon.js +1 -1
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +125 -125
  525. package/dist/plugin/provider/openai.js +116 -116
  526. package/dist/plugin/provider/opencode.js +103 -103
  527. package/dist/plugin/provider/openrouter.js +93 -93
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +81 -81
  530. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  531. package/dist/plugin/provider/sap-ai-core.js +93 -93
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  534. package/dist/plugin/provider/vercel.js +92 -92
  535. package/dist/plugin/provider/vllm.js +123 -123
  536. package/dist/plugin/provider/xai.js +93 -93
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +170 -170
  539. package/dist/plugin/sdk.js +78 -78
  540. package/dist/plugin/service.js +1 -1
  541. package/dist/plugin/skill.js +134 -134
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +347 -347
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +88 -88
  547. package/dist/plugin/vcs/hg.js +88 -88
  548. package/dist/plugin/verbosity.js +95 -95
  549. package/dist/plugin/warming.js +114 -114
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +225 -225
  558. package/dist/project/schema.js +6 -6
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +88 -88
  561. package/dist/provider.js +101 -101
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +99 -99
  565. package/dist/reference/instructions.js +91 -91
  566. package/dist/reference.js +89 -89
  567. package/dist/repository-cache.js +83 -83
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +97 -97
  571. package/dist/rpc.js +88 -88
  572. package/dist/schema.js +1 -1
  573. package/dist/session/affinity.js +1 -1
  574. package/dist/session/command.js +76 -76
  575. package/dist/session/compaction.js +134 -134
  576. package/dist/session/context.js +164 -164
  577. package/dist/session/diff.js +90 -90
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +3 -3
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +224 -224
  582. package/dist/session/execution.js +128 -128
  583. package/dist/session/generate.js +164 -164
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +97 -97
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +79 -79
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +99 -99
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +122 -122
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +132 -132
  595. package/dist/session/projector.js +91 -91
  596. package/dist/session/prompt.js +107 -107
  597. package/dist/session/recent-text.js +1 -1
  598. package/dist/session/revert.js +96 -96
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +231 -231
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +101 -101
  604. package/dist/session/runner/publish-llm-event.js +116 -116
  605. package/dist/session/runner/retry.js +3 -3
  606. package/dist/session/runner/step.js +126 -126
  607. package/dist/session/runner/to-llm-message.js +14 -14
  608. package/dist/session/schema.js +1 -1
  609. package/dist/session/session.js +165 -165
  610. package/dist/session/shell.js +130 -130
  611. package/dist/session/skill.js +105 -105
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +77 -77
  614. package/dist/session/store.js +89 -89
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +212 -212
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +168 -168
  619. package/dist/session/to-session-error.js +114 -114
  620. package/dist/session/transfer.js +221 -221
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +212 -212
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +15 -15
  627. package/dist/shell.js +132 -132
  628. package/dist/skill/discovery.js +2 -2
  629. package/dist/skill/instructions.js +109 -109
  630. package/dist/skill.js +112 -112
  631. package/dist/snapshot.js +89 -89
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +139 -139
  636. package/dist/tool/plugin/edit.js +122 -122
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +124 -124
  639. package/dist/tool/plugin/grep.js +126 -126
  640. package/dist/tool/plugin/mcp-resource.js +126 -126
  641. package/dist/tool/plugin/opencode.js +111 -111
  642. package/dist/tool/plugin/patch.js +124 -124
  643. package/dist/tool/plugin/question.js +105 -105
  644. package/dist/tool/plugin/read.js +125 -125
  645. package/dist/tool/plugin/shell.js +217 -217
  646. package/dist/tool/plugin/skill.js +115 -115
  647. package/dist/tool/plugin/subagent.js +219 -219
  648. package/dist/tool/plugin/todo.js +138 -138
  649. package/dist/tool/plugin/webfetch.js +115 -115
  650. package/dist/tool/plugin/websearch.js +116 -116
  651. package/dist/tool/plugin/write.js +116 -116
  652. package/dist/tool/read-filesystem.js +102 -102
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +12 -12
  656. package/dist/types/filesystem/search.d.ts +4 -8
  657. package/dist/types/filesystem/watcher.d.ts +6 -49
  658. package/dist/types/filesystem.d.ts +11 -13
  659. package/dist/types/permission/saved.d.ts +14 -22
  660. package/dist/types/permission.d.ts +14 -39
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +3 -3
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +89 -89
  679. package/dist/voice.js +88 -88
  680. package/dist/websearch.js +82 -82
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +8 -8
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +87 -87
  690. package/dist/worktree.js +90 -90
  691. package/package.json +8 -8
  692. package/dist/chunks/location-activity-4skwmgyb.js +0 -257
  693. package/dist/chunks/location-activity-d9k0s0cb.js +0 -523
  694. package/dist/chunks/location-activity-wfdkgkxy.js +0 -26
  695. /package/dist/chunks/{location-activity-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{location-activity-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{location-activity-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{location-activity-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{location-activity-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{location-activity-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{location-activity-2bv980vf.js → ripgrep-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{location-activity-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{location-activity-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{location-activity-3asan66x.js → ripgrep-3asan66x.js} +0 -0
  705. /package/dist/chunks/{location-activity-3t0ybcrp.js → ripgrep-3t0ybcrp.js} +0 -0
  706. /package/dist/chunks/{location-activity-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{location-activity-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{location-activity-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{location-activity-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{location-activity-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{location-activity-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{location-activity-53557ph1.js → ripgrep-53557ph1.js} +0 -0
  713. /package/dist/chunks/{location-activity-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{location-activity-5fjb7ams.js → ripgrep-5fjb7ams.js} +0 -0
  715. /package/dist/chunks/{location-activity-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{location-activity-6prwharc.js → ripgrep-6prwharc.js} +0 -0
  717. /package/dist/chunks/{location-activity-6q2bdcd1.js → ripgrep-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{location-activity-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{location-activity-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{location-activity-822emrt2.js → ripgrep-822emrt2.js} +0 -0
  721. /package/dist/chunks/{location-activity-84wd9syh.js → ripgrep-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{location-activity-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{location-activity-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{location-activity-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{location-activity-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{location-activity-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{location-activity-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{location-activity-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{location-activity-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{location-activity-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{location-activity-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{location-activity-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{location-activity-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{location-activity-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{location-activity-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{location-activity-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{location-activity-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{location-activity-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{location-activity-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{location-activity-df08tz66.js → ripgrep-df08tz66.js} +0 -0
  741. /package/dist/chunks/{location-activity-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{location-activity-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{location-activity-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{location-activity-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{location-activity-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{location-activity-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{location-activity-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{location-activity-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{location-activity-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{location-activity-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{location-activity-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{location-activity-g86h250q.js → ripgrep-g86h250q.js} +0 -0
  753. /package/dist/chunks/{location-activity-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{location-activity-gftt206x.js → ripgrep-gftt206x.js} +0 -0
  755. /package/dist/chunks/{location-activity-hcxmzztb.js → ripgrep-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{location-activity-hk9envan.js → ripgrep-hk9envan.js} +0 -0
  757. /package/dist/chunks/{location-activity-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{location-activity-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{location-activity-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{location-activity-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{location-activity-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{location-activity-jze0r7bz.js → ripgrep-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{location-activity-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{location-activity-m18g726c.js → ripgrep-m18g726c.js} +0 -0
  765. /package/dist/chunks/{location-activity-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{location-activity-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{location-activity-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{location-activity-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{location-activity-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{location-activity-pkyv6v7h.js → ripgrep-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{location-activity-pt1ss6jy.js → ripgrep-pt1ss6jy.js} +0 -0
  772. /package/dist/chunks/{location-activity-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{location-activity-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{location-activity-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{location-activity-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{location-activity-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{location-activity-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{location-activity-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{location-activity-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{location-activity-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{location-activity-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{location-activity-ve7vex1e.js → ripgrep-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{location-activity-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{location-activity-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{location-activity-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{location-activity-wjj7prxr.js → ripgrep-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{location-activity-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{location-activity-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{location-activity-x61499pn.js → ripgrep-x61499pn.js} +0 -0
  790. /package/dist/chunks/{location-activity-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{location-activity-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{location-activity-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{location-activity-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{location-activity-z5v4ffb3.js → ripgrep-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{location-activity-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
@@ -12,108 +12,108 @@ import {
12
12
  TextPage2,
13
13
  ListEntry3,
14
14
  ListPage2,
15
- Service40,
15
+ Service31,
16
16
  read2,
17
- node43,
17
+ node34,
18
18
  exports_read_filesystem
19
- } from "../chunks/location-activity-zwkj30rw.js";
20
- import"../chunks/location-activity-mpmg7r7y.js";
21
- import"../chunks/location-activity-17jwbhm2.js";
22
- import"../chunks/location-activity-tcezcvh9.js";
23
- import"../chunks/location-activity-0zkz45z3.js";
24
- import"../chunks/location-activity-maspj1v3.js";
25
- import"../chunks/location-activity-zcjqesvk.js";
26
- import"../chunks/location-activity-3hwn7j4h.js";
27
- import"../chunks/location-activity-v7p4zvkq.js";
28
- import"../chunks/location-activity-dqja8dw2.js";
29
- import"../chunks/location-activity-faypxj3z.js";
30
- import"../chunks/location-activity-59jp7pd6.js";
31
- import"../chunks/location-activity-eej6y6fw.js";
32
- import"../chunks/location-activity-hgz4x7wa.js";
33
- import"../chunks/location-activity-9wev2pgg.js";
34
- import"../chunks/location-activity-9t9dtkqe.js";
35
- import"../chunks/location-activity-bmbhqgdj.js";
36
- import"../chunks/location-activity-xw9fg8fb.js";
37
- import"../chunks/location-activity-034tev2y.js";
38
- import"../chunks/location-activity-wakvkjy4.js";
39
- import"../chunks/location-activity-v210v162.js";
40
- import"../chunks/location-activity-xw6avn3p.js";
41
- import"../chunks/location-activity-ef5x83kb.js";
42
- import"../chunks/location-activity-tazgh4e4.js";
43
- import"../chunks/location-activity-z5v4ffb3.js";
44
- import"../chunks/location-activity-qaymkmh1.js";
45
- import"../chunks/location-activity-8gy1q646.js";
46
- import"../chunks/location-activity-2710q6r3.js";
47
- import"../chunks/location-activity-y71avatq.js";
48
- import"../chunks/location-activity-qfa1cgps.js";
49
- import"../chunks/location-activity-stx7hq6g.js";
50
- import"../chunks/location-activity-0zkw76rk.js";
51
- import"../chunks/location-activity-1pkb9xf6.js";
52
- import"../chunks/location-activity-5h6tfdbz.js";
53
- import"../chunks/location-activity-7p7zayqc.js";
54
- import"../chunks/location-activity-4r98eeww.js";
55
- import"../chunks/location-activity-cx6bqw11.js";
56
- import"../chunks/location-activity-wd87259q.js";
57
- import"../chunks/location-activity-822emrt2.js";
58
- import"../chunks/location-activity-m9w0rfyh.js";
59
- import"../chunks/location-activity-w3wsvvr9.js";
60
- import"../chunks/location-activity-cf4snx6d.js";
61
- import"../chunks/location-activity-7bmhse3q.js";
62
- import"../chunks/location-activity-emrn6kk6.js";
63
- import"../chunks/location-activity-f0mxakyp.js";
64
- import"../chunks/location-activity-g9m76s7h.js";
65
- import"../chunks/location-activity-pkyv6v7h.js";
66
- import"../chunks/location-activity-qbk8jmg9.js";
67
- import"../chunks/location-activity-8wj87zfr.js";
68
- import"../chunks/location-activity-rcb2kzg1.js";
69
- import"../chunks/location-activity-m18g726c.js";
70
- import"../chunks/location-activity-jwfs4k6c.js";
71
- import"../chunks/location-activity-jzg6c2d5.js";
72
- import"../chunks/location-activity-sdp7kfr6.js";
73
- import"../chunks/location-activity-8n3pysct.js";
74
- import"../chunks/location-activity-ssg3fenm.js";
75
- import"../chunks/location-activity-n05xt0ee.js";
76
- import"../chunks/location-activity-bmr6ed5q.js";
77
- import"../chunks/location-activity-84wd9syh.js";
78
- import"../chunks/location-activity-j2ntwpah.js";
79
- import"../chunks/location-activity-e5kj55wp.js";
80
- import"../chunks/location-activity-43n2bw4t.js";
81
- import"../chunks/location-activity-n3j8tn72.js";
82
- import"../chunks/location-activity-53557ph1.js";
83
- import"../chunks/location-activity-q74kybfr.js";
84
- import"../chunks/location-activity-qb87gjwd.js";
85
- import"../chunks/location-activity-359p4xyc.js";
86
- import"../chunks/location-activity-msx8hqn2.js";
87
- import"../chunks/location-activity-g86h250q.js";
88
- import"../chunks/location-activity-2c3vjs8z.js";
89
- import"../chunks/location-activity-cvy3z8tj.js";
90
- import"../chunks/location-activity-1cnp2v09.js";
91
- import"../chunks/location-activity-wtztk69x.js";
92
- import"../chunks/location-activity-qrg20bc0.js";
93
- import"../chunks/location-activity-z9919s4g.js";
94
- import"../chunks/location-activity-aqzs7mqg.js";
95
- import"../chunks/location-activity-9a4afbnw.js";
96
- import"../chunks/location-activity-7akdwqpd.js";
97
- import"../chunks/location-activity-7m9af43g.js";
98
- import"../chunks/location-activity-w803qqfp.js";
99
- import"../chunks/location-activity-hk9envan.js";
100
- import"../chunks/location-activity-q3sfg36h.js";
101
- import"../chunks/location-activity-fd410y7t.js";
102
- import"../chunks/location-activity-y8f7s663.js";
103
- import"../chunks/location-activity-wer8tq1h.js";
104
- import"../chunks/location-activity-d9jj8t3e.js";
105
- import"../chunks/location-activity-a6k6eb26.js";
106
- import"../chunks/location-activity-d9fn303g.js";
107
- import"../chunks/location-activity-df08tz66.js";
108
- import"../chunks/location-activity-mp448xyj.js";
109
- import"../chunks/location-activity-17cy0kzp.js";
110
- import"../chunks/location-activity-ygaqb7jw.js";
111
- import"../chunks/location-activity-jr7sbwjy.js";
112
- import"../chunks/location-activity-4knz6hnm.js";
113
- import"../chunks/location-activity-bkyjaxrp.js";
114
- import"../chunks/location-activity-njntx4h6.js";
115
- import"../chunks/location-activity-f6n9ztr4.js";
116
- import"../chunks/location-activity-atq7p7m5.js";
19
+ } from "../chunks/ripgrep-b38r71wk.js";
20
+ import"../chunks/ripgrep-9wev2pgg.js";
21
+ import"../chunks/ripgrep-h0164j0a.js";
22
+ import"../chunks/ripgrep-jc1xwfbq.js";
23
+ import"../chunks/ripgrep-tcezcvh9.js";
24
+ import"../chunks/ripgrep-qbvfc74m.js";
25
+ import"../chunks/ripgrep-maspj1v3.js";
26
+ import"../chunks/ripgrep-644y02x9.js";
27
+ import"../chunks/ripgrep-v7p4zvkq.js";
28
+ import"../chunks/ripgrep-3hwn7j4h.js";
29
+ import"../chunks/ripgrep-30exac31.js";
30
+ import"../chunks/ripgrep-eej6y6fw.js";
31
+ import"../chunks/ripgrep-hgz4x7wa.js";
32
+ import"../chunks/ripgrep-faypxj3z.js";
33
+ import"../chunks/ripgrep-ygd2mcpa.js";
34
+ import"../chunks/ripgrep-3n7ky5ef.js";
35
+ import"../chunks/ripgrep-3dk8yxk5.js";
36
+ import"../chunks/ripgrep-nhe1x14z.js";
37
+ import"../chunks/ripgrep-xw9fg8fb.js";
38
+ import"../chunks/ripgrep-034tev2y.js";
39
+ import"../chunks/ripgrep-wakvkjy4.js";
40
+ import"../chunks/ripgrep-xwkencv2.js";
41
+ import"../chunks/ripgrep-tazgh4e4.js";
42
+ import"../chunks/ripgrep-ef5x83kb.js";
43
+ import"../chunks/ripgrep-qaymkmh1.js";
44
+ import"../chunks/ripgrep-z5v4ffb3.js";
45
+ import"../chunks/ripgrep-qfa1cgps.js";
46
+ import"../chunks/ripgrep-cdd3neqk.js";
47
+ import"../chunks/ripgrep-2710q6r3.js";
48
+ import"../chunks/ripgrep-y71avatq.js";
49
+ import"../chunks/ripgrep-rb2qm7yc.js";
50
+ import"../chunks/ripgrep-r4fxm0j1.js";
51
+ import"../chunks/ripgrep-pkyv6v7h.js";
52
+ import"../chunks/ripgrep-0zkw76rk.js";
53
+ import"../chunks/ripgrep-0z5rwn5b.js";
54
+ import"../chunks/ripgrep-01shgzdc.js";
55
+ import"../chunks/ripgrep-m58m10rk.js";
56
+ import"../chunks/ripgrep-hh4ravdp.js";
57
+ import"../chunks/ripgrep-jy7marrj.js";
58
+ import"../chunks/ripgrep-wd87259q.js";
59
+ import"../chunks/ripgrep-822emrt2.js";
60
+ import"../chunks/ripgrep-cf4snx6d.js";
61
+ import"../chunks/ripgrep-m9w0rfyh.js";
62
+ import"../chunks/ripgrep-w3wsvvr9.js";
63
+ import"../chunks/ripgrep-7bmhse3q.js";
64
+ import"../chunks/ripgrep-emrn6kk6.js";
65
+ import"../chunks/ripgrep-f0mxakyp.js";
66
+ import"../chunks/ripgrep-pf494cc8.js";
67
+ import"../chunks/ripgrep-aqzs7mqg.js";
68
+ import"../chunks/ripgrep-msx8hqn2.js";
69
+ import"../chunks/ripgrep-cvy3z8tj.js";
70
+ import"../chunks/ripgrep-n3j8tn72.js";
71
+ import"../chunks/ripgrep-7akdwqpd.js";
72
+ import"../chunks/ripgrep-j2ntwpah.js";
73
+ import"../chunks/ripgrep-53557ph1.js";
74
+ import"../chunks/ripgrep-wer8tq1h.js";
75
+ import"../chunks/ripgrep-jzg6c2d5.js";
76
+ import"../chunks/ripgrep-359p4xyc.js";
77
+ import"../chunks/ripgrep-df08tz66.js";
78
+ import"../chunks/ripgrep-43n2bw4t.js";
79
+ import"../chunks/ripgrep-m18g726c.js";
80
+ import"../chunks/ripgrep-a6k6eb26.js";
81
+ import"../chunks/ripgrep-bmr6ed5q.js";
82
+ import"../chunks/ripgrep-ssg3fenm.js";
83
+ import"../chunks/ripgrep-njntx4h6.js";
84
+ import"../chunks/ripgrep-qrg20bc0.js";
85
+ import"../chunks/ripgrep-84wd9syh.js";
86
+ import"../chunks/ripgrep-z9919s4g.js";
87
+ import"../chunks/ripgrep-bkyjaxrp.js";
88
+ import"../chunks/ripgrep-ygaqb7jw.js";
89
+ import"../chunks/ripgrep-hk9envan.js";
90
+ import"../chunks/ripgrep-q74kybfr.js";
91
+ import"../chunks/ripgrep-1cnp2v09.js";
92
+ import"../chunks/ripgrep-e5kj55wp.js";
93
+ import"../chunks/ripgrep-jr7sbwjy.js";
94
+ import"../chunks/ripgrep-jwfs4k6c.js";
95
+ import"../chunks/ripgrep-d9jj8t3e.js";
96
+ import"../chunks/ripgrep-sdp7kfr6.js";
97
+ import"../chunks/ripgrep-qb87gjwd.js";
98
+ import"../chunks/ripgrep-fd410y7t.js";
99
+ import"../chunks/ripgrep-8n3pysct.js";
100
+ import"../chunks/ripgrep-2c3vjs8z.js";
101
+ import"../chunks/ripgrep-rcb2kzg1.js";
102
+ import"../chunks/ripgrep-7m9af43g.js";
103
+ import"../chunks/ripgrep-4knz6hnm.js";
104
+ import"../chunks/ripgrep-9a4afbnw.js";
105
+ import"../chunks/ripgrep-n05xt0ee.js";
106
+ import"../chunks/ripgrep-f6n9ztr4.js";
107
+ import"../chunks/ripgrep-mp448xyj.js";
108
+ import"../chunks/ripgrep-g86h250q.js";
109
+ import"../chunks/ripgrep-q3sfg36h.js";
110
+ import"../chunks/ripgrep-atq7p7m5.js";
111
+ import"../chunks/ripgrep-17cy0kzp.js";
112
+ import"../chunks/ripgrep-y8f7s663.js";
113
+ import"../chunks/ripgrep-wtztk69x.js";
114
+ import"../chunks/ripgrep-8wj87zfr.js";
115
+ import"../chunks/ripgrep-w803qqfp.js";
116
+ import"../chunks/ripgrep-d9fn303g.js";
117
117
  export {
118
118
  BinaryFileError2 as BinaryFileError,
119
119
  FileContent2 as FileContent,
@@ -128,8 +128,8 @@ export {
128
128
  PageInput2 as PageInput,
129
129
  PathKindError2 as PathKindError,
130
130
  exports_read_filesystem as ReadToolFileSystem,
131
- Service40 as Service,
131
+ Service31 as Service,
132
132
  TextPage2 as TextPage,
133
- node43 as node,
133
+ node34 as node,
134
134
  read2 as read
135
135
  };
@@ -5,7 +5,7 @@ import {
5
5
  stringify2,
6
6
  normalizedName2,
7
7
  effectiveName2
8
- } from "../chunks/location-activity-5fjb7ams.js";
8
+ } from "../chunks/ripgrep-5fjb7ams.js";
9
9
  export {
10
10
  definition2 as definition,
11
11
  effectiveName2 as effectiveName,
@@ -4,19 +4,19 @@ import {
4
4
  RETENTION3,
5
5
  DIRECTORY3,
6
6
  fileName2,
7
- Service49,
8
- node53,
7
+ Service54,
8
+ node56,
9
9
  exports_tool_output2
10
- } from "./chunks/location-activity-wa5fpxh1.js";
11
- import"./chunks/location-activity-gd4qta3r.js";
12
- import"./chunks/location-activity-rdw6cm16.js";
10
+ } from "./chunks/ripgrep-xjchawe4.js";
11
+ import"./chunks/ripgrep-gd4qta3r.js";
12
+ import"./chunks/ripgrep-rdw6cm16.js";
13
13
  export {
14
14
  DIRECTORY3 as DIRECTORY,
15
15
  MAX_BYTES2 as MAX_BYTES,
16
16
  MAX_LINES2 as MAX_LINES,
17
17
  RETENTION3 as RETENTION,
18
- Service49 as Service,
18
+ Service54 as Service,
19
19
  exports_tool_output2 as ToolOutput,
20
20
  fileName2 as fileName,
21
- node53 as node
21
+ node56 as node
22
22
  };
package/dist/tool.js CHANGED
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  RegistrationError2,
3
- Service84,
4
- node88,
3
+ Service81,
4
+ node85,
5
5
  exports_tool,
6
6
  CallID2,
7
7
  Content3,
8
8
  Error5,
9
9
  FileContent3,
10
10
  TextContent2
11
- } from "./chunks/location-activity-yeqk0rnt.js";
12
- import"./chunks/location-activity-02mvvr71.js";
13
- import"./chunks/location-activity-syv4x271.js";
14
- import"./chunks/location-activity-ry6831an.js";
15
- import"./chunks/location-activity-5fjb7ams.js";
16
- import"./chunks/location-activity-y1fvbwt7.js";
17
- import"./chunks/location-activity-5gzjtbzb.js";
18
- import"./chunks/location-activity-rdw6cm16.js";
11
+ } from "./chunks/ripgrep-6cg5s87t.js";
12
+ import"./chunks/ripgrep-02mvvr71.js";
13
+ import"./chunks/ripgrep-syv4x271.js";
14
+ import"./chunks/ripgrep-5fjb7ams.js";
15
+ import"./chunks/ripgrep-gr1f03ws.js";
16
+ import"./chunks/ripgrep-thjxzeng.js";
17
+ import"./chunks/ripgrep-y1fvbwt7.js";
18
+ import"./chunks/ripgrep-rdw6cm16.js";
19
19
  export {
20
20
  CallID2 as CallID,
21
21
  Content3 as Content,
22
22
  Error5 as Error,
23
23
  FileContent3 as FileContent,
24
24
  RegistrationError2 as RegistrationError,
25
- Service84 as Service,
25
+ Service81 as Service,
26
26
  TextContent2 as TextContent,
27
27
  exports_tool as Tool,
28
- node88 as node
28
+ node85 as node
29
29
  };
@@ -1,20 +1,16 @@
1
1
  export * as FileSystemSearch from "./search.js";
2
- import { Context, Effect, Layer, Schema } from "effect";
2
+ import { Context, Effect, Layer } from "effect";
3
3
  import { FileSystem } from "@opencode/schema/filesystem";
4
4
  import { Location } from "../location.js";
5
- import { Ripgrep } from "../ripgrep.js";
6
5
  export interface Interface {
7
6
  readonly find: (input: FileSystem.FindInput) => Effect.Effect<FileSystem.Entry[]>;
8
7
  }
9
- export declare const Options: Schema.Struct<{
10
- readonly fff: Schema.optional<Schema.Boolean>;
11
- }>;
12
- export type Options = typeof Options.Type;
8
+ export interface Options {
9
+ readonly fff?: boolean;
10
+ }
13
11
  declare const Service_base: Context.ServiceClass<Service, "@opencode/FileSystem/Search", Interface>;
14
12
  export declare class Service extends Service_base {
15
13
  }
16
- export declare const ripgrepLayer: Layer.Layer<Service, never, Location.Service | Ripgrep.Service>;
17
14
  export declare const fffLayer: Layer.Layer<Service, never, Location.Service>;
18
- export declare const layer: (options?: Options) => Layer.Layer<Service, never, Location.Service | Ripgrep.Service>;
19
15
  export declare function configured(options?: Options): import("@opencode/util/effect/layer-node").Provider<Service, never, import("@opencode/util/effect/layer-node").Tag<"location">>;
20
16
  export declare const node: import("@opencode/util/effect/layer-node").Provider<Service, never, import("@opencode/util/effect/layer-node").Tag<"location">>;
@@ -1,47 +1,6 @@
1
1
  export * as Watcher from "./watcher.js";
2
2
  import type ParcelWatcher from "@parcel/watcher";
3
- import { Context, Effect, Layer, Schema, Stream } from "effect";
4
- export declare const Event: {
5
- Updated: Schema.Struct<{
6
- readonly id: Schema.brand<Schema.String, "Event.ID"> & {
7
- create: () => string & import("effect/Brand").Brand<"Event.ID">;
8
- };
9
- readonly created: Schema.Finite;
10
- readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
11
- readonly type: Schema.Literal<"filesystem.changed">;
12
- readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
13
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
14
- readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
15
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
16
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
17
- }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
18
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
19
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
20
- }>, never, never>;
21
- }>>>, Schema.optionalKey<Schema.Struct<{
22
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
23
- readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
24
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
25
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
26
- }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
27
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
28
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
29
- }>, never, never>;
30
- }>>, never, never>;
31
- readonly data: Schema.Struct<{
32
- readonly file: Schema.String;
33
- readonly event: Schema.Literals<readonly ["add", "change", "unlink"]>;
34
- }>;
35
- }> & {
36
- type: "filesystem.changed";
37
- durability: "ephemeral";
38
- durable: undefined;
39
- data: Schema.Struct<{
40
- readonly file: Schema.String;
41
- readonly event: Schema.Literals<readonly ["add", "change", "unlink"]>;
42
- }>;
43
- };
44
- };
3
+ import { Context, Effect, Layer, Stream } from "effect";
45
4
  export declare const hasNativeBinding: () => boolean;
46
5
  export type Update = ParcelWatcher.Event;
47
6
  export type WatchInput = {
@@ -56,7 +15,7 @@ export type WatchInput = {
56
15
  readonly type: "directory";
57
16
  readonly ignore?: readonly string[];
58
17
  };
59
- export type Subscription = {
18
+ type Subscription = {
60
19
  readonly unsubscribe: () => Promise<void>;
61
20
  /** Backend name for logging, e.g. "node" or "fs-events". */
62
21
  readonly backend?: string;
@@ -84,14 +43,13 @@ export interface Interface {
84
43
  /** onReady runs after native acquisition and listener registration, when the stream is consumed. */
85
44
  readonly subscribe: (input: WatchInput, onReady?: Effect.Effect<void>) => Effect.Effect<Stream.Stream<Update>>;
86
45
  }
87
- export declare const Options: Schema.Struct<{
88
- readonly enabled: Schema.optional<Schema.Boolean>;
89
- }>;
90
- export type Options = typeof Options.Type;
46
+ export interface Options {
47
+ readonly enabled?: boolean;
48
+ }
91
49
  declare const Service_base: Context.ServiceClass<Service, "@opencode/Watcher", Interface>;
92
50
  export declare class Service extends Service_base {
93
51
  }
94
- export interface TestInterface extends Interface {
52
+ interface TestInterface extends Interface {
95
53
  /** Delivers one update to every active watch whose target covers `update.path`. */
96
54
  readonly emit: (update: Update) => Effect.Effect<void>;
97
55
  /** Returns every subscribe call observed so far, in order. */
@@ -104,6 +62,5 @@ export declare const layer: (options?: Options) => Layer.Layer<Service, never, N
104
62
  /** Real subscription lifecycle with in-memory, path-filtered event delivery. */
105
63
  export declare const testLayer: Layer.Layer<Service | Test, never, never>;
106
64
  export declare const nativeLayer: Layer.Layer<Native, never, never>;
107
- export declare const nativeNode: import("@opencode/util/effect/layer-node").Provider<Native, never, import("@opencode/util/effect/layer-node").Tag<"global">>;
108
65
  export declare function configured(options?: Options): import("@opencode/util/effect/layer-node").Provider<Service, never, import("@opencode/util/effect/layer-node").Tag<"global">>;
109
66
  export declare const node: import("@opencode/util/effect/layer-node").Provider<Service, never, import("@opencode/util/effect/layer-node").Tag<"global">>;
@@ -1,17 +1,16 @@
1
1
  export * as FileSystem from "./filesystem.js";
2
2
  import { Context, Effect, type Option, type PlatformError, Schema, type Stream } from "effect";
3
+ import { RelativePath } from "./schema.js";
3
4
  import { Entry, FindInput, Write } from "@opencode/schema/filesystem";
4
5
  export { Entry, Match, Submatch } from "@opencode/schema/filesystem";
5
- export declare const ReadInput: Schema.Struct<{
6
- readonly path: Schema.brand<Schema.String, "RelativePath">;
7
- }>;
8
- export type ReadInput = typeof ReadInput.Type;
9
- export declare const WriteInput: Schema.Struct<{
6
+ export interface ReadInput {
7
+ readonly path: RelativePath;
8
+ }
9
+ export interface WriteInput {
10
10
  /** Absolute, or relative to the location directory. */
11
- readonly path: Schema.String;
12
- readonly data: Schema.Uint8Array;
13
- }>;
14
- export type WriteInput = typeof WriteInput.Type;
11
+ readonly path: string;
12
+ readonly data: Uint8Array;
13
+ }
15
14
  declare const NotFoundError_base: Schema.Class<NotFoundError, Schema.TaggedStruct<"FileSystem.NotFoundError", {
16
15
  readonly path: Schema.brand<Schema.String, "RelativePath">;
17
16
  }>, import("effect/Cause").YieldableError>;
@@ -39,10 +38,9 @@ export declare const Content: Schema.Struct<{
39
38
  readonly mime: Schema.String;
40
39
  }>;
41
40
  export type Content = typeof Content.Type;
42
- export declare const ListInput: Schema.Struct<{
43
- readonly path: Schema.optional<Schema.String>;
44
- }>;
45
- export type ListInput = typeof ListInput.Type;
41
+ export interface ListInput {
42
+ readonly path?: string;
43
+ }
46
44
  export { FindInput, Write };
47
45
  export declare const DEFAULT_SEARCH_LIMIT = 100;
48
46
  export declare const DEFAULT_SEARCH_TIMEOUT_MS = 30000;
@@ -1,5 +1,6 @@
1
1
  export * as PermissionSaved from "./saved.js";
2
2
  import { Cause, Context, Effect, Schema } from "effect";
3
+ import type { Project } from "@opencode/schema/project";
3
4
  export declare const ID: Schema.brand<Schema.String, "PermissionSaved.ID"> & {
4
5
  create: () => string & import("effect/Brand").Brand<"PermissionSaved.ID">;
5
6
  };
@@ -19,28 +20,19 @@ export declare const Info: Schema.Struct<{
19
20
  }>;
20
21
  }>;
21
22
  export type Info = typeof Info.Type;
22
- export declare const ListInput: Schema.Struct<{
23
- readonly projectID: Schema.optional<Schema.brand<Schema.String, "Project.ID"> & {
24
- global: string & import("effect/Brand").Brand<"Project.ID">;
25
- }>;
26
- }>;
27
- export type ListInput = typeof ListInput.Type;
28
- export declare const AddInput: Schema.Struct<{
29
- readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
30
- global: string & import("effect/Brand").Brand<"Project.ID">;
31
- };
32
- readonly action: Schema.String;
33
- readonly resources: Schema.$Array<Schema.String>;
34
- }>;
35
- export type AddInput = typeof AddInput.Type;
36
- export declare const UpdateInput: Schema.Struct<{
37
- readonly id: Schema.brand<Schema.String, "PermissionSaved.ID"> & {
38
- create: () => string & import("effect/Brand").Brand<"PermissionSaved.ID">;
39
- };
40
- readonly action: Schema.optional<Schema.String>;
41
- readonly resource: Schema.optional<Schema.String>;
42
- }>;
43
- export type UpdateInput = typeof UpdateInput.Type;
23
+ export interface ListInput {
24
+ readonly projectID?: Project.ID;
25
+ }
26
+ export interface AddInput {
27
+ readonly projectID: Project.ID;
28
+ readonly action: string;
29
+ readonly resources: readonly string[];
30
+ }
31
+ export interface UpdateInput {
32
+ readonly id: ID;
33
+ readonly action?: string;
34
+ readonly resource?: string;
35
+ }
44
36
  declare const NotFoundError_base: Schema.Class<NotFoundError, Schema.TaggedStruct<"PermissionSaved.NotFoundError", {
45
37
  readonly id: Schema.brand<Schema.String, "PermissionSaved.ID"> & {
46
38
  create: () => string & import("effect/Brand").Brand<"PermissionSaved.ID">;
@@ -1,6 +1,7 @@
1
1
  export * as Permission from "./permission.js";
2
2
  import { Context, Effect, Schema } from "effect";
3
3
  import { Permission } from "@opencode/schema/permission";
4
+ import { Agent } from "./agent.js";
4
5
  import { SessionErrors } from "./session/error.js";
5
6
  import { SessionSchema } from "./session/schema.js";
6
7
  declare const PermissionEffect: Schema.Literals<readonly ["allow", "deny", "ask"]>;
@@ -42,45 +43,19 @@ export declare const Request: Schema.Struct<{
42
43
  export type Request = typeof Request.Type;
43
44
  export declare const Reply: Schema.Literals<readonly ["once", "always", "reject"]>;
44
45
  export type Reply = typeof Reply.Type;
45
- export declare const AssertInput: Schema.Struct<{
46
- readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
47
- create: () => string & import("effect/Brand").Brand<"SessionID">;
48
- descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
49
- };
50
- readonly action: Schema.String;
51
- readonly resources: Schema.$Array<Schema.String>;
52
- readonly save: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
53
- readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
54
- readonly source: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.Struct<{
55
- readonly type: Schema.Literal<"tool">;
56
- readonly messageID: Schema.String;
57
- readonly id: Schema.String;
58
- }>]>>>, Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
59
- readonly type: Schema.Literal<"tool">;
60
- readonly messageID: Schema.String;
61
- readonly id: Schema.String;
62
- }>]>>, never, never>;
63
- readonly id: Schema.optional<Schema.brand<Schema.String, "Permission.ID"> & {
64
- create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
65
- }>;
66
- readonly agent: Schema.optional<Schema.brand<Schema.String, "Agent.ID">>;
67
- }>;
68
- export type AssertInput = typeof AssertInput.Type;
69
- export declare const ReplyInput: Schema.Struct<{
70
- readonly requestID: Schema.brand<Schema.String, "Permission.ID"> & {
71
- create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
72
- };
73
- readonly reply: Schema.Literals<readonly ["once", "always", "reject"]>;
74
- readonly message: Schema.optional<Schema.String>;
75
- }>;
76
- export type ReplyInput = typeof ReplyInput.Type;
77
- export declare const AskResult: Schema.Struct<{
78
- readonly id: Schema.brand<Schema.String, "Permission.ID"> & {
79
- create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
80
- };
81
- readonly effect: Schema.Literals<readonly ["allow", "deny", "ask"]>;
82
- }>;
83
- export type AskResult = typeof AskResult.Type;
46
+ export interface AssertInput extends Omit<Request, "id" | "message"> {
47
+ readonly id?: ID;
48
+ readonly agent?: Agent.ID;
49
+ }
50
+ export interface ReplyInput {
51
+ readonly requestID: ID;
52
+ readonly reply: Reply;
53
+ readonly message?: string;
54
+ }
55
+ export interface AskResult {
56
+ readonly id: ID;
57
+ readonly effect: Permission.Effect;
58
+ }
84
59
  export { Event } from "@opencode/schema/permission";
85
60
  declare const DeclinedError_base: Schema.Class<DeclinedError, Schema.TaggedStruct<"Permission.DeclinedError", {}>, import("effect/Cause").YieldableError>;
86
61
  export declare class DeclinedError extends DeclinedError_base {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  from2,
3
3
  exports_error_summary
4
- } from "../chunks/location-activity-3zsf4n22.js";
4
+ } from "../chunks/ripgrep-3zsf4n22.js";
5
5
  export {
6
6
  exports_error_summary as ErrorSummary,
7
7
  from2 as from
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  resolveGitExecutable2,
3
3
  gitExecutable2
4
- } from "../chunks/location-activity-ef5x83kb.js";
5
- import"../chunks/location-activity-qaymkmh1.js";
4
+ } from "../chunks/ripgrep-ef5x83kb.js";
5
+ import"../chunks/ripgrep-qaymkmh1.js";
6
6
  export {
7
7
  gitExecutable2 as gitExecutable,
8
8
  resolveGitExecutable2 as resolveGitExecutable
package/dist/util/lazy.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  lazy2
3
- } from "../chunks/location-activity-88xbtdfr.js";
3
+ } from "../chunks/ripgrep-88xbtdfr.js";
4
4
  export {
5
5
  lazy2 as lazy
6
6
  };
package/dist/util/slug.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Slug2
3
- } from "../chunks/location-activity-gebd4c9n.js";
3
+ } from "../chunks/ripgrep-gebd4c9n.js";
4
4
  export {
5
5
  Slug2 as Slug
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  estimate2,
3
3
  exports_token
4
- } from "../chunks/location-activity-h6vf3j39.js";
4
+ } from "../chunks/ripgrep-h6vf3j39.js";
5
5
  export {
6
6
  exports_token as Token,
7
7
  estimate2 as estimate
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "../chunks/location-activity-qaymkmh1.js";
3
+ } from "../chunks/ripgrep-qaymkmh1.js";
4
4
  export {
5
5
  which2 as which
6
6
  };