@opencode/core 0.0.0-dev-19755 → 0.0.0-dev-19758

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{variant-26k5bknw.js → bus-06dxphr1.js} +4 -4
  8. package/dist/chunks/{variant-6jmftpwx.js → bus-098d3mqp.js} +30 -30
  9. package/dist/chunks/{variant-9yhcv9e4.js → bus-0b0th7s4.js} +13 -13
  10. package/dist/chunks/{variant-6x7n2evt.js → bus-0c8m848g.js} +16 -16
  11. package/dist/chunks/{variant-ffy1vj08.js → bus-0cbj8ajh.js} +13 -13
  12. package/dist/chunks/{variant-b2946ah7.js → bus-0cm1nqy3.js} +17 -17
  13. package/dist/chunks/{variant-k4kk5nq6.js → bus-0j9y03t3.js} +43 -43
  14. package/dist/chunks/{variant-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{variant-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{variant-2z8j0phm.js → bus-0qzv51dm.js} +33 -33
  17. package/dist/chunks/{variant-yb7hxqky.js → bus-100ecgng.js} +7 -7
  18. package/dist/chunks/{variant-fjvydvzm.js → bus-10jtetaj.js} +4 -4
  19. package/dist/chunks/{variant-xqn5qrhj.js → bus-110m9arz.js} +15 -15
  20. package/dist/chunks/{variant-6tvncfhr.js → bus-17gne236.js} +4 -4
  21. package/dist/chunks/{variant-dwq6ryhm.js → bus-1956heqa.js} +8 -8
  22. package/dist/chunks/{variant-6jhhwrjj.js → bus-1c4h0esh.js} +6 -6
  23. package/dist/chunks/{variant-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{variant-gmdh372t.js → bus-1fn7qz6r.js} +11 -11
  25. package/dist/chunks/{variant-3ebgyt18.js → bus-1rfd4xxr.js} +2 -2
  26. package/dist/chunks/{variant-0gaj4617.js → bus-1s3p39g4.js} +4 -4
  27. package/dist/chunks/{variant-21r38tys.js → bus-21r38tys.js} +1 -1
  28. package/dist/chunks/{variant-2402vzrj.js → bus-2402vzrj.js} +1 -1
  29. package/dist/chunks/{variant-9p24bb7b.js → bus-25bb1hc4.js} +13 -13
  30. package/dist/chunks/{variant-zx9yds1z.js → bus-25trdgaf.js} +30 -30
  31. package/dist/chunks/{variant-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{variant-8gy6y1pp.js → bus-2chdexej.js} +17 -17
  33. package/dist/chunks/{variant-vmwh049b.js → bus-2e96adxv.js} +6 -6
  34. package/dist/chunks/bus-2h9152w8.js +252 -0
  35. package/dist/chunks/{variant-2k8khapm.js → bus-2k8khapm.js} +1 -1
  36. package/dist/chunks/{variant-hssa1mk1.js → bus-2msw9s5m.js} +11 -11
  37. package/dist/chunks/{variant-2vdhmmy2.js → bus-2r959258.js} +308 -308
  38. package/dist/chunks/{variant-1q4zsn8w.js → bus-2s6k9xab.js} +11 -11
  39. package/dist/chunks/{variant-s4wyphra.js → bus-2tth53p7.js} +34 -34
  40. package/dist/chunks/{variant-y6zv80t6.js → bus-2x1qdj5q.js} +11 -11
  41. package/dist/chunks/{variant-8b6mfqax.js → bus-33dbnsft.js} +9 -9
  42. package/dist/chunks/{variant-56gdpj1q.js → bus-33w4ejhs.js} +6 -6
  43. package/dist/chunks/{variant-2f0bjgcj.js → bus-37s12vcn.js} +5 -5
  44. package/dist/chunks/{variant-4y9pqhyv.js → bus-3838ekre.js} +4 -4
  45. package/dist/chunks/{variant-hwnqw730.js → bus-38ac530a.js} +8 -8
  46. package/dist/chunks/{variant-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{variant-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{variant-xy2jrymb.js → bus-3nse7x66.js} +20 -20
  49. package/dist/chunks/{variant-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{variant-3tq5qxbk.js → bus-3tq5qxbk.js} +2 -2
  51. package/dist/chunks/{variant-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{variant-29eh7px0.js → bus-441xk2wv.js} +5 -5
  53. package/dist/chunks/{variant-p3ewdwpp.js → bus-44jp0xn3.js} +12 -12
  54. package/dist/chunks/{variant-adze53zs.js → bus-456sctqq.js} +8 -8
  55. package/dist/chunks/{variant-htawzerg.js → bus-47xrm495.js} +82 -82
  56. package/dist/chunks/{variant-evnmj0gr.js → bus-4a6e8mmv.js} +19 -19
  57. package/dist/chunks/{variant-dgx4jdcd.js → bus-4bj7sh8v.js} +83 -83
  58. package/dist/chunks/{variant-34mngf15.js → bus-4fccdz1z.js} +47 -47
  59. package/dist/chunks/{variant-zf13v5ha.js → bus-4wmfdqaa.js} +17 -17
  60. package/dist/chunks/{variant-ztb7zmdv.js → bus-54spjwjz.js} +28 -28
  61. package/dist/chunks/{variant-5jq2p11x.js → bus-55xf98n8.js} +12 -12
  62. package/dist/chunks/{variant-57b9ws8p.js → bus-57b9ws8p.js} +1 -1
  63. package/dist/chunks/{variant-57ez7d0k.js → bus-57ez7d0k.js} +2 -2
  64. package/dist/chunks/{variant-mhk0nngs.js → bus-5bmybb02.js} +31 -31
  65. package/dist/chunks/{variant-5daktx2q.js → bus-5daktx2q.js} +1 -1
  66. package/dist/chunks/{variant-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{variant-wjzf10yw.js → bus-5y3kegep.js} +4 -4
  68. package/dist/chunks/bus-619r8v3y.js +18 -0
  69. package/dist/chunks/{variant-669tq793.js → bus-669tq793.js} +1 -1
  70. package/dist/chunks/{variant-erdgrhzk.js → bus-67mc9q1p.js} +8 -8
  71. package/dist/chunks/{variant-gxjafr90.js → bus-696j2597.js} +65 -65
  72. package/dist/chunks/{variant-yxc8j9am.js → bus-6b0wr2gn.js} +20 -20
  73. package/dist/chunks/bus-6kdq0pjd.js +4 -0
  74. package/dist/chunks/{variant-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{variant-2wt4q6sv.js → bus-6s3pmmk2.js} +8 -8
  76. package/dist/chunks/{variant-5c0a4jh2.js → bus-6vaawb56.js} +48 -48
  77. package/dist/chunks/{variant-bjmk25e5.js → bus-6xckhbd5.js} +22 -22
  78. package/dist/chunks/{variant-e07bhymk.js → bus-72macrbw.js} +55 -55
  79. package/dist/chunks/{variant-75knnh2w.js → bus-7azjdvpr.js} +11 -11
  80. package/dist/chunks/{variant-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{variant-r714qx8e.js → bus-7dz8p9xt.js} +32 -32
  82. package/dist/chunks/{variant-kd66rd8f.js → bus-7q2t57ev.js} +43 -43
  83. package/dist/chunks/{variant-k0crd1e0.js → bus-7qgwwy7f.js} +15 -15
  84. package/dist/chunks/{variant-wn00c1d4.js → bus-7vvypxen.js} +7 -7
  85. package/dist/chunks/{variant-5cmxdwv8.js → bus-7w99qc9d.js} +3 -3
  86. package/dist/chunks/{variant-dvyyk6h6.js → bus-7xx1524k.js} +44 -44
  87. package/dist/chunks/{variant-h71w788e.js → bus-82rhge12.js} +9 -9
  88. package/dist/chunks/{variant-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{variant-zav06jzw.js → bus-8gxqpgph.js} +4 -4
  90. package/dist/chunks/{variant-zes4m6vf.js → bus-8jr144xf.js} +9 -9
  91. package/dist/chunks/{variant-8p4f9s12.js → bus-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{variant-zg1tkmrp.js → bus-9bzaahhz.js} +26 -26
  93. package/dist/chunks/{variant-15nepkqg.js → bus-9c3np669.js} +8 -8
  94. package/dist/chunks/{variant-jarn1zxe.js → bus-9nepbqpa.js} +6 -6
  95. package/dist/chunks/{variant-a1bz86dw.js → bus-a1bz86dw.js} +3 -3
  96. package/dist/chunks/{variant-wc0ayt6v.js → bus-a471nxk4.js} +28 -28
  97. package/dist/chunks/{variant-szjxjngx.js → bus-a4rjqnpf.js} +11 -11
  98. package/dist/chunks/{variant-aaet6srn.js → bus-aaet6srn.js} +2 -2
  99. package/dist/chunks/{variant-nk6esdp9.js → bus-adq3kxc0.js} +5 -5
  100. package/dist/chunks/{variant-96te9d4b.js → bus-aeb4sny1.js} +5 -5
  101. package/dist/chunks/{variant-g6m037q6.js → bus-aeck6645.js} +8 -8
  102. package/dist/chunks/{variant-fyxezqnx.js → bus-ayg85fpn.js} +5 -5
  103. package/dist/chunks/{variant-m4nm25j0.js → bus-b4tzb99z.js} +6 -6
  104. package/dist/chunks/{variant-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{variant-b97cbvw3.js → bus-bz85s9hh.js} +1 -1
  106. package/dist/chunks/{variant-c99jbp8g.js → bus-c019crvg.js} +14 -14
  107. package/dist/chunks/{variant-84eerp93.js → bus-c4mstr5p.js} +1 -1
  108. package/dist/chunks/{variant-hx8ybye2.js → bus-c7beamen.js} +10 -10
  109. package/dist/chunks/{variant-k2h4r4s0.js → bus-cavr175a.js} +4 -4
  110. package/dist/chunks/{variant-cfpkc3c9.js → bus-cfpkc3c9.js} +2 -2
  111. package/dist/chunks/{variant-tfsrmy5e.js → bus-ck8c2f3r.js} +26 -26
  112. package/dist/chunks/{variant-mnpyady4.js → bus-cktevt8v.js} +51 -51
  113. package/dist/chunks/{variant-djszqvmq.js → bus-cwa6csj7.js} +9 -9
  114. package/dist/chunks/{variant-zrjh3the.js → bus-cwbe6ym8.js} +13 -13
  115. package/dist/chunks/{variant-rbwerdtn.js → bus-cyg049pt.js} +5 -5
  116. package/dist/chunks/{variant-sd7tgwdz.js → bus-d3s8mw9x.js} +28 -28
  117. package/dist/chunks/{variant-myd99ydh.js → bus-d4g3vwm5.js} +21 -21
  118. package/dist/chunks/{variant-983aazre.js → bus-d5j16axh.js} +15 -15
  119. package/dist/chunks/{variant-11r4b5ha.js → bus-d6mgh4yr.js} +11 -11
  120. package/dist/chunks/{variant-42cx3bd5.js → bus-d84x1h8e.js} +32 -32
  121. package/dist/chunks/{variant-zk79tsjd.js → bus-dapfwjck.js} +28 -28
  122. package/dist/chunks/{variant-a24cc65p.js → bus-dc69t32x.js} +11 -11
  123. package/dist/chunks/{variant-wa6z1zpc.js → bus-dg3w1nd5.js} +3 -3
  124. package/dist/chunks/{variant-h424sj19.js → bus-dpehwp0a.js} +13 -13
  125. package/dist/chunks/{variant-z4n77hj8.js → bus-dq56eeb5.js} +20 -20
  126. package/dist/chunks/{variant-1v4r0pjr.js → bus-drwba54j.js} +14 -14
  127. package/dist/chunks/{variant-cmwkp3r5.js → bus-dv1qgsyq.js} +8 -8
  128. package/dist/chunks/{variant-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{variant-erw5rpbs.js → bus-erw5rpbs.js} +2 -2
  130. package/dist/chunks/{variant-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{variant-x3a9b0cv.js → bus-ezbx256a.js} +32 -32
  132. package/dist/chunks/{variant-s1kf21y0.js → bus-f010ntnv.js} +27 -27
  133. package/dist/chunks/{variant-8n2ngqz1.js → bus-f4sjgpj8.js} +40 -40
  134. package/dist/chunks/{variant-qe7hh5pt.js → bus-f57shvpt.js} +33 -33
  135. package/dist/chunks/{variant-f828m53h.js → bus-f828m53h.js} +2 -2
  136. package/dist/chunks/{variant-e9nwq02x.js → bus-fbwcgawc.js} +11 -11
  137. package/dist/chunks/{variant-re8h066d.js → bus-feyb32n1.js} +24 -24
  138. package/dist/chunks/{variant-ez8khb7t.js → bus-ff8g97f7.js} +8 -8
  139. package/dist/chunks/{variant-yv1wsmnb.js → bus-fp3b2tyn.js} +24 -24
  140. package/dist/chunks/{variant-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{variant-2f02t6at.js → bus-g0b57gve.js} +43 -43
  142. package/dist/chunks/{variant-qa3qhgw8.js → bus-g8d3gcyj.js} +7 -7
  143. package/dist/chunks/{variant-e4g5679w.js → bus-gbhek550.js} +13 -13
  144. package/dist/chunks/{variant-m7yrkyxp.js → bus-gcsw9y0t.js} +8 -8
  145. package/dist/chunks/{variant-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{variant-g3ca0se1.js → bus-ge6x8gv9.js} +17 -17
  147. package/dist/chunks/{variant-768gsh1v.js → bus-gf7f2369.js} +5 -5
  148. package/dist/chunks/{variant-6n4b0dsb.js → bus-gffqj91w.js} +9 -9
  149. package/dist/chunks/{variant-m7qewpwr.js → bus-gm7vvz5v.js} +17 -17
  150. package/dist/chunks/{variant-k3an9tzv.js → bus-gn047571.js} +28 -28
  151. package/dist/chunks/{variant-g5x3nt1n.js → bus-gprn4qe6.js} +28 -28
  152. package/dist/chunks/{variant-13dh974y.js → bus-gv0zjanc.js} +2 -2
  153. package/dist/chunks/{variant-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{variant-r75q3gpe.js → bus-h3g6m2mf.js} +1 -1
  155. package/dist/chunks/{variant-9pe9ne7r.js → bus-h4sy77rb.js} +19 -19
  156. package/dist/chunks/{variant-44h5tttr.js → bus-h6r3nrb9.js} +4 -4
  157. package/dist/chunks/{variant-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{variant-h6jr292a.js → bus-h6z8d5tn.js} +4 -4
  159. package/dist/chunks/{variant-p41gq7r8.js → bus-h8j3vz9y.js} +9 -9
  160. package/dist/chunks/{variant-hq8zt1th.js → bus-hdab2k61.js} +5 -5
  161. package/dist/chunks/{variant-1cac7wev.js → bus-hdf6015e.js} +41 -41
  162. package/dist/chunks/{variant-gvkpq563.js → bus-heexpby2.js} +17 -17
  163. package/dist/chunks/{variant-bha4atvq.js → bus-hfdr1yjj.js} +4 -4
  164. package/dist/chunks/{variant-46q9e2t6.js → bus-hjbpbmpy.js} +25 -25
  165. package/dist/chunks/{variant-6346gqxg.js → bus-hmhpv68n.js} +11 -11
  166. package/dist/chunks/{variant-qte5z7bc.js → bus-hnr5yq9h.js} +5 -5
  167. package/dist/chunks/{variant-fzcazhxe.js → bus-hrns00hc.js} +3 -3
  168. package/dist/chunks/{variant-j56e64zr.js → bus-j56e64zr.js} +1 -1
  169. package/dist/chunks/{variant-vt81eaed.js → bus-j8ajybmk.js} +13 -13
  170. package/dist/chunks/{variant-j07j1cdh.js → bus-ja2b05k4.js} +32 -32
  171. package/dist/chunks/{variant-a5ypbz75.js → bus-jj64m3ds.js} +5 -5
  172. package/dist/chunks/{variant-fpy7bqj6.js → bus-jjapnhx6.js} +3 -3
  173. package/dist/chunks/{variant-5waazmq4.js → bus-jzy2rg4w.js} +14 -14
  174. package/dist/chunks/{variant-9eqcqd4c.js → bus-kcdjsgm9.js} +7 -7
  175. package/dist/chunks/{variant-r9h5kjxq.js → bus-kg0nn6m1.js} +3 -3
  176. package/dist/chunks/{variant-69eyqcz3.js → bus-kmphysr3.js} +15 -15
  177. package/dist/chunks/{variant-ka5jcpbb.js → bus-kprffh1k.js} +12 -12
  178. package/dist/chunks/{variant-10x51kd0.js → bus-m2btv783.js} +11 -11
  179. package/dist/chunks/{variant-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
  180. package/dist/chunks/bus-m5kkt6zs.js +26 -0
  181. package/dist/chunks/{variant-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{variant-aztr3m3n.js → bus-mc494fkv.js} +19 -19
  183. package/dist/chunks/{variant-73tb2d7t.js → bus-mhkvc446.js} +3 -3
  184. package/dist/chunks/{variant-rhq1evez.js → bus-mmj3etnc.js} +11 -11
  185. package/dist/chunks/{variant-vvza37g4.js → bus-mvr5bn4j.js} +12 -12
  186. package/dist/chunks/{variant-6x3sne5z.js → bus-mxg2czg2.js} +17 -17
  187. package/dist/chunks/{variant-t0d015xz.js → bus-n1y7d7jv.js} +5 -5
  188. package/dist/chunks/{variant-hpwhafhw.js → bus-n3akjfbb.js} +3 -3
  189. package/dist/chunks/{variant-2wehargz.js → bus-n4avssqr.js} +24 -24
  190. package/dist/chunks/{variant-1y283654.js → bus-nb9p6b26.js} +4 -4
  191. package/dist/chunks/{variant-stb6pav1.js → bus-nbtewark.js} +15 -15
  192. package/dist/chunks/{variant-1r23n6jg.js → bus-nkcyb48x.js} +32 -32
  193. package/dist/chunks/{variant-vmgq4x8b.js → bus-nng2ktcm.js} +2 -2
  194. package/dist/chunks/{variant-9bm1wkqx.js → bus-ns2eanfy.js} +23 -23
  195. package/dist/chunks/{variant-baqjdnwk.js → bus-nzeerxgc.js} +10 -10
  196. package/dist/chunks/{variant-nzks3jc8.js → bus-nzks3jc8.js} +3 -3
  197. package/dist/chunks/{variant-4r2cc09n.js → bus-p139kq9c.js} +22 -22
  198. package/dist/chunks/{variant-p28j5sbe.js → bus-p28j5sbe.js} +2 -2
  199. package/dist/chunks/{variant-8bpqntr2.js → bus-p7r1y5kx.js} +3 -3
  200. package/dist/chunks/{variant-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{variant-pknna89w.js → bus-pknna89w.js} +1 -1
  202. package/dist/chunks/{variant-8tskyc8r.js → bus-pykab6j4.js} +11 -11
  203. package/dist/chunks/{variant-05r119gk.js → bus-q4jz9h3x.js} +23 -23
  204. package/dist/chunks/{variant-0fzt54dc.js → bus-q6a741vd.js} +6 -6
  205. package/dist/chunks/{variant-sz1t3jvt.js → bus-q6gqpcae.js} +10 -10
  206. package/dist/chunks/{variant-c8phhc0k.js → bus-q9jgfmem.js} +28 -28
  207. package/dist/chunks/{variant-e72xwpbb.js → bus-qbfpstdc.js} +11 -11
  208. package/dist/chunks/{variant-6fza86b1.js → bus-qf472px8.js} +25 -25
  209. package/dist/chunks/{variant-nq7qbqzc.js → bus-qg0jgkcp.js} +9 -9
  210. package/dist/chunks/{variant-k5vfzq67.js → bus-qgw0maww.js} +25 -25
  211. package/dist/chunks/{variant-jcxa0jkb.js → bus-qhxefk9a.js} +14 -14
  212. package/dist/chunks/{variant-52xvjhmr.js → bus-qr8h26wd.js} +11 -11
  213. package/dist/chunks/{variant-qsdy395h.js → bus-qsdy395h.js} +1 -1
  214. package/dist/chunks/{variant-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{variant-fwpce522.js → bus-rfj6pkw1.js} +33 -33
  216. package/dist/chunks/{variant-r4zbqzs6.js → bus-rhykyrb3.js} +16 -16
  217. package/dist/chunks/{variant-da92w30y.js → bus-rped87jq.js} +38 -38
  218. package/dist/chunks/{variant-czncv1dn.js → bus-rvgr0dnq.js} +3 -3
  219. package/dist/chunks/{variant-b1nwpeh8.js → bus-s0fe0qa9.js} +9 -9
  220. package/dist/chunks/{variant-eaj1djv9.js → bus-s8d7rejh.js} +6 -6
  221. package/dist/chunks/{variant-b5f1m11j.js → bus-saatj7sj.js} +11 -11
  222. package/dist/chunks/{variant-9wdbzsk5.js → bus-sgz639f1.js} +20 -20
  223. package/dist/chunks/{variant-3as10fz9.js → bus-sscd0z9x.js} +4 -4
  224. package/dist/chunks/{variant-aqrscnf9.js → bus-sskj22e4.js} +32 -32
  225. package/dist/chunks/{variant-mrz9s6e6.js → bus-t2ps0g64.js} +9 -9
  226. package/dist/chunks/{variant-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{variant-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{variant-dmzb2kh1.js → bus-td6h23sg.js} +8 -8
  229. package/dist/chunks/{variant-tdstcens.js → bus-tdstcens.js} +1 -1
  230. package/dist/chunks/{variant-aqagt0xn.js → bus-tehawftv.js} +19 -19
  231. package/dist/chunks/{variant-wnedv2xw.js → bus-tggcyvkj.js} +20 -20
  232. package/dist/chunks/{variant-tvtrv512.js → bus-tvtrv512.js} +1 -1
  233. package/dist/chunks/{variant-2zph646v.js → bus-v9j9833d.js} +6 -6
  234. package/dist/chunks/{variant-87b5ab83.js → bus-vbs1nqmn.js} +22 -22
  235. package/dist/chunks/{variant-veqvce7d.js → bus-veqvce7d.js} +1 -1
  236. package/dist/chunks/{variant-r17hastf.js → bus-vgmgvddh.js} +26 -26
  237. package/dist/chunks/{variant-pmr4s4kc.js → bus-vncycja5.js} +4 -4
  238. package/dist/chunks/{variant-qf1qmhmd.js → bus-vskbemtc.js} +34 -34
  239. package/dist/chunks/{variant-qatfm6ce.js → bus-vy4e6tmv.js} +24 -24
  240. package/dist/chunks/{variant-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
  241. package/dist/chunks/{variant-amt6wfs0.js → bus-w0ksh1wc.js} +42 -42
  242. package/dist/chunks/{variant-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{variant-qr62dt95.js → bus-wb3k4ach.js} +5 -5
  244. package/dist/chunks/{variant-wd87259q.js → bus-wd87259q.js} +1 -1
  245. package/dist/chunks/{variant-he5m8xjt.js → bus-whw3a6ka.js} +12 -12
  246. package/dist/chunks/{variant-zwzbmaqk.js → bus-wz82dyvb.js} +18 -18
  247. package/dist/chunks/{variant-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  248. package/dist/chunks/{variant-2eegacq4.js → bus-x353b1jt.js} +8 -8
  249. package/dist/chunks/{variant-q9qvx5k4.js → bus-x4aqctta.js} +4 -4
  250. package/dist/chunks/{variant-0154zt3t.js → bus-x7ksmd0v.js} +174 -174
  251. package/dist/chunks/{variant-dw7gtyxg.js → bus-xee2b91r.js} +12 -12
  252. package/dist/chunks/{variant-xf9f43sm.js → bus-xfe7h115.js} +20 -20
  253. package/dist/chunks/{variant-mx4tgcxr.js → bus-xj3yf2be.js} +18 -18
  254. package/dist/chunks/{variant-d9j1s0dk.js → bus-xjk1tc7r.js} +22 -22
  255. package/dist/chunks/{variant-nm2vgw0w.js → bus-xm4abfw6.js} +25 -25
  256. package/dist/chunks/{variant-yf0xe7xe.js → bus-xrfzp3qw.js} +23 -23
  257. package/dist/chunks/{variant-msy9kxmj.js → bus-xxbvdv54.js} +9 -9
  258. package/dist/chunks/{variant-x14pzsvy.js → bus-xxq58sya.js} +12 -12
  259. package/dist/chunks/{variant-w5b9s23p.js → bus-y05z3yvm.js} +30 -30
  260. package/dist/chunks/{variant-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  261. package/dist/chunks/{variant-gmjq4p6e.js → bus-y5df08dr.js} +12 -12
  262. package/dist/chunks/{variant-y71avatq.js → bus-y71avatq.js} +1 -1
  263. package/dist/chunks/{variant-m6j00t72.js → bus-y7nx0r49.js} +22 -22
  264. package/dist/chunks/{variant-xdkvt8cn.js → bus-ya6jt93q.js} +9 -9
  265. package/dist/chunks/{variant-61kgnza5.js → bus-yeh1225a.js} +26 -26
  266. package/dist/chunks/{variant-xzgc5d6v.js → bus-ymh54tbp.js} +19 -19
  267. package/dist/chunks/{variant-r8xr0va3.js → bus-yp2x3t23.js} +4 -4
  268. package/dist/chunks/{variant-n2k4sx1d.js → bus-ypmjrw8q.js} +36 -36
  269. package/dist/chunks/{variant-p5ckrkz6.js → bus-yqmax6eh.js} +4 -4
  270. package/dist/chunks/{variant-pembkt64.js → bus-yqphrj09.js} +4 -4
  271. package/dist/chunks/{variant-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{variant-yrznvahk.js → bus-yrznvahk.js} +2 -2
  273. package/dist/chunks/{variant-nxhqveyz.js → bus-yt0fqk68.js} +5 -5
  274. package/dist/chunks/{variant-mz4hn5fn.js → bus-yyhbbs14.js} +10 -10
  275. package/dist/chunks/{variant-kjrb6qxe.js → bus-yzrekgkv.js} +5 -5
  276. package/dist/chunks/{variant-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{variant-r176d7a5.js → bus-z2m37x9y.js} +12 -12
  278. package/dist/chunks/{variant-br86fby1.js → bus-z45f81hm.js} +14 -14
  279. package/dist/chunks/{variant-z63w68vq.js → bus-z63w68vq.js} +2 -2
  280. package/dist/chunks/{variant-rcn97vet.js → bus-za9cx4qh.js} +8 -8
  281. package/dist/chunks/{variant-y6gtwkkz.js → bus-zawb9p3e.js} +3 -3
  282. package/dist/chunks/{variant-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{variant-t679ksrz.js → bus-zk0vgq9k.js} +14 -14
  284. package/dist/chunks/{variant-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{variant-bc17bezm.js → bus-ztvng5ec.js} +16 -16
  286. package/dist/chunks/{variant-nr5pr1ka.js → bus-zvtp3jyd.js} +28 -28
  287. package/dist/chunks/{variant-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +3 -3
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +84 -84
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +124 -124
  297. package/dist/config/plugin/command.js +213 -213
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +124 -124
  305. package/dist/config/plugin/mcp.js +131 -131
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +122 -122
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +143 -143
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +125 -125
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +121 -121
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +84 -84
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +364 -364
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +92 -92
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +73 -73
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +226 -226
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +101 -101
  427. package/dist/form.js +83 -83
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +100 -100
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +90 -90
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +3 -3
  455. package/dist/instance.js +355 -355
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +133 -133
  465. package/dist/location-lifecycle.js +105 -105
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +80 -80
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +125 -125
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +97 -97
  478. package/dist/model.js +99 -99
  479. package/dist/models-dev.js +106 -106
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +81 -81
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +112 -112
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +85 -85
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +103 -103
  490. package/dist/plugin/command.js +100 -100
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai.js +91 -91
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +140 -140
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +345 -345
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +228 -228
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +79 -79
  557. package/dist/provider.js +100 -100
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +97 -97
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +86 -86
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +94 -94
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +133 -133
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +222 -222
  578. package/dist/session/execution.js +125 -125
  579. package/dist/session/generate.js +150 -150
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +85 -85
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +76 -76
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +228 -228
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +95 -95
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +113 -113
  602. package/dist/session/runner/step.js +123 -123
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +169 -169
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +209 -209
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +149 -149
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +216 -216
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +215 -215
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +15 -15
  623. package/dist/shell.js +137 -137
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +106 -106
  626. package/dist/skill.js +109 -109
  627. package/dist/snapshot.js +92 -92
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +124 -124
  632. package/dist/tool/plugin/edit.js +119 -119
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +123 -123
  635. package/dist/tool/plugin/grep.js +123 -123
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +121 -121
  638. package/dist/tool/plugin/question.js +102 -102
  639. package/dist/tool/plugin/read.js +122 -122
  640. package/dist/tool/plugin/shell.js +214 -214
  641. package/dist/tool/plugin/skill.js +110 -110
  642. package/dist/tool/plugin/subagent.js +212 -212
  643. package/dist/tool/plugin/webfetch.js +109 -109
  644. package/dist/tool/plugin/websearch.js +105 -105
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +12 -12
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/formatter.js +3 -3
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +3 -3
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +1 -1
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +92 -92
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +83 -83
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +80 -80
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +95 -95
  690. package/package.json +8 -8
  691. package/dist/chunks/variant-0mesazry.js +0 -4
  692. package/dist/chunks/variant-by5v678g.js +0 -18
  693. package/dist/chunks/variant-pget6tg7.js +0 -252
  694. package/dist/chunks/variant-xt9w0car.js +0 -26
  695. /package/dist/chunks/{variant-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{variant-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{variant-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{variant-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{variant-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{variant-24dcb14g.js → bus-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{variant-2710q6r3.js → bus-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{variant-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{variant-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{variant-359p4xyc.js → bus-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{variant-3asan66x.js → bus-3asan66x.js} +0 -0
  706. /package/dist/chunks/{variant-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{variant-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{variant-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{variant-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{variant-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{variant-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{variant-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{variant-53557ph1.js → bus-53557ph1.js} +0 -0
  714. /package/dist/chunks/{variant-550bvhaj.js → bus-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{variant-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{variant-6prwharc.js → bus-6prwharc.js} +0 -0
  717. /package/dist/chunks/{variant-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{variant-7m9af43g.js → bus-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{variant-822emrt2.js → bus-822emrt2.js} +0 -0
  720. /package/dist/chunks/{variant-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{variant-8n3pysct.js → bus-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{variant-922hggd3.js → bus-922hggd3.js} +0 -0
  723. /package/dist/chunks/{variant-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{variant-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{variant-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{variant-af5trqkr.js → bus-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{variant-afrmfg78.js → bus-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{variant-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{variant-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{variant-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{variant-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{variant-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{variant-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{variant-d9fn303g.js → bus-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{variant-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{variant-dajrwvna.js → bus-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{variant-dap0rakb.js → bus-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{variant-df08tz66.js → bus-df08tz66.js} +0 -0
  739. /package/dist/chunks/{variant-dy18nga0.js → bus-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{variant-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{variant-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{variant-ec1grn59.js → bus-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{variant-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{variant-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{variant-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{variant-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{variant-faypxj3z.js → bus-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{variant-fd410y7t.js → bus-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{variant-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{variant-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{variant-g86h250q.js → bus-g86h250q.js} +0 -0
  752. /package/dist/chunks/{variant-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{variant-gftt206x.js → bus-gftt206x.js} +0 -0
  754. /package/dist/chunks/{variant-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{variant-hk9envan.js → bus-hk9envan.js} +0 -0
  756. /package/dist/chunks/{variant-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{variant-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{variant-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{variant-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{variant-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{variant-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{variant-mp448xyj.js → bus-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{variant-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{variant-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{variant-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{variant-njntx4h6.js → bus-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{variant-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{variant-q74kybfr.js → bus-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{variant-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{variant-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{variant-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{variant-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{variant-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{variant-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{variant-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{variant-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{variant-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{variant-twg0f83k.js → bus-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{variant-w803qqfp.js → bus-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{variant-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{variant-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{variant-wtztk69x.js → bus-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{variant-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{variant-x61499pn.js → bus-x61499pn.js} +0 -0
  785. /package/dist/chunks/{variant-y44na4kk.js → bus-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{variant-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{variant-y8f7s663.js → bus-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{variant-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{variant-ym463w8f.js → bus-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{variant-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service83
3
- } from "./variant-y6gtwkkz.js";
3
+ } from "./bus-zawb9p3e.js";
4
4
  import {
5
- Service81
6
- } from "./variant-p3ewdwpp.js";
5
+ Service82
6
+ } from "./bus-44jp0xn3.js";
7
7
  import {
8
- Service50
9
- } from "./variant-hq8zt1th.js";
8
+ Service51
9
+ } from "./bus-hdab2k61.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./variant-fxbjtjnd.js";
12
+ } from "./bus-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./variant-gftt206x.js";
15
+ } from "./bus-gftt206x.js";
16
16
  import {
17
- NotFoundError10,
17
+ NotFoundError8,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./variant-vmwh049b.js";
23
+ } from "./bus-2e96adxv.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./variant-ec1grn59.js";
26
+ } from "./bus-ec1grn59.js";
27
27
  import {
28
- Service75
29
- } from "./variant-5waazmq4.js";
28
+ Service62
29
+ } from "./bus-jzy2rg4w.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service49
34
- } from "./variant-re8h066d.js";
33
+ Service50
34
+ } from "./bus-feyb32n1.js";
35
35
  import {
36
- Service47
37
- } from "./variant-da92w30y.js";
36
+ Service48
37
+ } from "./bus-rped87jq.js";
38
38
  import {
39
39
  prepare2
40
- } from "./variant-6x7n2evt.js";
40
+ } from "./bus-0c8m848g.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./variant-9bm1wkqx.js";
45
+ } from "./bus-ns2eanfy.js";
46
46
  import {
47
47
  start2
48
- } from "./variant-p41gq7r8.js";
48
+ } from "./bus-h8j3vz9y.js";
49
49
  import {
50
50
  get4
51
- } from "./variant-xdkvt8cn.js";
51
+ } from "./bus-ya6jt93q.js";
52
52
  import {
53
53
  __export
54
- } from "./variant-9rqn6x4v.js";
54
+ } from "./bus-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  var make13 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service81;
66
+ const bus = yield* Service82;
67
67
  const database = yield* Service83;
68
- const store = yield* Service75;
69
- const instances = yield* Service50;
70
- const execution = yield* Service47;
71
- const admission = yield* Service49;
68
+ const store = yield* Service62;
69
+ const instances = yield* Service51;
70
+ const execution = yield* Service48;
71
+ const admission = yield* Service50;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError10({ sessionID });
77
+ return yield* new NotFoundError8({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service50, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service51, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service50, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service51, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service50, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service51, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service83, database), Effect.provideService(Service81, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service81, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service82, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./variant-922hggd3.js";
4
+ } from "./bus-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./variant-5cmxdwv8.js";
7
+ } from "./bus-7w99qc9d.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service83
3
- } from "./variant-y6gtwkkz.js";
3
+ } from "./bus-zawb9p3e.js";
4
4
  import {
5
- Service81
6
- } from "./variant-p3ewdwpp.js";
5
+ Service82
6
+ } from "./bus-44jp0xn3.js";
7
7
  import {
8
- Service50
9
- } from "./variant-hq8zt1th.js";
8
+ Service51
9
+ } from "./bus-hdab2k61.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./variant-922hggd3.js";
12
+ } from "./bus-922hggd3.js";
13
13
  import {
14
- ID4,
15
- Service36
16
- } from "./variant-zx9yds1z.js";
14
+ ID11,
15
+ Service66
16
+ } from "./bus-25trdgaf.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./variant-ec1grn59.js";
19
+ } from "./bus-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./variant-gftt206x.js";
22
+ } from "./bus-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./variant-vmwh049b.js";
25
+ } from "./bus-2e96adxv.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./variant-a1bz86dw.js";
28
+ } from "./bus-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./variant-9rqn6x4v.js";
31
+ } from "./bus-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service50;
45
+ const instances = yield* Service51;
46
46
  const database = yield* Service83;
47
- const bus = yield* Service81;
47
+ const bus = yield* Service82;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service36;
50
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service66;
50
+ const original = input.session.revert?.snapshot ? ID11.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service50;
78
- const bus = yield* Service81;
77
+ const instances = yield* Service51;
78
+ const bus = yield* Service82;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service36;
80
+ const snapshot = yield* Service66;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID11.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID4.make(message.snapshot.start));
114
+ files.set(file, ID11.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID8
3
- } from "./variant-w5b9s23p.js";
2
+ ID12
3
+ } from "./bus-y05z3yvm.js";
4
4
  import {
5
- Service62
6
- } from "./variant-k4kk5nq6.js";
5
+ Service44
6
+ } from "./bus-0j9y03t3.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./variant-6jhhwrjj.js";
9
+ } from "./bus-1c4h0esh.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service62;
29
+ const config = yield* Service44;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  providers.models.update(providerID, item.id, (model) => {
56
- model.modelID = ID8.make(item.id);
56
+ model.modelID = ID12.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make8();
115
+ var VLLMPlugin2 = make5();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make8, VLLMPlugin2 };
137
+ export { make5, VLLMPlugin2 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./variant-3w5fmr99.js";
4
+ } from "./bus-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./variant-m3fdjcah.js";
8
+ } from "./bus-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./variant-9rqn6x4v.js";
11
+ } from "./bus-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./variant-922hggd3.js";
3
+ } from "./bus-922hggd3.js";
4
4
  import {
5
5
  Service79
6
- } from "./variant-3ebgyt18.js";
6
+ } from "./bus-1rfd4xxr.js";
7
7
  import {
8
- Service72
9
- } from "./variant-stb6pav1.js";
8
+ Service26
9
+ } from "./bus-nbtewark.js";
10
10
  import {
11
- Service8
12
- } from "./variant-evnmj0gr.js";
11
+ Service5
12
+ } from "./bus-4a6e8mmv.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./variant-2a5m3afh.js";
15
+ } from "./bus-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service9
27
- } from "./variant-xqn5qrhj.js";
26
+ Service6
27
+ } from "./bus-110m9arz.js";
28
28
  import {
29
29
  __export
30
- } from "./variant-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
- Input: () => Input5,
36
- Plugin: () => Plugin6,
35
+ Input: () => Input9,
36
+ Plugin: () => Plugin11,
37
37
  ReadTool: () => exports_read,
38
- name: () => name5,
38
+ name: () => name9,
39
39
  toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name5 = "read";
45
+ var name9 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input5 = LocationInput;
56
+ var Input9 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin6 = {
58
+ var Plugin11 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service9;
62
- const access = yield* Service72;
63
- const sessionInstructions = yield* Service8;
61
+ const reader = yield* Service6;
62
+ const access = yield* Service26;
63
+ const sessionInstructions = yield* Service5;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service79;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name5,
67
+ name: name9,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input5,
70
+ input: Input9,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -180,4 +180,4 @@ var toModelContent4 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name5, Input5, Plugin6, toModelContent4, exports_read };
183
+ export { name9, Input9, Plugin11, toModelContent4, exports_read };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./variant-gftt206x.js";
3
+ } from "./bus-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./variant-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./variant-emrn6kk6.js";
3
+ } from "./bus-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./variant-9eqcqd4c.js";
6
+ } from "./bus-kcdjsgm9.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./variant-r75q3gpe.js";
9
+ } from "./bus-h3g6m2mf.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./variant-qfa1cgps.js";
3
+ } from "./bus-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service62
4
- } from "./variant-k4kk5nq6.js";
3
+ Service44
4
+ } from "./bus-0j9y03t3.js";
5
5
  import {
6
- Service36
7
- } from "./variant-zx9yds1z.js";
6
+ Service66
7
+ } from "./bus-25trdgaf.js";
8
8
  import {
9
9
  observe2
10
- } from "./variant-qsdy395h.js";
10
+ } from "./bus-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./variant-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin17
19
+ Plugin: () => Plugin41
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin17 = define({
23
+ var Plugin41 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service62;
27
- const snapshot = yield* Service36;
26
+ const config = yield* Service44;
27
+ const snapshot = yield* Service66;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin17 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin17, exports_snapshot };
38
+ export { Plugin41, exports_snapshot };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./variant-922hggd3.js";
5
+ } from "./bus-922hggd3.js";
6
6
  import {
7
7
  Service79,
8
8
  node83
9
- } from "./variant-3ebgyt18.js";
9
+ } from "./bus-1rfd4xxr.js";
10
10
  import {
11
- Service15,
12
- node17
13
- } from "./variant-46q9e2t6.js";
11
+ Service20,
12
+ node23
13
+ } from "./bus-hjbpbmpy.js";
14
14
  import {
15
15
  __export
16
- } from "./variant-9rqn6x4v.js";
16
+ } from "./bus-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  Entry: () => Entry2,
25
- Event: () => Event2,
25
+ Event: () => Event3,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
30
  ListInput: () => ListInput2,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError2,
32
+ NotFoundError: () => NotFoundError3,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service14,
34
+ Service: () => Service19,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node16
38
+ node: () => node22
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event2 = FileSystem.Event;
88
+ var Event3 = FileSystem.Event;
89
89
 
90
- class Service14 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service19 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
94
  const location = yield* Service79;
95
- const search = yield* Service15;
95
+ const search = yield* Service20;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service14.of({
106
+ return Service19.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node16 = makeLocationNode({
144
- service: Service14,
143
+ var node22 = makeLocationNode({
144
+ service: Service19,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node83, node17]
146
+ deps: [FSUtil.node, node83, node23]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service19, node22, exports_filesystem, Entry2, Match2, Submatch2 };