@opencode/core 0.0.0-dev-20229 → 0.0.0-dev-20238

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{ripgrep-v8rep1gr.js → workspace-0csdmtm4.js} +8 -8
  8. package/dist/chunks/{ripgrep-p0n61q8f.js → workspace-0n965b9a.js} +3 -3
  9. package/dist/chunks/{ripgrep-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{ripgrep-j83byb14.js → workspace-0v53mg2y.js} +4 -4
  11. package/dist/chunks/{ripgrep-c4qkmtec.js → workspace-11pm3r9v.js} +12 -12
  12. package/dist/chunks/{ripgrep-0ryd0fps.js → workspace-150yg2gd.js} +5 -5
  13. package/dist/chunks/{ripgrep-1j2r6vf4.js → workspace-16jcs5eh.js} +7 -7
  14. package/dist/chunks/{ripgrep-jw4cy8r0.js → workspace-16srrwpp.js} +58 -58
  15. package/dist/chunks/{ripgrep-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{ripgrep-0ebnstrp.js → workspace-1efy3mt3.js} +30 -30
  17. package/dist/chunks/{ripgrep-9jy5zj8y.js → workspace-1mdxwgjq.js} +16 -16
  18. package/dist/chunks/{ripgrep-kgxnw31j.js → workspace-1xm4vf8s.js} +11 -11
  19. package/dist/chunks/{ripgrep-zqcthdv3.js → workspace-1xw4hqxx.js} +15 -15
  20. package/dist/chunks/{ripgrep-21r38tys.js → workspace-21r38tys.js} +1 -1
  21. package/dist/chunks/{ripgrep-hsfvbcm9.js → workspace-25c0jgp8.js} +8 -8
  22. package/dist/chunks/{ripgrep-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{ripgrep-by02v520.js → workspace-2ejs92bv.js} +15 -15
  24. package/dist/chunks/{ripgrep-4400tn2z.js → workspace-2eryhk75.js} +31 -31
  25. package/dist/chunks/{ripgrep-09r6bem7.js → workspace-2kh7b0pr.js} +17 -17
  26. package/dist/chunks/{ripgrep-nztkb09y.js → workspace-2re12hwp.js} +3 -3
  27. package/dist/chunks/{ripgrep-4k61gtt7.js → workspace-2spzn6st.js} +33 -33
  28. package/dist/chunks/{ripgrep-ncpeyn96.js → workspace-2tngcs8y.js} +48 -48
  29. package/dist/chunks/{ripgrep-marnn1hp.js → workspace-2y34zzjz.js} +7 -7
  30. package/dist/chunks/{ripgrep-56gdpj1q.js → workspace-33w4ejhs.js} +6 -6
  31. package/dist/chunks/{ripgrep-hrc132h6.js → workspace-38phfjcn.js} +9 -9
  32. package/dist/chunks/{ripgrep-e3x42eyx.js → workspace-3dv7a6vg.js} +4 -4
  33. package/dist/chunks/{ripgrep-ay0dkb9c.js → workspace-3eavv4sq.js} +6 -6
  34. package/dist/chunks/workspace-3ecdent5.js +26 -0
  35. package/dist/chunks/{ripgrep-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{ripgrep-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{ripgrep-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{ripgrep-r3p02j26.js → workspace-3tqbg8ds.js} +10 -10
  39. package/dist/chunks/{ripgrep-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{ripgrep-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{ripgrep-j8m1p4p1.js → workspace-41czef58.js} +4 -4
  42. package/dist/chunks/{ripgrep-5pt14vhf.js → workspace-46gv8nvg.js} +17 -17
  43. package/dist/chunks/{ripgrep-ntf1kdt7.js → workspace-48b9emvv.js} +7 -7
  44. package/dist/chunks/{ripgrep-m52a8tfn.js → workspace-4bt902dy.js} +27 -27
  45. package/dist/chunks/{ripgrep-9rz3pcwr.js → workspace-4dxafkqb.js} +3 -3
  46. package/dist/chunks/{ripgrep-syaa2c6w.js → workspace-4qrmk4ra.js} +44 -44
  47. package/dist/chunks/{ripgrep-saxh7epz.js → workspace-4waey5yj.js} +5 -5
  48. package/dist/chunks/{ripgrep-54tcyq79.js → workspace-54tcyq79.js} +2 -2
  49. package/dist/chunks/{ripgrep-c871hbrt.js → workspace-5d3kt81x.js} +29 -29
  50. package/dist/chunks/{ripgrep-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  51. package/dist/chunks/{ripgrep-q22sh36z.js → workspace-5jgcqyeb.js} +40 -40
  52. package/dist/chunks/{ripgrep-zr0mv0xb.js → workspace-5rjs1zbx.js} +24 -24
  53. package/dist/chunks/{ripgrep-90ar7f1h.js → workspace-5s43rmdb.js} +3 -3
  54. package/dist/chunks/{ripgrep-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{ripgrep-3v0zm7c6.js → workspace-5wna7wmm.js} +16 -16
  56. package/dist/chunks/{ripgrep-1ajx6rf5.js → workspace-5xtgfte3.js} +8 -8
  57. package/dist/chunks/{ripgrep-669tq793.js → workspace-669tq793.js} +1 -1
  58. package/dist/chunks/{ripgrep-3849nkrv.js → workspace-6aebm42n.js} +16 -16
  59. package/dist/chunks/{ripgrep-v8jfbz3g.js → workspace-6ehbgqat.js} +6 -6
  60. package/dist/chunks/{ripgrep-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
  61. package/dist/chunks/{ripgrep-06zjq4kk.js → workspace-6nh4s561.js} +18 -18
  62. package/dist/chunks/{ripgrep-s7kjtx58.js → workspace-6qr29wt1.js} +35 -35
  63. package/dist/chunks/{ripgrep-57ez7d0k.js → workspace-6x0h2hvg.js} +9 -9
  64. package/dist/chunks/{ripgrep-mebw3mav.js → workspace-73gyw9md.js} +89 -89
  65. package/dist/chunks/{ripgrep-6b77vcbw.js → workspace-73zbfbv7.js} +10 -10
  66. package/dist/chunks/{ripgrep-82ynta9e.js → workspace-79d41h82.js} +28 -28
  67. package/dist/chunks/{ripgrep-czf913v6.js → workspace-7bav93g1.js} +17 -17
  68. package/dist/chunks/{ripgrep-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{ripgrep-83a3b7v7.js → workspace-7k4ya4mk.js} +25 -25
  70. package/dist/chunks/{ripgrep-9satsa0x.js → workspace-83z9h53v.js} +24 -24
  71. package/dist/chunks/{ripgrep-t9ym9qvh.js → workspace-862ar548.js} +4 -4
  72. package/dist/chunks/{ripgrep-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  73. package/dist/chunks/{ripgrep-y2qsw3tz.js → workspace-8hry8h31.js} +21 -21
  74. package/dist/chunks/{ripgrep-xb3sekxh.js → workspace-8zm3c697.js} +7 -7
  75. package/dist/chunks/{ripgrep-1w79vp60.js → workspace-90ns493a.js} +37 -37
  76. package/dist/chunks/workspace-95agse3a.js +252 -0
  77. package/dist/chunks/{ripgrep-h9vcqc78.js → workspace-95x7y5k8.js} +11 -11
  78. package/dist/chunks/{ripgrep-7znnsvj9.js → workspace-984e37tw.js} +17 -17
  79. package/dist/chunks/{ripgrep-v8w4r62m.js → workspace-9a29ceb3.js} +32 -32
  80. package/dist/chunks/{ripgrep-5jt9y05x.js → workspace-9b31mr9v.js} +44 -44
  81. package/dist/chunks/{ripgrep-422mtr2z.js → workspace-9b86kaje.js} +5 -5
  82. package/dist/chunks/{ripgrep-k4za7ts1.js → workspace-9bzf6wdj.js} +11 -11
  83. package/dist/chunks/{ripgrep-kfm9rn2s.js → workspace-9skvqb4b.js} +14 -14
  84. package/dist/chunks/{ripgrep-7j1nyp11.js → workspace-9vat1wnt.js} +14 -14
  85. package/dist/chunks/{ripgrep-b5rg9k2a.js → workspace-a28msnrx.js} +4 -4
  86. package/dist/chunks/{ripgrep-84925a50.js → workspace-a4tqrw51.js} +15 -15
  87. package/dist/chunks/{ripgrep-1y283654.js → workspace-a89e0tac.js} +4 -4
  88. package/dist/chunks/{ripgrep-j49kr4wg.js → workspace-a8fp7ezv.js} +25 -25
  89. package/dist/chunks/{ripgrep-47txkgwg.js → workspace-aa5zmkvc.js} +22 -22
  90. package/dist/chunks/{ripgrep-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  91. package/dist/chunks/{ripgrep-3b1q5j1v.js → workspace-ab9238g2.js} +5 -5
  92. package/dist/chunks/{ripgrep-j31cqb59.js → workspace-aj2s28vj.js} +1 -1
  93. package/dist/chunks/{ripgrep-3h6g4yxf.js → workspace-akqk8sab.js} +14 -14
  94. package/dist/chunks/{ripgrep-t8nr5fwz.js → workspace-awhgtamw.js} +30 -30
  95. package/dist/chunks/{ripgrep-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  96. package/dist/chunks/{ripgrep-hccrd3vs.js → workspace-b7k25wxh.js} +32 -32
  97. package/dist/chunks/{ripgrep-agkcfxfp.js → workspace-b9hkethe.js} +3 -3
  98. package/dist/chunks/{ripgrep-0t9wd588.js → workspace-be7qvw84.js} +8 -8
  99. package/dist/chunks/{ripgrep-02jfzr1n.js → workspace-bffz3vk9.js} +9 -9
  100. package/dist/chunks/{ripgrep-bjtzbw4r.js → workspace-bjtzbw4r.js} +3 -3
  101. package/dist/chunks/{ripgrep-bmxgdxm8.js → workspace-bxdyab95.js} +18 -18
  102. package/dist/chunks/{ripgrep-b31k3rgg.js → workspace-c203jhqw.js} +9 -9
  103. package/dist/chunks/{ripgrep-by9ynfjg.js → workspace-c8gr6drp.js} +11 -11
  104. package/dist/chunks/{ripgrep-7xyrrtj6.js → workspace-ce5fknq2.js} +5 -5
  105. package/dist/chunks/{ripgrep-28nksq6y.js → workspace-ceejba7k.js} +10 -10
  106. package/dist/chunks/{ripgrep-cwa6csj7.js → workspace-cwa6csj7.js} +2 -2
  107. package/dist/chunks/{ripgrep-dhmh7aw6.js → workspace-cxmh4q5b.js} +4 -4
  108. package/dist/chunks/{ripgrep-bq2bgfnr.js → workspace-cyc2wncq.js} +32 -32
  109. package/dist/chunks/{ripgrep-sv8vja0m.js → workspace-cydxmqrz.js} +13 -13
  110. package/dist/chunks/{ripgrep-rxqb97gr.js → workspace-czdw7bxj.js} +26 -26
  111. package/dist/chunks/{ripgrep-qzqk0by0.js → workspace-d3m7nd9b.js} +13 -13
  112. package/dist/chunks/{ripgrep-118kj19k.js → workspace-d5czjx5e.js} +19 -19
  113. package/dist/chunks/{ripgrep-0nxbz9g5.js → workspace-dgzqva13.js} +36 -36
  114. package/dist/chunks/{ripgrep-6x4rvyv1.js → workspace-dgzzq6er.js} +20 -20
  115. package/dist/chunks/{ripgrep-3w0fmcng.js → workspace-dj9sq318.js} +5 -5
  116. package/dist/chunks/{ripgrep-dpkg50ah.js → workspace-dpkg50ah.js} +1 -1
  117. package/dist/chunks/{ripgrep-drwq78ky.js → workspace-drwq78ky.js} +1 -1
  118. package/dist/chunks/{ripgrep-5e76c55v.js → workspace-dt2m10bg.js} +35 -35
  119. package/dist/chunks/{ripgrep-kvmq8xfb.js → workspace-dtmpjap9.js} +10 -10
  120. package/dist/chunks/{ripgrep-b563cd88.js → workspace-dwpz52md.js} +24 -24
  121. package/dist/chunks/{ripgrep-gq3f66va.js → workspace-e1hy5pz5.js} +2 -2
  122. package/dist/chunks/{ripgrep-cy08etkj.js → workspace-e1vtdn37.js} +41 -41
  123. package/dist/chunks/{ripgrep-qhtcadmq.js → workspace-e6zxwbax.js} +27 -27
  124. package/dist/chunks/{ripgrep-4vmfrt63.js → workspace-e8wk7e8v.js} +6 -6
  125. package/dist/chunks/{ripgrep-m9k4p762.js → workspace-e90gknse.js} +50 -50
  126. package/dist/chunks/{ripgrep-s8d7rejh.js → workspace-eaj1djv9.js} +6 -6
  127. package/dist/chunks/{ripgrep-ecfe7b91.js → workspace-ecfe7b91.js} +2 -2
  128. package/dist/chunks/{ripgrep-tvfehy0g.js → workspace-eefz1cnf.js} +20 -20
  129. package/dist/chunks/{ripgrep-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{ripgrep-7yh4e7ss.js → workspace-eq1pz5kg.js} +3 -3
  131. package/dist/chunks/{ripgrep-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{ripgrep-at9pxffm.js → workspace-ey9veasj.js} +18 -18
  133. package/dist/chunks/{ripgrep-v6ef7kgk.js → workspace-eyfs9fn9.js} +5 -5
  134. package/dist/chunks/{ripgrep-70f0pfem.js → workspace-f4fb4ahx.js} +12 -12
  135. package/dist/chunks/{ripgrep-3mr58zvy.js → workspace-fgn7sf7e.js} +5 -5
  136. package/dist/chunks/{ripgrep-dpeqjypf.js → workspace-fk76ksd4.js} +16 -16
  137. package/dist/chunks/{ripgrep-qvm8wxam.js → workspace-fm2mk21r.js} +17 -17
  138. package/dist/chunks/{ripgrep-j58c5xyq.js → workspace-fwwk8vbp.js} +9 -9
  139. package/dist/chunks/{ripgrep-4pvhcca7.js → workspace-fyac72vw.js} +13 -13
  140. package/dist/chunks/{ripgrep-mdvcq96a.js → workspace-fztsg0yk.js} +1 -1
  141. package/dist/chunks/{ripgrep-y9d0ewq8.js → workspace-g390ytxs.js} +8 -8
  142. package/dist/chunks/{ripgrep-7pr2hkwv.js → workspace-g5agzp2h.js} +5 -5
  143. package/dist/chunks/{ripgrep-efbjszw7.js → workspace-g88fbw77.js} +5 -5
  144. package/dist/chunks/{ripgrep-p22k9wg5.js → workspace-g9r2hcbj.js} +37 -37
  145. package/dist/chunks/{ripgrep-w499dnd0.js → workspace-g9wvc4df.js} +10 -10
  146. package/dist/chunks/{ripgrep-nd8hshm2.js → workspace-gcch2vjz.js} +29 -29
  147. package/dist/chunks/{ripgrep-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{ripgrep-gfvb90ym.js → workspace-gfvb90ym.js} +2 -2
  149. package/dist/chunks/{ripgrep-ds8dekzs.js → workspace-gjdct0ng.js} +32 -32
  150. package/dist/chunks/{ripgrep-jrrknm56.js → workspace-gp14635f.js} +13 -13
  151. package/dist/chunks/{ripgrep-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{ripgrep-kkkads8k.js → workspace-h1jz91a9.js} +15 -15
  153. package/dist/chunks/{ripgrep-gra0vtax.js → workspace-h2r7bbkd.js} +8 -8
  154. package/dist/chunks/{ripgrep-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{ripgrep-n3tj2r8q.js → workspace-h8d9xkaq.js} +15 -15
  156. package/dist/chunks/{ripgrep-h5bh3ng3.js → workspace-h8qnj1c8.js} +19 -19
  157. package/dist/chunks/{ripgrep-890ccxt6.js → workspace-hbexs1ta.js} +13 -13
  158. package/dist/chunks/{ripgrep-0j4spdcs.js → workspace-heh9s3tj.js} +11 -11
  159. package/dist/chunks/{ripgrep-fp2xarvc.js → workspace-hekxc47r.js} +1 -1
  160. package/dist/chunks/{ripgrep-qyjfak0f.js → workspace-hfwvq92w.js} +38 -38
  161. package/dist/chunks/{ripgrep-gdesffbr.js → workspace-hh5kkd24.js} +10 -10
  162. package/dist/chunks/{ripgrep-kyav30yg.js → workspace-hk03ff6z.js} +11 -11
  163. package/dist/chunks/{ripgrep-ak8wweg5.js → workspace-hkagk5ex.js} +2 -2
  164. package/dist/chunks/{ripgrep-cp62wjev.js → workspace-hkwj0bg6.js} +20 -20
  165. package/dist/chunks/{ripgrep-ftdfymg3.js → workspace-htrze483.js} +10 -10
  166. package/dist/chunks/{ripgrep-s3vkv9ay.js → workspace-hyjxey4b.js} +4 -4
  167. package/dist/chunks/{ripgrep-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  168. package/dist/chunks/{ripgrep-48qwr564.js → workspace-j6wgtyv7.js} +35 -35
  169. package/dist/chunks/{ripgrep-rzhjeyb2.js → workspace-jabm8zzh.js} +36 -36
  170. package/dist/chunks/{ripgrep-zes72mvx.js → workspace-jf7tajsg.js} +11 -11
  171. package/dist/chunks/{ripgrep-r4nkyxgj.js → workspace-jmp6pjcj.js} +5 -5
  172. package/dist/chunks/{ripgrep-cavr175a.js → workspace-jw80jp6b.js} +4 -4
  173. package/dist/chunks/{ripgrep-bmc4xpke.js → workspace-k0y9f3c4.js} +24 -24
  174. package/dist/chunks/{ripgrep-k1qrnqst.js → workspace-k1qrnqst.js} +1 -1
  175. package/dist/chunks/{ripgrep-k3c624dm.js → workspace-k3c624dm.js} +3 -3
  176. package/dist/chunks/{ripgrep-c5csqyae.js → workspace-k3x2sf3r.js} +12 -12
  177. package/dist/chunks/{ripgrep-0ks27nrh.js → workspace-k5e7yqx1.js} +60 -60
  178. package/dist/chunks/{ripgrep-0fvk3drk.js → workspace-k7cxv1jz.js} +22 -22
  179. package/dist/chunks/{ripgrep-rtathh62.js → workspace-k8dasee7.js} +8 -8
  180. package/dist/chunks/{ripgrep-sdjhnzhs.js → workspace-kr1avhb0.js} +5 -5
  181. package/dist/chunks/{ripgrep-jb20k743.js → workspace-ktef7j4m.js} +9 -9
  182. package/dist/chunks/{ripgrep-f3gec5hw.js → workspace-m1jktbz8.js} +6 -6
  183. package/dist/chunks/{ripgrep-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{ripgrep-930djq8z.js → workspace-m43etvqh.js} +23 -23
  185. package/dist/chunks/{ripgrep-jh1t293c.js → workspace-m8dj6xzb.js} +23 -23
  186. package/dist/chunks/{ripgrep-cd5qxzby.js → workspace-m8erdd9w.js} +31 -31
  187. package/dist/chunks/{ripgrep-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{ripgrep-d7qrjzdq.js → workspace-maye8mhe.js} +22 -22
  189. package/dist/chunks/{ripgrep-44pdqs77.js → workspace-mhgx8wws.js} +4 -4
  190. package/dist/chunks/{ripgrep-s239yvev.js → workspace-mrbnkvws.js} +18 -18
  191. package/dist/chunks/{ripgrep-d216944b.js → workspace-mtq6xxnx.js} +4 -4
  192. package/dist/chunks/{ripgrep-6egqwrjf.js → workspace-n3j4cxq5.js} +16 -16
  193. package/dist/chunks/{ripgrep-tpebh6ag.js → workspace-n6p6yg9c.js} +8 -8
  194. package/dist/chunks/{ripgrep-s12cwej7.js → workspace-n7khmxjc.js} +10 -10
  195. package/dist/chunks/{ripgrep-xf258je3.js → workspace-n92e0945.js} +15 -15
  196. package/dist/chunks/{ripgrep-tyw4mndc.js → workspace-naqwnkkp.js} +22 -22
  197. package/dist/chunks/{ripgrep-fqka1xvk.js → workspace-ndmv45hp.js} +3 -3
  198. package/dist/chunks/{ripgrep-65asva9x.js → workspace-nf6159fp.js} +20 -20
  199. package/dist/chunks/{ripgrep-35atjjte.js → workspace-npnt4k9w.js} +32 -32
  200. package/dist/chunks/{ripgrep-m5nx04ee.js → workspace-nt39rg59.js} +14 -14
  201. package/dist/chunks/{ripgrep-x1158p12.js → workspace-nx02as4e.js} +11 -11
  202. package/dist/chunks/{ripgrep-h6r3nrb9.js → workspace-nzyhnfxz.js} +4 -4
  203. package/dist/chunks/{ripgrep-p8n1apjv.js → workspace-p0wnzdte.js} +29 -29
  204. package/dist/chunks/{ripgrep-c35597j6.js → workspace-p6wxjpka.js} +4 -4
  205. package/dist/chunks/{ripgrep-e73e9hqb.js → workspace-p89640sn.js} +27 -27
  206. package/dist/chunks/{ripgrep-c1w9r3v6.js → workspace-p8q21zge.js} +17 -17
  207. package/dist/chunks/{ripgrep-8zf437sr.js → workspace-p8wv2ncz.js} +18 -18
  208. package/dist/chunks/{ripgrep-cr07tj7n.js → workspace-pecb0brz.js} +5 -5
  209. package/dist/chunks/{ripgrep-s5met55r.js → workspace-pedttwxr.js} +8 -8
  210. package/dist/chunks/{ripgrep-8zj9r478.js → workspace-pg7gpga9.js} +5 -5
  211. package/dist/chunks/{ripgrep-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{ripgrep-pknna89w.js → workspace-pknna89w.js} +1 -1
  213. package/dist/chunks/{ripgrep-ywkfy99j.js → workspace-pnv527nz.js} +9 -9
  214. package/dist/chunks/{ripgrep-yk5x40hx.js → workspace-ppc50qyr.js} +22 -22
  215. package/dist/chunks/{ripgrep-psazpmmj.js → workspace-psazpmmj.js} +2 -2
  216. package/dist/chunks/{ripgrep-99sz5wqb.js → workspace-pyctfm1s.js} +18 -18
  217. package/dist/chunks/{ripgrep-mzywpf3p.js → workspace-q7azfttr.js} +4 -4
  218. package/dist/chunks/{ripgrep-mqbk7dpn.js → workspace-qae9ahxg.js} +9 -9
  219. package/dist/chunks/{ripgrep-2z7bsgcd.js → workspace-qd546yrf.js} +24 -24
  220. package/dist/chunks/{ripgrep-607tc6va.js → workspace-qgn6gcr1.js} +5 -5
  221. package/dist/chunks/{ripgrep-bgxcxs0p.js → workspace-qn4ba14w.js} +5 -5
  222. package/dist/chunks/{ripgrep-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  223. package/dist/chunks/{ripgrep-8djh5arb.js → workspace-qw5c8m98.js} +8 -8
  224. package/dist/chunks/{ripgrep-hncg30kp.js → workspace-qzc07359.js} +21 -21
  225. package/dist/chunks/{ripgrep-m7b8vgv2.js → workspace-r29hx2n2.js} +20 -20
  226. package/dist/chunks/{ripgrep-5ztw1556.js → workspace-r3gmntzt.js} +9 -9
  227. package/dist/chunks/{ripgrep-a2w83xt4.js → workspace-r3rh6mw3.js} +28 -28
  228. package/dist/chunks/{ripgrep-1qxqsx3z.js → workspace-rb06gkc1.js} +3 -3
  229. package/dist/chunks/{ripgrep-pfzqt8w6.js → workspace-rcqvxznz.js} +12 -12
  230. package/dist/chunks/{ripgrep-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
  231. package/dist/chunks/{ripgrep-dftdgzwf.js → workspace-rgdhtqj5.js} +37 -37
  232. package/dist/chunks/{ripgrep-fj7pyrjd.js → workspace-rgnqfr3v.js} +24 -24
  233. package/dist/chunks/{ripgrep-0antrmc1.js → workspace-rhdmxfkx.js} +13 -13
  234. package/dist/chunks/{ripgrep-rkprpv83.js → workspace-rkprpv83.js} +2 -2
  235. package/dist/chunks/{ripgrep-mjyv029k.js → workspace-rt447pd7.js} +8 -8
  236. package/dist/chunks/{ripgrep-5wbzy8nn.js → workspace-s5h1yxee.js} +11 -11
  237. package/dist/chunks/{ripgrep-nefgvkw2.js → workspace-sp54tfke.js} +11 -11
  238. package/dist/chunks/{ripgrep-ajetnjhk.js → workspace-spmh1vek.js} +45 -45
  239. package/dist/chunks/{ripgrep-3f3jy9nt.js → workspace-sw70eac5.js} +25 -25
  240. package/dist/chunks/{ripgrep-pjfmr211.js → workspace-sx7yxhmc.js} +24 -24
  241. package/dist/chunks/{ripgrep-tehpmbzs.js → workspace-synqbpwm.js} +23 -23
  242. package/dist/chunks/{ripgrep-zf8wr47y.js → workspace-t0pyh7pd.js} +3 -3
  243. package/dist/chunks/{ripgrep-11skqav9.js → workspace-t6v48v8f.js} +95 -95
  244. package/dist/chunks/{ripgrep-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  245. package/dist/chunks/{ripgrep-89znhe33.js → workspace-tcezcvh9.js} +4 -4
  246. package/dist/chunks/{ripgrep-tdstcens.js → workspace-tdstcens.js} +1 -1
  247. package/dist/chunks/{ripgrep-qksvzkeq.js → workspace-tf88t1eh.js} +45 -45
  248. package/dist/chunks/{ripgrep-w18xh17a.js → workspace-tsve2r88.js} +4 -4
  249. package/dist/chunks/{ripgrep-tvtrv512.js → workspace-tvtrv512.js} +1 -1
  250. package/dist/chunks/workspace-v1faaxn9.js +18 -0
  251. package/dist/chunks/{ripgrep-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  252. package/dist/chunks/{ripgrep-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{ripgrep-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{ripgrep-84txncab.js → workspace-w1eejvng.js} +5 -5
  255. package/dist/chunks/{ripgrep-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{ripgrep-0yp90j0g.js → workspace-w84g4023.js} +6 -6
  257. package/dist/chunks/{ripgrep-egybd8b7.js → workspace-waefp8y5.js} +11 -11
  258. package/dist/chunks/{ripgrep-wd87259q.js → workspace-wd87259q.js} +1 -1
  259. package/dist/chunks/{ripgrep-p0tyvh4g.js → workspace-wx59m8c7.js} +11 -11
  260. package/dist/chunks/{ripgrep-7cj56fr8.js → workspace-wxyy423z.js} +18 -18
  261. package/dist/chunks/{ripgrep-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{ripgrep-ey1ph643.js → workspace-x9ctzyqd.js} +5 -5
  263. package/dist/chunks/{ripgrep-abt26qbx.js → workspace-xab4b6ma.js} +22 -22
  264. package/dist/chunks/{ripgrep-dmqcgk4z.js → workspace-xkntkrq7.js} +5 -5
  265. package/dist/chunks/{ripgrep-qjs6n2vb.js → workspace-xqagnatd.js} +13 -13
  266. package/dist/chunks/{ripgrep-hxfzz81b.js → workspace-xttd1tj2.js} +20 -20
  267. package/dist/chunks/{ripgrep-pehm6tfq.js → workspace-y10fxw0n.js} +177 -177
  268. package/dist/chunks/{ripgrep-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{ripgrep-t590yz96.js → workspace-y2nra5ch.js} +7 -7
  270. package/dist/chunks/{ripgrep-v3r4yrhg.js → workspace-y6mjvh6p.js} +6 -6
  271. package/dist/chunks/{ripgrep-s63ncq3n.js → workspace-yb4mq2bj.js} +49 -49
  272. package/dist/chunks/{ripgrep-hf37sfna.js → workspace-ybsgjnb0.js} +40 -40
  273. package/dist/chunks/{ripgrep-fcwgv8gv.js → workspace-ygpxda6d.js} +21 -21
  274. package/dist/chunks/{ripgrep-xdt98d5a.js → workspace-ykpgxs72.js} +42 -42
  275. package/dist/chunks/{ripgrep-yp2x3t23.js → workspace-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{ripgrep-68y7phbn.js → workspace-ypzhfwa9.js} +12 -12
  277. package/dist/chunks/{ripgrep-qwgw6s1s.js → workspace-yqzfvmg9.js} +328 -328
  278. package/dist/chunks/{ripgrep-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{ripgrep-yrznvahk.js → workspace-yrznvahk.js} +2 -2
  280. package/dist/chunks/{ripgrep-z2receq4.js → workspace-ysd7sdvb.js} +9 -9
  281. package/dist/chunks/{ripgrep-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{ripgrep-z63w68vq.js → workspace-z63w68vq.js} +2 -2
  283. package/dist/chunks/{ripgrep-g6eythae.js → workspace-zbn85w19.js} +67 -67
  284. package/dist/chunks/{ripgrep-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{ripgrep-3tvqrhj3.js → workspace-zgrbnmf2.js} +11 -11
  286. package/dist/chunks/{ripgrep-wqjhyw9m.js → workspace-zjyqk7jh.js} +24 -24
  287. package/dist/chunks/{ripgrep-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{ripgrep-hbgnhwv0.js → workspace-zxgcz1z1.js} +22 -22
  289. package/dist/chunks/{ripgrep-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{ripgrep-jny2x7hk.js → workspace-zy2n98kk.js} +47 -47
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +79 -79
  296. package/dist/config/discovery.js +84 -84
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +125 -125
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +160 -160
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +125 -125
  308. package/dist/config/plugin/mcp.js +132 -132
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +125 -125
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +144 -144
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +124 -124
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +85 -85
  325. package/dist/database/database.js +70 -70
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +79 -79
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +74 -74
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +2 -2
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +103 -103
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +106 -106
  430. package/dist/form.js +86 -86
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +101 -101
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +91 -91
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +361 -361
  459. package/dist/instruction-discovery.js +81 -81
  460. package/dist/instructions/builtins.js +87 -87
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +86 -86
  464. package/dist/job.js +79 -79
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +73 -73
  467. package/dist/location-activity.js +135 -135
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-service-map.js +86 -86
  470. package/dist/location-services.js +358 -358
  471. package/dist/location.js +87 -87
  472. package/dist/managed-policy.js +1 -1
  473. package/dist/mcp/client.js +91 -91
  474. package/dist/mcp/index.js +104 -104
  475. package/dist/mcp/instructions.js +126 -126
  476. package/dist/mcp/oauth.js +78 -78
  477. package/dist/mcp/stdio.js +90 -90
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +91 -91
  480. package/dist/model-resolver.js +98 -98
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +107 -107
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +82 -82
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +113 -113
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +80 -80
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +75 -75
  492. package/dist/plugin/agent.js +104 -104
  493. package/dist/plugin/command.js +101 -101
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +96 -96
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +102 -102
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  506. package/dist/plugin/provider/azure.js +122 -122
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +119 -119
  512. package/dist/plugin/provider/digitalocean.js +93 -93
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +94 -94
  517. package/dist/plugin/provider/gitlab.js +93 -93
  518. package/dist/plugin/provider/google-vertex.js +90 -90
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +77 -77
  521. package/dist/plugin/provider/lmstudio.js +122 -122
  522. package/dist/plugin/provider/modal.js +92 -92
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +122 -122
  525. package/dist/plugin/provider/openai.js +92 -92
  526. package/dist/plugin/provider/opencode.js +95 -95
  527. package/dist/plugin/provider/openrouter.js +91 -91
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +78 -78
  530. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  531. package/dist/plugin/provider/sap-ai-core.js +91 -91
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +90 -90
  536. package/dist/plugin/provider/vllm.js +122 -122
  537. package/dist/plugin/provider/xai.js +91 -91
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +161 -161
  540. package/dist/plugin/sdk.js +76 -76
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +141 -141
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +348 -348
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +86 -86
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +93 -93
  550. package/dist/plugin/warming.js +121 -121
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +229 -229
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +88 -88
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +89 -89
  568. package/dist/repository-cache.js +81 -81
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +95 -95
  572. package/dist/rpc.js +86 -86
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +74 -74
  575. package/dist/session/compaction.js +132 -132
  576. package/dist/session/context.js +152 -152
  577. package/dist/session/diff.js +88 -88
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +224 -224
  582. package/dist/session/execution.js +128 -128
  583. package/dist/session/generate.js +151 -151
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +90 -90
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +79 -79
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +97 -97
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +119 -119
  593. package/dist/session/model-transport.js +7 -7
  594. package/dist/session/move.js +130 -130
  595. package/dist/session/projector.js +86 -86
  596. package/dist/session/prompt.js +105 -105
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +90 -90
  599. package/dist/session/run-coordinator.js +1 -1
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +229 -229
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +98 -98
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +4 -4
  606. package/dist/session/runner/step.js +124 -124
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +172 -172
  610. package/dist/session/shell.js +138 -138
  611. package/dist/session/skill.js +103 -103
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +75 -75
  614. package/dist/session/store.js +87 -87
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +210 -210
  617. package/dist/session/system-prompt.js +1 -1
  618. package/dist/session/title.js +150 -150
  619. package/dist/session/to-session-error.js +111 -111
  620. package/dist/session/transfer.js +223 -223
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +218 -218
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +15 -15
  627. package/dist/shell.js +138 -138
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +107 -107
  630. package/dist/skill.js +108 -108
  631. package/dist/snapshot.js +91 -91
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +121 -121
  636. package/dist/tool/plugin/edit.js +120 -120
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +124 -124
  639. package/dist/tool/plugin/grep.js +118 -118
  640. package/dist/tool/plugin/mcp-resource.js +116 -116
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +122 -122
  643. package/dist/tool/plugin/question.js +101 -101
  644. package/dist/tool/plugin/read.js +125 -125
  645. package/dist/tool/plugin/shell.js +217 -217
  646. package/dist/tool/plugin/skill.js +113 -113
  647. package/dist/tool/plugin/subagent.js +219 -219
  648. package/dist/tool/plugin/webfetch.js +110 -110
  649. package/dist/tool/plugin/websearch.js +112 -112
  650. package/dist/tool/plugin/write.js +122 -122
  651. package/dist/tool/read-filesystem.js +100 -100
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +12 -12
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +5 -5
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +3 -3
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +92 -92
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +91 -91
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +89 -89
  684. package/dist/websearch.js +80 -80
  685. package/dist/wellknown/plugin.js +76 -76
  686. package/dist/wellknown.js +81 -81
  687. package/dist/workspace/driver.js +3 -3
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +80 -80
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +89 -89
  694. package/dist/worktree.js +98 -98
  695. package/package.json +8 -8
  696. package/dist/chunks/ripgrep-3g47k8bj.js +0 -26
  697. package/dist/chunks/ripgrep-7kmmr6nj.js +0 -252
  698. package/dist/chunks/ripgrep-dxj72tfx.js +0 -18
  699. /package/dist/chunks/{ripgrep-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{ripgrep-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{ripgrep-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{ripgrep-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{ripgrep-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{ripgrep-24dcb14g.js → workspace-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{ripgrep-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{ripgrep-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{ripgrep-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{ripgrep-34c7v6d4.js → workspace-34c7v6d4.js} +0 -0
  709. /package/dist/chunks/{ripgrep-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{ripgrep-3asan66x.js → workspace-3asan66x.js} +0 -0
  711. /package/dist/chunks/{ripgrep-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{ripgrep-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{ripgrep-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{ripgrep-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{ripgrep-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{ripgrep-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{ripgrep-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{ripgrep-53557ph1.js → workspace-53557ph1.js} +0 -0
  719. /package/dist/chunks/{ripgrep-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{ripgrep-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{ripgrep-6prwharc.js → workspace-6prwharc.js} +0 -0
  722. /package/dist/chunks/{ripgrep-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{ripgrep-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{ripgrep-822emrt2.js → workspace-822emrt2.js} +0 -0
  725. /package/dist/chunks/{ripgrep-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{ripgrep-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{ripgrep-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{ripgrep-922hggd3.js → workspace-922hggd3.js} +0 -0
  729. /package/dist/chunks/{ripgrep-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{ripgrep-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{ripgrep-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{ripgrep-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{ripgrep-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{ripgrep-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{ripgrep-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{ripgrep-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{ripgrep-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{ripgrep-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{ripgrep-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{ripgrep-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{ripgrep-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{ripgrep-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{ripgrep-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{ripgrep-df08tz66.js → workspace-df08tz66.js} +0 -0
  745. /package/dist/chunks/{ripgrep-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{ripgrep-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{ripgrep-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{ripgrep-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{ripgrep-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{ripgrep-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{ripgrep-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{ripgrep-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{ripgrep-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{ripgrep-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{ripgrep-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{ripgrep-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{ripgrep-g86h250q.js → workspace-g86h250q.js} +0 -0
  758. /package/dist/chunks/{ripgrep-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{ripgrep-gftt206x.js → workspace-gftt206x.js} +0 -0
  760. /package/dist/chunks/{ripgrep-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{ripgrep-hk9envan.js → workspace-hk9envan.js} +0 -0
  762. /package/dist/chunks/{ripgrep-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{ripgrep-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{ripgrep-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{ripgrep-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{ripgrep-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{ripgrep-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{ripgrep-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{ripgrep-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{ripgrep-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{ripgrep-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{ripgrep-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{ripgrep-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{ripgrep-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{ripgrep-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{ripgrep-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{ripgrep-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{ripgrep-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{ripgrep-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{ripgrep-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{ripgrep-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{ripgrep-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{ripgrep-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{ripgrep-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{ripgrep-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{ripgrep-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{ripgrep-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{ripgrep-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{ripgrep-x61499pn.js → workspace-x61499pn.js} +0 -0
  790. /package/dist/chunks/{ripgrep-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{ripgrep-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{ripgrep-y8f7s663.js → workspace-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{ripgrep-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{ripgrep-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{ripgrep-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID9,
3
- Service56
4
- } from "./ripgrep-wqjhyw9m.js";
2
+ ID18,
3
+ Service77
4
+ } from "./workspace-zjyqk7jh.js";
5
5
  import {
6
- Service80
7
- } from "./ripgrep-6egqwrjf.js";
6
+ Service74
7
+ } from "./workspace-n3j4cxq5.js";
8
8
  import {
9
- Service35
10
- } from "./ripgrep-s63ncq3n.js";
9
+ Service47
10
+ } from "./workspace-yb4mq2bj.js";
11
11
  import {
12
- Service37,
12
+ Service55,
13
13
  args2
14
- } from "./ripgrep-hbgnhwv0.js";
14
+ } from "./workspace-zxgcz1z1.js";
15
15
  import {
16
- Service19
17
- } from "./ripgrep-11skqav9.js";
16
+ Service16
17
+ } from "./workspace-t6v48v8f.js";
18
18
  import {
19
- make4
20
- } from "./ripgrep-h9vcqc78.js";
19
+ make10
20
+ } from "./workspace-95x7y5k8.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./ripgrep-5daktx2q.js";
23
+ } from "./workspace-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./ripgrep-9rqn6x4v.js";
26
+ } from "./workspace-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command = {};
30
- __export(exports_command, {
31
- ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin11
29
+ var exports_command2 = {};
30
+ __export(exports_command2, {
31
+ ConfigCommandPlugin: () => exports_command2,
32
+ Plugin: () => Plugin44
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin11 = define({
44
+ var Plugin44 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service35;
47
+ const config = yield* Service47;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin11 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service80;
57
+ const location = yield* Service74;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service37;
60
- const sessions = yield* Service19;
61
- const agents = yield* Service56;
62
- const subagents = yield* make4;
59
+ const shell = yield* Service55;
60
+ const sessions = yield* Service16;
61
+ const agents = yield* Service77;
62
+ const subagents = yield* make10;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin11 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID18.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin11, exports_command };
207
+ export { Plugin44, exports_command2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./ripgrep-48qwr564.js";
2
+ ID8
3
+ } from "./workspace-j6wgtyv7.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.model.transform((models) => {
26
26
  for (const id of providerIDs) {
27
- const providerID = ID13.make(id);
27
+ const providerID = ID8.make(id);
28
28
  for (const model of models.list(providerID)) {
29
29
  models.update(model.providerID, model.id, (draft) => {
30
30
  draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service35
3
- } from "./ripgrep-s63ncq3n.js";
2
+ Service47
3
+ } from "./workspace-yb4mq2bj.js";
4
4
  import {
5
5
  Service12
6
- } from "./ripgrep-cwa6csj7.js";
6
+ } from "./workspace-cwa6csj7.js";
7
7
  import {
8
8
  observe2
9
- } from "./ripgrep-qsdy395h.js";
9
+ } from "./workspace-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./ripgrep-9rqn6x4v.js";
12
+ } from "./workspace-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
- var exports_location_watcher = {};
16
- __export(exports_location_watcher, {
17
- ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
- Plugin: () => Plugin9
15
+ var exports_location_watcher2 = {};
16
+ __export(exports_location_watcher2, {
17
+ ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
+ Plugin: () => Plugin47
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin9 = define({
22
+ var Plugin47 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service35;
25
+ const config = yield* Service47;
26
26
  const policy = yield* Service12;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
@@ -35,4 +35,4 @@ var Plugin9 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin9, exports_location_watcher };
38
+ export { Plugin47, exports_location_watcher2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./ripgrep-2a5m3afh.js";
3
+ } from "./workspace-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./ripgrep-922hggd3.js";
6
+ } from "./workspace-922hggd3.js";
7
7
  import {
8
- Service80
9
- } from "./ripgrep-6egqwrjf.js";
8
+ Service74
9
+ } from "./workspace-n3j4cxq5.js";
10
10
  import {
11
- Service62
12
- } from "./ripgrep-b563cd88.js";
11
+ Service53
12
+ } from "./workspace-dwpz52md.js";
13
13
  import {
14
- Service61
15
- } from "./ripgrep-kfm9rn2s.js";
14
+ Service40
15
+ } from "./workspace-9skvqb4b.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
- Entry4
21
- } from "./ripgrep-0ebnstrp.js";
20
+ Entry2
21
+ } from "./workspace-1efy3mt3.js";
22
22
  import {
23
- Service53
24
- } from "./ripgrep-jw4cy8r0.js";
23
+ Service71
24
+ } from "./workspace-16srrwpp.js";
25
25
  import {
26
- Service14
27
- } from "./ripgrep-7cj56fr8.js";
26
+ Service70
27
+ } from "./workspace-wxyy423z.js";
28
28
  import {
29
29
  __export
30
- } from "./ripgrep-9rqn6x4v.js";
30
+ } from "./workspace-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input11,
37
- Output: () => Output8,
38
- Plugin: () => Plugin31,
39
- name: () => name11,
40
- toModelContent: () => toModelContent5
36
+ Input: () => Input8,
37
+ Output: () => Output5,
38
+ Plugin: () => Plugin11,
39
+ name: () => name8,
40
+ toModelContent: () => toModelContent4
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name11 = "glob";
46
- var Input11 = Schema.Struct({
45
+ var name8 = "glob";
46
+ var Input8 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input11 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output8 = Schema.Array(Entry4);
59
- var toModelContent5 = (entries, truncated = false) => {
58
+ var Output5 = Schema.Array(Entry2);
59
+ var toModelContent4 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin31 = {
66
+ var Plugin11 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service62;
70
- const ripgrep = yield* Service61;
71
- const location = yield* Service80;
72
- const access = yield* Service14;
73
- const permission = yield* Service53;
69
+ const environment = yield* Service53;
70
+ const ripgrep = yield* Service40;
71
+ const location = yield* Service74;
72
+ const access = yield* Service70;
73
+ const permission = yield* Service71;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name11,
75
+ name: name8,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input11,
79
- output: Output8,
78
+ input: Input8,
79
+ output: Output5,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name11,
86
+ action: name8,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -111,18 +111,18 @@ var Plugin31 = {
111
111
  orElse: () => Effect.fail(new ToolFailure({
112
112
  message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
113
113
  }))
114
- }), Effect.map((result) => result.map((entry) => Entry4.make({
114
+ }), Effect.map((result) => result.map((entry) => Entry2.make({
115
115
  ...entry,
116
116
  path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
117
117
  }))));
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name11, Input11, Output8, toModelContent5, Plugin31, exports_glob };
128
+ export { name8, Input8, Output5, toModelContent4, Plugin11, exports_glob };
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service78
3
- } from "./ripgrep-c871hbrt.js";
2
+ Service69
3
+ } from "./workspace-5d3kt81x.js";
4
4
  import {
5
- Service53
6
- } from "./ripgrep-jw4cy8r0.js";
5
+ Service71
6
+ } from "./workspace-16srrwpp.js";
7
7
  import {
8
8
  ID5,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service40
14
- } from "./ripgrep-y2qsw3tz.js";
13
+ Service50
14
+ } from "./workspace-8hry8h31.js";
15
15
  import {
16
16
  __export
17
- } from "./ripgrep-9rqn6x4v.js";
17
+ } from "./workspace-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch2 = {};
21
- __export(exports_websearch2, {
22
- Input: () => Input6,
20
+ var exports_websearch = {};
21
+ __export(exports_websearch, {
22
+ Input: () => Input7,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin24,
25
- WebSearchTool: () => exports_websearch2,
24
+ Plugin: () => Plugin9,
25
+ WebSearchTool: () => exports_websearch,
26
26
  description: () => description4,
27
- name: () => name6
27
+ name: () => name7
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name6 = "websearch";
32
+ var name7 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
@@ -39,28 +39,28 @@ var httpErrors = new Map([
39
39
  var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input6 = Schema.Struct({
42
+ var Input7 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
46
  provider: ID5,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin24 = {
49
+ var Plugin9 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service53;
53
- const forms = yield* Service78;
54
- const websearch = yield* Service40;
52
+ const permission = yield* Service71;
53
+ const forms = yield* Service69;
54
+ const websearch = yield* Service50;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name6,
56
+ name: name7,
57
57
  options: { codemode: false },
58
58
  description: description4,
59
- input: Input6,
59
+ input: Input7,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name6,
63
+ action: name7,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name6];
179
+ delete event.tools[name7];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name6, NO_RESULTS2, description4, Input6, Plugin24, exports_websearch2 };
187
+ export { name7, NO_RESULTS2, description4, Input7, Plugin9, exports_websearch };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./ripgrep-egybd8b7.js";
2
+ Service83,
3
+ node87
4
+ } from "./workspace-waefp8y5.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./ripgrep-3hepkmqq.js";
7
+ } from "./workspace-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./ripgrep-9rqn6x4v.js";
10
+ } from "./workspace-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service71,
17
- node: () => node75
16
+ Service: () => Service64,
17
+ node: () => node66
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service71 extends Context.Service()("@opencode/KV") {
22
+ class Service64 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service71, Effect.gen(function* () {
25
- const db = (yield* Service84).db;
26
- return Service71.of({
24
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
25
+ const db = (yield* Service83).db;
26
+ return Service64.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node75 = makeGlobalNode({ service: Service71, layer, deps: [node88] });
54
+ var node66 = makeGlobalNode({ service: Service64, layer, deps: [node87] });
55
55
 
56
- export { Service71, node75, exports_kv };
56
+ export { Service64, node66, exports_kv };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./ripgrep-drwq78ky.js";
3
+ } from "./workspace-drwq78ky.js";
4
4
  import {
5
5
  __export
6
- } from "./ripgrep-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service82
3
- } from "./ripgrep-68y7phbn.js";
2
+ Service84
3
+ } from "./workspace-ypzhfwa9.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./ripgrep-gv6a8nnw.js";
7
+ } from "./workspace-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./ripgrep-9rqn6x4v.js";
10
+ } from "./workspace-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make20
16
+ make: () => make18
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make20 = Effect.gen(function* () {
21
+ var make18 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service82;
23
+ const git = yield* Service84;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -46,4 +46,4 @@ var make20 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make20, exports_git2 };
49
+ export { make18, exports_git2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured8,
11
- layer: () => layer18,
12
- make: () => make15,
13
- node: () => node48,
10
+ configured: () => configured10,
11
+ layer: () => layer24,
12
+ make: () => make20,
13
+ node: () => node80,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make15()
19
+ defaultValue: () => make20()
20
20
  });
21
- function make15(input = {}) {
21
+ function make20(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make15(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer18 = (input) => Layer.succeed(Metadata2, make15(input));
32
- var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer18(input), deps: [] });
33
- var node48 = configured8();
31
+ var layer24 = (input) => Layer.succeed(Metadata2, make20(input));
32
+ var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
+ var node80 = configured10();
34
34
 
35
- export { Metadata2, make15, useragent2, layer18, configured8, node48, exports_app };
35
+ export { Metadata2, make20, useragent2, layer24, configured10, node80, exports_app };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID13,
2
+ ID8,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./ripgrep-48qwr564.js";
5
+ } from "./workspace-j6wgtyv7.js";
6
6
  import {
7
- ID12,
7
+ ID7,
8
8
  VariantID2,
9
9
  Family2,
10
- Info26
11
- } from "./ripgrep-s7kjtx58.js";
10
+ Info21
11
+ } from "./workspace-6qr29wt1.js";
12
12
  import {
13
13
  __export
14
- } from "./ripgrep-9rqn6x4v.js";
14
+ } from "./workspace-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID12.make(id);
97
+ const key = ID7.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info26.make({
122
- ...Info26.default(ID13.githubCopilot, id),
121
+ return Info21.make({
122
+ ...Info21.default(ID8.githubCopilot, id),
123
123
  id,
124
- modelID: ID12.make(remote.id),
125
- providerID: ID13.githubCopilot,
124
+ modelID: ID7.make(remote.id),
125
+ providerID: ID8.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),