@opencode/core 0.0.0-dev-20105 → 0.0.0-dev-20109

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{worktree-c0bsws40.js → ripgrep-05y4kr4x.js} +31 -31
  8. package/dist/chunks/{worktree-tcjtg44a.js → ripgrep-0dknqqks.js} +312 -312
  9. package/dist/chunks/{worktree-5x326c62.js → ripgrep-0gjjjd3d.js} +10 -10
  10. package/dist/chunks/ripgrep-0mesazry.js +4 -0
  11. package/dist/chunks/{worktree-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{worktree-drmc2xrn.js → ripgrep-0pk44vc5.js} +14 -14
  13. package/dist/chunks/{worktree-vddp9fpw.js → ripgrep-0tdg9fh7.js} +26 -26
  14. package/dist/chunks/{worktree-s0agc963.js → ripgrep-0xwyr5pa.js} +8 -8
  15. package/dist/chunks/{worktree-tdhe5xga.js → ripgrep-16cax9zb.js} +8 -8
  16. package/dist/chunks/{worktree-92hycem4.js → ripgrep-1btww9rc.js} +16 -16
  17. package/dist/chunks/{worktree-62h9g2fv.js → ripgrep-1cvk9cz7.js} +18 -18
  18. package/dist/chunks/{worktree-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{worktree-4angy42y.js → ripgrep-1npsdg5v.js} +1 -1
  20. package/dist/chunks/{worktree-09tgrvw7.js → ripgrep-1t1zy8xf.js} +33 -33
  21. package/dist/chunks/{worktree-g9hze54y.js → ripgrep-1z0vrz80.js} +1 -1
  22. package/dist/chunks/{worktree-21r38tys.js → ripgrep-21r38tys.js} +1 -1
  23. package/dist/chunks/{worktree-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
  24. package/dist/chunks/{worktree-mdc5nwhd.js → ripgrep-2655jpvt.js} +12 -12
  25. package/dist/chunks/{worktree-tzcmwgv2.js → ripgrep-26ng8yap.js} +10 -10
  26. package/dist/chunks/{worktree-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{worktree-5bxn2d00.js → ripgrep-2chh63ks.js} +11 -11
  28. package/dist/chunks/{worktree-tn0aqsam.js → ripgrep-2f0bjgcj.js} +5 -5
  29. package/dist/chunks/{worktree-5214kcsh.js → ripgrep-2n93j33v.js} +42 -42
  30. package/dist/chunks/{worktree-khmcpx04.js → ripgrep-2r6y9ghf.js} +30 -30
  31. package/dist/chunks/{worktree-8b96hdfe.js → ripgrep-2rgdwba4.js} +10 -10
  32. package/dist/chunks/{worktree-4yvz2rcy.js → ripgrep-2vkv0cnq.js} +8 -8
  33. package/dist/chunks/{worktree-x8z8zpk0.js → ripgrep-2ydtv6st.js} +6 -6
  34. package/dist/chunks/{worktree-34q1q4g3.js → ripgrep-31c41nvv.js} +4 -4
  35. package/dist/chunks/{worktree-1ygqh575.js → ripgrep-33w4ejhs.js} +6 -6
  36. package/dist/chunks/{worktree-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{worktree-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{worktree-gv8bg5p6.js → ripgrep-3hrtkaxn.js} +14 -14
  39. package/dist/chunks/{worktree-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{worktree-4qw9jy8s.js → ripgrep-3sqmy3wr.js} +6 -6
  41. package/dist/chunks/{worktree-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{worktree-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{worktree-z4ygwn82.js → ripgrep-41wzkj33.js} +9 -9
  44. package/dist/chunks/{worktree-a71abfbd.js → ripgrep-425t0c3w.js} +18 -18
  45. package/dist/chunks/{worktree-r1qjztdq.js → ripgrep-42a2d12j.js} +25 -25
  46. package/dist/chunks/{worktree-9knhcppf.js → ripgrep-4492rknf.js} +1 -1
  47. package/dist/chunks/{worktree-vv8yfjwc.js → ripgrep-4mpn9kk4.js} +8 -8
  48. package/dist/chunks/{worktree-eyk4t588.js → ripgrep-4t7d9xcw.js} +48 -48
  49. package/dist/chunks/{worktree-wg821d8s.js → ripgrep-4w5p16dy.js} +6 -6
  50. package/dist/chunks/{worktree-2n4z0gea.js → ripgrep-4xg06f0d.js} +21 -21
  51. package/dist/chunks/{worktree-r7y78zcv.js → ripgrep-53gs95a7.js} +4 -4
  52. package/dist/chunks/{worktree-ckecvw8r.js → ripgrep-54tcyq79.js} +2 -2
  53. package/dist/chunks/{worktree-ba7qst6d.js → ripgrep-58dhpfm0.js} +24 -24
  54. package/dist/chunks/{worktree-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
  55. package/dist/chunks/{worktree-5ekn9679.js → ripgrep-5ekn9679.js} +1 -1
  56. package/dist/chunks/{worktree-61hs1ryt.js → ripgrep-5gjwztdx.js} +26 -26
  57. package/dist/chunks/{worktree-an32yxdc.js → ripgrep-5hv4n65z.js} +1 -1
  58. package/dist/chunks/{worktree-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{worktree-669tq793.js → ripgrep-669tq793.js} +1 -1
  60. package/dist/chunks/{worktree-s1hq0v60.js → ripgrep-6dxmk7tt.js} +13 -13
  61. package/dist/chunks/{worktree-1q9thhxg.js → ripgrep-6mjqy440.js} +9 -9
  62. package/dist/chunks/{worktree-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{worktree-ykzz1t9e.js → ripgrep-6snx8cw9.js} +35 -35
  64. package/dist/chunks/{worktree-6a4q1va2.js → ripgrep-6w2fwrwz.js} +4 -4
  65. package/dist/chunks/{worktree-qhmjmk1w.js → ripgrep-6x24maej.js} +25 -25
  66. package/dist/chunks/{worktree-hbyhqfhs.js → ripgrep-705e2ap1.js} +5 -5
  67. package/dist/chunks/{worktree-qj5cc9w6.js → ripgrep-72vmayfs.js} +5 -5
  68. package/dist/chunks/{worktree-rqj5z4yb.js → ripgrep-744da817.js} +6 -6
  69. package/dist/chunks/{worktree-z8zh437v.js → ripgrep-7bedxkg9.js} +6 -6
  70. package/dist/chunks/{worktree-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{worktree-7dqw4kz8.js → ripgrep-7dqw4kz8.js} +1 -1
  72. package/dist/chunks/{worktree-0f9afca0.js → ripgrep-7gvwkz6m.js} +5 -5
  73. package/dist/chunks/{worktree-zbdxx7ek.js → ripgrep-7jbh4qja.js} +11 -11
  74. package/dist/chunks/{worktree-3dvng5ry.js → ripgrep-7qvcttat.js} +20 -20
  75. package/dist/chunks/{worktree-8xr9e5ma.js → ripgrep-7s46rnhm.js} +13 -13
  76. package/dist/chunks/{worktree-4fa6t2zh.js → ripgrep-7zwhry2g.js} +65 -65
  77. package/dist/chunks/{worktree-a55n900e.js → ripgrep-804942v8.js} +11 -11
  78. package/dist/chunks/{worktree-kd3d1vys.js → ripgrep-819h2spw.js} +50 -50
  79. package/dist/chunks/{worktree-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{worktree-28rfmn1q.js → ripgrep-8dqv1p37.js} +14 -14
  81. package/dist/chunks/{worktree-qqhk6b98.js → ripgrep-8f0z3sdz.js} +3 -3
  82. package/dist/chunks/{worktree-nfpfdzzq.js → ripgrep-8pccpkv9.js} +12 -12
  83. package/dist/chunks/{worktree-pag0f7q6.js → ripgrep-8xx9hty4.js} +25 -25
  84. package/dist/chunks/{worktree-hy20qw0x.js → ripgrep-90vr5b65.js} +22 -22
  85. package/dist/chunks/{worktree-a4xtdcdy.js → ripgrep-95jpzte7.js} +30 -30
  86. package/dist/chunks/{worktree-an0ayh94.js → ripgrep-97m20h6r.js} +31 -31
  87. package/dist/chunks/{worktree-wchfvtxb.js → ripgrep-9855y9nb.js} +26 -26
  88. package/dist/chunks/{worktree-1myxn3kd.js → ripgrep-9p3mwjt3.js} +12 -12
  89. package/dist/chunks/{worktree-ky3seynh.js → ripgrep-a3r4dcrj.js} +2 -2
  90. package/dist/chunks/{worktree-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
  91. package/dist/chunks/{worktree-akgm0gv0.js → ripgrep-am0je15b.js} +4 -4
  92. package/dist/chunks/{worktree-y0adyrm5.js → ripgrep-awvmryqd.js} +6 -6
  93. package/dist/chunks/{worktree-qtq40051.js → ripgrep-b2ba3pyx.js} +43 -43
  94. package/dist/chunks/{worktree-ystnmmhc.js → ripgrep-b53anhnf.js} +17 -17
  95. package/dist/chunks/{worktree-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
  96. package/dist/chunks/{worktree-vsjn4aq5.js → ripgrep-b6t7v9jc.js} +9 -9
  97. package/dist/chunks/{worktree-z07pqspn.js → ripgrep-bjtzbw4r.js} +3 -3
  98. package/dist/chunks/{worktree-cb70gybk.js → ripgrep-bqwbr744.js} +20 -20
  99. package/dist/chunks/{worktree-gs1aapz6.js → ripgrep-btwdw4e2.js} +3 -3
  100. package/dist/chunks/{worktree-ak9z2h5t.js → ripgrep-bw9kwknq.js} +6 -6
  101. package/dist/chunks/{worktree-yf4jcbx9.js → ripgrep-bw9zjykr.js} +6 -6
  102. package/dist/chunks/{worktree-d16e32c3.js → ripgrep-c3cz5zdw.js} +3 -3
  103. package/dist/chunks/{worktree-2k8482vm.js → ripgrep-c3ya1t7r.js} +8 -8
  104. package/dist/chunks/{worktree-gze2a564.js → ripgrep-c8gh6ny5.js} +23 -23
  105. package/dist/chunks/{worktree-pa033vv9.js → ripgrep-cd5r1gbk.js} +22 -22
  106. package/dist/chunks/{worktree-szv3adj2.js → ripgrep-ceaa4qgf.js} +2 -2
  107. package/dist/chunks/{worktree-5935cfns.js → ripgrep-cf6kmm68.js} +8 -8
  108. package/dist/chunks/{worktree-3qhjhqs4.js → ripgrep-ch3dmysn.js} +20 -20
  109. package/dist/chunks/{worktree-qm63xfj9.js → ripgrep-cvpyv3es.js} +11 -11
  110. package/dist/chunks/{worktree-v5z7k5hc.js → ripgrep-d94x6axq.js} +7 -7
  111. package/dist/chunks/{worktree-ja2sysa1.js → ripgrep-dc5qshf6.js} +9 -9
  112. package/dist/chunks/{worktree-dc6tzc5b.js → ripgrep-dc6tzc5b.js} +2 -2
  113. package/dist/chunks/{worktree-n810d9f4.js → ripgrep-ddhqp0gw.js} +10 -10
  114. package/dist/chunks/{worktree-d858xzj7.js → ripgrep-dj68pnee.js} +4 -4
  115. package/dist/chunks/{worktree-bpktnpw7.js → ripgrep-dkhbpt2q.js} +16 -16
  116. package/dist/chunks/{worktree-dpkg50ah.js → ripgrep-dpkg50ah.js} +1 -1
  117. package/dist/chunks/{worktree-xfkkasph.js → ripgrep-drwq78ky.js} +4 -4
  118. package/dist/chunks/{worktree-vyjb9e8r.js → ripgrep-dsnt0r96.js} +24 -24
  119. package/dist/chunks/{worktree-z3aggnr2.js → ripgrep-dvddc9jp.js} +14 -14
  120. package/dist/chunks/{worktree-rjb11c09.js → ripgrep-dw287zgh.js} +24 -24
  121. package/dist/chunks/{worktree-qn4ba14w.js → ripgrep-e6hmchc5.js} +5 -5
  122. package/dist/chunks/{worktree-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{worktree-891pch5y.js → ripgrep-ejwjepw4.js} +9 -9
  124. package/dist/chunks/{worktree-9p4j1g8x.js → ripgrep-ekxfv3m2.js} +9 -9
  125. package/dist/chunks/{worktree-76g3v1wk.js → ripgrep-epzk0z51.js} +14 -14
  126. package/dist/chunks/{worktree-73tb2d7t.js → ripgrep-eq1pz5kg.js} +3 -3
  127. package/dist/chunks/{worktree-erw5rpbs.js → ripgrep-erw5rpbs.js} +2 -2
  128. package/dist/chunks/{worktree-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{worktree-sd1fa18v.js → ripgrep-eve8tttf.js} +9 -9
  130. package/dist/chunks/{worktree-qnksa3ad.js → ripgrep-ex8v1fw5.js} +18 -18
  131. package/dist/chunks/{worktree-m7d3ytap.js → ripgrep-exb0dkv2.js} +6 -6
  132. package/dist/chunks/{worktree-gs4tkc79.js → ripgrep-f5gy8qwh.js} +8 -8
  133. package/dist/chunks/{worktree-d8frqt36.js → ripgrep-fjryxzsp.js} +41 -41
  134. package/dist/chunks/{worktree-qa3qhgw8.js → ripgrep-fm2qvscf.js} +4 -4
  135. package/dist/chunks/{worktree-bhsdwye2.js → ripgrep-fm8vn1sm.js} +8 -8
  136. package/dist/chunks/{worktree-zv6910x8.js → ripgrep-fpbye8rx.js} +23 -23
  137. package/dist/chunks/{worktree-85hqfz1z.js → ripgrep-frfrmw9p.js} +43 -43
  138. package/dist/chunks/{worktree-h0v79wmk.js → ripgrep-fsm3tqf3.js} +19 -19
  139. package/dist/chunks/{worktree-mjymc32g.js → ripgrep-g190xswt.js} +4 -4
  140. package/dist/chunks/ripgrep-g7cqfbqx.js +26 -0
  141. package/dist/chunks/{worktree-3t84zwd8.js → ripgrep-gb2pgqaa.js} +8 -8
  142. package/dist/chunks/{worktree-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{worktree-4gy17at8.js → ripgrep-gffsep6t.js} +15 -15
  144. package/dist/chunks/{worktree-94ek1h2f.js → ripgrep-gfvb90ym.js} +2 -2
  145. package/dist/chunks/{worktree-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
  146. package/dist/chunks/{worktree-8xtjj1tw.js → ripgrep-gx9vf93g.js} +8 -8
  147. package/dist/chunks/{worktree-cqkjr9eb.js → ripgrep-gyt4m246.js} +24 -24
  148. package/dist/chunks/{worktree-rqz00b65.js → ripgrep-h008dk5n.js} +7 -7
  149. package/dist/chunks/{worktree-5qsvws2p.js → ripgrep-h3ezdy3d.js} +29 -29
  150. package/dist/chunks/{worktree-zt0bgn8n.js → ripgrep-h4ryydv3.js} +10 -10
  151. package/dist/chunks/{worktree-h6r3nrb9.js → ripgrep-h6r3nrb9.js} +1 -1
  152. package/dist/chunks/{worktree-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{worktree-mn20a28a.js → ripgrep-h7h63fbb.js} +11 -11
  154. package/dist/chunks/{worktree-4md04jt5.js → ripgrep-hf511911.js} +17 -17
  155. package/dist/chunks/{worktree-t5jfh8kc.js → ripgrep-hhbdsb5c.js} +12 -12
  156. package/dist/chunks/ripgrep-ht5y0zrb.js +18 -0
  157. package/dist/chunks/{worktree-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
  158. package/dist/chunks/{worktree-wzz0kxab.js → ripgrep-j8zzr2am.js} +8 -8
  159. package/dist/chunks/{worktree-xxynqx5z.js → ripgrep-jexxy024.js} +2 -2
  160. package/dist/chunks/{worktree-b4cpr7mt.js → ripgrep-jfw4kvwm.js} +10 -10
  161. package/dist/chunks/{worktree-kes845dh.js → ripgrep-jjvw6kth.js} +16 -16
  162. package/dist/chunks/{worktree-0bf3khfw.js → ripgrep-jpb21ef2.js} +32 -32
  163. package/dist/chunks/{worktree-zjp1cm63.js → ripgrep-jpga1jag.js} +13 -13
  164. package/dist/chunks/{worktree-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
  165. package/dist/chunks/{worktree-nxhz0hz5.js → ripgrep-k3wvx6tt.js} +11 -11
  166. package/dist/chunks/{worktree-b9mjazqy.js → ripgrep-k9fd4x5k.js} +26 -26
  167. package/dist/chunks/{worktree-qsj8tpbg.js → ripgrep-kbxe83ey.js} +15 -15
  168. package/dist/chunks/{worktree-f9w2621f.js → ripgrep-kc6jwj4t.js} +3 -3
  169. package/dist/chunks/{worktree-mmgzkw4b.js → ripgrep-kdn2p3kc.js} +8 -8
  170. package/dist/chunks/{worktree-jwjj0ar8.js → ripgrep-kf4qws2e.js} +18 -18
  171. package/dist/chunks/{worktree-mcphez6e.js → ripgrep-kqcn9zd9.js} +18 -18
  172. package/dist/chunks/{worktree-xbsm0w8x.js → ripgrep-kwpj5q3p.js} +16 -16
  173. package/dist/chunks/{worktree-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{worktree-nz0453qb.js → ripgrep-m5r7sx7n.js} +13 -13
  175. package/dist/chunks/{worktree-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{worktree-4ev63tw3.js → ripgrep-mad6kbbw.js} +30 -30
  177. package/dist/chunks/{worktree-97jrthbw.js → ripgrep-mcp2v02w.js} +24 -24
  178. package/dist/chunks/{worktree-s31e5dqq.js → ripgrep-mfedxs8q.js} +37 -37
  179. package/dist/chunks/{worktree-g8sy80jx.js → ripgrep-mjz6dtq3.js} +82 -82
  180. package/dist/chunks/{worktree-snbrpa5g.js → ripgrep-mm0ka8b4.js} +19 -19
  181. package/dist/chunks/{worktree-qv9g0gyx.js → ripgrep-mr1mqs0h.js} +28 -28
  182. package/dist/chunks/{worktree-7463r9za.js → ripgrep-mzgx6d9a.js} +16 -16
  183. package/dist/chunks/{worktree-11dqjexa.js → ripgrep-n37c4crj.js} +9 -9
  184. package/dist/chunks/{worktree-sn5dskjm.js → ripgrep-n5v8zpx7.js} +31 -31
  185. package/dist/chunks/{worktree-yfpm05b7.js → ripgrep-nme88h9m.js} +12 -12
  186. package/dist/chunks/{worktree-92a34jea.js → ripgrep-nn8h8wz0.js} +7 -7
  187. package/dist/chunks/{worktree-pnv527nz.js → ripgrep-nscznvay.js} +9 -9
  188. package/dist/chunks/{worktree-0xc744yh.js → ripgrep-p1bbnz1k.js} +21 -21
  189. package/dist/chunks/{worktree-n9c5x41c.js → ripgrep-p4sbrxvf.js} +14 -14
  190. package/dist/chunks/{worktree-t2q8n6ss.js → ripgrep-p58qpszk.js} +36 -36
  191. package/dist/chunks/{worktree-cj8h12nx.js → ripgrep-p7vkjt7n.js} +2 -2
  192. package/dist/chunks/{worktree-9hn6k4tm.js → ripgrep-pa8pe2x7.js} +8 -8
  193. package/dist/chunks/{worktree-dd33gdcs.js → ripgrep-pd3dj61d.js} +21 -21
  194. package/dist/chunks/{worktree-cpy6gm2a.js → ripgrep-pf2hb43r.js} +6 -6
  195. package/dist/chunks/{worktree-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{worktree-4hk27nw6.js → ripgrep-pjx725p7.js} +8 -8
  197. package/dist/chunks/{worktree-6fx6kqf3.js → ripgrep-pkmnv42m.js} +20 -20
  198. package/dist/chunks/{worktree-pknna89w.js → ripgrep-pknna89w.js} +1 -1
  199. package/dist/chunks/{worktree-ysav94bt.js → ripgrep-pm44nt25.js} +12 -12
  200. package/dist/chunks/{worktree-wd3x2cqz.js → ripgrep-psazpmmj.js} +2 -2
  201. package/dist/chunks/{worktree-ntzzmvrg.js → ripgrep-pw1qsvjz.js} +4 -4
  202. package/dist/chunks/{worktree-p31vw5zt.js → ripgrep-q0q0ghtn.js} +9 -9
  203. package/dist/chunks/{worktree-qc08edcd.js → ripgrep-q1rzhr09.js} +20 -20
  204. package/dist/chunks/{worktree-13gx36pc.js → ripgrep-q83x7ee3.js} +9 -9
  205. package/dist/chunks/{worktree-k3anzat6.js → ripgrep-q8yptj1b.js} +24 -24
  206. package/dist/chunks/{worktree-fggcrdhd.js → ripgrep-qkbj1a6c.js} +43 -43
  207. package/dist/chunks/{worktree-djszqvmq.js → ripgrep-qmqgtz8f.js} +9 -9
  208. package/dist/chunks/{worktree-z4pkgcrj.js → ripgrep-qns6abax.js} +28 -28
  209. package/dist/chunks/{worktree-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
  210. package/dist/chunks/{worktree-4a0nv7mx.js → ripgrep-qwjmgwmn.js} +8 -8
  211. package/dist/chunks/{worktree-tj8p0sq8.js → ripgrep-r0azrd8m.js} +15 -15
  212. package/dist/chunks/{worktree-1acjjqhc.js → ripgrep-r8xr0va3.js} +4 -4
  213. package/dist/chunks/{worktree-knc8nek6.js → ripgrep-rbwfq5hj.js} +3 -3
  214. package/dist/chunks/{worktree-bwvgaq24.js → ripgrep-rc6djb1p.js} +23 -23
  215. package/dist/chunks/{worktree-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{worktree-fzc1rrhc.js → ripgrep-rhb8mtwr.js} +124 -124
  217. package/dist/chunks/{worktree-py3kkmfq.js → ripgrep-rkprpv83.js} +2 -2
  218. package/dist/chunks/{worktree-3654ekc1.js → ripgrep-rzqbjppq.js} +81 -81
  219. package/dist/chunks/{worktree-25mrtkcq.js → ripgrep-s0n8d0w6.js} +16 -16
  220. package/dist/chunks/{worktree-nppmj0x6.js → ripgrep-s3c47tmb.js} +9 -9
  221. package/dist/chunks/{worktree-4j9vtrd0.js → ripgrep-s6191d05.js} +11 -11
  222. package/dist/chunks/{worktree-4n0pz7ta.js → ripgrep-s6qfrhx5.js} +32 -32
  223. package/dist/chunks/{worktree-rhjbct0v.js → ripgrep-s8d7rejh.js} +4 -4
  224. package/dist/chunks/{worktree-sr8hj6d6.js → ripgrep-sdb1ycr1.js} +18 -18
  225. package/dist/chunks/{worktree-pcmmyvsr.js → ripgrep-sf6b9an1.js} +4 -4
  226. package/dist/chunks/{worktree-ma48de29.js → ripgrep-sfkj0ta1.js} +5 -5
  227. package/dist/chunks/{worktree-7j2qha59.js → ripgrep-sm965ndy.js} +8 -8
  228. package/dist/chunks/{worktree-n2fk86tq.js → ripgrep-sq8asxn4.js} +3 -3
  229. package/dist/chunks/{worktree-dg2cj1yd.js → ripgrep-ssdqnhy0.js} +4 -4
  230. package/dist/chunks/{worktree-7d83w40e.js → ripgrep-sytsd09s.js} +1 -1
  231. package/dist/chunks/{worktree-tt2ps04y.js → ripgrep-t35zjnp2.js} +25 -25
  232. package/dist/chunks/{worktree-26300t6s.js → ripgrep-t78r90eq.js} +15 -15
  233. package/dist/chunks/{worktree-00z3vp5f.js → ripgrep-t9zs3egg.js} +4 -4
  234. package/dist/chunks/{worktree-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{worktree-qfgk5m70.js → ripgrep-tce32nx9.js} +3 -3
  236. package/dist/chunks/{worktree-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{worktree-p6eds5cr.js → ripgrep-td76kk5s.js} +9 -9
  238. package/dist/chunks/{worktree-tdstcens.js → ripgrep-tdstcens.js} +1 -1
  239. package/dist/chunks/{worktree-348pjw7k.js → ripgrep-tfdwhmtr.js} +12 -12
  240. package/dist/chunks/{worktree-87nphv2h.js → ripgrep-tjem4d8t.js} +5 -5
  241. package/dist/chunks/{worktree-gvrsjrvz.js → ripgrep-tmnzwg47.js} +11 -11
  242. package/dist/chunks/{worktree-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
  243. package/dist/chunks/{worktree-afjydgk3.js → ripgrep-tx92n959.js} +4 -4
  244. package/dist/chunks/{worktree-k53npxr2.js → ripgrep-v3sgzvyr.js} +1 -1
  245. package/dist/chunks/{worktree-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
  246. package/dist/chunks/{worktree-v7z2bvyd.js → ripgrep-vfjhn2wd.js} +4 -4
  247. package/dist/chunks/{worktree-m4b4b35v.js → ripgrep-vmmah2r8.js} +37 -37
  248. package/dist/chunks/{worktree-v5ysw9b9.js → ripgrep-vnth2392.js} +11 -11
  249. package/dist/chunks/{worktree-5vd11pkv.js → ripgrep-vs30p9kt.js} +26 -26
  250. package/dist/chunks/{worktree-904rfj5f.js → ripgrep-vseyvmg6.js} +15 -15
  251. package/dist/chunks/{worktree-ftxpvdc7.js → ripgrep-vshjx1fv.js} +15 -15
  252. package/dist/chunks/{worktree-3nyjywfs.js → ripgrep-vsvmmhnj.js} +13 -13
  253. package/dist/chunks/{worktree-0mr6qh9d.js → ripgrep-vyf9ssr3.js} +1 -1
  254. package/dist/chunks/{worktree-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{worktree-67k3ptxm.js → ripgrep-vzd7v1mf.js} +13 -13
  256. package/dist/chunks/{worktree-p7q1b1dk.js → ripgrep-w1drpbkf.js} +16 -16
  257. package/dist/chunks/{worktree-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{worktree-emv10mfg.js → ripgrep-w6vsjfye.js} +27 -27
  259. package/dist/chunks/{worktree-wd87259q.js → ripgrep-wd87259q.js} +1 -1
  260. package/dist/chunks/{worktree-0wgz3kfx.js → ripgrep-wehfp4sa.js} +6 -6
  261. package/dist/chunks/{worktree-1zhvft14.js → ripgrep-wmq21ajw.js} +16 -16
  262. package/dist/chunks/{worktree-4db8mzj7.js → ripgrep-wt2d6vc9.js} +3 -3
  263. package/dist/chunks/{worktree-53t702sg.js → ripgrep-ww3bgsgm.js} +45 -45
  264. package/dist/chunks/{worktree-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{worktree-fa3800w2.js → ripgrep-x1n40ejg.js} +5 -5
  266. package/dist/chunks/{worktree-8q0abqdy.js → ripgrep-x2s3qw17.js} +8 -8
  267. package/dist/chunks/{worktree-zk5bpfgp.js → ripgrep-xbfk4ev4.js} +9 -9
  268. package/dist/chunks/{worktree-e28zdnr3.js → ripgrep-xf4cnfq6.js} +3 -3
  269. package/dist/chunks/{worktree-6zsnk1nj.js → ripgrep-xf9es9j3.js} +11 -11
  270. package/dist/chunks/{worktree-xkntkrq7.js → ripgrep-xkntkrq7.js} +2 -2
  271. package/dist/chunks/{worktree-zp8n7hk2.js → ripgrep-xqcytcp0.js} +7 -7
  272. package/dist/chunks/{worktree-zqm7km32.js → ripgrep-xvkfwp2k.js} +6 -6
  273. package/dist/chunks/{worktree-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{worktree-h5m7e0fe.js → ripgrep-y54hr7f3.js} +9 -9
  275. package/dist/chunks/{worktree-wxffcvth.js → ripgrep-ybhbtxjg.js} +3 -3
  276. package/dist/chunks/{worktree-w6dwg7gz.js → ripgrep-yecy3dnv.js} +16 -16
  277. package/dist/chunks/{worktree-8hbfdwcy.js → ripgrep-yemq3d8b.js} +8 -8
  278. package/dist/chunks/{worktree-ssb8qcd9.js → ripgrep-yr0r81nx.js} +10 -10
  279. package/dist/chunks/{worktree-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{worktree-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
  281. package/dist/chunks/{worktree-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{worktree-yghvc19j.js → ripgrep-z2wpthz8.js} +12 -12
  283. package/dist/chunks/ripgrep-z4rsfxys.js +252 -0
  284. package/dist/chunks/{worktree-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
  285. package/dist/chunks/{worktree-k76fn4kw.js → ripgrep-zee1rnkq.js} +4 -4
  286. package/dist/chunks/{worktree-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{worktree-mvksx64m.js → ripgrep-zph2bqh4.js} +4 -4
  288. package/dist/chunks/{worktree-akfg0z59.js → ripgrep-zpx469nz.js} +14 -14
  289. package/dist/chunks/{worktree-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{worktree-nbpn5fgr.js → ripgrep-zv6hj0t9.js} +22 -22
  291. package/dist/chunks/{worktree-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +77 -77
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +139 -139
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +142 -142
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +124 -124
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +124 -124
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +83 -83
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +225 -225
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +9 -9
  431. package/dist/filesystem.js +100 -100
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +8 -8
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +1 -1
  465. package/dist/integration.js +78 -78
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +83 -83
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +106 -106
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +92 -92
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +78 -78
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +107 -107
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +2 -2
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +120 -120
  529. package/dist/plugin/provider/openai.js +92 -92
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +84 -84
  565. package/dist/provider.js +91 -91
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +96 -96
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +128 -128
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +3 -3
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +213 -213
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +212 -212
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +15 -15
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +125 -125
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +118 -118
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +120 -120
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +123 -123
  649. package/dist/tool/plugin/shell.js +215 -215
  650. package/dist/tool/plugin/skill.js +107 -107
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +96 -96
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  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 +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +76 -76
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +94 -94
  699. package/package.json +8 -8
  700. package/dist/chunks/worktree-6kdq0pjd.js +0 -4
  701. package/dist/chunks/worktree-qc068m1q.js +0 -18
  702. package/dist/chunks/worktree-ybrqsgzm.js +0 -252
  703. package/dist/chunks/worktree-zw0azyx1.js +0 -26
  704. /package/dist/chunks/{worktree-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{worktree-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{worktree-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{worktree-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{worktree-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{worktree-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{worktree-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{worktree-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{worktree-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{worktree-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{worktree-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{worktree-3asan66x.js → ripgrep-3asan66x.js} +0 -0
  716. /package/dist/chunks/{worktree-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{worktree-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{worktree-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{worktree-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{worktree-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{worktree-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{worktree-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{worktree-53557ph1.js → ripgrep-53557ph1.js} +0 -0
  724. /package/dist/chunks/{worktree-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{worktree-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{worktree-6prwharc.js → ripgrep-6prwharc.js} +0 -0
  727. /package/dist/chunks/{worktree-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{worktree-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{worktree-822emrt2.js → ripgrep-822emrt2.js} +0 -0
  730. /package/dist/chunks/{worktree-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{worktree-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{worktree-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{worktree-922hggd3.js → ripgrep-922hggd3.js} +0 -0
  734. /package/dist/chunks/{worktree-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{worktree-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{worktree-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{worktree-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{worktree-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{worktree-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{worktree-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{worktree-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{worktree-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{worktree-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{worktree-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{worktree-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{worktree-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{worktree-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{worktree-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{worktree-df08tz66.js → ripgrep-df08tz66.js} +0 -0
  750. /package/dist/chunks/{worktree-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{worktree-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{worktree-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{worktree-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{worktree-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{worktree-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{worktree-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{worktree-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{worktree-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{worktree-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{worktree-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{worktree-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{worktree-g86h250q.js → ripgrep-g86h250q.js} +0 -0
  763. /package/dist/chunks/{worktree-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{worktree-gftt206x.js → ripgrep-gftt206x.js} +0 -0
  765. /package/dist/chunks/{worktree-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{worktree-hk9envan.js → ripgrep-hk9envan.js} +0 -0
  767. /package/dist/chunks/{worktree-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{worktree-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{worktree-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{worktree-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{worktree-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{worktree-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{worktree-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{worktree-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{worktree-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{worktree-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{worktree-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{worktree-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{worktree-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{worktree-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{worktree-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{worktree-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{worktree-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{worktree-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{worktree-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{worktree-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{worktree-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{worktree-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{worktree-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{worktree-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{worktree-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{worktree-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{worktree-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{worktree-x61499pn.js → ripgrep-x61499pn.js} +0 -0
  795. /package/dist/chunks/{worktree-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{worktree-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{worktree-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{worktree-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{worktree-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{worktree-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./worktree-922hggd3.js";
5
+ } from "./ripgrep-922hggd3.js";
6
6
  import {
7
- Service49,
8
- node52
9
- } from "./worktree-pa033vv9.js";
7
+ Service55,
8
+ node58
9
+ } from "./ripgrep-cd5r1gbk.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./worktree-8d7r5vzw.js";
12
+ } from "./ripgrep-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./worktree-9rqn6x4v.js";
15
+ } from "./ripgrep-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service18,
24
- node: () => node21
23
+ Service: () => Service54,
24
+ node: () => node57
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service18 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service54 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service18, Effect.gen(function* () {
67
- const environment = yield* Service49;
66
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
67
+ const environment = yield* Service55;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service18.of({
95
+ return Service54.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node21 = makeLocationNode({ service: Service18, layer, deps: [node52, RipgrepBinary2.node] });
178
+ var node57 = makeLocationNode({ service: Service54, layer, deps: [node58, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service18, node21, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service54, node57, exports_ripgrep };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service84
3
- } from "./worktree-gs1aapz6.js";
3
+ } from "./ripgrep-btwdw4e2.js";
4
4
  import {
5
- Service54
6
- } from "./worktree-yf4jcbx9.js";
5
+ Service62
6
+ } from "./ripgrep-bw9zjykr.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./worktree-qc068m1q.js";
9
+ } from "./ripgrep-ht5y0zrb.js";
10
10
  import {
11
11
  provenance2
12
- } from "./worktree-dg2cj1yd.js";
12
+ } from "./ripgrep-ssdqnhy0.js";
13
13
  import {
14
14
  preview2
15
- } from "./worktree-2k8482vm.js";
15
+ } from "./ripgrep-c3ya1t7r.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./worktree-0bf3khfw.js";
18
+ } from "./ripgrep-jpb21ef2.js";
19
19
  import {
20
- Service31
21
- } from "./worktree-3654ekc1.js";
20
+ Service24
21
+ } from "./ripgrep-rzqbjppq.js";
22
22
  import {
23
23
  __export
24
- } from "./worktree-9rqn6x4v.js";
24
+ } from "./ripgrep-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate2 = {};
28
- __export(exports_generate2, {
29
- SessionGenerate: () => exports_generate2,
27
+ var exports_generate = {};
28
+ __export(exports_generate, {
29
+ SessionGenerate: () => exports_generate,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service54;
35
+ const instances = yield* Service62;
36
36
  const database = yield* Service84;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service31;
40
+ const context = yield* Service24;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate2 };
74
+ export { generate2, exports_generate };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./ripgrep-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./worktree-dpkg50ah.js";
3
+ } from "./ripgrep-dpkg50ah.js";
4
4
  import {
5
- Service49,
6
- node52
7
- } from "./worktree-pa033vv9.js";
5
+ Service55,
6
+ node58
7
+ } from "./ripgrep-cd5r1gbk.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./ripgrep-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service21,
17
- node: () => node24,
16
+ Service: () => Service20,
17
+ node: () => node22,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service21 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service20 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service21, Effect.gen(function* () {
38
- const environment = yield* Service49;
37
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
38
+ const environment = yield* Service55;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service21.of({ withLock, write, writeTextPreservingBom });
59
+ return Service20.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node24 = makeLocationNode({ service: Service21, layer, deps: [node52] });
61
+ var node22 = makeLocationNode({ service: Service20, layer, deps: [node58] });
62
62
 
63
- export { Service21, readText2, syncTextBom2, node24, exports_file_mutation };
63
+ export { Service20, readText2, syncTextBom2, node22, exports_file_mutation };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./worktree-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";
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service77
3
- } from "./worktree-rqz00b65.js";
3
+ } from "./ripgrep-h008dk5n.js";
4
4
  import {
5
- Service49
6
- } from "./worktree-pa033vv9.js";
5
+ Service55
6
+ } from "./ripgrep-cd5r1gbk.js";
7
7
  import {
8
- Service21,
8
+ Service20,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./worktree-nz0453qb.js";
11
+ } from "./ripgrep-m5r7sx7n.js";
12
12
  import {
13
- Service72
14
- } from "./worktree-p7q1b1dk.js";
13
+ Service13
14
+ } from "./ripgrep-w1drpbkf.js";
15
15
  import {
16
- Service62
17
- } from "./worktree-ykzz1t9e.js";
16
+ Service67
17
+ } from "./ripgrep-6snx8cw9.js";
18
18
  import {
19
- Service22,
19
+ Service19,
20
20
  resolvePath2
21
- } from "./worktree-w6dwg7gz.js";
21
+ } from "./ripgrep-yecy3dnv.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./worktree-6prwharc.js";
24
+ } from "./ripgrep-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./worktree-9rqn6x4v.js";
27
+ } from "./ripgrep-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input9,
34
- Output: () => Output6,
35
- Plugin: () => Plugin26,
36
- name: () => name9
33
+ Input: () => Input11,
34
+ Output: () => Output8,
35
+ Plugin: () => Plugin13,
36
+ name: () => name11
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name9 = "edit";
43
- var Input9 = Schema.Struct({
42
+ var name11 = "edit";
43
+ var Input11 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output6 = Schema.Struct({
53
+ var Output8 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin26 = {
106
+ var Plugin13 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service22;
110
- const fileMutation = yield* Service21;
111
- const environment = yield* Service49;
112
- const formatter = yield* Service72;
109
+ const access = yield* Service19;
110
+ const fileMutation = yield* Service20;
111
+ const environment = yield* Service55;
112
+ const formatter = yield* Service13;
113
113
  const location = yield* Service77;
114
- const permission = yield* Service62;
114
+ const permission = yield* Service67;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name9,
116
+ name: name11,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input9,
120
- output: Output6,
119
+ input: Input11,
120
+ output: Output8,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin26 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name9, Input9, Output6, Plugin26, exports_edit };
197
+ export { name11, Input11, Output8, Plugin13, exports_edit };
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./worktree-3w5fmr99.js";
7
+ } from "./ripgrep-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./worktree-k3c624dm.js";
11
+ } from "./ripgrep-k3c624dm.js";
12
12
  import {
13
13
  create3
14
- } from "./worktree-rdw6cm16.js";
14
+ } from "./ripgrep-rdw6cm16.js";
15
15
  import {
16
- Service67,
17
- node70
18
- } from "./worktree-h5m7e0fe.js";
16
+ Service51,
17
+ node54
18
+ } from "./ripgrep-y54hr7f3.js";
19
19
  import {
20
- Service68,
21
- node71
22
- } from "./worktree-4a0nv7mx.js";
20
+ Service71,
21
+ node75
22
+ } from "./ripgrep-qwjmgwmn.js";
23
23
  import {
24
24
  match2
25
- } from "./worktree-y1fvbwt7.js";
25
+ } from "./ripgrep-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./worktree-9rqn6x4v.js";
28
+ } from "./ripgrep-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error5,
35
+ Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service66,
38
+ Service: () => Service50,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node69
41
+ node: () => node53
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service66 extends Context.Service()("@opencode/Tool") {
54
+ class Service50 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service66, Effect.gen(function* () {
57
- const hooks = yield* Service68;
58
- const image = yield* Service67;
56
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
57
+ const hooks = yield* Service71;
58
+ const image = yield* Service51;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service66.of({
187
+ return Service50.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node69 = makeLocationNode({
277
- service: Service66,
276
+ var node53 = makeLocationNode({
277
+ service: Service50,
278
278
  layer,
279
- deps: [node71, node70]
279
+ deps: [node75, node54]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service66, node69, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service50, node53, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./worktree-gs1aapz6.js";
4
+ } from "./ripgrep-btwdw4e2.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./worktree-r7y78zcv.js";
8
+ } from "./ripgrep-53gs95a7.js";
9
9
  import {
10
- Service59,
11
- node61
12
- } from "./worktree-4md04jt5.js";
10
+ Service66,
11
+ node70
12
+ } from "./ripgrep-hf511911.js";
13
13
  import {
14
- Service54,
15
- node56
16
- } from "./worktree-yf4jcbx9.js";
14
+ Service62,
15
+ node66
16
+ } from "./ripgrep-bw9zjykr.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./worktree-ec1grn59.js";
19
+ } from "./ripgrep-ec1grn59.js";
20
20
  import {
21
- make17
22
- } from "./worktree-1acjjqhc.js";
21
+ make18
22
+ } from "./ripgrep-r8xr0va3.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service51
26
- } from "./worktree-k76fn4kw.js";
25
+ Service60
26
+ } from "./ripgrep-zee1rnkq.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./worktree-wxffcvth.js";
29
+ } from "./ripgrep-ybhbtxjg.js";
30
30
  import {
31
- Service64,
32
- node67
33
- } from "./worktree-348pjw7k.js";
31
+ Service69,
32
+ node73
33
+ } from "./ripgrep-tfdwhmtr.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./worktree-pcmmyvsr.js";
36
+ } from "./ripgrep-sf6b9an1.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./worktree-ba7qst6d.js";
39
+ } from "./ripgrep-58dhpfm0.js";
40
40
  import {
41
41
  __export
42
- } from "./worktree-9rqn6x4v.js";
42
+ } from "./ripgrep-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service50,
47
+ Service: () => Service59,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer21,
50
- node: () => node53,
49
+ layer: () => layer22,
50
+ node: () => node64,
51
51
  noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service50 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service59 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer21 = Layer.effect(Service50, Effect.gen(function* () {
69
- const store = yield* Service64;
70
- const instances = yield* Service54;
68
+ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
69
+ const store = yield* Service69;
70
+ const instances = yield* Service62;
71
71
  const bus = yield* Service83;
72
- const jobs = yield* Service59;
72
+ const jobs = yield* Service66;
73
73
  const db = (yield* Service84).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,14 +82,14 @@ var layer21 = Layer.effect(Service50, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service51.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service60.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
89
89
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
90
90
  });
91
91
  });
92
- const coordinator = yield* make17({
92
+ const coordinator = yield* make18({
93
93
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
94
94
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
95
95
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -110,7 +110,7 @@ var layer21 = Layer.effect(Service50, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service50.of({
113
+ return Service59.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer21 = Layer.effect(Service50, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node53 = makeGlobalNode({
133
- service: Service50,
134
- layer: layer21,
135
- deps: [node67, node56, node87, node88, node61]
132
+ var node64 = makeGlobalNode({
133
+ service: Service59,
134
+ layer: layer22,
135
+ deps: [node73, node66, node87, node88, node70]
136
136
  });
137
- var noopLayer3 = Layer.succeed(Service50, Service50.of({
137
+ var noopLayer3 = Layer.succeed(Service59, Service59.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service50, Service50.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service50, terminal2, layer21, node53, noopLayer3, exports_execution };
146
+ export { Service59, terminal2, layer22, node64, noopLayer3, exports_execution };