@opencode-ai/core 0.0.0-dev-19212 → 0.0.0-dev-19214

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 (775) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  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 +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{reference-y6nt3k22.js → shell-00aww1yf.js} +2 -2
  9. package/dist/chunks/{reference-0pkwxjdh.js → shell-00m11tas.js} +11 -11
  10. package/dist/chunks/{reference-w03xx005.js → shell-03f98ybe.js} +24 -24
  11. package/dist/chunks/{reference-x8wn8zn7.js → shell-07st23v6.js} +33 -33
  12. package/dist/chunks/{reference-r4fs0yvq.js → shell-0bmd60eh.js} +18 -18
  13. package/dist/chunks/{reference-0e0xafbb.js → shell-0e0xafbb.js} +2 -2
  14. package/dist/chunks/{reference-5cmvkkst.js → shell-0jskpge6.js} +4 -4
  15. package/dist/chunks/{reference-sf4mqfcw.js → shell-0m561qeb.js} +8 -8
  16. package/dist/chunks/{reference-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{reference-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{reference-0s9ayhjt.js → shell-0s9ayhjt.js} +1 -1
  19. package/dist/chunks/{reference-5bk2z4g2.js → shell-0tm8rvrz.js} +6 -6
  20. package/dist/chunks/{reference-jj4631b0.js → shell-15wrc8zw.js} +11 -11
  21. package/dist/chunks/{reference-1ct4r87x.js → shell-1ct4r87x.js} +1 -1
  22. package/dist/chunks/{reference-bz9mz44d.js → shell-1rx77as6.js} +30 -30
  23. package/dist/chunks/{reference-fvanntqq.js → shell-1tq060df.js} +4 -4
  24. package/dist/chunks/{reference-r9vqe5sy.js → shell-1vbd6b48.js} +15 -15
  25. package/dist/chunks/{reference-21r38tys.js → shell-21r38tys.js} +1 -1
  26. package/dist/chunks/{reference-2402vzrj.js → shell-2402vzrj.js} +1 -1
  27. package/dist/chunks/{reference-z63w68vq.js → shell-29x78va6.js} +6 -6
  28. package/dist/chunks/{reference-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{reference-njkh1s3y.js → shell-2b10552f.js} +8 -8
  30. package/dist/chunks/{reference-vweaxkb2.js → shell-2gdv49he.js} +37 -37
  31. package/dist/chunks/{reference-2ht70gj7.js → shell-2ht70gj7.js} +1 -1
  32. package/dist/chunks/{reference-3gzh0vtz.js → shell-2pb5ppxq.js} +9 -9
  33. package/dist/chunks/{reference-14hmenm3.js → shell-2qrq5jg3.js} +3 -3
  34. package/dist/chunks/{reference-67cp0t3n.js → shell-2qzq6ga3.js} +5 -5
  35. package/dist/chunks/{reference-g2tqkshq.js → shell-2vt5h35m.js} +26 -26
  36. package/dist/chunks/{reference-trss6eke.js → shell-3bjb2hjh.js} +27 -27
  37. package/dist/chunks/{reference-8dtfw9dp.js → shell-3gm33j7d.js} +15 -15
  38. package/dist/chunks/{reference-r4ftc533.js → shell-3gzfz3hk.js} +35 -35
  39. package/dist/chunks/{reference-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{reference-0xd2d7hb.js → shell-3jj6bjb6.js} +5 -5
  41. package/dist/chunks/{reference-16p10fwd.js → shell-3kbcwn9y.js} +17 -17
  42. package/dist/chunks/{reference-3qzbfqsy.js → shell-3qzbfqsy.js} +2 -2
  43. package/dist/chunks/{reference-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{reference-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{reference-gwybkery.js → shell-3yfy8pbr.js} +16 -16
  46. package/dist/chunks/{reference-dryn3h34.js → shell-4039hvv9.js} +10 -10
  47. package/dist/chunks/{reference-p8mkgytk.js → shell-42nrxqjf.js} +33 -33
  48. package/dist/chunks/{reference-vg3d5k3k.js → shell-447tz61m.js} +23 -23
  49. package/dist/chunks/{reference-fm6rrk6d.js → shell-44tjj06n.js} +38 -38
  50. package/dist/chunks/{reference-454k5vzh.js → shell-454k5vzh.js} +1 -1
  51. package/dist/chunks/{reference-86s3977f.js → shell-45t9anda.js} +1 -1
  52. package/dist/chunks/{reference-eg4pr325.js → shell-46e97tr7.js} +10 -10
  53. package/dist/chunks/{reference-sxfxx2yk.js → shell-46ypjb8x.js} +30 -30
  54. package/dist/chunks/{reference-emtnqcre.js → shell-4bnef52n.js} +25 -25
  55. package/dist/chunks/{reference-j3qa67je.js → shell-4g0b7sjj.js} +17 -17
  56. package/dist/chunks/{reference-4qjtp74j.js → shell-4qjtp74j.js} +2 -2
  57. package/dist/chunks/{reference-4r2nyarf.js → shell-4r2nyarf.js} +1 -1
  58. package/dist/chunks/{reference-1gdy6sdc.js → shell-4rp8h9vr.js} +9 -9
  59. package/dist/chunks/{reference-4829mzp8.js → shell-4rqy6gt6.js} +10 -10
  60. package/dist/chunks/{reference-g97bp859.js → shell-4t5xtn3n.js} +20 -20
  61. package/dist/chunks/{reference-1ygqh575.js → shell-56gdpj1q.js} +9 -9
  62. package/dist/chunks/{reference-xb8haxn3.js → shell-5chzen2f.js} +16 -16
  63. package/dist/chunks/{reference-ngxtnptd.js → shell-5ctdmadx.js} +8 -8
  64. package/dist/chunks/{reference-5daktx2q.js → shell-5daktx2q.js} +1 -1
  65. package/dist/chunks/{reference-0084cjzv.js → shell-5fc6d9pe.js} +20 -20
  66. package/dist/chunks/{reference-kwjjfgw8.js → shell-5fkgmv3x.js} +32 -32
  67. package/dist/chunks/{reference-5fmxt4p5.js → shell-5fmxt4p5.js} +1 -1
  68. package/dist/chunks/{reference-5jvc5tg2.js → shell-5jvc5tg2.js} +1 -1
  69. package/dist/chunks/{reference-xev5h8m1.js → shell-5n18k7nt.js} +6 -6
  70. package/dist/chunks/{reference-zn2pq4p8.js → shell-5nzbd5n0.js} +5 -5
  71. package/dist/chunks/{reference-5ngsm0n8.js → shell-6ff6vtqe.js} +5 -5
  72. package/dist/chunks/{reference-6cd6tdvt.js → shell-6kgc56n8.js} +6 -6
  73. package/dist/chunks/{reference-pkdexze4.js → shell-6v3jf47k.js} +19 -19
  74. package/dist/chunks/{reference-711hfp6y.js → shell-711hfp6y.js} +2 -2
  75. package/dist/chunks/{reference-72nftnjy.js → shell-72nftnjy.js} +2 -2
  76. package/dist/chunks/{reference-mhkvc446.js → shell-73tb2d7t.js} +3 -3
  77. package/dist/chunks/{reference-e5b0qn1c.js → shell-74jy76yg.js} +1 -1
  78. package/dist/chunks/{reference-18se47gg.js → shell-759pz1a2.js} +8 -8
  79. package/dist/chunks/{reference-0x6rv59f.js → shell-75zmbk21.js} +46 -46
  80. package/dist/chunks/{reference-3cae9tw6.js → shell-768fctrn.js} +14 -14
  81. package/dist/chunks/{reference-ztnyd3e4.js → shell-76wr4mq2.js} +9 -9
  82. package/dist/chunks/{reference-fexhrjwy.js → shell-7769r81k.js} +16 -16
  83. package/dist/chunks/{reference-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{reference-6bwsc8qf.js → shell-7cpqsz3a.js} +35 -35
  85. package/dist/chunks/{reference-5k3f87xj.js → shell-7haxhjsc.js} +1 -1
  86. package/dist/chunks/{reference-1r334jan.js → shell-7k21e5kk.js} +6 -6
  87. package/dist/chunks/{reference-esxkkh19.js → shell-7w2wm759.js} +20 -20
  88. package/dist/chunks/{reference-qa3qhgw8.js → shell-806j49yq.js} +4 -4
  89. package/dist/chunks/{reference-pgnsvmsq.js → shell-8433ak71.js} +13 -13
  90. package/dist/chunks/{reference-12d3xw68.js → shell-871gwe26.js} +23 -23
  91. package/dist/chunks/{reference-k0zpnkm5.js → shell-8fsmte50.js} +4 -4
  92. package/dist/chunks/{reference-pztv92z9.js → shell-8fvescvn.js} +11 -11
  93. package/dist/chunks/{reference-5xenskfm.js → shell-8k5e3xq5.js} +50 -50
  94. package/dist/chunks/{reference-q1gnbgak.js → shell-8mtzvntg.js} +22 -22
  95. package/dist/chunks/{reference-spxrvp3q.js → shell-9199mjkg.js} +34 -34
  96. package/dist/chunks/{reference-8ss6hdvh.js → shell-95z3gcrg.js} +4 -4
  97. package/dist/chunks/{reference-etjqf465.js → shell-9660t85j.js} +57 -57
  98. package/dist/chunks/{reference-e0j83zpa.js → shell-9kksqv7m.js} +9 -9
  99. package/dist/chunks/{reference-9qm9egsn.js → shell-9qm9egsn.js} +2 -2
  100. package/dist/chunks/{reference-mcxg6pmm.js → shell-9t99dw5q.js} +1 -1
  101. package/dist/chunks/{reference-a17pxmag.js → shell-9yf2qrwc.js} +11 -11
  102. package/dist/chunks/{reference-fa3xpm51.js → shell-a26qnsqg.js} +16 -16
  103. package/dist/chunks/{reference-vkfv6j0y.js → shell-a9c7wcwq.js} +12 -12
  104. package/dist/chunks/{reference-aaet6srn.js → shell-aaet6srn.js} +2 -2
  105. package/dist/chunks/{reference-a2vgq88x.js → shell-af7y0kpf.js} +11 -11
  106. package/dist/chunks/{reference-ajtjthsy.js → shell-ajtjthsy.js} +2 -2
  107. package/dist/chunks/{reference-9pvr9h0s.js → shell-ane3y94c.js} +11 -11
  108. package/dist/chunks/{reference-hmw71aj6.js → shell-anhky6p6.js} +14 -14
  109. package/dist/chunks/{reference-68prq3sc.js → shell-apamhaje.js} +32 -32
  110. package/dist/chunks/{reference-692yah3v.js → shell-av8xxqjs.js} +5 -5
  111. package/dist/chunks/{reference-f7tmr1cs.js → shell-az9b9mm6.js} +4 -4
  112. package/dist/chunks/shell-b3t4emvz.js +22 -0
  113. package/dist/chunks/{reference-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{reference-d05z5f6t.js → shell-b9mymrzg.js} +41 -41
  115. package/dist/chunks/{reference-b9wsbatv.js → shell-b9wsbatv.js} +1 -1
  116. package/dist/chunks/shell-bax423tc.js +247 -0
  117. package/dist/chunks/{reference-bsvvsrn1.js → shell-bcezcar3.js} +5 -5
  118. package/dist/chunks/{reference-1ks609kc.js → shell-be80r41v.js} +32 -32
  119. package/dist/chunks/{reference-an7cqtb7.js → shell-bf0ztrs3.js} +4 -4
  120. package/dist/chunks/{reference-mqv5z4da.js → shell-c71cneyv.js} +7 -7
  121. package/dist/chunks/shell-c9tsen2f.js +460 -0
  122. package/dist/chunks/{reference-6mj2pf94.js → shell-cgqryxpd.js} +5 -5
  123. package/dist/chunks/{reference-bcv0c355.js → shell-cmwx9h7j.js} +4 -4
  124. package/dist/chunks/{reference-rmk9teax.js → shell-cqn5ay5r.js} +19 -19
  125. package/dist/chunks/{reference-x2q61z0h.js → shell-crpvf69r.js} +18 -18
  126. package/dist/chunks/{reference-d72308c8.js → shell-d72308c8.js} +2 -2
  127. package/dist/chunks/{reference-mzj84rkx.js → shell-d8bdgt1m.js} +10 -10
  128. package/dist/chunks/{reference-jfgx1kn9.js → shell-ddcwh8jf.js} +3 -3
  129. package/dist/chunks/{reference-pv06p42z.js → shell-dsf572e0.js} +4 -4
  130. package/dist/chunks/{reference-3v8a3rwp.js → shell-dsfx0j74.js} +9 -9
  131. package/dist/chunks/{reference-r5cm8qwg.js → shell-dy3b9v5q.js} +9 -9
  132. package/dist/chunks/{reference-evv0wppe.js → shell-e0y4b763.js} +16 -16
  133. package/dist/chunks/{reference-tjtqfkq6.js → shell-e6cve5mm.js} +31 -31
  134. package/dist/chunks/{reference-e82z9tr0.js → shell-e82z9tr0.js} +1 -1
  135. package/dist/chunks/{reference-ms9ez6yh.js → shell-e83y27r5.js} +7 -7
  136. package/dist/chunks/{reference-41p65mbg.js → shell-e9ez9tj0.js} +24 -24
  137. package/dist/chunks/{reference-snsfg8hg.js → shell-ebbc4kwn.js} +26 -26
  138. package/dist/chunks/{reference-1dvtgkhr.js → shell-esp3dmb3.js} +3 -3
  139. package/dist/chunks/{reference-3qew0nv7.js → shell-ex0wtrk2.js} +15 -15
  140. package/dist/chunks/{reference-0ynctp82.js → shell-ex76qa1h.js} +15 -15
  141. package/dist/chunks/{reference-xc4h7e7s.js → shell-ez6kpqxh.js} +22 -22
  142. package/dist/chunks/{reference-5ehqaa7d.js → shell-f0vxf23b.js} +24 -24
  143. package/dist/chunks/{reference-x6z3jawz.js → shell-f1keh2an.js} +24 -24
  144. package/dist/chunks/{reference-hjrjbgez.js → shell-famd3pv6.js} +5 -5
  145. package/dist/chunks/{reference-6wt2d068.js → shell-ff1h9ct4.js} +24 -24
  146. package/dist/chunks/{reference-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{reference-fxypknc8.js → shell-fxypknc8.js} +1 -1
  148. package/dist/chunks/{reference-y5ey60w0.js → shell-g3k4d7kp.js} +11 -11
  149. package/dist/chunks/{reference-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{reference-a3hbghzv.js → shell-gd943ppd.js} +25 -25
  151. package/dist/chunks/{reference-gdvy8fx6.js → shell-gdvy8fx6.js} +1 -1
  152. package/dist/chunks/{reference-kw0c7kv6.js → shell-gtdavqjy.js} +18 -18
  153. package/dist/chunks/{reference-1pxjmmqp.js → shell-gvphy7jk.js} +8 -8
  154. package/dist/chunks/{reference-2n1jf9zw.js → shell-h1byzm8g.js} +7 -7
  155. package/dist/chunks/{reference-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{reference-heyhwy2w.js → shell-heyhwy2w.js} +1 -1
  157. package/dist/chunks/{reference-g937y3ww.js → shell-hjp2pbpf.js} +1 -1
  158. package/dist/chunks/{reference-2yberneh.js → shell-hn4sjpb5.js} +2 -2
  159. package/dist/chunks/{reference-hn57h045.js → shell-hn57h045.js} +1 -1
  160. package/dist/chunks/{reference-hrvm11jt.js → shell-hrvm11jt.js} +3 -3
  161. package/dist/chunks/{reference-wvd7xkhd.js → shell-htbxhgrz.js} +17 -17
  162. package/dist/chunks/{reference-wyrajqkf.js → shell-hycyp8g1.js} +33 -33
  163. package/dist/chunks/{reference-v72skxvp.js → shell-j34gsgr1.js} +18 -18
  164. package/dist/chunks/{reference-qwrhw08z.js → shell-j3m9zsv2.js} +28 -28
  165. package/dist/chunks/{reference-agc30tdk.js → shell-j80pgsaj.js} +11 -11
  166. package/dist/chunks/{reference-paphc93g.js → shell-j935v87r.js} +2 -2
  167. package/dist/chunks/{reference-a3jrf4x9.js → shell-jq9g1dav.js} +10 -10
  168. package/dist/chunks/{reference-e7ngq1fb.js → shell-jqrqy21d.js} +3 -3
  169. package/dist/chunks/{reference-2zjvjrq5.js → shell-jv6tbxxe.js} +8 -8
  170. package/dist/chunks/{reference-qh8mgzry.js → shell-jvc265pg.js} +9 -9
  171. package/dist/chunks/{reference-tcttdp38.js → shell-jzqf3jx6.js} +13 -13
  172. package/dist/chunks/{reference-kjmqhh6j.js → shell-jzyxh6de.js} +30 -30
  173. package/dist/chunks/{reference-ea1bn3s4.js → shell-k3djfchk.js} +18 -18
  174. package/dist/chunks/{reference-k4bwy1x5.js → shell-k4bwy1x5.js} +1 -1
  175. package/dist/chunks/{reference-jdqgf29y.js → shell-kfqx8kb7.js} +6 -6
  176. package/dist/chunks/{reference-kg06axw8.js → shell-kg06axw8.js} +1 -1
  177. package/dist/chunks/{reference-hw4pv20g.js → shell-kvsjn1dr.js} +2 -2
  178. package/dist/chunks/{reference-5kw2ja90.js → shell-kvxwx3nk.js} +18 -18
  179. package/dist/chunks/{reference-y18qbtn0.js → shell-kyb951k0.js} +3 -3
  180. package/dist/chunks/{reference-4z6b0fg6.js → shell-m4bpwynw.js} +6 -6
  181. package/dist/chunks/{reference-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/shell-mf5kcrna.js +4 -0
  183. package/dist/chunks/{reference-8efgc05f.js → shell-mt97rwwj.js} +15 -15
  184. package/dist/chunks/{reference-yhr218qz.js → shell-mtcjf44p.js} +4 -4
  185. package/dist/chunks/{reference-xrq8ec0v.js → shell-mtvcp45q.js} +15 -15
  186. package/dist/chunks/{reference-g2xm0wwc.js → shell-mwm6j4mv.js} +11 -11
  187. package/dist/chunks/{reference-n3zdm92s.js → shell-n3m3nbex.js} +4 -4
  188. package/dist/chunks/{reference-e8dmw4nq.js → shell-n5vm294d.js} +29 -29
  189. package/dist/chunks/{reference-w26538p1.js → shell-n87qk14a.js} +24 -24
  190. package/dist/chunks/{reference-z407bpgn.js → shell-n8z0sp8q.js} +21 -21
  191. package/dist/chunks/{reference-v60ecprk.js → shell-nag7dxjf.js} +9 -9
  192. package/dist/chunks/{reference-4s516vzf.js → shell-nd9cq3a7.js} +9 -9
  193. package/dist/chunks/{reference-j2823k0a.js → shell-ng39vjdn.js} +2 -2
  194. package/dist/chunks/{reference-4h3djfaw.js → shell-nwrk5bab.js} +35 -35
  195. package/dist/chunks/{reference-1qw2s0et.js → shell-nxrz604p.js} +5 -5
  196. package/dist/chunks/{reference-t87rya8x.js → shell-ny0wre0x.js} +18 -18
  197. package/dist/chunks/{reference-mb6p4x5v.js → shell-nzfzr9h0.js} +43 -43
  198. package/dist/chunks/{reference-pjrq25az.js → shell-p58t2f8x.js} +22 -22
  199. package/dist/chunks/{reference-1n116cmy.js → shell-pbhkjpds.js} +9 -9
  200. package/dist/chunks/{reference-6efxj6ke.js → shell-pdy88f7k.js} +4 -4
  201. package/dist/chunks/{reference-bdqrk2vk.js → shell-pjedbq3k.js} +4 -4
  202. package/dist/chunks/{reference-asb6ptdj.js → shell-pjjtcy2p.js} +10 -10
  203. package/dist/chunks/{reference-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{reference-pknna89w.js → shell-pknna89w.js} +1 -1
  205. package/dist/chunks/{reference-cawt2ka0.js → shell-pprv0vrv.js} +32 -32
  206. package/dist/chunks/{reference-g41n1fn3.js → shell-pxednv00.js} +5 -5
  207. package/dist/chunks/{reference-q509s3k3.js → shell-q509s3k3.js} +1 -1
  208. package/dist/chunks/{reference-x41jnft1.js → shell-q57b8tdc.js} +57 -57
  209. package/dist/chunks/{reference-z6q3sy01.js → shell-q9b8xy67.js} +9 -9
  210. package/dist/chunks/{reference-fcrkznn8.js → shell-qgn6gcr1.js} +5 -5
  211. package/dist/chunks/{reference-8s7rem2e.js → shell-qhchxjqx.js} +5 -5
  212. package/dist/chunks/{reference-18tdf853.js → shell-qr58g126.js} +7 -7
  213. package/dist/chunks/{reference-qsdy395h.js → shell-qsdy395h.js} +1 -1
  214. package/dist/chunks/{reference-rx1jg21z.js → shell-r8cfqb6n.js} +166 -166
  215. package/dist/chunks/{reference-r8dhm0tv.js → shell-r8dhm0tv.js} +1 -1
  216. package/dist/chunks/{reference-6k404gxp.js → shell-rh6rd7ag.js} +4 -4
  217. package/dist/chunks/{reference-b2vrfppg.js → shell-rpqdjjqf.js} +18 -18
  218. package/dist/chunks/{reference-3vnt15xv.js → shell-ryhm87t0.js} +43 -43
  219. package/dist/chunks/{reference-a9zfrvqc.js → shell-rzejcw32.js} +5 -5
  220. package/dist/chunks/{reference-xqsy6kp0.js → shell-rzyn4jtv.js} +1 -1
  221. package/dist/chunks/{reference-1qh4pj30.js → shell-s375ke01.js} +24 -24
  222. package/dist/chunks/{reference-qmgss0yx.js → shell-s440spbv.js} +22 -22
  223. package/dist/chunks/{reference-xcjh69t4.js → shell-s85evsrx.js} +15 -15
  224. package/dist/chunks/{reference-ah5d5vc5.js → shell-s8nmbtd4.js} +9 -9
  225. package/dist/chunks/{reference-5mmddgh2.js → shell-sa3v8zc4.js} +10 -10
  226. package/dist/chunks/{reference-sba4qhjf.js → shell-sba4qhjf.js} +1 -1
  227. package/dist/chunks/{reference-j8tds478.js → shell-smfx8wrd.js} +9 -9
  228. package/dist/chunks/{reference-yegg0avx.js → shell-st0xy9pc.js} +84 -84
  229. package/dist/chunks/{reference-8nfv3dr6.js → shell-swa286b8.js} +13 -13
  230. package/dist/chunks/{reference-gaw4vzx1.js → shell-swx5t4h5.js} +11 -11
  231. package/dist/chunks/{reference-7x2s7bzw.js → shell-t2cat712.js} +17 -17
  232. package/dist/chunks/{reference-pzqtgemf.js → shell-t2h14k12.js} +11 -11
  233. package/dist/chunks/{reference-84p78t7c.js → shell-t98tbty9.js} +11 -11
  234. package/dist/chunks/{reference-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{reference-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{reference-6md5mvvn.js → shell-tcxv96y6.js} +15 -15
  237. package/dist/chunks/{reference-tjykrgmx.js → shell-tjykrgmx.js} +1 -1
  238. package/dist/chunks/{reference-mkqxwqz2.js → shell-v0z4favv.js} +7 -7
  239. package/dist/chunks/{reference-t7jrq559.js → shell-v623p3vn.js} +8 -8
  240. package/dist/chunks/{reference-krma7hp6.js → shell-v8hftjms.js} +19 -19
  241. package/dist/chunks/{reference-sht6jbn9.js → shell-vk2ezsxw.js} +26 -26
  242. package/dist/chunks/{reference-d7na6v95.js → shell-vkh6dqf1.js} +3 -3
  243. package/dist/chunks/{reference-sznyev98.js → shell-vnwmzs4a.js} +5 -5
  244. package/dist/chunks/{reference-2w60sym0.js → shell-vprv6wac.js} +45 -45
  245. package/dist/chunks/{reference-s3eqpch7.js → shell-vqe9fq18.js} +1 -1
  246. package/dist/chunks/{reference-n97at88n.js → shell-vxzwg83z.js} +15 -15
  247. package/dist/chunks/{reference-hfg87k89.js → shell-w0nm8ced.js} +24 -24
  248. package/dist/chunks/{reference-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{reference-21psq759.js → shell-w7q1nt0x.js} +15 -15
  250. package/dist/chunks/{reference-vyc39jy3.js → shell-w7q2j5hm.js} +13 -13
  251. package/dist/chunks/{reference-8q4ja06g.js → shell-waq1hr54.js} +15 -15
  252. package/dist/chunks/{reference-50xx9m7g.js → shell-wc7kexz2.js} +9 -9
  253. package/dist/chunks/{reference-018mknr8.js → shell-wd340t2h.js} +17 -17
  254. package/dist/chunks/{reference-wd87259q.js → shell-wd87259q.js} +1 -1
  255. package/dist/chunks/{reference-g77vssk4.js → shell-wkjngxy5.js} +3 -3
  256. package/dist/chunks/{reference-k1m6m3k9.js → shell-wkzk3h6w.js} +14 -14
  257. package/dist/chunks/{reference-tk4kvvnf.js → shell-wmwak4mn.js} +24 -24
  258. package/dist/chunks/{reference-k3895j1r.js → shell-wxx0ch5c.js} +24 -24
  259. package/dist/chunks/{reference-ffynz4t3.js → shell-wz16cg5z.js} +20 -20
  260. package/dist/chunks/{reference-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{reference-ef7xpky4.js → shell-x629tvq7.js} +18 -18
  262. package/dist/chunks/{reference-snxwbbja.js → shell-xg3vtz5h.js} +4 -4
  263. package/dist/chunks/{reference-v5qh35yv.js → shell-xk1h8syj.js} +9 -9
  264. package/dist/chunks/{reference-4sjb0t0m.js → shell-xmwqh1zw.js} +30 -30
  265. package/dist/chunks/{reference-e579sj9a.js → shell-xnf7zpzd.js} +11 -11
  266. package/dist/chunks/{reference-q05vaz4s.js → shell-xwmwycrq.js} +5 -5
  267. package/dist/chunks/{reference-d657j5sf.js → shell-xy6tr93g.js} +8 -8
  268. package/dist/chunks/{reference-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{reference-y2cqme3r.js → shell-y2cqme3r.js} +2 -2
  270. package/dist/chunks/{reference-1c2r3nav.js → shell-y68fmg6q.js} +6 -6
  271. package/dist/chunks/{reference-y71avatq.js → shell-y71avatq.js} +1 -1
  272. package/dist/chunks/{reference-yfbd16n1.js → shell-yfbd16n1.js} +2 -2
  273. package/dist/chunks/{reference-dbhz56x7.js → shell-yj7asw96.js} +15 -15
  274. package/dist/chunks/{reference-f2n192rq.js → shell-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{reference-dnahm207.js → shell-yqgcr8m8.js} +23 -23
  276. package/dist/chunks/{reference-2sqse76q.js → shell-yw1br2hz.js} +76 -76
  277. package/dist/chunks/{reference-09ywgxwg.js → shell-yw9364ag.js} +4 -4
  278. package/dist/chunks/{reference-y3t4revc.js → shell-yzbh0z81.js} +4 -4
  279. package/dist/chunks/{reference-9v2dm5wj.js → shell-z0hzsv9t.js} +14 -14
  280. package/dist/chunks/{reference-z1k01bn4.js → shell-z1k01bn4.js} +2 -2
  281. package/dist/chunks/{reference-asvzsbd0.js → shell-z3zp40bp.js} +13 -13
  282. package/dist/chunks/{reference-856yxx7h.js → shell-zmdaybe6.js} +10 -10
  283. package/dist/chunks/{reference-6w0j3k4h.js → shell-zmghpns8.js} +4 -4
  284. package/dist/chunks/{reference-vr25nrf1.js → shell-zvpejf85.js} +46 -46
  285. package/dist/chunks/{reference-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +3 -3
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +81 -81
  290. package/dist/config/discovery.js +77 -77
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +19 -19
  293. package/dist/config/plugin/agent.js +115 -115
  294. package/dist/config/plugin/command.js +208 -208
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +115 -115
  299. package/dist/config/plugin/instruction.js +85 -85
  300. package/dist/config/plugin/location-watcher.js +115 -115
  301. package/dist/config/plugin/mcp.js +126 -126
  302. package/dist/config/plugin/policy.js +114 -114
  303. package/dist/config/plugin/provider.js +113 -113
  304. package/dist/config/plugin/reference.js +117 -117
  305. package/dist/config/plugin/shell.js +116 -116
  306. package/dist/config/plugin/skill-file.js +96 -96
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +115 -115
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +113 -113
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +119 -119
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +79 -79
  318. package/dist/database/database.js +64 -64
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration.gen.js +47 -47
  382. package/dist/database/migration.js +49 -49
  383. package/dist/database/path.js +2 -2
  384. package/dist/database/schema.gen.js +1 -1
  385. package/dist/database/schema.sql.js +1 -1
  386. package/dist/database/sqlite.bun.js +1 -1
  387. package/dist/database/sqlite.js +1 -1
  388. package/dist/database/sqlite.node.js +1 -1
  389. package/dist/database/sqlite.workerd.js +1 -1
  390. package/dist/database/v1-migration.bun.js +74 -74
  391. package/dist/database/v1-migration.js +1 -1
  392. package/dist/effect/app-node-builder.js +355 -355
  393. package/dist/effect/app-node-platform.js +2 -2
  394. package/dist/effect/keyed-mutex.js +1 -1
  395. package/dist/effect/websocket-constructor.js +1 -1
  396. package/dist/environment/driver.js +1 -1
  397. package/dist/environment/environment.js +88 -88
  398. package/dist/environment/exec-defaults.js +2 -2
  399. package/dist/environment/files.js +1 -1
  400. package/dist/environment/index.js +90 -90
  401. package/dist/environment/local.js +2 -2
  402. package/dist/environment/memory.js +2 -2
  403. package/dist/environment/unavailable.js +1 -1
  404. package/dist/event/sql.js +1 -1
  405. package/dist/event-logger.js +68 -68
  406. package/dist/file-mutation.js +89 -89
  407. package/dist/file-retention.js +1 -1
  408. package/dist/file.js +1 -1
  409. package/dist/filesystem/fff.bun.js +2 -2
  410. package/dist/filesystem/fff.js +1 -1
  411. package/dist/filesystem/fff.node.js +2 -2
  412. package/dist/filesystem/fff.workerd.js +2 -2
  413. package/dist/filesystem/ignore.js +1 -1
  414. package/dist/filesystem/location-watcher-policy.js +6 -6
  415. package/dist/filesystem/location-watcher.js +219 -219
  416. package/dist/filesystem/protected.js +1 -1
  417. package/dist/filesystem/search.js +99 -99
  418. package/dist/filesystem/watcher-binding.js +3 -3
  419. package/dist/filesystem/watcher.js +15 -15
  420. package/dist/filesystem.js +98 -98
  421. package/dist/form.js +84 -84
  422. package/dist/formatter/builtins.js +4 -4
  423. package/dist/formatter.js +82 -82
  424. package/dist/generate.js +91 -91
  425. package/dist/git.js +7 -7
  426. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  427. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  428. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  430. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  432. package/dist/github-copilot/copilot-provider.js +17 -17
  433. package/dist/github-copilot/models.js +7 -7
  434. package/dist/github-copilot/openai-compatible-error.js +1 -1
  435. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  436. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  437. package/dist/github-copilot/responses/openai-error.js +1 -1
  438. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  439. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  440. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  441. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  442. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  445. package/dist/id/id.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +3 -3
  449. package/dist/instance.js +348 -348
  450. package/dist/instruction-discovery.js +83 -83
  451. package/dist/instructions/builtins.js +82 -82
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +1 -1
  454. package/dist/integration.js +84 -84
  455. package/dist/job.js +77 -77
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +71 -71
  458. package/dist/location-activity.js +125 -125
  459. package/dist/location-mutation.js +81 -81
  460. package/dist/location-service-map.js +81 -81
  461. package/dist/location-services.js +347 -347
  462. package/dist/location.js +82 -82
  463. package/dist/mcp/client.js +86 -86
  464. package/dist/mcp/index.js +103 -103
  465. package/dist/mcp/instructions.js +121 -121
  466. package/dist/mcp/oauth.js +3 -3
  467. package/dist/mcp/stdio.js +85 -85
  468. package/dist/mime.js +1 -1
  469. package/dist/modal/models.js +7 -7
  470. package/dist/model-resolver.js +84 -84
  471. package/dist/model.js +6 -6
  472. package/dist/models-dev.js +86 -86
  473. package/dist/oauth/page.js +1 -1
  474. package/dist/permission/saved.js +78 -78
  475. package/dist/permission/sql.js +5 -5
  476. package/dist/permission.js +109 -109
  477. package/dist/persistent-pty/binary.bun.js +1 -1
  478. package/dist/persistent-pty/daemon.js +1 -1
  479. package/dist/persistent-pty/index.js +84 -84
  480. package/dist/persistent-pty/pty-binding.js +1 -1
  481. package/dist/persistent-pty.js +73 -73
  482. package/dist/plugin/agent.js +98 -98
  483. package/dist/plugin/command.js +96 -96
  484. package/dist/plugin/hooks.js +5 -5
  485. package/dist/plugin/host.js +212 -212
  486. package/dist/plugin/instance.js +5 -5
  487. package/dist/plugin/internal.js +321 -321
  488. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  489. package/dist/plugin/models-dev.js +75 -75
  490. package/dist/plugin/module.js +7 -7
  491. package/dist/plugin/optimize.js +2 -2
  492. package/dist/plugin/plan.js +96 -96
  493. package/dist/plugin/promise.js +1 -1
  494. package/dist/plugin/provider/alibaba.js +2 -2
  495. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  496. package/dist/plugin/provider/anthropic.js +2 -2
  497. package/dist/plugin/provider/azure.js +118 -118
  498. package/dist/plugin/provider/cerebras.js +2 -2
  499. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  500. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  501. package/dist/plugin/provider/cohere.js +2 -2
  502. package/dist/plugin/provider/configured.js +114 -114
  503. package/dist/plugin/provider/dynamic.js +2 -2
  504. package/dist/plugin/provider/factory.js +1 -1
  505. package/dist/plugin/provider/gateway.js +2 -2
  506. package/dist/plugin/provider/github-copilot.js +80 -80
  507. package/dist/plugin/provider/gitlab.js +3 -3
  508. package/dist/plugin/provider/google-vertex.js +2 -2
  509. package/dist/plugin/provider/kilo.js +2 -2
  510. package/dist/plugin/provider/llmgateway.js +76 -76
  511. package/dist/plugin/provider/lmstudio.js +117 -117
  512. package/dist/plugin/provider/mistral.js +2 -2
  513. package/dist/plugin/provider/modal.js +79 -79
  514. package/dist/plugin/provider/nvidia.js +2 -2
  515. package/dist/plugin/provider/ollama.js +117 -117
  516. package/dist/plugin/provider/openai-compatible.js +1 -1
  517. package/dist/plugin/provider/openai.js +78 -78
  518. package/dist/plugin/provider/opencode.js +76 -76
  519. package/dist/plugin/provider/openrouter.js +3 -3
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/sap-ai-core.js +3 -3
  522. package/dist/plugin/provider/sdk-factory.js +1 -1
  523. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  524. package/dist/plugin/provider/venice.js +2 -2
  525. package/dist/plugin/provider/vercel.js +2 -2
  526. package/dist/plugin/provider/vllm.js +117 -117
  527. package/dist/plugin/provider/xai.js +77 -77
  528. package/dist/plugin/provider/zenmux.js +2 -2
  529. package/dist/plugin/provider.js +155 -155
  530. package/dist/plugin/sdk.js +72 -72
  531. package/dist/plugin/service.js +1 -1
  532. package/dist/plugin/skill.js +132 -132
  533. package/dist/plugin/source-directory.js +1 -1
  534. package/dist/plugin/supervisor.js +340 -340
  535. package/dist/plugin/update.js +4 -4
  536. package/dist/plugin/variant.js +4 -4
  537. package/dist/plugin/vcs/git.js +82 -82
  538. package/dist/plugin/vcs/hg.js +82 -82
  539. package/dist/plugin/warming.js +112 -112
  540. package/dist/plugin/websearch/exa.js +5 -5
  541. package/dist/plugin/websearch/firecrawl.js +8 -8
  542. package/dist/plugin/websearch/index.js +8 -8
  543. package/dist/plugin/websearch/mcp.js +6 -6
  544. package/dist/plugin/websearch/parallel.js +8 -8
  545. package/dist/plugin/websearch/tavily.js +6 -6
  546. package/dist/plugin.js +221 -221
  547. package/dist/project/schema.js +8 -8
  548. package/dist/project/sql.js +4 -4
  549. package/dist/project.js +85 -85
  550. package/dist/provider.js +5 -5
  551. package/dist/pty/protocol.js +1 -1
  552. package/dist/pty/schema.js +3 -3
  553. package/dist/pty/ticket.js +1 -1
  554. package/dist/pty.js +92 -92
  555. package/dist/reference/instructions.js +82 -82
  556. package/dist/reference.js +84 -84
  557. package/dist/repository-cache.js +76 -76
  558. package/dist/repository.js +1 -1
  559. package/dist/ripgrep/binary.js +2 -2
  560. package/dist/ripgrep.js +93 -93
  561. package/dist/rpc.js +81 -81
  562. package/dist/schema.js +1 -1
  563. package/dist/session/command.js +72 -72
  564. package/dist/session/compaction.js +126 -126
  565. package/dist/session/context.js +146 -146
  566. package/dist/session/environment.js +5 -5
  567. package/dist/session/error.js +7 -7
  568. package/dist/session/event.js +1 -1
  569. package/dist/session/execution/restart.js +213 -213
  570. package/dist/session/execution.js +121 -121
  571. package/dist/session/generate.js +147 -147
  572. package/dist/session/history.js +14 -14
  573. package/dist/session/inbox.js +84 -84
  574. package/dist/session/info.js +3 -3
  575. package/dist/session/instruction-entry.js +77 -77
  576. package/dist/session/instruction-state.js +8 -8
  577. package/dist/session/instructions.js +91 -91
  578. package/dist/session/message-updater.js +2 -2
  579. package/dist/session/message.js +1 -1
  580. package/dist/session/model-request.js +110 -110
  581. package/dist/session/model-transport.js +7 -7
  582. package/dist/session/move.js +125 -125
  583. package/dist/session/projector.js +84 -84
  584. package/dist/session/prompt.js +99 -99
  585. package/dist/session/revert.js +85 -85
  586. package/dist/session/run-coordinator.js +3 -3
  587. package/dist/session/runner/index.js +1 -1
  588. package/dist/session/runner/llm.js +224 -224
  589. package/dist/session/runner/max-steps.js +1 -1
  590. package/dist/session/runner/model.js +84 -84
  591. package/dist/session/runner/publish-llm-event.js +3 -3
  592. package/dist/session/runner/retry.js +4 -4
  593. package/dist/session/runner/step.js +120 -120
  594. package/dist/session/runner/to-llm-message.js +1 -1
  595. package/dist/session/schema.js +5 -5
  596. package/dist/session/session.js +166 -166
  597. package/dist/session/shell.js +131 -131
  598. package/dist/session/skill.js +97 -97
  599. package/dist/session/sql.js +5 -5
  600. package/dist/session/stats.js +71 -71
  601. package/dist/session/store.js +82 -82
  602. package/dist/session/subagent-completion.js +1 -1
  603. package/dist/session/subagent-job.js +204 -204
  604. package/dist/session/system-prompt.js +1 -1
  605. package/dist/session/title.js +150 -150
  606. package/dist/session/to-session-error.js +106 -106
  607. package/dist/session/transfer.js +211 -211
  608. package/dist/session/usage.js +1 -1
  609. package/dist/session.js +212 -212
  610. package/dist/shell/parse.js +6 -6
  611. package/dist/shell/result.js +1 -1
  612. package/dist/shell/scan.js +1 -1
  613. package/dist/shell/select.js +11 -11
  614. package/dist/shell.js +133 -133
  615. package/dist/skill/discovery.js +6 -6
  616. package/dist/skill/instructions.js +101 -101
  617. package/dist/skill.js +102 -102
  618. package/dist/snapshot.js +88 -88
  619. package/dist/state.js +1 -1
  620. package/dist/tool/html-markdown.js +1 -1
  621. package/dist/tool/http-body.js +1 -1
  622. package/dist/tool/mcp.js +120 -120
  623. package/dist/tool/plugin/edit.js +114 -114
  624. package/dist/tool/plugin/file-diff.js +1 -1
  625. package/dist/tool/plugin/glob.js +119 -119
  626. package/dist/tool/plugin/grep.js +119 -119
  627. package/dist/tool/plugin/opencode.js +3 -3
  628. package/dist/tool/plugin/patch.js +108 -108
  629. package/dist/tool/plugin/question.js +97 -97
  630. package/dist/tool/plugin/read.js +120 -120
  631. package/dist/tool/plugin/shell.js +205 -205
  632. package/dist/tool/plugin/skill.js +99 -99
  633. package/dist/tool/plugin/subagent.js +211 -211
  634. package/dist/tool/plugin/webfetch.js +104 -104
  635. package/dist/tool/plugin/websearch.js +106 -106
  636. package/dist/tool/plugin/write.js +116 -116
  637. package/dist/tool/read-filesystem.js +96 -96
  638. package/dist/tool/runtime.js +1 -1
  639. package/dist/tool-output.js +8 -8
  640. package/dist/tool.js +11 -11
  641. package/dist/util/error-summary.js +1 -1
  642. package/dist/util/error.js +1 -1
  643. package/dist/util/iife.js +1 -1
  644. package/dist/util/lazy.js +1 -1
  645. package/dist/util/slug.js +1 -1
  646. package/dist/util/token.js +1 -1
  647. package/dist/util/which.js +1 -1
  648. package/dist/util/wildcard.js +1 -1
  649. package/dist/v1/config/agent.js +7 -7
  650. package/dist/v1/config/attachment.js +4 -4
  651. package/dist/v1/config/command.js +3 -3
  652. package/dist/v1/config/config.js +16 -16
  653. package/dist/v1/config/error.js +4 -4
  654. package/dist/v1/config/formatter.js +3 -3
  655. package/dist/v1/config/layout.js +1 -1
  656. package/dist/v1/config/lsp.js +3 -3
  657. package/dist/v1/config/mcp.js +4 -4
  658. package/dist/v1/config/migrate.js +4 -4
  659. package/dist/v1/config/permission.js +7 -7
  660. package/dist/v1/config/plugin.js +3 -3
  661. package/dist/v1/config/provider-options.js +1 -1
  662. package/dist/v1/config/provider.js +4 -4
  663. package/dist/v1/config/server.js +2 -2
  664. package/dist/v1/config/skills.js +3 -3
  665. package/dist/v1/permission.js +1 -1
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +83 -83
  668. package/dist/websearch.js +80 -80
  669. package/dist/wellknown/plugin.js +74 -74
  670. package/dist/wellknown.js +77 -77
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +76 -76
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +5 -5
  676. package/dist/worktree/refresh.js +339 -339
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree.js +89 -89
  679. package/package.json +7 -7
  680. package/dist/chunks/reference-584ntgtv.js +0 -460
  681. package/dist/chunks/reference-7zk4hah4.js +0 -4
  682. package/dist/chunks/reference-ehdge3wy.js +0 -22
  683. package/dist/chunks/reference-yb1x73y0.js +0 -247
  684. /package/dist/chunks/{reference-0fabt78z.js → shell-0fabt78z.js} +0 -0
  685. /package/dist/chunks/{reference-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{reference-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{reference-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{reference-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{reference-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{reference-2710q6r3.js → shell-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{reference-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{reference-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{reference-359p4xyc.js → shell-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{reference-3asan66x.js → shell-3asan66x.js} +0 -0
  695. /package/dist/chunks/{reference-3t738kvx.js → shell-3t738kvx.js} +0 -0
  696. /package/dist/chunks/{reference-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{reference-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  698. /package/dist/chunks/{reference-41nvscxy.js → shell-41nvscxy.js} +0 -0
  699. /package/dist/chunks/{reference-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{reference-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{reference-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  702. /package/dist/chunks/{reference-53557ph1.js → shell-53557ph1.js} +0 -0
  703. /package/dist/chunks/{reference-550bvhaj.js → shell-550bvhaj.js} +0 -0
  704. /package/dist/chunks/{reference-6prwharc.js → shell-6prwharc.js} +0 -0
  705. /package/dist/chunks/{reference-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  706. /package/dist/chunks/{reference-7m9af43g.js → shell-7m9af43g.js} +0 -0
  707. /package/dist/chunks/{reference-822emrt2.js → shell-822emrt2.js} +0 -0
  708. /package/dist/chunks/{reference-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  709. /package/dist/chunks/{reference-8n3pysct.js → shell-8n3pysct.js} +0 -0
  710. /package/dist/chunks/{reference-982e01ww.js → shell-982e01ww.js} +0 -0
  711. /package/dist/chunks/{reference-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  712. /package/dist/chunks/{reference-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  713. /package/dist/chunks/{reference-a1tpkmh4.js → shell-a1tpkmh4.js} +0 -0
  714. /package/dist/chunks/{reference-af5trqkr.js → shell-af5trqkr.js} +0 -0
  715. /package/dist/chunks/{reference-afrmfg78.js → shell-afrmfg78.js} +0 -0
  716. /package/dist/chunks/{reference-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  717. /package/dist/chunks/{reference-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  718. /package/dist/chunks/{reference-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  719. /package/dist/chunks/{reference-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  720. /package/dist/chunks/{reference-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  721. /package/dist/chunks/{reference-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  722. /package/dist/chunks/{reference-d9fn303g.js → shell-d9fn303g.js} +0 -0
  723. /package/dist/chunks/{reference-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  724. /package/dist/chunks/{reference-dajrwvna.js → shell-dajrwvna.js} +0 -0
  725. /package/dist/chunks/{reference-dap0rakb.js → shell-dap0rakb.js} +0 -0
  726. /package/dist/chunks/{reference-df08tz66.js → shell-df08tz66.js} +0 -0
  727. /package/dist/chunks/{reference-dy18nga0.js → shell-dy18nga0.js} +0 -0
  728. /package/dist/chunks/{reference-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  729. /package/dist/chunks/{reference-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  730. /package/dist/chunks/{reference-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  731. /package/dist/chunks/{reference-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  732. /package/dist/chunks/{reference-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  733. /package/dist/chunks/{reference-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  734. /package/dist/chunks/{reference-faypxj3z.js → shell-faypxj3z.js} +0 -0
  735. /package/dist/chunks/{reference-fd410y7t.js → shell-fd410y7t.js} +0 -0
  736. /package/dist/chunks/{reference-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  737. /package/dist/chunks/{reference-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  738. /package/dist/chunks/{reference-g86h250q.js → shell-g86h250q.js} +0 -0
  739. /package/dist/chunks/{reference-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  740. /package/dist/chunks/{reference-hk9envan.js → shell-hk9envan.js} +0 -0
  741. /package/dist/chunks/{reference-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  742. /package/dist/chunks/{reference-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  743. /package/dist/chunks/{reference-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  744. /package/dist/chunks/{reference-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  745. /package/dist/chunks/{reference-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  746. /package/dist/chunks/{reference-mntxs535.js → shell-mntxs535.js} +0 -0
  747. /package/dist/chunks/{reference-mp448xyj.js → shell-mp448xyj.js} +0 -0
  748. /package/dist/chunks/{reference-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  749. /package/dist/chunks/{reference-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  750. /package/dist/chunks/{reference-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  751. /package/dist/chunks/{reference-njntx4h6.js → shell-njntx4h6.js} +0 -0
  752. /package/dist/chunks/{reference-p8qxwesx.js → shell-p8qxwesx.js} +0 -0
  753. /package/dist/chunks/{reference-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  754. /package/dist/chunks/{reference-q74kybfr.js → shell-q74kybfr.js} +0 -0
  755. /package/dist/chunks/{reference-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  756. /package/dist/chunks/{reference-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  757. /package/dist/chunks/{reference-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  758. /package/dist/chunks/{reference-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  759. /package/dist/chunks/{reference-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  760. /package/dist/chunks/{reference-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  761. /package/dist/chunks/{reference-se0s1eqw.js → shell-se0s1eqw.js} +0 -0
  762. /package/dist/chunks/{reference-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  763. /package/dist/chunks/{reference-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  764. /package/dist/chunks/{reference-twg0f83k.js → shell-twg0f83k.js} +0 -0
  765. /package/dist/chunks/{reference-w803qqfp.js → shell-w803qqfp.js} +0 -0
  766. /package/dist/chunks/{reference-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  767. /package/dist/chunks/{reference-wtztk69x.js → shell-wtztk69x.js} +0 -0
  768. /package/dist/chunks/{reference-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  769. /package/dist/chunks/{reference-x1b8g1yb.js → shell-x1b8g1yb.js} +0 -0
  770. /package/dist/chunks/{reference-x61499pn.js → shell-x61499pn.js} +0 -0
  771. /package/dist/chunks/{reference-y44na4kk.js → shell-y44na4kk.js} +0 -0
  772. /package/dist/chunks/{reference-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  773. /package/dist/chunks/{reference-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  774. /package/dist/chunks/{reference-z9919s4g.js → shell-z9919s4g.js} +0 -0
  775. /package/dist/chunks/{reference-zbjnn3ac.js → shell-zbjnn3ac.js} +0 -0
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./reference-p8qxwesx.js";
3
+ } from "./shell-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./reference-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service11,
11
+ Service: () => Service9,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node14
13
+ node: () => node11
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service9 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service11, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service11.of({
66
+ return Service9.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node14 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node11 = makeGlobalNode({ service: Service9, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service11, node14, exports_discovery };
155
+ export { Service9, node11, exports_discovery };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./reference-d05z5f6t.js";
2
+ Service73,
3
+ node78
4
+ } from "./shell-b9mymrzg.js";
5
5
  import {
6
6
  __export
7
- } from "./reference-9rqn6x4v.js";
7
+ } from "./shell-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info29,
12
+ Info: () => Info30,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service76,
15
+ Service: () => Service72,
16
16
  boundNode: () => boundNode2,
17
- node: () => node81,
17
+ node: () => node77,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info29, Ref as Ref4, response as response2 } from "@opencode-ai/schema/location";
21
+ import { Info as Info30, Ref as Ref4, response as response2 } from "@opencode-ai/schema/location";
22
22
  import { LayerNode } from "@opencode-ai/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode-ai/util/effect/app-node";
24
- class Service76 extends Context.Service()("@opencode/Location") {
24
+ class Service72 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node81 = LayerNode.unbound(Service76, tags.values.location);
27
- var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
28
- const project = yield* Service77;
26
+ var node77 = LayerNode.unbound(Service72, tags.values.location);
27
+ var layer = (ref, options) => Layer.effect(Service72, Effect.gen(function* () {
28
+ const project = yield* Service73;
29
29
  const resolved = yield* project.resolve(ref.directory, options);
30
- return Service76.of({
30
+ return Service72.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref, options) => makeLocationNode({
38
- service: Service76,
38
+ service: Service72,
39
39
  layer: layer(ref, options),
40
- deps: [node82]
40
+ deps: [node78]
41
41
  });
42
42
 
43
- export { Info29, Ref4, response2, Service76, node81, boundNode2, exports_location };
43
+ export { Info30, Ref4, response2, Service72, node77, boundNode2, exports_location };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./reference-emrn6kk6.js";
5
+ } from "./shell-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./reference-2a5m3afh.js";
3
+ } from "./shell-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./reference-p8qxwesx.js";
6
+ } from "./shell-p8qxwesx.js";
7
7
  import {
8
- Service76
9
- } from "./reference-fexhrjwy.js";
8
+ Service72
9
+ } from "./shell-7769r81k.js";
10
10
  import {
11
- Service55
12
- } from "./reference-5ehqaa7d.js";
11
+ Service68
12
+ } from "./shell-f0vxf23b.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service20
16
- } from "./reference-5kw2ja90.js";
15
+ Service67
16
+ } from "./shell-kvxwx3nk.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./reference-12d3xw68.js";
23
+ } from "./shell-871gwe26.js";
24
24
  import {
25
25
  externalDirectoryPermission2,
26
- Service13
27
- } from "./reference-fa3xpm51.js";
26
+ Service51
27
+ } from "./shell-a26qnsqg.js";
28
28
  import {
29
- Service64
30
- } from "./reference-etjqf465.js";
29
+ Service45
30
+ } from "./shell-9660t85j.js";
31
31
  import {
32
32
  __export
33
- } from "./reference-9rqn6x4v.js";
33
+ } from "./shell-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/grep.ts
36
36
  var exports_grep = {};
37
37
  __export(exports_grep, {
38
38
  GrepTool: () => exports_grep,
39
- Input: () => Input10,
40
- Output: () => Output7,
41
- Plugin: () => Plugin24,
42
- name: () => name10,
43
- toModelContent: () => toModelContent5
39
+ Input: () => Input11,
40
+ Output: () => Output8,
41
+ Plugin: () => Plugin12,
42
+ name: () => name11,
43
+ toModelContent: () => toModelContent6
44
44
  });
45
45
  import { ToolFailure } from "@opencode-ai/ai";
46
46
  import { Effect, Schema } from "effect";
47
47
  import path from "path";
48
- var name10 = "grep";
49
- var Input10 = Schema.Struct({
48
+ var name11 = "grep";
49
+ var Input11 = Schema.Struct({
50
50
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
51
51
  description: "Regular expression or literal text to match in file contents."
52
52
  }),
@@ -66,8 +66,8 @@ var Input10 = Schema.Struct({
66
66
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
67
67
  })
68
68
  });
69
- var Output7 = Schema.Array(Match2);
70
- var toModelContent5 = (matches, truncated = false) => {
69
+ var Output8 = Schema.Array(Match2);
70
+ var toModelContent6 = (matches, truncated = false) => {
71
71
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
72
72
  let current = "";
73
73
  for (const match of matches) {
@@ -84,20 +84,20 @@ var toModelContent5 = (matches, truncated = false) => {
84
84
  return lines.join(`
85
85
  `);
86
86
  };
87
- var Plugin24 = {
87
+ var Plugin12 = {
88
88
  id: "opencode.tool.grep",
89
89
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
90
- const environment = yield* Service55;
91
- const ripgrep = yield* Service20;
92
- const location = yield* Service76;
93
- const mutation = yield* Service13;
94
- const permission = yield* Service64;
90
+ const environment = yield* Service68;
91
+ const ripgrep = yield* Service67;
92
+ const location = yield* Service72;
93
+ const mutation = yield* Service51;
94
+ const permission = yield* Service45;
95
95
  yield* ctx.tool.transform((editor) => editor.add({
96
- name: name10,
96
+ name: name11,
97
97
  options: { codemode: false },
98
98
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
99
- input: Input10,
100
- output: Output7,
99
+ input: Input11,
100
+ output: Output8,
101
101
  execute: (input, context) => Effect.gen(function* () {
102
102
  const source = { type: "tool", messageID: context.messageID, id: context.id };
103
103
  const target = yield* mutation.resolve({ path: input.path ?? "." });
@@ -109,7 +109,7 @@ var Plugin24 = {
109
109
  source
110
110
  });
111
111
  yield* permission.assert({
112
- action: name10,
112
+ action: name11,
113
113
  resources: [input.pattern],
114
114
  save: ["*"],
115
115
  metadata: {
@@ -151,7 +151,7 @@ var Plugin24 = {
151
151
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
152
152
  }).pipe(Effect.map((result) => ({
153
153
  output: result.matches,
154
- content: toModelContent5(result.matches.map((match) => ({
154
+ content: toModelContent6(result.matches.map((match) => ({
155
155
  ...match,
156
156
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
157
157
  })), result.truncated),
@@ -161,4 +161,4 @@ var Plugin24 = {
161
161
  })
162
162
  };
163
163
 
164
- export { name10, Input10, Output7, toModelContent5, Plugin24, exports_grep };
164
+ export { name11, Input11, Output8, toModelContent6, Plugin12, exports_grep };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./reference-4z6b0fg6.js";
4
+ } from "./shell-m4bpwynw.js";
5
5
 
6
6
  // src/plugin/provider/anthropic.ts
7
7
  import { Effect } from "effect";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service79
3
- } from "./reference-6w0j3k4h.js";
3
+ } from "./shell-zmghpns8.js";
4
4
  import {
5
- Service16,
6
- Event2
7
- } from "./reference-p8mkgytk.js";
5
+ Service30,
6
+ Event4
7
+ } from "./shell-42nrxqjf.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -14,7 +14,7 @@ import { Effect, Stream } from "effect";
14
14
  var ModelsDevPlugin2 = define({
15
15
  id: "opencode.models.dev",
16
16
  effect: Effect.fn(function* (ctx) {
17
- const modelsDev = yield* Service16;
17
+ const modelsDev = yield* Service30;
18
18
  const bus = yield* Service79;
19
19
  const loaded = { data: snapshots(yield* modelsDev.get()) };
20
20
  yield* ctx.integration.transform((integrations) => {
@@ -49,7 +49,7 @@ var ModelsDevPlugin2 = define({
49
49
  }
50
50
  }
51
51
  });
52
- yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
52
+ yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
53
53
  })
54
54
  });
55
55
  function environmentNames(provider) {
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission = {};
7
- __export(exports_permission, {
6
+ var exports_permission2 = {};
7
+ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info19,
9
+ ConfigPermissionV1: () => exports_permission2,
10
+ Info: () => Info24,
11
11
  Object: () => Object2,
12
- Rule: () => Rule2
12
+ Rule: () => Rule3
13
13
  });
14
14
  import { Schema, SchemaGetter } from "effect";
15
15
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
16
16
  var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
17
- var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
17
+ var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
18
18
  var InputObject = Schema.StructWithRest(Schema.Struct({
19
- read: Schema.optional(Rule2),
20
- edit: Schema.optional(Rule2),
21
- glob: Schema.optional(Rule2),
22
- grep: Schema.optional(Rule2),
23
- list: Schema.optional(Rule2),
24
- bash: Schema.optional(Rule2),
25
- task: Schema.optional(Rule2),
26
- external_directory: Schema.optional(Rule2),
19
+ read: Schema.optional(Rule3),
20
+ edit: Schema.optional(Rule3),
21
+ glob: Schema.optional(Rule3),
22
+ grep: Schema.optional(Rule3),
23
+ list: Schema.optional(Rule3),
24
+ bash: Schema.optional(Rule3),
25
+ task: Schema.optional(Rule3),
26
+ external_directory: Schema.optional(Rule3),
27
27
  question: Schema.optional(Action2),
28
28
  webfetch: Schema.optional(Action2),
29
29
  websearch: Schema.optional(Action2),
30
- lsp: Schema.optional(Rule2),
30
+ lsp: Schema.optional(Rule3),
31
31
  doom_loop: Schema.optional(Action2),
32
- skill: Schema.optional(Rule2)
33
- }), [Schema.Record(Schema.String, Rule2)]);
32
+ skill: Schema.optional(Rule3)
33
+ }), [Schema.Record(Schema.String, Rule3)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info19 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info24 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info19, exports_permission };
41
+ export { Action2, Object2, Rule3, Info24, exports_permission2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info14
9
+ Info: () => Info21
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info14 = Schema.Struct({
12
+ var Info21 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info14 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info14, exports_command5 };
21
+ export { Info21, exports_command5 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service80
3
- } from "./reference-e7ngq1fb.js";
3
+ } from "./shell-jqrqy21d.js";
4
4
  import {
5
5
  Service41
6
- } from "./reference-k0zpnkm5.js";
6
+ } from "./shell-8fsmte50.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./reference-q509s3k3.js";
9
+ } from "./shell-q509s3k3.js";
10
10
  import {
11
11
  preview2
12
- } from "./reference-a3jrf4x9.js";
12
+ } from "./shell-jq9g1dav.js";
13
13
  import {
14
14
  baseTranscript2
15
- } from "./reference-a3hbghzv.js";
15
+ } from "./shell-gd943ppd.js";
16
16
  import {
17
- Service26
18
- } from "./reference-yegg0avx.js";
17
+ Service15
18
+ } from "./shell-st0xy9pc.js";
19
19
  import {
20
20
  __export
21
- } from "./reference-9rqn6x4v.js";
21
+ } from "./shell-9rqn6x4v.js";
22
22
 
23
23
  // src/session/generate.ts
24
- var exports_generate2 = {};
25
- __export(exports_generate2, {
26
- SessionGenerate: () => exports_generate2,
24
+ var exports_generate = {};
25
+ __export(exports_generate, {
26
+ SessionGenerate: () => exports_generate,
27
27
  generate: () => generate3
28
28
  });
29
29
  import { LLMClient, Message } from "@opencode-ai/ai";
@@ -34,7 +34,7 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
34
34
  const llm = yield* LLMClient.Service;
35
35
  return yield* Effect.gen(function* () {
36
36
  yield* awaitActivation2;
37
- const context = yield* Service26;
37
+ const context = yield* Service15;
38
38
  const selection = yield* context.select(input.session.id);
39
39
  const model = yield* context.resolveModel(selection.session);
40
40
  const history = yield* preview2(database.db, selection.session.id, selection.instructions);
@@ -68,4 +68,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
68
68
  }).pipe(instances.provide(input.session));
69
69
  });
70
70
 
71
- export { generate3, exports_generate2 };
71
+ export { generate3, exports_generate };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./reference-p8qxwesx.js";
4
+ } from "./shell-p8qxwesx.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./reference-fexhrjwy.js";
6
+ Service72,
7
+ node77
8
+ } from "./shell-7769r81k.js";
9
9
  import {
10
- Service18,
11
- node21
12
- } from "./reference-sxfxx2yk.js";
10
+ Service36,
11
+ node41
12
+ } from "./shell-46ypjb8x.js";
13
13
  import {
14
14
  __export
15
- } from "./reference-9rqn6x4v.js";
15
+ } from "./shell-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
@@ -21,17 +21,17 @@ __export(exports_filesystem, {
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
23
  Entry: () => Entry2,
24
- Event: () => Event3,
24
+ Event: () => Event6,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
28
28
  GrepInput: () => GrepInput2,
29
- ListInput: () => ListInput2,
29
+ ListInput: () => ListInput3,
30
30
  Match: () => Match2,
31
31
  ReadInput: () => ReadInput2,
32
- Service: () => Service17,
32
+ Service: () => Service35,
33
33
  Submatch: () => Submatch2,
34
- node: () => node20
34
+ node: () => node40
35
35
  });
36
36
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
37
37
  import path from "path";
@@ -49,7 +49,7 @@ var Content2 = Schema.Struct({
49
49
  encoding: Schema.Literals(["utf8", "base64"]),
50
50
  mime: Schema.String
51
51
  }).annotate({ identifier: "FileSystem.Content" });
52
- var ListInput2 = Schema.Struct({
52
+ var ListInput3 = Schema.Struct({
53
53
  path: Schema.String.pipe(Schema.optional)
54
54
  });
55
55
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
72
72
  limit: Schema.optionalKey(PositiveInt2)
73
73
  }) {
74
74
  }
75
- var Event3 = FileSystem.Event;
75
+ var Event6 = FileSystem.Event;
76
76
 
77
- class Service17 extends Context.Service()("@opencode/FileSystem") {
77
+ class Service35 extends Context.Service()("@opencode/FileSystem") {
78
78
  }
79
- var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
79
+ var baseLayer = Layer.effect(Service35, Effect.gen(function* () {
80
80
  const fs = yield* FSUtil.Service;
81
- const location = yield* Service76;
82
- const search = yield* Service18;
81
+ const location = yield* Service72;
82
+ const search = yield* Service36;
83
83
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
84
84
  const resolve = Effect.fnUntraced(function* (input) {
85
85
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
90
90
  return yield* Effect.die(new Error("Path escapes the location"));
91
91
  return { absolute, real, directory: location.directory };
92
92
  });
93
- return Service17.of({
93
+ return Service35.of({
94
94
  find: search.find,
95
95
  read: Effect.fn("FileSystem.read")(function* (input) {
96
96
  const target = yield* resolve(input.path);
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
122
122
  })
123
123
  });
124
124
  }));
125
- var node20 = makeLocationNode({
126
- service: Service17,
125
+ var node40 = makeLocationNode({
126
+ service: Service35,
127
127
  layer: baseLayer,
128
- deps: [FSUtil.node, node81, node21]
128
+ deps: [FSUtil.node, node77, node41]
129
129
  });
130
130
 
131
- export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service17, node20, exports_filesystem, Entry2, Match2, Submatch2 };
131
+ export { FindInput2, ReadInput2, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service35, node40, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
9
  Service: () => Service41,
10
- node: () => node44
10
+ node: () => node45
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode-ai/util/effect/app-node";
@@ -15,6 +15,6 @@ import { LayerNode } from "@opencode-ai/util/effect/layer-node";
15
15
 
16
16
  class Service41 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node44 = LayerNode.unbound(Service41, Node.tags.values.global);
18
+ var node45 = LayerNode.unbound(Service41, Node.tags.values.global);
19
19
 
20
- export { Service41, node44, exports_service2 };
20
+ export { Service41, node45, exports_service2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service60
3
- } from "./reference-3vnt15xv.js";
2
+ Service62
3
+ } from "./shell-ryhm87t0.js";
4
4
  import {
5
- Service10
6
- } from "./reference-krma7hp6.js";
5
+ Service12
6
+ } from "./shell-v8hftjms.js";
7
7
  import {
8
8
  observe2
9
- } from "./reference-qsdy395h.js";
9
+ } from "./shell-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./reference-9rqn6x4v.js";
12
+ } from "./shell-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin36
18
+ Plugin: () => Plugin27
19
19
  });
20
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin36 = define({
22
+ var Plugin27 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service60;
26
- const compaction = yield* Service10;
25
+ const config = yield* Service62;
26
+ const compaction = yield* Service12;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin36 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin36, exports_compaction };
42
+ export { Plugin27, exports_compaction };