@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
@@ -2,27 +2,27 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./worktree-r7y78zcv.js";
5
+ } from "./bus-hv4r7e9n.js";
6
6
  import {
7
- Service82,
8
- node86
9
- } from "./worktree-ssb8qcd9.js";
7
+ Service76,
8
+ node80
9
+ } from "./bus-nkk0yr9d.js";
10
10
  import {
11
11
  __export
12
- } from "./worktree-9rqn6x4v.js";
12
+ } from "./bus-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event21,
19
+ Event: () => Event15,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service81,
22
+ Service: () => Service70,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node85,
25
+ node: () => node74,
26
26
  resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service81 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service70 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event21 = {
51
+ var Event15 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service81, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service82;
80
+ const kv = yield* Service76;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event21.Updated, {});
112
+ yield* bus.publish(Event15.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service81.of({
115
+ return Service70.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event21.Updated, {});
128
+ yield* bus.publish(Event15.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event21.Updated, {});
141
+ yield* bus.publish(Event15.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node85 = makeGlobalNode({ service: Service81, layer, deps: [httpClient, node86, node87] });
146
+ var node74 = makeGlobalNode({ service: Service70, layer, deps: [httpClient, node80, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service81, Event21, inspect2, resolve4, node85, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service70, Event15, inspect2, resolve4, node74, exports_wellknown };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service47
4
- } from "./worktree-m4b4b35v.js";
3
+ Service51
4
+ } from "./bus-g5cd0fse.js";
5
5
  import {
6
6
  observe2
7
- } from "./worktree-qsdy395h.js";
7
+ } from "./bus-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./bus-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch2 = {};
14
14
  __export(exports_websearch2, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin40
16
+ Plugin: () => Plugin45
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin40 = define({
20
+ var Plugin45 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service47;
23
+ const config = yield* Service51;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin40 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin40, exports_websearch2 };
35
+ export { Plugin45, exports_websearch2 };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID13,
2
+ ID7,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./worktree-904rfj5f.js";
5
+ } from "./bus-sphdp7rh.js";
6
6
  import {
7
- ID12,
7
+ ID6,
8
8
  VariantID2,
9
9
  Family2,
10
- Info26
11
- } from "./worktree-z3aggnr2.js";
10
+ Info18
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/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- derive: () => derive2,
21
- get: () => get2,
22
- load: () => load2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ derive: () => derive3,
21
+ get: () => get3,
22
+ load: () => load3
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get2(baseURL, headers, existing) {
72
- return derive2(baseURL, await load2(baseURL, headers), existing);
71
+ async function get3(baseURL, headers, existing) {
72
+ return derive3(baseURL, await load3(baseURL, headers), existing);
73
73
  }
74
- async function load2(baseURL, headers) {
74
+ async function load3(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive2(baseURL, remote, existing) {
86
+ function derive3(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID12.make(id);
97
+ const key = ID6.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info26.make({
122
- ...Info26.default(ID13.githubCopilot, id),
121
+ return Info18.make({
122
+ ...Info18.default(ID7.githubCopilot, id),
123
123
  id,
124
- modelID: ID12.make(remote.id),
125
- providerID: ID13.githubCopilot,
124
+ modelID: ID6.make(remote.id),
125
+ providerID: ID7.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get2, load2, derive2, exports_models };
200
+ export { get3, load3, derive3, exports_models2 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node84
5
- } from "./worktree-n810d9f4.js";
4
+ node49
5
+ } from "./bus-fmpp0jwj.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./worktree-dg2cj1yd.js";
9
+ } from "./bus-dg2cj1yd.js";
10
10
  import {
11
- Service68,
12
- node71
13
- } from "./worktree-4a0nv7mx.js";
11
+ Service62,
12
+ node65
13
+ } from "./bus-ngts6ef0.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./worktree-ykzz1t9e.js";
16
+ } from "./bus-hjsym5va.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./worktree-zbdxx7ek.js";
19
+ } from "./bus-kegj034d.js";
20
20
  import {
21
- Error5
22
- } from "./worktree-97jrthbw.js";
21
+ Error3
22
+ } from "./bus-6m26j20e.js";
23
23
  import {
24
- Service41,
25
- node44
26
- } from "./worktree-mn20a28a.js";
24
+ Service32,
25
+ node35
26
+ } from "./bus-my33rnxx.js";
27
27
  import {
28
- make15
29
- } from "./worktree-xfkkasph.js";
28
+ make14
29
+ } from "./bus-drwq78ky.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./worktree-k53npxr2.js";
32
+ } from "./bus-k53npxr2.js";
33
33
  import {
34
34
  __export
35
- } from "./worktree-9rqn6x4v.js";
35
+ } from "./bus-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service40,
40
+ Service: () => Service31,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer15,
45
- node: () => node43,
44
+ layer: () => layer14,
45
+ node: () => node34,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
156
156
  }));
157
157
  };
158
158
 
159
- class Service40 extends Context.Service()("@opencode/SessionModelRequest") {
159
+ class Service31 extends Context.Service()("@opencode/SessionModelRequest") {
160
160
  }
161
- var layer15 = Layer.effect(Service40, Effect.gen(function* () {
162
- const hooks = yield* Service68;
163
- const transport = yield* Service41;
161
+ var layer14 = Layer.effect(Service31, Effect.gen(function* () {
162
+ const hooks = yield* Service62;
163
+ const transport = yield* Service32;
164
164
  const app = yield* Metadata2;
165
165
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
166
166
  const session = input.session;
@@ -168,7 +168,7 @@ var layer15 = Layer.effect(Service40, Effect.gen(function* () {
168
168
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
169
169
  const tools = input.tools ?? {
170
170
  definitions: [],
171
- execute: () => new Error5({ message: "Tools are not available for this request" })
171
+ execute: () => new Error3({ message: "Tools are not available for this request" })
172
172
  };
173
173
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
174
174
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -258,17 +258,17 @@ var layer15 = Layer.effect(Service40, Effect.gen(function* () {
258
258
  };
259
259
  });
260
260
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
261
- return Service40.of({
261
+ return Service31.of({
262
262
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
263
263
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
264
264
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
265
265
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
266
266
  });
267
267
  }));
268
- var node43 = makeLocationNode({
269
- service: Service40,
270
- layer: layer15,
271
- deps: [node71, node44, node84]
268
+ var node34 = makeLocationNode({
269
+ service: Service31,
270
+ layer: layer14,
271
+ deps: [node65, node35, node49]
272
272
  });
273
273
 
274
- export { baseTranscript2, unsupportedParts2, boundImages2, Service40, layer15, node43, exports_model_request };
274
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service31, layer14, node34, exports_model_request };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./worktree-r7y78zcv.js";
4
+ } from "./bus-hv4r7e9n.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./worktree-rdw6cm16.js";
8
+ } from "./bus-rdw6cm16.js";
9
9
  import {
10
- ID14,
11
- Service75,
12
- node78,
13
- Event17
14
- } from "./worktree-26300t6s.js";
10
+ ID12,
11
+ Service71,
12
+ node75,
13
+ Event16
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
- Service77,
20
- node80
21
- } from "./worktree-rqz00b65.js";
19
+ Service80,
20
+ node84
21
+ } from "./bus-em9x6te5.js";
22
22
  import {
23
23
  __export
24
- } from "./worktree-9rqn6x4v.js";
24
+ } from "./bus-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -37,13 +37,13 @@ var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
- Event: () => Event16,
41
- ID: () => ID13,
42
- Info: () => Info27,
40
+ Event: () => Event11,
41
+ ID: () => ID7,
42
+ Info: () => Info19,
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
- Request: () => Request3,
46
- Service: () => Service74,
45
+ Request: () => Request2,
46
+ Service: () => Service55,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -53,7 +53,7 @@ __export(exports_provider3, {
53
53
  mergeOverlay: () => mergeOverlay2,
54
54
  modelSettings: () => modelSettings2,
55
55
  nativeSettings: () => nativeSettings2,
56
- node: () => node77,
56
+ node: () => node58,
57
57
  packageName: () => packageName2
58
58
  });
59
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
64
64
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
65
65
  import { Credential } from "@opencode/schema/credential";
66
66
  import { freeze } from "immer";
67
- import { Event as Event16 } from "@opencode/schema/provider";
68
- var ID13 = Provider.ID;
67
+ import { Event as Event11 } from "@opencode/schema/provider";
68
+ var ID7 = Provider.ID;
69
69
  var AISDK_PREFIX2 = "aisdk:";
70
70
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
71
71
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
206
206
  return result;
207
207
  }, new Map).values());
208
208
  }
209
- var Request3 = Provider.Request;
209
+ var Request2 = Provider.Request;
210
210
  var Compaction3 = Provider.Compaction;
211
211
  var Transport2 = Provider.Transport;
212
212
  var Settings2 = Provider.Settings;
213
- var Info27 = Provider.Info;
213
+ var Info19 = Provider.Info;
214
214
 
215
- class Service74 extends Context.Service()("@opencode/Provider") {
215
+ class Service55 extends Context.Service()("@opencode/Provider") {
216
216
  }
217
217
  var definitions = new WeakMap;
218
218
  function index(providerID, models) {
@@ -225,10 +225,10 @@ function index(providerID, models) {
225
225
  definitions.set(models, indexes);
226
226
  return result;
227
227
  }
228
- var layer = Layer.effect(Service74, Effect.gen(function* () {
228
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
229
229
  const bus = yield* Service83;
230
- const integrations = yield* Service75;
231
- const location = yield* Service77;
230
+ const integrations = yield* Service71;
231
+ const location = yield* Service80;
232
232
  const state = create3({
233
233
  name: "provider",
234
234
  initial: () => new Map,
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
239
239
  const current = records.get(id);
240
240
  if (current)
241
241
  return current;
242
- const added = { provider: Info27.empty(id), models: new Map };
242
+ const added = { provider: Info19.empty(id), models: new Map };
243
243
  records.set(id, added);
244
244
  maps.add(added.models);
245
245
  return added;
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
320
320
  const available = Array.from(records.values()).filter((record) => {
321
321
  if (record.provider.activation === "disabled")
322
322
  return false;
323
- const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
323
+ const integration = byID.get(record.provider.integrationID ?? ID12.make(record.provider.id));
324
324
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
325
325
  return false;
326
326
  if (record.provider.activation === "enabled")
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
346
346
  location: { directory: location.directory, workspaceID: location.workspaceID }
347
347
  });
348
348
  });
349
- yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
- return Service74.of({
349
+ yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
+ return Service55.of({
351
351
  transform: state.transform,
352
352
  reload: state.reload,
353
353
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
356
356
  snapshot
357
357
  });
358
358
  }));
359
- var node77 = makeLocationNode({ service: Service74, layer, deps: [node87, node78, node80] });
359
+ var node58 = makeLocationNode({ service: Service55, layer, deps: [node87, node75, node84] });
360
360
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
361
361
  const module = yield* Effect.tryPromise({
362
362
  try: () => {
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
616
616
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
617
617
  var decode = Schema2.decodeUnknownSync(Legacy);
618
618
 
619
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service74, node77, exports_provider3, Event16 };
619
+ export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info19, Service55, node58, exports_provider3, Event11 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service74
4
- } from "./worktree-904rfj5f.js";
3
+ Service55
4
+ } from "./bus-sphdp7rh.js";
5
5
  import {
6
- Service47
7
- } from "./worktree-m4b4b35v.js";
6
+ Service51
7
+ } from "./bus-g5cd0fse.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service74;
12
+ const providers = yield* Service55;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service47);
14
+ const service = yield* Effect.serviceOption(Service51);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info9
9
+ Info: () => Info10
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info9 = Schema.Struct({
12
+ var Info10 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info9 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info9, exports_skills };
21
+ export { Info10, exports_skills };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service47
3
- } from "./worktree-m4b4b35v.js";
2
+ Service51
3
+ } from "./bus-g5cd0fse.js";
4
4
  import {
5
- Service19
6
- } from "./worktree-gs4tkc79.js";
5
+ Service14
6
+ } from "./bus-f5gy8qwh.js";
7
7
  import {
8
8
  match2
9
- } from "./worktree-y1fvbwt7.js";
9
+ } from "./bus-y1fvbwt7.js";
10
10
  import {
11
11
  observe2
12
- } from "./worktree-qsdy395h.js";
12
+ } from "./bus-qsdy395h.js";
13
13
  import {
14
14
  __export
15
- } from "./worktree-9rqn6x4v.js";
15
+ } from "./bus-9rqn6x4v.js";
16
16
 
17
17
  // src/config/plugin/policy.ts
18
18
  var exports_policy = {};
19
19
  __export(exports_policy, {
20
20
  ConfigPolicyPlugin: () => exports_policy,
21
- Plugin: () => Plugin47
21
+ Plugin: () => Plugin37
22
22
  });
23
23
  import { define } from "@opencode/plugin/effect/plugin";
24
24
  import { Effect } from "effect";
25
- var Plugin47 = define({
25
+ var Plugin37 = define({
26
26
  id: "opencode.config.policy",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service47;
29
- const managed = yield* Service19;
28
+ const config = yield* Service51;
29
+ const managed = yield* Service14;
30
30
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
31
31
  const policies = () => {
32
32
  const organization = managed.current();
@@ -57,4 +57,4 @@ var Plugin47 = define({
57
57
  })
58
58
  });
59
59
 
60
- export { Plugin47, exports_policy };
60
+ export { Plugin37, exports_policy };