@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,115 +1,115 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./worktree-gs1aapz6.js";
4
+ } from "./bus-y9199srt.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
  VariantID2,
11
11
  Ref2,
12
- Service73,
13
- node76
14
- } from "./worktree-z3aggnr2.js";
12
+ Service54,
13
+ node57
14
+ } from "./bus-t27mf08w.js";
15
15
  import {
16
16
  ID10,
17
- Service65,
18
- node68
19
- } from "./worktree-tj8p0sq8.js";
17
+ Service63,
18
+ node66
19
+ } from "./bus-j1h3byjr.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./worktree-wxffcvth.js";
22
+ } from "./bus-r11ajgf0.js";
23
23
  import {
24
24
  combine2
25
- } from "./worktree-rhjbct0v.js";
25
+ } from "./bus-t550f9t1.js";
26
26
  import {
27
27
  provenance2
28
- } from "./worktree-dg2cj1yd.js";
28
+ } from "./bus-dg2cj1yd.js";
29
29
  import {
30
30
  entriesForRunner2
31
- } from "./worktree-2k8482vm.js";
31
+ } from "./bus-0dqwd4cc.js";
32
32
  import {
33
- Service64,
34
- node67
35
- } from "./worktree-348pjw7k.js";
33
+ Service60,
34
+ node63
35
+ } from "./bus-z1sxxdkt.js";
36
36
  import {
37
37
  merge2
38
- } from "./worktree-ykzz1t9e.js";
38
+ } from "./bus-hjsym5va.js";
39
39
  import {
40
40
  make13
41
- } from "./worktree-z4ygwn82.js";
41
+ } from "./bus-2qa74q4f.js";
42
42
  import {
43
- Service46,
44
- node49
45
- } from "./worktree-cqkjr9eb.js";
43
+ Service42,
44
+ node44
45
+ } from "./bus-r0w6vsbq.js";
46
46
  import {
47
- Service34,
48
- node38
49
- } from "./worktree-28rfmn1q.js";
47
+ Service30,
48
+ node33
49
+ } from "./bus-55w6e72n.js";
50
+ import {
51
+ Service45,
52
+ node47
53
+ } from "./bus-6m26j20e.js";
50
54
  import {
51
- Service66,
52
- node69
53
- } from "./worktree-97jrthbw.js";
55
+ Service27,
56
+ node30
57
+ } from "./bus-rrq388m2.js";
54
58
  import {
55
- Service38,
56
- node41
57
- } from "./worktree-r1qjztdq.js";
59
+ Service26,
60
+ node29
61
+ } from "./bus-8z39ygk9.js";
58
62
  import {
59
- Service32,
60
- node36
61
- } from "./worktree-dd33gdcs.js";
63
+ Service25,
64
+ node28
65
+ } from "./bus-4g1jr6f0.js";
62
66
  import {
63
- Service33,
67
+ Service34,
64
68
  node37
65
- } from "./worktree-4gy17at8.js";
69
+ } from "./bus-3hx80kcb.js";
66
70
  import {
67
- Service35,
68
- node39
69
- } from "./worktree-3dvng5ry.js";
71
+ Service28,
72
+ node32
73
+ } from "./bus-ztn1rgwm.js";
70
74
  import {
71
- Service36,
72
- node40
73
- } from "./worktree-qsj8tpbg.js";
75
+ Service31,
76
+ node34
77
+ } from "./bus-sg2nz0p0.js";
74
78
  import {
75
- Service40,
79
+ Service41,
76
80
  node43
77
- } from "./worktree-0bf3khfw.js";
78
- import {
79
- Service53,
80
- node55
81
- } from "./worktree-s1hq0v60.js";
81
+ } from "./bus-9x6sfjnn.js";
82
82
  import {
83
83
  __export
84
- } from "./worktree-9rqn6x4v.js";
84
+ } from "./bus-9rqn6x4v.js";
85
85
 
86
86
  // src/session/context.ts
87
87
  var exports_context = {};
88
88
  __export(exports_context, {
89
- Service: () => Service31,
89
+ Service: () => Service24,
90
90
  SessionContext: () => exports_context,
91
- node: () => node35
91
+ node: () => node27
92
92
  });
93
93
  import { Context, Effect, Layer } from "effect";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
- class Service31 extends Context.Service()("@opencode/SessionContext") {
95
+ class Service24 extends Context.Service()("@opencode/SessionContext") {
96
96
  }
97
- var layer = Layer.effect(Service31, Effect.gen(function* () {
98
- const agents = yield* Service65;
99
- const builtins = yield* Service34;
100
- const model = yield* Service73;
97
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
98
+ const agents = yield* Service63;
99
+ const builtins = yield* Service30;
100
+ const model = yield* Service54;
101
101
  const db = (yield* Service84).db;
102
- const discovery = yield* Service46;
103
- const entries = yield* Service36;
104
- const location = yield* Service77;
105
- const mcpInstructions = yield* Service32;
106
- const mcpTools = yield* Service38;
107
- const models = yield* Service53;
108
- const request = yield* Service40;
109
- const referenceInstructions = yield* Service33;
110
- const skillInstructions = yield* Service35;
111
- const store = yield* Service64;
112
- const registry = yield* Service66;
102
+ const discovery = yield* Service42;
103
+ const entries = yield* Service28;
104
+ const location = yield* Service80;
105
+ const mcpInstructions = yield* Service26;
106
+ const mcpTools = yield* Service27;
107
+ const models = yield* Service41;
108
+ const request = yield* Service31;
109
+ const referenceInstructions = yield* Service25;
110
+ const skillInstructions = yield* Service34;
111
+ const store = yield* Service60;
112
+ const registry = yield* Service45;
113
113
  const resolveModel = (session) => models.resolve(session, model.available);
114
114
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
115
115
  const agent = yield* agents.get(ID10.make("title"));
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
188
188
  tools: selection.tools
189
189
  };
190
190
  });
191
- return Service31.of({ select, load, resolveModel, selectTitle, request });
191
+ return Service24.of({ select, load, resolveModel, selectTitle, request });
192
192
  }));
193
193
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
194
- var node35 = makeLocationNode({
195
- service: Service31,
194
+ var node27 = makeLocationNode({
195
+ service: Service24,
196
196
  layer,
197
197
  deps: [
198
- node68,
199
- node76,
198
+ node66,
199
+ node57,
200
200
  node88,
201
- node38,
202
- node49,
203
- node40,
204
- node80,
205
- node36,
206
- node41,
207
- node37,
208
- node55,
201
+ node33,
202
+ node44,
203
+ node32,
204
+ node84,
205
+ node29,
206
+ node30,
207
+ node28,
209
208
  node43,
210
- node67,
211
- node39,
212
- node69
209
+ node34,
210
+ node63,
211
+ node37,
212
+ node47
213
213
  ]
214
214
  });
215
215
 
216
- export { Service31, node35, exports_context };
216
+ export { Service24, node27, exports_context };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured11,
11
- layer: () => layer25,
12
- make: () => make21,
13
- node: () => node84,
10
+ configured: () => configured7,
11
+ layer: () => layer21,
12
+ make: () => make17,
13
+ node: () => node49,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make21()
19
+ defaultValue: () => make17()
20
20
  });
21
- function make21(input = {}) {
21
+ function make17(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make21(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer25 = (input) => Layer.succeed(Metadata2, make21(input));
32
- var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer25(input), deps: [] });
33
- var node84 = configured11();
31
+ var layer21 = (input) => Layer.succeed(Metadata2, make17(input));
32
+ var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
33
+ var node49 = configured7();
34
34
 
35
- export { Metadata2, make21, useragent2, layer25, configured11, node84, exports_app };
35
+ export { Metadata2, make17, useragent2, layer21, configured7, node49, exports_app };
@@ -1,18 +1,18 @@
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
- Service22
9
- } from "./worktree-w6dwg7gz.js";
8
+ Service19
9
+ } from "./bus-qxnq8tq5.js";
10
10
  import {
11
- Service6
12
- } from "./worktree-ystnmmhc.js";
11
+ Service7
12
+ } from "./bus-bemfr8re.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./worktree-2a5m3afh.js";
15
+ } from "./bus-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,17 +23,17 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service7
27
- } from "./worktree-nppmj0x6.js";
26
+ Service6
27
+ } from "./bus-6b8rzn4m.js";
28
28
  import {
29
29
  __export
30
- } from "./worktree-9rqn6x4v.js";
30
+ } from "./bus-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
35
  Input: () => Input12,
36
- Plugin: () => Plugin30,
36
+ Plugin: () => Plugin15,
37
37
  ReadTool: () => exports_read,
38
38
  name: () => name12,
39
39
  toModelContent: () => toModelContent6
@@ -55,14 +55,14 @@ var LocationInput = Schema.Struct({
55
55
  });
56
56
  var Input12 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin30 = {
58
+ var Plugin15 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service7;
62
- const access = yield* Service22;
63
- const sessionInstructions = yield* Service6;
61
+ const reader = yield* Service6;
62
+ const access = yield* Service19;
63
+ const sessionInstructions = yield* Service7;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service77;
65
+ const location = yield* Service80;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
67
  name: name12,
68
68
  options: { codemode: false },
@@ -181,4 +181,4 @@ var toModelContent6 = (path, offset, output) => {
181
181
  `);
182
182
  };
183
183
 
184
- export { name12, Input12, Plugin30, toModelContent6, exports_read };
184
+ export { name12, Input12, Plugin15, toModelContent6, exports_read };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./worktree-szv3adj2.js";
5
+ } from "./bus-dmjj53sn.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./worktree-dpkg50ah.js";
3
+ } from "./bus-y71avatq.js";
4
4
  import {
5
- Service49,
6
- node52
7
- } from "./worktree-pa033vv9.js";
5
+ Service68,
6
+ node71
7
+ } from "./bus-y7w7614s.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./bus-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service21,
17
- node: () => node24,
16
+ Service: () => Service13,
17
+ node: () => node15,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service21 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service13 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service21, Effect.gen(function* () {
38
- const environment = yield* Service49;
37
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
38
+ const environment = yield* Service68;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service21.of({ withLock, write, writeTextPreservingBom });
59
+ return Service13.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node24 = makeLocationNode({ service: Service21, layer, deps: [node52] });
61
+ var node15 = makeLocationNode({ service: Service13, layer, deps: [node71] });
62
62
 
63
- export { Service21, readText2, syncTextBom2, node24, exports_file_mutation };
63
+ export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./worktree-r7y78zcv.js";
4
+ } from "./bus-hv4r7e9n.js";
5
5
  import {
6
6
  Event20,
7
- Service80,
8
- node83
9
- } from "./worktree-qv9g0gyx.js";
7
+ Service77,
8
+ node81
9
+ } from "./bus-xe5vrw40.js";
10
10
  import {
11
- Service48,
12
- node51
13
- } from "./worktree-92hycem4.js";
11
+ Service52,
12
+ node55
13
+ } from "./bus-efnkg68h.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./worktree-922hggd3.js";
16
+ } from "./bus-922hggd3.js";
17
17
  import {
18
- Service77,
19
- node80
20
- } from "./worktree-rqz00b65.js";
18
+ Service80,
19
+ node84
20
+ } from "./bus-em9x6te5.js";
21
21
  import {
22
22
  substitute2
23
- } from "./worktree-yrznvahk.js";
23
+ } from "./bus-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./worktree-rjb11c09.js";
26
+ } from "./bus-de1bg4a8.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./worktree-n2fk86tq.js";
30
+ } from "./bus-c11gs41e.js";
31
31
  import {
32
32
  plan2
33
- } from "./worktree-j56e64zr.js";
33
+ } from "./bus-j56e64zr.js";
34
34
  import {
35
- Service81,
36
- Event21,
37
- node85
38
- } from "./worktree-sr8hj6d6.js";
35
+ Service70,
36
+ Event15,
37
+ node74
38
+ } from "./bus-s29rvfdk.js";
39
39
  import {
40
40
  __export
41
- } from "./worktree-9rqn6x4v.js";
41
+ } from "./bus-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
47
  Options: () => Options7,
48
- Service: () => Service47,
48
+ Service: () => Service51,
49
49
  Test: () => Test2,
50
- configured: () => configured7,
50
+ configured: () => configured8,
51
51
  latest: () => latest2,
52
- layer: () => layer19,
53
- node: () => node50,
52
+ layer: () => layer22,
53
+ node: () => node54,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -71,7 +71,7 @@ var Options7 = Schema.Struct({
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service47 extends Context.Service()("@opencode/Config") {
74
+ class Service51 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service47, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service51, service), Context.add(Test2, service));
93
93
  }));
94
- var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
94
+ var layer22 = (options) => Layer.effect(Service51, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service77;
97
- const watcher = yield* Service48;
96
+ const location = yield* Service80;
97
+ const watcher = yield* Service52;
98
98
  const bus = yield* Service83;
99
- const credentials = yield* Service80;
99
+ const credentials = yield* Service77;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service81;
101
+ const wellknown = yield* Service70;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -222,7 +222,7 @@ var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
224
  yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event21.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -250,7 +250,7 @@ var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service47.of({
253
+ return Service51.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured7(options) {
265
+ function configured8(options) {
266
266
  return makeLocationNode({
267
- service: Service47,
268
- layer: layer19(options),
269
- deps: [node51, node87, FSUtil.node, Global.node, node80, node83, node85]
267
+ service: Service51,
268
+ layer: layer22(options),
269
+ deps: [node55, node87, FSUtil.node, Global.node, node84, node81, node74]
270
270
  });
271
271
  }
272
- var node50 = configured7();
272
+ var node54 = configured8();
273
273
 
274
- export { latest2, Options7, Service47, Test2, testLayer2, layer19, configured7, node50, exports_config };
274
+ export { latest2, Options7, Service51, Test2, testLayer2, layer22, configured8, node54, exports_config };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};