@opencode/core 0.0.0-dev-19674 → 0.0.0-dev-19677

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 (785) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  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 +68 -68
  7. package/dist/chunks/{pty-06dxphr1.js → command-06dxphr1.js} +1 -1
  8. package/dist/chunks/{pty-px1xpczn.js → command-0gbtp71g.js} +22 -22
  9. package/dist/chunks/{pty-0jwsre1p.js → command-0jwsre1p.js} +1 -1
  10. package/dist/chunks/{pty-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{pty-0q0f95c6.js → command-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{pty-5fyzn1g0.js → command-0qescp40.js} +1 -1
  13. package/dist/chunks/{pty-005agstz.js → command-0rbej475.js} +16 -16
  14. package/dist/chunks/{pty-mnys6tec.js → command-0t3f5f2j.js} +24 -24
  15. package/dist/chunks/{pty-dc77grpk.js → command-0v94nfhm.js} +9 -9
  16. package/dist/chunks/{pty-p96q0vzc.js → command-0vgngd9g.js} +24 -24
  17. package/dist/chunks/{pty-marnn1hp.js → command-10jtetaj.js} +7 -7
  18. package/dist/chunks/{pty-f0bgfh1c.js → command-12fr5h43.js} +4 -4
  19. package/dist/chunks/{pty-bavdgngm.js → command-162dzd26.js} +4 -4
  20. package/dist/chunks/{pty-1dazxqgg.js → command-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{pty-0vr0cdvh.js → command-1hpee78n.js} +10 -10
  22. package/dist/chunks/{pty-rmg0m3t1.js → command-1jzmnccz.js} +8 -8
  23. package/dist/chunks/{pty-pvkmyqfe.js → command-1qsftg3h.js} +16 -16
  24. package/dist/chunks/{pty-ge5c1s9a.js → command-1sjdykg9.js} +16 -16
  25. package/dist/chunks/{pty-4bwnmqz9.js → command-1v7c51ma.js} +9 -9
  26. package/dist/chunks/{pty-pgwf6rpj.js → command-1w4m95ye.js} +2 -2
  27. package/dist/chunks/command-1x11rq2a.js +18 -0
  28. package/dist/chunks/{pty-1ygqh575.js → command-1ygqh575.js} +2 -2
  29. package/dist/chunks/{pty-bxgfab9d.js → command-205fktxw.js} +2 -2
  30. package/dist/chunks/{pty-21r38tys.js → command-21r38tys.js} +1 -1
  31. package/dist/chunks/{pty-xjr9ayca.js → command-2277p7za.js} +3 -3
  32. package/dist/chunks/{pty-2402vzrj.js → command-2402vzrj.js} +1 -1
  33. package/dist/chunks/{pty-2a64njz4.js → command-24k4k4wx.js} +20 -20
  34. package/dist/chunks/{pty-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{pty-yjq1h8wq.js → command-2ehyz9hr.js} +8 -8
  36. package/dist/chunks/{pty-fy2wv845.js → command-2s9v5q2j.js} +17 -17
  37. package/dist/chunks/{pty-1wc8ev08.js → command-2sgz0h5a.js} +17 -17
  38. package/dist/chunks/{pty-qdw5vfwv.js → command-2zsjkq9g.js} +16 -16
  39. package/dist/chunks/{pty-90cw4v64.js → command-30bm9ajm.js} +16 -16
  40. package/dist/chunks/{pty-3fc6dm20.js → command-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{pty-yztwhtj4.js → command-3h2szgxz.js} +6 -6
  42. package/dist/chunks/{pty-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{pty-p9zf421h.js → command-3pzavtjr.js} +14 -14
  44. package/dist/chunks/{pty-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{pty-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{pty-t0fxg8b9.js → command-3w0fmcng.js} +5 -5
  47. package/dist/chunks/{pty-9n8fqfgq.js → command-41h8t21e.js} +5 -5
  48. package/dist/chunks/{pty-yqcj214x.js → command-45j2k0pw.js} +15 -15
  49. package/dist/chunks/{pty-87gqba2t.js → command-467dymen.js} +29 -29
  50. package/dist/chunks/{pty-wt5vh4p5.js → command-46pvzydw.js} +22 -22
  51. package/dist/chunks/{pty-fzgxakwn.js → command-4d8evfpc.js} +6 -6
  52. package/dist/chunks/{pty-h6r3nrb9.js → command-4dgbcxzg.js} +4 -4
  53. package/dist/chunks/{pty-bx8e55ya.js → command-4dq01fp5.js} +11 -11
  54. package/dist/chunks/{pty-g51vc6t9.js → command-4jv5ref6.js} +78 -78
  55. package/dist/chunks/{pty-zffc062v.js → command-4sbvrcej.js} +17 -17
  56. package/dist/chunks/{pty-1040s6af.js → command-4w1whx26.js} +4 -4
  57. package/dist/chunks/{pty-wx6s0tts.js → command-53tjwt9g.js} +42 -42
  58. package/dist/chunks/{pty-57ez7d0k.js → command-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{pty-5daktx2q.js → command-5daktx2q.js} +1 -1
  60. package/dist/chunks/{pty-bqv8mcm8.js → command-5mffgv55.js} +2 -2
  61. package/dist/chunks/{pty-q2b1ymqp.js → command-5q02cxx3.js} +4 -4
  62. package/dist/chunks/{pty-5t3nmthw.js → command-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{pty-jsh81p2x.js → command-5vcsb3kk.js} +32 -32
  64. package/dist/chunks/{pty-v220wb3t.js → command-666pnfkr.js} +14 -14
  65. package/dist/chunks/{pty-669tq793.js → command-669tq793.js} +1 -1
  66. package/dist/chunks/{pty-hw6s7maf.js → command-68wccpr5.js} +20 -20
  67. package/dist/chunks/{pty-k1603mw5.js → command-69a0df8h.js} +14 -14
  68. package/dist/chunks/{pty-sm965ndy.js → command-69j91c1q.js} +8 -8
  69. package/dist/chunks/{pty-6msgmcgs.js → command-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{pty-njv35c9c.js → command-6xmmm4dq.js} +15 -15
  71. package/dist/chunks/{pty-s6wn0jv5.js → command-6yyja3sr.js} +9 -9
  72. package/dist/chunks/{pty-xey2vz2p.js → command-7262bdbz.js} +13 -13
  73. package/dist/chunks/{pty-73tb2d7t.js → command-73tb2d7t.js} +1 -1
  74. package/dist/chunks/{pty-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{pty-2z45ferc.js → command-7d93j08s.js} +9 -9
  76. package/dist/chunks/{pty-kxdabtfm.js → command-7hj3xbrc.js} +21 -21
  77. package/dist/chunks/{pty-m0f8gg3e.js → command-7htbj526.js} +28 -28
  78. package/dist/chunks/{pty-p42y1bm5.js → command-7p3xftwe.js} +12 -12
  79. package/dist/chunks/{pty-3qjwzzap.js → command-7q2zmtmd.js} +10 -10
  80. package/dist/chunks/{pty-5exzrj16.js → command-7v69ty2b.js} +22 -22
  81. package/dist/chunks/{pty-7tz5zdeh.js → command-7wdpv7yx.js} +16 -16
  82. package/dist/chunks/{pty-736q711b.js → command-7wxbqxph.js} +25 -25
  83. package/dist/chunks/{pty-6g11pzee.js → command-840wgd2q.js} +25 -25
  84. package/dist/chunks/{pty-1cxhbzgd.js → command-84q2vxed.js} +35 -35
  85. package/dist/chunks/{pty-bqdz6k7x.js → command-8977mvv6.js} +11 -11
  86. package/dist/chunks/{pty-k0xymqd0.js → command-8a8wdyzn.js} +11 -11
  87. package/dist/chunks/{pty-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{pty-dj2t23y0.js → command-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{pty-r9mregkx.js → command-8phwd4yj.js} +29 -25
  90. package/dist/chunks/command-95efmqcm.js +247 -0
  91. package/dist/chunks/{pty-qbbxh0je.js → command-96hc392c.js} +6 -6
  92. package/dist/chunks/{pty-ngz4ns8d.js → command-9esbgk1q.js} +4 -4
  93. package/dist/chunks/{pty-ffn2kdck.js → command-9fzyx5wt.js} +1 -1
  94. package/dist/chunks/{pty-ab8cnxkj.js → command-9g3kc011.js} +5 -5
  95. package/dist/chunks/{pty-5sh9x8dt.js → command-9hcft21q.js} +13 -13
  96. package/dist/chunks/{pty-9hn6k4tm.js → command-9hn6k4tm.js} +1 -1
  97. package/dist/chunks/{pty-k2gcmxmw.js → command-9pj1fj9p.js} +13 -13
  98. package/dist/chunks/{pty-v8jfbz3g.js → command-9r15s34d.js} +6 -6
  99. package/dist/chunks/{pty-pdnjh9qx.js → command-9r59gk3z.js} +6 -6
  100. package/dist/chunks/{pty-q1rph7bj.js → command-9s6fqtph.js} +303 -303
  101. package/dist/chunks/{pty-qwjmgwmn.js → command-9y0w708y.js} +8 -8
  102. package/dist/chunks/{pty-0f9afca0.js → command-a1a50ys5.js} +5 -5
  103. package/dist/chunks/{pty-5c4hm403.js → command-a1bz86dw.js} +3 -3
  104. package/dist/chunks/{pty-s222w9ys.js → command-a6aqwg0c.js} +1 -1
  105. package/dist/chunks/{pty-aaet6srn.js → command-aaet6srn.js} +2 -2
  106. package/dist/chunks/{pty-zpfv5b56.js → command-ahh5tn9t.js} +3 -3
  107. package/dist/chunks/{pty-jg9eaab2.js → command-akdr1yx1.js} +9 -9
  108. package/dist/chunks/{pty-e2673aay.js → command-at45qxm4.js} +2 -2
  109. package/dist/chunks/{pty-qxdvme72.js → command-b2aemhvb.js} +13 -13
  110. package/dist/chunks/{pty-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{pty-fm1t1259.js → command-b7td26qf.js} +9 -9
  112. package/dist/chunks/{pty-e25vxe6e.js → command-b9g9100q.js} +8 -8
  113. package/dist/chunks/{pty-7ac170kv.js → command-bajakh74.js} +4 -4
  114. package/dist/chunks/{pty-r3p3phz8.js → command-bbzxkx14.js} +32 -32
  115. package/dist/chunks/{pty-gns6rj52.js → command-ber7v889.js} +8 -8
  116. package/dist/chunks/{pty-rjnqjvjb.js → command-bja92bag.js} +18 -18
  117. package/dist/chunks/{pty-hh3pbsjs.js → command-bxvsvvek.js} +14 -14
  118. package/dist/chunks/{pty-bz85s9hh.js → command-bz85s9hh.js} +1 -1
  119. package/dist/chunks/{pty-3m13cm4e.js → command-c18bwgtt.js} +25 -25
  120. package/dist/chunks/{pty-9j2e64em.js → command-c492wyyq.js} +7 -7
  121. package/dist/chunks/{pty-kcpq4mkg.js → command-c89895qa.js} +20 -20
  122. package/dist/chunks/{pty-40cvr20j.js → command-ca6m86r2.js} +13 -13
  123. package/dist/chunks/{pty-mjymc32g.js → command-cavr175a.js} +4 -4
  124. package/dist/chunks/{pty-m0jqrx5p.js → command-cfpkc3c9.js} +2 -2
  125. package/dist/chunks/{pty-tc37dsfn.js → command-cnkwk6vd.js} +13 -13
  126. package/dist/chunks/{pty-9172rkmk.js → command-cq2x0peb.js} +4 -4
  127. package/dist/chunks/{pty-yx4zy76q.js → command-cy3cnjq8.js} +4 -4
  128. package/dist/chunks/{pty-q97sgnf3.js → command-cykmh698.js} +12 -12
  129. package/dist/chunks/{pty-0v4tm5rw.js → command-d1sy02nx.js} +37 -37
  130. package/dist/chunks/{pty-rx2s3z3c.js → command-d24a1m55.js} +14 -14
  131. package/dist/chunks/{pty-0bn9wq69.js → command-dfzezczs.js} +1 -1
  132. package/dist/chunks/{pty-z8av1v4k.js → command-dmajge55.js} +22 -22
  133. package/dist/chunks/{pty-xfkkasph.js → command-drwq78ky.js} +4 -4
  134. package/dist/chunks/{pty-mh29eyjv.js → command-dsk9gyby.js} +6 -6
  135. package/dist/chunks/{pty-q5rhn9x0.js → command-dy775f0c.js} +11 -11
  136. package/dist/chunks/{pty-x9h4gx6t.js → command-e01edj6k.js} +28 -28
  137. package/dist/chunks/{pty-4a9jgtk8.js → command-e2a7kn3r.js} +21 -21
  138. package/dist/chunks/{pty-cddb4mff.js → command-e3bagrz8.js} +3 -3
  139. package/dist/chunks/{pty-71w766xh.js → command-ecywet7n.js} +30 -30
  140. package/dist/chunks/{pty-m733xxny.js → command-eeq2162a.js} +83 -83
  141. package/dist/chunks/{pty-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{pty-pyymvkzv.js → command-ek5xzf05.js} +24 -24
  143. package/dist/chunks/{pty-etq0c3wd.js → command-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{pty-fbtpmqp8.js → command-ez8ghmhr.js} +6 -6
  145. package/dist/chunks/{pty-s7k5x4g9.js → command-f6jpff70.js} +16 -16
  146. package/dist/chunks/{pty-hdnk95c8.js → command-f828m53h.js} +2 -2
  147. package/dist/chunks/{pty-11dqjexa.js → command-fdms3n6w.js} +2 -2
  148. package/dist/chunks/{pty-g8d3gcyj.js → command-fdv30zvt.js} +4 -4
  149. package/dist/chunks/{pty-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{pty-ag7cc6ae.js → command-fza673sd.js} +8 -8
  151. package/dist/chunks/{pty-tdhe5xga.js → command-g8jasmdt.js} +8 -8
  152. package/dist/chunks/{pty-f3chkn2v.js → command-g97kwpg6.js} +42 -42
  153. package/dist/chunks/command-gbadjzag.js +4 -0
  154. package/dist/chunks/{pty-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{pty-dmje0bsk.js → command-gfcakcdp.js} +3 -3
  156. package/dist/chunks/{pty-w3tj97cz.js → command-ghzty3dd.js} +23 -23
  157. package/dist/chunks/{pty-gv6a8nnw.js → command-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{pty-jwn5qy9f.js → command-gw8w5vjt.js} +28 -28
  159. package/dist/chunks/{pty-h03wrkyp.js → command-h03wrkyp.js} +2 -2
  160. package/dist/chunks/{pty-b8tjeqry.js → command-h0jpty9f.js} +11 -11
  161. package/dist/chunks/{pty-z4jy6304.js → command-h3kwk8y9.js} +7 -7
  162. package/dist/chunks/{pty-ph20cxtq.js → command-h5m7e0fe.js} +9 -9
  163. package/dist/chunks/{pty-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{pty-pjx857cd.js → command-h9ammvhv.js} +22 -22
  165. package/dist/chunks/{pty-j2bad2st.js → command-h9r75fxg.js} +1 -1
  166. package/dist/chunks/{pty-935t04zr.js → command-ha607pgt.js} +6 -6
  167. package/dist/chunks/{pty-dhw9tk05.js → command-hatahbqr.js} +25 -25
  168. package/dist/chunks/{pty-ykprmxnv.js → command-hjm0k3fp.js} +2 -2
  169. package/dist/chunks/{pty-6y3v0yak.js → command-hy1f76q1.js} +4 -4
  170. package/dist/chunks/{pty-2gdwawmb.js → command-j4d74nk7.js} +37 -37
  171. package/dist/chunks/{pty-j56e64zr.js → command-j56e64zr.js} +1 -1
  172. package/dist/chunks/{pty-ckxk042a.js → command-j7qr8k9e.js} +11 -11
  173. package/dist/chunks/{pty-jppvw2tx.js → command-jppvw2tx.js} +2 -2
  174. package/dist/chunks/{pty-v88sgxh0.js → command-jv9wq4h1.js} +6 -6
  175. package/dist/chunks/{pty-z8mhsqtq.js → command-k6zsgamj.js} +8 -8
  176. package/dist/chunks/{pty-ywspvke4.js → command-kfep38wt.js} +32 -32
  177. package/dist/chunks/{pty-dxrx5bve.js → command-khnzgmt2.js} +24 -24
  178. package/dist/chunks/{pty-4st5ggns.js → command-km6ktv04.js} +6 -6
  179. package/dist/chunks/{pty-44ke2mar.js → command-knb7evpn.js} +2 -2
  180. package/dist/chunks/{pty-v1h7jmyp.js → command-kwqsq9eb.js} +1 -1
  181. package/dist/chunks/{pty-a3r4dcrj.js → command-ky3seynh.js} +2 -2
  182. package/dist/chunks/{pty-qfk7wg4g.js → command-kzm1fy32.js} +17 -17
  183. package/dist/chunks/{pty-ntcnr6d2.js → command-m728j35j.js} +10 -10
  184. package/dist/chunks/{pty-syqyze50.js → command-m8hf639e.js} +8 -8
  185. package/dist/chunks/{pty-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{pty-r72bb3g5.js → command-mrwc1hpc.js} +6 -6
  187. package/dist/chunks/{pty-1s7za8r8.js → command-mx4gtjsx.js} +18 -18
  188. package/dist/chunks/{pty-18hqe85b.js → command-n2jgbhgk.js} +8 -8
  189. package/dist/chunks/{pty-pddgv2bp.js → command-n8fcz8br.js} +5 -5
  190. package/dist/chunks/{pty-bhvqp75t.js → command-n9gqnw48.js} +26 -26
  191. package/dist/chunks/{pty-a5tya8df.js → command-nwkv3axv.js} +8 -8
  192. package/dist/chunks/{pty-mrk7h3sm.js → command-p04t4jyd.js} +5 -5
  193. package/dist/chunks/{pty-5vfe9zkh.js → command-p5t2wdxk.js} +11 -11
  194. package/dist/chunks/{pty-v0af3wsg.js → command-p7kdkvkh.js} +22 -22
  195. package/dist/chunks/{pty-qncn4jq9.js → command-pb15jk6q.js} +19 -19
  196. package/dist/chunks/{pty-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{pty-850skrb0.js → command-pka3f0bn.js} +23 -23
  198. package/dist/chunks/{pty-pknna89w.js → command-pknna89w.js} +1 -1
  199. package/dist/chunks/{pty-8bjgc9mz.js → command-q1hc292q.js} +11 -11
  200. package/dist/chunks/{pty-dhmh7aw6.js → command-q5asdkn4.js} +4 -4
  201. package/dist/chunks/{pty-71506k9g.js → command-q68zbz63.js} +12 -12
  202. package/dist/chunks/{pty-0p9dtxs1.js → command-qa89xvga.js} +43 -43
  203. package/dist/chunks/{pty-fj0bt93f.js → command-qhvr2jea.js} +4 -4
  204. package/dist/chunks/{pty-qqs6wgn3.js → command-qj8dptrs.js} +48 -48
  205. package/dist/chunks/{pty-zyr9wvqd.js → command-qnga3n65.js} +12 -12
  206. package/dist/chunks/{pty-nb2s3qfq.js → command-qnt9sasj.js} +5 -5
  207. package/dist/chunks/{pty-qsdy395h.js → command-qsdy395h.js} +1 -1
  208. package/dist/chunks/{pty-2sejkfem.js → command-r2m716tb.js} +9 -9
  209. package/dist/chunks/{pty-e3yfb1af.js → command-r7fwjr8e.js} +47 -47
  210. package/dist/chunks/{pty-vfy19pwe.js → command-rc7jd0ep.js} +14 -14
  211. package/dist/chunks/{pty-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{pty-nq7qbqzc.js → command-rhafb4aa.js} +9 -9
  213. package/dist/chunks/{pty-xr777zyz.js → command-rqr91q1p.js} +24 -24
  214. package/dist/chunks/{pty-k6ed90aj.js → command-rqz3bkzt.js} +8 -8
  215. package/dist/chunks/{pty-0zz4rd6y.js → command-rre36xp5.js} +13 -13
  216. package/dist/chunks/{pty-2y0fysv8.js → command-s57hh4xa.js} +60 -60
  217. package/dist/chunks/{pty-3c3dzs67.js → command-s86fxarf.js} +17 -17
  218. package/dist/chunks/{pty-jy9pcjq0.js → command-seydkqn5.js} +11 -11
  219. package/dist/chunks/{pty-63wpvyg5.js → command-sgve36kw.js} +131 -131
  220. package/dist/chunks/{pty-3ythc6yv.js → command-shh6fz4q.js} +4 -4
  221. package/dist/chunks/{pty-ps02k4bp.js → command-sj80jspt.js} +35 -35
  222. package/dist/chunks/{pty-p9rg9ssf.js → command-stnkqxxq.js} +10 -10
  223. package/dist/chunks/{pty-27pm8xwp.js → command-t23rfjnq.js} +6 -6
  224. package/dist/chunks/{pty-s8d7rejh.js → command-t550f9t1.js} +4 -4
  225. package/dist/chunks/{pty-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{pty-emvra4z4.js → command-tbvzjzzt.js} +41 -41
  227. package/dist/chunks/{pty-89znhe33.js → command-tcezcvh9.js} +4 -4
  228. package/dist/chunks/{pty-1frb376n.js → command-tcy8tav0.js} +8 -8
  229. package/dist/chunks/{pty-b7eb1kpf.js → command-td2jtkpf.js} +16 -16
  230. package/dist/chunks/{pty-tdstcens.js → command-tdstcens.js} +1 -1
  231. package/dist/chunks/{pty-t04gerxp.js → command-tfdat96q.js} +9 -9
  232. package/dist/chunks/{pty-3a958b5j.js → command-tk1ghjnq.js} +3 -3
  233. package/dist/chunks/{pty-3r43kab8.js → command-tqxxrrwb.js} +30 -30
  234. package/dist/chunks/{pty-tvtrv512.js → command-tvtrv512.js} +1 -1
  235. package/dist/chunks/{pty-3ekjvzbw.js → command-v10a7mjz.js} +26 -26
  236. package/dist/chunks/{pty-veqvce7d.js → command-veqvce7d.js} +1 -1
  237. package/dist/chunks/{pty-wtpgbvbt.js → command-vry016k2.js} +14 -14
  238. package/dist/chunks/{pty-vzcthcp8.js → command-vzcthcp8.js} +1 -1
  239. package/dist/chunks/{pty-zgqa5fck.js → command-vzjsab6x.js} +11 -11
  240. package/dist/chunks/{pty-zr15egg9.js → command-w2xdsg80.js} +16 -16
  241. package/dist/chunks/{pty-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{pty-bbbg5gcy.js → command-w9037jm3.js} +31 -31
  243. package/dist/chunks/{pty-9fday5he.js → command-wbhg106y.js} +18 -18
  244. package/dist/chunks/{pty-yx6bawja.js → command-wd5s8d9s.js} +34 -34
  245. package/dist/chunks/{pty-wd87259q.js → command-wd87259q.js} +1 -1
  246. package/dist/chunks/{pty-q9nw0fkx.js → command-wevghkec.js} +24 -24
  247. package/dist/chunks/{pty-xnwnz12t.js → command-wmnva1mv.js} +3 -3
  248. package/dist/chunks/{pty-4wp66bzr.js → command-wmqsncpr.js} +12 -12
  249. package/dist/chunks/{pty-6kqz0sw2.js → command-wpsghzwe.js} +18 -18
  250. package/dist/chunks/{pty-2497c3gb.js → command-wpxh4773.js} +27 -27
  251. package/dist/chunks/{pty-s8bmxf4b.js → command-wtvb9gzx.js} +9 -9
  252. package/dist/chunks/{pty-ybhbtxjg.js → command-wxffcvth.js} +3 -3
  253. package/dist/chunks/{pty-hemqm6a0.js → command-x0dfaghg.js} +13 -13
  254. package/dist/chunks/{pty-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{pty-972ydv8n.js → command-xd79hgjq.js} +17 -17
  256. package/dist/chunks/{pty-vmgmz9ta.js → command-xf7eefbk.js} +9 -9
  257. package/dist/chunks/{pty-tn7fkxn8.js → command-xmzstg3h.js} +7 -7
  258. package/dist/chunks/{pty-qvzt4t8k.js → command-xnq8y3wp.js} +8 -8
  259. package/dist/chunks/{pty-qybw96f7.js → command-xw6050bm.js} +14 -14
  260. package/dist/chunks/{pty-jexxy024.js → command-xxynqx5z.js} +2 -2
  261. package/dist/chunks/{pty-bv3ar4t8.js → command-y10xyzsy.js} +3 -3
  262. package/dist/chunks/{pty-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{pty-dpkg50ah.js → command-y71avatq.js} +4 -4
  264. package/dist/chunks/{pty-3b1q5j1v.js → command-y8nmaz64.js} +6 -6
  265. package/dist/chunks/{pty-wz87yraf.js → command-yaf95dqt.js} +11 -11
  266. package/dist/chunks/{pty-qjnxxf51.js → command-yjptyezs.js} +5 -5
  267. package/dist/chunks/{pty-1acjjqhc.js → command-yp2x3t23.js} +4 -4
  268. package/dist/chunks/{pty-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
  269. package/dist/chunks/{pty-yrznvahk.js → command-yrznvahk.js} +2 -2
  270. package/dist/chunks/{pty-2h71m0y1.js → command-ytvz0vpx.js} +21 -21
  271. package/dist/chunks/{pty-w1ad28wa.js → command-yy3gmdz3.js} +8 -8
  272. package/dist/chunks/{pty-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{pty-z63w68vq.js → command-z63w68vq.js} +2 -2
  274. package/dist/chunks/{pty-fbbqv6gz.js → command-z9kmesag.js} +46 -46
  275. package/dist/chunks/{pty-97mj29ww.js → command-zam46q7w.js} +11 -11
  276. package/dist/chunks/{pty-g02dc5pq.js → command-zch60zmd.js} +11 -11
  277. package/dist/chunks/{pty-bh4tknr0.js → command-zeays675.js} +17 -17
  278. package/dist/chunks/{pty-zeh9ct20.js → command-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{pty-1qxk71h7.js → command-zgsp9d7f.js} +31 -31
  280. package/dist/chunks/{pty-rkdvqggb.js → command-zk8c4w5t.js} +5 -5
  281. package/dist/chunks/{pty-hkcbg3z4.js → command-zmnepbn3.js} +7 -7
  282. package/dist/chunks/{pty-hp2jeqkr.js → command-zr1jw1p3.js} +23 -23
  283. package/dist/chunks/{pty-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{pty-pqp3n84c.js → command-zveb96hb.js} +31 -31
  285. package/dist/chunks/{pty-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +80 -80
  290. package/dist/config/discovery.js +83 -83
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +105 -105
  293. package/dist/config/plugin/agent.js +122 -122
  294. package/dist/config/plugin/command.js +210 -210
  295. package/dist/config/plugin/compaction.js +158 -158
  296. package/dist/config/plugin/compatibility.js +140 -140
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +123 -123
  299. package/dist/config/plugin/image.js +122 -122
  300. package/dist/config/plugin/instruction.js +87 -87
  301. package/dist/config/plugin/location-watcher.js +122 -122
  302. package/dist/config/plugin/mcp.js +129 -129
  303. package/dist/config/plugin/policy.js +122 -122
  304. package/dist/config/plugin/provider.js +122 -122
  305. package/dist/config/plugin/reference.js +124 -124
  306. package/dist/config/plugin/shell.js +124 -124
  307. package/dist/config/plugin/skill-file.js +101 -101
  308. package/dist/config/plugin/skill.js +143 -143
  309. package/dist/config/plugin/snapshot.js +122 -122
  310. package/dist/config/plugin/source.js +125 -125
  311. package/dist/config/plugin/tool-output.js +124 -124
  312. package/dist/config/plugin/websearch.js +123 -123
  313. package/dist/config/plugin/worktree.js +124 -124
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +127 -127
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +78 -78
  319. package/dist/database/database.js +65 -65
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +75 -75
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +364 -364
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +92 -92
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +94 -94
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +69 -69
  408. package/dist/file-access.js +103 -103
  409. package/dist/file-mutation.js +93 -93
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +219 -219
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +102 -102
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +107 -107
  424. package/dist/form.js +79 -79
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +88 -88
  427. package/dist/generate.js +102 -102
  428. package/dist/git.js +6 -6
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +98 -98
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +355 -355
  453. package/dist/instruction-discovery.js +84 -84
  454. package/dist/instructions/builtins.js +86 -86
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +83 -83
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +131 -131
  462. package/dist/location-mutation.js +103 -103
  463. package/dist/location-service-map.js +85 -85
  464. package/dist/location-services.js +352 -352
  465. package/dist/location.js +80 -80
  466. package/dist/mcp/client.js +90 -90
  467. package/dist/mcp/index.js +105 -105
  468. package/dist/mcp/instructions.js +124 -124
  469. package/dist/mcp/oauth.js +77 -77
  470. package/dist/mcp/stdio.js +89 -89
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +98 -98
  473. package/dist/model-resolver.js +97 -97
  474. package/dist/model.js +97 -97
  475. package/dist/models-dev.js +106 -106
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +79 -79
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +104 -104
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +85 -85
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +101 -101
  486. package/dist/plugin/command.js +98 -98
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +216 -216
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +1 -1
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +95 -95
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +101 -101
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  499. package/dist/plugin/provider/azure.js +121 -121
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +118 -118
  505. package/dist/plugin/provider/digitalocean.js +92 -92
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +92 -92
  510. package/dist/plugin/provider/gitlab.js +90 -90
  511. package/dist/plugin/provider/google-vertex.js +89 -89
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +119 -119
  515. package/dist/plugin/provider/modal.js +91 -91
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +121 -121
  518. package/dist/plugin/provider/openai.js +91 -91
  519. package/dist/plugin/provider/opencode.js +92 -92
  520. package/dist/plugin/provider/openrouter.js +90 -90
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +77 -77
  523. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  524. package/dist/plugin/provider/sap-ai-core.js +90 -90
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +89 -89
  529. package/dist/plugin/provider/vllm.js +121 -121
  530. package/dist/plugin/provider/xai.js +90 -90
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +158 -158
  533. package/dist/plugin/sdk.js +69 -69
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +136 -136
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/update.js +2 -2
  539. package/dist/plugin/vcs/git.js +85 -85
  540. package/dist/plugin/vcs/hg.js +85 -85
  541. package/dist/plugin/warming.js +120 -120
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +223 -223
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +79 -79
  553. package/dist/provider.js +96 -96
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +97 -97
  558. package/dist/reference/instructions.js +88 -88
  559. package/dist/reference.js +90 -90
  560. package/dist/repository-cache.js +80 -80
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +94 -94
  564. package/dist/rpc.js +85 -85
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +132 -132
  568. package/dist/session/context.js +150 -150
  569. package/dist/session/diff.js +87 -87
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +219 -219
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +151 -151
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +89 -89
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +76 -76
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +96 -96
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +117 -117
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +85 -85
  588. package/dist/session/prompt.js +104 -104
  589. package/dist/session/provider-context.js +1 -1
  590. package/dist/session/revert.js +89 -89
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +228 -228
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +97 -97
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +111 -111
  598. package/dist/session/runner/step.js +122 -122
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +3 -3
  601. package/dist/session/session.js +171 -171
  602. package/dist/session/shell.js +137 -137
  603. package/dist/session/skill.js +102 -102
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +72 -72
  606. package/dist/session/store.js +86 -86
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +206 -206
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +154 -154
  611. package/dist/session/to-session-error.js +110 -110
  612. package/dist/session/transfer.js +210 -210
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +214 -214
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +139 -139
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +104 -104
  622. package/dist/skill.js +111 -111
  623. package/dist/snapshot.js +88 -88
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +121 -121
  628. package/dist/tool/plugin/edit.js +119 -119
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +123 -123
  631. package/dist/tool/plugin/grep.js +123 -123
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +121 -121
  634. package/dist/tool/plugin/question.js +104 -104
  635. package/dist/tool/plugin/read.js +124 -124
  636. package/dist/tool/plugin/shell.js +215 -215
  637. package/dist/tool/plugin/skill.js +112 -112
  638. package/dist/tool/plugin/subagent.js +213 -213
  639. package/dist/tool/plugin/webfetch.js +105 -105
  640. package/dist/tool/plugin/websearch.js +109 -109
  641. package/dist/tool/plugin/write.js +121 -121
  642. package/dist/tool/read-filesystem.js +99 -99
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +15 -15
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/git-executable.js +2 -2
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +91 -91
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +1 -1
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/variant.js +92 -92
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +88 -88
  675. package/dist/websearch.js +83 -83
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +78 -78
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +77 -77
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +10 -10
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +88 -88
  685. package/dist/worktree.js +97 -97
  686. package/package.json +8 -8
  687. package/dist/chunks/pty-1tm0r3ht.js +0 -4
  688. package/dist/chunks/pty-b8vveb32.js +0 -247
  689. package/dist/chunks/pty-vnkjks7b.js +0 -18
  690. /package/dist/chunks/{pty-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{pty-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{pty-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{pty-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{pty-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{pty-24dcb14g.js → command-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{pty-2710q6r3.js → command-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{pty-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{pty-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{pty-359p4xyc.js → command-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{pty-3asan66x.js → command-3asan66x.js} +0 -0
  701. /package/dist/chunks/{pty-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{pty-3w5fmr99.js → command-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{pty-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{pty-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{pty-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{pty-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{pty-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{pty-53557ph1.js → command-53557ph1.js} +0 -0
  709. /package/dist/chunks/{pty-550bvhaj.js → command-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{pty-5qd3pb7m.js → command-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{pty-6prwharc.js → command-6prwharc.js} +0 -0
  712. /package/dist/chunks/{pty-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{pty-7m9af43g.js → command-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{pty-822emrt2.js → command-822emrt2.js} +0 -0
  715. /package/dist/chunks/{pty-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{pty-8n3pysct.js → command-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{pty-922hggd3.js → command-922hggd3.js} +0 -0
  718. /package/dist/chunks/{pty-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{pty-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{pty-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{pty-af5trqkr.js → command-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{pty-afrmfg78.js → command-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{pty-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{pty-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{pty-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{pty-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{pty-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{pty-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{pty-d9fn303g.js → command-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{pty-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{pty-dajrwvna.js → command-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{pty-dap0rakb.js → command-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{pty-df08tz66.js → command-df08tz66.js} +0 -0
  734. /package/dist/chunks/{pty-dy18nga0.js → command-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{pty-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{pty-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{pty-ec1grn59.js → command-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{pty-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{pty-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{pty-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{pty-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{pty-faypxj3z.js → command-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{pty-fd410y7t.js → command-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{pty-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{pty-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{pty-g86h250q.js → command-g86h250q.js} +0 -0
  747. /package/dist/chunks/{pty-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{pty-gftt206x.js → command-gftt206x.js} +0 -0
  749. /package/dist/chunks/{pty-hjbc5kem.js → command-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{pty-hk9envan.js → command-hk9envan.js} +0 -0
  751. /package/dist/chunks/{pty-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{pty-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{pty-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{pty-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{pty-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{pty-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{pty-mp448xyj.js → command-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{pty-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{pty-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{pty-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{pty-njntx4h6.js → command-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{pty-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{pty-q74kybfr.js → command-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{pty-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{pty-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{pty-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{pty-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  768. /package/dist/chunks/{pty-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{pty-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{pty-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{pty-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{pty-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{pty-twg0f83k.js → command-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{pty-w803qqfp.js → command-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{pty-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  776. /package/dist/chunks/{pty-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{pty-wtztk69x.js → command-wtztk69x.js} +0 -0
  778. /package/dist/chunks/{pty-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  779. /package/dist/chunks/{pty-x61499pn.js → command-x61499pn.js} +0 -0
  780. /package/dist/chunks/{pty-y44na4kk.js → command-y44na4kk.js} +0 -0
  781. /package/dist/chunks/{pty-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  782. /package/dist/chunks/{pty-y8f7s663.js → command-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{pty-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{pty-ym463w8f.js → command-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{pty-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./command-922hggd3.js";
4
4
  import {
5
5
  Service80,
6
6
  node84
7
- } from "./pty-ab8cnxkj.js";
7
+ } from "./command-9g3kc011.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./pty-2402vzrj.js";
13
+ } from "./command-2402vzrj.js";
14
14
  import {
15
- Service56,
16
- node59
17
- } from "./pty-ntcnr6d2.js";
15
+ Service73,
16
+ node77
17
+ } from "./command-m728j35j.js";
18
18
  import {
19
19
  __export
20
- } from "./pty-9rqn6x4v.js";
20
+ } from "./command-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service36,
33
+ Service: () => Service49,
34
34
  isError: () => isError2,
35
- node: () => node39,
35
+ node: () => node52,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service36 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service49 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service36, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service80;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service56;
110
- return Service36.of({
109
+ const kv = yield* Service73;
110
+ return Service49.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node39 = makeGlobalNode({
171
- service: Service36,
170
+ var node52 = makeGlobalNode({
171
+ service: Service49,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node59]
173
+ deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node77]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service36, isError2, validateBranch2, node39, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service49, isError2, validateBranch2, node52, exports_repository_cache };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./pty-0paq2nw3.js";
4
+ } from "./command-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./pty-850skrb0.js";
7
+ } from "./command-pka3f0bn.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./pty-5exzrj16.js";
11
+ } from "./command-7v69ty2b.js";
12
12
  import {
13
13
  __export
14
- } from "./pty-9rqn6x4v.js";
14
+ } from "./command-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./pty-dpkg50ah.js";
3
+ } from "./command-y71avatq.js";
4
4
  import {
5
5
  Service81,
6
6
  node85
7
- } from "./pty-bavdgngm.js";
7
+ } from "./command-162dzd26.js";
8
8
  import {
9
9
  Event19,
10
- Service76,
11
- node80
12
- } from "./pty-s7k5x4g9.js";
10
+ Service74,
11
+ node78
12
+ } from "./command-f6jpff70.js";
13
13
  import {
14
14
  Service78,
15
15
  node82
16
- } from "./pty-e2673aay.js";
16
+ } from "./command-at45qxm4.js";
17
17
  import {
18
- Service62,
19
- node65
20
- } from "./pty-kxdabtfm.js";
18
+ Service42,
19
+ node45
20
+ } from "./command-7hj3xbrc.js";
21
21
  import {
22
- ID16,
23
- Service77,
24
- node81
25
- } from "./pty-2a64njz4.js";
22
+ ID15,
23
+ Service72,
24
+ node76
25
+ } from "./command-24k4k4wx.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./pty-rdw6cm16.js";
29
+ } from "./command-rdw6cm16.js";
30
30
  import {
31
31
  ID14,
32
32
  MethodID2,
33
- Service75,
34
- node79
35
- } from "./pty-v0af3wsg.js";
33
+ Service71,
34
+ node75
35
+ } from "./command-p7kdkvkh.js";
36
36
  import {
37
37
  __export
38
- } from "./pty-9rqn6x4v.js";
38
+ } from "./command-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service32,
53
+ Service: () => Service30,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured3,
56
+ configured: () => configured4,
57
57
  layer: () => layer14,
58
- node: () => node35
58
+ node: () => node33
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -92,21 +92,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
92
92
  var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var cloneConfig = (config) => structuredClone(config);
94
94
 
95
- class Service32 extends Context.Service()("@opencode/MCP") {
95
+ class Service30 extends Context.Service()("@opencode/MCP") {
96
96
  }
97
- var Options3 = Schema.Struct({
97
+ var Options4 = Schema.Struct({
98
98
  clientInfo: Schema.optional(Schema.Struct({
99
99
  name: Schema.String,
100
100
  version: Schema.String
101
101
  }))
102
102
  });
103
- var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
103
+ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
104
104
  const location = yield* Service78;
105
- const environment = yield* Service62;
105
+ const environment = yield* Service42;
106
106
  const bus = yield* Service81;
107
- const forms = yield* Service77;
108
- const integration = yield* Service75;
109
- const credentials = yield* Service76;
107
+ const forms = yield* Service72;
108
+ const integration = yield* Service71;
109
+ const credentials = yield* Service74;
110
110
  const root = yield* Effect.scope;
111
111
  const fork = yield* FiberSet.makeRuntime();
112
112
  const entries = new Map;
@@ -134,7 +134,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
134
134
  method: { id: methodID, type: "oauth", label: name },
135
135
  authorize: () => Effect.gen(function* () {
136
136
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
137
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
137
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service74, credentials));
138
138
  })
139
139
  });
140
140
  }).pipe(Scope.provide(scope));
@@ -143,19 +143,19 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
143
143
  const name = ServerName2.make(server);
144
144
  const entry = entries.get(name);
145
145
  if (!entry)
146
- return yield* new NotFoundError3({ server: name });
146
+ return yield* new NotFoundError4({ server: name });
147
147
  return { name, entry };
148
148
  });
149
149
  const connectProvider = Effect.fnUntraced(function* (entry) {
150
150
  if (entry.config.type !== "remote" || !entry.integrationID)
151
151
  return;
152
152
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
153
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
153
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service74, credentials));
154
154
  });
155
155
  const elicitation = {
156
156
  create: (input) => Effect.gen(function* () {
157
157
  if (input.params.mode === "url") {
158
- const formID = ID16.create();
158
+ const formID = ID15.create();
159
159
  const elicitationID = input.params.elicitationId;
160
160
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
161
161
  if (key)
@@ -239,7 +239,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
239
239
  entry.scope = scope;
240
240
  const authProvider = yield* connectProvider(entry);
241
241
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
242
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service62, environment), Scope.provide(scope), Effect.exit);
242
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service42, environment), Scope.provide(scope), Effect.exit);
243
243
  if (Exit.isSuccess(result)) {
244
244
  entry.client = result.value.connection;
245
245
  entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
@@ -389,7 +389,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
389
389
  }),
390
390
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
391
391
  });
392
- return Service32.of({
392
+ return Service30.of({
393
393
  transform: state.transform,
394
394
  reload: state.reload,
395
395
  servers: Effect.fn("MCP.servers")(function* () {
@@ -508,14 +508,14 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
508
508
  })
509
509
  });
510
510
  }));
511
- function configured3(options) {
511
+ function configured4(options) {
512
512
  return makeLocationNode({
513
- service: Service32,
513
+ service: Service30,
514
514
  layer: layer14(options),
515
- deps: [node82, node65, node85, node81, node79, node80]
515
+ deps: [node82, node45, node85, node76, node75, node78]
516
516
  });
517
517
  }
518
- var node35 = configured3();
518
+ var node33 = configured4();
519
519
  function toElicitationField(key, property, required) {
520
520
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
521
521
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
566
566
  }
567
567
  }
568
568
 
569
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service32, Options3, layer14, configured3, node35, exports_mcp4 };
569
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service30, Options4, layer14, configured4, node33, exports_mcp4 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./command-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useragent2
3
- } from "./pty-wz87yraf.js";
3
+ } from "./command-yaf95dqt.js";
4
4
  import {
5
5
  ID13
6
- } from "./pty-850skrb0.js";
6
+ } from "./command-pka3f0bn.js";
7
7
 
8
8
  // src/plugin/provider/gitlab.ts
9
9
  import os from "os";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./command-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: () => Info8
9
+ Info: () => Info7
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info8 = Schema.Struct({
12
+ var Info7 = 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 Info8 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info8, exports_skills };
21
+ export { Info7, exports_skills };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./pty-y8cydn3q.js";
3
+ } from "./command-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service62
3
- } from "./pty-kxdabtfm.js";
2
+ Service42
3
+ } from "./command-7hj3xbrc.js";
4
4
  import {
5
- Service18,
5
+ Service38,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./pty-hemqm6a0.js";
8
+ } from "./command-x0dfaghg.js";
9
9
  import {
10
- Service58
11
- } from "./pty-hh3pbsjs.js";
10
+ Service40
11
+ } from "./command-bxvsvvek.js";
12
12
  import {
13
- Service67
14
- } from "./pty-ywspvke4.js";
13
+ Service61
14
+ } from "./command-kfep38wt.js";
15
15
  import {
16
- Service66
17
- } from "./pty-njv35c9c.js";
16
+ Service50
17
+ } from "./command-6xmmm4dq.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./pty-6prwharc.js";
20
+ } from "./command-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./pty-9rqn6x4v.js";
23
+ } from "./command-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input2,
29
- Output: () => Output2,
30
- Plugin: () => Plugin18,
28
+ Input: () => Input9,
29
+ Output: () => Output6,
30
+ Plugin: () => Plugin43,
31
31
  WriteTool: () => exports_write,
32
- name: () => name2,
33
- toModelContent: () => toModelContent2
32
+ name: () => name9,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name2 = "write";
39
- var Input2 = Schema.Struct({
38
+ var name9 = "write";
39
+ var Input9 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output2 = Schema.Struct({
45
+ var Output6 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin18 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin43 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service66;
56
- const fileMutation = yield* Service18;
57
- const environment = yield* Service62;
58
- const formatter = yield* Service58;
59
- const permission = yield* Service67;
55
+ const access = yield* Service50;
56
+ const fileMutation = yield* Service38;
57
+ const environment = yield* Service42;
58
+ const formatter = yield* Service40;
59
+ const permission = yield* Service61;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name2,
61
+ name: name9,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input2,
69
- output: Output2,
68
+ input: Input9,
69
+ output: Output6,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name2, Input2, Output2, toModelContent2, Plugin18, exports_write };
101
+ export { name9, Input9, Output6, toModelContent4, Plugin43, exports_write };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./pty-dmje0bsk.js";
4
+ } from "./command-gfcakcdp.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./pty-5c4hm403.js";
8
+ } from "./command-a1bz86dw.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
11
  load5
12
- } from "./pty-yjq1h8wq.js";
12
+ } from "./command-2ehyz9hr.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./pty-a3r4dcrj.js";
15
+ } from "./command-ky3seynh.js";
16
16
  import {
17
17
  __export
18
- } from "./pty-9rqn6x4v.js";
18
+ } from "./command-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput4,
24
- Service: () => Service68,
23
+ ListInput: () => ListInput5,
24
+ Service: () => Service63,
25
25
  SessionStore: () => exports_store,
26
- node: () => node72
26
+ node: () => node66
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
50
50
  subpath: RelativePath.pipe(Schema.optional)
51
51
  });
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
- var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
53
+ var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service68 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service63 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service68, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
58
58
  const { db } = yield* Service82;
59
- return Service68.of({
59
+ return Service63.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node72 = makeGlobalNode({ service: Service68, layer, deps: [node86] });
128
+ var node66 = makeGlobalNode({ service: Service63, layer, deps: [node86] });
129
129
 
130
- export { ListInput4, Service68, node72, exports_store };
130
+ export { ListInput5, Service63, node66, exports_store };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./pty-ym463w8f.js";
3
+ } from "./command-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./pty-5t3nmthw.js";
3
+ } from "./command-5t3nmthw.js";
4
4
  import {
5
- Service52,
6
- node55
7
- } from "./pty-jwn5qy9f.js";
5
+ Service59,
6
+ node62
7
+ } from "./command-gw8w5vjt.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./command-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate = {};
14
- __export(exports_generate, {
15
- Generate: () => exports_generate,
13
+ var exports_generate2 = {};
14
+ __export(exports_generate2, {
15
+ Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service19,
17
+ Service: () => Service39,
18
18
  UnavailableError: () => UnavailableError3,
19
- layer: () => layer9,
20
- node: () => node22
19
+ layer: () => layer15,
20
+ node: () => node42
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
33
33
  }) {
34
34
  }
35
35
 
36
- class Service19 extends Context.Service()("@opencode/Generate") {
36
+ class Service39 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer9 = Layer.effect(Service19, Effect.gen(function* () {
38
+ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service52;
40
+ const resolver = yield* Service59;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -63,12 +63,12 @@ var layer9 = Layer.effect(Service19, Effect.gen(function* () {
63
63
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service19.of({ text });
66
+ return Service39.of({ text });
67
67
  }));
68
- var node22 = makeLocationNode({
69
- service: Service19,
70
- layer: layer9,
71
- deps: [node55, llmClient2]
68
+ var node42 = makeLocationNode({
69
+ service: Service39,
70
+ layer: layer15,
71
+ deps: [node62, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError3, Service19, layer9, node22, exports_generate };
74
+ export { ModelSelectionError2, UnavailableError3, Service39, layer15, node42, exports_generate2 };