@opencode/core 0.0.0-dev-20105 → 0.0.0-dev-20110

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +75 -75
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{worktree-qm63xfj9.js → bus-0dczt24q.js} +11 -11
  8. package/dist/chunks/{worktree-2k8482vm.js → bus-0dqwd4cc.js} +8 -8
  9. package/dist/chunks/bus-0mesazry.js +4 -0
  10. package/dist/chunks/{worktree-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{worktree-8hbfdwcy.js → bus-0w62qmxp.js} +8 -8
  12. package/dist/chunks/{worktree-87nphv2h.js → bus-0xfjjr9h.js} +10 -10
  13. package/dist/chunks/{worktree-tt2ps04y.js → bus-13np1t9f.js} +25 -25
  14. package/dist/chunks/{worktree-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{worktree-6a4q1va2.js → bus-1hdy0dxq.js} +4 -4
  16. package/dist/chunks/{worktree-h5m7e0fe.js → bus-1nzh38e4.js} +9 -9
  17. package/dist/chunks/{worktree-a71abfbd.js → bus-1q0w2sn5.js} +23 -23
  18. package/dist/chunks/{worktree-bpktnpw7.js → bus-1wkhb3nv.js} +16 -16
  19. package/dist/chunks/{worktree-26300t6s.js → bus-1yqpms3x.js} +25 -25
  20. package/dist/chunks/{worktree-s0agc963.js → bus-1zqsf2j9.js} +5 -5
  21. package/dist/chunks/{worktree-21r38tys.js → bus-21r38tys.js} +1 -1
  22. package/dist/chunks/{worktree-5935cfns.js → bus-26kj7cwz.js} +10 -10
  23. package/dist/chunks/{worktree-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{worktree-92a34jea.js → bus-2dzs7ftg.js} +7 -7
  25. package/dist/chunks/{worktree-eyk4t588.js → bus-2k1cn353.js} +48 -48
  26. package/dist/chunks/{worktree-ak9z2h5t.js → bus-2p690edb.js} +3 -3
  27. package/dist/chunks/{worktree-z4ygwn82.js → bus-2qa74q4f.js} +12 -12
  28. package/dist/chunks/{worktree-b9mjazqy.js → bus-2rzcjetw.js} +15 -15
  29. package/dist/chunks/{worktree-1ygqh575.js → bus-33w4ejhs.js} +6 -6
  30. package/dist/chunks/{worktree-m7d3ytap.js → bus-39ttvfyy.js} +6 -6
  31. package/dist/chunks/{worktree-tn0aqsam.js → bus-3cfzdc8e.js} +5 -5
  32. package/dist/chunks/{worktree-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{worktree-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{worktree-3dvng5ry.js → bus-3hx80kcb.js} +20 -20
  35. package/dist/chunks/{worktree-9p4j1g8x.js → bus-3m588pny.js} +9 -9
  36. package/dist/chunks/{worktree-yf4jcbx9.js → bus-3ppptnan.js} +6 -6
  37. package/dist/chunks/{worktree-p6eds5cr.js → bus-3pqdrcfp.js} +11 -11
  38. package/dist/chunks/{worktree-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{worktree-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{worktree-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{worktree-e28zdnr3.js → bus-4ctj6a48.js} +5 -5
  42. package/dist/chunks/{worktree-ftxpvdc7.js → bus-4fg8svfd.js} +17 -17
  43. package/dist/chunks/{worktree-4gy17at8.js → bus-4g1jr6f0.js} +18 -18
  44. package/dist/chunks/{worktree-qc08edcd.js → bus-4gr756ds.js} +16 -16
  45. package/dist/chunks/{worktree-an0ayh94.js → bus-4q1fk10p.js} +31 -31
  46. package/dist/chunks/{worktree-kd3d1vys.js → bus-4t96yggr.js} +54 -54
  47. package/dist/chunks/bus-4v7qdvcn.js +18 -0
  48. package/dist/chunks/{worktree-53t702sg.js → bus-4y8ww5q8.js} +46 -46
  49. package/dist/chunks/{worktree-z8zh437v.js → bus-53r14p43.js} +6 -6
  50. package/dist/chunks/{worktree-28rfmn1q.js → bus-55w6e72n.js} +16 -16
  51. package/dist/chunks/{worktree-dc6tzc5b.js → bus-57ez7d0k.js} +9 -9
  52. package/dist/chunks/{worktree-5daktx2q.js → bus-5daktx2q.js} +1 -1
  53. package/dist/chunks/{worktree-5ekn9679.js → bus-5ekn9679.js} +1 -1
  54. package/dist/chunks/{worktree-vddp9fpw.js → bus-5kac4k3t.js} +27 -27
  55. package/dist/chunks/{worktree-cj8h12nx.js → bus-5kw5dw4j.js} +5 -5
  56. package/dist/chunks/{worktree-4fa6t2zh.js → bus-5rzn2h2f.js} +67 -67
  57. package/dist/chunks/{worktree-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
  58. package/dist/chunks/bus-5ww6wnjh.js +252 -0
  59. package/dist/chunks/{worktree-9hn6k4tm.js → bus-5xtgfte3.js} +8 -8
  60. package/dist/chunks/{worktree-khmcpx04.js → bus-5xzrn7a4.js} +35 -35
  61. package/dist/chunks/{worktree-wzz0kxab.js → bus-5yeq06a0.js} +6 -6
  62. package/dist/chunks/{worktree-h0v79wmk.js → bus-60v69n21.js} +21 -21
  63. package/dist/chunks/{worktree-669tq793.js → bus-669tq793.js} +1 -1
  64. package/dist/chunks/{worktree-nppmj0x6.js → bus-6b8rzn4m.js} +15 -15
  65. package/dist/chunks/{worktree-gv8bg5p6.js → bus-6ca1zexh.js} +16 -16
  66. package/dist/chunks/{worktree-2402vzrj.js → bus-6h73sxmp.js} +5 -5
  67. package/dist/chunks/{worktree-c0bsws40.js → bus-6j7pwwg5.js} +36 -36
  68. package/dist/chunks/{worktree-97jrthbw.js → bus-6m26j20e.js} +24 -24
  69. package/dist/chunks/{worktree-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{worktree-pag0f7q6.js → bus-6saf39w2.js} +17 -17
  71. package/dist/chunks/{worktree-hbyhqfhs.js → bus-705e2ap1.js} +5 -5
  72. package/dist/chunks/{worktree-t2q8n6ss.js → bus-70gnf0sp.js} +38 -38
  73. package/dist/chunks/{worktree-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{worktree-7463r9za.js → bus-7crhk1w3.js} +39 -39
  75. package/dist/chunks/{worktree-7dqw4kz8.js → bus-7dqw4kz8.js} +1 -1
  76. package/dist/chunks/{worktree-6zsnk1nj.js → bus-7k7qabe4.js} +8 -8
  77. package/dist/chunks/{worktree-fggcrdhd.js → bus-7kdw7ev1.js} +42 -42
  78. package/dist/chunks/{worktree-4md04jt5.js → bus-7rs6z72e.js} +17 -17
  79. package/dist/chunks/{worktree-qqhk6b98.js → bus-7wtj5x8r.js} +5 -5
  80. package/dist/chunks/{worktree-5qsvws2p.js → bus-85gcv6w1.js} +33 -33
  81. package/dist/chunks/{worktree-wchfvtxb.js → bus-8a7w9p3z.js} +24 -24
  82. package/dist/chunks/{worktree-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{worktree-cb70gybk.js → bus-8jfskjsd.js} +20 -20
  84. package/dist/chunks/{worktree-h6r3nrb9.js → bus-8z00fdkb.js} +4 -4
  85. package/dist/chunks/{worktree-dd33gdcs.js → bus-8z39ygk9.js} +20 -20
  86. package/dist/chunks/{worktree-94ek1h2f.js → bus-94ek1h2f.js} +2 -2
  87. package/dist/chunks/{worktree-7j2qha59.js → bus-99xay3p1.js} +8 -8
  88. package/dist/chunks/{worktree-nxhz0hz5.js → bus-9cbgz947.js} +9 -9
  89. package/dist/chunks/{worktree-6fx6kqf3.js → bus-9kb4pten.js} +20 -20
  90. package/dist/chunks/{worktree-xxynqx5z.js → bus-9vs0xtad.js} +3 -3
  91. package/dist/chunks/{worktree-s1hq0v60.js → bus-9x6sfjnn.js} +13 -13
  92. package/dist/chunks/{worktree-1myxn3kd.js → bus-9z4n607n.js} +24 -24
  93. package/dist/chunks/{worktree-fa3800w2.js → bus-9zam7283.js} +5 -5
  94. package/dist/chunks/{worktree-vsjn4aq5.js → bus-a4wm5c08.js} +9 -9
  95. package/dist/chunks/{worktree-yfpm05b7.js → bus-a94w1kdh.js} +10 -10
  96. package/dist/chunks/{worktree-aaet6srn.js → bus-aaet6srn.js} +2 -2
  97. package/dist/chunks/{worktree-d16e32c3.js → bus-acqh8fkh.js} +3 -3
  98. package/dist/chunks/{worktree-4yvz2rcy.js → bus-afed7ext.js} +12 -12
  99. package/dist/chunks/{worktree-snbrpa5g.js → bus-agsx0mxp.js} +19 -19
  100. package/dist/chunks/{worktree-61hs1ryt.js → bus-ah2tstk7.js} +26 -26
  101. package/dist/chunks/{worktree-5vd11pkv.js → bus-ax3c56fa.js} +23 -23
  102. package/dist/chunks/{worktree-25mrtkcq.js → bus-aymtadcw.js} +29 -29
  103. package/dist/chunks/{worktree-2n4z0gea.js → bus-b0kx20c7.js} +23 -23
  104. package/dist/chunks/{worktree-fzc1rrhc.js → bus-b109chxf.js} +173 -173
  105. package/dist/chunks/{worktree-tdhe5xga.js → bus-b1h1c68h.js} +8 -8
  106. package/dist/chunks/{worktree-0wgz3kfx.js → bus-b3sw3ybz.js} +8 -8
  107. package/dist/chunks/{worktree-emv10mfg.js → bus-b5vkr3nq.js} +15 -15
  108. package/dist/chunks/{worktree-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{worktree-9knhcppf.js → bus-b9j9k7st.js} +3 -3
  110. package/dist/chunks/{worktree-b4cpr7mt.js → bus-bbbtseyn.js} +10 -10
  111. package/dist/chunks/{worktree-ystnmmhc.js → bus-bemfr8re.js} +19 -19
  112. package/dist/chunks/{worktree-8xr9e5ma.js → bus-bncyzpjc.js} +15 -15
  113. package/dist/chunks/{worktree-a55n900e.js → bus-bqdc39gy.js} +11 -11
  114. package/dist/chunks/{worktree-akgm0gv0.js → bus-bqkn0a2m.js} +4 -4
  115. package/dist/chunks/{worktree-kes845dh.js → bus-bs6e0m84.js} +21 -21
  116. package/dist/chunks/{worktree-v7z2bvyd.js → bus-btbmdjwj.js} +4 -4
  117. package/dist/chunks/{worktree-1zhvft14.js → bus-bvxxf21n.js} +18 -18
  118. package/dist/chunks/{worktree-n2fk86tq.js → bus-c11gs41e.js} +5 -5
  119. package/dist/chunks/{worktree-09tgrvw7.js → bus-c19x1jxg.js} +35 -35
  120. package/dist/chunks/{worktree-v5z7k5hc.js → bus-c9v8rnps.js} +7 -7
  121. package/dist/chunks/{worktree-4n0pz7ta.js → bus-cbqwfepe.js} +29 -29
  122. package/dist/chunks/{worktree-85hqfz1z.js → bus-cewqea6w.js} +30 -30
  123. package/dist/chunks/{worktree-ckecvw8r.js → bus-ckecvw8r.js} +2 -2
  124. package/dist/chunks/{worktree-bwvgaq24.js → bus-ckjeqqqd.js} +35 -35
  125. package/dist/chunks/{worktree-a4xtdcdy.js → bus-cqma6xzt.js} +32 -32
  126. package/dist/chunks/{worktree-an32yxdc.js → bus-crqhppww.js} +5 -5
  127. package/dist/chunks/{worktree-hy20qw0x.js → bus-crwg5b5x.js} +11 -11
  128. package/dist/chunks/{worktree-qfgk5m70.js → bus-cw6ypyqw.js} +5 -5
  129. package/dist/chunks/{worktree-qa3qhgw8.js → bus-d216944b.js} +7 -7
  130. package/dist/chunks/{worktree-gze2a564.js → bus-d2vsh0aj.js} +20 -20
  131. package/dist/chunks/{worktree-d8frqt36.js → bus-d3p9sq2s.js} +40 -40
  132. package/dist/chunks/{worktree-sn5dskjm.js → bus-d5xsvz9q.js} +33 -33
  133. package/dist/chunks/{worktree-rjb11c09.js → bus-de1bg4a8.js} +22 -22
  134. package/dist/chunks/{worktree-dg2cj1yd.js → bus-dg2cj1yd.js} +1 -1
  135. package/dist/chunks/{worktree-d858xzj7.js → bus-dj68pnee.js} +4 -4
  136. package/dist/chunks/{worktree-djszqvmq.js → bus-djszqvmq.js} +2 -2
  137. package/dist/chunks/{worktree-szv3adj2.js → bus-dmjj53sn.js} +2 -2
  138. package/dist/chunks/{worktree-xkntkrq7.js → bus-dmqcgk4z.js} +5 -5
  139. package/dist/chunks/{worktree-4j9vtrd0.js → bus-dphfrw81.js} +11 -11
  140. package/dist/chunks/{worktree-xfkkasph.js → bus-drwq78ky.js} +4 -4
  141. package/dist/chunks/{worktree-zp8n7hk2.js → bus-dv2dzdwb.js} +9 -9
  142. package/dist/chunks/{worktree-qj5cc9w6.js → bus-dw2nfv7s.js} +7 -7
  143. package/dist/chunks/{worktree-mmgzkw4b.js → bus-dw7fq86s.js} +10 -10
  144. package/dist/chunks/{worktree-pcmmyvsr.js → bus-dxw8e00t.js} +4 -4
  145. package/dist/chunks/{worktree-76g3v1wk.js → bus-eapqqdsn.js} +22 -22
  146. package/dist/chunks/{worktree-891pch5y.js → bus-edx79v5g.js} +9 -9
  147. package/dist/chunks/{worktree-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{worktree-92hycem4.js → bus-efnkg68h.js} +20 -20
  149. package/dist/chunks/{worktree-tzcmwgv2.js → bus-eks5qx6p.js} +22 -22
  150. package/dist/chunks/{worktree-rqz00b65.js → bus-em9x6te5.js} +16 -16
  151. package/dist/chunks/{worktree-8xtjj1tw.js → bus-en6fzx4z.js} +5 -5
  152. package/dist/chunks/{worktree-73tb2d7t.js → bus-eq1pz5kg.js} +3 -3
  153. package/dist/chunks/{worktree-67k3ptxm.js → bus-ergadxyj.js} +13 -13
  154. package/dist/chunks/{worktree-erw5rpbs.js → bus-erw5rpbs.js} +2 -2
  155. package/dist/chunks/{worktree-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
  156. package/dist/chunks/{worktree-1acjjqhc.js → bus-f2n192rq.js} +4 -4
  157. package/dist/chunks/{worktree-gs4tkc79.js → bus-f5gy8qwh.js} +8 -8
  158. package/dist/chunks/{worktree-3654ekc1.js → bus-fb0tm2s5.js} +84 -84
  159. package/dist/chunks/{worktree-n810d9f4.js → bus-fmpp0jwj.js} +11 -11
  160. package/dist/chunks/{worktree-3qhjhqs4.js → bus-fnyw5ncd.js} +18 -18
  161. package/dist/chunks/{worktree-0mr6qh9d.js → bus-fz8xh7s4.js} +1 -1
  162. package/dist/chunks/{worktree-nz0453qb.js → bus-fzfr7wj6.js} +13 -13
  163. package/dist/chunks/{worktree-m4b4b35v.js → bus-g5cd0fse.js} +39 -39
  164. package/dist/chunks/{worktree-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  165. package/dist/chunks/{worktree-4ev63tw3.js → bus-gf34eqph.js} +32 -32
  166. package/dist/chunks/{worktree-ysav94bt.js → bus-gr2bz4pw.js} +18 -18
  167. package/dist/chunks/{worktree-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
  168. package/dist/chunks/{worktree-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{worktree-qtq40051.js → bus-h79gtdf5.js} +43 -43
  170. package/dist/chunks/{worktree-nbpn5fgr.js → bus-hba62b7s.js} +19 -19
  171. package/dist/chunks/{worktree-ykzz1t9e.js → bus-hjsym5va.js} +40 -40
  172. package/dist/chunks/{worktree-k76fn4kw.js → bus-hn57h045.js} +4 -4
  173. package/dist/chunks/{worktree-vv8yfjwc.js → bus-hsy2ayrh.js} +11 -11
  174. package/dist/chunks/{worktree-zk5bpfgp.js → bus-hthdkv0g.js} +13 -13
  175. package/dist/chunks/{worktree-r7y78zcv.js → bus-hv4r7e9n.js} +4 -4
  176. package/dist/chunks/{worktree-tj8p0sq8.js → bus-j1h3byjr.js} +10 -10
  177. package/dist/chunks/{worktree-j56e64zr.js → bus-j56e64zr.js} +1 -1
  178. package/dist/chunks/{worktree-mdc5nwhd.js → bus-jn2s104y.js} +15 -15
  179. package/dist/chunks/{worktree-k3c624dm.js → bus-k3c624dm.js} +3 -3
  180. package/dist/chunks/{worktree-k53npxr2.js → bus-k53npxr2.js} +1 -1
  181. package/dist/chunks/{worktree-zt0bgn8n.js → bus-k9p3qqxf.js} +10 -10
  182. package/dist/chunks/{worktree-zbdxx7ek.js → bus-kegj034d.js} +11 -11
  183. package/dist/chunks/{worktree-tcjtg44a.js → bus-kes3qfzt.js} +325 -325
  184. package/dist/chunks/{worktree-g8sy80jx.js → bus-knda9j04.js} +89 -89
  185. package/dist/chunks/{worktree-v5ysw9b9.js → bus-krg1ac3c.js} +11 -11
  186. package/dist/chunks/{worktree-vyjb9e8r.js → bus-krx1dmeb.js} +23 -23
  187. package/dist/chunks/{worktree-3nyjywfs.js → bus-kv4b73hx.js} +15 -15
  188. package/dist/chunks/{worktree-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{worktree-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{worktree-ma48de29.js → bus-ma15yhyh.js} +5 -5
  191. package/dist/chunks/{worktree-mjymc32g.js → bus-magykp64.js} +4 -4
  192. package/dist/chunks/{worktree-mcphez6e.js → bus-mbe8hv09.js} +18 -18
  193. package/dist/chunks/{worktree-zv6910x8.js → bus-mfh398z2.js} +25 -25
  194. package/dist/chunks/{worktree-qnksa3ad.js → bus-mgh6dzwn.js} +22 -22
  195. package/dist/chunks/{worktree-bhsdwye2.js → bus-mwfbz0xd.js} +14 -14
  196. package/dist/chunks/bus-mwmnzqyt.js +26 -0
  197. package/dist/chunks/{worktree-mn20a28a.js → bus-my33rnxx.js} +11 -11
  198. package/dist/chunks/{worktree-mvksx64m.js → bus-n1ka8r9d.js} +4 -4
  199. package/dist/chunks/{worktree-7d83w40e.js → bus-n1v1j5gm.js} +3 -3
  200. package/dist/chunks/{worktree-rqj5z4yb.js → bus-n90m72ty.js} +11 -11
  201. package/dist/chunks/{worktree-drmc2xrn.js → bus-nehqz7h0.js} +14 -14
  202. package/dist/chunks/{worktree-4a0nv7mx.js → bus-ngts6ef0.js} +8 -8
  203. package/dist/chunks/{worktree-ssb8qcd9.js → bus-nkk0yr9d.js} +10 -10
  204. package/dist/chunks/{worktree-pnv527nz.js → bus-nq7qbqzc.js} +9 -9
  205. package/dist/chunks/{worktree-4qw9jy8s.js → bus-ns15zm60.js} +6 -6
  206. package/dist/chunks/{worktree-sd1fa18v.js → bus-nvv7130m.js} +9 -9
  207. package/dist/chunks/{worktree-62h9g2fv.js → bus-p26jvdj2.js} +18 -18
  208. package/dist/chunks/{worktree-cpy6gm2a.js → bus-pf2hb43r.js} +6 -6
  209. package/dist/chunks/{worktree-13gx36pc.js → bus-phypshv1.js} +11 -11
  210. package/dist/chunks/{worktree-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{worktree-pknna89w.js → bus-pknna89w.js} +1 -1
  212. package/dist/chunks/{worktree-gvrsjrvz.js → bus-qetz3bdr.js} +11 -11
  213. package/dist/chunks/{worktree-zjp1cm63.js → bus-qg7rv61d.js} +15 -15
  214. package/dist/chunks/{worktree-qn4ba14w.js → bus-qjnxxf51.js} +5 -5
  215. package/dist/chunks/{worktree-qsdy395h.js → bus-qsdy395h.js} +1 -1
  216. package/dist/chunks/{worktree-n9c5x41c.js → bus-qx04cptv.js} +23 -23
  217. package/dist/chunks/{worktree-w6dwg7gz.js → bus-qxnq8tq5.js} +18 -18
  218. package/dist/chunks/{worktree-cqkjr9eb.js → bus-r0w6vsbq.js} +20 -20
  219. package/dist/chunks/{worktree-wxffcvth.js → bus-r11ajgf0.js} +6 -6
  220. package/dist/chunks/{worktree-ja2sysa1.js → bus-r1sqmjnz.js} +11 -11
  221. package/dist/chunks/{worktree-4db8mzj7.js → bus-r3jekd6w.js} +5 -5
  222. package/dist/chunks/{worktree-y0adyrm5.js → bus-r8d149e4.js} +3 -3
  223. package/dist/chunks/{worktree-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{worktree-z4pkgcrj.js → bus-rgqs5ayd.js} +29 -29
  225. package/dist/chunks/{worktree-py3kkmfq.js → bus-rkprpv83.js} +2 -2
  226. package/dist/chunks/{worktree-knc8nek6.js → bus-rn2ankj9.js} +6 -6
  227. package/dist/chunks/{worktree-r1qjztdq.js → bus-rrq388m2.js} +23 -23
  228. package/dist/chunks/{worktree-sr8hj6d6.js → bus-s29rvfdk.js} +18 -18
  229. package/dist/chunks/{worktree-8q0abqdy.js → bus-s8qd0pza.js} +8 -8
  230. package/dist/chunks/{worktree-akfg0z59.js → bus-sed1cph5.js} +22 -22
  231. package/dist/chunks/{worktree-0bf3khfw.js → bus-sg2nz0p0.js} +32 -32
  232. package/dist/chunks/{worktree-904rfj5f.js → bus-sphdp7rh.js} +32 -32
  233. package/dist/chunks/{worktree-wg821d8s.js → bus-sqtqbwng.js} +6 -6
  234. package/dist/chunks/{worktree-00z3vp5f.js → bus-sx1n432n.js} +4 -4
  235. package/dist/chunks/{worktree-t5jfh8kc.js → bus-t03bbx3y.js} +12 -12
  236. package/dist/chunks/{worktree-z3aggnr2.js → bus-t27mf08w.js} +32 -32
  237. package/dist/chunks/{worktree-rhjbct0v.js → bus-t550f9t1.js} +4 -4
  238. package/dist/chunks/{worktree-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{worktree-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{worktree-tdstcens.js → bus-tdstcens.js} +1 -1
  241. package/dist/chunks/{worktree-34q1q4g3.js → bus-tmvszdqk.js} +4 -4
  242. package/dist/chunks/{worktree-g9hze54y.js → bus-tpwaysbs.js} +1 -1
  243. package/dist/chunks/{worktree-0xc744yh.js → bus-tqjbcyfm.js} +26 -26
  244. package/dist/chunks/{worktree-tvtrv512.js → bus-tvtrv512.js} +1 -1
  245. package/dist/chunks/{worktree-afjydgk3.js → bus-tx92n959.js} +4 -4
  246. package/dist/chunks/{worktree-ky3seynh.js → bus-v2f6dcv3.js} +2 -2
  247. package/dist/chunks/{worktree-s31e5dqq.js → bus-v78f6ems.js} +37 -37
  248. package/dist/chunks/{worktree-4angy42y.js → bus-vc6exsj4.js} +3 -3
  249. package/dist/chunks/{worktree-ntzzmvrg.js → bus-vctazb64.js} +4 -4
  250. package/dist/chunks/{worktree-5bxn2d00.js → bus-ve5t88w0.js} +13 -13
  251. package/dist/chunks/{worktree-veqvce7d.js → bus-veqvce7d.js} +1 -1
  252. package/dist/chunks/{worktree-p31vw5zt.js → bus-vjcr61gx.js} +9 -9
  253. package/dist/chunks/{worktree-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{worktree-5214kcsh.js → bus-w2hr9m4n.js} +42 -42
  255. package/dist/chunks/{worktree-zqm7km32.js → bus-w3bkza1g.js} +8 -8
  256. package/dist/chunks/{worktree-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{worktree-wd3x2cqz.js → bus-wd3x2cqz.js} +2 -2
  258. package/dist/chunks/{worktree-wd87259q.js → bus-wd87259q.js} +1 -1
  259. package/dist/chunks/{worktree-11dqjexa.js → bus-wk5z6jzv.js} +9 -9
  260. package/dist/chunks/{worktree-5x326c62.js → bus-wnf47mqh.js} +10 -10
  261. package/dist/chunks/{worktree-qhmjmk1w.js → bus-wqsgdcqx.js} +44 -44
  262. package/dist/chunks/{worktree-jwjj0ar8.js → bus-wtg76wjq.js} +20 -20
  263. package/dist/chunks/{worktree-xbsm0w8x.js → bus-wwbkxvr0.js} +12 -12
  264. package/dist/chunks/{worktree-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{worktree-1q9thhxg.js → bus-x1wafzv1.js} +6 -6
  266. package/dist/chunks/{worktree-8b96hdfe.js → bus-x5tv5bhz.js} +10 -10
  267. package/dist/chunks/{worktree-qv9g0gyx.js → bus-xe5vrw40.js} +20 -20
  268. package/dist/chunks/{worktree-3t84zwd8.js → bus-xnkaq8n7.js} +8 -8
  269. package/dist/chunks/{worktree-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{worktree-dpkg50ah.js → bus-y71avatq.js} +4 -4
  271. package/dist/chunks/{worktree-x8z8zpk0.js → bus-y7emxscq.js} +6 -6
  272. package/dist/chunks/{worktree-pa033vv9.js → bus-y7w7614s.js} +24 -24
  273. package/dist/chunks/{worktree-gs1aapz6.js → bus-y9199srt.js} +3 -3
  274. package/dist/chunks/{worktree-k3anzat6.js → bus-yjebqc3c.js} +22 -22
  275. package/dist/chunks/{worktree-ba7qst6d.js → bus-ymf35ta8.js} +18 -18
  276. package/dist/chunks/{worktree-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{worktree-yrznvahk.js → bus-yrznvahk.js} +2 -2
  278. package/dist/chunks/{worktree-yghvc19j.js → bus-ysek36vy.js} +10 -10
  279. package/dist/chunks/{worktree-0f9afca0.js → bus-yt0fqk68.js} +5 -5
  280. package/dist/chunks/{worktree-f9w2621f.js → bus-yth2f470.js} +5 -5
  281. package/dist/chunks/{worktree-z07pqspn.js → bus-z07pqspn.js} +3 -3
  282. package/dist/chunks/{worktree-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{worktree-348pjw7k.js → bus-z1sxxdkt.js} +12 -12
  284. package/dist/chunks/{worktree-4hk27nw6.js → bus-z2tqpmk8.js} +10 -10
  285. package/dist/chunks/{worktree-nfpfdzzq.js → bus-z5qf6xj2.js} +12 -12
  286. package/dist/chunks/{worktree-z63w68vq.js → bus-z63w68vq.js} +2 -2
  287. package/dist/chunks/{worktree-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{worktree-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{worktree-qsj8tpbg.js → bus-ztn1rgwm.js} +15 -15
  290. package/dist/chunks/{worktree-p7q1b1dk.js → bus-ztrjg0dp.js} +15 -15
  291. package/dist/chunks/{worktree-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +142 -142
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +124 -124
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +126 -126
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +81 -81
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +2 -2
  426. package/dist/filesystem/location-watcher.js +225 -225
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +101 -101
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +100 -100
  432. package/dist/form.js +82 -82
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +101 -101
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +81 -81
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +87 -87
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +102 -102
  478. package/dist/mcp/instructions.js +126 -126
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +102 -102
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +76 -76
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +107 -107
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +80 -80
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +2 -2
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +92 -92
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +5 -5
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +6 -6
  559. package/dist/plugin/websearch/tavily.js +4 -4
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +96 -96
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +87 -87
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +132 -132
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +151 -151
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +86 -86
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +1 -1
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +112 -112
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +7 -7
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +89 -89
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +123 -123
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +119 -119
  649. package/dist/tool/plugin/shell.js +215 -215
  650. package/dist/tool/plugin/skill.js +109 -109
  651. package/dist/tool/plugin/subagent.js +213 -213
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +106 -106
  654. package/dist/tool/plugin/write.js +120 -120
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +14 -14
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/worktree-6kdq0pjd.js +0 -4
  701. package/dist/chunks/worktree-qc068m1q.js +0 -18
  702. package/dist/chunks/worktree-ybrqsgzm.js +0 -252
  703. package/dist/chunks/worktree-zw0azyx1.js +0 -26
  704. /package/dist/chunks/{worktree-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{worktree-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{worktree-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{worktree-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{worktree-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{worktree-24dcb14g.js → bus-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{worktree-2710q6r3.js → bus-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{worktree-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{worktree-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{worktree-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{worktree-359p4xyc.js → bus-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{worktree-3asan66x.js → bus-3asan66x.js} +0 -0
  716. /package/dist/chunks/{worktree-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{worktree-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{worktree-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{worktree-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{worktree-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{worktree-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{worktree-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{worktree-53557ph1.js → bus-53557ph1.js} +0 -0
  724. /package/dist/chunks/{worktree-550bvhaj.js → bus-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{worktree-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{worktree-6prwharc.js → bus-6prwharc.js} +0 -0
  727. /package/dist/chunks/{worktree-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{worktree-7m9af43g.js → bus-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{worktree-822emrt2.js → bus-822emrt2.js} +0 -0
  730. /package/dist/chunks/{worktree-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{worktree-8n3pysct.js → bus-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{worktree-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{worktree-922hggd3.js → bus-922hggd3.js} +0 -0
  734. /package/dist/chunks/{worktree-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{worktree-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{worktree-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{worktree-af5trqkr.js → bus-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{worktree-afrmfg78.js → bus-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{worktree-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{worktree-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{worktree-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{worktree-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{worktree-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{worktree-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{worktree-d9fn303g.js → bus-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{worktree-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{worktree-dajrwvna.js → bus-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{worktree-dap0rakb.js → bus-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{worktree-df08tz66.js → bus-df08tz66.js} +0 -0
  750. /package/dist/chunks/{worktree-dy18nga0.js → bus-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{worktree-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{worktree-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{worktree-ec1grn59.js → bus-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{worktree-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{worktree-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{worktree-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{worktree-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{worktree-faypxj3z.js → bus-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{worktree-fd410y7t.js → bus-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{worktree-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{worktree-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{worktree-g86h250q.js → bus-g86h250q.js} +0 -0
  763. /package/dist/chunks/{worktree-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{worktree-gftt206x.js → bus-gftt206x.js} +0 -0
  765. /package/dist/chunks/{worktree-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{worktree-hk9envan.js → bus-hk9envan.js} +0 -0
  767. /package/dist/chunks/{worktree-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{worktree-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{worktree-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{worktree-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{worktree-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{worktree-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{worktree-mp448xyj.js → bus-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{worktree-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{worktree-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{worktree-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{worktree-njntx4h6.js → bus-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{worktree-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{worktree-q74kybfr.js → bus-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{worktree-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{worktree-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{worktree-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{worktree-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{worktree-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{worktree-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{worktree-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{worktree-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{worktree-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{worktree-w803qqfp.js → bus-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{worktree-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{worktree-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{worktree-wtztk69x.js → bus-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{worktree-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{worktree-x61499pn.js → bus-x61499pn.js} +0 -0
  795. /package/dist/chunks/{worktree-y44na4kk.js → bus-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{worktree-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{worktree-y8f7s663.js → bus-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{worktree-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{worktree-ym463w8f.js → bus-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{worktree-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./worktree-r7y78zcv.js";
4
+ } from "./bus-hv4r7e9n.js";
5
5
  import {
6
6
  environment2
7
- } from "./worktree-hy20qw0x.js";
7
+ } from "./bus-crwg5b5x.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./worktree-sk3qaz4a.js";
10
+ } from "./bus-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
19
+ NotFoundError: () => NotFoundError4,
20
20
  Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service23,
22
+ Service: () => Service21,
23
23
  UnavailableError: () => UnavailableError3,
24
24
  configured: () => configured4,
25
25
  layer: () => layer11,
26
- node: () => node26
26
+ node: () => node24
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -42,14 +42,14 @@ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableE
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service23 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service21 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
53
53
  const bus = yield* Service83;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError4({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service23.of({
242
+ return Service21.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -257,11 +257,11 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
257
257
  }));
258
258
  var layer11 = makeLayer();
259
259
  var configured4 = (options) => makeGlobalNode({
260
- service: Service23,
260
+ service: Service21,
261
261
  layer: options === undefined ? layer11 : makeLayer(options),
262
262
  deps: [node87, Global.node]
263
263
  });
264
- var node26 = configured4();
264
+ var node24 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError3, NotFoundError3, Service23, layer11, configured4, node26, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError3, NotFoundError4, Service21, layer11, configured4, node24, exports_persistent_pty, Handoff2 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./worktree-2a5m3afh.js";
5
+ } from "./bus-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./worktree-9rqn6x4v.js";
8
+ } from "./bus-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./worktree-z3aggnr2.js";
2
+ ID6
3
+ } from "./bus-t27mf08w.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID6.make("gpt-5-chat-latest"), ID6.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service83
3
- } from "./worktree-r7y78zcv.js";
3
+ } from "./bus-hv4r7e9n.js";
4
4
  import {
5
- Service81,
6
- Event21
7
- } from "./worktree-sr8hj6d6.js";
5
+ Service70,
6
+ Event15
7
+ } from "./bus-s29rvfdk.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./bus-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin49,
15
+ Plugin: () => Plugin2,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin49 = define({
20
+ var Plugin2 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service83;
24
- const wellknown = yield* Service81;
24
+ const wellknown = yield* Service70;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin49 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event21.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin49, exports_plugin };
48
+ export { Plugin2, exports_plugin };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./worktree-r7y78zcv.js";
4
+ } from "./bus-hv4r7e9n.js";
5
5
  import {
6
- Service77,
7
- node80
8
- } from "./worktree-rqz00b65.js";
6
+ Service80,
7
+ node84
8
+ } from "./bus-em9x6te5.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./worktree-ec1grn59.js";
11
+ } from "./bus-ec1grn59.js";
12
12
  import {
13
- Service64,
14
- node67
15
- } from "./worktree-348pjw7k.js";
13
+ Service60,
14
+ node63
15
+ } from "./bus-z1sxxdkt.js";
16
16
  import {
17
17
  __export
18
- } from "./worktree-9rqn6x4v.js";
18
+ } from "./bus-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service6,
23
+ Service: () => Service7,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node8
25
+ node: () => node9
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service6 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service7 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service6, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
38
38
  const bus = yield* Service83;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service64;
41
- const location = yield* Service77;
40
+ const store = yield* Service60;
41
+ const location = yield* Service80;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service6.of({ load });
87
+ return Service7.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node8 = makeLocationNode({
98
+ var node9 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node87, FSUtil.node, node80, node67]
101
+ deps: [node87, FSUtil.node, node84, node63]
102
102
  });
103
103
 
104
- export { Service6, node8, exports_instructions };
104
+ export { Service7, node9, exports_instructions };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./bus-922hggd3.js";
4
4
  import {
5
- Service77
6
- } from "./worktree-rqz00b65.js";
5
+ Service80
6
+ } from "./bus-em9x6te5.js";
7
7
  import {
8
- Service47
9
- } from "./worktree-m4b4b35v.js";
8
+ Service51
9
+ } from "./bus-g5cd0fse.js";
10
10
  import {
11
- Service28
12
- } from "./worktree-h0v79wmk.js";
11
+ Service48
12
+ } from "./bus-60v69n21.js";
13
13
  import {
14
14
  observe2
15
- } from "./worktree-qsdy395h.js";
15
+ } from "./bus-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./worktree-9rqn6x4v.js";
18
+ } from "./bus-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin42
24
+ Plugin: () => Plugin36
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin42 = define({
30
+ var Plugin36 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service47;
34
- const location = yield* Service77;
33
+ const config = yield* Service51;
34
+ const location = yield* Service80;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service28;
36
+ const worktrees = yield* Service48;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin42 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin42, exports_worktree };
51
+ export { Plugin36, exports_worktree };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service59
3
- } from "./worktree-4md04jt5.js";
2
+ Service73
3
+ } from "./bus-7rs6z72e.js";
4
4
  import {
5
- Service29
6
- } from "./worktree-g8sy80jx.js";
5
+ Service22
6
+ } from "./bus-knda9j04.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./worktree-x1ezjp6w.js";
10
+ } from "./bus-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make8
19
+ make: () => make10
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make8 = Effect.gen(function* () {
23
- const sessions = yield* Service29;
24
- const jobs = yield* Service59;
22
+ var make10 = Effect.gen(function* () {
23
+ const sessions = yield* Service22;
24
+ const jobs = yield* Service73;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make8 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make8, exports_subagent_job };
61
+ export { make10, exports_subagent_job };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./worktree-0paq2nw3.js";
4
+ } from "./bus-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./worktree-904rfj5f.js";
7
+ } from "./bus-sphdp7rh.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./worktree-z3aggnr2.js";
11
+ } from "./bus-t27mf08w.js";
12
12
  import {
13
13
  __export
14
- } from "./worktree-9rqn6x4v.js";
14
+ } from "./bus-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./worktree-n810d9f4.js";
3
+ } from "./bus-fmpp0jwj.js";
4
4
  import {
5
5
  Service83
6
- } from "./worktree-r7y78zcv.js";
6
+ } from "./bus-hv4r7e9n.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event20
10
- } from "./worktree-qv9g0gyx.js";
10
+ } from "./bus-xe5vrw40.js";
11
11
  import {
12
- ID14,
12
+ ID12,
13
13
  MethodID2
14
- } from "./worktree-26300t6s.js";
14
+ } from "./bus-1yqpms3x.js";
15
15
  import {
16
16
  key2
17
- } from "./worktree-h6r3nrb9.js";
17
+ } from "./bus-8z00fdkb.js";
18
18
  import {
19
- Service19
20
- } from "./worktree-gs4tkc79.js";
19
+ Service14
20
+ } from "./bus-f5gy8qwh.js";
21
21
  import {
22
- ID13,
22
+ ID7,
23
23
  mergeOverlay2,
24
24
  mergeHeaders2
25
- } from "./worktree-904rfj5f.js";
25
+ } from "./bus-sphdp7rh.js";
26
26
  import {
27
- ID3,
28
- Input13,
27
+ ID15,
28
+ Input14,
29
29
  Response2
30
- } from "./worktree-tt2ps04y.js";
30
+ } from "./bus-13np1t9f.js";
31
31
 
32
32
  // src/plugin/provider/opencode.ts
33
33
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -42,7 +42,7 @@ var methodID = MethodID2.make("device");
42
42
  var RemoteResponse = Schema.Struct({
43
43
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
44
44
  websearch: Schema.Struct({
45
- providerID: ID3
45
+ providerID: ID15
46
46
  }).pipe(Schema.optional),
47
47
  experimental: Schema.Struct({
48
48
  policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
@@ -67,7 +67,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
67
67
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
68
68
  function oauth(http) {
69
69
  return {
70
- integrationID: ID14.make("opencode"),
70
+ integrationID: ID12.make("opencode"),
71
71
  method: {
72
72
  id: methodID,
73
73
  type: "oauth",
@@ -124,7 +124,7 @@ var OpencodePlugin2 = define({
124
124
  const bus = yield* Service83;
125
125
  const client = yield* HttpClient.HttpClient;
126
126
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
127
- const managed = yield* Service19;
127
+ const managed = yield* Service14;
128
128
  const loading = Semaphore.makeUnsafe(1);
129
129
  let snapshot = { config: undefined, connection: undefined, organization: undefined };
130
130
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -157,7 +157,7 @@ var OpencodePlugin2 = define({
157
157
  providers.update(providerID, (provider) => {
158
158
  if (source && source.provider !== provider)
159
159
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
160
- provider.integrationID = ID14.make("opencode");
160
+ provider.integrationID = ID12.make("opencode");
161
161
  if (item.canonical !== undefined)
162
162
  provider.canonical = item.canonical;
163
163
  if (item.name !== undefined)
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
227
227
  sourceConnection: snapshot.connection
228
228
  });
229
229
  }
230
- const item = providers.get(ID13.opencode);
230
+ const item = providers.get(ID7.opencode);
231
231
  if (!item)
232
232
  return;
233
233
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -239,7 +239,7 @@ var OpencodePlugin2 = define({
239
239
  });
240
240
  });
241
241
  yield* ctx.model.transform((models) => {
242
- const item = models.provider.get(ID13.opencode);
242
+ const item = models.provider.get(ID7.opencode);
243
243
  if (!item)
244
244
  return;
245
245
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -273,7 +273,7 @@ var OpencodePlugin2 = define({
273
273
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
274
274
  const token = credential.type === "oauth" ? credential.access : credential.key;
275
275
  const server = yield* normalizeServer(serverUrl(credential));
276
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
276
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
277
277
  query: input.query,
278
278
  providerID: descriptor.providerID
279
279
  }));
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
295
295
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
296
296
  });
297
297
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
298
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
298
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
299
299
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
300
300
  })
301
301
  });
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-defaults.ts
6
6
  var exports_mcp_codemode_defaults = {};
7
7
  __export(exports_mcp_codemode_defaults, {
8
8
  McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
9
- Plugin: () => Plugin17
9
+ Plugin: () => Plugin28
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
14
  var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
15
15
  var mode = "x-posthog-mcp-mode";
16
- var Plugin17 = define({
16
+ var Plugin28 = define({
17
17
  id: "opencode.mcp.codemode.defaults",
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.mcp.transform((editor) => {
@@ -38,4 +38,4 @@ var Plugin17 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin17, exports_mcp_codemode_defaults };
41
+ export { Plugin28, exports_mcp_codemode_defaults };
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./worktree-gs1aapz6.js";
4
+ } from "./bus-y9199srt.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service83,
8
8
  node87
9
- } from "./worktree-r7y78zcv.js";
9
+ } from "./bus-hv4r7e9n.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./worktree-ec1grn59.js";
12
+ } from "./bus-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./worktree-gftt206x.js";
15
+ } from "./bus-gftt206x.js";
16
16
  import {
17
- update2
18
- } from "./worktree-xkntkrq7.js";
17
+ update3
18
+ } from "./bus-dmqcgk4z.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./worktree-922hggd3.js";
22
+ } from "./bus-922hggd3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./worktree-wd3x2cqz.js";
25
+ } from "./bus-wd3x2cqz.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./worktree-z07pqspn.js";
30
+ } from "./bus-z07pqspn.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./worktree-ba7qst6d.js";
36
+ } from "./bus-ymf35ta8.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./worktree-mvksx64m.js";
42
+ } from "./bus-n1ka8r9d.js";
43
43
  import {
44
44
  initialize2
45
- } from "./worktree-qsj8tpbg.js";
45
+ } from "./bus-ztn1rgwm.js";
46
46
  import {
47
47
  Slug2
48
- } from "./worktree-gebd4c9n.js";
48
+ } from "./bus-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./worktree-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: () => node34
58
+ node: () => node31
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";
@@ -246,7 +246,7 @@ function run(db, event) {
246
246
  updateCompaction: updateMessage,
247
247
  appendMessage
248
248
  };
249
- yield* update2(adapter, event);
249
+ yield* update3(adapter, event);
250
250
  });
251
251
  }
252
252
  function insertMessage(db, event, message) {
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
459
459
  return publishSessionUsage(db, bus, event.data.sessionID);
460
460
  }), Effect.forkScoped({ startImmediately: true }));
461
461
  }));
462
- var node34 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
462
+ var node31 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
463
463
 
464
- export { SessionAlreadyProjected2, node34, exports_projector };
464
+ export { SessionAlreadyProjected2, node31, exports_projector };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./bus-922hggd3.js";
4
4
  import {
5
- Service77
6
- } from "./worktree-rqz00b65.js";
5
+ Service80
6
+ } from "./bus-em9x6te5.js";
7
7
  import {
8
8
  __export
9
- } from "./worktree-9rqn6x4v.js";
9
+ } from "./bus-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service77;
26
+ const location = yield* Service80;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));