@opencode-ai/core 0.0.0-beta-19129 → 0.0.0-beta-19151

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 (772) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{pty-wafa9yr2.js → bus-007dvjm0.js} +16 -16
  9. package/dist/chunks/{pty-vb336b53.js → bus-099ksjr7.js} +5 -5
  10. package/dist/chunks/{pty-ag4rn41e.js → bus-0dv7911r.js} +4 -4
  11. package/dist/chunks/{pty-0e0xafbb.js → bus-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{pty-scd9nzg0.js → bus-0ez61b8c.js} +2 -2
  13. package/dist/chunks/{pty-63k70rre.js → bus-0kkm17qb.js} +29 -29
  14. package/dist/chunks/{pty-t3v3vr71.js → bus-0mccjmkq.js} +14 -14
  15. package/dist/chunks/{pty-gnar656t.js → bus-0njd92bg.js} +10 -10
  16. package/dist/chunks/{pty-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{pty-0s9ayhjt.js → bus-0s9ayhjt.js} +1 -1
  18. package/dist/chunks/{pty-n7x3jcdn.js → bus-0vdrg7q8.js} +9 -9
  19. package/dist/chunks/{pty-zbqrk12b.js → bus-0x9msrqt.js} +9 -9
  20. package/dist/chunks/{pty-p3ds9s6g.js → bus-14hmenm3.js} +1 -1
  21. package/dist/chunks/{pty-n3qm3e12.js → bus-19ghveyz.js} +11 -11
  22. package/dist/chunks/{pty-eq1pz5kg.js → bus-1bbkgx8g.js} +3 -3
  23. package/dist/chunks/{pty-1ct4r87x.js → bus-1ct4r87x.js} +1 -1
  24. package/dist/chunks/{pty-6e958v7x.js → bus-1z80kc63.js} +8 -8
  25. package/dist/chunks/{pty-21r38tys.js → bus-21r38tys.js} +1 -1
  26. package/dist/chunks/{pty-6h73sxmp.js → bus-2402vzrj.js} +5 -5
  27. package/dist/chunks/{pty-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{pty-be60nag3.js → bus-2cryvejd.js} +1 -1
  29. package/dist/chunks/{pty-2ht70gj7.js → bus-2ht70gj7.js} +1 -1
  30. package/dist/chunks/{pty-2jqmte8w.js → bus-2jqmte8w.js} +2 -2
  31. package/dist/chunks/{pty-7w3s9kd0.js → bus-2y34zzjz.js} +4 -4
  32. package/dist/chunks/{pty-na4p81s6.js → bus-36j5nzcr.js} +15 -15
  33. package/dist/chunks/{pty-0rag4e4f.js → bus-36mzbjn4.js} +4 -4
  34. package/dist/chunks/{pty-00nfbmm6.js → bus-37h71zvm.js} +26 -26
  35. package/dist/chunks/{pty-rq421gwk.js → bus-3dj32zjz.js} +16 -16
  36. package/dist/chunks/{pty-gts5f7ad.js → bus-3dpaf6yv.js} +64 -64
  37. package/dist/chunks/{pty-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{pty-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{pty-yyy5ev01.js → bus-3hf4cecm.js} +28 -28
  40. package/dist/chunks/{pty-3qzbfqsy.js → bus-3qzbfqsy.js} +2 -2
  41. package/dist/chunks/{pty-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{pty-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{pty-0ywnm299.js → bus-3wfq9j39.js} +12 -12
  44. package/dist/chunks/{pty-454k5vzh.js → bus-454k5vzh.js} +1 -1
  45. package/dist/chunks/{pty-t39q75fx.js → bus-45njm9q3.js} +11 -11
  46. package/dist/chunks/{pty-szkq7e78.js → bus-48186013.js} +20 -20
  47. package/dist/chunks/{pty-6my8ebcr.js → bus-4cb9c786.js} +4 -4
  48. package/dist/chunks/{pty-4r2nyarf.js → bus-4r2nyarf.js} +1 -1
  49. package/dist/chunks/{pty-q0zss3w0.js → bus-4ttn3f9n.js} +13 -13
  50. package/dist/chunks/bus-4v7qdvcn.js +18 -0
  51. package/dist/chunks/{pty-tdt6s1r3.js → bus-4z6b0fg6.js} +4 -4
  52. package/dist/chunks/{pty-xwq131f5.js → bus-53gb87fg.js} +41 -41
  53. package/dist/chunks/{pty-vkpagyjs.js → bus-570hbvwx.js} +11 -11
  54. package/dist/chunks/{pty-xqe0fhba.js → bus-593bc3zc.js} +3 -3
  55. package/dist/chunks/{pty-5daktx2q.js → bus-5daktx2q.js} +1 -1
  56. package/dist/chunks/{pty-yxw0cavp.js → bus-5dbnxb1n.js} +7 -7
  57. package/dist/chunks/{pty-5fmxt4p5.js → bus-5fmxt4p5.js} +1 -1
  58. package/dist/chunks/{pty-vn9f2x03.js → bus-5g33tj6b.js} +14 -14
  59. package/dist/chunks/{pty-cfwzd6ef.js → bus-5jmn74tv.js} +6 -6
  60. package/dist/chunks/{pty-5jvc5tg2.js → bus-5jvc5tg2.js} +1 -1
  61. package/dist/chunks/{pty-bq6az8vb.js → bus-5k3f87xj.js} +3 -3
  62. package/dist/chunks/{pty-maf5n4v0.js → bus-5rj9yf9k.js} +9 -9
  63. package/dist/chunks/{pty-9d4vrqc0.js → bus-637qq8n2.js} +9 -9
  64. package/dist/chunks/{pty-bsfcvmm2.js → bus-65vwahm5.js} +6 -6
  65. package/dist/chunks/{pty-eqyz6y0f.js → bus-669mtdgb.js} +44 -44
  66. package/dist/chunks/{pty-7zvydh0p.js → bus-6m5hv89w.js} +9 -9
  67. package/dist/chunks/{pty-sy5z5695.js → bus-6p81611h.js} +150 -150
  68. package/dist/chunks/{pty-6jea8mds.js → bus-6qpq0xzz.js} +12 -12
  69. package/dist/chunks/{pty-jysfrgga.js → bus-6s48shje.js} +3 -3
  70. package/dist/chunks/{pty-96gb8wnx.js → bus-6tygk997.js} +10 -10
  71. package/dist/chunks/{pty-saak5ttd.js → bus-6z5bwd8g.js} +6 -6
  72. package/dist/chunks/{pty-ctwxaq1f.js → bus-6zyntcx9.js} +3 -3
  73. package/dist/chunks/{pty-3khkq25c.js → bus-708bhwm5.js} +10 -10
  74. package/dist/chunks/{pty-711hfp6y.js → bus-711hfp6y.js} +2 -2
  75. package/dist/chunks/{pty-6tf8tr4v.js → bus-72nftnjy.js} +3 -3
  76. package/dist/chunks/{pty-qydr0h4k.js → bus-74k3x0m5.js} +24 -24
  77. package/dist/chunks/{pty-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{pty-4qfjm3y1.js → bus-7httqr41.js} +20 -20
  79. package/dist/chunks/{pty-07bmqgvp.js → bus-7prj1563.js} +17 -15
  80. package/dist/chunks/{pty-wcj1zaj1.js → bus-862r0hmq.js} +52 -52
  81. package/dist/chunks/{pty-hhv3cd3z.js → bus-86s3977f.js} +1 -1
  82. package/dist/chunks/{pty-tk2yzb1v.js → bus-88ev9a66.js} +8 -8
  83. package/dist/chunks/{pty-zya0p8p9.js → bus-8kg6mr26.js} +16 -16
  84. package/dist/chunks/{pty-a615ws19.js → bus-8q4mgm57.js} +4 -4
  85. package/dist/chunks/{pty-kerhshr9.js → bus-8ryk0bb9.js} +5 -5
  86. package/dist/chunks/{pty-9j3029qe.js → bus-8xr8g0dt.js} +7 -7
  87. package/dist/chunks/{pty-bp2y3dz3.js → bus-8ye04jk8.js} +16 -16
  88. package/dist/chunks/{pty-mj6q7gvy.js → bus-8yq59nhy.js} +17 -17
  89. package/dist/chunks/{pty-693tgxwd.js → bus-901gzjjm.js} +27 -27
  90. package/dist/chunks/{pty-gfsgf35y.js → bus-93131cf0.js} +5 -5
  91. package/dist/chunks/{pty-93a8yfjt.js → bus-93a8yfjt.js} +2 -2
  92. package/dist/chunks/{pty-jab386st.js → bus-94vsv0sa.js} +16 -16
  93. package/dist/chunks/{pty-3jj6bjb6.js → bus-9d4efts8.js} +5 -5
  94. package/dist/chunks/{pty-zx7jt85y.js → bus-9d4wfkp0.js} +17 -17
  95. package/dist/chunks/{pty-dc9emjf0.js → bus-9ezmfr4d.js} +3 -3
  96. package/dist/chunks/{pty-twvb3q6j.js → bus-9r4cyneb.js} +22 -22
  97. package/dist/chunks/{pty-z3xgatyd.js → bus-a3x9xvd8.js} +4 -4
  98. package/dist/chunks/{pty-1459b0x6.js → bus-a494ggh4.js} +14 -14
  99. package/dist/chunks/{pty-aaet6srn.js → bus-aaet6srn.js} +2 -2
  100. package/dist/chunks/bus-anw4cmh3.js +4 -0
  101. package/dist/chunks/{pty-pk02mbyy.js → bus-ar6r26gf.js} +26 -26
  102. package/dist/chunks/{pty-76ma23qb.js → bus-arsbtf4n.js} +22 -22
  103. package/dist/chunks/{pty-gd248znf.js → bus-at9x16kw.js} +29 -29
  104. package/dist/chunks/{pty-7n1wp2cn.js → bus-azaycewg.js} +23 -23
  105. package/dist/chunks/{pty-cq8wrtqn.js → bus-b0m1y6mq.js} +5 -5
  106. package/dist/chunks/{pty-7k8mdtae.js → bus-b2wj7kwr.js} +9 -9
  107. package/dist/chunks/{pty-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{pty-403y7qtc.js → bus-b8nbcbsg.js} +11 -11
  109. package/dist/chunks/{pty-b9wsbatv.js → bus-b9wsbatv.js} +1 -1
  110. package/dist/chunks/{pty-thfv75je.js → bus-bcezcar3.js} +5 -5
  111. package/dist/chunks/{pty-qhehnkc2.js → bus-bgjx49te.js} +23 -23
  112. package/dist/chunks/{pty-b0mtdz8k.js → bus-br62jje5.js} +28 -28
  113. package/dist/chunks/{pty-a40eyqg5.js → bus-bseqm2ca.js} +18 -18
  114. package/dist/chunks/{pty-pcxcrysh.js → bus-c8afrcwz.js} +15 -15
  115. package/dist/chunks/{pty-1hb2jj92.js → bus-ca0hpr7t.js} +8 -8
  116. package/dist/chunks/{pty-0363n1t5.js → bus-ccgr98mz.js} +9 -9
  117. package/dist/chunks/{pty-amgxn0m4.js → bus-cfrqkav1.js} +37 -37
  118. package/dist/chunks/{pty-wrtxarjq.js → bus-cqdj2zee.js} +16 -16
  119. package/dist/chunks/{pty-cznc2qrv.js → bus-crh3pn7j.js} +9 -9
  120. package/dist/chunks/{pty-tp89m72a.js → bus-cyn6trz2.js} +4 -4
  121. package/dist/chunks/{pty-kd0z462q.js → bus-d2rwh673.js} +20 -20
  122. package/dist/chunks/{pty-1vxvbkdw.js → bus-dc4554sh.js} +9 -9
  123. package/dist/chunks/{pty-8w99qwke.js → bus-dn6skpfz.js} +11 -11
  124. package/dist/chunks/{pty-k65x9esf.js → bus-dqe3fw1x.js} +10 -10
  125. package/dist/chunks/{pty-wxcf70d6.js → bus-ds0rx3zk.js} +17 -17
  126. package/dist/chunks/{pty-cpkp23c7.js → bus-e2sc323g.js} +10 -10
  127. package/dist/chunks/{pty-fyzy9awj.js → bus-e5b0qn1c.js} +1 -1
  128. package/dist/chunks/{pty-x5hde6ee.js → bus-e5pxfhgv.js} +4 -4
  129. package/dist/chunks/{pty-y5bfzsd4.js → bus-e8ja81sx.js} +21 -21
  130. package/dist/chunks/{pty-0rbnrynr.js → bus-ecj1d35v.js} +8 -8
  131. package/dist/chunks/{pty-1wbsj790.js → bus-ers0pt04.js} +11 -11
  132. package/dist/chunks/bus-ex6w7h60.js +22 -0
  133. package/dist/chunks/{pty-0p9r6mft.js → bus-exbytbx3.js} +9 -9
  134. package/dist/chunks/{pty-5sg4xzjf.js → bus-ez5b8bq3.js} +7 -7
  135. package/dist/chunks/{pty-z78tg67p.js → bus-famd3pv6.js} +5 -5
  136. package/dist/chunks/{pty-5b9mh310.js → bus-fnxzs0zj.js} +18 -18
  137. package/dist/chunks/{pty-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{pty-fxypknc8.js → bus-fxypknc8.js} +1 -1
  139. package/dist/chunks/{pty-vjgwbf9e.js → bus-g1w7kbk3.js} +12 -12
  140. package/dist/chunks/{pty-g2dy4bvs.js → bus-g2dy4bvs.js} +3 -3
  141. package/dist/chunks/{pty-g2gt0w0k.js → bus-g2gt0w0k.js} +2 -2
  142. package/dist/chunks/{pty-qs7zdahm.js → bus-g41n1fn3.js} +1 -1
  143. package/dist/chunks/{pty-j5w0a358.js → bus-g4pn5evg.js} +5 -5
  144. package/dist/chunks/{pty-shtw02y9.js → bus-g7fn2nxc.js} +27 -27
  145. package/dist/chunks/{pty-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{pty-cwfwshwn.js → bus-gdyavges.js} +32 -32
  147. package/dist/chunks/{pty-msqtn7fd.js → bus-gpxh8apv.js} +15 -15
  148. package/dist/chunks/{pty-y974v3mv.js → bus-gyrty9a0.js} +4 -4
  149. package/dist/chunks/{pty-0t58jqdp.js → bus-gzzxkm3c.js} +142 -142
  150. package/dist/chunks/{pty-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{pty-h50kfk2b.js → bus-h9vk3x5a.js} +13 -13
  152. package/dist/chunks/{pty-1we85e4n.js → bus-hd7305av.js} +36 -36
  153. package/dist/chunks/{pty-fn68vvm1.js → bus-hen36v2j.js} +22 -22
  154. package/dist/chunks/{pty-heyhwy2w.js → bus-heyhwy2w.js} +1 -1
  155. package/dist/chunks/{pty-nxrz604p.js → bus-hfr11a94.js} +9 -9
  156. package/dist/chunks/{pty-sb910js5.js → bus-hha4zry8.js} +20 -20
  157. package/dist/chunks/{pty-hcz6m02t.js → bus-hhaz7as1.js} +17 -17
  158. package/dist/chunks/{pty-wdq8bkk0.js → bus-hv52frfs.js} +7 -7
  159. package/dist/chunks/{pty-kvsjn1dr.js → bus-hw4pv20g.js} +2 -2
  160. package/dist/chunks/{pty-q38gg7qs.js → bus-hzfc5e89.js} +13 -13
  161. package/dist/chunks/{pty-5aq0nxp3.js → bus-j1pn5v0m.js} +5 -5
  162. package/dist/chunks/{pty-hbax5y4r.js → bus-j6f8vpjn.js} +20 -20
  163. package/dist/chunks/{pty-zdk6vxsj.js → bus-j6p1aehr.js} +81 -81
  164. package/dist/chunks/{pty-5qd3pb7m.js → bus-j935v87r.js} +2 -2
  165. package/dist/chunks/{pty-g8d3gcyj.js → bus-jfqtm2ew.js} +7 -7
  166. package/dist/chunks/{pty-be52w0n4.js → bus-jnq64gng.js} +25 -25
  167. package/dist/chunks/{pty-2vw6f4gm.js → bus-jwcs8hd7.js} +9 -9
  168. package/dist/chunks/{pty-y71avatq.js → bus-jwcy2c2z.js} +4 -4
  169. package/dist/chunks/{pty-t33fapxs.js → bus-jy1b6ewz.js} +11 -11
  170. package/dist/chunks/{pty-vrktewq8.js → bus-k2ahb10n.js} +24 -24
  171. package/dist/chunks/{pty-rp8r0d5g.js → bus-k2x2knng.js} +26 -26
  172. package/dist/chunks/{pty-k4bwy1x5.js → bus-k4bwy1x5.js} +1 -1
  173. package/dist/chunks/{pty-kg06axw8.js → bus-kg06axw8.js} +1 -1
  174. package/dist/chunks/{pty-qnzq15jm.js → bus-kkxjn8gg.js} +7 -7
  175. package/dist/chunks/{pty-cfsy2wpb.js → bus-kvk9z22h.js} +22 -22
  176. package/dist/chunks/{pty-j2n289q7.js → bus-kw84e4xy.js} +6 -6
  177. package/dist/chunks/{pty-1ydgq2r4.js → bus-m3fm0fm8.js} +5 -5
  178. package/dist/chunks/{pty-hqhp5amc.js → bus-m7vkk1dw.js} +25 -25
  179. package/dist/chunks/{pty-9rb0g439.js → bus-m909ryej.js} +28 -28
  180. package/dist/chunks/{pty-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{pty-577gck9x.js → bus-mcxg6pmm.js} +1 -1
  182. package/dist/chunks/{pty-kh5wzj48.js → bus-mkf7z2fx.js} +33 -33
  183. package/dist/chunks/{pty-mmt6p78x.js → bus-mn4d6yy8.js} +26 -26
  184. package/dist/chunks/{pty-jasnfvjs.js → bus-mngcm6jy.js} +10 -10
  185. package/dist/chunks/{pty-gy57ja53.js → bus-mnj85pt4.js} +12 -12
  186. package/dist/chunks/{pty-3zdgt117.js → bus-mr8a2cts.js} +2 -2
  187. package/dist/chunks/{pty-ps7tg90p.js → bus-mx2vryrr.js} +24 -24
  188. package/dist/chunks/{pty-jxyej7y6.js → bus-mxevvyah.js} +11 -11
  189. package/dist/chunks/{pty-0avfzrjc.js → bus-mzgjcdh7.js} +24 -24
  190. package/dist/chunks/{pty-jb7pc305.js → bus-n3rn9b9d.js} +46 -46
  191. package/dist/chunks/{pty-k558dr3h.js → bus-n9mr47st.js} +6 -6
  192. package/dist/chunks/{pty-1c5j02v1.js → bus-nb0eyw3j.js} +38 -38
  193. package/dist/chunks/{pty-actzaqhd.js → bus-nbf26ms9.js} +26 -26
  194. package/dist/chunks/{pty-8wng66kw.js → bus-nep1jn7g.js} +23 -23
  195. package/dist/chunks/{pty-a95b1rzb.js → bus-nhet2z82.js} +32 -32
  196. package/dist/chunks/{pty-vh2xdqjs.js → bus-nhp7y9q2.js} +17 -17
  197. package/dist/chunks/{pty-4rnz283z.js → bus-nysebb6s.js} +11 -11
  198. package/dist/chunks/{pty-1bbszw8w.js → bus-p1xeps0x.js} +20 -20
  199. package/dist/chunks/{pty-94ms672g.js → bus-p4990n7g.js} +5 -5
  200. package/dist/chunks/{pty-b5g03hab.js → bus-p4spce3w.js} +9 -9
  201. package/dist/chunks/{pty-b1bsdq9a.js → bus-p83qt40j.js} +8 -8
  202. package/dist/chunks/{pty-71c4ctfp.js → bus-pbxwk0py.js} +23 -23
  203. package/dist/chunks/{pty-pjdqv3xm.js → bus-pchw21vv.js} +11 -11
  204. package/dist/chunks/{pty-seka0gvy.js → bus-pem2nq6m.js} +4 -4
  205. package/dist/chunks/{pty-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{pty-pknna89w.js → bus-pknna89w.js} +1 -1
  207. package/dist/chunks/{pty-xy4dk1dp.js → bus-psy76y9c.js} +6 -6
  208. package/dist/chunks/{pty-ktgp4y5h.js → bus-pyzvmhjt.js} +10 -10
  209. package/dist/chunks/{pty-51e9twpg.js → bus-q71jbywg.js} +277 -277
  210. package/dist/chunks/{pty-ttbkqz8v.js → bus-qcc87r2a.js} +6 -6
  211. package/dist/chunks/{pty-7dqw4kz8.js → bus-qgn6gcr1.js} +5 -5
  212. package/dist/chunks/{pty-rh6rd7ag.js → bus-qkzfms5c.js} +4 -4
  213. package/dist/chunks/{pty-vywxfc32.js → bus-qphg5mmy.js} +43 -43
  214. package/dist/chunks/{pty-xk0vfajd.js → bus-qqxx9c59.js} +10 -10
  215. package/dist/chunks/{pty-qsdy395h.js → bus-qsdy395h.js} +1 -1
  216. package/dist/chunks/{pty-qvbcabdc.js → bus-qvbcabdc.js} +2 -2
  217. package/dist/chunks/{pty-0gaj4617.js → bus-r33ff4dw.js} +4 -4
  218. package/dist/chunks/{pty-r8dhm0tv.js → bus-r8dhm0tv.js} +1 -1
  219. package/dist/chunks/{pty-s0gfpzhy.js → bus-r9gjvh9g.js} +8 -8
  220. package/dist/chunks/{pty-759pz1a2.js → bus-rae26gbb.js} +4 -4
  221. package/dist/chunks/{pty-19g5gqh3.js → bus-rfgs2k4e.js} +31 -31
  222. package/dist/chunks/{pty-4sz2x7hf.js → bus-rjjem9h6.js} +7 -7
  223. package/dist/chunks/{pty-t3daf40q.js → bus-rk0dvaye.js} +8 -8
  224. package/dist/chunks/{pty-fc5mkwbz.js → bus-rmy3e5eg.js} +1 -1
  225. package/dist/chunks/{pty-008qgtj7.js → bus-rzsjt7my.js} +16 -16
  226. package/dist/chunks/{pty-2wkcjqsg.js → bus-s3eqpch7.js} +1 -1
  227. package/dist/chunks/{pty-r0av7t19.js → bus-s45j2666.js} +30 -30
  228. package/dist/chunks/{pty-sba4qhjf.js → bus-sba4qhjf.js} +1 -1
  229. package/dist/chunks/{pty-wahfyr88.js → bus-sdk1rkft.js} +11 -11
  230. package/dist/chunks/{pty-kcb6z3jk.js → bus-t8am0cpd.js} +4 -4
  231. package/dist/chunks/{pty-bct739vz.js → bus-t9zs3egg.js} +4 -4
  232. package/dist/chunks/{pty-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{pty-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{pty-tjykrgmx.js → bus-tjykrgmx.js} +1 -1
  235. package/dist/chunks/{pty-f08hbj4m.js → bus-tkptkkba.js} +27 -27
  236. package/dist/chunks/{pty-ct6p9e56.js → bus-tn3hnqfz.js} +10 -10
  237. package/dist/chunks/{pty-jv6tbxxe.js → bus-tqqej2s1.js} +8 -8
  238. package/dist/chunks/{pty-92y7g8ad.js → bus-tta5943s.js} +9 -9
  239. package/dist/chunks/{pty-3wx44s71.js → bus-v1p1x004.js} +9 -9
  240. package/dist/chunks/{pty-97mrdvqz.js → bus-v210efr7.js} +14 -14
  241. package/dist/chunks/{pty-nmjynsra.js → bus-v3bjms6p.js} +45 -45
  242. package/dist/chunks/{pty-nry7nvbp.js → bus-v4xjjhvg.js} +21 -21
  243. package/dist/chunks/{pty-1sbqnd7p.js → bus-v8nrt0nt.js} +4 -4
  244. package/dist/chunks/{pty-0vydt2xt.js → bus-v9vvq96z.js} +34 -34
  245. package/dist/chunks/{pty-nmg9j082.js → bus-vffa83p2.js} +29 -29
  246. package/dist/chunks/{pty-w1r5ypf7.js → bus-vfxn8x23.js} +29 -29
  247. package/dist/chunks/{pty-gf185zmw.js → bus-vxp066d4.js} +11 -11
  248. package/dist/chunks/{pty-3w073660.js → bus-w08r0s8v.js} +16 -16
  249. package/dist/chunks/{pty-1wm9p8v7.js → bus-w1jjwhhz.js} +18 -18
  250. package/dist/chunks/{pty-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{pty-wd87259q.js → bus-wd87259q.js} +1 -1
  252. package/dist/chunks/{pty-baqx186v.js → bus-wed177g1.js} +4 -4
  253. package/dist/chunks/{pty-qepd2pkj.js → bus-wgc2mr3y.js} +2 -2
  254. package/dist/chunks/{pty-9hq8x1wg.js → bus-wgxn7ww3.js} +4 -4
  255. package/dist/chunks/{pty-4vp46et4.js → bus-wgz7hchk.js} +6 -6
  256. package/dist/chunks/{pty-rha7dayt.js → bus-wp43gv37.js} +7 -7
  257. package/dist/chunks/{pty-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{pty-rbjghvkh.js → bus-x1nkgr2s.js} +37 -37
  259. package/dist/chunks/{pty-ghzvc9jv.js → bus-x3ex91pf.js} +33 -33
  260. package/dist/chunks/{pty-h95089yr.js → bus-x5ga9etc.js} +24 -24
  261. package/dist/chunks/{pty-exrgs9wp.js → bus-x7mven0m.js} +8 -8
  262. package/dist/chunks/{pty-hkzxevja.js → bus-xjf0nspg.js} +7 -7
  263. package/dist/chunks/{pty-e1qkg8tm.js → bus-xp26bn8e.js} +13 -13
  264. package/dist/chunks/{pty-bzq1f2yq.js → bus-xpj7ktyz.js} +29 -29
  265. package/dist/chunks/{pty-ythy6836.js → bus-xqsy6kp0.js} +1 -1
  266. package/dist/chunks/{pty-4x0nmcjx.js → bus-xr5vwsd4.js} +9 -9
  267. package/dist/chunks/{pty-rgnb5s7e.js → bus-xx52rexs.js} +4 -4
  268. package/dist/chunks/{pty-r79tve40.js → bus-y00kh1j2.js} +79 -79
  269. package/dist/chunks/{pty-ytrgf914.js → bus-y01np14z.js} +15 -15
  270. package/dist/chunks/{pty-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{pty-2aqpvcef.js → bus-y7pta2mg.js} +20 -20
  272. package/dist/chunks/{pty-3hfmeb9q.js → bus-y8jjghfg.js} +37 -37
  273. package/dist/chunks/{pty-kk3rr3qh.js → bus-yfbd16n1.js} +5 -5
  274. package/dist/chunks/{pty-yg7sb877.js → bus-yg7sb877.js} +2 -2
  275. package/dist/chunks/{pty-gxeqtc45.js → bus-ygw7vpbc.js} +9 -9
  276. package/dist/chunks/{pty-8yr65315.js → bus-ykcesz1b.js} +4 -4
  277. package/dist/chunks/{pty-bj2c3eqn.js → bus-ymy83g1g.js} +9 -9
  278. package/dist/chunks/{pty-graq44t8.js → bus-yyebksmm.js} +2 -2
  279. package/dist/chunks/{pty-ndgdc4c9.js → bus-yzwjgzk2.js} +11 -11
  280. package/dist/chunks/{pty-z1k01bn4.js → bus-z1k01bn4.js} +2 -2
  281. package/dist/chunks/{pty-29x78va6.js → bus-z63w68vq.js} +6 -6
  282. package/dist/chunks/{pty-rp0x3qp0.js → bus-zn2pq4p8.js} +2 -2
  283. package/dist/chunks/{pty-c0ggnrvh.js → bus-zp7etnvg.js} +13 -13
  284. package/dist/chunks/{pty-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +112 -112
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +153 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +116 -116
  297. package/dist/config/plugin/image.js +114 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +114 -114
  300. package/dist/config/plugin/mcp.js +123 -123
  301. package/dist/config/plugin/policy.js +113 -113
  302. package/dist/config/plugin/provider.js +112 -112
  303. package/dist/config/plugin/reference.js +116 -116
  304. package/dist/config/plugin/shell.js +115 -115
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +132 -132
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +116 -116
  309. package/dist/config/plugin/tool-output.js +116 -116
  310. package/dist/config/plugin/websearch.js +110 -110
  311. package/dist/config/plugin/worktree.js +117 -117
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +118 -118
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +82 -82
  317. package/dist/database/database.js +64 -64
  318. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +15 -15
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +16 -16
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +74 -74
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +358 -358
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +3 -3
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +68 -68
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +218 -218
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +95 -95
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +13 -13
  419. package/dist/filesystem.js +92 -92
  420. package/dist/form.js +80 -80
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +82 -82
  423. package/dist/generate.js +90 -90
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +7 -7
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +349 -349
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +5 -5
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +81 -81
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +83 -83
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +81 -81
  460. package/dist/location-services.js +346 -346
  461. package/dist/location.js +78 -78
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +102 -102
  464. package/dist/mcp/instructions.js +120 -120
  465. package/dist/mcp/oauth.js +2 -2
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +7 -7
  469. package/dist/model-resolver.js +85 -85
  470. package/dist/model.js +10 -10
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +76 -76
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +107 -107
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +86 -86
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +93 -93
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +211 -211
  485. package/dist/plugin/instance.js +3 -3
  486. package/dist/plugin/internal.js +320 -320
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +2 -2
  490. package/dist/plugin/plan.js +96 -96
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +4 -4
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +116 -116
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +116 -116
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +79 -79
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +114 -114
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +74 -74
  529. package/dist/plugin/service.js +3 -3
  530. package/dist/plugin/skill.js +131 -131
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +339 -339
  533. package/dist/plugin/system-prompt.js +5 -5
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +111 -111
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +4 -4
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin.js +216 -216
  546. package/dist/project/schema.js +4 -4
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +79 -79
  549. package/dist/provider.js +3 -3
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +84 -84
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +86 -86
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +3 -3
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +91 -91
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +127 -127
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +214 -214
  569. package/dist/session/execution.js +120 -120
  570. package/dist/session/generate.js +144 -144
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +86 -86
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +77 -77
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +4 -4
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +110 -110
  580. package/dist/session/model-transport.js +7 -7
  581. package/dist/session/move.js +124 -124
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +3 -3
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +223 -223
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +85 -85
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +119 -119
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +167 -167
  596. package/dist/session/shell.js +130 -130
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +71 -71
  600. package/dist/session/store.js +82 -82
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +201 -201
  603. package/dist/session/system-prompt.js +3 -3
  604. package/dist/session/title.js +149 -149
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +207 -207
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +209 -209
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +7 -7
  613. package/dist/shell.js +132 -132
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +104 -104
  617. package/dist/snapshot.js +86 -86
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +117 -117
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +115 -115
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +108 -108
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +208 -208
  631. package/dist/tool/plugin/skill.js +107 -107
  632. package/dist/tool/plugin/subagent.js +212 -212
  633. package/dist/tool/plugin/webfetch.js +106 -106
  634. package/dist/tool/plugin/websearch.js +106 -106
  635. package/dist/tool/plugin/write.js +116 -116
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +13 -13
  640. package/dist/util/error.js +1 -1
  641. package/dist/util/iife.js +1 -1
  642. package/dist/util/lazy.js +1 -1
  643. package/dist/util/slug.js +1 -1
  644. package/dist/util/token.js +1 -1
  645. package/dist/util/which.js +1 -1
  646. package/dist/util/wildcard.js +1 -1
  647. package/dist/v1/config/agent.js +7 -7
  648. package/dist/v1/config/attachment.js +4 -4
  649. package/dist/v1/config/command.js +5 -5
  650. package/dist/v1/config/config.js +16 -16
  651. package/dist/v1/config/error.js +4 -4
  652. package/dist/v1/config/formatter.js +3 -3
  653. package/dist/v1/config/layout.js +1 -1
  654. package/dist/v1/config/lsp.js +3 -3
  655. package/dist/v1/config/mcp.js +4 -4
  656. package/dist/v1/config/migrate.js +4 -4
  657. package/dist/v1/config/permission.js +7 -7
  658. package/dist/v1/config/plugin.js +3 -3
  659. package/dist/v1/config/provider-options.js +1 -1
  660. package/dist/v1/config/provider.js +4 -4
  661. package/dist/v1/config/server.js +2 -2
  662. package/dist/v1/config/skills.js +3 -3
  663. package/dist/v1/permission.js +1 -1
  664. package/dist/vcs/patch.js +1 -1
  665. package/dist/vcs.js +85 -85
  666. package/dist/websearch.js +82 -82
  667. package/dist/wellknown/plugin.js +74 -74
  668. package/dist/wellknown.js +73 -73
  669. package/dist/workspace/driver.js +5 -5
  670. package/dist/workspace/sql.js +1 -1
  671. package/dist/workspace.js +78 -78
  672. package/dist/worktree/directory.js +2 -2
  673. package/dist/worktree/git.js +7 -7
  674. package/dist/worktree/refresh.js +336 -336
  675. package/dist/worktree/sql.js +5 -5
  676. package/dist/worktree.js +87 -87
  677. package/package.json +7 -7
  678. package/dist/chunks/pty-1x11rq2a.js +0 -18
  679. package/dist/chunks/pty-9zwhrd2p.js +0 -4
  680. package/dist/chunks/pty-a0w3frjs.js +0 -22
  681. /package/dist/chunks/{pty-0fabt78z.js → bus-0fabt78z.js} +0 -0
  682. /package/dist/chunks/{pty-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  683. /package/dist/chunks/{pty-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  684. /package/dist/chunks/{pty-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  685. /package/dist/chunks/{pty-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  686. /package/dist/chunks/{pty-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  687. /package/dist/chunks/{pty-2710q6r3.js → bus-2710q6r3.js} +0 -0
  688. /package/dist/chunks/{pty-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  689. /package/dist/chunks/{pty-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  690. /package/dist/chunks/{pty-359p4xyc.js → bus-359p4xyc.js} +0 -0
  691. /package/dist/chunks/{pty-3asan66x.js → bus-3asan66x.js} +0 -0
  692. /package/dist/chunks/{pty-3t738kvx.js → bus-3t738kvx.js} +0 -0
  693. /package/dist/chunks/{pty-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  694. /package/dist/chunks/{pty-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  695. /package/dist/chunks/{pty-41nvscxy.js → bus-41nvscxy.js} +0 -0
  696. /package/dist/chunks/{pty-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  697. /package/dist/chunks/{pty-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  698. /package/dist/chunks/{pty-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  699. /package/dist/chunks/{pty-53557ph1.js → bus-53557ph1.js} +0 -0
  700. /package/dist/chunks/{pty-550bvhaj.js → bus-550bvhaj.js} +0 -0
  701. /package/dist/chunks/{pty-6prwharc.js → bus-6prwharc.js} +0 -0
  702. /package/dist/chunks/{pty-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  703. /package/dist/chunks/{pty-7m9af43g.js → bus-7m9af43g.js} +0 -0
  704. /package/dist/chunks/{pty-822emrt2.js → bus-822emrt2.js} +0 -0
  705. /package/dist/chunks/{pty-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  706. /package/dist/chunks/{pty-8n3pysct.js → bus-8n3pysct.js} +0 -0
  707. /package/dist/chunks/{pty-982e01ww.js → bus-982e01ww.js} +0 -0
  708. /package/dist/chunks/{pty-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  709. /package/dist/chunks/{pty-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  710. /package/dist/chunks/{pty-a1tpkmh4.js → bus-a1tpkmh4.js} +0 -0
  711. /package/dist/chunks/{pty-af5trqkr.js → bus-af5trqkr.js} +0 -0
  712. /package/dist/chunks/{pty-afrmfg78.js → bus-afrmfg78.js} +0 -0
  713. /package/dist/chunks/{pty-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  714. /package/dist/chunks/{pty-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  715. /package/dist/chunks/{pty-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  716. /package/dist/chunks/{pty-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  717. /package/dist/chunks/{pty-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  718. /package/dist/chunks/{pty-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  719. /package/dist/chunks/{pty-d9fn303g.js → bus-d9fn303g.js} +0 -0
  720. /package/dist/chunks/{pty-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  721. /package/dist/chunks/{pty-dajrwvna.js → bus-dajrwvna.js} +0 -0
  722. /package/dist/chunks/{pty-dap0rakb.js → bus-dap0rakb.js} +0 -0
  723. /package/dist/chunks/{pty-df08tz66.js → bus-df08tz66.js} +0 -0
  724. /package/dist/chunks/{pty-dy18nga0.js → bus-dy18nga0.js} +0 -0
  725. /package/dist/chunks/{pty-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  726. /package/dist/chunks/{pty-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  727. /package/dist/chunks/{pty-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  728. /package/dist/chunks/{pty-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  729. /package/dist/chunks/{pty-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  730. /package/dist/chunks/{pty-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  731. /package/dist/chunks/{pty-faypxj3z.js → bus-faypxj3z.js} +0 -0
  732. /package/dist/chunks/{pty-fd410y7t.js → bus-fd410y7t.js} +0 -0
  733. /package/dist/chunks/{pty-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  734. /package/dist/chunks/{pty-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  735. /package/dist/chunks/{pty-g86h250q.js → bus-g86h250q.js} +0 -0
  736. /package/dist/chunks/{pty-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  737. /package/dist/chunks/{pty-hk9envan.js → bus-hk9envan.js} +0 -0
  738. /package/dist/chunks/{pty-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  739. /package/dist/chunks/{pty-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  740. /package/dist/chunks/{pty-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  741. /package/dist/chunks/{pty-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  742. /package/dist/chunks/{pty-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  743. /package/dist/chunks/{pty-mntxs535.js → bus-mntxs535.js} +0 -0
  744. /package/dist/chunks/{pty-mp448xyj.js → bus-mp448xyj.js} +0 -0
  745. /package/dist/chunks/{pty-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  746. /package/dist/chunks/{pty-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  747. /package/dist/chunks/{pty-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  748. /package/dist/chunks/{pty-njntx4h6.js → bus-njntx4h6.js} +0 -0
  749. /package/dist/chunks/{pty-p8qxwesx.js → bus-p8qxwesx.js} +0 -0
  750. /package/dist/chunks/{pty-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  751. /package/dist/chunks/{pty-q74kybfr.js → bus-q74kybfr.js} +0 -0
  752. /package/dist/chunks/{pty-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  753. /package/dist/chunks/{pty-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  754. /package/dist/chunks/{pty-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  755. /package/dist/chunks/{pty-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  756. /package/dist/chunks/{pty-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  757. /package/dist/chunks/{pty-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  758. /package/dist/chunks/{pty-se0s1eqw.js → bus-se0s1eqw.js} +0 -0
  759. /package/dist/chunks/{pty-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
  760. /package/dist/chunks/{pty-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  761. /package/dist/chunks/{pty-twg0f83k.js → bus-twg0f83k.js} +0 -0
  762. /package/dist/chunks/{pty-w803qqfp.js → bus-w803qqfp.js} +0 -0
  763. /package/dist/chunks/{pty-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  764. /package/dist/chunks/{pty-wtztk69x.js → bus-wtztk69x.js} +0 -0
  765. /package/dist/chunks/{pty-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  766. /package/dist/chunks/{pty-x1b8g1yb.js → bus-x1b8g1yb.js} +0 -0
  767. /package/dist/chunks/{pty-x61499pn.js → bus-x61499pn.js} +0 -0
  768. /package/dist/chunks/{pty-y44na4kk.js → bus-y44na4kk.js} +0 -0
  769. /package/dist/chunks/{pty-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  770. /package/dist/chunks/{pty-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  771. /package/dist/chunks/{pty-z9919s4g.js → bus-z9919s4g.js} +0 -0
  772. /package/dist/chunks/{pty-zbjnn3ac.js → bus-zbjnn3ac.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-p8qxwesx.js";
3
+ } from "./bus-p8qxwesx.js";
4
4
  import {
5
5
  Service80,
6
6
  node85
7
- } from "./pty-ctwxaq1f.js";
7
+ } from "./bus-6zyntcx9.js";
8
8
  import {
9
9
  Service79,
10
10
  node84
11
- } from "./pty-y974v3mv.js";
11
+ } from "./bus-gyrty9a0.js";
12
12
  import {
13
- Service77,
14
- node82
15
- } from "./pty-jasnfvjs.js";
13
+ Service74,
14
+ node79
15
+ } from "./bus-mngcm6jy.js";
16
16
  import {
17
- ID17,
17
+ ID14,
18
18
  Current3,
19
19
  Info29,
20
20
  UpdateInput4,
21
21
  Event18,
22
22
  Vcs3
23
- } from "./pty-cq8wrtqn.js";
23
+ } from "./bus-b0m1y6mq.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./pty-qvbcabdc.js";
27
+ } from "./bus-qvbcabdc.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./pty-yg7sb877.js";
30
+ } from "./bus-yg7sb877.js";
31
31
  import {
32
32
  __export
33
- } from "./pty-9rqn6x4v.js";
33
+ } from "./bus-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID16,
39
+ ID: () => ID13,
40
40
  Info: () => Info28,
41
- NotFoundError: () => NotFoundError9,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
43
  Service: () => Service73,
44
44
  UpdateInput: () => UpdateInput3,
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode-ai/util/fs-util";
55
55
  import { AppProcess } from "@opencode-ai/util/process";
56
56
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
57
57
  import { Hash } from "@opencode-ai/util/hash";
58
- var ID16 = ID17;
58
+ var ID13 = ID14;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
61
  var Info28 = Info29;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID16
64
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID13
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -96,7 +96,7 @@ function fromRow(row) {
96
96
  }
97
97
  var layer = Layer.effect(Service73, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const git = yield* Service77;
99
+ const git = yield* Service74;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const bus = yield* Service79;
102
102
  const db = (yield* Service80).db;
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
144
144
  yield* bus.publish(Worktree.Event.Resolved, {
145
145
  projectID: item.projectID,
146
146
  directory: item.directory,
147
- previous: project.previous ?? ID16.global,
147
+ previous: project.previous ?? ID13.global,
148
148
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
149
149
  }, {
150
150
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
166
166
  time_updated: Date.now()
167
167
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
168
168
  if (!row)
169
- return yield* new NotFoundError9({ projectID: input.projectID });
169
+ return yield* new NotFoundError10({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
171
  yield* bus.publish(Event18.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID13.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID13.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID16.make(root) : undefined;
211
+ return root ? ID13.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID16.make(node) : undefined;
227
+ return node ? ID13.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID16.global,
236
+ id: id ?? ID13.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
250
250
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID16.global,
253
+ id: id ?? ID13.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,7 +264,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID16.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID13.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
@@ -275,7 +275,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
275
275
  var node78 = makeGlobalNode({
276
276
  service: Service73,
277
277
  layer,
278
- deps: [node84, node85, FSUtil.node, node82, AppProcess.node]
278
+ deps: [node84, node85, FSUtil.node, node79, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID16, Vcs2, Current2, Info28, UpdateInput3, NotFoundError9, root2, Service73, node78, exports_project };
281
+ export { ID13, Vcs2, Current2, Info28, UpdateInput3, NotFoundError10, root2, Service73, node78, exports_project };
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./pty-ctwxaq1f.js";
4
+ } from "./bus-6zyntcx9.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service79,
8
8
  node84
9
- } from "./pty-y974v3mv.js";
9
+ } from "./bus-gyrty9a0.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./pty-mntxs535.js";
12
+ } from "./bus-mntxs535.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./pty-982e01ww.js";
15
+ } from "./bus-982e01ww.js";
16
16
  import {
17
- update3
18
- } from "./pty-kk3rr3qh.js";
17
+ update2
18
+ } from "./bus-yfbd16n1.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./pty-p8qxwesx.js";
22
+ } from "./bus-p8qxwesx.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./pty-qvbcabdc.js";
25
+ } from "./bus-qvbcabdc.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./pty-g2dy4bvs.js";
30
+ } from "./bus-g2dy4bvs.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./pty-4qfjm3y1.js";
36
+ } from "./bus-7httqr41.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./pty-x5hde6ee.js";
42
+ } from "./bus-e5pxfhgv.js";
43
43
  import {
44
44
  initialize2
45
- } from "./pty-mj6q7gvy.js";
45
+ } from "./bus-8yq59nhy.js";
46
46
  import {
47
47
  Slug2
48
- } from "./pty-gebd4c9n.js";
48
+ } from "./bus-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./pty-9rqn6x4v.js";
51
+ } from "./bus-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node32
58
+ node: () => node26
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -245,7 +245,7 @@ function run(db, event) {
245
245
  updateCompaction: updateMessage,
246
246
  appendMessage
247
247
  };
248
- yield* update3(adapter, event);
248
+ yield* update2(adapter, event);
249
249
  });
250
250
  }
251
251
  function insertMessage(db, event, message) {
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
455
455
  return publishSessionUsage(db, bus, event.data.sessionID);
456
456
  }), Effect.forkScoped({ startImmediately: true }));
457
457
  }));
458
- var node32 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
458
+ var node26 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
459
459
 
460
- export { SessionAlreadyProjected2, node32, exports_projector };
460
+ export { SessionAlreadyProjected2, node26, exports_projector };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-p8qxwesx.js";
3
+ } from "./bus-p8qxwesx.js";
4
4
  import {
5
- Info9,
5
+ Info21,
6
6
  ID7,
7
7
  Name2
8
- } from "./pty-5b9mh310.js";
8
+ } from "./bus-fnxzs0zj.js";
9
9
  import {
10
- Service62
11
- } from "./pty-amgxn0m4.js";
10
+ Service54
11
+ } from "./bus-cfrqkav1.js";
12
12
  import {
13
13
  __export
14
- } from "./pty-9rqn6x4v.js";
14
+ } from "./bus-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill2 = {};
18
- __export(exports_skill2, {
17
+ var exports_skill = {};
18
+ __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin23,
21
+ Plugin: () => Plugin11,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill2
23
+ SkillPlugin: () => exports_skill
24
24
  });
25
25
  import { define } from "@opencode-ai/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -422,19 +422,19 @@ var OpencodeContent2 = opencode_default;
422
422
  var ReportContent2 = report_default;
423
423
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
424
424
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
425
- var Plugin23 = define({
425
+ var Plugin11 = define({
426
426
  id: "opencode.skill",
427
427
  effect: Effect.fn(function* (ctx) {
428
428
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
429
429
  yield* ctx.skill.transform((editor) => {
430
- editor.add(Info9.make({
430
+ editor.add(Info21.make({
431
431
  id: ID7.make("opencode"),
432
432
  name: Name2.make("OpenCode"),
433
433
  description: OpencodeDescription2,
434
434
  location: AbsolutePath2.make("/builtin/opencode.md"),
435
435
  content: OpencodeContent2
436
436
  }));
437
- editor.add(Info9.make({
437
+ editor.add(Info21.make({
438
438
  id: ID7.make("report"),
439
439
  name: Name2.make("Report"),
440
440
  description: REPORT_DESCRIPTION,
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
464
464
  `);
465
465
  });
466
466
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
467
- const config = yield* Service62;
467
+ const config = yield* Service54;
468
468
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
469
469
  });
470
470
  function terminal() {
@@ -478,4 +478,4 @@ function shell() {
478
478
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
479
479
  }
480
480
 
481
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin23, exports_skill2 };
481
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin11, exports_skill };
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service43
3
- } from "./pty-hcz6m02t.js";
2
+ Service75
3
+ } from "./bus-hhaz7as1.js";
4
4
  import {
5
- Service25
6
- } from "./pty-r79tve40.js";
5
+ Service20
6
+ } from "./bus-y00kh1j2.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./pty-x1ezjp6w.js";
10
+ } from "./bus-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
22
  var make9 = Effect.gen(function* () {
23
- const sessions = yield* Service25;
24
- const jobs = yield* Service43;
23
+ const sessions = yield* Service20;
24
+ const jobs = yield* Service75;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service62
3
- } from "./pty-amgxn0m4.js";
2
+ Service54
3
+ } from "./bus-cfrqkav1.js";
4
4
  import {
5
5
  match2
6
- } from "./pty-y1fvbwt7.js";
6
+ } from "./bus-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./pty-qsdy395h.js";
9
+ } from "./bus-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./pty-9rqn6x4v.js";
12
+ } from "./bus-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin37
18
+ Plugin: () => Plugin43
19
19
  });
20
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin37 = define({
22
+ var Plugin43 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service62;
25
+ const config = yield* Service54;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
27
27
  yield* ctx.catalog.transform((catalog) => {
28
28
  const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
@@ -35,4 +35,4 @@ var Plugin37 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin37, exports_policy };
38
+ export { Plugin43, exports_policy };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./pty-y974v3mv.js";
4
+ } from "./bus-gyrty9a0.js";
5
5
  import {
6
- Event16,
7
- Service68,
8
- node73
9
- } from "./pty-bzq1f2yq.js";
6
+ Event12,
7
+ Service56,
8
+ node59
9
+ } from "./bus-xpj7ktyz.js";
10
10
  import {
11
- Service63,
12
- node67
13
- } from "./pty-fn68vvm1.js";
11
+ Service55,
12
+ node58
13
+ } from "./bus-hen36v2j.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./pty-p8qxwesx.js";
16
+ } from "./bus-p8qxwesx.js";
17
17
  import {
18
18
  Service72,
19
19
  node77
20
- } from "./pty-5aq0nxp3.js";
20
+ } from "./bus-j1pn5v0m.js";
21
21
  import {
22
22
  substitute2
23
- } from "./pty-kvsjn1dr.js";
23
+ } from "./bus-hw4pv20g.js";
24
24
  import {
25
25
  normalize2
26
- } from "./pty-h95089yr.js";
26
+ } from "./bus-x5ga9etc.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./pty-xqe0fhba.js";
30
+ } from "./bus-593bc3zc.js";
31
31
  import {
32
32
  plan2
33
- } from "./pty-0s9ayhjt.js";
33
+ } from "./bus-0s9ayhjt.js";
34
34
  import {
35
35
  Service64,
36
- Event15,
36
+ Event16,
37
37
  node68
38
- } from "./pty-q0zss3w0.js";
38
+ } from "./bus-4ttn3f9n.js";
39
39
  import {
40
40
  __export
41
- } from "./pty-9rqn6x4v.js";
41
+ } from "./bus-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options7,
48
- Service: () => Service62,
47
+ Options: () => Options6,
48
+ Service: () => Service54,
49
49
  Test: () => Test2,
50
- configured: () => configured8,
50
+ configured: () => configured6,
51
51
  latest: () => latest2,
52
- layer: () => layer23,
53
- node: () => node66,
52
+ layer: () => layer22,
53
+ node: () => node57,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -71,14 +71,14 @@ import { Global } from "@opencode-ai/util/global";
71
71
  function latest2(entries, key) {
72
72
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
73
73
  }
74
- var Options7 = Schema.Struct({
74
+ var Options6 = Schema.Struct({
75
75
  project: Schema.optional(Schema.Boolean),
76
76
  global: Schema.optional(Schema.Boolean),
77
77
  file: Schema.optional(Schema.String),
78
78
  content: Schema.optional(Schema.String)
79
79
  });
80
80
 
81
- class Service62 extends Context.Service()("@opencode/Config") {
81
+ class Service54 extends Context.Service()("@opencode/Config") {
82
82
  }
83
83
 
84
84
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -92,14 +92,14 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
92
92
  setEntries: (next) => Ref.set(entries, next),
93
93
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
94
94
  });
95
- return Context.empty().pipe(Context.add(Service62, service), Context.add(Test2, service));
95
+ return Context.empty().pipe(Context.add(Service54, service), Context.add(Test2, service));
96
96
  }));
97
- var layer23 = (options) => Layer.effect(Service62, Effect.gen(function* () {
97
+ var layer22 = (options) => Layer.effect(Service54, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const location = yield* Service72;
100
- const watcher = yield* Service63;
100
+ const watcher = yield* Service55;
101
101
  const bus = yield* Service79;
102
- const credentials = yield* Service68;
102
+ const credentials = yield* Service56;
103
103
  const wellknown = yield* Service64;
104
104
  const reloadLock = Semaphore.makeUnsafe(1);
105
105
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -223,8 +223,8 @@ var layer23 = (options) => Layer.effect(Service62, Effect.gen(function* () {
223
223
  }, (effect) => reloadLock.withPermit(effect));
224
224
  const pendingReloads = yield* PubSub.subscribe(reloads);
225
225
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
- yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
+ yield* bus.subscribe(Event12.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
228
228
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
229
229
  if (!wellknown.snapshot().length)
230
230
  return Effect.void;
@@ -235,20 +235,20 @@ var layer23 = (options) => Layer.effect(Service62, Effect.gen(function* () {
235
235
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
236
236
  })), Effect.forever, Effect.forkScoped({ startImmediately: true }));
237
237
  yield* reloadLock.withPermit(reconcile(initial));
238
- return Service62.of({
238
+ return Service54.of({
239
239
  entries: Effect.fnUntraced(function* () {
240
240
  return configs;
241
241
  }),
242
242
  changes: () => Stream.fromPubSub(updates)
243
243
  });
244
244
  }));
245
- function configured8(options) {
245
+ function configured6(options) {
246
246
  return makeLocationNode({
247
- service: Service62,
248
- layer: layer23(options),
249
- deps: [node67, node84, FSUtil.node, Global.node, node77, node73, node68]
247
+ service: Service54,
248
+ layer: layer22(options),
249
+ deps: [node58, node84, FSUtil.node, Global.node, node77, node59, node68]
250
250
  });
251
251
  }
252
- var node66 = configured8();
252
+ var node57 = configured6();
253
253
 
254
- export { latest2, Options7, Service62, Test2, testLayer2, layer23, configured8, node66, exports_config };
254
+ export { latest2, Options6, Service54, Test2, testLayer2, layer22, configured6, node57, exports_config };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service57
3
- } from "./pty-cznc2qrv.js";
2
+ Service66
3
+ } from "./bus-crh3pn7j.js";
4
4
  import {
5
- Service35
6
- } from "./pty-k558dr3h.js";
5
+ Service32
6
+ } from "./bus-n9mr47st.js";
7
7
  import {
8
8
  detect2
9
- } from "./pty-3smtnn6g.js";
9
+ } from "./bus-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./pty-1x11rq2a.js";
12
+ } from "./bus-4v7qdvcn.js";
13
13
  import {
14
- Service69
15
- } from "./pty-s0gfpzhy.js";
14
+ Service63
15
+ } from "./bus-r9gjvh9g.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./pty-3wx44s71.js";
19
+ } from "./bus-v1p1x004.js";
20
20
  import {
21
21
  prepare3,
22
- Service52
23
- } from "./pty-5b9mh310.js";
22
+ Service57
23
+ } from "./bus-fnxzs0zj.js";
24
24
  import {
25
25
  __export
26
- } from "./pty-9rqn6x4v.js";
26
+ } from "./bus-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service35;
42
+ const instances = yield* Service32;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service69;
45
+ const hooks = yield* Service63;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service52;
64
+ const skillService = yield* Service57;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
125
125
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
126
126
  if (!mime.startsWith("image/"))
127
127
  return { data: Base64.make(data), mime };
128
- const image = yield* Service57;
128
+ const image = yield* Service66;
129
129
  const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
130
130
  const content = { uri: label, content: data, encoding: "base64", mime };
131
131
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));