@opencode/core 0.0.0-dev-19649 → 0.0.0-dev-19652

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{generate-kjrg4nqx.js → schema-00a8st2d.js} +17 -17
  8. package/dist/chunks/{generate-8jqh0faz.js → schema-030jpyv0.js} +10 -10
  9. package/dist/chunks/{generate-zs63n6kz.js → schema-03ep55h0.js} +23 -23
  10. package/dist/chunks/{generate-m6ex9jnq.js → schema-06z447d2.js} +11 -11
  11. package/dist/chunks/{generate-scxdnmy8.js → schema-09m97qzh.js} +50 -50
  12. package/dist/chunks/{generate-t1h95z69.js → schema-0dz7dwft.js} +3 -3
  13. package/dist/chunks/{generate-nxhqveyz.js → schema-0f9afca0.js} +5 -5
  14. package/dist/chunks/{generate-nm4299rz.js → schema-0fn2v7vk.js} +8 -8
  15. package/dist/chunks/{generate-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{generate-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{generate-hnr5yq9h.js → schema-0r7yqxbf.js} +5 -5
  18. package/dist/chunks/{generate-vncycja5.js → schema-0v53mg2y.js} +4 -4
  19. package/dist/chunks/{generate-e5v68n5c.js → schema-17xzmh3e.js} +38 -38
  20. package/dist/chunks/{generate-j028xdjb.js → schema-1bbkgx8g.js} +3 -3
  21. package/dist/chunks/{generate-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{generate-bsbjf813.js → schema-1fg54p4f.js} +2 -2
  23. package/dist/chunks/{generate-z9kz6vq2.js → schema-1wzaq9wx.js} +3 -3
  24. package/dist/chunks/{generate-56gdpj1q.js → schema-1ygqh575.js} +9 -9
  25. package/dist/chunks/{generate-n16fvec5.js → schema-2072y70k.js} +24 -24
  26. package/dist/chunks/{generate-21r38tys.js → schema-21r38tys.js} +1 -1
  27. package/dist/chunks/{generate-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{generate-32qeg25t.js → schema-2df3b3hs.js} +25 -25
  29. package/dist/chunks/{generate-57ez7d0k.js → schema-2fgn2we9.js} +9 -9
  30. package/dist/chunks/{generate-qtan44r6.js → schema-2j9z72bx.js} +4 -4
  31. package/dist/chunks/{generate-cq37gk0t.js → schema-2tfmgkzg.js} +4 -4
  32. package/dist/chunks/{generate-6ersrjne.js → schema-35agz59w.js} +6 -6
  33. package/dist/chunks/{generate-sppfbdp1.js → schema-38s28pd0.js} +31 -31
  34. package/dist/chunks/{generate-z7z0ddsh.js → schema-3cemjer9.js} +8 -8
  35. package/dist/chunks/{generate-c973t36a.js → schema-3ee1q45j.js} +10 -10
  36. package/dist/chunks/{generate-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{generate-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{generate-hywctfgt.js → schema-3nsjfmzq.js} +8 -8
  39. package/dist/chunks/{generate-55d9j7z7.js → schema-3qq5da58.js} +82 -82
  40. package/dist/chunks/{generate-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{generate-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{generate-ha6yg8nx.js → schema-3yr6111a.js} +29 -29
  43. package/dist/chunks/{generate-ec8389mk.js → schema-3ythc6yv.js} +4 -4
  44. package/dist/chunks/{generate-ws2rjdvk.js → schema-410w8yr6.js} +25 -25
  45. package/dist/chunks/{generate-tkt1bmkw.js → schema-42way606.js} +10 -10
  46. package/dist/chunks/{generate-fsz265zt.js → schema-47vm6cas.js} +15 -15
  47. package/dist/chunks/{generate-tegxt6vj.js → schema-49cpqk8x.js} +10 -10
  48. package/dist/chunks/{generate-dw3m3wne.js → schema-4dv0c8br.js} +9 -9
  49. package/dist/chunks/{generate-zhq6vg7a.js → schema-4jc5c4h4.js} +1 -1
  50. package/dist/chunks/{generate-kj7hwdd4.js → schema-4r0rs1wm.js} +30 -30
  51. package/dist/chunks/{generate-4rw5e13g.js → schema-4rt0waxz.js} +16 -16
  52. package/dist/chunks/{generate-wmvybe78.js → schema-4sa93e2e.js} +36 -36
  53. package/dist/chunks/{generate-3r6cnzs1.js → schema-4td6qmdq.js} +12 -12
  54. package/dist/chunks/{generate-04494ex8.js → schema-4x3es53w.js} +24 -24
  55. package/dist/chunks/{generate-ehndab98.js → schema-4xeagmdc.js} +3 -3
  56. package/dist/chunks/{generate-z6qczp7g.js → schema-50qbb3mm.js} +14 -14
  57. package/dist/chunks/{generate-w26x56ac.js → schema-5377s7rv.js} +35 -35
  58. package/dist/chunks/{generate-cpqe642d.js → schema-57b0vs49.js} +3 -3
  59. package/dist/chunks/{generate-a0k24qk8.js → schema-58bewgwg.js} +30 -22
  60. package/dist/chunks/{generate-d61c44a7.js → schema-58np9qmz.js} +5 -5
  61. package/dist/chunks/{generate-7h03wqdr.js → schema-5b21016n.js} +8 -8
  62. package/dist/chunks/{generate-a1bz86dw.js → schema-5c4hm403.js} +3 -3
  63. package/dist/chunks/{generate-5daktx2q.js → schema-5daktx2q.js} +1 -1
  64. package/dist/chunks/{generate-fp2fre2r.js → schema-5htpha5v.js} +17 -17
  65. package/dist/chunks/{generate-38ts9st6.js → schema-5rzrtx0h.js} +22 -22
  66. package/dist/chunks/{generate-fzr2ejag.js → schema-5sbtfkvy.js} +22 -22
  67. package/dist/chunks/{generate-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{generate-czfptnv9.js → schema-5yzzbxa7.js} +8 -8
  69. package/dist/chunks/{generate-s8ebftcw.js → schema-6008d0qp.js} +181 -181
  70. package/dist/chunks/{generate-9vgjqst9.js → schema-603btna3.js} +17 -17
  71. package/dist/chunks/{generate-2k8khapm.js → schema-607tc6va.js} +5 -5
  72. package/dist/chunks/{generate-669tq793.js → schema-669tq793.js} +1 -1
  73. package/dist/chunks/{generate-g120d4yd.js → schema-69mekdnv.js} +25 -25
  74. package/dist/chunks/{generate-rfcrhdzq.js → schema-6dk543bq.js} +11 -11
  75. package/dist/chunks/{generate-2402vzrj.js → schema-6h73sxmp.js} +5 -5
  76. package/dist/chunks/{generate-kp8q1t60.js → schema-6hjx5zpb.js} +9 -9
  77. package/dist/chunks/{generate-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
  78. package/dist/chunks/{generate-rz5w3t5j.js → schema-6rf1xn29.js} +12 -12
  79. package/dist/chunks/{generate-y6xead4g.js → schema-6sydn1mq.js} +3 -3
  80. package/dist/chunks/{generate-xknftrp0.js → schema-6w1d93z6.js} +9 -9
  81. package/dist/chunks/{generate-jbjf5xyc.js → schema-76mtmnx0.js} +6 -6
  82. package/dist/chunks/{generate-mhwbhhkb.js → schema-79qmf15m.js} +40 -40
  83. package/dist/chunks/{generate-b74h32da.js → schema-7a89sew0.js} +27 -27
  84. package/dist/chunks/{generate-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{generate-k7nhsa9c.js → schema-7jstqpd5.js} +32 -32
  86. package/dist/chunks/{generate-ktz6gb6b.js → schema-81aqn7eh.js} +17 -17
  87. package/dist/chunks/{generate-gmqhbb2m.js → schema-820fwhp7.js} +7 -7
  88. package/dist/chunks/{generate-tcezcvh9.js → schema-89znhe33.js} +4 -4
  89. package/dist/chunks/{generate-8ta1r8c4.js → schema-8aw2er08.js} +20 -20
  90. package/dist/chunks/{generate-8p3ygysp.js → schema-8d4156c8.js} +24 -24
  91. package/dist/chunks/{generate-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{generate-n4r3xatb.js → schema-8gxqpgph.js} +4 -4
  93. package/dist/chunks/{generate-mye41sbt.js → schema-8nmhcqgw.js} +17 -17
  94. package/dist/chunks/{generate-1n7m04bq.js → schema-94fp10gk.js} +4 -4
  95. package/dist/chunks/{generate-s1r5mapv.js → schema-957yf008.js} +21 -21
  96. package/dist/chunks/{generate-3n5b019s.js → schema-99pz0y8y.js} +30 -30
  97. package/dist/chunks/{generate-9c3np669.js → schema-9c3np669.js} +1 -1
  98. package/dist/chunks/{generate-4pt6qy2j.js → schema-9esbgk1q.js} +4 -4
  99. package/dist/chunks/{generate-s6me8z45.js → schema-9j3p0a6z.js} +37 -37
  100. package/dist/chunks/{generate-8ge7dvt3.js → schema-9qdsg55z.js} +20 -20
  101. package/dist/chunks/{generate-ht0wkyyg.js → schema-a578tmxk.js} +21 -21
  102. package/dist/chunks/{generate-aaet6srn.js → schema-aaet6srn.js} +2 -2
  103. package/dist/chunks/{generate-7knhqesq.js → schema-awaxm1q8.js} +32 -32
  104. package/dist/chunks/{generate-zxp3bg72.js → schema-axb19299.js} +62 -62
  105. package/dist/chunks/{generate-rjeyxgwk.js → schema-b3yf6gst.js} +20 -20
  106. package/dist/chunks/{generate-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{generate-xmq2dby5.js → schema-bdcpzjfh.js} +1 -1
  108. package/dist/chunks/{generate-4tdsrk0f.js → schema-bjgq97ey.js} +16 -16
  109. package/dist/chunks/{generate-e5nv3ght.js → schema-bndc73cn.js} +5 -5
  110. package/dist/chunks/{generate-36cgenav.js → schema-bsywhvdw.js} +15 -15
  111. package/dist/chunks/{generate-cw91ynzm.js → schema-c3x1jprk.js} +5 -5
  112. package/dist/chunks/{generate-k164fyqe.js → schema-c7fs63yh.js} +6 -6
  113. package/dist/chunks/{generate-tdczqyfx.js → schema-cd4vjczq.js} +10 -10
  114. package/dist/chunks/{generate-aeb4sny1.js → schema-ce5fknq2.js} +5 -5
  115. package/dist/chunks/{generate-3pbjq009.js → schema-ckfwh0ft.js} +8 -8
  116. package/dist/chunks/{generate-96zk3hmz.js → schema-ckspfy32.js} +15 -15
  117. package/dist/chunks/{generate-h6r3nrb9.js → schema-cpj0znwe.js} +4 -4
  118. package/dist/chunks/{generate-8dwzqybx.js → schema-ctkq0avj.js} +19 -19
  119. package/dist/chunks/{generate-b0r8n37v.js → schema-cws54ygj.js} +10 -10
  120. package/dist/chunks/{generate-gsxd1kvq.js → schema-d4727nqf.js} +12 -12
  121. package/dist/chunks/{generate-qhbskxnc.js → schema-ddj5qfgg.js} +22 -22
  122. package/dist/chunks/{generate-8p4f9s12.js → schema-dj2t23y0.js} +2 -2
  123. package/dist/chunks/schema-dmc6ybme.js +26 -0
  124. package/dist/chunks/{generate-57b9ws8p.js → schema-drwq78ky.js} +5 -5
  125. package/dist/chunks/{generate-g5qk797s.js → schema-e7hkndy5.js} +27 -27
  126. package/dist/chunks/{generate-rhjbct0v.js → schema-eaj1djv9.js} +8 -8
  127. package/dist/chunks/{generate-e4s68ytv.js → schema-eevfkcnk.js} +24 -24
  128. package/dist/chunks/{generate-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{generate-9z9vrsk9.js → schema-egb509wj.js} +9 -9
  130. package/dist/chunks/{generate-aj82xs4t.js → schema-ekdmd5z4.js} +47 -47
  131. package/dist/chunks/{generate-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{generate-xr30fmf3.js → schema-evg6vw2r.js} +45 -45
  133. package/dist/chunks/{generate-anf0zms1.js → schema-eye44qas.js} +9 -9
  134. package/dist/chunks/{generate-c44t3d1e.js → schema-f1t1f2q3.js} +27 -27
  135. package/dist/chunks/{generate-r8xr0va3.js → schema-f2n192rq.js} +4 -4
  136. package/dist/chunks/{generate-5gavsph1.js → schema-fd75nkaf.js} +11 -11
  137. package/dist/chunks/{generate-3sm93x71.js → schema-fg588aq2.js} +14 -14
  138. package/dist/chunks/{generate-3tq5qxbk.js → schema-fkjmw100.js} +4 -4
  139. package/dist/chunks/{generate-4e8vs6eh.js → schema-fqtvmpfq.js} +8 -8
  140. package/dist/chunks/{generate-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{generate-jfy0dxk0.js → schema-fy8yekx1.js} +4 -4
  142. package/dist/chunks/{generate-f3ngv102.js → schema-g190xswt.js} +4 -4
  143. package/dist/chunks/{generate-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{generate-ksrxneee.js → schema-gjfy02nj.js} +37 -37
  145. package/dist/chunks/{generate-ybhbtxjg.js → schema-gmjjhz4f.js} +3 -3
  146. package/dist/chunks/{generate-ekeyjjf5.js → schema-gnssr4kh.js} +11 -11
  147. package/dist/chunks/{generate-6qws982k.js → schema-gps939mq.js} +38 -38
  148. package/dist/chunks/{generate-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{generate-h03wrkyp.js → schema-h03wrkyp.js} +2 -2
  150. package/dist/chunks/{generate-gd2xe63m.js → schema-h0qctgs0.js} +11 -11
  151. package/dist/chunks/{generate-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{generate-hz59w1dt.js → schema-h7e5g0tn.js} +6 -6
  153. package/dist/chunks/{generate-ycjb11n5.js → schema-h896pcm5.js} +6 -6
  154. package/dist/chunks/{generate-rchkgt8f.js → schema-hcnq7x11.js} +9 -9
  155. package/dist/chunks/{generate-f828m53h.js → schema-hdnk95c8.js} +2 -2
  156. package/dist/chunks/schema-hgd4btym.js +18 -0
  157. package/dist/chunks/{generate-wmqh7bpp.js → schema-hknczzph.js} +9 -9
  158. package/dist/chunks/{generate-dkf5s6cc.js → schema-hp0ybgxk.js} +10 -10
  159. package/dist/chunks/{generate-new1546k.js → schema-hrbhtc9f.js} +31 -31
  160. package/dist/chunks/{generate-5qjaqzv9.js → schema-htmcw1qg.js} +13 -13
  161. package/dist/chunks/schema-hxa7m5za.js +4 -0
  162. package/dist/chunks/{generate-jhxvyrjk.js → schema-hyjskg14.js} +11 -11
  163. package/dist/chunks/{generate-j56e64zr.js → schema-j56e64zr.js} +1 -1
  164. package/dist/chunks/{generate-9j3466js.js → schema-jc26sbfk.js} +3 -3
  165. package/dist/chunks/{generate-a3r4dcrj.js → schema-jca4demv.js} +2 -2
  166. package/dist/chunks/{generate-bxsd7jqd.js → schema-jd2srmve.js} +3 -3
  167. package/dist/chunks/{generate-tb7pqq47.js → schema-jeck9fhr.js} +15 -15
  168. package/dist/chunks/{generate-kn6fqyt5.js → schema-jyvkdnw5.js} +13 -13
  169. package/dist/chunks/{generate-rqng9qq1.js → schema-k5wasz4q.js} +5 -5
  170. package/dist/chunks/{generate-1q0k1gze.js → schema-k8m1efg7.js} +23 -23
  171. package/dist/chunks/{generate-q2drh1py.js → schema-kbch1f4b.js} +46 -46
  172. package/dist/chunks/{generate-w0fkck8g.js → schema-kg6516s3.js} +7 -7
  173. package/dist/chunks/{generate-7bcdhp23.js → schema-kgxz2f7g.js} +12 -12
  174. package/dist/chunks/{generate-gqgtds8a.js → schema-kj973gv5.js} +4 -4
  175. package/dist/chunks/{generate-3jz8qj4k.js → schema-knvfs6pc.js} +11 -11
  176. package/dist/chunks/{generate-y3n94rey.js → schema-kqvqnzwb.js} +18 -18
  177. package/dist/chunks/{generate-vqgkz20a.js → schema-kwnfrnw8.js} +44 -44
  178. package/dist/chunks/{generate-y45z4mgs.js → schema-kyxd1ff3.js} +22 -22
  179. package/dist/chunks/{generate-cfpkc3c9.js → schema-m0jqrx5p.js} +2 -2
  180. package/dist/chunks/{generate-ajspsemm.js → schema-m31hrvtp.js} +20 -20
  181. package/dist/chunks/{generate-d6xv4cjf.js → schema-m5bv8msf.js} +17 -17
  182. package/dist/chunks/{generate-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{generate-5qkxfyep.js → schema-m9wy7qrr.js} +6 -6
  184. package/dist/chunks/{generate-xdg8wrbd.js → schema-mecezrcf.js} +20 -20
  185. package/dist/chunks/{generate-p1mjq1jx.js → schema-mgbtsknw.js} +31 -31
  186. package/dist/chunks/{generate-czvmf5x6.js → schema-mmwvyfxk.js} +32 -32
  187. package/dist/chunks/{generate-018dk8qz.js → schema-mp38ktsp.js} +21 -21
  188. package/dist/chunks/{generate-mqhf0jkk.js → schema-mqzgvnq5.js} +21 -21
  189. package/dist/chunks/{generate-w3pgckbp.js → schema-mrs0jc6e.js} +24 -24
  190. package/dist/chunks/{generate-v2k0h1f8.js → schema-n61j5yzm.js} +5 -5
  191. package/dist/chunks/{generate-zt5y59ah.js → schema-nekzqhap.js} +9 -9
  192. package/dist/chunks/{generate-6kkxyhkv.js → schema-ngqd1g3c.js} +4 -4
  193. package/dist/chunks/{generate-n35d2xk4.js → schema-nq7qbqzc.js} +9 -9
  194. package/dist/chunks/{generate-1qs8cq69.js → schema-nrc1qagd.js} +13 -13
  195. package/dist/chunks/{generate-h0xxw7xt.js → schema-nxf878eb.js} +41 -41
  196. package/dist/chunks/{generate-rw3ekvj8.js → schema-p01rfyrx.js} +4 -4
  197. package/dist/chunks/{generate-ej5a261y.js → schema-p1aznbsd.js} +30 -30
  198. package/dist/chunks/{generate-p863egc7.js → schema-p6dqprnz.js} +16 -16
  199. package/dist/chunks/{generate-xxpqwbf7.js → schema-p7rq11dp.js} +23 -23
  200. package/dist/chunks/{generate-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{generate-pknna89w.js → schema-pknna89w.js} +1 -1
  202. package/dist/chunks/{generate-jag29bhy.js → schema-ppns27wk.js} +15 -15
  203. package/dist/chunks/{generate-zp3nz9mq.js → schema-pt08jtz7.js} +8 -8
  204. package/dist/chunks/{generate-nhz4v64b.js → schema-pzkc7njq.js} +20 -20
  205. package/dist/chunks/{generate-jexxy024.js → schema-q3t37ft6.js} +3 -3
  206. package/dist/chunks/{generate-vjesnp8n.js → schema-qdw6nraz.js} +28 -28
  207. package/dist/chunks/{generate-b6yjmj8h.js → schema-qenep300.js} +41 -41
  208. package/dist/chunks/{generate-qsdy395h.js → schema-qsdy395h.js} +1 -1
  209. package/dist/chunks/{generate-wtxzf15q.js → schema-r2e4tzq6.js} +31 -31
  210. package/dist/chunks/{generate-epr1a2tz.js → schema-r2fyx2gr.js} +32 -32
  211. package/dist/chunks/{generate-gjwgx2c5.js → schema-r2m716tb.js} +9 -9
  212. package/dist/chunks/{generate-946asvkn.js → schema-r8r0p3p5.js} +28 -28
  213. package/dist/chunks/{generate-1xsde4yx.js → schema-r8vbt15x.js} +26 -26
  214. package/dist/chunks/{generate-r9mregkx.js → schema-r9mregkx.js} +2 -2
  215. package/dist/chunks/{generate-ghb76vye.js → schema-rcdaxd8f.js} +25 -25
  216. package/dist/chunks/{generate-rzb8hxx3.js → schema-rd1twtdz.js} +11 -11
  217. package/dist/chunks/{generate-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{generate-nwmcnebj.js → schema-rj5n40r1.js} +30 -30
  219. package/dist/chunks/{generate-ds5z7xmk.js → schema-rp39zwfx.js} +7 -7
  220. package/dist/chunks/{generate-ppj42m4h.js → schema-rpcw9abc.js} +18 -18
  221. package/dist/chunks/{generate-v7f9adz1.js → schema-rv9hmyrv.js} +23 -23
  222. package/dist/chunks/{generate-r1cen77p.js → schema-rz9jtxyn.js} +6 -6
  223. package/dist/chunks/{generate-rdksyszg.js → schema-scd6nj0g.js} +24 -24
  224. package/dist/chunks/{generate-hx5ww8wt.js → schema-sjf3tctt.js} +12 -12
  225. package/dist/chunks/{generate-etan29fe.js → schema-smjnv1yt.js} +17 -17
  226. package/dist/chunks/schema-srr10nqc.js +247 -0
  227. package/dist/chunks/{generate-77w2mdav.js → schema-sztsy51r.js} +17 -17
  228. package/dist/chunks/{generate-0n2c279e.js → schema-t6kmr1tg.js} +15 -15
  229. package/dist/chunks/{generate-gexqhf5w.js → schema-t904akrn.js} +11 -11
  230. package/dist/chunks/{generate-6drd6nfe.js → schema-tac2mqbh.js} +4 -4
  231. package/dist/chunks/{generate-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{generate-tdstcens.js → schema-tdstcens.js} +1 -1
  233. package/dist/chunks/{generate-epjhmn07.js → schema-tg92h923.js} +11 -11
  234. package/dist/chunks/{generate-pjmbp0wz.js → schema-tgtkvqe9.js} +5 -5
  235. package/dist/chunks/{generate-ggqxxnx9.js → schema-tgzhv03a.js} +11 -11
  236. package/dist/chunks/{generate-b1350z2d.js → schema-tjecye6p.js} +19 -19
  237. package/dist/chunks/{generate-t0fxg8b9.js → schema-tn0aqsam.js} +5 -5
  238. package/dist/chunks/{generate-tvtrv512.js → schema-tvtrv512.js} +1 -1
  239. package/dist/chunks/{generate-e91rp9hz.js → schema-ty91eq5w.js} +5 -5
  240. package/dist/chunks/{generate-khkyq8dg.js → schema-typ47xqv.js} +10 -10
  241. package/dist/chunks/{generate-ryr25ayn.js → schema-v5dkyp31.js} +4 -4
  242. package/dist/chunks/{generate-veqvce7d.js → schema-veqvce7d.js} +1 -1
  243. package/dist/chunks/{generate-6av1qg1x.js → schema-vm903892.js} +1 -1
  244. package/dist/chunks/{generate-55tjjrsj.js → schema-vtna6zda.js} +8 -8
  245. package/dist/chunks/{generate-qz2q0455.js → schema-vtqhpasw.js} +13 -13
  246. package/dist/chunks/{generate-jnhsbnea.js → schema-vvvs0jwh.js} +4 -4
  247. package/dist/chunks/{generate-c54qprxg.js → schema-vy5pp12k.js} +24 -24
  248. package/dist/chunks/{generate-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{generate-t33aqq77.js → schema-w1ad28wa.js} +8 -8
  250. package/dist/chunks/{generate-5c0f1prt.js → schema-w1k39n5e.js} +4 -4
  251. package/dist/chunks/{generate-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{generate-d0jkt3ak.js → schema-w9jmd2e2.js} +90 -90
  253. package/dist/chunks/{generate-wd87259q.js → schema-wd87259q.js} +1 -1
  254. package/dist/chunks/{generate-zeys2cq1.js → schema-wp67138w.js} +29 -29
  255. package/dist/chunks/{generate-khrwmjag.js → schema-wzw28g6j.js} +23 -23
  256. package/dist/chunks/{generate-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{generate-m69vmvzn.js → schema-x31saxwp.js} +19 -19
  258. package/dist/chunks/{generate-xtbzrf6x.js → schema-x3656kx6.js} +23 -23
  259. package/dist/chunks/{generate-h4t38hqv.js → schema-x4bypsmn.js} +11 -11
  260. package/dist/chunks/{generate-n5vz0cry.js → schema-xpbr7bcc.js} +8 -8
  261. package/dist/chunks/{generate-eed9kh00.js → schema-xr05v48s.js} +6 -6
  262. package/dist/chunks/{generate-apx28qeb.js → schema-xr485xf2.js} +5 -5
  263. package/dist/chunks/{generate-9vzsgnqz.js → schema-xtb4zs1s.js} +30 -30
  264. package/dist/chunks/{generate-rj2fqsky.js → schema-y0pcwp9m.js} +51 -51
  265. package/dist/chunks/{generate-dyvf7jz8.js → schema-y1f6k396.js} +20 -20
  266. package/dist/chunks/{generate-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{generate-y71avatq.js → schema-y71avatq.js} +1 -1
  268. package/dist/chunks/{generate-0etc2caz.js → schema-y7s0zapj.js} +17 -17
  269. package/dist/chunks/{generate-ej7f4065.js → schema-ycnmbzhj.js} +6 -6
  270. package/dist/chunks/{generate-xzgt0kck.js → schema-yqb6sz7a.js} +10 -10
  271. package/dist/chunks/{generate-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{generate-yrznvahk.js → schema-yrznvahk.js} +2 -2
  273. package/dist/chunks/{generate-ng0k6naq.js → schema-yyrnn2g5.js} +32 -32
  274. package/dist/chunks/{generate-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{generate-zc5pdmbq.js → schema-z0rhrb3j.js} +35 -35
  276. package/dist/chunks/{generate-r5rzmb14.js → schema-z5wxwd7n.js} +15 -15
  277. package/dist/chunks/{generate-z63w68vq.js → schema-z63w68vq.js} +2 -2
  278. package/dist/chunks/{generate-760cgj3c.js → schema-zc3k5t70.js} +11 -11
  279. package/dist/chunks/{generate-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{generate-xm11a0br.js → schema-zqw47kg9.js} +18 -18
  281. package/dist/chunks/{generate-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{generate-cc3mtsms.js → schema-ztcmmyvq.js} +15 -15
  283. package/dist/chunks/{generate-t663hptm.js → schema-zw2p42d9.js} +5 -5
  284. package/dist/chunks/{generate-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{generate-3stj088k.js → schema-zz75d48d.js} +307 -307
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +11 -11
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +82 -82
  290. package/dist/config/discovery.js +83 -83
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +105 -105
  293. package/dist/config/plugin/agent.js +124 -124
  294. package/dist/config/plugin/command.js +212 -212
  295. package/dist/config/plugin/compaction.js +158 -158
  296. package/dist/config/plugin/compatibility.js +140 -140
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +123 -123
  299. package/dist/config/plugin/image.js +122 -122
  300. package/dist/config/plugin/instruction.js +89 -89
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +131 -131
  303. package/dist/config/plugin/policy.js +122 -122
  304. package/dist/config/plugin/provider.js +122 -122
  305. package/dist/config/plugin/reference.js +124 -124
  306. package/dist/config/plugin/shell.js +124 -124
  307. package/dist/config/plugin/skill-file.js +101 -101
  308. package/dist/config/plugin/skill.js +141 -141
  309. package/dist/config/plugin/snapshot.js +122 -122
  310. package/dist/config/plugin/source.js +125 -125
  311. package/dist/config/plugin/tool-output.js +124 -124
  312. package/dist/config/plugin/websearch.js +123 -123
  313. package/dist/config/plugin/worktree.js +124 -124
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +127 -127
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +84 -84
  319. package/dist/database/database.js +65 -65
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +75 -75
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +362 -362
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +92 -92
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +94 -94
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +69 -69
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +93 -93
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +223 -223
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +102 -102
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +107 -107
  424. package/dist/form.js +81 -81
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +86 -86
  427. package/dist/generate.js +104 -104
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +98 -98
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +355 -355
  453. package/dist/instruction-discovery.js +84 -84
  454. package/dist/instructions/builtins.js +86 -86
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +85 -85
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +129 -129
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +83 -83
  464. package/dist/location-services.js +352 -352
  465. package/dist/location.js +86 -86
  466. package/dist/mcp/client.js +90 -90
  467. package/dist/mcp/index.js +107 -107
  468. package/dist/mcp/instructions.js +124 -124
  469. package/dist/mcp/oauth.js +77 -77
  470. package/dist/mcp/stdio.js +89 -89
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +98 -98
  473. package/dist/model-resolver.js +97 -97
  474. package/dist/model.js +101 -101
  475. package/dist/models-dev.js +106 -106
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +79 -79
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +108 -108
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +87 -87
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +103 -103
  486. package/dist/plugin/command.js +100 -100
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +216 -216
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +95 -95
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +101 -101
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  499. package/dist/plugin/provider/azure.js +121 -121
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +118 -118
  505. package/dist/plugin/provider/digitalocean.js +92 -92
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +92 -92
  510. package/dist/plugin/provider/gitlab.js +90 -90
  511. package/dist/plugin/provider/google-vertex.js +89 -89
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +121 -121
  515. package/dist/plugin/provider/modal.js +91 -91
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +121 -121
  518. package/dist/plugin/provider/openai.js +91 -91
  519. package/dist/plugin/provider/opencode.js +92 -92
  520. package/dist/plugin/provider/openrouter.js +90 -90
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +77 -77
  523. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  524. package/dist/plugin/provider/sap-ai-core.js +90 -90
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +89 -89
  529. package/dist/plugin/provider/vllm.js +121 -121
  530. package/dist/plugin/provider/xai.js +90 -90
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +158 -158
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +140 -140
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +85 -85
  540. package/dist/plugin/vcs/hg.js +85 -85
  541. package/dist/plugin/warming.js +120 -120
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +6 -6
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +227 -227
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +89 -89
  553. package/dist/provider.js +100 -100
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +95 -95
  558. package/dist/reference/instructions.js +86 -86
  559. package/dist/reference.js +88 -88
  560. package/dist/repository-cache.js +80 -80
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +96 -96
  564. package/dist/rpc.js +85 -85
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +130 -130
  568. package/dist/session/context.js +150 -150
  569. package/dist/session/diff.js +87 -87
  570. package/dist/session/environment.js +1 -1
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +219 -219
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +151 -151
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +87 -87
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +78 -78
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +96 -96
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +117 -117
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +85 -85
  588. package/dist/session/prompt.js +104 -104
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +89 -89
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +228 -228
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +97 -97
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +113 -113
  598. package/dist/session/runner/step.js +122 -122
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +171 -171
  602. package/dist/session/shell.js +137 -137
  603. package/dist/session/skill.js +102 -102
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +72 -72
  606. package/dist/session/store.js +84 -84
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +208 -208
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +152 -152
  611. package/dist/session/to-session-error.js +110 -110
  612. package/dist/session/transfer.js +215 -215
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +216 -216
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +133 -133
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +106 -106
  622. package/dist/skill.js +111 -111
  623. package/dist/snapshot.js +88 -88
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +123 -123
  628. package/dist/tool/plugin/edit.js +117 -117
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +123 -123
  631. package/dist/tool/plugin/grep.js +123 -123
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +119 -119
  634. package/dist/tool/plugin/question.js +102 -102
  635. package/dist/tool/plugin/read.js +124 -124
  636. package/dist/tool/plugin/shell.js +215 -215
  637. package/dist/tool/plugin/skill.js +112 -112
  638. package/dist/tool/plugin/subagent.js +217 -217
  639. package/dist/tool/plugin/webfetch.js +111 -111
  640. package/dist/tool/plugin/websearch.js +113 -113
  641. package/dist/tool/plugin/write.js +121 -121
  642. package/dist/tool/read-filesystem.js +99 -99
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +15 -15
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/git-executable.js +2 -2
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +14 -14
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +91 -91
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/variant.js +92 -92
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +86 -86
  675. package/dist/websearch.js +81 -81
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +80 -80
  678. package/dist/workspace/driver.js +7 -7
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +77 -77
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +10 -10
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +88 -88
  685. package/dist/worktree.js +95 -95
  686. package/package.json +8 -8
  687. package/dist/chunks/generate-0mesazry.js +0 -4
  688. package/dist/chunks/generate-9zdhvgqs.js +0 -18
  689. package/dist/chunks/generate-nqqxnhec.js +0 -26
  690. package/dist/chunks/generate-yzkcfeqf.js +0 -247
  691. /package/dist/chunks/{generate-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{generate-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{generate-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{generate-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{generate-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{generate-24dcb14g.js → schema-24dcb14g.js} +0 -0
  697. /package/dist/chunks/{generate-2710q6r3.js → schema-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{generate-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{generate-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{generate-359p4xyc.js → schema-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{generate-3asan66x.js → schema-3asan66x.js} +0 -0
  702. /package/dist/chunks/{generate-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{generate-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{generate-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{generate-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{generate-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{generate-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{generate-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{generate-53557ph1.js → schema-53557ph1.js} +0 -0
  710. /package/dist/chunks/{generate-550bvhaj.js → schema-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{generate-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
  712. /package/dist/chunks/{generate-6prwharc.js → schema-6prwharc.js} +0 -0
  713. /package/dist/chunks/{generate-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{generate-7m9af43g.js → schema-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{generate-822emrt2.js → schema-822emrt2.js} +0 -0
  716. /package/dist/chunks/{generate-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{generate-8n3pysct.js → schema-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{generate-922hggd3.js → schema-922hggd3.js} +0 -0
  719. /package/dist/chunks/{generate-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{generate-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{generate-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{generate-af5trqkr.js → schema-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{generate-afrmfg78.js → schema-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{generate-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{generate-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{generate-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{generate-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{generate-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{generate-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{generate-d9fn303g.js → schema-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{generate-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{generate-dajrwvna.js → schema-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{generate-dap0rakb.js → schema-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{generate-df08tz66.js → schema-df08tz66.js} +0 -0
  735. /package/dist/chunks/{generate-dy18nga0.js → schema-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{generate-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{generate-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{generate-ec1grn59.js → schema-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{generate-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{generate-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{generate-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{generate-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{generate-faypxj3z.js → schema-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{generate-fd410y7t.js → schema-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{generate-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{generate-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{generate-g86h250q.js → schema-g86h250q.js} +0 -0
  748. /package/dist/chunks/{generate-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{generate-gftt206x.js → schema-gftt206x.js} +0 -0
  750. /package/dist/chunks/{generate-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{generate-hk9envan.js → schema-hk9envan.js} +0 -0
  752. /package/dist/chunks/{generate-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{generate-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{generate-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{generate-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{generate-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{generate-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{generate-mp448xyj.js → schema-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{generate-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{generate-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{generate-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{generate-njntx4h6.js → schema-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{generate-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{generate-q74kybfr.js → schema-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{generate-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{generate-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{generate-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{generate-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  769. /package/dist/chunks/{generate-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{generate-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{generate-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{generate-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{generate-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{generate-twg0f83k.js → schema-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{generate-w803qqfp.js → schema-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{generate-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{generate-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{generate-wtztk69x.js → schema-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{generate-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{generate-x61499pn.js → schema-x61499pn.js} +0 -0
  781. /package/dist/chunks/{generate-y44na4kk.js → schema-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{generate-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{generate-y8f7s663.js → schema-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{generate-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{generate-ym463w8f.js → schema-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{generate-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service81
3
- } from "./generate-jfy0dxk0.js";
3
+ } from "./schema-fy8yekx1.js";
4
4
  import {
5
5
  OAuth3,
6
- Event19
7
- } from "./generate-ej5a261y.js";
6
+ Event15
7
+ } from "./schema-p1aznbsd.js";
8
8
  import {
9
- ID14,
9
+ ID9,
10
10
  MethodID2
11
- } from "./generate-ha6yg8nx.js";
11
+ } from "./schema-3yr6111a.js";
12
12
  import {
13
- ID13,
13
+ ID8,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./generate-epr1a2tz.js";
16
+ } from "./schema-r2fyx2gr.js";
17
17
  import {
18
- ID4,
19
- Input13,
18
+ ID6,
19
+ Input14,
20
20
  Response2
21
- } from "./generate-v7f9adz1.js";
21
+ } from "./schema-rv9hmyrv.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID4
35
+ providerID: ID6
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID14.make("opencode"),
57
+ integrationID: ID9.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  providers.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID14.make("opencode");
128
+ provider.integrationID = ID9.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
195
195
  sourceConnection: snapshot.connection
196
196
  });
197
197
  }
198
- const item = providers.get(ID13.opencode);
198
+ const item = providers.get(ID8.opencode);
199
199
  if (!item)
200
200
  return;
201
201
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
207
207
  });
208
208
  });
209
209
  yield* ctx.model.transform((models) => {
210
- const item = models.provider.get(ID13.opencode);
210
+ const item = models.provider.get(ID8.opencode);
211
211
  if (!item)
212
212
  return;
213
213
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
241
241
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
242
242
  const token = credential.type === "oauth" ? credential.access : credential.key;
243
243
  const server = yield* normalizeServer(serverUrl(credential));
244
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
244
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
245
245
  query: input.query,
246
246
  providerID: descriptor.providerID
247
247
  }));
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
262
262
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
263
263
  });
264
264
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
265
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
265
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
266
266
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
267
267
  })
268
268
  });
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./generate-ec1grn59.js";
3
+ } from "./schema-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./generate-1n7m04bq.js";
6
+ } from "./schema-94fp10gk.js";
7
7
  import {
8
8
  __export
9
- } from "./generate-9rqn6x4v.js";
9
+ } from "./schema-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make9,
16
+ make: () => make10,
17
17
  policy: () => policy2,
18
18
  transient: () => transient2
19
19
  });
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
96
96
  return true;
97
97
  })
98
98
  });
99
- var make9 = (bus, sessionID) => Effect.gen(function* () {
99
+ var make10 = (bus, sessionID) => Effect.gen(function* () {
100
100
  const decide = yield* policy2(sessionID);
101
101
  const wait = (input) => Effect.gen(function* () {
102
102
  const scheduled = yield* Clock.currentTimeMillis;
@@ -113,4 +113,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
113
113
  return { decide, wait };
114
114
  });
115
115
 
116
- export { isRetryable2, policy2, transient2, make9, exports_retry };
116
+ export { isRetryable2, policy2, transient2, make10, exports_retry };
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service81,
4
4
  node85
5
- } from "./generate-jfy0dxk0.js";
5
+ } from "./schema-fy8yekx1.js";
6
6
  import {
7
7
  __export
8
- } from "./generate-9rqn6x4v.js";
8
+ } from "./schema-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service5,
14
+ Service: () => Service3,
15
15
  Updated: () => Updated2,
16
- layer: () => layer5,
17
- node: () => node6
16
+ layer: () => layer4,
17
+ node: () => node4
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service5 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service3 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer5 = Layer.effect(Service5, Effect.gen(function* () {
25
+ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
26
26
  const bus = yield* Service81;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service5.of({
29
+ return Service3.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node6 = makeGlobalNode({ service: Service5, layer: layer5, deps: [node85] });
36
+ var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node85] });
37
37
 
38
- export { Updated2, Service5, layer5, node6, exports_sdk };
38
+ export { Updated2, Service3, layer4, node4, exports_sdk };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./generate-ym463w8f.js";
3
+ } from "./schema-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./generate-z63w68vq.js";
3
+ } from "./schema-z63w68vq.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./generate-jfy0dxk0.js";
4
+ } from "./schema-fy8yekx1.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./generate-rdw6cm16.js";
8
+ } from "./schema-rdw6cm16.js";
9
9
  import {
10
- Service78,
11
- node82
12
- } from "./generate-p863egc7.js";
10
+ Service77,
11
+ node81
12
+ } from "./schema-p6dqprnz.js";
13
13
  import {
14
14
  rewrite2,
15
- ID13,
15
+ ID8,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service74,
19
- node78,
20
- Event17
21
- } from "./generate-epr1a2tz.js";
18
+ Service62,
19
+ node65,
20
+ Event13
21
+ } from "./schema-r2fyx2gr.js";
22
22
  import {
23
23
  __export
24
- } from "./generate-9rqn6x4v.js";
24
+ } from "./schema-9rqn6x4v.js";
25
25
 
26
26
  // src/model.ts
27
27
  var exports_model2 = {};
@@ -29,25 +29,25 @@ __export(exports_model2, {
29
29
  Capabilities: () => Capabilities2,
30
30
  Compatibility: () => Compatibility2,
31
31
  Cost: () => Cost2,
32
- Event: () => Event16,
32
+ Event: () => Event12,
33
33
  Family: () => Family2,
34
- ID: () => ID12,
35
- Info: () => Info26,
34
+ ID: () => ID7,
35
+ Info: () => Info20,
36
36
  Model: () => exports_model2,
37
37
  ReasoningField: () => ReasoningField2,
38
38
  Ref: () => Ref2,
39
- Service: () => Service72,
39
+ Service: () => Service60,
40
40
  VariantID: () => VariantID2,
41
41
  compatibility: () => compatibility2,
42
- node: () => node76,
43
- parse: () => parse5
42
+ node: () => node63,
43
+ parse: () => parse4
44
44
  });
45
45
  import { Model } from "@opencode/schema/model";
46
46
  import { Context, Effect, Layer, Stream } from "effect";
47
47
  import { makeLocationNode } from "@opencode/util/effect/app-node";
48
48
  import { freeze } from "immer";
49
- import { Event as Event16 } from "@opencode/schema/model";
50
- var ID12 = Model.ID;
49
+ import { Event as Event12 } from "@opencode/schema/model";
50
+ var ID7 = Model.ID;
51
51
  var VariantID2 = Model.VariantID;
52
52
  var Family2 = Model.Family;
53
53
  var ReasoningField2 = Model.ReasoningField;
@@ -55,14 +55,14 @@ var Compatibility2 = Model.Compatibility;
55
55
  var Capabilities2 = Model.Capabilities;
56
56
  var Cost2 = Model.Cost;
57
57
  var Ref2 = Model.Ref;
58
- var Info26 = Model.Info;
58
+ var Info20 = Model.Info;
59
59
 
60
- class Service72 extends Context.Service()("@opencode/Model") {
60
+ class Service60 extends Context.Service()("@opencode/Model") {
61
61
  }
62
- var layer = Layer.effect(Service72, Effect.gen(function* () {
63
- const providers = yield* Service74;
62
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
63
+ const providers = yield* Service62;
64
64
  const bus = yield* Service81;
65
- const location = yield* Service78;
65
+ const location = yield* Service77;
66
66
  let input;
67
67
  const state = create3({
68
68
  name: "model",
@@ -86,7 +86,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
86
86
  const models = data.models.get(providerID);
87
87
  if (!models)
88
88
  return;
89
- const model = models.get(modelID) ?? Info26.default(providerID, modelID);
89
+ const model = models.get(modelID) ?? Info20.default(providerID, modelID);
90
90
  update(model);
91
91
  model.id = modelID;
92
92
  model.providerID = providerID;
@@ -170,8 +170,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
170
170
  location: { directory: location.directory, workspaceID: location.workspaceID }
171
171
  });
172
172
  });
173
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
174
- return Service72.of({
173
+ yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
174
+ return Service60.of({
175
175
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
176
176
  reload,
177
177
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -190,7 +190,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
190
190
  })
191
191
  });
192
192
  }));
193
- var node76 = makeLocationNode({ service: Service72, layer, deps: [node78, node85, node82] });
193
+ var node63 = makeLocationNode({ service: Service60, layer, deps: [node65, node85, node81] });
194
194
  function compatibility2(input) {
195
195
  if (typeof input === "string")
196
196
  return { reasoningField: input };
@@ -198,12 +198,12 @@ function compatibility2(input) {
198
198
  return;
199
199
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
200
200
  }
201
- function parse5(input) {
201
+ function parse4(input) {
202
202
  const index = input.indexOf("/");
203
203
  return {
204
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
205
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
204
+ providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
205
+ modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
206
206
  };
207
207
  }
208
208
 
209
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service72, node76, compatibility2, parse5, exports_model2, Event16 };
209
+ export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info20, Service60, node63, compatibility2, parse4, exports_model2, Event12 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./generate-ym463w8f.js";
3
+ } from "./schema-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./generate-2a5m3afh.js";
3
+ } from "./schema-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./generate-922hggd3.js";
6
+ } from "./schema-922hggd3.js";
7
7
  import {
8
- Service78
9
- } from "./generate-p863egc7.js";
8
+ Service77
9
+ } from "./schema-p6dqprnz.js";
10
10
  import {
11
- Service53
12
- } from "./generate-e4s68ytv.js";
11
+ Service70
12
+ } from "./schema-eevfkcnk.js";
13
13
  import {
14
- Service20
15
- } from "./generate-y3n94rey.js";
14
+ Service58
15
+ } from "./schema-kqvqnzwb.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
- Entry2
21
- } from "./generate-czvmf5x6.js";
20
+ Entry4
21
+ } from "./schema-mmwvyfxk.js";
22
22
  import {
23
- Service63
24
- } from "./generate-xr30fmf3.js";
23
+ Service72
24
+ } from "./schema-evg6vw2r.js";
25
25
  import {
26
26
  Service14
27
- } from "./generate-3r6cnzs1.js";
27
+ } from "./schema-4td6qmdq.js";
28
28
  import {
29
29
  __export
30
- } from "./generate-9rqn6x4v.js";
30
+ } from "./schema-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: () => Output7,
38
- Plugin: () => Plugin12,
39
- name: () => name11,
40
- toModelContent: () => toModelContent6
36
+ Input: () => Input5,
37
+ Output: () => Output2,
38
+ Plugin: () => Plugin39,
39
+ name: () => name5,
40
+ toModelContent: () => toModelContent2
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 name5 = "glob";
46
+ var Input5 = 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 Output7 = Schema.Array(Entry2);
59
- var toModelContent6 = (entries, truncated = false) => {
58
+ var Output2 = Schema.Array(Entry4);
59
+ var toModelContent2 = (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 Plugin12 = {
66
+ var Plugin39 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service53;
70
- const ripgrep = yield* Service20;
71
- const location = yield* Service78;
69
+ const environment = yield* Service70;
70
+ const ripgrep = yield* Service58;
71
+ const location = yield* Service77;
72
72
  const access = yield* Service14;
73
- const permission = yield* Service63;
73
+ const permission = yield* Service72;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name11,
75
+ name: name5,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input11,
79
- output: Output7,
78
+ input: Input5,
79
+ output: Output2,
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: name5,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -111,18 +111,18 @@ var Plugin12 = {
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) => Entry2.make({
114
+ }), Effect.map((result) => result.map((entry) => Entry4.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: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent2(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, Output7, toModelContent6, Plugin12, exports_glob };
128
+ export { name5, Input5, Output2, toModelContent2, Plugin39, exports_glob };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./generate-cpqe642d.js";
4
+ } from "./schema-57b0vs49.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./generate-f828m53h.js";
7
+ } from "./schema-hdnk95c8.js";
8
8
  import {
9
9
  __export
10
- } from "./generate-9rqn6x4v.js";
10
+ } from "./schema-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID9,
17
- Info: () => Info22,
16
+ ID: () => ID13,
17
+ Info: () => Info27,
18
18
  ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service64,
21
- node: () => node68
20
+ Service: () => Service73,
21
+ node: () => node77
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID9 = PermissionSaved.ID;
29
- var Info22 = PermissionSaved.Info;
28
+ var ID13 = PermissionSaved.ID;
29
+ var Info27 = PermissionSaved.Info;
30
30
  var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service64 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service73 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service64, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
42
42
  const db = (yield* Service82).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID9.create(),
56
+ id: ID13.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service64.of({ list, add, remove });
65
+ return Service73.of({ list, add, remove });
66
66
  }));
67
- var node68 = makeGlobalNode({ service: Service64, layer, deps: [node86] });
67
+ var node77 = makeGlobalNode({ service: Service73, layer, deps: [node86] });
68
68
 
69
- export { ID9, Info22, ListInput4, AddInput2, Service64, node68, exports_saved };
69
+ export { ID13, Info27, ListInput4, AddInput2, Service73, node77, exports_saved };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./generate-2axfhc9x.js";
3
+ } from "./schema-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
9
  var exports_error = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service68,
3
- node72,
3
+ node71,
4
4
  canonical3
5
- } from "./generate-d61c44a7.js";
5
+ } from "./schema-58np9qmz.js";
6
6
  import {
7
- Service61,
8
- node65
9
- } from "./generate-ycjb11n5.js";
7
+ Service50,
8
+ node52
9
+ } from "./schema-h896pcm5.js";
10
10
  import {
11
- Service26
12
- } from "./generate-cc3mtsms.js";
11
+ Service35
12
+ } from "./schema-ztcmmyvq.js";
13
13
  import {
14
14
  layer2
15
- } from "./generate-yzkcfeqf.js";
15
+ } from "./schema-srr10nqc.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
28
28
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
29
29
  return Effect.void;
30
30
  if (Exit.isSuccess(exit)) {
31
- build.close = Context.get(exit.value, Service26).close;
31
+ build.close = Context.get(exit.value, Service35).close;
32
32
  return Effect.void;
33
33
  }
34
34
  MutableHashMap.remove(builds, ref);
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
50
50
  })
51
51
  };
52
52
  const bindings = [
53
- node65.replace(Layer.succeed(Service61, {
53
+ node52.replace(Layer.succeed(Service50, {
54
54
  provide: (session) => Effect.provide(map.get(session.location))
55
55
  })),
56
56
  ...replacements,
57
- node72.replace(Layer.succeed(Service68, map))
57
+ node71.replace(Layer.succeed(Service68, map))
58
58
  ];
59
59
  return map;
60
60
  }));
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./generate-922hggd3.js";
3
+ } from "./schema-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};