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

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +74 -74
  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/{location-tjnkxtjb.js → variant-0154zt3t.js} +129 -129
  8. package/dist/chunks/{location-4s40p9k7.js → variant-05r119gk.js} +23 -23
  9. package/dist/chunks/{location-x0809vwh.js → variant-0fzt54dc.js} +6 -6
  10. package/dist/chunks/{location-0ft9cg2j.js → variant-0gaj4617.js} +6 -6
  11. package/dist/chunks/{location-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{location-0q0f95c6.js → variant-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{location-bx7pdy00.js → variant-10x51kd0.js} +11 -11
  14. package/dist/chunks/{location-n6v1p1rv.js → variant-11r4b5ha.js} +11 -11
  15. package/dist/chunks/{location-hmp1x13k.js → variant-13dh974y.js} +2 -2
  16. package/dist/chunks/{location-cq9vh2fv.js → variant-15nepkqg.js} +8 -8
  17. package/dist/chunks/{location-4pegme4e.js → variant-1cac7wev.js} +41 -41
  18. package/dist/chunks/{location-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{location-9k0trt10.js → variant-1q4zsn8w.js} +11 -11
  20. package/dist/chunks/{location-nw2grrtp.js → variant-1r23n6jg.js} +30 -30
  21. package/dist/chunks/{location-s5g2gr5j.js → variant-1v4r0pjr.js} +14 -14
  22. package/dist/chunks/{location-m0r31qfn.js → variant-1y283654.js} +4 -4
  23. package/dist/chunks/{location-21r38tys.js → variant-21r38tys.js} +1 -1
  24. package/dist/chunks/{location-2402vzrj.js → variant-2402vzrj.js} +1 -1
  25. package/dist/chunks/{location-26k5bknw.js → variant-26k5bknw.js} +1 -1
  26. package/dist/chunks/{location-g4damz2s.js → variant-29eh7px0.js} +13 -13
  27. package/dist/chunks/{location-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{location-tx9w5tca.js → variant-2eegacq4.js} +8 -8
  29. package/dist/chunks/{location-d7b05d6k.js → variant-2f02t6at.js} +43 -43
  30. package/dist/chunks/{location-3w0fmcng.js → variant-2f0bjgcj.js} +5 -5
  31. package/dist/chunks/{location-qgn6gcr1.js → variant-2k8khapm.js} +5 -5
  32. package/dist/chunks/{location-9zyewfa2.js → variant-2vdhmmy2.js} +293 -293
  33. package/dist/chunks/{location-ccc8z42m.js → variant-2wehargz.js} +13 -13
  34. package/dist/chunks/{location-7ehep04d.js → variant-2wt4q6sv.js} +8 -8
  35. package/dist/chunks/{location-vtqj2nn1.js → variant-2z8j0phm.js} +31 -31
  36. package/dist/chunks/{location-5895fefb.js → variant-2zph646v.js} +6 -6
  37. package/dist/chunks/{location-s7dp56a3.js → variant-34mngf15.js} +47 -47
  38. package/dist/chunks/{location-40rqm2bh.js → variant-3as10fz9.js} +4 -4
  39. package/dist/chunks/{location-degw2fzn.js → variant-3ebgyt18.js} +2 -2
  40. package/dist/chunks/{location-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{location-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{location-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{location-knb7evpn.js → variant-3tq5qxbk.js} +8 -8
  44. package/dist/chunks/{location-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{location-e2f1r03f.js → variant-42cx3bd5.js} +32 -32
  46. package/dist/chunks/{location-44h5tttr.js → variant-44h5tttr.js} +1 -1
  47. package/dist/chunks/{location-p5sk6m23.js → variant-46q9e2t6.js} +25 -25
  48. package/dist/chunks/{location-f5fjq72r.js → variant-4r2cc09n.js} +25 -25
  49. package/dist/chunks/{location-m9g140gf.js → variant-4y9pqhyv.js} +4 -4
  50. package/dist/chunks/{location-58je2fax.js → variant-52xvjhmr.js} +9 -9
  51. package/dist/chunks/{location-33w4ejhs.js → variant-56gdpj1q.js} +6 -6
  52. package/dist/chunks/{location-drwq78ky.js → variant-57b9ws8p.js} +5 -5
  53. package/dist/chunks/{location-57ez7d0k.js → variant-57ez7d0k.js} +2 -2
  54. package/dist/chunks/{location-nqq83r9p.js → variant-5c0a4jh2.js} +52 -52
  55. package/dist/chunks/{location-5daktx2q.js → variant-5daktx2q.js} +1 -1
  56. package/dist/chunks/{location-4a5qb9ne.js → variant-5jq2p11x.js} +3 -3
  57. package/dist/chunks/{location-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{location-jv1xxs7q.js → variant-5waazmq4.js} +12 -12
  59. package/dist/chunks/{location-vyyew2bd.js → variant-61kgnza5.js} +31 -31
  60. package/dist/chunks/{location-z2xg158e.js → variant-6346gqxg.js} +11 -11
  61. package/dist/chunks/{location-669tq793.js → variant-669tq793.js} +1 -1
  62. package/dist/chunks/{location-9mnrwx6c.js → variant-69eyqcz3.js} +10 -10
  63. package/dist/chunks/{location-jw0h1ja3.js → variant-6fza86b1.js} +9 -9
  64. package/dist/chunks/{location-yt8as05q.js → variant-6jhhwrjj.js} +4 -4
  65. package/dist/chunks/{location-cxp0yhm4.js → variant-6jmftpwx.js} +18 -18
  66. package/dist/chunks/{location-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{location-880p7epb.js → variant-6n4b0dsb.js} +9 -9
  68. package/dist/chunks/{location-t4267b90.js → variant-6tvncfhr.js} +4 -4
  69. package/dist/chunks/{location-jn3dn3tv.js → variant-6x3sne5z.js} +10 -10
  70. package/dist/chunks/{location-vx82sa08.js → variant-6x7n2evt.js} +16 -16
  71. package/dist/chunks/{location-mhkvc446.js → variant-73tb2d7t.js} +3 -3
  72. package/dist/chunks/{location-eg1gpj3a.js → variant-75knnh2w.js} +11 -11
  73. package/dist/chunks/{location-fbawcmnd.js → variant-768gsh1v.js} +8 -8
  74. package/dist/chunks/{location-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{location-hyrejdvv.js → variant-84eerp93.js} +1 -1
  76. package/dist/chunks/{location-wm55hp8j.js → variant-87b5ab83.js} +18 -18
  77. package/dist/chunks/{location-6rph4hcx.js → variant-8b6mfqax.js} +9 -9
  78. package/dist/chunks/{location-7d5kf786.js → variant-8bpqntr2.js} +3 -3
  79. package/dist/chunks/{location-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{location-dhxed570.js → variant-8gy6y1pp.js} +17 -17
  81. package/dist/chunks/{location-82h62x3b.js → variant-8n2ngqz1.js} +33 -33
  82. package/dist/chunks/{location-8p4f9s12.js → variant-8p4f9s12.js} +2 -2
  83. package/dist/chunks/{location-z0ase6az.js → variant-8tskyc8r.js} +11 -11
  84. package/dist/chunks/{location-ykczf8eq.js → variant-96te9d4b.js} +5 -5
  85. package/dist/chunks/{location-fexw5mvn.js → variant-983aazre.js} +9 -9
  86. package/dist/chunks/{location-8yt4q9vr.js → variant-9bm1wkqx.js} +23 -23
  87. package/dist/chunks/{location-mfq58xys.js → variant-9eqcqd4c.js} +7 -7
  88. package/dist/chunks/{location-xdtsb8mr.js → variant-9p24bb7b.js} +10 -10
  89. package/dist/chunks/{location-53we3s11.js → variant-9pe9ne7r.js} +13 -13
  90. package/dist/chunks/{location-vn7akvp0.js → variant-9wdbzsk5.js} +18 -18
  91. package/dist/chunks/{location-b9y9tgv9.js → variant-9yhcv9e4.js} +13 -13
  92. package/dist/chunks/{location-a1bz86dw.js → variant-a1bz86dw.js} +3 -3
  93. package/dist/chunks/{location-n4kesxxz.js → variant-a24cc65p.js} +11 -11
  94. package/dist/chunks/{location-my3nbca3.js → variant-a5ypbz75.js} +3 -3
  95. package/dist/chunks/{location-aaet6srn.js → variant-aaet6srn.js} +2 -2
  96. package/dist/chunks/{location-6qr3rp4k.js → variant-adze53zs.js} +4 -4
  97. package/dist/chunks/{location-kxz8htra.js → variant-amt6wfs0.js} +43 -43
  98. package/dist/chunks/{location-ae9xvxm4.js → variant-aqagt0xn.js} +29 -29
  99. package/dist/chunks/{location-tbc1560d.js → variant-aqrscnf9.js} +13 -13
  100. package/dist/chunks/{location-7zff5f2w.js → variant-aztr3m3n.js} +19 -19
  101. package/dist/chunks/{location-s7j02z9m.js → variant-b1nwpeh8.js} +6 -6
  102. package/dist/chunks/{location-y19agrsy.js → variant-b2946ah7.js} +25 -25
  103. package/dist/chunks/{location-s4t99ejd.js → variant-b5f1m11j.js} +11 -11
  104. package/dist/chunks/{location-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{location-b97cbvw3.js → variant-b97cbvw3.js} +1 -1
  106. package/dist/chunks/{location-1ttp1ytm.js → variant-baqjdnwk.js} +8 -8
  107. package/dist/chunks/{location-cpwynne0.js → variant-bc17bezm.js} +18 -18
  108. package/dist/chunks/{location-bha4atvq.js → variant-bha4atvq.js} +4 -4
  109. package/dist/chunks/{location-mamkxpqt.js → variant-bjmk25e5.js} +19 -19
  110. package/dist/chunks/{location-c0g1hmz8.js → variant-br86fby1.js} +14 -14
  111. package/dist/chunks/variant-by5v678g.js +18 -0
  112. package/dist/chunks/{location-6r7eqvte.js → variant-c8phhc0k.js} +12 -12
  113. package/dist/chunks/{location-pd9nn3ne.js → variant-c99jbp8g.js} +14 -14
  114. package/dist/chunks/{location-cfpkc3c9.js → variant-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{location-5yzzbxa7.js → variant-cmwkp3r5.js} +8 -8
  116. package/dist/chunks/{location-npajmshb.js → variant-czncv1dn.js} +3 -3
  117. package/dist/chunks/{location-gwvxqpv7.js → variant-d9j1s0dk.js} +22 -22
  118. package/dist/chunks/{location-hbmxcjqj.js → variant-da92w30y.js} +38 -38
  119. package/dist/chunks/{location-8215kpvq.js → variant-dgx4jdcd.js} +80 -80
  120. package/dist/chunks/{location-cwa6csj7.js → variant-djszqvmq.js} +9 -9
  121. package/dist/chunks/{location-m479avaq.js → variant-dmzb2kh1.js} +8 -8
  122. package/dist/chunks/{location-3dgv3hjd.js → variant-dvyyk6h6.js} +22 -22
  123. package/dist/chunks/{location-60txwd5f.js → variant-dw7gtyxg.js} +10 -10
  124. package/dist/chunks/{location-q8peyv7x.js → variant-dwq6ryhm.js} +8 -8
  125. package/dist/chunks/{location-t4qbbbps.js → variant-e07bhymk.js} +33 -33
  126. package/dist/chunks/{location-ykjyqz5q.js → variant-e4g5679w.js} +13 -13
  127. package/dist/chunks/{location-9b3vnfxp.js → variant-e72xwpbb.js} +11 -11
  128. package/dist/chunks/{location-qfx54062.js → variant-e9nwq02x.js} +11 -11
  129. package/dist/chunks/{location-eaj1djv9.js → variant-eaj1djv9.js} +1 -1
  130. package/dist/chunks/{location-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{location-rb3ck9sj.js → variant-erdgrhzk.js} +5 -5
  132. package/dist/chunks/{location-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
  133. package/dist/chunks/{location-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{location-vj505gsk.js → variant-evnmj0gr.js} +19 -19
  135. package/dist/chunks/{location-f2dc96r8.js → variant-ez8khb7t.js} +8 -8
  136. package/dist/chunks/{location-f828m53h.js → variant-f828m53h.js} +2 -2
  137. package/dist/chunks/{location-q31adfz8.js → variant-ffy1vj08.js} +13 -13
  138. package/dist/chunks/{location-ndqtf2h8.js → variant-fjvydvzm.js} +6 -6
  139. package/dist/chunks/{location-4cc1h1mq.js → variant-fpy7bqj6.js} +3 -3
  140. package/dist/chunks/{location-xbra3s6q.js → variant-fwpce522.js} +33 -33
  141. package/dist/chunks/{location-fxbjtjnd.js → variant-fxbjtjnd.js} +1 -1
  142. package/dist/chunks/{location-5rj11cww.js → variant-fyxezqnx.js} +3 -3
  143. package/dist/chunks/{location-m81yw74a.js → variant-fzcazhxe.js} +1 -1
  144. package/dist/chunks/{location-a8daz2nm.js → variant-g3ca0se1.js} +20 -20
  145. package/dist/chunks/{location-e4s5wsx0.js → variant-g5x3nt1n.js} +23 -23
  146. package/dist/chunks/{location-98s8e1rw.js → variant-g6m037q6.js} +8 -8
  147. package/dist/chunks/{location-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{location-htnsynwp.js → variant-gmdh372t.js} +11 -11
  149. package/dist/chunks/{location-c488s98d.js → variant-gmjq4p6e.js} +12 -12
  150. package/dist/chunks/{location-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{location-ynnt83sx.js → variant-gvkpq563.js} +16 -16
  152. package/dist/chunks/{location-6kqg9tnj.js → variant-gxjafr90.js} +74 -74
  153. package/dist/chunks/{location-b1a82khe.js → variant-h424sj19.js} +13 -13
  154. package/dist/chunks/{location-9h41vc4j.js → variant-h6jr292a.js} +4 -4
  155. package/dist/chunks/{location-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{location-njhqdk9p.js → variant-h71w788e.js} +9 -9
  157. package/dist/chunks/{location-59t0awad.js → variant-he5m8xjt.js} +13 -13
  158. package/dist/chunks/{location-4ymr1qre.js → variant-hpwhafhw.js} +1 -1
  159. package/dist/chunks/{location-bw9zjykr.js → variant-hq8zt1th.js} +6 -6
  160. package/dist/chunks/{location-7kkf9gtp.js → variant-hssa1mk1.js} +6 -6
  161. package/dist/chunks/{location-fn5vdp5m.js → variant-htawzerg.js} +77 -77
  162. package/dist/chunks/{location-rny3dqzs.js → variant-hwnqw730.js} +8 -8
  163. package/dist/chunks/{location-aq2hhbb5.js → variant-hx8ybye2.js} +8 -8
  164. package/dist/chunks/{location-wyx7s1ws.js → variant-j07j1cdh.js} +40 -40
  165. package/dist/chunks/{location-j56e64zr.js → variant-j56e64zr.js} +1 -1
  166. package/dist/chunks/{location-dcse214k.js → variant-jarn1zxe.js} +6 -6
  167. package/dist/chunks/{location-azx4vnej.js → variant-jcxa0jkb.js} +14 -14
  168. package/dist/chunks/{location-hn0f0zdj.js → variant-k0crd1e0.js} +15 -15
  169. package/dist/chunks/{location-cavr175a.js → variant-k2h4r4s0.js} +4 -4
  170. package/dist/chunks/{location-1k5x2qhk.js → variant-k3an9tzv.js} +23 -23
  171. package/dist/chunks/{location-6rr5h8pv.js → variant-k4kk5nq6.js} +41 -41
  172. package/dist/chunks/{location-nfw2844t.js → variant-k5vfzq67.js} +12 -12
  173. package/dist/chunks/{location-n6151p29.js → variant-ka5jcpbb.js} +12 -12
  174. package/dist/chunks/{location-2qfd01hw.js → variant-kd66rd8f.js} +42 -42
  175. package/dist/chunks/{location-50pydq1b.js → variant-kjrb6qxe.js} +3 -3
  176. package/dist/chunks/{location-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{location-4qzjx893.js → variant-m4nm25j0.js} +6 -6
  178. package/dist/chunks/{location-bdsqc29r.js → variant-m6j00t72.js} +22 -22
  179. package/dist/chunks/{location-t3aez6g2.js → variant-m7qewpwr.js} +12 -12
  180. package/dist/chunks/{location-m7j0w58y.js → variant-m7yrkyxp.js} +8 -8
  181. package/dist/chunks/{location-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{location-rcnj0rme.js → variant-mhk0nngs.js} +33 -33
  183. package/dist/chunks/{location-42htsy3g.js → variant-mnpyady4.js} +49 -49
  184. package/dist/chunks/{location-p9xqg7t9.js → variant-mrz9s6e6.js} +9 -9
  185. package/dist/chunks/{location-tr0b1em8.js → variant-msy9kxmj.js} +9 -9
  186. package/dist/chunks/{location-9yh9j0es.js → variant-mx4tgcxr.js} +18 -18
  187. package/dist/chunks/{location-54btsc2b.js → variant-myd99ydh.js} +21 -21
  188. package/dist/chunks/{location-jp0yz35h.js → variant-mz4hn5fn.js} +10 -10
  189. package/dist/chunks/{location-0dx2y7e9.js → variant-n2k4sx1d.js} +39 -39
  190. package/dist/chunks/{location-6vfz26fc.js → variant-nk6esdp9.js} +3 -3
  191. package/dist/chunks/{location-efbgs6vz.js → variant-nm2vgw0w.js} +29 -29
  192. package/dist/chunks/{location-fhs97t90.js → variant-nq7qbqzc.js} +9 -9
  193. package/dist/chunks/{location-skgxmk24.js → variant-nr5pr1ka.js} +28 -28
  194. package/dist/chunks/{location-s8zy8myc.js → variant-nxhqveyz.js} +5 -5
  195. package/dist/chunks/{location-nzks3jc8.js → variant-nzks3jc8.js} +3 -3
  196. package/dist/chunks/{location-p28j5sbe.js → variant-p28j5sbe.js} +2 -2
  197. package/dist/chunks/{location-y07gmyf9.js → variant-p3ewdwpp.js} +12 -12
  198. package/dist/chunks/{location-praqn373.js → variant-p41gq7r8.js} +9 -9
  199. package/dist/chunks/{location-08f3efvy.js → variant-p5ckrkz6.js} +4 -4
  200. package/dist/chunks/{location-cxgtjqh0.js → variant-pembkt64.js} +2 -2
  201. package/dist/chunks/variant-pget6tg7.js +252 -0
  202. package/dist/chunks/{location-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{location-pknna89w.js → variant-pknna89w.js} +1 -1
  204. package/dist/chunks/{location-vncycja5.js → variant-pmr4s4kc.js} +4 -4
  205. package/dist/chunks/{location-1e0grdj1.js → variant-q9qvx5k4.js} +4 -4
  206. package/dist/chunks/{location-tkmwgdpd.js → variant-qa3qhgw8.js} +7 -7
  207. package/dist/chunks/{location-5ncvss9b.js → variant-qatfm6ce.js} +24 -24
  208. package/dist/chunks/{location-2cxfa0dv.js → variant-qe7hh5pt.js} +21 -21
  209. package/dist/chunks/{location-9x1ezptv.js → variant-qf1qmhmd.js} +34 -34
  210. package/dist/chunks/{location-5djjmt2r.js → variant-qr62dt95.js} +5 -5
  211. package/dist/chunks/{location-qsdy395h.js → variant-qsdy395h.js} +1 -1
  212. package/dist/chunks/{location-gg7pg1rj.js → variant-qte5z7bc.js} +5 -5
  213. package/dist/chunks/{location-m4fv4r77.js → variant-r176d7a5.js} +16 -16
  214. package/dist/chunks/{location-2a6t769v.js → variant-r17hastf.js} +26 -26
  215. package/dist/chunks/{location-zrvkv1b7.js → variant-r4zbqzs6.js} +26 -26
  216. package/dist/chunks/{location-9p3nq51p.js → variant-r714qx8e.js} +20 -20
  217. package/dist/chunks/{location-jdjpygpn.js → variant-r75q3gpe.js} +1 -1
  218. package/dist/chunks/{location-r8xr0va3.js → variant-r8xr0va3.js} +1 -1
  219. package/dist/chunks/{location-ymd8awj8.js → variant-r9h5kjxq.js} +1 -1
  220. package/dist/chunks/{location-dk38q76h.js → variant-rbwerdtn.js} +2 -2
  221. package/dist/chunks/{location-d1x6gan2.js → variant-rcn97vet.js} +8 -8
  222. package/dist/chunks/{location-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{location-59k38er6.js → variant-re8h066d.js} +23 -23
  224. package/dist/chunks/{location-4zrmry1a.js → variant-rhq1evez.js} +11 -11
  225. package/dist/chunks/{location-h13g856r.js → variant-s1kf21y0.js} +27 -27
  226. package/dist/chunks/{location-yj1rgshd.js → variant-s4wyphra.js} +24 -24
  227. package/dist/chunks/{location-r312qztd.js → variant-sd7tgwdz.js} +28 -28
  228. package/dist/chunks/{location-92pdxfkb.js → variant-stb6pav1.js} +15 -15
  229. package/dist/chunks/{location-vtt21ede.js → variant-sz1t3jvt.js} +5 -5
  230. package/dist/chunks/{location-3jvz8kdw.js → variant-szjxjngx.js} +11 -11
  231. package/dist/chunks/{location-gyve3rq7.js → variant-t0d015xz.js} +1 -1
  232. package/dist/chunks/{location-dfw05mcb.js → variant-t679ksrz.js} +14 -14
  233. package/dist/chunks/{location-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{location-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{location-tdstcens.js → variant-tdstcens.js} +1 -1
  236. package/dist/chunks/{location-y6gnhzkc.js → variant-tfsrmy5e.js} +28 -28
  237. package/dist/chunks/{location-tvtrv512.js → variant-tvtrv512.js} +1 -1
  238. package/dist/chunks/{location-veqvce7d.js → variant-veqvce7d.js} +1 -1
  239. package/dist/chunks/{location-vmgq4x8b.js → variant-vmgq4x8b.js} +2 -2
  240. package/dist/chunks/{location-vmwh049b.js → variant-vmwh049b.js} +3 -3
  241. package/dist/chunks/{location-c0g79gjn.js → variant-vt81eaed.js} +13 -13
  242. package/dist/chunks/{location-g17wn8cw.js → variant-vvza37g4.js} +12 -12
  243. package/dist/chunks/{location-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{location-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{location-jvbe9kz0.js → variant-w5b9s23p.js} +9 -9
  246. package/dist/chunks/{location-qx8pr09x.js → variant-wa6z1zpc.js} +3 -3
  247. package/dist/chunks/{location-sztr4n2w.js → variant-wc0ayt6v.js} +28 -28
  248. package/dist/chunks/{location-wd87259q.js → variant-wd87259q.js} +1 -1
  249. package/dist/chunks/{location-05ygg3qe.js → variant-wjzf10yw.js} +4 -4
  250. package/dist/chunks/{location-8b5x2rym.js → variant-wn00c1d4.js} +7 -7
  251. package/dist/chunks/{location-zatg04pf.js → variant-wnedv2xw.js} +17 -17
  252. package/dist/chunks/{location-cv9se371.js → variant-x14pzsvy.js} +13 -13
  253. package/dist/chunks/{location-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{location-19hqpwt2.js → variant-x3a9b0cv.js} +32 -32
  255. package/dist/chunks/{location-4t1cgb8z.js → variant-xdkvt8cn.js} +9 -9
  256. package/dist/chunks/{location-tknq6q93.js → variant-xf9f43sm.js} +20 -20
  257. package/dist/chunks/{location-w1nh38jn.js → variant-xqn5qrhj.js} +15 -15
  258. package/dist/chunks/variant-xt9w0car.js +26 -0
  259. package/dist/chunks/{location-x7hqa4ja.js → variant-xy2jrymb.js} +17 -17
  260. package/dist/chunks/{location-7k4e5m1f.js → variant-xzgc5d6v.js} +15 -15
  261. package/dist/chunks/{location-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{location-470p2a86.js → variant-y6gtwkkz.js} +3 -3
  263. package/dist/chunks/{location-a6akvax8.js → variant-y6zv80t6.js} +3 -3
  264. package/dist/chunks/{location-y71avatq.js → variant-y71avatq.js} +1 -1
  265. package/dist/chunks/{location-6znat1zd.js → variant-yb7hxqky.js} +7 -7
  266. package/dist/chunks/{location-6r44w5n7.js → variant-yf0xe7xe.js} +18 -18
  267. package/dist/chunks/{location-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
  268. package/dist/chunks/{location-yrznvahk.js → variant-yrznvahk.js} +2 -2
  269. package/dist/chunks/{location-r86jh9fw.js → variant-yv1wsmnb.js} +24 -24
  270. package/dist/chunks/{location-f6jdw9wk.js → variant-yxc8j9am.js} +20 -20
  271. package/dist/chunks/{location-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  272. package/dist/chunks/{location-y2vx680w.js → variant-z4n77hj8.js} +25 -25
  273. package/dist/chunks/{location-z63w68vq.js → variant-z63w68vq.js} +2 -2
  274. package/dist/chunks/{location-zee1rnkq.js → variant-zav06jzw.js} +4 -4
  275. package/dist/chunks/{location-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
  276. package/dist/chunks/{location-x4vmrnra.js → variant-zes4m6vf.js} +9 -9
  277. package/dist/chunks/{location-2pjqnemj.js → variant-zf13v5ha.js} +11 -11
  278. package/dist/chunks/{location-b54zk12g.js → variant-zg1tkmrp.js} +24 -24
  279. package/dist/chunks/{location-wgxkb9zp.js → variant-zk79tsjd.js} +28 -28
  280. package/dist/chunks/{location-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{location-sdep53ed.js → variant-zrjh3the.js} +13 -13
  282. package/dist/chunks/{location-4dhnehv0.js → variant-ztb7zmdv.js} +28 -28
  283. package/dist/chunks/{location-ej65p0rp.js → variant-zwzbmaqk.js} +16 -16
  284. package/dist/chunks/{location-tr98cyyj.js → variant-zx9yds1z.js} +21 -21
  285. package/dist/chunks/{location-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +84 -84
  291. package/dist/config/discovery.js +81 -81
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +105 -105
  294. package/dist/config/plugin/agent.js +124 -124
  295. package/dist/config/plugin/command.js +213 -213
  296. package/dist/config/plugin/compaction.js +159 -159
  297. package/dist/config/plugin/compatibility.js +140 -140
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +123 -123
  300. package/dist/config/plugin/image.js +122 -122
  301. package/dist/config/plugin/instruction.js +89 -89
  302. package/dist/config/plugin/location-watcher.js +124 -124
  303. package/dist/config/plugin/mcp.js +131 -131
  304. package/dist/config/plugin/policy.js +122 -122
  305. package/dist/config/plugin/provider.js +122 -122
  306. package/dist/config/plugin/reference.js +124 -124
  307. package/dist/config/plugin/shell.js +122 -122
  308. package/dist/config/plugin/skill-file.js +101 -101
  309. package/dist/config/plugin/skill.js +143 -143
  310. package/dist/config/plugin/snapshot.js +122 -122
  311. package/dist/config/plugin/source.js +125 -125
  312. package/dist/config/plugin/tool-output.js +124 -124
  313. package/dist/config/plugin/websearch.js +121 -121
  314. package/dist/config/plugin/worktree.js +124 -124
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +127 -127
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +82 -82
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +366 -366
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +92 -92
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +94 -94
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +73 -73
  409. package/dist/file-access.js +103 -103
  410. package/dist/file-mutation.js +93 -93
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +226 -226
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +102 -102
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +101 -101
  425. package/dist/form.js +79 -79
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +86 -86
  428. package/dist/generate.js +104 -104
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +90 -90
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +357 -357
  454. package/dist/instruction-discovery.js +82 -82
  455. package/dist/instructions/builtins.js +86 -86
  456. package/dist/instructions/index.js +1 -1
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +79 -79
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +134 -134
  463. package/dist/location-lifecycle.js +105 -105
  464. package/dist/location-mutation.js +103 -103
  465. package/dist/location-service-map.js +85 -85
  466. package/dist/location-services.js +354 -354
  467. package/dist/location.js +80 -80
  468. package/dist/mcp/client.js +90 -90
  469. package/dist/mcp/index.js +107 -107
  470. package/dist/mcp/instructions.js +125 -125
  471. package/dist/mcp/oauth.js +77 -77
  472. package/dist/mcp/stdio.js +89 -89
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +90 -90
  475. package/dist/model-resolver.js +97 -97
  476. package/dist/model.js +89 -89
  477. package/dist/models-dev.js +106 -106
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +75 -75
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +102 -102
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +87 -87
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +103 -103
  488. package/dist/plugin/command.js +100 -100
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +217 -217
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +328 -328
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +95 -95
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +101 -101
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  501. package/dist/plugin/provider/azure.js +121 -121
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +118 -118
  507. package/dist/plugin/provider/digitalocean.js +92 -92
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +92 -92
  512. package/dist/plugin/provider/gitlab.js +90 -90
  513. package/dist/plugin/provider/google-vertex.js +89 -89
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +119 -119
  517. package/dist/plugin/provider/modal.js +91 -91
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +121 -121
  520. package/dist/plugin/provider/openai.js +93 -93
  521. package/dist/plugin/provider/opencode.js +92 -92
  522. package/dist/plugin/provider/openrouter.js +90 -90
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  526. package/dist/plugin/provider/sap-ai-core.js +90 -90
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +89 -89
  531. package/dist/plugin/provider/vllm.js +121 -121
  532. package/dist/plugin/provider/xai.js +90 -90
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +75 -75
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +140 -140
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +347 -347
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +85 -85
  542. package/dist/plugin/vcs/hg.js +85 -85
  543. package/dist/plugin/warming.js +120 -120
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +6 -6
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +222 -222
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +79 -79
  555. package/dist/provider.js +88 -88
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +91 -91
  560. package/dist/reference/instructions.js +88 -88
  561. package/dist/reference.js +90 -90
  562. package/dist/repository-cache.js +80 -80
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +94 -94
  566. package/dist/rpc.js +85 -85
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +133 -133
  570. package/dist/session/context.js +151 -151
  571. package/dist/session/diff.js +87 -87
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +3 -3
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +223 -223
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +152 -152
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +87 -87
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +78 -78
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +96 -96
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +118 -118
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +104 -104
  591. package/dist/session/provider-context.js +1 -1
  592. package/dist/session/revert.js +89 -89
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +230 -230
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +97 -97
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +113 -113
  600. package/dist/session/runner/step.js +125 -125
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +1 -1
  603. package/dist/session/session.js +169 -169
  604. package/dist/session/shell.js +137 -137
  605. package/dist/session/skill.js +102 -102
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +72 -72
  608. package/dist/session/store.js +84 -84
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +209 -209
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +155 -155
  613. package/dist/session/to-session-error.js +110 -110
  614. package/dist/session/transfer.js +214 -214
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +209 -209
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +137 -137
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +106 -106
  624. package/dist/skill.js +111 -111
  625. package/dist/snapshot.js +88 -88
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +124 -124
  630. package/dist/tool/plugin/edit.js +111 -111
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +115 -115
  633. package/dist/tool/plugin/grep.js +123 -123
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +121 -121
  636. package/dist/tool/plugin/question.js +102 -102
  637. package/dist/tool/plugin/read.js +124 -124
  638. package/dist/tool/plugin/shell.js +214 -214
  639. package/dist/tool/plugin/skill.js +100 -100
  640. package/dist/tool/plugin/subagent.js +218 -218
  641. package/dist/tool/plugin/webfetch.js +109 -109
  642. package/dist/tool/plugin/websearch.js +111 -111
  643. package/dist/tool/plugin/write.js +121 -121
  644. package/dist/tool/read-filesystem.js +99 -99
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +12 -12
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +91 -91
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/variant.js +92 -92
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +86 -86
  677. package/dist/websearch.js +83 -83
  678. package/dist/wellknown/plugin.js +75 -75
  679. package/dist/wellknown.js +78 -78
  680. package/dist/workspace/driver.js +3 -3
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +79 -79
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +88 -88
  687. package/dist/worktree.js +95 -95
  688. package/package.json +8 -8
  689. package/dist/chunks/location-619r8v3y.js +0 -18
  690. package/dist/chunks/location-a88bzxj7.js +0 -252
  691. package/dist/chunks/location-pzkt74ah.js +0 -26
  692. /package/dist/chunks/{location-0mesazry.js → variant-0mesazry.js} +0 -0
  693. /package/dist/chunks/{location-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{location-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{location-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{location-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{location-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{location-24dcb14g.js → variant-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{location-2710q6r3.js → variant-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{location-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{location-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{location-359p4xyc.js → variant-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{location-3asan66x.js → variant-3asan66x.js} +0 -0
  704. /package/dist/chunks/{location-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{location-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{location-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{location-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{location-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{location-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{location-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{location-53557ph1.js → variant-53557ph1.js} +0 -0
  712. /package/dist/chunks/{location-550bvhaj.js → variant-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{location-5cmxdwv8.js → variant-5cmxdwv8.js} +0 -0
  714. /package/dist/chunks/{location-5qd3pb7m.js → variant-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{location-6prwharc.js → variant-6prwharc.js} +0 -0
  716. /package/dist/chunks/{location-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{location-7m9af43g.js → variant-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{location-822emrt2.js → variant-822emrt2.js} +0 -0
  719. /package/dist/chunks/{location-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{location-8n3pysct.js → variant-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{location-922hggd3.js → variant-922hggd3.js} +0 -0
  722. /package/dist/chunks/{location-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{location-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{location-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{location-af5trqkr.js → variant-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{location-afrmfg78.js → variant-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{location-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{location-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{location-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{location-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{location-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{location-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{location-d9fn303g.js → variant-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{location-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{location-dajrwvna.js → variant-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{location-dap0rakb.js → variant-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{location-df08tz66.js → variant-df08tz66.js} +0 -0
  738. /package/dist/chunks/{location-dy18nga0.js → variant-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{location-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{location-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{location-ec1grn59.js → variant-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{location-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{location-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{location-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{location-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{location-faypxj3z.js → variant-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{location-fd410y7t.js → variant-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{location-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{location-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{location-g86h250q.js → variant-g86h250q.js} +0 -0
  751. /package/dist/chunks/{location-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{location-gftt206x.js → variant-gftt206x.js} +0 -0
  753. /package/dist/chunks/{location-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{location-hk9envan.js → variant-hk9envan.js} +0 -0
  755. /package/dist/chunks/{location-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{location-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{location-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{location-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{location-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{location-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{location-mp448xyj.js → variant-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{location-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{location-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{location-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{location-njntx4h6.js → variant-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{location-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{location-q74kybfr.js → variant-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{location-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{location-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{location-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{location-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{location-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{location-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{location-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{location-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{location-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{location-twg0f83k.js → variant-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{location-w803qqfp.js → variant-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{location-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{location-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{location-wtztk69x.js → variant-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{location-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{location-x61499pn.js → variant-x61499pn.js} +0 -0
  784. /package/dist/chunks/{location-y44na4kk.js → variant-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{location-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{location-y8f7s663.js → variant-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{location-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{location-ym463w8f.js → variant-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{location-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
7
7
  __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info13,
10
+ Info: () => Info20,
11
11
  Object: () => Object2,
12
12
  Rule: () => Rule2
13
13
  });
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
33
33
  }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info13 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info20 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info13, exports_permission };
41
+ export { Action2, Object2, Rule2, Info20, exports_permission };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./location-y07gmyf9.js";
2
+ Service81,
3
+ node85
4
+ } from "./variant-p3ewdwpp.js";
5
5
  import {
6
6
  __export
7
- } from "./location-9rqn6x4v.js";
7
+ } from "./variant-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event18,
15
+ Event: () => Event17,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID12,
20
- Info: () => Info27,
19
+ ID: () => ID11,
20
+ Info: () => Info26,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError8,
24
24
  Reply: () => Reply2,
25
- Service: () => Service73,
25
+ Service: () => Service69,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node77,
29
+ node: () => node73,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event18 } from "@opencode/schema/form";
36
+ import { Event as Event17 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID12 = Form.ID;
39
- var Info27 = Form.Info;
38
+ var ID11 = Form.ID;
39
+ var Info26 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply2 = Form.Reply;
46
46
 
47
47
  class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID12
48
+ id: ID11
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID12
56
+ id: ID11
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID12
64
+ id: ID11
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID12,
72
+ id: ID11,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,10 +79,10 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service73 extends Context.Service()("@opencode/Form") {
82
+ class Service69 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service73, Effect.gen(function* () {
85
- const bus = yield* Service82;
84
+ var layer25 = Layer.effect(Service69, Effect.gen(function* () {
85
+ const bus = yield* Service81;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service73, Effect.gen(function* () {
90
90
  });
91
91
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID12.create();
93
+ const id = input.id ?? ID11.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service73, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service73.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service69.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node77 = makeLocationNode({ service: Service73, layer: layer25, deps: [node86] });
164
+ var node73 = makeLocationNode({ service: Service69, layer: layer25, deps: [node85] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID12, Info27, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service73, layer25, node77, validateAnswer2, validateFields2, exports_form, Event18 };
316
+ export { ID11, Info26, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service69, layer25, node73, validateAnswer2, validateFields2, exports_form, Event17 };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./location-y07gmyf9.js";
2
+ Service81,
3
+ node85
4
+ } from "./variant-p3ewdwpp.js";
5
5
  import {
6
- Event17,
7
- Service72,
8
- node76
9
- } from "./location-vtqj2nn1.js";
6
+ Event18,
7
+ Service70,
8
+ node74
9
+ } from "./variant-2z8j0phm.js";
10
10
  import {
11
- Service47,
12
- node51
13
- } from "./location-gwvxqpv7.js";
11
+ Service63,
12
+ node66
13
+ } from "./variant-d9j1s0dk.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./location-922hggd3.js";
16
+ } from "./variant-922hggd3.js";
17
17
  import {
18
18
  Service79,
19
19
  node83
20
- } from "./location-degw2fzn.js";
20
+ } from "./variant-3ebgyt18.js";
21
21
  import {
22
22
  substitute2
23
- } from "./location-yrznvahk.js";
23
+ } from "./variant-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./location-5ncvss9b.js";
26
+ } from "./variant-qatfm6ce.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./location-npajmshb.js";
30
+ } from "./variant-czncv1dn.js";
31
31
  import {
32
32
  plan2
33
- } from "./location-j56e64zr.js";
33
+ } from "./variant-j56e64zr.js";
34
34
  import {
35
- Service55,
35
+ Service64,
36
36
  Event12,
37
- node60
38
- } from "./location-6r44w5n7.js";
37
+ node67
38
+ } from "./variant-yf0xe7xe.js";
39
39
  import {
40
40
  __export
41
- } from "./location-9rqn6x4v.js";
41
+ } from "./variant-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options6,
48
- Service: () => Service46,
47
+ Options: () => Options7,
48
+ Service: () => Service62,
49
49
  Test: () => Test2,
50
- configured: () => configured7,
50
+ configured: () => configured8,
51
51
  latest: () => latest2,
52
- layer: () => layer18,
53
- node: () => node50,
52
+ layer: () => layer21,
53
+ node: () => node65,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options6 = Schema.Struct({
67
+ var Options7 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service46 extends Context.Service()("@opencode/Config") {
74
+ class Service62 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service46, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service62, service), Context.add(Test2, service));
93
93
  }));
94
- var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
94
+ var layer21 = (options) => Layer.effect(Service62, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
96
  const location = yield* Service79;
97
- const watcher = yield* Service47;
98
- const bus = yield* Service82;
99
- const credentials = yield* Service72;
97
+ const watcher = yield* Service63;
98
+ const bus = yield* Service81;
99
+ const credentials = yield* Service70;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service55;
101
+ const wellknown = yield* Service64;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -221,7 +221,7 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
@@ -250,7 +250,7 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service46.of({
253
+ return Service62.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured7(options) {
265
+ function configured8(options) {
266
266
  return makeLocationNode({
267
- service: Service46,
268
- layer: layer18(options),
269
- deps: [node51, node86, FSUtil.node, Global.node, node83, node76, node60]
267
+ service: Service62,
268
+ layer: layer21(options),
269
+ deps: [node66, node85, FSUtil.node, Global.node, node83, node74, node67]
270
270
  });
271
271
  }
272
- var node50 = configured7();
272
+ var node65 = configured8();
273
273
 
274
- export { latest2, Options6, Service46, Test2, testLayer2, layer18, configured7, node50, exports_config };
274
+ export { latest2, Options7, Service62, Test2, testLayer2, layer21, configured8, node65, exports_config };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-9k0trt10.js";
3
+ } from "./variant-1q4zsn8w.js";
4
4
  import {
5
- Service82
6
- } from "./location-y07gmyf9.js";
5
+ Service81
6
+ } from "./variant-p3ewdwpp.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./location-vtqj2nn1.js";
9
+ Event18
10
+ } from "./variant-2z8j0phm.js";
11
11
  import {
12
12
  ID10,
13
13
  MethodID2
14
- } from "./location-9p3nq51p.js";
14
+ } from "./variant-r714qx8e.js";
15
15
  import {
16
16
  which2
17
- } from "./location-qaymkmh1.js";
17
+ } from "./variant-qaymkmh1.js";
18
18
  import {
19
19
  ID9,
20
20
  mergeOverlay2
21
- } from "./location-tbc1560d.js";
21
+ } from "./variant-aqrscnf9.js";
22
22
  import {
23
23
  iife2
24
- } from "./location-1kg9ymc8.js";
24
+ } from "./variant-1kg9ymc8.js";
25
25
  import {
26
26
  configuredSettings2
27
- } from "./location-yt8as05q.js";
27
+ } from "./variant-6jhhwrjj.js";
28
28
 
29
29
  // src/plugin/provider/azure.ts
30
30
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -46,7 +46,7 @@ var AzurePlugin2 = define({
46
46
  effect: Effect.fn(function* (ctx) {
47
47
  const configured = yield* configuredSettings2(ID9.azure);
48
48
  const processes = yield* AppProcess.Service;
49
- const bus = yield* Service82;
49
+ const bus = yield* Service81;
50
50
  const tokens = new Map;
51
51
  const loading = Semaphore.makeUnsafe(1);
52
52
  const loaded = {};
@@ -161,7 +161,7 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
166
  const connection = yield* ctx.integration.connection.active(ID9.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./location-tbc1560d.js";
4
+ } from "./variant-aqrscnf9.js";
5
5
  import {
6
6
  latest2,
7
- Service46
8
- } from "./location-6rr5h8pv.js";
7
+ Service62
8
+ } from "./variant-k4kk5nq6.js";
9
9
  import {
10
- resolve2
11
- } from "./location-5895fefb.js";
10
+ resolve4
11
+ } from "./variant-2zph646v.js";
12
12
  import {
13
13
  observe2
14
- } from "./location-qsdy395h.js";
14
+ } from "./variant-qsdy395h.js";
15
15
  import {
16
16
  __export
17
- } from "./location-9rqn6x4v.js";
17
+ } from "./variant-9rqn6x4v.js";
18
18
 
19
19
  // src/config/plugin/provider.ts
20
20
  var exports_provider = {};
21
21
  __export(exports_provider, {
22
22
  ConfigProviderPlugin: () => exports_provider,
23
- Plugin: () => Plugin41
23
+ Plugin: () => Plugin24
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Money } from "@opencode/schema/money";
27
27
  import { Effect } from "effect";
28
- var Plugin41 = define({
28
+ var Plugin24 = define({
29
29
  id: "opencode.config.provider",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service46;
31
+ const config = yield* Service62;
32
32
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
33
33
  yield* ctx.integration.transform((integrations) => {
34
34
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -185,7 +185,7 @@ var Plugin41 = define({
185
185
  if (config.variants === undefined && !source?.base)
186
186
  models.update(providerID, id, (model) => {
187
187
  model.variants = [
188
- ...resolve2({
188
+ ...resolve4({
189
189
  ...model,
190
190
  package: model.package ?? models.provider.get(providerID)?.provider.package
191
191
  })
@@ -200,4 +200,4 @@ function configuredProviders(entries) {
200
200
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
201
201
  }
202
202
 
203
- export { Plugin41, exports_provider };
203
+ export { Plugin24, exports_provider };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./location-y07gmyf9.js";
2
+ Service81,
3
+ node85
4
+ } from "./variant-p3ewdwpp.js";
5
5
  import {
6
6
  Service79,
7
7
  node83
8
- } from "./location-degw2fzn.js";
8
+ } from "./variant-3ebgyt18.js";
9
9
  import {
10
- Service53,
11
- node57
12
- } from "./location-54btsc2b.js";
10
+ Service40,
11
+ node43
12
+ } from "./variant-myd99ydh.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./location-gd4qta3r.js";
15
+ } from "./variant-gd4qta3r.js";
16
16
  import {
17
- Service48,
17
+ Service46,
18
18
  args2,
19
- node52
20
- } from "./location-mamkxpqt.js";
19
+ node50
20
+ } from "./variant-bjmk25e5.js";
21
21
  import {
22
- Service78,
23
- node82
24
- } from "./location-tx9w5tca.js";
22
+ Service77,
23
+ node81
24
+ } from "./variant-2eegacq4.js";
25
25
  import {
26
- Service44,
27
- node48
28
- } from "./location-cq9vh2fv.js";
26
+ Service39,
27
+ node42
28
+ } from "./variant-15nepkqg.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./location-5cmxdwv8.js";
31
+ } from "./variant-5cmxdwv8.js";
32
32
  import {
33
33
  latest2,
34
- Service46,
35
- node50
36
- } from "./location-6rr5h8pv.js";
34
+ Service62,
35
+ node65
36
+ } from "./variant-k4kk5nq6.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./location-g17wn8cw.js";
40
+ } from "./variant-vvza37g4.js";
41
41
  import {
42
42
  __export
43
- } from "./location-9rqn6x4v.js";
43
+ } from "./variant-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
@@ -48,10 +48,10 @@ __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
49
  NotFoundError: () => NotFoundError6,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service43,
51
+ Service: () => Service38,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node47
54
+ node: () => node41
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service43 extends Context.Service()("@opencode/Shell") {
73
+ class Service38 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service43, Effect.gen(function* () {
90
- const bus = yield* Service82;
89
+ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
90
+ const bus = yield* Service81;
91
91
  const location = yield* Service79;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service48;
94
- const environment = yield* Service53;
95
- const hooks = yield* Service78;
96
- const environments = yield* Service44;
97
- const config = yield* Service46;
93
+ const shell = yield* Service46;
94
+ const environment = yield* Service40;
95
+ const hooks = yield* Service77;
96
+ const environments = yield* Service39;
97
+ const config = yield* Service62;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service43.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service38.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node47 = makeLocationNode({
320
- service: Service43,
319
+ var node41 = makeLocationNode({
320
+ service: Service38,
321
321
  layer: layer(),
322
322
  deps: [
323
- node86,
323
+ node85,
324
324
  node83,
325
325
  Global.node,
326
- node52,
327
- node57,
328
- node82,
329
- node48,
330
326
  node50,
327
+ node43,
328
+ node81,
329
+ node42,
330
+ node65,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError6, RETENTION2, DIRECTORY2, Service43, cleanup2, node47, exports_shell4 };
335
+ export { NotFoundError6, RETENTION2, DIRECTORY2, Service38, cleanup2, node41, exports_shell4 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ID9
3
- } from "./location-tbc1560d.js";
3
+ } from "./variant-aqrscnf9.js";
4
4
  import {
5
5
  iife2
6
- } from "./location-1kg9ymc8.js";
6
+ } from "./variant-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./location-yt8as05q.js";
9
+ } from "./variant-6jhhwrjj.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./location-5daktx2q.js";
3
+ } from "./variant-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./location-922hggd3.js";
6
+ } from "./variant-922hggd3.js";
7
7
  import {
8
- ID5,
8
+ ID6,
9
9
  Name2
10
- } from "./location-y6gnhzkc.js";
10
+ } from "./variant-tfsrmy5e.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./variant-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID5.make(id),
58
+ id: ID6.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },