@opencode-ai/core 0.0.0-dev-19115 → 0.0.0-dev-19117

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 (770) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{command-jmkbp1h5.js → ripgrep-07yw2x03.js} +15 -15
  9. package/dist/chunks/{command-0e0xafbb.js → ripgrep-0e0xafbb.js} +2 -2
  10. package/dist/chunks/{command-s4ye7va7.js → ripgrep-0eqyng1a.js} +15 -15
  11. package/dist/chunks/{command-j15mfg1p.js → ripgrep-0gaj4617.js} +4 -4
  12. package/dist/chunks/{command-4we2taax.js → ripgrep-0gnwfkec.js} +11 -11
  13. package/dist/chunks/{command-4kfzb8gv.js → ripgrep-0ja1cg2h.js} +289 -289
  14. package/dist/chunks/{command-kwqsq9eb.js → ripgrep-0jn9ejg7.js} +1 -1
  15. package/dist/chunks/{command-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{command-0s9ayhjt.js → ripgrep-0s9ayhjt.js} +1 -1
  17. package/dist/chunks/{command-zk8c4w5t.js → ripgrep-0t098hqn.js} +5 -5
  18. package/dist/chunks/{command-ff1sw35j.js → ripgrep-0yqj1sc4.js} +33 -33
  19. package/dist/chunks/{command-cxnm9dwg.js → ripgrep-0zdpcrzf.js} +13 -13
  20. package/dist/chunks/{command-k8962brh.js → ripgrep-19vf66h0.js} +7 -7
  21. package/dist/chunks/{command-1ct4r87x.js → ripgrep-1ct4r87x.js} +1 -1
  22. package/dist/chunks/{command-y0kje1kq.js → ripgrep-1f0wyff1.js} +5 -5
  23. package/dist/chunks/{command-14hmenm3.js → ripgrep-1hy241bm.js} +3 -3
  24. package/dist/chunks/{command-mznxs8d6.js → ripgrep-1k0gne18.js} +41 -41
  25. package/dist/chunks/{command-dzntxkaj.js → ripgrep-1tfkjp3e.js} +68 -68
  26. package/dist/chunks/{command-f1kgb3zy.js → ripgrep-1w5ptdxf.js} +11 -11
  27. package/dist/chunks/{command-hv5tmyxa.js → ripgrep-1y8p760r.js} +21 -21
  28. package/dist/chunks/{command-21r38tys.js → ripgrep-21r38tys.js} +1 -1
  29. package/dist/chunks/{command-fvxhrhfw.js → ripgrep-21whxf52.js} +13 -13
  30. package/dist/chunks/{command-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
  31. package/dist/chunks/{command-29x78va6.js → ripgrep-29x78va6.js} +2 -2
  32. package/dist/chunks/{command-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{command-2ht70gj7.js → ripgrep-2ht70gj7.js} +1 -1
  34. package/dist/chunks/{command-2jqmte8w.js → ripgrep-2jqmte8w.js} +2 -2
  35. package/dist/chunks/{command-kj8q7mtc.js → ripgrep-2srh953x.js} +24 -24
  36. package/dist/chunks/{command-mcxg6pmm.js → ripgrep-2w6bfmvf.js} +1 -1
  37. package/dist/chunks/{command-dv0xdbpz.js → ripgrep-2wjw4vy5.js} +12 -12
  38. package/dist/chunks/ripgrep-2y15j0tk.js +18 -0
  39. package/dist/chunks/{command-sjwwpfw7.js → ripgrep-32s9yjrm.js} +39 -39
  40. package/dist/chunks/{command-k8feg6vv.js → ripgrep-36mzbjn4.js} +4 -4
  41. package/dist/chunks/{command-w0117ta3.js → ripgrep-3djzqpk0.js} +26 -26
  42. package/dist/chunks/{command-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{command-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{command-73azkrsd.js → ripgrep-3kxajfcb.js} +13 -13
  45. package/dist/chunks/{command-yzsm82be.js → ripgrep-3mf5xj6g.js} +29 -29
  46. package/dist/chunks/{command-3qzbfqsy.js → ripgrep-3qzbfqsy.js} +2 -2
  47. package/dist/chunks/{command-t7rtampj.js → ripgrep-3qze2g25.js} +2 -2
  48. package/dist/chunks/{command-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{command-58dzf215.js → ripgrep-3ss45ava.js} +18 -18
  50. package/dist/chunks/{command-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{command-pgzzhbmy.js → ripgrep-3tz2ea3y.js} +11 -11
  52. package/dist/chunks/{command-d674kx35.js → ripgrep-40myj96f.js} +11 -11
  53. package/dist/chunks/{command-ykcesz1b.js → ripgrep-42gstqmc.js} +4 -4
  54. package/dist/chunks/{command-3jwbxfdj.js → ripgrep-44k9zdes.js} +32 -32
  55. package/dist/chunks/{command-454k5vzh.js → ripgrep-454k5vzh.js} +1 -1
  56. package/dist/chunks/{command-mw7ytvy7.js → ripgrep-46wy7nmf.js} +11 -11
  57. package/dist/chunks/{command-9x7bsm9r.js → ripgrep-48en1mwc.js} +89 -89
  58. package/dist/chunks/{command-xnz7e9v2.js → ripgrep-4epewzf2.js} +28 -28
  59. package/dist/chunks/{command-njfhyprf.js → ripgrep-4f96dzf6.js} +25 -25
  60. package/dist/chunks/{command-jnbaqc7b.js → ripgrep-4h7t20e0.js} +20 -20
  61. package/dist/chunks/{command-hjm0k3fp.js → ripgrep-4jtd95fb.js} +2 -2
  62. package/dist/chunks/{command-4r2nyarf.js → ripgrep-4r2nyarf.js} +1 -1
  63. package/dist/chunks/{command-v63xgfyn.js → ripgrep-5854x11z.js} +3 -3
  64. package/dist/chunks/{command-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
  65. package/dist/chunks/{command-5fmxt4p5.js → ripgrep-5fmxt4p5.js} +1 -1
  66. package/dist/chunks/{command-qav3zztn.js → ripgrep-5j9k34kg.js} +23 -23
  67. package/dist/chunks/{command-5jvc5tg2.js → ripgrep-5jvc5tg2.js} +1 -1
  68. package/dist/chunks/{command-x0pd42vp.js → ripgrep-5rpr6ky1.js} +19 -19
  69. package/dist/chunks/{command-ez5b8bq3.js → ripgrep-5sg4xzjf.js} +7 -7
  70. package/dist/chunks/{command-s1zas8dv.js → ripgrep-5tc0y89d.js} +8 -8
  71. package/dist/chunks/{command-2p8f7m2b.js → ripgrep-5vqfft53.js} +6 -6
  72. package/dist/chunks/{command-mhsg1yty.js → ripgrep-5ycc874r.js} +10 -10
  73. package/dist/chunks/{command-s64tx33c.js → ripgrep-5ygrhnqv.js} +18 -18
  74. package/dist/chunks/{command-2vaz3fgd.js → ripgrep-67bet904.js} +38 -38
  75. package/dist/chunks/{command-6z5bwd8g.js → ripgrep-6abnk40k.js} +9 -9
  76. package/dist/chunks/{command-7vhvnd6j.js → ripgrep-6brqwvd5.js} +86 -86
  77. package/dist/chunks/{command-8zpj8ga2.js → ripgrep-6m03kfba.js} +6 -6
  78. package/dist/chunks/{command-4t040z03.js → ripgrep-6pg4jkhc.js} +16 -16
  79. package/dist/chunks/{command-c26ks60e.js → ripgrep-6skpevf5.js} +24 -24
  80. package/dist/chunks/{command-6tf8tr4v.js → ripgrep-6tf8tr4v.js} +2 -2
  81. package/dist/chunks/{command-8npyp30c.js → ripgrep-6w7e9vmm.js} +8 -8
  82. package/dist/chunks/{command-711hfp6y.js → ripgrep-711hfp6y.js} +2 -2
  83. package/dist/chunks/{command-pdgqnwae.js → ripgrep-74ey9zf4.js} +21 -21
  84. package/dist/chunks/{command-e5b0qn1c.js → ripgrep-768z0hjh.js} +1 -1
  85. package/dist/chunks/{command-ex99dnp9.js → ripgrep-76wr4mq2.js} +9 -9
  86. package/dist/chunks/{command-rzhgj3wg.js → ripgrep-78dqkwkk.js} +20 -20
  87. package/dist/chunks/{command-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
  88. package/dist/chunks/{command-avf2gxwn.js → ripgrep-7d35953p.js} +23 -23
  89. package/dist/chunks/{command-w16pqxss.js → ripgrep-7dwcteqq.js} +19 -19
  90. package/dist/chunks/{command-zqj49qgm.js → ripgrep-7k0jwsa3.js} +32 -32
  91. package/dist/chunks/{command-vedqaezr.js → ripgrep-7kgtsxjw.js} +4 -4
  92. package/dist/chunks/{command-w21nff9d.js → ripgrep-7me1svnr.js} +28 -28
  93. package/dist/chunks/{command-vbr4w0aw.js → ripgrep-7pkp8xq8.js} +27 -27
  94. package/dist/chunks/{command-r9hy8h05.js → ripgrep-7qnza9rw.js} +5 -5
  95. package/dist/chunks/{command-9rem8hjd.js → ripgrep-7wyfdtz8.js} +11 -11
  96. package/dist/chunks/{command-mhkvc446.js → ripgrep-7yh4e7ss.js} +3 -3
  97. package/dist/chunks/ripgrep-7zk4hah4.js +4 -0
  98. package/dist/chunks/{command-ha4v9y42.js → ripgrep-8h6vxt8w.js} +13 -13
  99. package/dist/chunks/{command-7nbw4m6q.js → ripgrep-8j688k7y.js} +15 -15
  100. package/dist/chunks/{command-s41xc0fx.js → ripgrep-8ksg784e.js} +6 -6
  101. package/dist/chunks/{command-4jcgzkct.js → ripgrep-8xm2e362.js} +17 -17
  102. package/dist/chunks/{command-mxppkm1b.js → ripgrep-8xptgnz1.js} +31 -31
  103. package/dist/chunks/{command-48h7as0e.js → ripgrep-91q12184.js} +15 -15
  104. package/dist/chunks/{command-93a8yfjt.js → ripgrep-93a8yfjt.js} +2 -2
  105. package/dist/chunks/{command-nxbchyd1.js → ripgrep-96bmt5xb.js} +15 -15
  106. package/dist/chunks/{command-dxvz0qx6.js → ripgrep-9fpwc135.js} +13 -13
  107. package/dist/chunks/{command-megebd3a.js → ripgrep-9hhgj58j.js} +6 -6
  108. package/dist/chunks/{command-5k3f87xj.js → ripgrep-9pfqepek.js} +3 -3
  109. package/dist/chunks/{command-9qm9egsn.js → ripgrep-9qm9egsn.js} +2 -2
  110. package/dist/chunks/{command-mw9mt08r.js → ripgrep-9vbhqqdq.js} +25 -25
  111. package/dist/chunks/{command-ght27my6.js → ripgrep-9whdxbg9.js} +18 -18
  112. package/dist/chunks/{command-4ct4f13p.js → ripgrep-9z5bj76v.js} +18 -18
  113. package/dist/chunks/ripgrep-a21023rp.js +22 -0
  114. package/dist/chunks/{command-nkpkrkfc.js → ripgrep-a4f478em.js} +50 -50
  115. package/dist/chunks/{command-hzecryb5.js → ripgrep-a8mkyf75.js} +12 -12
  116. package/dist/chunks/{command-hjrjbgez.js → ripgrep-aa3g7qm9.js} +5 -5
  117. package/dist/chunks/{command-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
  118. package/dist/chunks/{command-rmy3e5eg.js → ripgrep-aj7d9r5a.js} +3 -3
  119. package/dist/chunks/{command-ajtjthsy.js → ripgrep-ajtjthsy.js} +2 -2
  120. package/dist/chunks/{command-6h414ywr.js → ripgrep-awqyf91x.js} +5 -5
  121. package/dist/chunks/{command-zk6hkb9n.js → ripgrep-b0tdp1rr.js} +32 -32
  122. package/dist/chunks/ripgrep-b52w4pfb.js +20 -0
  123. package/dist/chunks/{command-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
  124. package/dist/chunks/{command-3q0nngn9.js → ripgrep-b9pt6hex.js} +6 -6
  125. package/dist/chunks/{command-b9wsbatv.js → ripgrep-b9wsbatv.js} +1 -1
  126. package/dist/chunks/{command-rx0dsajq.js → ripgrep-bbxy1t52.js} +9 -9
  127. package/dist/chunks/{command-77tfyndb.js → ripgrep-bdmzwyaa.js} +9 -9
  128. package/dist/chunks/{command-3q60g5tw.js → ripgrep-bge6q0dt.js} +26 -26
  129. package/dist/chunks/{command-g8p4v1rh.js → ripgrep-bnc2083e.js} +5 -5
  130. package/dist/chunks/{command-3vdwy4mz.js → ripgrep-bvn2enxy.js} +10 -10
  131. package/dist/chunks/{command-4p3f57ee.js → ripgrep-bxrqv5tf.js} +11 -11
  132. package/dist/chunks/{command-zmnepbn3.js → ripgrep-by2d8rp5.js} +7 -7
  133. package/dist/chunks/{command-e0nkwt9z.js → ripgrep-che8skc9.js} +4 -4
  134. package/dist/chunks/{command-g41n1fn3.js → ripgrep-d1a1bt21.js} +5 -5
  135. package/dist/chunks/{command-bp4zbqtd.js → ripgrep-d36vjxce.js} +5 -5
  136. package/dist/chunks/{command-d72308c8.js → ripgrep-d72308c8.js} +2 -2
  137. package/dist/chunks/{command-4qs4g79n.js → ripgrep-dhkrg1xs.js} +43 -43
  138. package/dist/chunks/{command-67nkcjnx.js → ripgrep-dqwhaazx.js} +15 -15
  139. package/dist/chunks/{command-natwdt6v.js → ripgrep-ds0aszyw.js} +29 -29
  140. package/dist/chunks/{command-q8rpcfw0.js → ripgrep-dy5g39ka.js} +8 -8
  141. package/dist/chunks/{command-0ez61b8c.js → ripgrep-e1hrx4vk.js} +2 -2
  142. package/dist/chunks/{command-zzjwypeh.js → ripgrep-e8zgvj34.js} +6 -6
  143. package/dist/chunks/{command-x4f0ty3q.js → ripgrep-em5rm6ec.js} +10 -10
  144. package/dist/chunks/{command-bc0bp3re.js → ripgrep-eqpzyj2r.js} +8 -8
  145. package/dist/chunks/{command-n5gana85.js → ripgrep-ev2yz940.js} +25 -25
  146. package/dist/chunks/{command-qhdhv0w2.js → ripgrep-ewww49mf.js} +15 -15
  147. package/dist/chunks/{command-0ptrrsjf.js → ripgrep-eyfhpjry.js} +22 -22
  148. package/dist/chunks/{command-jwcy2c2z.js → ripgrep-f0nz223j.js} +4 -4
  149. package/dist/chunks/{command-jc31v14r.js → ripgrep-f1yhq58f.js} +9 -9
  150. package/dist/chunks/{command-1m2qxpbx.js → ripgrep-fggsr9ap.js} +9 -9
  151. package/dist/chunks/{command-ne4gjgk6.js → ripgrep-fjxg2ary.js} +13 -13
  152. package/dist/chunks/{command-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{command-fxypknc8.js → ripgrep-fxypknc8.js} +1 -1
  154. package/dist/chunks/{command-drn755cb.js → ripgrep-fyy0s8gy.js} +40 -40
  155. package/dist/chunks/{command-h2st8tcp.js → ripgrep-fz4jwa6n.js} +4 -4
  156. package/dist/chunks/{command-k5kpsmwm.js → ripgrep-g3z0m5pf.js} +16 -16
  157. package/dist/chunks/{command-bc8zabkg.js → ripgrep-g5ezvv16.js} +8 -8
  158. package/dist/chunks/{command-g7csxrs7.js → ripgrep-g7csxrs7.js} +4 -4
  159. package/dist/chunks/{command-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{command-4y9deqpk.js → ripgrep-gjhar930.js} +24 -24
  161. package/dist/chunks/{command-ehkcz9nm.js → ripgrep-gwszgtmr.js} +28 -28
  162. package/dist/chunks/{command-pcednt3p.js → ripgrep-gye7vvze.js} +42 -42
  163. package/dist/chunks/{command-rqajaxax.js → ripgrep-h4b9wg2c.js} +166 -166
  164. package/dist/chunks/{command-y3kam97a.js → ripgrep-h5hj52e4.js} +37 -37
  165. package/dist/chunks/{command-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{command-vvhr8ap4.js → ripgrep-hb1mzqn1.js} +21 -21
  167. package/dist/chunks/{command-3wfq9j39.js → ripgrep-hcdssky2.js} +12 -12
  168. package/dist/chunks/{command-e5rv1qf4.js → ripgrep-heem8ggn.js} +15 -15
  169. package/dist/chunks/{command-heyhwy2w.js → ripgrep-heyhwy2w.js} +1 -1
  170. package/dist/chunks/{command-p5d8w6vs.js → ripgrep-hhmxjvcb.js} +31 -31
  171. package/dist/chunks/{command-2qan6xse.js → ripgrep-hkvmnyc2.js} +33 -33
  172. package/dist/chunks/{command-hbwagpks.js → ripgrep-hpg5nh6v.js} +11 -11
  173. package/dist/chunks/{command-hrvm11jt.js → ripgrep-hrvm11jt.js} +3 -3
  174. package/dist/chunks/{command-thfv75je.js → ripgrep-je9hks3h.js} +5 -5
  175. package/dist/chunks/{command-7rsx16tt.js → ripgrep-jjtbt1qg.js} +10 -10
  176. package/dist/chunks/{command-xqsy6kp0.js → ripgrep-jnmmvqjs.js} +1 -1
  177. package/dist/chunks/{command-nakmymdz.js → ripgrep-jnypjjjz.js} +58 -58
  178. package/dist/chunks/{command-gzd7t3bg.js → ripgrep-js6asbw1.js} +4 -4
  179. package/dist/chunks/{command-xynvqm4b.js → ripgrep-jt44cnxn.js} +17 -17
  180. package/dist/chunks/{command-k4bwy1x5.js → ripgrep-k4bwy1x5.js} +1 -1
  181. package/dist/chunks/{command-kg06axw8.js → ripgrep-kg06axw8.js} +1 -1
  182. package/dist/chunks/{command-7ym5twnq.js → ripgrep-km4669cs.js} +43 -43
  183. package/dist/chunks/{command-kvsjn1dr.js → ripgrep-kvsjn1dr.js} +2 -2
  184. package/dist/chunks/{command-mv1gp3nd.js → ripgrep-kw4j1pbq.js} +34 -34
  185. package/dist/chunks/{command-2w9k586s.js → ripgrep-kxjsfdz8.js} +24 -24
  186. package/dist/chunks/{command-4rpnxrre.js → ripgrep-m21v4znd.js} +48 -48
  187. package/dist/chunks/{command-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{command-jvh9gk2c.js → ripgrep-ma5tpqfg.js} +25 -25
  189. package/dist/chunks/{command-4hj13xk2.js → ripgrep-mbc5mvmj.js} +6 -6
  190. package/dist/chunks/{command-1wndzdy1.js → ripgrep-mcqq6vbh.js} +28 -28
  191. package/dist/chunks/{command-mtcjf44p.js → ripgrep-mtcjf44p.js} +1 -1
  192. package/dist/chunks/{command-vw50vsx1.js → ripgrep-mv8wgq99.js} +14 -14
  193. package/dist/chunks/{command-j3v7m4b4.js → ripgrep-my77j7pt.js} +7 -7
  194. package/dist/chunks/{command-qr1qsn5r.js → ripgrep-n7wjrxzb.js} +16 -16
  195. package/dist/chunks/{command-7w3s9kd0.js → ripgrep-nca7p386.js} +4 -4
  196. package/dist/chunks/{command-f18yxx57.js → ripgrep-nevxv2d6.js} +9 -9
  197. package/dist/chunks/ripgrep-nfxm2j3p.js +243 -0
  198. package/dist/chunks/{command-60q8mcwp.js → ripgrep-nmgddbg4.js} +8 -8
  199. package/dist/chunks/{command-wsdbxk0t.js → ripgrep-nv4gk3n9.js} +7 -7
  200. package/dist/chunks/{command-wgxn7ww3.js → ripgrep-nw80mg4a.js} +4 -4
  201. package/dist/chunks/{command-9b3160jy.js → ripgrep-nzkt02mj.js} +9 -9
  202. package/dist/chunks/{command-m1annk93.js → ripgrep-p1zz6beh.js} +9 -9
  203. package/dist/chunks/{command-9qj8fy7h.js → ripgrep-p325kmej.js} +9 -9
  204. package/dist/chunks/{command-mt8fk037.js → ripgrep-p3szxjdh.js} +31 -31
  205. package/dist/chunks/{command-z2bjgnfj.js → ripgrep-pdtadr89.js} +14 -14
  206. package/dist/chunks/{command-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{command-pknna89w.js → ripgrep-pknna89w.js} +1 -1
  208. package/dist/chunks/{command-pdae5shs.js → ripgrep-pkxk1635.js} +11 -11
  209. package/dist/chunks/{command-5w9qjdt3.js → ripgrep-pr9h59nx.js} +4 -4
  210. package/dist/chunks/{command-s3eqpch7.js → ripgrep-pt7wq7x0.js} +1 -1
  211. package/dist/chunks/{command-7k848sc6.js → ripgrep-pwtwj0bs.js} +27 -27
  212. package/dist/chunks/{command-1n22b4te.js → ripgrep-pxst6xf4.js} +11 -11
  213. package/dist/chunks/{command-cjy05afp.js → ripgrep-q1wfyw2p.js} +22 -22
  214. package/dist/chunks/{command-854ca1e8.js → ripgrep-q5j29kx8.js} +24 -24
  215. package/dist/chunks/{command-qgn6gcr1.js → ripgrep-qgn6gcr1.js} +1 -1
  216. package/dist/chunks/{command-86s3977f.js → ripgrep-qs4avvkb.js} +1 -1
  217. package/dist/chunks/{command-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
  218. package/dist/chunks/{command-tnsej14z.js → ripgrep-qyh9kz4d.js} +24 -24
  219. package/dist/chunks/{command-df9bnbjn.js → ripgrep-qzyjhkhb.js} +9 -9
  220. package/dist/chunks/{command-tj4a33e3.js → ripgrep-r1j3nz9t.js} +38 -38
  221. package/dist/chunks/{command-k6s5w27h.js → ripgrep-r1rbm2q7.js} +10 -10
  222. package/dist/chunks/{command-4sjd4f28.js → ripgrep-r4e8mhdp.js} +11 -11
  223. package/dist/chunks/{command-r8dhm0tv.js → ripgrep-r8dhm0tv.js} +1 -1
  224. package/dist/chunks/{command-3zxznrdw.js → ripgrep-rgv1ms02.js} +30 -30
  225. package/dist/chunks/{command-84gdxzwd.js → ripgrep-rk27q5w5.js} +8 -8
  226. package/dist/chunks/{command-cy3cnjq8.js → ripgrep-rkbnrd1t.js} +4 -4
  227. package/dist/chunks/{command-578j1xdj.js → ripgrep-rmha8y3b.js} +7 -7
  228. package/dist/chunks/{command-4z6b0fg6.js → ripgrep-rvb2zp0m.js} +6 -6
  229. package/dist/chunks/{command-yxwewdw9.js → ripgrep-rwzmbvvc.js} +9 -9
  230. package/dist/chunks/{command-1bdhjw18.js → ripgrep-ryr6cb0z.js} +5 -5
  231. package/dist/chunks/{command-sba4qhjf.js → ripgrep-sba4qhjf.js} +1 -1
  232. package/dist/chunks/{command-1z9d9trm.js → ripgrep-sczbbc3q.js} +11 -11
  233. package/dist/chunks/{command-9ym4a5yt.js → ripgrep-sdzmedwm.js} +21 -21
  234. package/dist/chunks/{command-fbfj6zdn.js → ripgrep-sh8ph4n7.js} +4 -4
  235. package/dist/chunks/{command-j57dr7w8.js → ripgrep-sqpx7b0d.js} +27 -27
  236. package/dist/chunks/{command-kx2gvdct.js → ripgrep-sxhwk0c0.js} +4 -4
  237. package/dist/chunks/{command-1eb7zprr.js → ripgrep-t4jvr5wy.js} +5 -5
  238. package/dist/chunks/{command-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{command-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{command-55yvdk0c.js → ripgrep-tdz2d0bf.js} +11 -11
  241. package/dist/chunks/{command-6dbg2gn2.js → ripgrep-tfvhtj86.js} +39 -39
  242. package/dist/chunks/{command-tjykrgmx.js → ripgrep-tjykrgmx.js} +1 -1
  243. package/dist/chunks/{command-s0fzeym9.js → ripgrep-tnsd1rs6.js} +10 -10
  244. package/dist/chunks/{command-52v0cq2v.js → ripgrep-tp7tf7xy.js} +11 -11
  245. package/dist/chunks/{command-dqwszdkc.js → ripgrep-tppvcy65.js} +9 -9
  246. package/dist/chunks/{command-zpgxjj6y.js → ripgrep-tq2fd8r9.js} +16 -16
  247. package/dist/chunks/{command-45kzw0p8.js → ripgrep-txm2bbyw.js} +10 -10
  248. package/dist/chunks/{command-ajeyjrs8.js → ripgrep-vakdx653.js} +6 -6
  249. package/dist/chunks/{command-j83byb14.js → ripgrep-ve4pfa0n.js} +4 -4
  250. package/dist/chunks/{command-c5rwfbwf.js → ripgrep-vfqqmq4r.js} +22 -22
  251. package/dist/chunks/{command-c28brx2k.js → ripgrep-vn1zxxz9.js} +6 -6
  252. package/dist/chunks/{command-18v0n603.js → ripgrep-vrnz0jpz.js} +20 -20
  253. package/dist/chunks/{command-rgks3f05.js → ripgrep-vyjva4w2.js} +8 -8
  254. package/dist/chunks/{command-rxsvjy6j.js → ripgrep-w18traxp.js} +29 -29
  255. package/dist/chunks/{command-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{command-jn88vsgf.js → ripgrep-w525msx4.js} +27 -27
  257. package/dist/chunks/{command-p4b86tx8.js → ripgrep-w8f6gg2r.js} +6 -6
  258. package/dist/chunks/{command-8f30jcen.js → ripgrep-w97cb5cg.js} +17 -17
  259. package/dist/chunks/{command-wd87259q.js → ripgrep-wd87259q.js} +1 -1
  260. package/dist/chunks/{command-gpp6afyt.js → ripgrep-wg31t6sj.js} +22 -22
  261. package/dist/chunks/{command-s631mnhv.js → ripgrep-wjdcppan.js} +22 -22
  262. package/dist/chunks/{command-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{command-mh85gtv1.js → ripgrep-xsfpm1p4.js} +11 -11
  264. package/dist/chunks/{command-ag4rn41e.js → ripgrep-xw0r27ex.js} +4 -4
  265. package/dist/chunks/{command-5rw6je3s.js → ripgrep-xxz5bf5t.js} +3 -3
  266. package/dist/chunks/{command-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{command-p8vd7n39.js → ripgrep-y6yv2n5p.js} +18 -18
  268. package/dist/chunks/{command-3wbgnpam.js → ripgrep-ybt0syy4.js} +21 -21
  269. package/dist/chunks/{command-yfbd16n1.js → ripgrep-yfbd16n1.js} +2 -2
  270. package/dist/chunks/{command-c80ydkjz.js → ripgrep-ytezje8q.js} +46 -46
  271. package/dist/chunks/{command-z1k01bn4.js → ripgrep-z1k01bn4.js} +2 -2
  272. package/dist/chunks/{command-djtdz80w.js → ripgrep-z3xgatyd.js} +4 -4
  273. package/dist/chunks/{command-npkajqde.js → ripgrep-z8wxwp11.js} +18 -18
  274. package/dist/chunks/{command-zn2pq4p8.js → ripgrep-zajwd6at.js} +5 -5
  275. package/dist/chunks/{command-qfnycs03.js → ripgrep-zc06qzv2.js} +11 -11
  276. package/dist/chunks/{command-tz2h76xm.js → ripgrep-zgnmmxh6.js} +11 -11
  277. package/dist/chunks/{command-0yrmd491.js → ripgrep-zj3wcxn0.js} +14 -14
  278. package/dist/chunks/{command-ekmzxrqe.js → ripgrep-ztm1zg4x.js} +8 -8
  279. package/dist/chunks/{command-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
  280. package/dist/chunks/{command-4k07pfeq.js → ripgrep-zytde4j9.js} +9 -9
  281. package/dist/chunks/{command-qbhkz4mz.js → ripgrep-zzz6jtjg.js} +36 -36
  282. package/dist/codemode/catalog.js +1 -1
  283. package/dist/codemode/instructions.js +7 -7
  284. package/dist/codemode/tool.js +2 -2
  285. package/dist/command.js +83 -83
  286. package/dist/config/discovery.js +77 -77
  287. package/dist/config/markdown.js +1 -1
  288. package/dist/config/normalize.js +19 -19
  289. package/dist/config/plugin/agent.js +116 -116
  290. package/dist/config/plugin/command.js +207 -207
  291. package/dist/config/plugin/compaction.js +153 -153
  292. package/dist/config/plugin/entry-observer.js +1 -1
  293. package/dist/config/plugin/formatter.js +116 -116
  294. package/dist/config/plugin/image.js +114 -114
  295. package/dist/config/plugin/instruction.js +85 -85
  296. package/dist/config/plugin/location-watcher.js +114 -114
  297. package/dist/config/plugin/mcp.js +125 -125
  298. package/dist/config/plugin/policy.js +113 -113
  299. package/dist/config/plugin/provider.js +112 -112
  300. package/dist/config/plugin/reference.js +116 -116
  301. package/dist/config/plugin/shell.js +115 -115
  302. package/dist/config/plugin/skill-file.js +96 -96
  303. package/dist/config/plugin/skill.js +134 -134
  304. package/dist/config/plugin/snapshot.js +114 -114
  305. package/dist/config/plugin/source.js +114 -114
  306. package/dist/config/plugin/tool-output.js +116 -116
  307. package/dist/config/plugin/websearch.js +112 -112
  308. package/dist/config/variable.js +3 -3
  309. package/dist/config/watch.js +1 -1
  310. package/dist/config.js +118 -118
  311. package/dist/credential/sql.js +2 -2
  312. package/dist/credential.js +78 -78
  313. package/dist/database/database.js +70 -70
  314. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  315. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  316. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  317. package/dist/database/drizzle/index.js +15 -15
  318. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  319. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  321. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  322. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  323. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  324. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  329. package/dist/database/drizzle.js +16 -16
  330. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  331. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  332. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  333. package/dist/database/migration/20260225215848_workspace.js +1 -1
  334. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  335. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  336. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  337. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  338. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  339. package/dist/database/migration/20260323234822_events.js +1 -1
  340. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  341. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  342. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  343. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  344. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  345. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  346. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  347. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  348. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  349. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  350. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  351. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  352. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  353. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  354. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  355. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  356. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  357. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  358. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  359. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  360. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  361. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  362. package/dist/database/migration/20260611035744_credential.js +1 -1
  363. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  364. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  365. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  366. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  367. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  368. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  369. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  370. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  371. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  372. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  373. package/dist/database/migration/20260812213948_worktree.js +1 -1
  374. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  375. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  376. package/dist/database/migration.gen.js +47 -47
  377. package/dist/database/migration.js +49 -49
  378. package/dist/database/path.js +2 -2
  379. package/dist/database/schema.gen.js +1 -1
  380. package/dist/database/schema.sql.js +1 -1
  381. package/dist/database/sqlite.bun.js +1 -1
  382. package/dist/database/sqlite.js +1 -1
  383. package/dist/database/sqlite.node.js +1 -1
  384. package/dist/database/sqlite.workerd.js +1 -1
  385. package/dist/database/v1-migration.bun.js +74 -74
  386. package/dist/database/v1-migration.js +1 -1
  387. package/dist/effect/app-node-builder.js +356 -356
  388. package/dist/effect/app-node-platform.js +2 -2
  389. package/dist/effect/keyed-mutex.js +3 -3
  390. package/dist/effect/websocket-constructor.js +1 -1
  391. package/dist/environment/driver.js +1 -1
  392. package/dist/environment/environment.js +88 -88
  393. package/dist/environment/exec-defaults.js +2 -2
  394. package/dist/environment/files.js +1 -1
  395. package/dist/environment/index.js +90 -90
  396. package/dist/environment/local.js +2 -2
  397. package/dist/environment/memory.js +2 -2
  398. package/dist/environment/unavailable.js +1 -1
  399. package/dist/event/sql.js +1 -1
  400. package/dist/event-logger.js +70 -70
  401. package/dist/file-mutation.js +89 -89
  402. package/dist/file-retention.js +1 -1
  403. package/dist/file.js +1 -1
  404. package/dist/filesystem/fff.bun.js +2 -2
  405. package/dist/filesystem/fff.js +1 -1
  406. package/dist/filesystem/fff.node.js +2 -2
  407. package/dist/filesystem/fff.workerd.js +2 -2
  408. package/dist/filesystem/ignore.js +1 -1
  409. package/dist/filesystem/location-watcher-policy.js +6 -6
  410. package/dist/filesystem/location-watcher.js +215 -215
  411. package/dist/filesystem/protected.js +1 -1
  412. package/dist/filesystem/search.js +99 -99
  413. package/dist/filesystem/watcher-binding.js +1 -1
  414. package/dist/filesystem/watcher.js +15 -15
  415. package/dist/filesystem.js +98 -98
  416. package/dist/form.js +82 -82
  417. package/dist/formatter/builtins.js +4 -4
  418. package/dist/formatter.js +82 -82
  419. package/dist/generate.js +92 -92
  420. package/dist/git.js +7 -7
  421. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  422. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  423. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  424. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  425. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  426. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  427. package/dist/github-copilot/copilot-provider.js +17 -17
  428. package/dist/github-copilot/models.js +3 -3
  429. package/dist/github-copilot/openai-compatible-error.js +1 -1
  430. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  431. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  432. package/dist/github-copilot/responses/openai-error.js +1 -1
  433. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  434. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  435. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  436. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  437. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  438. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  440. package/dist/id/id.js +1 -1
  441. package/dist/image/photon.js +2 -2
  442. package/dist/image.js +6 -6
  443. package/dist/instance/service.js +7 -7
  444. package/dist/instance.js +347 -347
  445. package/dist/instruction-discovery.js +83 -83
  446. package/dist/instructions/builtins.js +82 -82
  447. package/dist/instructions/index.js +1 -1
  448. package/dist/integration/connection.js +1 -1
  449. package/dist/integration.js +85 -85
  450. package/dist/job.js +77 -77
  451. package/dist/kv/sql.js +2 -2
  452. package/dist/kv.js +71 -71
  453. package/dist/location-activity.js +84 -84
  454. package/dist/location-mutation.js +81 -81
  455. package/dist/location-service-map.js +81 -81
  456. package/dist/location-services.js +344 -344
  457. package/dist/location.js +84 -84
  458. package/dist/mcp/client.js +86 -86
  459. package/dist/mcp/index.js +96 -96
  460. package/dist/mcp/instructions.js +120 -120
  461. package/dist/mcp/oauth.js +2 -2
  462. package/dist/mcp/stdio.js +85 -85
  463. package/dist/mime.js +1 -1
  464. package/dist/modal/models.js +3 -3
  465. package/dist/model-resolver.js +83 -83
  466. package/dist/model.js +8 -8
  467. package/dist/models-dev.js +86 -86
  468. package/dist/oauth/page.js +1 -1
  469. package/dist/permission/saved.js +80 -80
  470. package/dist/permission/sql.js +5 -5
  471. package/dist/permission.js +103 -103
  472. package/dist/persistent-pty/binary.bun.js +1 -1
  473. package/dist/persistent-pty/daemon.js +1 -1
  474. package/dist/persistent-pty/index.js +86 -86
  475. package/dist/persistent-pty/pty-binding.js +1 -1
  476. package/dist/persistent-pty.js +73 -73
  477. package/dist/plugin/agent.js +98 -98
  478. package/dist/plugin/command.js +95 -95
  479. package/dist/plugin/hooks.js +5 -5
  480. package/dist/plugin/host.js +210 -210
  481. package/dist/plugin/instance.js +5 -5
  482. package/dist/plugin/internal.js +316 -316
  483. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  484. package/dist/plugin/models-dev.js +75 -75
  485. package/dist/plugin/module.js +2 -2
  486. package/dist/plugin/plan.js +96 -96
  487. package/dist/plugin/promise.js +1 -1
  488. package/dist/plugin/provider/alibaba.js +2 -2
  489. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  490. package/dist/plugin/provider/anthropic.js +4 -4
  491. package/dist/plugin/provider/azure.js +117 -117
  492. package/dist/plugin/provider/cerebras.js +2 -2
  493. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  494. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  495. package/dist/plugin/provider/cohere.js +2 -2
  496. package/dist/plugin/provider/configured.js +113 -113
  497. package/dist/plugin/provider/dynamic.js +2 -2
  498. package/dist/plugin/provider/factory.js +1 -1
  499. package/dist/plugin/provider/gateway.js +2 -2
  500. package/dist/plugin/provider/github-copilot.js +79 -79
  501. package/dist/plugin/provider/gitlab.js +3 -3
  502. package/dist/plugin/provider/google-vertex.js +2 -2
  503. package/dist/plugin/provider/kilo.js +2 -2
  504. package/dist/plugin/provider/llmgateway.js +75 -75
  505. package/dist/plugin/provider/lmstudio.js +116 -116
  506. package/dist/plugin/provider/mistral.js +2 -2
  507. package/dist/plugin/provider/modal.js +78 -78
  508. package/dist/plugin/provider/nvidia.js +2 -2
  509. package/dist/plugin/provider/ollama.js +116 -116
  510. package/dist/plugin/provider/openai-compatible.js +1 -1
  511. package/dist/plugin/provider/openai.js +79 -79
  512. package/dist/plugin/provider/opencode.js +75 -75
  513. package/dist/plugin/provider/openrouter.js +3 -3
  514. package/dist/plugin/provider/perplexity.js +2 -2
  515. package/dist/plugin/provider/sap-ai-core.js +3 -3
  516. package/dist/plugin/provider/sdk-factory.js +1 -1
  517. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  518. package/dist/plugin/provider/venice.js +2 -2
  519. package/dist/plugin/provider/vercel.js +2 -2
  520. package/dist/plugin/provider/vllm.js +116 -116
  521. package/dist/plugin/provider/xai.js +76 -76
  522. package/dist/plugin/provider/zenmux.js +2 -2
  523. package/dist/plugin/provider.js +154 -154
  524. package/dist/plugin/sdk.js +74 -74
  525. package/dist/plugin/service.js +5 -5
  526. package/dist/plugin/skill.js +131 -131
  527. package/dist/plugin/source-directory.js +1 -1
  528. package/dist/plugin/supervisor.js +335 -335
  529. package/dist/plugin/system-prompt.js +5 -5
  530. package/dist/plugin/update.js +6 -6
  531. package/dist/plugin/variant.js +4 -4
  532. package/dist/plugin/vcs/git.js +82 -82
  533. package/dist/plugin/vcs/hg.js +82 -82
  534. package/dist/plugin/warming.js +111 -111
  535. package/dist/plugin/websearch/exa.js +5 -5
  536. package/dist/plugin/websearch/firecrawl.js +6 -6
  537. package/dist/plugin/websearch/index.js +8 -8
  538. package/dist/plugin/websearch/mcp.js +6 -6
  539. package/dist/plugin/websearch/parallel.js +8 -8
  540. package/dist/plugin/websearch/tavily.js +6 -6
  541. package/dist/plugin.js +219 -219
  542. package/dist/project/schema.js +8 -8
  543. package/dist/project/sql.js +4 -4
  544. package/dist/project.js +83 -83
  545. package/dist/provider.js +5 -5
  546. package/dist/pty/protocol.js +1 -1
  547. package/dist/pty/schema.js +3 -3
  548. package/dist/pty/ticket.js +1 -1
  549. package/dist/pty.js +92 -92
  550. package/dist/reference/instructions.js +84 -84
  551. package/dist/reference.js +82 -82
  552. package/dist/repository-cache.js +74 -74
  553. package/dist/repository.js +1 -1
  554. package/dist/ripgrep/binary.js +2 -2
  555. package/dist/ripgrep.js +93 -93
  556. package/dist/rpc.js +81 -81
  557. package/dist/schema.js +1 -1
  558. package/dist/session/command.js +72 -72
  559. package/dist/session/compaction.js +125 -125
  560. package/dist/session/context.js +145 -145
  561. package/dist/session/environment.js +5 -5
  562. package/dist/session/error.js +5 -5
  563. package/dist/session/event.js +1 -1
  564. package/dist/session/execution/restart.js +215 -215
  565. package/dist/session/execution.js +120 -120
  566. package/dist/session/generate.js +146 -146
  567. package/dist/session/history.js +12 -12
  568. package/dist/session/inbox.js +86 -86
  569. package/dist/session/info.js +3 -3
  570. package/dist/session/instruction-entry.js +77 -77
  571. package/dist/session/instruction-state.js +8 -8
  572. package/dist/session/instructions.js +91 -91
  573. package/dist/session/message-updater.js +2 -2
  574. package/dist/session/message.js +1 -1
  575. package/dist/session/model-request.js +112 -112
  576. package/dist/session/model-transport.js +9 -9
  577. package/dist/session/move.js +124 -124
  578. package/dist/session/projector.js +84 -84
  579. package/dist/session/prompt.js +99 -99
  580. package/dist/session/revert.js +85 -85
  581. package/dist/session/run-coordinator.js +3 -3
  582. package/dist/session/runner/index.js +3 -3
  583. package/dist/session/runner/llm.js +220 -220
  584. package/dist/session/runner/max-steps.js +1 -1
  585. package/dist/session/runner/model.js +85 -85
  586. package/dist/session/runner/publish-llm-event.js +3 -3
  587. package/dist/session/runner/retry.js +4 -4
  588. package/dist/session/runner/step.js +119 -119
  589. package/dist/session/runner/to-llm-message.js +1 -1
  590. package/dist/session/schema.js +5 -5
  591. package/dist/session/session.js +167 -167
  592. package/dist/session/shell.js +130 -130
  593. package/dist/session/skill.js +97 -97
  594. package/dist/session/sql.js +5 -5
  595. package/dist/session/stats.js +71 -71
  596. package/dist/session/store.js +82 -82
  597. package/dist/session/subagent-completion.js +1 -1
  598. package/dist/session/subagent-job.js +203 -203
  599. package/dist/session/system-prompt.js +3 -3
  600. package/dist/session/title.js +149 -149
  601. package/dist/session/to-session-error.js +105 -105
  602. package/dist/session/transfer.js +212 -212
  603. package/dist/session/usage.js +1 -1
  604. package/dist/session.js +211 -211
  605. package/dist/shell/parse.js +6 -6
  606. package/dist/shell/result.js +1 -1
  607. package/dist/shell/scan.js +1 -1
  608. package/dist/shell/select.js +13 -13
  609. package/dist/shell.js +132 -132
  610. package/dist/skill/discovery.js +6 -6
  611. package/dist/skill/instructions.js +101 -101
  612. package/dist/skill.js +104 -104
  613. package/dist/snapshot.js +84 -84
  614. package/dist/state.js +1 -1
  615. package/dist/tool/html-markdown.js +1 -1
  616. package/dist/tool/http-body.js +1 -1
  617. package/dist/tool/mcp.js +117 -117
  618. package/dist/tool/plugin/edit.js +114 -114
  619. package/dist/tool/plugin/file-diff.js +1 -1
  620. package/dist/tool/plugin/glob.js +117 -117
  621. package/dist/tool/plugin/grep.js +117 -117
  622. package/dist/tool/plugin/opencode.js +3 -3
  623. package/dist/tool/plugin/patch.js +110 -110
  624. package/dist/tool/plugin/question.js +97 -97
  625. package/dist/tool/plugin/read.js +120 -120
  626. package/dist/tool/plugin/shell.js +208 -208
  627. package/dist/tool/plugin/skill.js +107 -107
  628. package/dist/tool/plugin/subagent.js +210 -210
  629. package/dist/tool/plugin/webfetch.js +106 -106
  630. package/dist/tool/plugin/websearch.js +106 -106
  631. package/dist/tool/plugin/write.js +114 -114
  632. package/dist/tool/read-filesystem.js +96 -96
  633. package/dist/tool/runtime.js +1 -1
  634. package/dist/tool-output.js +8 -8
  635. package/dist/tool.js +13 -13
  636. package/dist/util/error.js +1 -1
  637. package/dist/util/iife.js +1 -1
  638. package/dist/util/lazy.js +1 -1
  639. package/dist/util/slug.js +1 -1
  640. package/dist/util/token.js +1 -1
  641. package/dist/util/which.js +1 -1
  642. package/dist/util/wildcard.js +1 -1
  643. package/dist/v1/config/agent.js +5 -5
  644. package/dist/v1/config/attachment.js +4 -4
  645. package/dist/v1/config/command.js +5 -5
  646. package/dist/v1/config/config.js +16 -16
  647. package/dist/v1/config/error.js +2 -2
  648. package/dist/v1/config/formatter.js +3 -3
  649. package/dist/v1/config/layout.js +1 -1
  650. package/dist/v1/config/lsp.js +3 -3
  651. package/dist/v1/config/mcp.js +4 -4
  652. package/dist/v1/config/migrate.js +4 -4
  653. package/dist/v1/config/permission.js +3 -3
  654. package/dist/v1/config/plugin.js +1 -1
  655. package/dist/v1/config/provider-options.js +1 -1
  656. package/dist/v1/config/provider.js +4 -4
  657. package/dist/v1/config/server.js +2 -2
  658. package/dist/v1/config/skills.js +3 -3
  659. package/dist/v1/permission.js +1 -1
  660. package/dist/vcs/patch.js +1 -1
  661. package/dist/vcs.js +85 -85
  662. package/dist/websearch.js +80 -80
  663. package/dist/wellknown/plugin.js +74 -74
  664. package/dist/wellknown.js +75 -75
  665. package/dist/workspace/driver.js +5 -5
  666. package/dist/workspace/sql.js +1 -1
  667. package/dist/workspace.js +78 -78
  668. package/dist/worktree/directory.js +2 -2
  669. package/dist/worktree/git.js +7 -7
  670. package/dist/worktree/sql.js +5 -5
  671. package/dist/worktree.js +90 -90
  672. package/package.json +7 -7
  673. package/dist/chunks/command-9sh4wc5j.js +0 -18
  674. package/dist/chunks/command-csvvt798.js +0 -22
  675. package/dist/chunks/command-f4j0pa50.js +0 -4
  676. package/dist/chunks/command-qgqmyz30.js +0 -243
  677. package/dist/chunks/command-y092mk2a.js +0 -20
  678. /package/dist/chunks/{command-0fabt78z.js → ripgrep-0fabt78z.js} +0 -0
  679. /package/dist/chunks/{command-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
  680. /package/dist/chunks/{command-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
  681. /package/dist/chunks/{command-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
  682. /package/dist/chunks/{command-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
  683. /package/dist/chunks/{command-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
  684. /package/dist/chunks/{command-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
  685. /package/dist/chunks/{command-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
  686. /package/dist/chunks/{command-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
  687. /package/dist/chunks/{command-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
  688. /package/dist/chunks/{command-3asan66x.js → ripgrep-3asan66x.js} +0 -0
  689. /package/dist/chunks/{command-3t738kvx.js → ripgrep-3t738kvx.js} +0 -0
  690. /package/dist/chunks/{command-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
  691. /package/dist/chunks/{command-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
  692. /package/dist/chunks/{command-41nvscxy.js → ripgrep-41nvscxy.js} +0 -0
  693. /package/dist/chunks/{command-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
  694. /package/dist/chunks/{command-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
  695. /package/dist/chunks/{command-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
  696. /package/dist/chunks/{command-53557ph1.js → ripgrep-53557ph1.js} +0 -0
  697. /package/dist/chunks/{command-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
  698. /package/dist/chunks/{command-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
  699. /package/dist/chunks/{command-6prwharc.js → ripgrep-6prwharc.js} +0 -0
  700. /package/dist/chunks/{command-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
  701. /package/dist/chunks/{command-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
  702. /package/dist/chunks/{command-822emrt2.js → ripgrep-822emrt2.js} +0 -0
  703. /package/dist/chunks/{command-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
  704. /package/dist/chunks/{command-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
  705. /package/dist/chunks/{command-982e01ww.js → ripgrep-982e01ww.js} +0 -0
  706. /package/dist/chunks/{command-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
  707. /package/dist/chunks/{command-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
  708. /package/dist/chunks/{command-a1tpkmh4.js → ripgrep-a1tpkmh4.js} +0 -0
  709. /package/dist/chunks/{command-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
  710. /package/dist/chunks/{command-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
  711. /package/dist/chunks/{command-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
  712. /package/dist/chunks/{command-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
  713. /package/dist/chunks/{command-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
  714. /package/dist/chunks/{command-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
  715. /package/dist/chunks/{command-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
  716. /package/dist/chunks/{command-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
  717. /package/dist/chunks/{command-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
  718. /package/dist/chunks/{command-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
  719. /package/dist/chunks/{command-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
  720. /package/dist/chunks/{command-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
  721. /package/dist/chunks/{command-df08tz66.js → ripgrep-df08tz66.js} +0 -0
  722. /package/dist/chunks/{command-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
  723. /package/dist/chunks/{command-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
  724. /package/dist/chunks/{command-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
  725. /package/dist/chunks/{command-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
  726. /package/dist/chunks/{command-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
  727. /package/dist/chunks/{command-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
  728. /package/dist/chunks/{command-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
  729. /package/dist/chunks/{command-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
  730. /package/dist/chunks/{command-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
  731. /package/dist/chunks/{command-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
  732. /package/dist/chunks/{command-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
  733. /package/dist/chunks/{command-g86h250q.js → ripgrep-g86h250q.js} +0 -0
  734. /package/dist/chunks/{command-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
  735. /package/dist/chunks/{command-hk9envan.js → ripgrep-hk9envan.js} +0 -0
  736. /package/dist/chunks/{command-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
  737. /package/dist/chunks/{command-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
  738. /package/dist/chunks/{command-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
  739. /package/dist/chunks/{command-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
  740. /package/dist/chunks/{command-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
  741. /package/dist/chunks/{command-mntxs535.js → ripgrep-mntxs535.js} +0 -0
  742. /package/dist/chunks/{command-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
  743. /package/dist/chunks/{command-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
  744. /package/dist/chunks/{command-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
  745. /package/dist/chunks/{command-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
  746. /package/dist/chunks/{command-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
  747. /package/dist/chunks/{command-p8qxwesx.js → ripgrep-p8qxwesx.js} +0 -0
  748. /package/dist/chunks/{command-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
  749. /package/dist/chunks/{command-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
  750. /package/dist/chunks/{command-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
  751. /package/dist/chunks/{command-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
  752. /package/dist/chunks/{command-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
  753. /package/dist/chunks/{command-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
  754. /package/dist/chunks/{command-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
  755. /package/dist/chunks/{command-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
  756. /package/dist/chunks/{command-se0s1eqw.js → ripgrep-se0s1eqw.js} +0 -0
  757. /package/dist/chunks/{command-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
  758. /package/dist/chunks/{command-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
  759. /package/dist/chunks/{command-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
  760. /package/dist/chunks/{command-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
  761. /package/dist/chunks/{command-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
  762. /package/dist/chunks/{command-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
  763. /package/dist/chunks/{command-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
  764. /package/dist/chunks/{command-x1b8g1yb.js → ripgrep-x1b8g1yb.js} +0 -0
  765. /package/dist/chunks/{command-x61499pn.js → ripgrep-x61499pn.js} +0 -0
  766. /package/dist/chunks/{command-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
  767. /package/dist/chunks/{command-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
  768. /package/dist/chunks/{command-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
  769. /package/dist/chunks/{command-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
  770. /package/dist/chunks/{command-zbjnn3ac.js → ripgrep-zbjnn3ac.js} +0 -0
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./ripgrep-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service2 = {};
7
+ __export(exports_service2, {
8
+ Plugin: () => exports_service2,
9
+ Service: () => Service41,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service41 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service41.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service41, awaitActivation2, exports_service2 };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service80,
3
- node84
4
- } from "./command-mh85gtv1.js";
3
+ node83
4
+ } from "./ripgrep-xsfpm1p4.js";
5
5
  import {
6
6
  Service79,
7
- node83
8
- } from "./command-pdae5shs.js";
7
+ node82
8
+ } from "./ripgrep-pkxk1635.js";
9
9
  import {
10
- Service47,
11
- node49
12
- } from "./command-8f30jcen.js";
10
+ Service44,
11
+ node46
12
+ } from "./ripgrep-w97cb5cg.js";
13
13
  import {
14
- Service33,
15
- node35
16
- } from "./command-y092mk2a.js";
14
+ Service38,
15
+ node41
16
+ } from "./ripgrep-b52w4pfb.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./command-mntxs535.js";
19
+ } from "./ripgrep-mntxs535.js";
20
20
  import {
21
- make14
22
- } from "./command-djtdz80w.js";
21
+ make13
22
+ } from "./ripgrep-z3xgatyd.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service29
26
- } from "./command-ag4rn41e.js";
25
+ Service28
26
+ } from "./ripgrep-xw0r27ex.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./command-c28brx2k.js";
29
+ } from "./ripgrep-vn1zxxz9.js";
30
30
  import {
31
- Service44,
32
- node46
33
- } from "./command-ha4v9y42.js";
31
+ Service46,
32
+ node48
33
+ } from "./ripgrep-8h6vxt8w.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./command-vedqaezr.js";
36
+ } from "./ripgrep-7kgtsxjw.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./command-0ptrrsjf.js";
39
+ } from "./ripgrep-eyfhpjry.js";
40
40
  import {
41
41
  __export
42
- } from "./command-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: () => Service28,
47
+ Service: () => Service27,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer13,
50
- node: () => node32,
49
+ layer: () => layer11,
50
+ node: () => node31,
51
51
  noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
56
- class Service28 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service27 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 layer13 = Layer.effect(Service28, Effect.gen(function* () {
69
- const store = yield* Service44;
70
- const instances = yield* Service33;
68
+ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
69
+ const store = yield* Service46;
70
+ const instances = yield* Service38;
71
71
  const bus = yield* Service79;
72
- const jobs = yield* Service47;
72
+ const jobs = yield* Service44;
73
73
  const db = (yield* Service80).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,13 +82,13 @@ var layer13 = Layer.effect(Service28, 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* Service29.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* Service28.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
  });
90
90
  });
91
- const coordinator = yield* make14({
91
+ const coordinator = yield* make13({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service28.of({
112
+ return Service27.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node32 = makeGlobalNode({
132
- service: Service28,
133
- layer: layer13,
134
- deps: [node46, node35, node83, node84, node49]
131
+ var node31 = makeGlobalNode({
132
+ service: Service27,
133
+ layer: layer11,
134
+ deps: [node48, node41, node82, node83, node46]
135
135
  });
136
- var noopLayer2 = Layer.succeed(Service28, Service28.of({
136
+ var noopLayer2 = Layer.succeed(Service27, Service27.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service28, Service28.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service28, terminal2, layer13, node32, noopLayer2, exports_execution };
145
+ export { Service27, terminal2, layer11, node31, noopLayer2, exports_execution };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./ripgrep-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt2 = {};
7
7
  __export(exports_system_prompt2, {
8
8
  SessionSystemPrompt: () => exports_system_prompt2,
9
- make: () => make13
9
+ make: () => make15
10
10
  });
11
11
 
12
12
  // src/session/runner/prompt/system.txt
@@ -28,7 +28,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
28
28
  `;
29
29
 
30
30
  // src/session/system-prompt.ts
31
- function make13(tools) {
31
+ function make15(tools) {
32
32
  const instructions = [];
33
33
  if (tools.includes("shell")) {
34
34
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.");
@@ -43,4 +43,4 @@ function make13(tools) {
43
43
  `));
44
44
  }
45
45
 
46
- export { make13, exports_system_prompt2 };
46
+ export { make15, exports_system_prompt2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79,
3
- node83
4
- } from "./command-pdae5shs.js";
3
+ node82
4
+ } from "./ripgrep-pkxk1635.js";
5
5
  import {
6
6
  create3
7
- } from "./command-kg06axw8.js";
7
+ } from "./ripgrep-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./ripgrep-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command5 = {};
14
- __export(exports_command5, {
15
- Command: () => exports_command5,
16
- Event: () => Event13,
13
+ var exports_command4 = {};
14
+ __export(exports_command4, {
15
+ Command: () => exports_command4,
16
+ Event: () => Event12,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info23,
19
- NotFoundError: () => NotFoundError8,
20
- Service: () => Service65,
21
- layer: () => layer22,
22
- node: () => node67
18
+ Info: () => Info11,
19
+ NotFoundError: () => NotFoundError6,
20
+ Service: () => Service52,
21
+ layer: () => layer20,
22
+ node: () => node54
23
23
  });
24
24
  import { Command } from "@opencode-ai/schema/command";
25
25
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event13 } from "@opencode-ai/schema/command";
28
- var Info23 = Command.Info;
27
+ import { Event as Event12 } from "@opencode-ai/schema/command";
28
+ var Info11 = Command.Info;
29
29
 
30
- class NotFoundError8 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service65 extends Context.Service()("@opencode/Command") {
42
+ class Service52 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer22 = Layer.effect(Service65, Effect.gen(function* () {
44
+ var layer20 = Layer.effect(Service52, Effect.gen(function* () {
45
45
  const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer22 = Layer.effect(Service65, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info23.make({
54
+ const info = (definition) => Info11.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service65.of({
58
+ return Service52.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer22 = Layer.effect(Service65, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError8({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node67 = makeLocationNode({
75
- service: Service65,
76
- layer: layer22,
77
- deps: [node83]
74
+ var node54 = makeLocationNode({
75
+ service: Service52,
76
+ layer: layer20,
77
+ deps: [node82]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info23, NotFoundError8, ExecutionError2, Service65, layer22, node67, exports_command5, Event13 };
89
+ export { Info11, NotFoundError6, ExecutionError2, Service52, layer20, node54, exports_command4, Event12 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./ripgrep-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./command-qfa1cgps.js";
3
+ } from "./ripgrep-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service68,
3
- node71
4
- } from "./command-4jcgzkct.js";
2
+ Service73,
3
+ node76
4
+ } from "./ripgrep-8xm2e362.js";
5
5
  import {
6
6
  Key3,
7
7
  make18,
8
8
  combine2
9
- } from "./command-mtcjf44p.js";
9
+ } from "./ripgrep-mtcjf44p.js";
10
10
  import {
11
11
  __export
12
- } from "./command-9rqn6x4v.js";
12
+ } from "./ripgrep-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service34,
19
- node: () => node36
18
+ Service: () => Service36,
19
+ node: () => node39
20
20
  });
21
21
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode-ai/util/global";
24
- class Service34 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service36 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service34, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service68;
29
- return Service34.of({
28
+ const location = yield* Service73;
29
+ return Service36.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
31
  make18({
32
32
  key: Key3.make("core/environment"),
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node36 = makeLocationNode({ service: Service34, layer, deps: [Global.node, node71] });
64
+ var node39 = makeLocationNode({ service: Service36, layer, deps: [Global.node, node76] });
65
65
 
66
- export { Service34, node36, exports_builtins };
66
+ export { Service36, node39, exports_builtins };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./command-p8qxwesx.js";
4
+ } from "./ripgrep-p8qxwesx.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service70,
9
- node73
10
- } from "./command-mhsg1yty.js";
8
+ Service76,
9
+ node79
10
+ } from "./ripgrep-5ycc874r.js";
11
11
  import {
12
- Service68,
13
- node71
14
- } from "./command-4jcgzkct.js";
12
+ Service73,
13
+ node76
14
+ } from "./ripgrep-8xm2e362.js";
15
15
  import {
16
16
  create3
17
- } from "./command-kg06axw8.js";
17
+ } from "./ripgrep-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./command-9rqn6x4v.js";
20
+ } from "./ripgrep-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
25
+ Error: () => Error2,
26
26
  ID: () => ID9,
27
- Service: () => Service49,
27
+ Service: () => Service53,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node51,
29
+ node: () => node55,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode-ai/util/fs-util";
36
36
  import { Global } from "@opencode-ai/util/global";
37
37
  import { ID as ID9 } from "@opencode-ai/schema/snapshot";
38
38
  import { Hash } from "@opencode-ai/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service49 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service53 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service49, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service70;
50
+ const git = yield* Service76;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service68;
52
+ const location = yield* Service73;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
122
122
  for (const [file, snapshot] of input.files) {
123
123
  const absolute = path.resolve(worktree, file);
124
124
  if (!FSUtil.contains(worktree, absolute))
125
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
125
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
126
126
  files.set(file, TreeID2.make(snapshot));
127
127
  }
128
128
  return files;
129
129
  });
130
130
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
131
131
  if (!enabled())
132
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
132
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
133
133
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
134
134
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
135
135
  });
136
- return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
136
+ return Service53.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
137
137
  }).pipe(Effect.withSpan("Snapshot.boot")));
138
- var node51 = makeLocationNode({
139
- service: Service49,
138
+ var node55 = makeLocationNode({
139
+ service: Service53,
140
140
  layer,
141
- deps: [FSUtil.node, node73, Global.node, node71]
141
+ deps: [FSUtil.node, node79, Global.node, node76]
142
142
  });
143
- var noopLayer3 = Layer.succeed(Service49, Service49.of({
143
+ var noopLayer3 = Layer.succeed(Service53, Service53.of({
144
144
  transform: () => Effect.succeed({ dispose: Effect.void }),
145
145
  reload: () => Effect.void,
146
146
  capture: () => Effect.undefined,
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service49, Service49.of({
149
149
  restore: () => Effect.void
150
150
  }));
151
151
  function failure(operation, cause) {
152
- if (cause instanceof Error3 && cause.operation === operation)
152
+ if (cause instanceof Error2 && cause.operation === operation)
153
153
  return cause;
154
- return new Error3({
154
+ return new Error2({
155
155
  operation,
156
156
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
157
157
  cause
158
158
  });
159
159
  }
160
160
 
161
- export { ID9, Error3, Service49, node51, noopLayer3, exports_snapshot2 };
161
+ export { ID9, Error2, Service53, node55, noopLayer3, exports_snapshot2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./command-mntxs535.js";
3
+ } from "./ripgrep-mntxs535.js";
4
4
  import {
5
5
  tokens2
6
- } from "./command-tjykrgmx.js";
6
+ } from "./ripgrep-tjykrgmx.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./command-p8qxwesx.js";
4
+ } from "./ripgrep-p8qxwesx.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./command-5rw6je3s.js";
7
+ } from "./ripgrep-xxz5bf5t.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./ripgrep-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./command-p8qxwesx.js";
5
+ } from "./ripgrep-p8qxwesx.js";
6
6
  import {
7
- Service55,
8
- node57
9
- } from "./command-4y9deqpk.js";
7
+ Service61,
8
+ node63
9
+ } from "./ripgrep-gjhar930.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./command-5jvc5tg2.js";
12
+ } from "./ripgrep-5jvc5tg2.js";
13
13
  import {
14
14
  __export
15
- } from "./command-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: () => Error4,
20
+ Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service54,
24
- node: () => node56
23
+ Service: () => Service60,
24
+ node: () => node62
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 Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error3 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 Service54 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service60 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error3({ 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(Service54, Effect.gen(function* () {
67
- const environment = yield* Service55;
66
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
67
+ const environment = yield* Service61;
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(Service54, 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 Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service54.of({
95
+ return Service60.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
174
174
  }))))
175
175
  });
176
176
  }));
177
- var node56 = makeLocationNode({ service: Service54, layer, deps: [node57, RipgrepBinary2.node] });
177
+ var node62 = makeLocationNode({ service: Service60, layer, deps: [node63, RipgrepBinary2.node] });
178
178
 
179
- export { Error4, InvalidPatternError2, Service54, node56, exports_ripgrep };
179
+ export { Error3, InvalidPatternError2, Service60, node62, exports_ripgrep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./ripgrep-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};