@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,21 +1,21 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter2 = {};
7
7
  __export(exports_formatter2, {
8
8
  ConfigFormatterV1: () => exports_formatter2,
9
- Entry: () => Entry3,
10
- Info: () => Info15
9
+ Entry: () => Entry4,
10
+ Info: () => Info14
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Entry3 = Schema.Struct({
13
+ var Entry4 = Schema.Struct({
14
14
  disabled: Schema.optional(Schema.Boolean),
15
15
  command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info14 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
20
20
 
21
- export { Entry3, Info15, exports_formatter2 };
21
+ export { Entry4, Info14, exports_formatter2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./bus-922hggd3.js";
4
4
  import {
5
- node82
6
- } from "./worktree-4yvz2rcy.js";
5
+ node86
6
+ } from "./bus-afed7ext.js";
7
7
  import {
8
- Service77,
9
- node80
10
- } from "./worktree-rqz00b65.js";
8
+ Service80,
9
+ node84
10
+ } from "./bus-em9x6te5.js";
11
11
  import {
12
12
  create3
13
- } from "./worktree-rdw6cm16.js";
13
+ } from "./bus-rdw6cm16.js";
14
14
  import {
15
- make12
16
- } from "./worktree-zqm7km32.js";
15
+ make18
16
+ } from "./bus-w3bkza1g.js";
17
17
  import {
18
18
  __export
19
- } from "./worktree-9rqn6x4v.js";
19
+ } from "./bus-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service28,
24
+ Service: () => Service48,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node31
26
+ node: () => node51
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service28 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service48 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service28, Effect.gen(function* () {
37
- const location = yield* Service77;
36
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
37
+ const location = yield* Service80;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make12;
39
+ const git = yield* make18;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service28.of({ ...state, directory: location.directory });
58
+ return Service48.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node31 = makeLocationNode({
61
- service: Service28,
60
+ var node51 = makeLocationNode({
61
+ service: Service48,
62
62
  layer,
63
- deps: [node80, Global.node, node82, FSUtil.node]
63
+ deps: [node84, Global.node, node86, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service28, node31, exports_strategies };
66
+ export { Service48, node51, exports_strategies };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./worktree-ym463w8f.js";
3
+ } from "./bus-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./worktree-922hggd3.js";
5
+ } from "./bus-922hggd3.js";
6
6
  import {
7
- Service49,
8
- node52
9
- } from "./worktree-pa033vv9.js";
7
+ Service68,
8
+ node71
9
+ } from "./bus-y7w7614s.js";
10
10
  import {
11
11
  Content2
12
- } from "./worktree-snbrpa5g.js";
12
+ } from "./bus-agsx0mxp.js";
13
13
  import {
14
14
  detect2
15
- } from "./worktree-3smtnn6g.js";
15
+ } from "./bus-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./worktree-9rqn6x4v.js";
18
+ } from "./bus-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service7,
36
+ Service: () => Service6,
37
37
  TextPage: () => TextPage2,
38
- node: () => node9,
38
+ node: () => node8,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service7, Effect.gen(function* () {
334
- const environment = yield* Service49;
335
- return Service7.of({
333
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
334
+ const environment = yield* Service68;
335
+ return Service6.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node9 = makeLocationNode({ service: Service7, layer, deps: [node52] });
340
+ var node8 = makeLocationNode({ service: Service6, layer, deps: [node71] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node8, exports_read_filesystem };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83
3
- } from "./worktree-r7y78zcv.js";
3
+ } from "./bus-hv4r7e9n.js";
4
4
  import {
5
5
  key2
6
- } from "./worktree-h6r3nrb9.js";
6
+ } from "./bus-8z00fdkb.js";
7
7
  import {
8
8
  Event20
9
- } from "./worktree-qv9g0gyx.js";
9
+ } from "./bus-xe5vrw40.js";
10
10
  import {
11
- ID14
12
- } from "./worktree-26300t6s.js";
11
+ ID12
12
+ } from "./bus-1yqpms3x.js";
13
13
  import {
14
- ID13,
15
- Service74
16
- } from "./worktree-904rfj5f.js";
14
+ ID7,
15
+ Service55
16
+ } from "./bus-sphdp7rh.js";
17
17
  import {
18
- load3,
19
- derive3
20
- } from "./worktree-n9c5x41c.js";
18
+ load2,
19
+ derive2
20
+ } from "./bus-qx04cptv.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID7.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service74;
29
+ const providers = yield* Service55;
30
30
  const bus = yield* Service83;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load3(baseURL, apiKey),
48
+ try: () => load2(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -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/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse4,
16
+ parse: () => parse5,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse4(input) {
42
+ function parse5(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse4(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse4(input);
75
+ const reference = parse5(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./worktree-2a5m3afh.js";
5
+ } from "./bus-2a5m3afh.js";
6
6
  import {
7
- Service77
8
- } from "./worktree-rqz00b65.js";
7
+ Service80
8
+ } from "./bus-em9x6te5.js";
9
9
  import {
10
- Service49
11
- } from "./worktree-pa033vv9.js";
10
+ Service68
11
+ } from "./bus-y7w7614s.js";
12
12
  import {
13
- Service72
14
- } from "./worktree-p7q1b1dk.js";
13
+ Service66
14
+ } from "./bus-ztrjg0dp.js";
15
15
  import {
16
- Service21,
16
+ Service13,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./worktree-nz0453qb.js";
19
+ } from "./bus-fzfr7wj6.js";
20
20
  import {
21
- Service62
22
- } from "./worktree-ykzz1t9e.js";
21
+ Service58
22
+ } from "./bus-hjsym5va.js";
23
23
  import {
24
- Service22,
24
+ Service19,
25
25
  resolvePath2
26
- } from "./worktree-w6dwg7gz.js";
26
+ } from "./bus-qxnq8tq5.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./worktree-6prwharc.js";
29
+ } from "./bus-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./worktree-9rqn6x4v.js";
32
+ } from "./bus-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input2,
39
- Output: () => Output2,
38
+ Input: () => Input3,
39
+ Output: () => Output3,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin18,
42
- name: () => name2,
43
- toModelContent: () => toModelContent2
41
+ Plugin: () => Plugin4,
42
+ name: () => name3,
43
+ toModelContent: () => toModelContent3
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name2 = "patch";
89
- var Input2 = Schema.Struct({
88
+ var name3 = "patch";
89
+ var Input3 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output2 = Schema.Struct({
99
+ var Output3 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent2 = (output) => [
103
+ var toModelContent3 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin18 = {
108
+ var Plugin4 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service49;
112
- const access = yield* Service22;
113
- const fileMutation = yield* Service21;
114
- const formatter = yield* Service72;
115
- const location = yield* Service77;
116
- const permission = yield* Service62;
111
+ const environment = yield* Service68;
112
+ const access = yield* Service19;
113
+ const fileMutation = yield* Service13;
114
+ const formatter = yield* Service66;
115
+ const location = yield* Service80;
116
+ const permission = yield* Service58;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name2,
118
+ name: name3,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input2,
122
- output: Output2,
121
+ input: Input3,
122
+ output: Output3,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin18 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent2(output),
269
+ content: toModelContent3(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name2, Input2, Applied2, Output2, toModelContent2, Plugin18, exports_patch };
329
+ export { name3, Input3, Applied2, Output3, toModelContent3, Plugin4, exports_patch };
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./worktree-3w5fmr99.js";
7
+ } from "./bus-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./worktree-k3c624dm.js";
11
+ } from "./bus-k3c624dm.js";
12
12
  import {
13
13
  create3
14
- } from "./worktree-rdw6cm16.js";
14
+ } from "./bus-rdw6cm16.js";
15
15
  import {
16
- Service67,
17
- node70
18
- } from "./worktree-h5m7e0fe.js";
16
+ Service46,
17
+ node48
18
+ } from "./bus-1nzh38e4.js";
19
19
  import {
20
- Service68,
21
- node71
22
- } from "./worktree-4a0nv7mx.js";
20
+ Service62,
21
+ node65
22
+ } from "./bus-ngts6ef0.js";
23
23
  import {
24
24
  match2
25
- } from "./worktree-y1fvbwt7.js";
25
+ } from "./bus-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./worktree-9rqn6x4v.js";
28
+ } from "./bus-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error5,
35
+ Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service66,
38
+ Service: () => Service45,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node69
41
+ node: () => node47
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service66 extends Context.Service()("@opencode/Tool") {
54
+ class Service45 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service66, Effect.gen(function* () {
57
- const hooks = yield* Service68;
58
- const image = yield* Service67;
56
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
57
+ const hooks = yield* Service62;
58
+ const image = yield* Service46;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service66.of({
187
+ return Service45.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node69 = makeLocationNode({
277
- service: Service66,
276
+ var node47 = makeLocationNode({
277
+ service: Service45,
278
278
  layer,
279
- deps: [node71, node70]
279
+ deps: [node65, node48]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service66, node69, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service45, node47, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./bus-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./worktree-5t3nmthw.js";
3
+ } from "./bus-5t3nmthw.js";
4
4
  import {
5
- Service55,
6
- node57
7
- } from "./worktree-qhmjmk1w.js";
5
+ Service43,
6
+ node45
7
+ } from "./bus-wqsgdcqx.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./bus-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate = {};
14
14
  __export(exports_generate, {
15
15
  Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service14,
17
+ Service: () => Service20,
18
18
  UnavailableError: () => UnavailableError2,
19
- layer: () => layer9,
20
- node: () => node17
19
+ layer: () => layer10,
20
+ node: () => node23
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -33,11 +33,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
33
33
  }) {
34
34
  }
35
35
 
36
- class Service14 extends Context.Service()("@opencode/Generate") {
36
+ class Service20 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer9 = Layer.effect(Service14, Effect.gen(function* () {
38
+ var layer10 = Layer.effect(Service20, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service55;
40
+ const resolver = yield* Service43;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -63,12 +63,12 @@ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
63
63
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service14.of({ text });
66
+ return Service20.of({ text });
67
67
  }));
68
- var node17 = makeLocationNode({
69
- service: Service14,
70
- layer: layer9,
71
- deps: [node57, llmClient2]
68
+ var node23 = makeLocationNode({
69
+ service: Service20,
70
+ layer: layer10,
71
+ deps: [node45, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError2, Service14, layer9, node17, exports_generate };
74
+ export { ModelSelectionError2, UnavailableError2, Service20, layer10, node23, exports_generate };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./worktree-3w5fmr99.js";
3
+ } from "./bus-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin13,
11
+ Plugin: () => Plugin26,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin13 = define({
18
+ var Plugin26 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin13, exports_tool_input_repair };
123
+ export { Plugin26, exports_tool_input_repair };