@opencode/core 0.0.0-dev-19978 → 0.0.0-dev-19979

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 (796) 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/{shell-b6kpjdeq.js → variant-01qjk1e4.js} +16 -16
  8. package/dist/chunks/{shell-jt0at99v.js → variant-02qx3nt3.js} +2 -2
  9. package/dist/chunks/{shell-xjf9vqpg.js → variant-06gv8wbv.js} +10 -10
  10. package/dist/chunks/{shell-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{shell-0q0f95c6.js → variant-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{shell-19ezmb62.js → variant-0wn1pn7d.js} +27 -27
  13. package/dist/chunks/{shell-d3c81gqs.js → variant-0zasd35x.js} +17 -17
  14. package/dist/chunks/{shell-9jzp6rtr.js → variant-11dqjexa.js} +9 -9
  15. package/dist/chunks/{shell-fh7gdbkn.js → variant-14rbk3zc.js} +20 -20
  16. package/dist/chunks/{shell-4a5q5w53.js → variant-1amz2eg5.js} +22 -22
  17. package/dist/chunks/{shell-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{shell-7v61v3dm.js → variant-1epfs5fg.js} +11 -11
  19. package/dist/chunks/{shell-7p1faebm.js → variant-1mmn3t24.js} +13 -13
  20. package/dist/chunks/{shell-4xnk508k.js → variant-21hdf7f9.js} +1 -1
  21. package/dist/chunks/{shell-21r38tys.js → variant-21r38tys.js} +1 -1
  22. package/dist/chunks/{shell-acffanb1.js → variant-27m138w7.js} +30 -30
  23. package/dist/chunks/{shell-7eg5yrd4.js → variant-27yn9rhw.js} +14 -14
  24. package/dist/chunks/{shell-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{shell-ftjnkh8h.js → variant-2gjtp3w6.js} +8 -8
  26. package/dist/chunks/{shell-kqkf13qm.js → variant-2h81abkb.js} +23 -23
  27. package/dist/chunks/{shell-jjqebjeq.js → variant-2j1jcbga.js} +32 -32
  28. package/dist/chunks/{shell-w94jh9ha.js → variant-2q7rp569.js} +9 -9
  29. package/dist/chunks/{shell-r3n8e044.js → variant-2ssmy2pv.js} +9 -9
  30. package/dist/chunks/{shell-bgs9y14h.js → variant-2vgzs72b.js} +5 -5
  31. package/dist/chunks/{shell-g73vfdfa.js → variant-30dywwj6.js} +11 -11
  32. package/dist/chunks/{shell-6f8737q3.js → variant-3104ney4.js} +8 -8
  33. package/dist/chunks/{shell-knzq6194.js → variant-337xk0e5.js} +26 -26
  34. package/dist/chunks/{shell-mfqp6xfm.js → variant-33w4ejhs.js} +9 -9
  35. package/dist/chunks/{shell-ag9w8cw1.js → variant-37s12vcn.js} +5 -5
  36. package/dist/chunks/{shell-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{shell-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{shell-myyxex1z.js → variant-3jekz8h8.js} +20 -20
  39. package/dist/chunks/{shell-5fs6yg5a.js → variant-3jhr2a2t.js} +5 -5
  40. package/dist/chunks/{shell-xwkvp7ty.js → variant-3jzbymb5.js} +5 -5
  41. package/dist/chunks/{shell-kx21j3gp.js → variant-3mnsrdsg.js} +16 -16
  42. package/dist/chunks/{shell-18fd1sb5.js → variant-3n3eb5aa.js} +5 -5
  43. package/dist/chunks/{shell-a51z7ksw.js → variant-3r4kmr0h.js} +8 -8
  44. package/dist/chunks/{shell-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{shell-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{shell-zqx8wcya.js → variant-44ke2mar.js} +4 -4
  47. package/dist/chunks/{shell-y844exjz.js → variant-49g4s7y7.js} +6 -6
  48. package/dist/chunks/{shell-3gh3ew6n.js → variant-4ck5q7wh.js} +7 -7
  49. package/dist/chunks/{shell-h6r3nrb9.js → variant-4dgbcxzg.js} +4 -4
  50. package/dist/chunks/{shell-11vtep71.js → variant-4fgf37wt.js} +15 -15
  51. package/dist/chunks/{shell-7tj6d01t.js → variant-4h9018w9.js} +7 -7
  52. package/dist/chunks/{shell-260cwht4.js → variant-4q4pt9sm.js} +94 -94
  53. package/dist/chunks/{shell-jyh1spmy.js → variant-4xbh84pg.js} +8 -8
  54. package/dist/chunks/{shell-a1bz86dw.js → variant-5c4hm403.js} +3 -3
  55. package/dist/chunks/{shell-5daktx2q.js → variant-5daktx2q.js} +1 -1
  56. package/dist/chunks/{shell-qp4q688a.js → variant-5jah1aqk.js} +32 -32
  57. package/dist/chunks/{shell-e3qxr5gk.js → variant-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{shell-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{shell-669tq793.js → variant-669tq793.js} +1 -1
  60. package/dist/chunks/{shell-vb8b7bnb.js → variant-6fgkhyxm.js} +4 -4
  61. package/dist/chunks/{shell-sz15nke5.js → variant-6h4x4393.js} +11 -11
  62. package/dist/chunks/{shell-2402vzrj.js → variant-6h73sxmp.js} +5 -5
  63. package/dist/chunks/{shell-szpwe2j4.js → variant-6k0fn069.js} +28 -28
  64. package/dist/chunks/{shell-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{shell-62hy6yfd.js → variant-6prjr0ba.js} +16 -16
  66. package/dist/chunks/{shell-ny0kgn08.js → variant-6ryfpt65.js} +2 -2
  67. package/dist/chunks/{shell-6134wrt7.js → variant-6t5pmk7b.js} +40 -40
  68. package/dist/chunks/{shell-f5gy8qwh.js → variant-6ysrkrkr.js} +8 -8
  69. package/dist/chunks/{shell-4r49tv4x.js → variant-72ahydd8.js} +15 -15
  70. package/dist/chunks/{shell-qea7c352.js → variant-75mb2dj9.js} +45 -45
  71. package/dist/chunks/{shell-5b1f5rf1.js → variant-79wzcjsa.js} +6 -6
  72. package/dist/chunks/{shell-cq37gk0t.js → variant-7ac170kv.js} +4 -4
  73. package/dist/chunks/{shell-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{shell-7dqw4kz8.js → variant-7dqw4kz8.js} +1 -1
  75. package/dist/chunks/{shell-mxkxgfdc.js → variant-7k5rzq7b.js} +21 -21
  76. package/dist/chunks/{shell-r562f6qv.js → variant-7mk9t2b4.js} +77 -77
  77. package/dist/chunks/{shell-h5b4kcx3.js → variant-7qq3ahcc.js} +6 -6
  78. package/dist/chunks/{shell-v5g6m2jr.js → variant-7rqyb9xq.js} +24 -24
  79. package/dist/chunks/{shell-57ez7d0k.js → variant-81swgkk7.js} +7 -7
  80. package/dist/chunks/{shell-6hr9dd4j.js → variant-8a1xt0qe.js} +24 -24
  81. package/dist/chunks/{shell-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{shell-s8nw8qqp.js → variant-8f8kbx59.js} +29 -29
  83. package/dist/chunks/{shell-2ey0y3b4.js → variant-8pejhe55.js} +43 -43
  84. package/dist/chunks/{shell-c0qnvhxc.js → variant-8ppvdbde.js} +21 -21
  85. package/dist/chunks/{shell-3q2rkys7.js → variant-8qmcac2p.js} +14 -14
  86. package/dist/chunks/{shell-s9y92xh6.js → variant-8qy3tpz1.js} +57 -57
  87. package/dist/chunks/{shell-6wqzn9nn.js → variant-8szzxw8p.js} +3 -3
  88. package/dist/chunks/{shell-afed7ext.js → variant-965ggptx.js} +12 -12
  89. package/dist/chunks/{shell-3hapsyq9.js → variant-9brx4zwk.js} +28 -28
  90. package/dist/chunks/{shell-3abh18r5.js → variant-9n6wwvty.js} +19 -19
  91. package/dist/chunks/variant-9nx3epfh.js +26 -0
  92. package/dist/chunks/{shell-pk1qwwxe.js → variant-a10y8grx.js} +13 -13
  93. package/dist/chunks/{shell-kk00bynn.js → variant-a8bn8zg0.js} +21 -21
  94. package/dist/chunks/{shell-h74ge2a2.js → variant-a8zr1srk.js} +11 -11
  95. package/dist/chunks/{shell-aaet6srn.js → variant-aaet6srn.js} +2 -2
  96. package/dist/chunks/{shell-0gaj4617.js → variant-ab9238g2.js} +4 -4
  97. package/dist/chunks/{shell-5y5m0zb6.js → variant-adtdcqb7.js} +35 -35
  98. package/dist/chunks/{shell-vrwant47.js → variant-aeh5t7p2.js} +21 -21
  99. package/dist/chunks/{shell-51jra4mh.js → variant-b09hzw3k.js} +2 -2
  100. package/dist/chunks/{shell-wxrbz6ev.js → variant-b41tm2qj.js} +32 -32
  101. package/dist/chunks/{shell-hw51ngyv.js → variant-b542neky.js} +10 -10
  102. package/dist/chunks/{shell-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{shell-1kwcskzj.js → variant-b838jk36.js} +9 -9
  104. package/dist/chunks/{shell-3j8sdtpz.js → variant-bct739vz.js} +4 -4
  105. package/dist/chunks/{shell-bcdav7a4.js → variant-bdg3jkjk.js} +13 -13
  106. package/dist/chunks/{shell-ef00qedp.js → variant-bx70xd4a.js} +29 -29
  107. package/dist/chunks/variant-by5v678g.js +18 -0
  108. package/dist/chunks/{shell-n7pj9vak.js → variant-c472f307.js} +26 -26
  109. package/dist/chunks/{shell-y1hy686p.js → variant-c6m5d6tv.js} +3 -3
  110. package/dist/chunks/{shell-magsh8sv.js → variant-chrxq3ex.js} +16 -16
  111. package/dist/chunks/{shell-ead3g9p8.js → variant-cr07tj7n.js} +5 -5
  112. package/dist/chunks/{shell-3h4a5sy3.js → variant-cszjtp1q.js} +26 -26
  113. package/dist/chunks/{shell-mrtxncf8.js → variant-czz7qg73.js} +6 -6
  114. package/dist/chunks/{shell-nn0v9drq.js → variant-d2eaxrr9.js} +43 -43
  115. package/dist/chunks/{shell-hsmsnpd6.js → variant-d8r4x71c.js} +26 -26
  116. package/dist/chunks/{shell-bhsa20q5.js → variant-dfr3ajd8.js} +22 -22
  117. package/dist/chunks/{shell-8p4f9s12.js → variant-dj2t23y0.js} +2 -2
  118. package/dist/chunks/{shell-g6q9qykm.js → variant-djszqvmq.js} +9 -9
  119. package/dist/chunks/{shell-y71avatq.js → variant-dpkg50ah.js} +4 -4
  120. package/dist/chunks/{shell-xnpkhd7t.js → variant-dt1f0v0y.js} +9 -9
  121. package/dist/chunks/{shell-5xmvjqbs.js → variant-dtvsqqr8.js} +23 -23
  122. package/dist/chunks/{shell-53g2xa05.js → variant-e5xpd6yj.js} +7 -7
  123. package/dist/chunks/{shell-fvsyg6qk.js → variant-e6hmchc5.js} +5 -5
  124. package/dist/chunks/{shell-fp7m90ch.js → variant-eab9zk3a.js} +1 -1
  125. package/dist/chunks/{shell-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{shell-mhkvc446.js → variant-eq1pz5kg.js} +3 -3
  127. package/dist/chunks/{shell-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
  128. package/dist/chunks/{shell-nvra0fyk.js → variant-esqkvn0e.js} +18 -18
  129. package/dist/chunks/{shell-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{shell-p7f48tpq.js → variant-evh5ncab.js} +37 -37
  131. package/dist/chunks/{shell-xvvxjgs3.js → variant-ewfmf9yp.js} +15 -15
  132. package/dist/chunks/{shell-387f2ghq.js → variant-eyytz2vc.js} +12 -12
  133. package/dist/chunks/{shell-ch7t79yz.js → variant-f0429z4s.js} +27 -27
  134. package/dist/chunks/{shell-ts2x07a1.js → variant-fch79rh9.js} +1 -1
  135. package/dist/chunks/{shell-e0tqeget.js → variant-fhes3t1d.js} +32 -32
  136. package/dist/chunks/{shell-4kcqzamp.js → variant-fmwzdpcj.js} +24 -24
  137. package/dist/chunks/{shell-8gj0fsd9.js → variant-fr3ksnzs.js} +4 -4
  138. package/dist/chunks/{shell-fxbjtjnd.js → variant-fxbjtjnd.js} +1 -1
  139. package/dist/chunks/{shell-8v6pyhej.js → variant-g0445xdp.js} +8 -8
  140. package/dist/chunks/{shell-a2ew8a62.js → variant-g8d3gcyj.js} +7 -7
  141. package/dist/chunks/{shell-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{shell-vww8x242.js → variant-gdk3jkz9.js} +1 -1
  143. package/dist/chunks/{shell-nfd8mtse.js → variant-gkb6f2x1.js} +33 -33
  144. package/dist/chunks/{shell-v27xpbdp.js → variant-gm199810.js} +13 -13
  145. package/dist/chunks/{shell-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
  146. package/dist/chunks/{shell-vp1et1m5.js → variant-gzfbe2d4.js} +23 -23
  147. package/dist/chunks/{shell-ychryjdx.js → variant-h5s5g0dq.js} +29 -29
  148. package/dist/chunks/{shell-bcdacnkc.js → variant-h5th8w0s.js} +7 -7
  149. package/dist/chunks/{shell-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{shell-1080qp6z.js → variant-h6z8d5tn.js} +4 -4
  151. package/dist/chunks/{shell-f828m53h.js → variant-hdnk95c8.js} +2 -2
  152. package/dist/chunks/{shell-magqfpze.js → variant-hja80fqx.js} +46 -46
  153. package/dist/chunks/{shell-a5c1graw.js → variant-hqejd0fh.js} +24 -24
  154. package/dist/chunks/{shell-3s7qr6kk.js → variant-hrxk1s6s.js} +29 -29
  155. package/dist/chunks/{shell-gf6qp9k5.js → variant-j502ch8n.js} +31 -31
  156. package/dist/chunks/{shell-j56e64zr.js → variant-j56e64zr.js} +1 -1
  157. package/dist/chunks/{shell-m3tsgwa2.js → variant-jg4cr3aq.js} +46 -46
  158. package/dist/chunks/{shell-ns2c2r1h.js → variant-jqdmccvh.js} +18 -18
  159. package/dist/chunks/{shell-3kn2wvnz.js → variant-k0dxc2e8.js} +6 -6
  160. package/dist/chunks/{shell-k3c624dm.js → variant-k3c624dm.js} +3 -3
  161. package/dist/chunks/{shell-7bt5snpn.js → variant-k79vytfj.js} +9 -9
  162. package/dist/chunks/{shell-hg87j33e.js → variant-k7evwn58.js} +17 -17
  163. package/dist/chunks/{shell-q2dkzkdb.js → variant-kaj3g59n.js} +11 -11
  164. package/dist/chunks/{shell-qzhzzgth.js → variant-kavvc4j5.js} +47 -47
  165. package/dist/chunks/{shell-sp1zcgp4.js → variant-kgx759jk.js} +15 -15
  166. package/dist/chunks/{shell-ddt2bs9e.js → variant-kne8f3cn.js} +4 -4
  167. package/dist/chunks/{shell-vp53y9j4.js → variant-ky1ggc4k.js} +11 -11
  168. package/dist/chunks/{shell-cfpkc3c9.js → variant-m0jqrx5p.js} +2 -2
  169. package/dist/chunks/{shell-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
  170. package/dist/chunks/{shell-fwwj4rbr.js → variant-m444xqc2.js} +13 -13
  171. package/dist/chunks/{shell-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  172. package/dist/chunks/{shell-6zdpm8gg.js → variant-mca23bg6.js} +3 -3
  173. package/dist/chunks/{shell-6gj1ckc8.js → variant-me04qd9d.js} +12 -12
  174. package/dist/chunks/{shell-csf2jhsg.js → variant-mfhfdr54.js} +4 -4
  175. package/dist/chunks/{shell-1p0k74td.js → variant-mk4ssrj5.js} +22 -22
  176. package/dist/chunks/variant-mn76vrx0.js +252 -0
  177. package/dist/chunks/{shell-250ht8wz.js → variant-msvcs4j3.js} +9 -9
  178. package/dist/chunks/{shell-p7a39gy5.js → variant-mx9vqzsb.js} +6 -6
  179. package/dist/chunks/{shell-dhhwvr0d.js → variant-n154eg5w.js} +11 -11
  180. package/dist/chunks/{shell-n2srvep7.js → variant-nb9p6b26.js} +4 -4
  181. package/dist/chunks/{shell-420tzvdn.js → variant-nn70ht8q.js} +28 -28
  182. package/dist/chunks/{shell-pe5xq6m6.js → variant-npbwcns0.js} +25 -25
  183. package/dist/chunks/{shell-m2d0j7c0.js → variant-nscznvay.js} +9 -9
  184. package/dist/chunks/{shell-1crvyphj.js → variant-nsxy0q5x.js} +4 -4
  185. package/dist/chunks/{shell-2976z3d9.js → variant-p0thxnh0.js} +11 -11
  186. package/dist/chunks/{shell-t673y9ra.js → variant-p2mk4npz.js} +11 -11
  187. package/dist/chunks/{shell-myrc5q0t.js → variant-p5b9tf5x.js} +27 -27
  188. package/dist/chunks/{shell-wxe1qfek.js → variant-p6dvmy6m.js} +8 -8
  189. package/dist/chunks/{shell-h0ncryma.js → variant-pdt3pyx9.js} +12 -12
  190. package/dist/chunks/{shell-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{shell-pknna89w.js → variant-pknna89w.js} +1 -1
  192. package/dist/chunks/{shell-akjymesb.js → variant-ps3v8v0p.js} +15 -15
  193. package/dist/chunks/{shell-5ns8eg09.js → variant-pv2wxbd1.js} +35 -35
  194. package/dist/chunks/{shell-9fvzrgf5.js → variant-pvaf78f7.js} +14 -14
  195. package/dist/chunks/{shell-1s2t0np1.js → variant-pwjnm3hv.js} +29 -29
  196. package/dist/chunks/{shell-5bs0k4xh.js → variant-px7pwtkk.js} +9 -9
  197. package/dist/chunks/{shell-n4v7jv1t.js → variant-q5vdcker.js} +14 -14
  198. package/dist/chunks/{shell-rnw38jw6.js → variant-qahh6mkr.js} +11 -11
  199. package/dist/chunks/{shell-5qc21a3k.js → variant-qbjfty6d.js} +29 -29
  200. package/dist/chunks/{shell-6a5cyqv6.js → variant-qh96mzky.js} +7 -7
  201. package/dist/chunks/{shell-ymshdtr8.js → variant-qmf7n49c.js} +13 -13
  202. package/dist/chunks/{shell-7mv393fz.js → variant-qraapvmf.js} +10 -10
  203. package/dist/chunks/{shell-qsdy395h.js → variant-qsdy395h.js} +1 -1
  204. package/dist/chunks/{shell-tvpppgsc.js → variant-qt563qnh.js} +13 -13
  205. package/dist/chunks/{shell-2p623br6.js → variant-qvreyy9g.js} +5 -5
  206. package/dist/chunks/{shell-v01tkn9z.js → variant-qwwnvr6f.js} +16 -16
  207. package/dist/chunks/{shell-1w5344nt.js → variant-r7cez9p4.js} +13 -13
  208. package/dist/chunks/{shell-bez9vw3c.js → variant-r8fazzcs.js} +37 -37
  209. package/dist/chunks/{shell-561eeawp.js → variant-r8q8xsr5.js} +23 -23
  210. package/dist/chunks/{shell-1yxss9sq.js → variant-racw9w49.js} +12 -12
  211. package/dist/chunks/{shell-f409aq7x.js → variant-rbyp8db0.js} +24 -24
  212. package/dist/chunks/{shell-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{shell-ckkgcvab.js → variant-rnqe883g.js} +88 -88
  214. package/dist/chunks/{shell-0yj0eem9.js → variant-rw27kmkb.js} +10 -10
  215. package/dist/chunks/{shell-as7bzewp.js → variant-rwdxaze6.js} +3 -3
  216. package/dist/chunks/{shell-wxahwc7r.js → variant-s19e73r6.js} +1 -1
  217. package/dist/chunks/{shell-5zfxgaph.js → variant-s40m713m.js} +10 -10
  218. package/dist/chunks/{shell-p2h430zw.js → variant-s4vqrt4f.js} +21 -21
  219. package/dist/chunks/{shell-s5met55r.js → variant-s5met55r.js} +1 -1
  220. package/dist/chunks/{shell-7vfxn4ds.js → variant-s5v1hbc7.js} +40 -40
  221. package/dist/chunks/{shell-rhjbct0v.js → variant-s8d7rejh.js} +4 -4
  222. package/dist/chunks/{shell-vxzgcgea.js → variant-swz218t1.js} +15 -15
  223. package/dist/chunks/{shell-g4e7yzyy.js → variant-t65f74fp.js} +26 -26
  224. package/dist/chunks/{shell-rp531hqd.js → variant-t87q1wma.js} +9 -9
  225. package/dist/chunks/{shell-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{shell-p28j5sbe.js → variant-tbz0fdvh.js} +5 -5
  227. package/dist/chunks/{shell-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{shell-bpf0162m.js → variant-tda9n49j.js} +17 -17
  229. package/dist/chunks/{shell-tdstcens.js → variant-tdstcens.js} +1 -1
  230. package/dist/chunks/{shell-dy5t6xhr.js → variant-th8ht05d.js} +16 -16
  231. package/dist/chunks/{shell-2vp71rdt.js → variant-tt2d18x6.js} +12 -12
  232. package/dist/chunks/{shell-tvtrv512.js → variant-tvtrv512.js} +1 -1
  233. package/dist/chunks/{shell-j9frms3x.js → variant-tvtxd4ef.js} +6 -6
  234. package/dist/chunks/{shell-8f1yg6p5.js → variant-v4bfmp8s.js} +37 -37
  235. package/dist/chunks/{shell-3cghyafc.js → variant-v4jcyr56.js} +11 -11
  236. package/dist/chunks/{shell-dykkexkt.js → variant-v9yc49ez.js} +16 -16
  237. package/dist/chunks/{shell-pjedbq3k.js → variant-va5qff5x.js} +4 -4
  238. package/dist/chunks/{shell-veqvce7d.js → variant-veqvce7d.js} +1 -1
  239. package/dist/chunks/{shell-fdytj4qh.js → variant-vh8c0j52.js} +2 -2
  240. package/dist/chunks/{shell-gthdbg3t.js → variant-vsqv43av.js} +4 -4
  241. package/dist/chunks/{shell-62yfe89d.js → variant-vvh9mfqv.js} +29 -29
  242. package/dist/chunks/{shell-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
  243. package/dist/chunks/{shell-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{shell-h8fbtp05.js → variant-w44663xc.js} +9 -9
  245. package/dist/chunks/{shell-7s2tn799.js → variant-w49382pb.js} +8 -8
  246. package/dist/chunks/{shell-kmv09gbc.js → variant-w5rfw0cw.js} +15 -15
  247. package/dist/chunks/{shell-2srtjxyz.js → variant-wb55je22.js} +326 -326
  248. package/dist/chunks/{shell-b8adnfnt.js → variant-wcaxp10e.js} +17 -17
  249. package/dist/chunks/{shell-wd87259q.js → variant-wd87259q.js} +1 -1
  250. package/dist/chunks/{shell-s6skgdzw.js → variant-wg4md656.js} +11 -11
  251. package/dist/chunks/{shell-6dv6n725.js → variant-wgzndssf.js} +21 -21
  252. package/dist/chunks/{shell-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{shell-mgezdqvd.js → variant-x22ev0hb.js} +21 -21
  254. package/dist/chunks/{shell-8jkt1xn6.js → variant-x22gyqrw.js} +1 -1
  255. package/dist/chunks/{shell-nz32y6j9.js → variant-x8zxr43e.js} +35 -35
  256. package/dist/chunks/{shell-2640wgj5.js → variant-xef69pp0.js} +19 -19
  257. package/dist/chunks/{shell-qqeeq2t9.js → variant-xfkkasph.js} +7 -7
  258. package/dist/chunks/{shell-jzqj7kse.js → variant-xfs1q4xd.js} +32 -32
  259. package/dist/chunks/{shell-8k69atjg.js → variant-xfvm3mak.js} +26 -26
  260. package/dist/chunks/{shell-f4k8275x.js → variant-xhk51xgy.js} +47 -47
  261. package/dist/chunks/{shell-cry49m72.js → variant-xmeaynwa.js} +42 -42
  262. package/dist/chunks/{shell-g2b0fmk0.js → variant-xskn2s6v.js} +15 -15
  263. package/dist/chunks/{shell-9eay0pge.js → variant-xw54q2z7.js} +3 -3
  264. package/dist/chunks/{shell-zftvnttz.js → variant-xx495gr6.js} +11 -11
  265. package/dist/chunks/{shell-1rmaqtrx.js → variant-y19c3zcv.js} +4 -4
  266. package/dist/chunks/{shell-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{shell-5t1mxvsw.js → variant-y1s4hq9c.js} +22 -22
  268. package/dist/chunks/{shell-7jdsj2a9.js → variant-y6f0p4jw.js} +3 -3
  269. package/dist/chunks/{shell-f2n192rq.js → variant-yp2x3t23.js} +4 -4
  270. package/dist/chunks/{shell-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
  271. package/dist/chunks/{shell-s4enseaf.js → variant-yrznvahk.js} +2 -2
  272. package/dist/chunks/{shell-tkeqhyvm.js → variant-z08d3gkn.js} +8 -8
  273. package/dist/chunks/{shell-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{shell-ztzrhfw8.js → variant-z3aasmrj.js} +4 -4
  275. package/dist/chunks/{shell-cte7fmtx.js → variant-z4394exs.js} +25 -25
  276. package/dist/chunks/{shell-m508k0v5.js → variant-z5g6zmez.js} +20 -20
  277. package/dist/chunks/{shell-29x78va6.js → variant-z63w68vq.js} +6 -6
  278. package/dist/chunks/variant-z926abd4.js +4 -0
  279. package/dist/chunks/{shell-5j5738f4.js → variant-z9vgre7d.js} +16 -16
  280. package/dist/chunks/{shell-jh94thfm.js → variant-za3dectt.js} +143 -143
  281. package/dist/chunks/{shell-rpjgfq5s.js → variant-zab19jja.js} +9 -9
  282. package/dist/chunks/{shell-8z7r2bkb.js → variant-zb3e93f3.js} +8 -8
  283. package/dist/chunks/{shell-9514k7xd.js → variant-zd8tz85g.js} +6 -6
  284. package/dist/chunks/{shell-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{shell-maa7zwzz.js → variant-zfchs64b.js} +22 -22
  286. package/dist/chunks/{shell-3sb31twn.js → variant-zq8b9kne.js} +6 -6
  287. package/dist/chunks/{shell-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{shell-48698xmq.js → variant-zse5513f.js} +20 -20
  289. package/dist/chunks/{shell-hk9yfvgj.js → variant-ztfaec9a.js} +3 -3
  290. package/dist/chunks/{shell-ynhzt9k4.js → variant-zwvpdwrg.js} +18 -18
  291. package/dist/chunks/{shell-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +84 -84
  297. package/dist/config/discovery.js +81 -81
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +105 -105
  300. package/dist/config/plugin/agent.js +124 -124
  301. package/dist/config/plugin/command.js +213 -213
  302. package/dist/config/plugin/compaction.js +161 -161
  303. package/dist/config/plugin/compatibility.js +140 -140
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +123 -123
  306. package/dist/config/plugin/image.js +122 -122
  307. package/dist/config/plugin/instruction.js +89 -89
  308. package/dist/config/plugin/location-watcher.js +122 -122
  309. package/dist/config/plugin/mcp.js +131 -131
  310. package/dist/config/plugin/policy.js +123 -123
  311. package/dist/config/plugin/provider.js +122 -122
  312. package/dist/config/plugin/reference.js +124 -124
  313. package/dist/config/plugin/shell.js +124 -124
  314. package/dist/config/plugin/skill-file.js +101 -101
  315. package/dist/config/plugin/skill.js +143 -143
  316. package/dist/config/plugin/snapshot.js +122 -122
  317. package/dist/config/plugin/source.js +125 -125
  318. package/dist/config/plugin/tool-output.js +124 -124
  319. package/dist/config/plugin/websearch.js +123 -123
  320. package/dist/config/plugin/worktree.js +124 -124
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +127 -127
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +80 -80
  326. package/dist/database/database.js +69 -69
  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.gen.js +48 -48
  391. package/dist/database/migration.js +50 -50
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +92 -92
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +94 -94
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +73 -73
  415. package/dist/file-access.js +103 -103
  416. package/dist/file-mutation.js +93 -93
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +224 -224
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +98 -98
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +95 -95
  431. package/dist/form.js +77 -77
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +86 -86
  434. package/dist/generate.js +102 -102
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +98 -98
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +360 -360
  460. package/dist/instruction-discovery.js +82 -82
  461. package/dist/instructions/builtins.js +86 -86
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +83 -83
  465. package/dist/job.js +78 -78
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +72 -72
  468. package/dist/location-activity.js +134 -134
  469. package/dist/location-lifecycle.js +105 -105
  470. package/dist/location-mutation.js +103 -103
  471. package/dist/location-service-map.js +85 -85
  472. package/dist/location-services.js +357 -357
  473. package/dist/location.js +86 -86
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +90 -90
  476. package/dist/mcp/index.js +105 -105
  477. package/dist/mcp/instructions.js +127 -127
  478. package/dist/mcp/oauth.js +77 -77
  479. package/dist/mcp/stdio.js +89 -89
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +98 -98
  482. package/dist/model-resolver.js +97 -97
  483. package/dist/model.js +101 -101
  484. package/dist/models-dev.js +106 -106
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +79 -79
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +108 -108
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +85 -85
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +74 -74
  494. package/dist/plugin/agent.js +103 -103
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/compaction.js +132 -132
  497. package/dist/plugin/hooks.js +1 -1
  498. package/dist/plugin/host.js +217 -217
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +331 -331
  502. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  503. package/dist/plugin/models-dev.js +95 -95
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +101 -101
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  509. package/dist/plugin/provider/azure.js +121 -121
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +118 -118
  515. package/dist/plugin/provider/digitalocean.js +92 -92
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +92 -92
  520. package/dist/plugin/provider/gitlab.js +90 -90
  521. package/dist/plugin/provider/google-vertex.js +89 -89
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +76 -76
  524. package/dist/plugin/provider/lmstudio.js +121 -121
  525. package/dist/plugin/provider/modal.js +91 -91
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +119 -119
  528. package/dist/plugin/provider/openai.js +91 -91
  529. package/dist/plugin/provider/opencode.js +93 -93
  530. package/dist/plugin/provider/openrouter.js +90 -90
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +77 -77
  533. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  534. package/dist/plugin/provider/sap-ai-core.js +90 -90
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +89 -89
  539. package/dist/plugin/provider/vllm.js +121 -121
  540. package/dist/plugin/provider/xai.js +90 -90
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +159 -159
  543. package/dist/plugin/sdk.js +75 -75
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +138 -138
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +85 -85
  551. package/dist/plugin/vcs/hg.js +85 -85
  552. package/dist/plugin/warming.js +120 -120
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +228 -228
  561. package/dist/project/schema.js +6 -6
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +85 -85
  564. package/dist/provider.js +96 -96
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +3 -3
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +97 -97
  569. package/dist/reference/instructions.js +86 -86
  570. package/dist/reference.js +88 -88
  571. package/dist/repository-cache.js +80 -80
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +94 -94
  575. package/dist/rpc.js +85 -85
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +73 -73
  578. package/dist/session/compaction.js +133 -133
  579. package/dist/session/context.js +151 -151
  580. package/dist/session/diff.js +87 -87
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +223 -223
  585. package/dist/session/execution.js +125 -125
  586. package/dist/session/generate.js +152 -152
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +85 -85
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +76 -76
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +96 -96
  593. package/dist/session/message-updater.js +4 -4
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +118 -118
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +129 -129
  598. package/dist/session/projector.js +85 -85
  599. package/dist/session/prompt.js +104 -104
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +89 -89
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +230 -230
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +97 -97
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +113 -113
  609. package/dist/session/runner/step.js +125 -125
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +171 -171
  613. package/dist/session/shell.js +137 -137
  614. package/dist/session/skill.js +102 -102
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +74 -74
  617. package/dist/session/store.js +86 -86
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +207 -207
  620. package/dist/session/system-prompt.js +5 -5
  621. package/dist/session/title.js +155 -155
  622. package/dist/session/to-session-error.js +110 -110
  623. package/dist/session/transfer.js +222 -222
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +213 -213
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +139 -139
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +106 -106
  633. package/dist/skill.js +109 -109
  634. package/dist/snapshot.js +90 -90
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +122 -122
  639. package/dist/tool/plugin/edit.js +119 -119
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +123 -123
  642. package/dist/tool/plugin/grep.js +119 -119
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +115 -115
  645. package/dist/tool/plugin/question.js +100 -100
  646. package/dist/tool/plugin/read.js +124 -124
  647. package/dist/tool/plugin/shell.js +212 -212
  648. package/dist/tool/plugin/skill.js +112 -112
  649. package/dist/tool/plugin/subagent.js +218 -218
  650. package/dist/tool/plugin/webfetch.js +111 -111
  651. package/dist/tool/plugin/websearch.js +111 -111
  652. package/dist/tool/plugin/write.js +119 -119
  653. package/dist/tool/read-filesystem.js +99 -99
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +7 -7
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +4 -4
  671. package/dist/v1/config/formatter.js +3 -3
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +3 -3
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +91 -91
  676. package/dist/v1/config/permission.js +7 -7
  677. package/dist/v1/config/plugin.js +1 -1
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +92 -92
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +86 -86
  686. package/dist/websearch.js +81 -81
  687. package/dist/wellknown/plugin.js +75 -75
  688. package/dist/wellknown.js +80 -80
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +79 -79
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +88 -88
  696. package/dist/worktree.js +97 -97
  697. package/package.json +8 -8
  698. package/dist/chunks/shell-0mesazry.js +0 -4
  699. package/dist/chunks/shell-4v7qdvcn.js +0 -18
  700. package/dist/chunks/shell-a9zdeeck.js +0 -26
  701. package/dist/chunks/shell-aw8ehhwx.js +0 -252
  702. /package/dist/chunks/{shell-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{shell-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{shell-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{shell-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{shell-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{shell-24dcb14g.js → variant-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{shell-2710q6r3.js → variant-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{shell-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{shell-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{shell-359p4xyc.js → variant-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{shell-3asan66x.js → variant-3asan66x.js} +0 -0
  713. /package/dist/chunks/{shell-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{shell-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{shell-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{shell-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{shell-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{shell-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{shell-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{shell-53557ph1.js → variant-53557ph1.js} +0 -0
  721. /package/dist/chunks/{shell-550bvhaj.js → variant-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{shell-6prwharc.js → variant-6prwharc.js} +0 -0
  723. /package/dist/chunks/{shell-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{shell-7m9af43g.js → variant-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{shell-822emrt2.js → variant-822emrt2.js} +0 -0
  726. /package/dist/chunks/{shell-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{shell-8n3pysct.js → variant-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{shell-922hggd3.js → variant-922hggd3.js} +0 -0
  729. /package/dist/chunks/{shell-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{shell-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{shell-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{shell-af5trqkr.js → variant-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{shell-afrmfg78.js → variant-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{shell-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{shell-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{shell-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{shell-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{shell-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{shell-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{shell-d9fn303g.js → variant-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{shell-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{shell-dajrwvna.js → variant-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{shell-dap0rakb.js → variant-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{shell-df08tz66.js → variant-df08tz66.js} +0 -0
  745. /package/dist/chunks/{shell-dy18nga0.js → variant-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{shell-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{shell-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{shell-ec1grn59.js → variant-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{shell-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{shell-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{shell-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{shell-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{shell-faypxj3z.js → variant-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{shell-fd410y7t.js → variant-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{shell-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{shell-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{shell-g86h250q.js → variant-g86h250q.js} +0 -0
  758. /package/dist/chunks/{shell-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{shell-gftt206x.js → variant-gftt206x.js} +0 -0
  760. /package/dist/chunks/{shell-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{shell-hk9envan.js → variant-hk9envan.js} +0 -0
  762. /package/dist/chunks/{shell-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{shell-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{shell-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{shell-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{shell-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{shell-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{shell-mp448xyj.js → variant-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{shell-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{shell-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{shell-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{shell-njntx4h6.js → variant-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{shell-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{shell-q74kybfr.js → variant-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{shell-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{shell-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{shell-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{shell-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{shell-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{shell-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{shell-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{shell-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{shell-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{shell-twg0f83k.js → variant-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{shell-w803qqfp.js → variant-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{shell-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{shell-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{shell-wtztk69x.js → variant-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{shell-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{shell-x61499pn.js → variant-x61499pn.js} +0 -0
  791. /package/dist/chunks/{shell-y44na4kk.js → variant-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{shell-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{shell-y8f7s663.js → variant-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{shell-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{shell-ym463w8f.js → variant-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{shell-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
- import {
2
- Service84
3
- } from "./shell-rnw38jw6.js";
4
1
  import {
5
2
  Service83
6
- } from "./shell-kx21j3gp.js";
3
+ } from "./variant-qahh6mkr.js";
4
+ import {
5
+ Service82
6
+ } from "./variant-3mnsrdsg.js";
7
7
  import {
8
- Service38
9
- } from "./shell-p7a39gy5.js";
8
+ Service45
9
+ } from "./variant-mx9vqzsb.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./shell-fxbjtjnd.js";
12
+ } from "./variant-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./shell-gftt206x.js";
15
+ } from "./variant-gftt206x.js";
16
16
  import {
17
17
  NotFoundError8,
18
18
  PromptConflictError2,
@@ -20,55 +20,55 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./shell-53g2xa05.js";
23
+ } from "./variant-e5xpd6yj.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./shell-ec1grn59.js";
26
+ } from "./variant-ec1grn59.js";
27
27
  import {
28
- Service59
29
- } from "./shell-2640wgj5.js";
28
+ Service63
29
+ } from "./variant-xef69pp0.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service37
34
- } from "./shell-kqkf13qm.js";
33
+ Service44
34
+ } from "./variant-2h81abkb.js";
35
35
  import {
36
- Service35
37
- } from "./shell-cry49m72.js";
36
+ Service42
37
+ } from "./variant-xmeaynwa.js";
38
38
  import {
39
39
  prepare2
40
- } from "./shell-n4v7jv1t.js";
40
+ } from "./variant-q5vdcker.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./shell-cte7fmtx.js";
45
+ } from "./variant-z4394exs.js";
46
46
  import {
47
47
  start2
48
- } from "./shell-w94jh9ha.js";
48
+ } from "./variant-2q7rp569.js";
49
49
  import {
50
50
  get4
51
- } from "./shell-h8fbtp05.js";
51
+ } from "./variant-w44663xc.js";
52
52
  import {
53
53
  __export
54
- } from "./shell-9rqn6x4v.js";
54
+ } from "./variant-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make12
60
+ make: () => make13
61
61
  });
62
62
  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
- var make12 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service83;
67
- const database = yield* Service84;
68
- const store = yield* Service59;
69
- const instances = yield* Service38;
70
- const execution = yield* Service35;
71
- const admission = yield* Service37;
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
+ const bus = yield* Service82;
67
+ const database = yield* Service83;
68
+ const store = yield* Service63;
69
+ const instances = yield* Service45;
70
+ const execution = yield* Service42;
71
+ const admission = yield* Service44;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -131,7 +131,7 @@ var make12 = 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(Service38, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service45, 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 make12 = 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(Service38, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, 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(Service38, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, 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(Service38, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, 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(Service38, instances), Effect.provideService(Service83, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service45, 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) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make12, exports_session2 };
325
+ export { make13, exports_session2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make20,
4
+ make21,
5
5
  diffByKey2
6
- } from "./shell-rhjbct0v.js";
6
+ } from "./variant-s8d7rejh.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./shell-6134wrt7.js";
9
+ } from "./variant-6t5pmk7b.js";
10
10
  import {
11
- Service34,
12
- node37
13
- } from "./shell-magqfpze.js";
11
+ Service40,
12
+ node43
13
+ } from "./variant-hja80fqx.js";
14
14
  import {
15
15
  namespace2,
16
16
  name13
17
- } from "./shell-n7pj9vak.js";
17
+ } from "./variant-c472f307.js";
18
18
  import {
19
19
  __export
20
- } from "./shell-9rqn6x4v.js";
20
+ } from "./variant-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions3 = {};
24
- __export(exports_instructions3, {
25
- McpInstructions: () => exports_instructions3,
26
- Service: () => Service28,
27
- layer: () => layer10,
28
- node: () => node32
23
+ var exports_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
+ Service: () => Service36,
27
+ layer: () => layer12,
28
+ node: () => node39
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,13 +61,13 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service28 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service36 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer10 = Layer.effect(Service28, Effect.gen(function* () {
67
- const mcp = yield* Service34;
68
- return Service28.of({
66
+ var layer12 = Layer.effect(Service36, Effect.gen(function* () {
67
+ const mcp = yield* Service40;
68
+ return Service36.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make20({
70
+ const source = (value) => make21({
71
71
  key: Key3.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
@@ -96,6 +96,6 @@ var layer10 = Layer.effect(Service28, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node32 = makeLocationNode({ service: Service28, layer: layer10, deps: [node37] });
99
+ var node39 = makeLocationNode({ service: Service36, layer: layer12, deps: [node43] });
100
100
 
101
- export { Service28, layer10, node32, exports_instructions3 };
101
+ export { Service36, layer12, node39, exports_instructions4 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./shell-922hggd3.js";
4
+ } from "./variant-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./shell-7jdsj2a9.js";
7
+ } from "./variant-y6f0p4jw.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./shell-922hggd3.js";
4
+ } from "./variant-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node86
10
- } from "./shell-afed7ext.js";
8
+ Service84,
9
+ node88
10
+ } from "./variant-965ggptx.js";
11
11
  import {
12
- Service80,
13
- node84
14
- } from "./shell-dykkexkt.js";
12
+ Service77,
13
+ node81
14
+ } from "./variant-v9yc49ez.js";
15
15
  import {
16
16
  create3
17
- } from "./shell-rdw6cm16.js";
17
+ } from "./variant-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./shell-9rqn6x4v.js";
20
+ } from "./variant-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID6,
27
- Service: () => Service50,
25
+ Error: () => Error3,
26
+ ID: () => ID4,
27
+ Service: () => Service48,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node53,
29
+ node: () => node50,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service50 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service48 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service50, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service84;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service80;
52
+ const location = yield* Service77;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID4.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service48.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node53 = makeLocationNode({
144
- service: Service50,
143
+ var node50 = makeLocationNode({
144
+ service: Service48,
145
145
  layer,
146
- deps: [FSUtil.node, node86, Global.node, node84]
146
+ deps: [FSUtil.node, node88, Global.node, node81]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service50, Service50.of({
148
+ var noopLayer3 = Layer.succeed(Service48, Service48.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service50, Service50.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error4 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error4({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID6, Error4, Service50, node53, noopLayer3, exports_snapshot2 };
166
+ export { ID4, Error3, Service48, node50, noopLayer3, exports_snapshot2 };
@@ -4,34 +4,34 @@ import {
4
4
  MAX_TOTAL_PATCH_BYTES2,
5
5
  emptyPatch2,
6
6
  chunksByFile2
7
- } from "./shell-tazgh4e4.js";
7
+ } from "./variant-tazgh4e4.js";
8
8
  import {
9
9
  gitExecutable2
10
- } from "./shell-ef5x83kb.js";
10
+ } from "./variant-ef5x83kb.js";
11
11
  import {
12
- Service80
13
- } from "./shell-dykkexkt.js";
12
+ Service77
13
+ } from "./variant-v9yc49ez.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./shell-48698xmq.js";
16
+ } from "./variant-zse5513f.js";
17
17
  import {
18
18
  __export
19
- } from "./shell-9rqn6x4v.js";
19
+ } from "./variant-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/git.ts
22
22
  var exports_git = {};
23
23
  __export(exports_git, {
24
- Plugin: () => Plugin22,
24
+ Plugin: () => Plugin19,
25
25
  VcsGitPlugin: () => exports_git
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Effect } from "effect";
29
29
  import { ChildProcess } from "effect/unstable/process";
30
30
  import { AppProcess } from "@opencode/util/process";
31
- var Plugin22 = define({
31
+ var Plugin19 = define({
32
32
  id: "opencode.vcs.git",
33
33
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
34
- const location = yield* Service80;
34
+ const location = yield* Service77;
35
35
  if (location.vcs?.type !== "git")
36
36
  return;
37
37
  const processes = yield* AppProcess.Service;
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
470
470
  return yield* diffAgainstRef(ctx, ref, options);
471
471
  });
472
472
 
473
- export { Plugin22, exports_git };
473
+ export { Plugin19, exports_git };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./shell-2a5m3afh.js";
5
+ } from "./variant-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./shell-9rqn6x4v.js";
8
+ } from "./variant-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./shell-tazgh4e4.js";
10
+ } from "./variant-tazgh4e4.js";
11
11
  import {
12
- Service80
13
- } from "./shell-dykkexkt.js";
12
+ Service77
13
+ } from "./variant-v9yc49ez.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./shell-48698xmq.js";
16
+ } from "./variant-zse5513f.js";
17
17
  import {
18
18
  __export
19
- } from "./shell-9rqn6x4v.js";
19
+ } from "./variant-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin21,
24
+ Plugin: () => Plugin18,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin21 = define({
33
+ var Plugin18 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service80;
36
+ const location = yield* Service77;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin21, exports_hg };
191
+ export { Plugin18, exports_hg };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info23
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info23 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info23 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info23, exports_skills };
21
+ export { Info16, exports_skills };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./shell-y71avatq.js";
3
+ } from "./variant-dpkg50ah.js";
4
4
  import {
5
- Service63,
6
- node66
7
- } from "./shell-v5g6m2jr.js";
5
+ Service58,
6
+ node61
7
+ } from "./variant-7rqyb9xq.js";
8
8
  import {
9
9
  __export
10
- } from "./shell-9rqn6x4v.js";
10
+ } from "./variant-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service47,
17
- node: () => node50,
16
+ Service: () => Service14,
17
+ node: () => node16,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service47 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service14 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service47, Effect.gen(function* () {
38
- const environment = yield* Service63;
37
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
38
+ const environment = yield* Service58;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service47.of({ withLock, write, writeTextPreservingBom });
59
+ return Service14.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node50 = makeLocationNode({ service: Service47, layer, deps: [node66] });
61
+ var node16 = makeLocationNode({ service: Service14, layer, deps: [node61] });
62
62
 
63
- export { Service47, readText2, syncTextBom2, node50, exports_file_mutation };
63
+ export { Service14, readText2, syncTextBom2, node16, exports_file_mutation };