@opencode/core 0.0.0-dev-19884 → 0.0.0-dev-19886

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{ripgrep-wa8gayma.js → schema-00kf9hgr.js} +84 -84
  8. package/dist/chunks/{ripgrep-tvmycyz8.js → schema-0g5nqv50.js} +5 -5
  9. package/dist/chunks/{ripgrep-yh6dn83m.js → schema-0jpk42xm.js} +12 -12
  10. package/dist/chunks/{ripgrep-vzfyj1ka.js → schema-0jpvnn7p.js} +10 -10
  11. package/dist/chunks/schema-0mesazry.js +4 -0
  12. package/dist/chunks/{ripgrep-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{ripgrep-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{ripgrep-jkka0c6f.js → schema-0tzy42a9.js} +8 -8
  15. package/dist/chunks/{ripgrep-ap58tr72.js → schema-0vwe55z4.js} +17 -17
  16. package/dist/chunks/{ripgrep-zb5wqgkq.js → schema-0ztt3je3.js} +47 -47
  17. package/dist/chunks/{ripgrep-p51w04et.js → schema-14h2k2kq.js} +8 -8
  18. package/dist/chunks/schema-18yxx2zm.js +252 -0
  19. package/dist/chunks/schema-1d3x4d8x.js +26 -0
  20. package/dist/chunks/{ripgrep-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{ripgrep-naw1myqz.js → schema-1f65vsja.js} +22 -22
  22. package/dist/chunks/{ripgrep-21r38tys.js → schema-21r38tys.js} +1 -1
  23. package/dist/chunks/{ripgrep-0gaj4617.js → schema-23pqda6t.js} +6 -6
  24. package/dist/chunks/{ripgrep-2402vzrj.js → schema-2402vzrj.js} +1 -1
  25. package/dist/chunks/{ripgrep-bccb6npm.js → schema-26k5bknw.js} +4 -4
  26. package/dist/chunks/{ripgrep-rvtvfpzy.js → schema-27fda2dc.js} +6 -6
  27. package/dist/chunks/{ripgrep-8q3y7ehd.js → schema-27nsnsgt.js} +21 -21
  28. package/dist/chunks/{ripgrep-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{ripgrep-43h198y8.js → schema-2eegacq4.js} +8 -8
  30. package/dist/chunks/{ripgrep-w9k11mtt.js → schema-2ew1f5mw.js} +16 -16
  31. package/dist/chunks/{ripgrep-r83etpq8.js → schema-2hgcm4ge.js} +6 -6
  32. package/dist/chunks/{ripgrep-7dqw4kz8.js → schema-2k8khapm.js} +5 -5
  33. package/dist/chunks/{ripgrep-xrbsbc41.js → schema-2vvmycb5.js} +7 -7
  34. package/dist/chunks/{ripgrep-j68eznfn.js → schema-2zb4g7yy.js} +3 -3
  35. package/dist/chunks/{ripgrep-vfpvfcad.js → schema-31j0m047.js} +31 -31
  36. package/dist/chunks/{ripgrep-mfqp6xfm.js → schema-33w4ejhs.js} +9 -9
  37. package/dist/chunks/{ripgrep-m2cwgzsz.js → schema-35xpfejb.js} +25 -25
  38. package/dist/chunks/{ripgrep-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{ripgrep-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{ripgrep-4p8111z8.js → schema-3pjcshv1.js} +16 -16
  41. package/dist/chunks/{ripgrep-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{ripgrep-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{ripgrep-595ycqh3.js → schema-3xsz3272.js} +12 -12
  44. package/dist/chunks/{ripgrep-dmpxpvyd.js → schema-430xfz4c.js} +11 -11
  45. package/dist/chunks/{ripgrep-4dgbcxzg.js → schema-44h5tttr.js} +4 -4
  46. package/dist/chunks/{ripgrep-ydzmr5w4.js → schema-46dkj1aa.js} +24 -24
  47. package/dist/chunks/{ripgrep-hqh6p6yn.js → schema-49g14z3y.js} +4 -4
  48. package/dist/chunks/{ripgrep-00drppa2.js → schema-4ap4625a.js} +10 -10
  49. package/dist/chunks/{ripgrep-c8br9twv.js → schema-4dgwxax1.js} +19 -19
  50. package/dist/chunks/{ripgrep-fy1t25hs.js → schema-4dxzcd5q.js} +10 -10
  51. package/dist/chunks/{ripgrep-n91rd0qh.js → schema-4hndh7d1.js} +302 -302
  52. package/dist/chunks/{ripgrep-3e38qjvr.js → schema-4s8c6nrb.js} +22 -22
  53. package/dist/chunks/{ripgrep-xz99hjyp.js → schema-53614fhz.js} +8 -8
  54. package/dist/chunks/{ripgrep-57ez7d0k.js → schema-57ez7d0k.js} +2 -2
  55. package/dist/chunks/{ripgrep-9k4hstdt.js → schema-5cm2z16n.js} +42 -42
  56. package/dist/chunks/{ripgrep-5daktx2q.js → schema-5daktx2q.js} +1 -1
  57. package/dist/chunks/{ripgrep-p3jb5j7b.js → schema-5gz442hs.js} +33 -33
  58. package/dist/chunks/{ripgrep-bf0ztrs3.js → schema-5q02cxx3.js} +4 -4
  59. package/dist/chunks/{ripgrep-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{ripgrep-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{ripgrep-t0w9tswa.js → schema-61bj6qxp.js} +11 -11
  62. package/dist/chunks/{ripgrep-62cs28jb.js → schema-620c9p0e.js} +5 -5
  63. package/dist/chunks/{ripgrep-tv5x03kr.js → schema-62dkdkge.js} +33 -33
  64. package/dist/chunks/{ripgrep-vyrd71eq.js → schema-63zbbs1j.js} +11 -11
  65. package/dist/chunks/{ripgrep-669tq793.js → schema-669tq793.js} +1 -1
  66. package/dist/chunks/{ripgrep-0996nyz8.js → schema-6hjx5zpb.js} +5 -5
  67. package/dist/chunks/{ripgrep-5jbzwjgm.js → schema-6hwb3kgj.js} +17 -17
  68. package/dist/chunks/{ripgrep-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{ripgrep-tgaz0dtb.js → schema-6phpyabk.js} +5 -5
  70. package/dist/chunks/{ripgrep-p39gsrf5.js → schema-6ybjtjh6.js} +43 -43
  71. package/dist/chunks/{ripgrep-nyqx1cb3.js → schema-705e2ap1.js} +5 -5
  72. package/dist/chunks/{ripgrep-pzz9wtjp.js → schema-715jhr6j.js} +4 -4
  73. package/dist/chunks/{ripgrep-n06c4v83.js → schema-77dpymfj.js} +41 -41
  74. package/dist/chunks/{ripgrep-qfpwt3wt.js → schema-788gb7w8.js} +11 -11
  75. package/dist/chunks/{ripgrep-v19709j4.js → schema-7atvkj40.js} +30 -30
  76. package/dist/chunks/{ripgrep-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{ripgrep-wqkfmf7p.js → schema-7erxeq1k.js} +10 -10
  78. package/dist/chunks/{ripgrep-b46t8qcq.js → schema-7stb2mtn.js} +11 -11
  79. package/dist/chunks/{ripgrep-sh1v16f4.js → schema-82dy80yx.js} +30 -30
  80. package/dist/chunks/{ripgrep-xvyew5bh.js → schema-87sxhkrx.js} +296 -296
  81. package/dist/chunks/{ripgrep-ztyn76tz.js → schema-89kj8kbd.js} +12 -12
  82. package/dist/chunks/{ripgrep-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{ripgrep-f06c2dtw.js → schema-8gb5m816.js} +15 -15
  84. package/dist/chunks/{ripgrep-bpagpxd9.js → schema-8mrsjb6t.js} +9 -9
  85. package/dist/chunks/{ripgrep-dj2t23y0.js → schema-8p4f9s12.js} +2 -2
  86. package/dist/chunks/{ripgrep-g5xx7w73.js → schema-8pje5h6d.js} +13 -13
  87. package/dist/chunks/{ripgrep-xgw0etvz.js → schema-8z86kdgr.js} +2 -2
  88. package/dist/chunks/{ripgrep-dw1q9xcc.js → schema-8zxj1h0d.js} +30 -30
  89. package/dist/chunks/{ripgrep-9xbg11md.js → schema-96hmnfjn.js} +24 -24
  90. package/dist/chunks/{ripgrep-x8dfedm0.js → schema-99g1e68g.js} +5 -5
  91. package/dist/chunks/{ripgrep-y34kqq23.js → schema-9hhss0a2.js} +22 -22
  92. package/dist/chunks/{ripgrep-02kg8zjk.js → schema-9kn500pz.js} +30 -30
  93. package/dist/chunks/{ripgrep-mqc96y4z.js → schema-9vpczy1a.js} +11 -11
  94. package/dist/chunks/{ripgrep-7pnjd3fd.js → schema-9waxqwzk.js} +13 -13
  95. package/dist/chunks/{ripgrep-hyr91dj2.js → schema-9ydytpw2.js} +3 -3
  96. package/dist/chunks/{ripgrep-d2aac7k2.js → schema-a1a50ys5.js} +5 -5
  97. package/dist/chunks/{ripgrep-5c4hm403.js → schema-a1bz86dw.js} +3 -3
  98. package/dist/chunks/{ripgrep-bvvrmhe1.js → schema-a48qxba4.js} +17 -17
  99. package/dist/chunks/{ripgrep-g790jytp.js → schema-a67c24cf.js} +47 -47
  100. package/dist/chunks/{ripgrep-kk00bynn.js → schema-a8bn8zg0.js} +21 -21
  101. package/dist/chunks/{ripgrep-aaet6srn.js → schema-aaet6srn.js} +2 -2
  102. package/dist/chunks/{ripgrep-2k97ax98.js → schema-ac987dqs.js} +3 -3
  103. package/dist/chunks/{ripgrep-1yv162eq.js → schema-ajed71fh.js} +4 -4
  104. package/dist/chunks/{ripgrep-qdcqwhjs.js → schema-am548r7s.js} +20 -20
  105. package/dist/chunks/{ripgrep-ad9f3vzh.js → schema-asc6r62w.js} +18 -18
  106. package/dist/chunks/{ripgrep-1nrdxkt6.js → schema-aw4pcnvy.js} +20 -20
  107. package/dist/chunks/{ripgrep-jntbakwj.js → schema-awv3wa2m.js} +13 -13
  108. package/dist/chunks/{ripgrep-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{ripgrep-ryt7pzqc.js → schema-b97cbvw3.js} +1 -1
  110. package/dist/chunks/{ripgrep-bywg4f5n.js → schema-ba2a7ra8.js} +41 -41
  111. package/dist/chunks/{ripgrep-p1nm93x7.js → schema-bgxcxs0p.js} +5 -5
  112. package/dist/chunks/{ripgrep-jmphe03k.js → schema-bha4atvq.js} +4 -4
  113. package/dist/chunks/{ripgrep-txwbxve6.js → schema-bx5rv0r1.js} +16 -16
  114. package/dist/chunks/{ripgrep-8p9yqp1g.js → schema-by61nw3t.js} +20 -20
  115. package/dist/chunks/{ripgrep-qd7cft6p.js → schema-c47c9t6q.js} +9 -9
  116. package/dist/chunks/{ripgrep-zmgjwfd0.js → schema-c4h0rghh.js} +39 -39
  117. package/dist/chunks/{ripgrep-m0jqrx5p.js → schema-cfpkc3c9.js} +2 -2
  118. package/dist/chunks/{ripgrep-9dsm0yy8.js → schema-crd295za.js} +9 -9
  119. package/dist/chunks/{ripgrep-98cb2jh6.js → schema-crhmmv87.js} +168 -168
  120. package/dist/chunks/{ripgrep-jhewz3v4.js → schema-cv1ac0c6.js} +13 -13
  121. package/dist/chunks/{ripgrep-fm2qvscf.js → schema-d216944b.js} +7 -7
  122. package/dist/chunks/{ripgrep-4sra3427.js → schema-d8ekvs43.js} +14 -14
  123. package/dist/chunks/{ripgrep-47axers8.js → schema-d8j7pmpr.js} +23 -23
  124. package/dist/chunks/{ripgrep-wws8y0j5.js → schema-daqxfzz2.js} +7 -7
  125. package/dist/chunks/{ripgrep-x9ayx9my.js → schema-dcyzc3a4.js} +5 -5
  126. package/dist/chunks/{ripgrep-hvtp2efv.js → schema-dgkjxssa.js} +27 -27
  127. package/dist/chunks/{ripgrep-ena3twxc.js → schema-dhexvm6n.js} +33 -33
  128. package/dist/chunks/{ripgrep-sgwh5nyn.js → schema-dpahde6h.js} +8 -8
  129. package/dist/chunks/{ripgrep-p6r503wj.js → schema-dqd6nw8h.js} +26 -26
  130. package/dist/chunks/{ripgrep-qqeeq2t9.js → schema-drwq78ky.js} +7 -7
  131. package/dist/chunks/{ripgrep-erbxqsgg.js → schema-dvym74kg.js} +15 -15
  132. package/dist/chunks/{ripgrep-m6yarymk.js → schema-dzx47qqb.js} +24 -24
  133. package/dist/chunks/{ripgrep-dm8e8cqc.js → schema-e0vrtrrw.js} +14 -14
  134. package/dist/chunks/{ripgrep-0rrms05z.js → schema-e8f72s9g.js} +30 -30
  135. package/dist/chunks/{ripgrep-77b9qh7g.js → schema-e9j26s5a.js} +13 -13
  136. package/dist/chunks/{ripgrep-t550f9t1.js → schema-eaj1djv9.js} +8 -8
  137. package/dist/chunks/{ripgrep-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{ripgrep-j75a2xa8.js → schema-efx6pn78.js} +9 -9
  139. package/dist/chunks/{ripgrep-ranyrkk2.js → schema-eh3tg283.js} +11 -11
  140. package/dist/chunks/{ripgrep-a5ws9a8a.js → schema-epqfg76v.js} +13 -13
  141. package/dist/chunks/{ripgrep-erw5rpbs.js → schema-erw5rpbs.js} +2 -2
  142. package/dist/chunks/{ripgrep-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{ripgrep-3cfzdc8e.js → schema-evbgk2k8.js} +5 -5
  144. package/dist/chunks/{ripgrep-g5rgvkph.js → schema-f11mwxkr.js} +26 -26
  145. package/dist/chunks/{ripgrep-m3wcxb4h.js → schema-f1pvj740.js} +18 -18
  146. package/dist/chunks/{ripgrep-mw03hhna.js → schema-f68wk4tz.js} +18 -18
  147. package/dist/chunks/{ripgrep-hdnk95c8.js → schema-f828m53h.js} +2 -2
  148. package/dist/chunks/{ripgrep-tp9tgz8k.js → schema-fg4bngfk.js} +11 -11
  149. package/dist/chunks/{ripgrep-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{ripgrep-1ajx6rf5.js → schema-g0445xdp.js} +8 -8
  151. package/dist/chunks/{ripgrep-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{ripgrep-88fr6h4a.js → schema-gh1qyndc.js} +28 -28
  153. package/dist/chunks/{ripgrep-08qs2p70.js → schema-gmhayzrc.js} +28 -28
  154. package/dist/chunks/{ripgrep-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{ripgrep-t0ac4kqt.js → schema-gw0rdnge.js} +16 -16
  156. package/dist/chunks/{ripgrep-gc5ex385.js → schema-gwwb91fp.js} +14 -14
  157. package/dist/chunks/{ripgrep-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{ripgrep-ps7p92m4.js → schema-hag420rg.js} +11 -11
  159. package/dist/chunks/{ripgrep-fpnx24t4.js → schema-hbznj76v.js} +3 -3
  160. package/dist/chunks/{ripgrep-jvdt4jv7.js → schema-hg46y0kh.js} +6 -6
  161. package/dist/chunks/{ripgrep-hv38ezqz.js → schema-hw0zd49b.js} +30 -30
  162. package/dist/chunks/{ripgrep-3zh0859w.js → schema-hxgdaxe3.js} +13 -13
  163. package/dist/chunks/{ripgrep-j26cqbwq.js → schema-hztmyek9.js} +3 -3
  164. package/dist/chunks/{ripgrep-86cf9fw2.js → schema-j1x1vf2y.js} +11 -11
  165. package/dist/chunks/{ripgrep-j56e64zr.js → schema-j56e64zr.js} +1 -1
  166. package/dist/chunks/{ripgrep-p82qgwm6.js → schema-j59ym81b.js} +13 -13
  167. package/dist/chunks/{ripgrep-n8ha5vbr.js → schema-jagm69te.js} +55 -55
  168. package/dist/chunks/{ripgrep-fg7qhaex.js → schema-jhbs716j.js} +61 -61
  169. package/dist/chunks/{ripgrep-hv6rh1ah.js → schema-jkh6xme0.js} +27 -27
  170. package/dist/chunks/{ripgrep-7ye0eskq.js → schema-jy1h2w15.js} +5 -5
  171. package/dist/chunks/{ripgrep-h3qh9gwx.js → schema-k0nnn7te.js} +26 -26
  172. package/dist/chunks/{ripgrep-nzks3jc8.js → schema-k3c624dm.js} +3 -3
  173. package/dist/chunks/{ripgrep-pmryb5d7.js → schema-k3yens6r.js} +28 -28
  174. package/dist/chunks/{ripgrep-r51gqmb4.js → schema-kgaqkgqz.js} +4 -4
  175. package/dist/chunks/{ripgrep-777p5kr8.js → schema-kgczsn21.js} +21 -21
  176. package/dist/chunks/{ripgrep-mmr7bq34.js → schema-knb7evpn.js} +8 -8
  177. package/dist/chunks/{ripgrep-rqwcfhke.js → schema-kxxcztw2.js} +11 -11
  178. package/dist/chunks/{ripgrep-tfzngn12.js → schema-kzc3h1h3.js} +4 -4
  179. package/dist/chunks/{ripgrep-3mc0mxvn.js → schema-m0pezh0b.js} +6 -6
  180. package/dist/chunks/{ripgrep-7c7tqtfq.js → schema-m2gwkkre.js} +9 -9
  181. package/dist/chunks/{ripgrep-80nc4spm.js → schema-m31hrvtp.js} +20 -20
  182. package/dist/chunks/{ripgrep-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{ripgrep-7h053g4f.js → schema-m4d3rech.js} +15 -15
  184. package/dist/chunks/{ripgrep-w8ee3ykt.js → schema-m50cybhv.js} +28 -28
  185. package/dist/chunks/{ripgrep-f8mhce1d.js → schema-m63dm8t2.js} +9 -9
  186. package/dist/chunks/{ripgrep-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{ripgrep-73tb2d7t.js → schema-mhkvc446.js} +3 -3
  188. package/dist/chunks/{ripgrep-engkm2d6.js → schema-mjagy123.js} +5 -5
  189. package/dist/chunks/{ripgrep-hn3c4ey4.js → schema-mkry9cbt.js} +15 -15
  190. package/dist/chunks/{ripgrep-kv9ap8w1.js → schema-mtd9q3qz.js} +11 -11
  191. package/dist/chunks/{ripgrep-8jzekk46.js → schema-mwe9m6y1.js} +12 -12
  192. package/dist/chunks/{ripgrep-qrn1gxgv.js → schema-n41zvqn3.js} +85 -85
  193. package/dist/chunks/{ripgrep-t2az9yje.js → schema-n4r3xatb.js} +4 -4
  194. package/dist/chunks/{ripgrep-6yvbrjax.js → schema-nd17pecj.js} +25 -25
  195. package/dist/chunks/{ripgrep-3mc3a2sf.js → schema-nf9eh295.js} +23 -23
  196. package/dist/chunks/{ripgrep-bpcm8v83.js → schema-nfey5btx.js} +9 -9
  197. package/dist/chunks/{ripgrep-dbxp2k0j.js → schema-nrphw12n.js} +7 -7
  198. package/dist/chunks/{ripgrep-e34x8y7p.js → schema-nsarsp7q.js} +8 -8
  199. package/dist/chunks/{ripgrep-jjs74g98.js → schema-nscznvay.js} +9 -9
  200. package/dist/chunks/{ripgrep-taxxp7qa.js → schema-nw8j1rps.js} +28 -28
  201. package/dist/chunks/{ripgrep-pm5byaap.js → schema-nwmd1prx.js} +20 -20
  202. package/dist/chunks/{ripgrep-y3kqwzhp.js → schema-nwt3vm70.js} +9 -9
  203. package/dist/chunks/{ripgrep-yyaayjfj.js → schema-p24szhfn.js} +74 -74
  204. package/dist/chunks/{ripgrep-mh050mx3.js → schema-p42z03n1.js} +29 -29
  205. package/dist/chunks/{ripgrep-8s5tghjp.js → schema-p5m4wkry.js} +25 -25
  206. package/dist/chunks/{ripgrep-enx68je3.js → schema-p5wnv3kx.js} +17 -17
  207. package/dist/chunks/schema-pf31ssb9.js +18 -0
  208. package/dist/chunks/{ripgrep-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{ripgrep-pknna89w.js → schema-pknna89w.js} +1 -1
  210. package/dist/chunks/{ripgrep-nqjmnyjs.js → schema-pwkmx0nv.js} +11 -11
  211. package/dist/chunks/{ripgrep-jegn5rpz.js → schema-q01vrhz0.js} +44 -44
  212. package/dist/chunks/{ripgrep-pvwh1q8t.js → schema-q2k638zh.js} +25 -25
  213. package/dist/chunks/{ripgrep-94zshge0.js → schema-qd9qsd3y.js} +26 -26
  214. package/dist/chunks/{ripgrep-jbj27hk3.js → schema-qk3ss27q.js} +5 -5
  215. package/dist/chunks/{ripgrep-fyvg84yx.js → schema-qm9z9m0p.js} +15 -15
  216. package/dist/chunks/{ripgrep-cwa6csj7.js → schema-qmqgtz8f.js} +9 -9
  217. package/dist/chunks/{ripgrep-qsdy395h.js → schema-qsdy395h.js} +1 -1
  218. package/dist/chunks/{ripgrep-57z5z4v1.js → schema-r0e90pz6.js} +6 -6
  219. package/dist/chunks/{ripgrep-sdgam4xr.js → schema-r216a26w.js} +1 -1
  220. package/dist/chunks/{ripgrep-3wcxc2ne.js → schema-r7w93r7k.js} +8 -8
  221. package/dist/chunks/{ripgrep-f2n192rq.js → schema-r8xr0va3.js} +4 -4
  222. package/dist/chunks/{ripgrep-h3g2mynz.js → schema-ra56mcsr.js} +7 -7
  223. package/dist/chunks/{ripgrep-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{ripgrep-q970vn6j.js → schema-rp4sv622.js} +2 -2
  225. package/dist/chunks/{ripgrep-ysddpjww.js → schema-rpprv63a.js} +6 -6
  226. package/dist/chunks/{ripgrep-eae6hk2f.js → schema-rpz6drrn.js} +17 -17
  227. package/dist/chunks/{ripgrep-5a6ex2zm.js → schema-rrx9jv1h.js} +34 -34
  228. package/dist/chunks/{ripgrep-60bahft7.js → schema-rw3hxt2z.js} +11 -11
  229. package/dist/chunks/{ripgrep-xyssbcjp.js → schema-rxat3bmm.js} +8 -8
  230. package/dist/chunks/{ripgrep-762am0a2.js → schema-rz3ttxsc.js} +3 -3
  231. package/dist/chunks/{ripgrep-kh0v43c1.js → schema-s16nvs90.js} +7 -7
  232. package/dist/chunks/{ripgrep-kv8tb5ny.js → schema-s5vydnba.js} +20 -20
  233. package/dist/chunks/{ripgrep-a7q5ytqy.js → schema-smeb82kt.js} +10 -10
  234. package/dist/chunks/{ripgrep-emqpgmd6.js → schema-sqg1zh0r.js} +25 -25
  235. package/dist/chunks/{ripgrep-h47rfed7.js → schema-sqwknf6n.js} +26 -26
  236. package/dist/chunks/{ripgrep-4pjcr2w6.js → schema-svthz80f.js} +5 -5
  237. package/dist/chunks/{ripgrep-npch8yde.js → schema-sxqpj4ry.js} +39 -39
  238. package/dist/chunks/{ripgrep-96y38d67.js → schema-t8tjryy7.js} +40 -40
  239. package/dist/chunks/{ripgrep-7ak0evkr.js → schema-t9gmmc62.js} +4 -4
  240. package/dist/chunks/{ripgrep-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{ripgrep-p28j5sbe.js → schema-tbz0fdvh.js} +5 -5
  242. package/dist/chunks/{ripgrep-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{ripgrep-tdstcens.js → schema-tdstcens.js} +1 -1
  244. package/dist/chunks/{ripgrep-b5dg6b6d.js → schema-te5aq0s8.js} +19 -19
  245. package/dist/chunks/{ripgrep-9ae44cfy.js → schema-tegs1ycp.js} +6 -6
  246. package/dist/chunks/{ripgrep-eszpxc5c.js → schema-thp9hxey.js} +5 -5
  247. package/dist/chunks/{ripgrep-8wb0zfrh.js → schema-tkef11z1.js} +17 -17
  248. package/dist/chunks/{ripgrep-tvtrv512.js → schema-tvtrv512.js} +1 -1
  249. package/dist/chunks/{ripgrep-wsfhs49f.js → schema-v32h01d6.js} +3 -3
  250. package/dist/chunks/{ripgrep-npm9gzvc.js → schema-v4q4m78p.js} +1 -1
  251. package/dist/chunks/{ripgrep-veqvce7d.js → schema-veqvce7d.js} +1 -1
  252. package/dist/chunks/{ripgrep-576taz8z.js → schema-vkzh714j.js} +39 -39
  253. package/dist/chunks/{ripgrep-7arsjac4.js → schema-vwv45jwz.js} +11 -11
  254. package/dist/chunks/{ripgrep-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{ripgrep-3m25mxr5.js → schema-w16ahr6b.js} +47 -47
  256. package/dist/chunks/{ripgrep-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{ripgrep-5zv2xz0x.js → schema-w3xeasz5.js} +17 -17
  258. package/dist/chunks/{ripgrep-vspmzc2d.js → schema-w71eb5dq.js} +11 -11
  259. package/dist/chunks/{ripgrep-kw9xdzv2.js → schema-wd6nv646.js} +9 -9
  260. package/dist/chunks/{ripgrep-wd87259q.js → schema-wd87259q.js} +1 -1
  261. package/dist/chunks/{ripgrep-tynr2gr2.js → schema-wjj6t90t.js} +27 -27
  262. package/dist/chunks/{ripgrep-kkgwyedr.js → schema-wkayzp5j.js} +16 -16
  263. package/dist/chunks/{ripgrep-szb7x5e7.js → schema-wkehh1kx.js} +24 -24
  264. package/dist/chunks/{ripgrep-f4ysmyc6.js → schema-wn9776zt.js} +4 -4
  265. package/dist/chunks/{ripgrep-f2aqmkqm.js → schema-wv5rnem4.js} +11 -11
  266. package/dist/chunks/{ripgrep-xyb0jyg8.js → schema-wy0rv5a1.js} +9 -9
  267. package/dist/chunks/{ripgrep-9p41r4tx.js → schema-x1b0enpz.js} +25 -25
  268. package/dist/chunks/{ripgrep-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{ripgrep-6pc7fx7t.js → schema-x3h06d7w.js} +28 -28
  270. package/dist/chunks/{ripgrep-rxcdjwh1.js → schema-xnv6xhp0.js} +8 -8
  271. package/dist/chunks/{ripgrep-terq9fxp.js → schema-xptk6zwz.js} +26 -26
  272. package/dist/chunks/{ripgrep-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{ripgrep-hc7vac20.js → schema-y4ryaafw.js} +16 -16
  274. package/dist/chunks/{ripgrep-y71avatq.js → schema-y71avatq.js} +1 -1
  275. package/dist/chunks/{ripgrep-xb6f42dc.js → schema-y79g4z7g.js} +14 -14
  276. package/dist/chunks/{ripgrep-dbvccpaz.js → schema-ydbs56mh.js} +6 -6
  277. package/dist/chunks/{ripgrep-b7wj3gyt.js → schema-yfkgz838.js} +26 -26
  278. package/dist/chunks/{ripgrep-pjedbq3k.js → schema-yq2cczkq.js} +9 -9
  279. package/dist/chunks/{ripgrep-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{ripgrep-s4enseaf.js → schema-yrznvahk.js} +2 -2
  281. package/dist/chunks/{ripgrep-5d771mpt.js → schema-ysht8f4g.js} +4 -4
  282. package/dist/chunks/{ripgrep-yanrta8x.js → schema-yx64nkv6.js} +27 -27
  283. package/dist/chunks/{ripgrep-wdkpcg2j.js → schema-z07ec4ej.js} +24 -24
  284. package/dist/chunks/{ripgrep-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{ripgrep-29x78va6.js → schema-z63w68vq.js} +6 -6
  286. package/dist/chunks/{ripgrep-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{ripgrep-cdawn80v.js → schema-zfv3dwnm.js} +11 -11
  288. package/dist/chunks/{ripgrep-h6z8d5tn.js → schema-zj09a0ew.js} +4 -4
  289. package/dist/chunks/{ripgrep-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{ripgrep-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +11 -11
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +124 -124
  308. package/dist/config/plugin/mcp.js +131 -131
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -82
  325. package/dist/database/database.js +71 -71
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +71 -71
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.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 +6 -6
  424. package/dist/filesystem/location-watcher.js +226 -226
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +105 -105
  430. package/dist/form.js +83 -83
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +88 -88
  433. package/dist/generate.js +100 -100
  434. package/dist/git.js +8 -8
  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 +90 -90
  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 +359 -359
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +83 -83
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +132 -132
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +356 -356
  472. package/dist/location.js +82 -82
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +107 -107
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +90 -90
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +97 -97
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +79 -79
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +118 -118
  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 +83 -83
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +103 -103
  493. package/dist/plugin/command.js +100 -100
  494. package/dist/plugin/compaction.js +130 -130
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +330 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +119 -119
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +73 -73
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +138 -138
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +349 -349
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +4 -4
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  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 +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +228 -228
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +81 -81
  562. package/dist/provider.js +98 -98
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +94 -94
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +218 -218
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +150 -150
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +89 -89
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +76 -76
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +169 -169
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +5 -5
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +213 -213
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +215 -215
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +15 -15
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +111 -111
  632. package/dist/snapshot.js +90 -90
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +126 -126
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +121 -121
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +102 -102
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +216 -216
  646. package/dist/tool/plugin/skill.js +112 -112
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +111 -111
  649. package/dist/tool/plugin/websearch.js +113 -113
  650. package/dist/tool/plugin/write.js +117 -117
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  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 +7 -7
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +7 -7
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +7 -7
  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 +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +81 -81
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +80 -80
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +79 -79
  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 +88 -88
  694. package/dist/worktree.js +97 -97
  695. package/package.json +8 -8
  696. package/dist/chunks/ripgrep-1x11rq2a.js +0 -18
  697. package/dist/chunks/ripgrep-7bm43ve7.js +0 -252
  698. package/dist/chunks/ripgrep-cd7q2513.js +0 -26
  699. package/dist/chunks/ripgrep-h47he10w.js +0 -4
  700. /package/dist/chunks/{ripgrep-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{ripgrep-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{ripgrep-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{ripgrep-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{ripgrep-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{ripgrep-24dcb14g.js → schema-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{ripgrep-2710q6r3.js → schema-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{ripgrep-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{ripgrep-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{ripgrep-359p4xyc.js → schema-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{ripgrep-3asan66x.js → schema-3asan66x.js} +0 -0
  711. /package/dist/chunks/{ripgrep-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{ripgrep-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{ripgrep-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{ripgrep-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{ripgrep-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{ripgrep-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{ripgrep-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{ripgrep-53557ph1.js → schema-53557ph1.js} +0 -0
  719. /package/dist/chunks/{ripgrep-550bvhaj.js → schema-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{ripgrep-6prwharc.js → schema-6prwharc.js} +0 -0
  721. /package/dist/chunks/{ripgrep-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{ripgrep-7m9af43g.js → schema-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{ripgrep-822emrt2.js → schema-822emrt2.js} +0 -0
  724. /package/dist/chunks/{ripgrep-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{ripgrep-8n3pysct.js → schema-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{ripgrep-922hggd3.js → schema-922hggd3.js} +0 -0
  727. /package/dist/chunks/{ripgrep-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{ripgrep-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{ripgrep-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{ripgrep-af5trqkr.js → schema-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{ripgrep-afrmfg78.js → schema-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{ripgrep-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{ripgrep-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{ripgrep-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{ripgrep-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{ripgrep-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{ripgrep-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{ripgrep-d9fn303g.js → schema-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{ripgrep-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{ripgrep-dajrwvna.js → schema-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{ripgrep-dap0rakb.js → schema-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{ripgrep-df08tz66.js → schema-df08tz66.js} +0 -0
  743. /package/dist/chunks/{ripgrep-dy18nga0.js → schema-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{ripgrep-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{ripgrep-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{ripgrep-ec1grn59.js → schema-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{ripgrep-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{ripgrep-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{ripgrep-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{ripgrep-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{ripgrep-faypxj3z.js → schema-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{ripgrep-fd410y7t.js → schema-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{ripgrep-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{ripgrep-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{ripgrep-g86h250q.js → schema-g86h250q.js} +0 -0
  756. /package/dist/chunks/{ripgrep-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{ripgrep-gftt206x.js → schema-gftt206x.js} +0 -0
  758. /package/dist/chunks/{ripgrep-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{ripgrep-hk9envan.js → schema-hk9envan.js} +0 -0
  760. /package/dist/chunks/{ripgrep-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{ripgrep-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{ripgrep-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{ripgrep-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{ripgrep-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{ripgrep-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{ripgrep-mp448xyj.js → schema-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{ripgrep-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{ripgrep-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{ripgrep-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{ripgrep-njntx4h6.js → schema-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{ripgrep-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{ripgrep-q74kybfr.js → schema-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{ripgrep-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{ripgrep-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{ripgrep-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{ripgrep-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{ripgrep-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{ripgrep-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{ripgrep-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{ripgrep-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{ripgrep-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{ripgrep-twg0f83k.js → schema-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{ripgrep-w803qqfp.js → schema-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{ripgrep-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{ripgrep-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{ripgrep-wtztk69x.js → schema-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{ripgrep-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{ripgrep-x61499pn.js → schema-x61499pn.js} +0 -0
  789. /package/dist/chunks/{ripgrep-y44na4kk.js → schema-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{ripgrep-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{ripgrep-y8f7s663.js → schema-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{ripgrep-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{ripgrep-ym463w8f.js → schema-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{ripgrep-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./ripgrep-2a5m3afh.js";
5
+ } from "./schema-2a5m3afh.js";
6
6
  import {
7
7
  Service79
8
- } from "./ripgrep-xrbsbc41.js";
8
+ } from "./schema-2vvmycb5.js";
9
9
  import {
10
- Service76
11
- } from "./ripgrep-naw1myqz.js";
10
+ Service49
11
+ } from "./schema-1f65vsja.js";
12
12
  import {
13
- Service13
14
- } from "./ripgrep-w9k11mtt.js";
13
+ Service52
14
+ } from "./schema-2ew1f5mw.js";
15
15
  import {
16
- Service75,
16
+ Service16,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./ripgrep-7pnjd3fd.js";
19
+ } from "./schema-9waxqwzk.js";
20
20
  import {
21
- Service50
22
- } from "./ripgrep-fg7qhaex.js";
21
+ Service73
22
+ } from "./schema-jhbs716j.js";
23
23
  import {
24
- Service16,
24
+ Service57,
25
25
  resolvePath2
26
- } from "./ripgrep-t0ac4kqt.js";
26
+ } from "./schema-gw0rdnge.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./ripgrep-6prwharc.js";
29
+ } from "./schema-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./ripgrep-9rqn6x4v.js";
32
+ } from "./schema-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input3,
39
- Output: () => Output2,
38
+ Input: () => Input9,
39
+ Output: () => Output6,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin38,
42
- name: () => name3,
43
- toModelContent: () => toModelContent2
41
+ Plugin: () => Plugin10,
42
+ name: () => name9,
43
+ toModelContent: () => toModelContent5
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name3 = "patch";
89
- var Input3 = Schema.Struct({
88
+ var name9 = "patch";
89
+ var Input9 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output2 = Schema.Struct({
99
+ var Output6 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent2 = (output) => [
103
+ var toModelContent5 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin38 = {
108
+ var Plugin10 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service76;
112
- const access = yield* Service16;
113
- const fileMutation = yield* Service75;
114
- const formatter = yield* Service13;
111
+ const environment = yield* Service49;
112
+ const access = yield* Service57;
113
+ const fileMutation = yield* Service16;
114
+ const formatter = yield* Service52;
115
115
  const location = yield* Service79;
116
- const permission = yield* Service50;
116
+ const permission = yield* Service73;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name3,
118
+ name: name9,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input3,
122
- output: Output2,
121
+ input: Input9,
122
+ output: Output6,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin38 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent2(output),
269
+ content: toModelContent5(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name3, Input3, Applied2, Output2, toModelContent2, Plugin38, exports_patch };
329
+ export { name9, Input9, Applied2, Output6, toModelContent5, Plugin10, exports_patch };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./ripgrep-gftt206x.js";
3
+ } from "./schema-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./ripgrep-fpnx24t4.js";
6
+ } from "./schema-hbznj76v.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./ripgrep-bpcm8v83.js";
9
+ } from "./schema-nfey5btx.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./ripgrep-t550f9t1.js";
13
+ } from "./schema-eaj1djv9.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./ripgrep-5c4hm403.js";
16
+ } from "./schema-a1bz86dw.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./ripgrep-jmphe03k.js";
20
+ } from "./schema-bha4atvq.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./ripgrep-bccb6npm.js";
25
+ } from "./schema-26k5bknw.js";
26
26
  import {
27
27
  __export
28
- } from "./ripgrep-9rqn6x4v.js";
28
+ } from "./schema-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load4,
38
+ load: () => load5,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./ripgrep-zr2ceqn5.js";
3
+ } from "./schema-zr2ceqn5.js";
4
4
  import {
5
- Service66
6
- } from "./ripgrep-9xbg11md.js";
5
+ Service40
6
+ } from "./schema-96hmnfjn.js";
7
7
  import {
8
8
  __export
9
- } from "./ripgrep-9rqn6x4v.js";
9
+ } from "./schema-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make4
16
+ make: () => make3
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make4 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service66;
25
+ var make3 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service40;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make4, LoadError2, exports_module };
105
+ export { make3, LoadError2, exports_module };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID11
3
- } from "./ripgrep-xvyew5bh.js";
2
+ ID8
3
+ } from "./schema-87sxhkrx.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 = ID11.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,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service65
4
- } from "./ripgrep-n06c4v83.js";
3
+ Service39
4
+ } from "./schema-77dpymfj.js";
5
5
  import {
6
6
  __export
7
- } from "./ripgrep-9rqn6x4v.js";
7
+ } from "./schema-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin34,
12
+ Plugin: () => Plugin22,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin34 = define({
22
+ var Plugin22 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service65;
25
+ const config = yield* Service39;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin34 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin34, exports_warming };
99
+ export { Plugin22, exports_warming };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service57,
3
- node59
4
- } from "./ripgrep-yanrta8x.js";
2
+ Service42,
3
+ node46
4
+ } from "./schema-yx64nkv6.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make19,
8
+ make21,
9
9
  diffByKey2
10
- } from "./ripgrep-t550f9t1.js";
10
+ } from "./schema-eaj1djv9.js";
11
11
  import {
12
12
  __export
13
- } from "./ripgrep-9rqn6x4v.js";
13
+ } from "./schema-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions4 = {};
17
- __export(exports_instructions4, {
18
- ReferenceInstructions: () => exports_instructions4,
19
- Service: () => Service30,
20
- node: () => node33
16
+ var exports_instructions2 = {};
17
+ __export(exports_instructions2, {
18
+ ReferenceInstructions: () => exports_instructions2,
19
+ Service: () => Service21,
20
+ node: () => node24
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,19 +57,19 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service30 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service21 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service30, Effect.gen(function* () {
63
- const references = yield* Service57;
64
- return Service30.of({
62
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
63
+ const references = yield* Service42;
64
+ return Service21.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make19({
72
- key: Key3.make("core/reference-guidance"),
71
+ return make21({
72
+ key: Key4.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node33 = makeLocationNode({ service: Service30, layer, deps: [node59] });
84
+ var node24 = makeLocationNode({ service: Service21, layer, deps: [node46] });
85
85
 
86
- export { Service30, node33, exports_instructions4 };
86
+ export { Service21, node24, exports_instructions2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82
3
- } from "./ripgrep-ps7p92m4.js";
3
+ } from "./schema-hag420rg.js";
4
4
  import {
5
- Service67,
6
- Event15
7
- } from "./ripgrep-777p5kr8.js";
5
+ Service41,
6
+ Event9
7
+ } from "./schema-kgczsn21.js";
8
8
  import {
9
9
  __export
10
- } from "./ripgrep-9rqn6x4v.js";
10
+ } from "./schema-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin20,
15
+ Plugin: () => Plugin14,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin20 = define({
20
+ var Plugin14 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service82;
24
- const wellknown = yield* Service67;
24
+ const wellknown = yield* Service41;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin20 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin20, exports_plugin };
48
+ export { Plugin14, exports_plugin };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service82,
3
- node85
4
- } from "./ripgrep-ps7p92m4.js";
3
+ node86
4
+ } from "./schema-hag420rg.js";
5
5
  import {
6
- Service73,
6
+ Service71,
7
7
  node75
8
- } from "./ripgrep-b7wj3gyt.js";
8
+ } from "./schema-yfkgz838.js";
9
9
  import {
10
10
  Ref4,
11
11
  Service79,
12
- node82
13
- } from "./ripgrep-xrbsbc41.js";
12
+ node83
13
+ } from "./schema-2vvmycb5.js";
14
14
  import {
15
- Service50,
16
- node52
17
- } from "./ripgrep-fg7qhaex.js";
15
+ Service73,
16
+ node77
17
+ } from "./schema-jhbs716j.js";
18
18
  import {
19
- Service46,
20
- node48
21
- } from "./ripgrep-p82qgwm6.js";
19
+ Service51,
20
+ node56
21
+ } from "./schema-j59ym81b.js";
22
22
  import {
23
23
  __export
24
- } from "./ripgrep-9rqn6x4v.js";
24
+ } from "./schema-9rqn6x4v.js";
25
25
 
26
26
  // src/location-lifecycle.ts
27
27
  var exports_location_lifecycle = {};
28
28
  __export(exports_location_lifecycle, {
29
29
  LocationLifecycle: () => exports_location_lifecycle,
30
- Service: () => Service15,
31
- node: () => node17
30
+ Service: () => Service47,
31
+ node: () => node51
32
32
  });
33
33
  import { Context, Effect, Layer } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  import { LocationEvent } from "@opencode/schema/location-event";
36
- class Service15 extends Context.Service()("@opencode/LocationLifecycle") {
36
+ class Service47 extends Context.Service()("@opencode/LocationLifecycle") {
37
37
  }
38
- var layer = Layer.effect(Service15, Effect.gen(function* () {
38
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
39
39
  const bus = yield* Service82;
40
40
  const location = yield* Service79;
41
- const permission = yield* Service50;
42
- const forms = yield* Service73;
43
- const rpc = yield* Service46;
41
+ const permission = yield* Service73;
42
+ const forms = yield* Service71;
43
+ const rpc = yield* Service51;
44
44
  let closed = false;
45
45
  const shutdown = yield* Effect.cached(Effect.gen(function* () {
46
46
  closed = true;
@@ -51,15 +51,15 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
51
51
  location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
52
52
  });
53
53
  }).pipe(Effect.uninterruptible));
54
- return Service15.of({
54
+ return Service47.of({
55
55
  isClosed: () => closed,
56
56
  shutdown
57
57
  });
58
58
  }));
59
- var node17 = makeLocationNode({
60
- service: Service15,
59
+ var node51 = makeLocationNode({
60
+ service: Service47,
61
61
  layer,
62
- deps: [node85, node82, node52, node75, node48]
62
+ deps: [node86, node83, node77, node75, node56]
63
63
  });
64
64
 
65
- export { Service15, node17, exports_location_lifecycle };
65
+ export { Service47, node51, exports_location_lifecycle };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service83,
3
- node86
4
- } from "./ripgrep-vspmzc2d.js";
3
+ node87
4
+ } from "./schema-w71eb5dq.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./ripgrep-y71avatq.js";
7
+ } from "./schema-y71avatq.js";
8
8
  import {
9
9
  Service82,
10
- node85
11
- } from "./ripgrep-ps7p92m4.js";
10
+ node86
11
+ } from "./schema-hag420rg.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./ripgrep-ec1grn59.js";
14
+ } from "./schema-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./ripgrep-gftt206x.js";
17
+ } from "./schema-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./ripgrep-fpnx24t4.js";
20
+ } from "./schema-hbznj76v.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./ripgrep-5c4hm403.js";
24
+ } from "./schema-a1bz86dw.js";
25
25
  import {
26
26
  __export
27
- } from "./ripgrep-9rqn6x4v.js";
27
+ } from "./schema-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info5,
35
+ Info: () => Info21,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service33,
40
+ Service: () => Service61,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer15,
49
- list: () => list3,
50
- make: () => make16,
48
+ layer: () => layer23,
49
+ list: () => list4,
50
+ make: () => make19,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node35,
53
+ node: () => node65,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info5,
68
+ Info as Info21,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service33 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service61 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make16 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make19 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service83;
158
158
  const db = database.db;
159
159
  const bus = yield* Service82;
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info5.make({
176
+ }).pipe(Effect.map((event) => Info21.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -193,7 +193,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list3(db, sessionID),
221
+ list: (sessionID) => list4(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer15 = Layer.effect(Service33, make16());
231
- var node35 = makeGlobalNode({ service: Service33, layer: layer15, deps: [node86, node85] });
230
+ var layer23 = Layer.effect(Service61, make19());
231
+ var node65 = makeGlobalNode({ service: Service61, layer: layer23, deps: [node87, node86] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info5, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service33, make16, layer15, node35, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info21, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service61, make19, layer23, node65, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };