@opencode/core 0.0.0-dev-19638 → 0.0.0-dev-19639

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 (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{file-access-6ywjc070.js → kv-0181d07v.js} +24 -24
  8. package/dist/chunks/{file-access-76xmbs1m.js → kv-06bhybne.js} +17 -17
  9. package/dist/chunks/{file-access-kw9xdzv2.js → kv-06jg94xm.js} +9 -9
  10. package/dist/chunks/{file-access-zf9pbwsw.js → kv-09evap6p.js} +81 -81
  11. package/dist/chunks/{file-access-ypyq2zsn.js → kv-0eyg9sj2.js} +10 -10
  12. package/dist/chunks/{file-access-5srkf7nd.js → kv-0faph1ym.js} +11 -11
  13. package/dist/chunks/{file-access-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-access-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{file-access-hm7xtcxq.js → kv-11cdrfz0.js} +13 -13
  16. package/dist/chunks/{file-access-6ykthspn.js → kv-19d1a1wx.js} +6 -6
  17. package/dist/chunks/{file-access-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{file-access-rj5xkaak.js → kv-1jzfq4bq.js} +13 -13
  19. package/dist/chunks/{file-access-a97f1kxr.js → kv-1qnd0792.js} +25 -25
  20. package/dist/chunks/kv-1x11rq2a.js +18 -0
  21. package/dist/chunks/{file-access-21r38tys.js → kv-21r38tys.js} +1 -1
  22. package/dist/chunks/{file-access-avs77xrm.js → kv-23razwnm.js} +5 -5
  23. package/dist/chunks/{file-access-rtxak1ft.js → kv-26xgc15z.js} +13 -13
  24. package/dist/chunks/{file-access-hpe0ccrg.js → kv-278xm5yv.js} +46 -46
  25. package/dist/chunks/{file-access-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{file-access-62agcz7g.js → kv-2rjb08nw.js} +20 -20
  27. package/dist/chunks/{file-access-vbmkf8sa.js → kv-2tkww0cv.js} +65 -65
  28. package/dist/chunks/{file-access-e2qab2dq.js → kv-2v2aaw6h.js} +5 -5
  29. package/dist/chunks/{file-access-z6q28316.js → kv-3a9wmna2.js} +29 -29
  30. package/dist/chunks/{file-access-e2e34s5q.js → kv-3c2xh2cb.js} +24 -24
  31. package/dist/chunks/{file-access-q12jtckr.js → kv-3d23mvyt.js} +10 -10
  32. package/dist/chunks/{file-access-dbtyj0an.js → kv-3fa9na4z.js} +6 -6
  33. package/dist/chunks/{file-access-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{file-access-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{file-access-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{file-access-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{file-access-f60890a8.js → kv-3xjrnnx0.js} +7 -7
  38. package/dist/chunks/{file-access-pr444p5c.js → kv-3yaty7qs.js} +18 -18
  39. package/dist/chunks/{file-access-6ycvbcht.js → kv-41j1ttxa.js} +16 -16
  40. package/dist/chunks/{file-access-e64xqjet.js → kv-426xjh9f.js} +4 -4
  41. package/dist/chunks/{file-access-sxd752g3.js → kv-427pr1n5.js} +8 -8
  42. package/dist/chunks/{file-access-nzha355v.js → kv-43p703w4.js} +15 -15
  43. package/dist/chunks/{file-access-f6fgfmmn.js → kv-4pwnbtse.js} +33 -33
  44. package/dist/chunks/{file-access-pj43p8qp.js → kv-4q6ckhfj.js} +3 -3
  45. package/dist/chunks/{file-access-vhfq0sg5.js → kv-4rpey7g3.js} +9 -9
  46. package/dist/chunks/{file-access-vmgcxazz.js → kv-51fjvt3r.js} +5 -5
  47. package/dist/chunks/{file-access-ewwzb6sv.js → kv-548bwhbx.js} +5 -5
  48. package/dist/chunks/{file-access-mfqp6xfm.js → kv-56gdpj1q.js} +6 -6
  49. package/dist/chunks/{file-access-d9s573fh.js → kv-57ez7d0k.js} +2 -2
  50. package/dist/chunks/{file-access-5c4hm403.js → kv-5c4hm403.js} +3 -3
  51. package/dist/chunks/{file-access-5daktx2q.js → kv-5daktx2q.js} +1 -1
  52. package/dist/chunks/{file-access-8yppv9j5.js → kv-5jh529f7.js} +22 -22
  53. package/dist/chunks/{file-access-m6gy85y0.js → kv-5kjbzgy0.js} +20 -20
  54. package/dist/chunks/{file-access-cpj0znwe.js → kv-5mtzsd3b.js} +4 -4
  55. package/dist/chunks/{file-access-rsk3jvy7.js → kv-5q9yd8mm.js} +11 -11
  56. package/dist/chunks/{file-access-vyqn3nqs.js → kv-5qkxfyep.js} +4 -4
  57. package/dist/chunks/kv-5rea1s2y.js +26 -0
  58. package/dist/chunks/{file-access-j0vfj7ky.js → kv-5rm646d3.js} +11 -11
  59. package/dist/chunks/{file-access-be47w3k3.js → kv-5syhs8jk.js} +11 -11
  60. package/dist/chunks/{file-access-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{file-access-vfp4enkz.js → kv-5z94tqmr.js} +11 -11
  62. package/dist/chunks/{file-access-3zrjs6f3.js → kv-60rh8x3g.js} +9 -9
  63. package/dist/chunks/{file-access-669tq793.js → kv-669tq793.js} +1 -1
  64. package/dist/chunks/{file-access-3ppptnan.js → kv-6ehbgqat.js} +6 -6
  65. package/dist/chunks/{file-access-2402vzrj.js → kv-6h73sxmp.js} +5 -5
  66. package/dist/chunks/{file-access-xsyev9bv.js → kv-6h8410cm.js} +15 -15
  67. package/dist/chunks/{file-access-a3ftg8j6.js → kv-6hjx5zpb.js} +9 -9
  68. package/dist/chunks/{file-access-jgv4nkbw.js → kv-6jqkynh6.js} +20 -20
  69. package/dist/chunks/kv-6kdq0pjd.js +4 -0
  70. package/dist/chunks/{file-access-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{file-access-8y62cfgq.js → kv-6n468d57.js} +6 -6
  72. package/dist/chunks/{file-access-4nfbas15.js → kv-6sg1sdqs.js} +14 -14
  73. package/dist/chunks/{file-access-4cmr76fd.js → kv-6w4gqaqz.js} +3 -3
  74. package/dist/chunks/{file-access-22xdy94t.js → kv-70qbzkph.js} +16 -16
  75. package/dist/chunks/{file-access-sve5t580.js → kv-782x85dz.js} +40 -40
  76. package/dist/chunks/{file-access-9b36z5yg.js → kv-7ac170kv.js} +4 -4
  77. package/dist/chunks/{file-access-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{file-access-qgn6gcr1.js → kv-7dqw4kz8.js} +5 -5
  79. package/dist/chunks/{file-access-dthhqzns.js → kv-7e0sryjp.js} +12 -12
  80. package/dist/chunks/{file-access-812zr1rk.js → kv-7p8zzw9r.js} +10 -10
  81. package/dist/chunks/{file-access-t9kha2ca.js → kv-82jgxh54.js} +2 -2
  82. package/dist/chunks/{file-access-mrxfpjcs.js → kv-837ekr2g.js} +5 -5
  83. package/dist/chunks/{file-access-zetsppkw.js → kv-8b9twrdg.js} +24 -24
  84. package/dist/chunks/{file-access-g0r62mbx.js → kv-8bcx3nez.js} +4 -4
  85. package/dist/chunks/{file-access-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{file-access-2j0dgarf.js → kv-8ma1xsee.js} +16 -16
  87. package/dist/chunks/{file-access-wvxf6pmh.js → kv-8s7dmzqa.js} +10 -10
  88. package/dist/chunks/{file-access-f3k401ar.js → kv-990yn902.js} +22 -22
  89. package/dist/chunks/{file-access-5apets8e.js → kv-9c9zbnn4.js} +6 -6
  90. package/dist/chunks/{file-access-hwr433ds.js → kv-9d2y98hx.js} +10 -10
  91. package/dist/chunks/{file-access-v24739yc.js → kv-9g3kc011.js} +5 -5
  92. package/dist/chunks/{file-access-js4k7t4e.js → kv-9gth7wdx.js} +16 -16
  93. package/dist/chunks/{file-access-km5njsm9.js → kv-9x5mrpkq.js} +8 -8
  94. package/dist/chunks/{file-access-aaet6srn.js → kv-aaet6srn.js} +2 -2
  95. package/dist/chunks/{file-access-0hnxfn8s.js → kv-aazbweyx.js} +25 -25
  96. package/dist/chunks/{file-access-qfjwnv02.js → kv-aeccn3br.js} +1 -1
  97. package/dist/chunks/{file-access-s587y4ee.js → kv-af04s6ss.js} +5 -5
  98. package/dist/chunks/{file-access-hn57h045.js → kv-ag4rn41e.js} +4 -4
  99. package/dist/chunks/{file-access-fak7xqqt.js → kv-ammhsa5d.js} +30 -30
  100. package/dist/chunks/{file-access-yb8fj77w.js → kv-aq3mj96b.js} +32 -32
  101. package/dist/chunks/{file-access-3knnkrdf.js → kv-avdt6qhh.js} +20 -20
  102. package/dist/chunks/{file-access-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{file-access-mzrp1fyr.js → kv-behht3cm.js} +17 -17
  104. package/dist/chunks/{file-access-e5nv3ght.js → kv-bndc73cn.js} +5 -5
  105. package/dist/chunks/{file-access-eahf1j6r.js → kv-bnkdgddv.js} +21 -21
  106. package/dist/chunks/{file-access-7dcaf0ce.js → kv-bqvrq9r3.js} +21 -21
  107. package/dist/chunks/{file-access-dpcqhtkn.js → kv-br1n7bnk.js} +17 -17
  108. package/dist/chunks/{file-access-njqgj7qg.js → kv-by366b0z.js} +11 -11
  109. package/dist/chunks/{file-access-cy2r3qg1.js → kv-c38fatdf.js} +31 -31
  110. package/dist/chunks/{file-access-zj09a0ew.js → kv-c5gn303e.js} +4 -4
  111. package/dist/chunks/{file-access-y3ye89br.js → kv-c9h4s5tc.js} +39 -39
  112. package/dist/chunks/{file-access-8b68vhre.js → kv-ca0bryv0.js} +17 -17
  113. package/dist/chunks/{file-access-c1661jpf.js → kv-cd1mq5a8.js} +1 -1
  114. package/dist/chunks/{file-access-g00jty2v.js → kv-cfxtxrf2.js} +15 -15
  115. package/dist/chunks/{file-access-8yph952s.js → kv-cm4vr11e.js} +4 -4
  116. package/dist/chunks/{file-access-q3t37ft6.js → kv-csdaj16z.js} +3 -3
  117. package/dist/chunks/{file-access-by9rpdtw.js → kv-d60avr4p.js} +12 -12
  118. package/dist/chunks/{file-access-9ev53f4q.js → kv-d9s3hc82.js} +16 -16
  119. package/dist/chunks/{file-access-9s92gzw6.js → kv-ddq2qd83.js} +26 -26
  120. package/dist/chunks/{file-access-dj2t23y0.js → kv-dj2t23y0.js} +2 -2
  121. package/dist/chunks/{file-access-gqchpbtd.js → kv-dj9sq318.js} +2 -2
  122. package/dist/chunks/{file-access-7n0p62ew.js → kv-dn2vbr7z.js} +10 -10
  123. package/dist/chunks/{file-access-33c2t3mm.js → kv-dwdfpg9y.js} +18 -18
  124. package/dist/chunks/{file-access-k33y0e94.js → kv-e1nkw1ch.js} +39 -39
  125. package/dist/chunks/{file-access-ngdt5g2x.js → kv-e8340df8.js} +8 -8
  126. package/dist/chunks/{file-access-4vb1y0qz.js → kv-e8m664vc.js} +7 -7
  127. package/dist/chunks/{file-access-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{file-access-1bz55dqa.js → kv-egt3aqgc.js} +85 -85
  129. package/dist/chunks/{file-access-s8j3dq9b.js → kv-eh9sc5va.js} +3 -3
  130. package/dist/chunks/{file-access-p5599t8k.js → kv-epmshq33.js} +8 -8
  131. package/dist/chunks/{file-access-k31cg7qp.js → kv-er44h2rz.js} +20 -20
  132. package/dist/chunks/{file-access-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{file-access-6m499kzd.js → kv-f9v9ak1k.js} +33 -33
  134. package/dist/chunks/{file-access-t7e0y256.js → kv-faqjheh2.js} +9 -9
  135. package/dist/chunks/{file-access-92f8rgp2.js → kv-fbge7qf9.js} +17 -17
  136. package/dist/chunks/{file-access-2js99wz0.js → kv-fbsb99ch.js} +17 -17
  137. package/dist/chunks/{file-access-b27vhd2z.js → kv-fdv30zvt.js} +7 -7
  138. package/dist/chunks/{file-access-bj5hbc59.js → kv-fq769th7.js} +4 -4
  139. package/dist/chunks/{file-access-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{file-access-cmwkp3r5.js → kv-g0445xdp.js} +4 -4
  141. package/dist/chunks/{file-access-8ank75fn.js → kv-g1sxm558.js} +8 -8
  142. package/dist/chunks/{file-access-b5jkzqy2.js → kv-g4g43v69.js} +35 -35
  143. package/dist/chunks/{file-access-dy562txv.js → kv-g5m2be3b.js} +17 -17
  144. package/dist/chunks/{file-access-8602h8p3.js → kv-g5wygk5r.js} +8 -8
  145. package/dist/chunks/{file-access-ea3fxjgj.js → kv-g6qcyr5q.js} +29 -29
  146. package/dist/chunks/{file-access-9rrc34ns.js → kv-g800bs2f.js} +26 -26
  147. package/dist/chunks/{file-access-sstmea9h.js → kv-g8saz83p.js} +22 -22
  148. package/dist/chunks/{file-access-3zdwcfwy.js → kv-gagqe2a0.js} +9 -9
  149. package/dist/chunks/{file-access-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{file-access-et8mzwyf.js → kv-gfkqpt1e.js} +11 -11
  151. package/dist/chunks/{file-access-ycrw32xq.js → kv-gftr8a0n.js} +9 -9
  152. package/dist/chunks/{file-access-dsyvch4e.js → kv-gqhmbrjs.js} +20 -20
  153. package/dist/chunks/{file-access-yyb7tjpc.js → kv-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{file-access-7tcrqq4t.js → kv-gzwt477p.js} +7 -7
  155. package/dist/chunks/{file-access-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
  156. package/dist/chunks/{file-access-7h1ryc6p.js → kv-h61d1rt6.js} +9 -9
  157. package/dist/chunks/{file-access-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  158. package/dist/chunks/kv-h8hc1fxm.js +247 -0
  159. package/dist/chunks/{file-access-hdnk95c8.js → kv-hdnk95c8.js} +2 -2
  160. package/dist/chunks/{file-access-z6t9vx1b.js → kv-hgkbtkys.js} +11 -11
  161. package/dist/chunks/{file-access-hftty0sn.js → kv-hkqaemm2.js} +23 -23
  162. package/dist/chunks/{file-access-6snq9ewv.js → kv-hmgs27qq.js} +51 -51
  163. package/dist/chunks/{file-access-a46e93d3.js → kv-hnwcghfw.js} +6 -6
  164. package/dist/chunks/{file-access-99xay3p1.js → kv-hpfvhvya.js} +8 -8
  165. package/dist/chunks/{file-access-m3kws1jr.js → kv-hq4ym7hc.js} +47 -47
  166. package/dist/chunks/{file-access-2wts5qzq.js → kv-hr5bc81f.js} +8 -8
  167. package/dist/chunks/{file-access-v65pmyz7.js → kv-hvj1z1b4.js} +3 -3
  168. package/dist/chunks/{file-access-32x43b5h.js → kv-hzk0yx3b.js} +4 -4
  169. package/dist/chunks/{file-access-j15mfg1p.js → kv-j15mfg1p.js} +1 -1
  170. package/dist/chunks/{file-access-9bkgmrac.js → kv-j1t3fp47.js} +3 -3
  171. package/dist/chunks/{file-access-j56e64zr.js → kv-j56e64zr.js} +1 -1
  172. package/dist/chunks/{file-access-8kckztxt.js → kv-j8xqf3tm.js} +25 -25
  173. package/dist/chunks/{file-access-0tg58rzn.js → kv-j9e3hj5f.js} +11 -11
  174. package/dist/chunks/{file-access-j03d6hs6.js → kv-ja5e70h9.js} +23 -23
  175. package/dist/chunks/{file-access-8r5sxhkv.js → kv-je97d5cj.js} +3 -3
  176. package/dist/chunks/{file-access-46hd3f0f.js → kv-jhrsatcv.js} +5 -5
  177. package/dist/chunks/{file-access-ashkezcm.js → kv-jkt2pdqn.js} +30 -30
  178. package/dist/chunks/{file-access-b2jj88ef.js → kv-jsa56ppy.js} +15 -15
  179. package/dist/chunks/{file-access-f3ngv102.js → kv-jw80jp6b.js} +4 -4
  180. package/dist/chunks/{file-access-3stbjpb0.js → kv-k0hvzg6w.js} +18 -18
  181. package/dist/chunks/{file-access-w4axh9wz.js → kv-k0nnq3t9.js} +6 -6
  182. package/dist/chunks/{file-access-vpgyrhve.js → kv-k14ta1mw.js} +38 -38
  183. package/dist/chunks/{file-access-n9y08rq6.js → kv-kb187nae.js} +13 -13
  184. package/dist/chunks/{file-access-s7769g1c.js → kv-kkqrf715.js} +20 -20
  185. package/dist/chunks/{file-access-mxyhxd0t.js → kv-ktsp86c1.js} +10 -10
  186. package/dist/chunks/{file-access-7heb594d.js → kv-kxq43fw0.js} +28 -28
  187. package/dist/chunks/{file-access-m0jqrx5p.js → kv-m0jqrx5p.js} +2 -2
  188. package/dist/chunks/{file-access-b5j16w9d.js → kv-m2xnkqg2.js} +12 -12
  189. package/dist/chunks/{file-access-phnkt68t.js → kv-m5bnrnnk.js} +305 -305
  190. package/dist/chunks/{file-access-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{file-access-zmk6j7b1.js → kv-mja1kt4d.js} +10 -10
  192. package/dist/chunks/{file-access-76jmq1mn.js → kv-mjvv52aw.js} +171 -171
  193. package/dist/chunks/{file-access-w1k39n5e.js → kv-msq0jde0.js} +4 -4
  194. package/dist/chunks/{file-access-7yh4e7ss.js → kv-mvfsc1pv.js} +3 -3
  195. package/dist/chunks/{file-access-z25b1m8j.js → kv-n1cf34bf.js} +35 -35
  196. package/dist/chunks/{file-access-qx87dfmj.js → kv-nh999r6h.js} +16 -16
  197. package/dist/chunks/{file-access-47gsdddb.js → kv-nhy5jxhy.js} +5 -5
  198. package/dist/chunks/{file-access-a6kbnp9r.js → kv-nxsj8qk0.js} +6 -6
  199. package/dist/chunks/{file-access-9ancjmj9.js → kv-p70cw9s4.js} +26 -26
  200. package/dist/chunks/{file-access-ke9sk9ax.js → kv-pegpe8pp.js} +17 -17
  201. package/dist/chunks/{file-access-fc4nsy51.js → kv-pf8xhqfy.js} +39 -39
  202. package/dist/chunks/{file-access-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{file-access-pknna89w.js → kv-pknna89w.js} +1 -1
  204. package/dist/chunks/{file-access-vncycja5.js → kv-pmr4s4kc.js} +4 -4
  205. package/dist/chunks/{file-access-4jc5c4h4.js → kv-pstg3rfm.js} +1 -1
  206. package/dist/chunks/{file-access-e3adyxrg.js → kv-psw4s0xn.js} +29 -29
  207. package/dist/chunks/{file-access-wc8ptzv7.js → kv-ptkydeht.js} +29 -29
  208. package/dist/chunks/{file-access-25fjjxm2.js → kv-q3skwyt1.js} +30 -30
  209. package/dist/chunks/{file-access-p2f255ct.js → kv-q6mv38f6.js} +4 -4
  210. package/dist/chunks/{file-access-qv9gx9bg.js → kv-qdc4xrm1.js} +8 -8
  211. package/dist/chunks/{file-access-86jfkp86.js → kv-qj2k6z66.js} +21 -21
  212. package/dist/chunks/{file-access-t3swkhbg.js → kv-qn4ba14w.js} +5 -5
  213. package/dist/chunks/{file-access-qsdy395h.js → kv-qsdy395h.js} +1 -1
  214. package/dist/chunks/{file-access-r4ck6ye8.js → kv-qxckzp83.js} +13 -13
  215. package/dist/chunks/{file-access-3ktbe3hf.js → kv-r0cp9c3a.js} +6 -6
  216. package/dist/chunks/{file-access-qmqgtz8f.js → kv-r2m716tb.js} +9 -9
  217. package/dist/chunks/{file-access-a3dkvnxb.js → kv-r39yac3r.js} +44 -44
  218. package/dist/chunks/{file-access-fyjp43ss.js → kv-r4yqrmdq.js} +5 -5
  219. package/dist/chunks/{file-access-r9mregkx.js → kv-r9mregkx.js} +2 -2
  220. package/dist/chunks/{file-access-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{file-access-rds37zvx.js → kv-re5kaxrw.js} +29 -29
  222. package/dist/chunks/{file-access-hg4hxzv1.js → kv-rp9zvaag.js} +26 -26
  223. package/dist/chunks/{file-access-rw8kjknk.js → kv-rxk5qj53.js} +5 -5
  224. package/dist/chunks/{file-access-4hxfx086.js → kv-s4xyvqvb.js} +9 -9
  225. package/dist/chunks/{file-access-02nrjc1r.js → kv-s8d7rejh.js} +8 -8
  226. package/dist/chunks/{file-access-56rycjvn.js → kv-s9q8v06y.js} +16 -16
  227. package/dist/chunks/{file-access-8526r7vx.js → kv-sm181a3e.js} +35 -35
  228. package/dist/chunks/{file-access-pdd0bbjk.js → kv-sqenp41j.js} +14 -14
  229. package/dist/chunks/{file-access-andt55zn.js → kv-t0ws8mbr.js} +48 -48
  230. package/dist/chunks/{file-access-7tdtfp7b.js → kv-t1r2rqz2.js} +22 -22
  231. package/dist/chunks/{file-access-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{file-access-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{file-access-tdstcens.js → kv-tdstcens.js} +1 -1
  234. package/dist/chunks/{file-access-5n7sh86d.js → kv-tpej6hf6.js} +8 -8
  235. package/dist/chunks/{file-access-s6jatava.js → kv-tpej8ve4.js} +15 -15
  236. package/dist/chunks/{file-access-tvtrv512.js → kv-tvtrv512.js} +1 -1
  237. package/dist/chunks/{file-access-jca4demv.js → kv-tyqkzprt.js} +2 -2
  238. package/dist/chunks/{file-access-he2x7e7z.js → kv-v001sjzq.js} +3 -3
  239. package/dist/chunks/{file-access-1h5aw7tx.js → kv-v3w1xs5d.js} +27 -27
  240. package/dist/chunks/{file-access-veqvce7d.js → kv-veqvce7d.js} +1 -1
  241. package/dist/chunks/{file-access-50hk1gym.js → kv-verbbpg9.js} +15 -15
  242. package/dist/chunks/{file-access-ys2m57fz.js → kv-vm4kz6ms.js} +33 -33
  243. package/dist/chunks/{file-access-gsj5sv52.js → kv-vmmg1jfa.js} +11 -11
  244. package/dist/chunks/{file-access-bbfsgge0.js → kv-vz25c400.js} +22 -22
  245. package/dist/chunks/{file-access-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{file-access-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{file-access-rgp511zr.js → kv-w66h423q.js} +2 -2
  248. package/dist/chunks/{file-access-snmjhvm7.js → kv-w7pp9m0t.js} +11 -11
  249. package/dist/chunks/{file-access-wd87259q.js → kv-wd87259q.js} +1 -1
  250. package/dist/chunks/{file-access-tdbakys2.js → kv-werfsjnx.js} +20 -20
  251. package/dist/chunks/{file-access-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{file-access-1r6cykv1.js → kv-x3krd4w8.js} +4 -4
  253. package/dist/chunks/{file-access-01bhhyb7.js → kv-x50x66fn.js} +3 -3
  254. package/dist/chunks/{file-access-bhqn7aj9.js → kv-x58pb539.js} +9 -9
  255. package/dist/chunks/{file-access-mvn2r3z4.js → kv-xk747vep.js} +8 -8
  256. package/dist/chunks/{file-access-azvx9vjt.js → kv-xwztb879.js} +12 -12
  257. package/dist/chunks/{file-access-z12cg9p1.js → kv-xxf7whvt.js} +9 -9
  258. package/dist/chunks/{file-access-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  259. package/dist/chunks/{file-access-y71avatq.js → kv-y71avatq.js} +1 -1
  260. package/dist/chunks/{file-access-mby8mxat.js → kv-y7mmfpa1.js} +8 -8
  261. package/dist/chunks/{file-access-pfz3dw98.js → kv-y91nftqb.js} +26 -26
  262. package/dist/chunks/{file-access-b2gch9fn.js → kv-y98n2nmb.js} +24 -24
  263. package/dist/chunks/{file-access-mmy2zf88.js → kv-ydpmx7wn.js} +29 -29
  264. package/dist/chunks/{file-access-zw6dtez5.js → kv-ynbq69as.js} +4 -4
  265. package/dist/chunks/{file-access-yp2x3t23.js → kv-yp2x3t23.js} +1 -1
  266. package/dist/chunks/{file-access-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
  267. package/dist/chunks/{file-access-enbnvbva.js → kv-yrw3g6cq.js} +27 -27
  268. package/dist/chunks/{file-access-yrznvahk.js → kv-yrznvahk.js} +2 -2
  269. package/dist/chunks/{file-access-6jft8mvs.js → kv-yvbb4q6z.js} +17 -17
  270. package/dist/chunks/{file-access-4wrt768g.js → kv-ywb23tag.js} +4 -4
  271. package/dist/chunks/{file-access-spqgdpza.js → kv-yx4rmz5q.js} +23 -23
  272. package/dist/chunks/{file-access-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{file-access-kr9cqyf0.js → kv-z5zwqd1h.js} +8 -8
  274. package/dist/chunks/{file-access-z63w68vq.js → kv-z63w68vq.js} +2 -2
  275. package/dist/chunks/{file-access-0j8y3tn5.js → kv-z6c53ynw.js} +22 -22
  276. package/dist/chunks/{file-access-zsn07k7j.js → kv-z7pmxwv1.js} +11 -11
  277. package/dist/chunks/{file-access-ajk9kppy.js → kv-zegzr0ah.js} +20 -20
  278. package/dist/chunks/{file-access-rq775frq.js → kv-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{file-access-917gka4z.js → kv-zr0yvs15.js} +14 -14
  280. package/dist/chunks/{file-access-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{file-access-y3d0z3tn.js → kv-zr3rbwkr.js} +18 -18
  282. package/dist/chunks/{file-access-jjefk1kz.js → kv-zrdk0evt.js} +43 -43
  283. package/dist/chunks/{file-access-8snetkfr.js → kv-zwgd9mwv.js} +5 -5
  284. package/dist/chunks/{file-access-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +11 -11
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +84 -84
  289. package/dist/config/discovery.js +81 -81
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +105 -105
  292. package/dist/config/plugin/agent.js +122 -122
  293. package/dist/config/plugin/command.js +210 -210
  294. package/dist/config/plugin/compaction.js +158 -158
  295. package/dist/config/plugin/compatibility.js +140 -140
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +123 -123
  298. package/dist/config/plugin/image.js +122 -122
  299. package/dist/config/plugin/instruction.js +89 -89
  300. package/dist/config/plugin/location-watcher.js +122 -122
  301. package/dist/config/plugin/mcp.js +129 -129
  302. package/dist/config/plugin/policy.js +122 -122
  303. package/dist/config/plugin/provider.js +122 -122
  304. package/dist/config/plugin/reference.js +124 -124
  305. package/dist/config/plugin/shell.js +124 -124
  306. package/dist/config/plugin/skill-file.js +101 -101
  307. package/dist/config/plugin/skill.js +143 -143
  308. package/dist/config/plugin/snapshot.js +122 -122
  309. package/dist/config/plugin/source.js +125 -125
  310. package/dist/config/plugin/tool-output.js +124 -124
  311. package/dist/config/plugin/websearch.js +121 -121
  312. package/dist/config/plugin/worktree.js +124 -124
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +125 -125
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +84 -84
  318. package/dist/database/database.js +65 -65
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration.gen.js +48 -48
  383. package/dist/database/migration.js +50 -50
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +75 -75
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +363 -363
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +92 -92
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +94 -94
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +69 -69
  407. package/dist/file-access.js +103 -103
  408. package/dist/file-mutation.js +93 -93
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +219 -219
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +102 -102
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +11 -11
  422. package/dist/filesystem.js +105 -105
  423. package/dist/form.js +85 -85
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +86 -86
  426. package/dist/generate.js +102 -102
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +98 -98
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +354 -354
  452. package/dist/instruction-discovery.js +84 -84
  453. package/dist/instructions/builtins.js +86 -86
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +85 -85
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +72 -72
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-mutation.js +103 -103
  462. package/dist/location-service-map.js +85 -85
  463. package/dist/location-services.js +351 -351
  464. package/dist/location.js +80 -80
  465. package/dist/mcp/client.js +90 -90
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +124 -124
  468. package/dist/mcp/oauth.js +77 -77
  469. package/dist/mcp/stdio.js +89 -89
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +98 -98
  472. package/dist/model-resolver.js +97 -97
  473. package/dist/model.js +101 -101
  474. package/dist/models-dev.js +104 -104
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +79 -79
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +112 -112
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +81 -81
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +74 -74
  484. package/dist/plugin/agent.js +101 -101
  485. package/dist/plugin/command.js +98 -98
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +216 -216
  488. package/dist/plugin/instance.js +3 -3
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +95 -95
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +101 -101
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  497. package/dist/plugin/provider/azure.js +121 -121
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  500. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  501. package/dist/plugin/provider/cohere.js +2 -2
  502. package/dist/plugin/provider/configured.js +118 -118
  503. package/dist/plugin/provider/digitalocean.js +92 -92
  504. package/dist/plugin/provider/dynamic.js +2 -2
  505. package/dist/plugin/provider/factory.js +1 -1
  506. package/dist/plugin/provider/gateway.js +2 -2
  507. package/dist/plugin/provider/github-copilot.js +92 -92
  508. package/dist/plugin/provider/gitlab.js +90 -90
  509. package/dist/plugin/provider/google-vertex.js +89 -89
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +76 -76
  512. package/dist/plugin/provider/lmstudio.js +121 -121
  513. package/dist/plugin/provider/modal.js +91 -91
  514. package/dist/plugin/provider/nvidia.js +1 -1
  515. package/dist/plugin/provider/ollama.js +121 -121
  516. package/dist/plugin/provider/openai.js +93 -93
  517. package/dist/plugin/provider/opencode.js +92 -92
  518. package/dist/plugin/provider/openrouter.js +90 -90
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/poe.js +77 -77
  521. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  522. package/dist/plugin/provider/sap-ai-core.js +90 -90
  523. package/dist/plugin/provider/sdk-factory.js +1 -1
  524. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  525. package/dist/plugin/provider/venice.js +2 -2
  526. package/dist/plugin/provider/vercel.js +89 -89
  527. package/dist/plugin/provider/vllm.js +121 -121
  528. package/dist/plugin/provider/xai.js +90 -90
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +158 -158
  531. package/dist/plugin/sdk.js +75 -75
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +140 -140
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +345 -345
  536. package/dist/plugin/update.js +6 -6
  537. package/dist/plugin/vcs/git.js +85 -85
  538. package/dist/plugin/vcs/hg.js +85 -85
  539. package/dist/plugin/warming.js +120 -120
  540. package/dist/plugin/websearch/exa.js +7 -7
  541. package/dist/plugin/websearch/firecrawl.js +8 -8
  542. package/dist/plugin/websearch/index.js +9 -9
  543. package/dist/plugin/websearch/mcp.js +4 -4
  544. package/dist/plugin/websearch/parallel.js +8 -8
  545. package/dist/plugin/websearch/tavily.js +4 -4
  546. package/dist/plugin/websearch/tinyfish.js +8 -8
  547. package/dist/plugin.js +227 -227
  548. package/dist/project/schema.js +2 -2
  549. package/dist/project/sql.js +4 -4
  550. package/dist/project.js +79 -79
  551. package/dist/provider.js +100 -100
  552. package/dist/pty/protocol.js +1 -1
  553. package/dist/pty/schema.js +3 -3
  554. package/dist/pty/ticket.js +1 -1
  555. package/dist/pty.js +95 -95
  556. package/dist/reference/instructions.js +88 -88
  557. package/dist/reference.js +88 -88
  558. package/dist/repository-cache.js +80 -80
  559. package/dist/repository.js +3 -3
  560. package/dist/ripgrep/binary.js +2 -2
  561. package/dist/ripgrep.js +94 -94
  562. package/dist/rpc.js +85 -85
  563. package/dist/schema.js +1 -1
  564. package/dist/session/command.js +73 -73
  565. package/dist/session/compaction.js +130 -130
  566. package/dist/session/context.js +150 -150
  567. package/dist/session/diff.js +87 -87
  568. package/dist/session/environment.js +5 -5
  569. package/dist/session/error.js +5 -5
  570. package/dist/session/event.js +1 -1
  571. package/dist/session/execution/restart.js +219 -219
  572. package/dist/session/execution.js +125 -125
  573. package/dist/session/generate.js +151 -151
  574. package/dist/session/history.js +13 -13
  575. package/dist/session/inbox.js +87 -87
  576. package/dist/session/info.js +3 -3
  577. package/dist/session/instruction-entry.js +78 -78
  578. package/dist/session/instruction-state.js +8 -8
  579. package/dist/session/instructions.js +96 -96
  580. package/dist/session/message-updater.js +4 -4
  581. package/dist/session/message.js +1 -1
  582. package/dist/session/model-request.js +115 -115
  583. package/dist/session/model-transport.js +7 -7
  584. package/dist/session/move.js +125 -125
  585. package/dist/session/projector.js +83 -83
  586. package/dist/session/prompt.js +104 -104
  587. package/dist/session/provider-context.js +3 -3
  588. package/dist/session/revert.js +89 -89
  589. package/dist/session/run-coordinator.js +1 -1
  590. package/dist/session/runner/index.js +3 -3
  591. package/dist/session/runner/llm.js +228 -228
  592. package/dist/session/runner/max-steps.js +1 -1
  593. package/dist/session/runner/model.js +97 -97
  594. package/dist/session/runner/publish-llm-event.js +3 -3
  595. package/dist/session/runner/retry.js +113 -113
  596. package/dist/session/runner/step.js +124 -124
  597. package/dist/session/runner/to-llm-message.js +2 -2
  598. package/dist/session/schema.js +5 -5
  599. package/dist/session/session.js +171 -171
  600. package/dist/session/shell.js +137 -137
  601. package/dist/session/skill.js +102 -102
  602. package/dist/session/sql.js +5 -5
  603. package/dist/session/stats.js +72 -72
  604. package/dist/session/store.js +84 -84
  605. package/dist/session/subagent-completion.js +1 -1
  606. package/dist/session/subagent-job.js +206 -206
  607. package/dist/session/system-prompt.js +3 -3
  608. package/dist/session/title.js +154 -154
  609. package/dist/session/to-session-error.js +110 -110
  610. package/dist/session/transfer.js +212 -212
  611. package/dist/session/usage.js +1 -1
  612. package/dist/session.js +216 -216
  613. package/dist/shell/parse.js +6 -6
  614. package/dist/shell/result.js +1 -1
  615. package/dist/shell/scan.js +1 -1
  616. package/dist/shell/select.js +11 -11
  617. package/dist/shell.js +139 -139
  618. package/dist/skill/discovery.js +4 -4
  619. package/dist/skill/instructions.js +106 -106
  620. package/dist/skill.js +109 -109
  621. package/dist/snapshot.js +88 -88
  622. package/dist/state.js +1 -1
  623. package/dist/tool/html-markdown.js +1 -1
  624. package/dist/tool/http-body.js +1 -1
  625. package/dist/tool/mcp.js +125 -125
  626. package/dist/tool/plugin/edit.js +119 -119
  627. package/dist/tool/plugin/file-diff.js +1 -1
  628. package/dist/tool/plugin/glob.js +119 -119
  629. package/dist/tool/plugin/grep.js +123 -123
  630. package/dist/tool/plugin/opencode.js +3 -3
  631. package/dist/tool/plugin/patch.js +119 -119
  632. package/dist/tool/plugin/question.js +104 -104
  633. package/dist/tool/plugin/read.js +124 -124
  634. package/dist/tool/plugin/shell.js +215 -215
  635. package/dist/tool/plugin/skill.js +112 -112
  636. package/dist/tool/plugin/subagent.js +217 -217
  637. package/dist/tool/plugin/webfetch.js +111 -111
  638. package/dist/tool/plugin/websearch.js +113 -113
  639. package/dist/tool/plugin/write.js +121 -121
  640. package/dist/tool/read-filesystem.js +99 -99
  641. package/dist/tool/runtime.js +1 -1
  642. package/dist/tool-output.js +8 -8
  643. package/dist/tool.js +13 -13
  644. package/dist/util/error-summary.js +1 -1
  645. package/dist/util/error.js +1 -1
  646. package/dist/util/git-executable.js +2 -2
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +2 -2
  655. package/dist/v1/config/command.js +5 -5
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +3 -3
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +1 -1
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +91 -91
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/variant.js +92 -92
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +88 -88
  673. package/dist/websearch.js +83 -83
  674. package/dist/wellknown/plugin.js +75 -75
  675. package/dist/wellknown.js +80 -80
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +77 -77
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +88 -88
  683. package/dist/worktree.js +95 -95
  684. package/package.json +8 -8
  685. package/dist/chunks/file-access-0mesazry.js +0 -4
  686. package/dist/chunks/file-access-by5v678g.js +0 -18
  687. package/dist/chunks/file-access-h2q74avv.js +0 -26
  688. package/dist/chunks/file-access-xv4gw76e.js +0 -247
  689. /package/dist/chunks/{file-access-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{file-access-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{file-access-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{file-access-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{file-access-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{file-access-24dcb14g.js → kv-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{file-access-2710q6r3.js → kv-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{file-access-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{file-access-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{file-access-359p4xyc.js → kv-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{file-access-3asan66x.js → kv-3asan66x.js} +0 -0
  700. /package/dist/chunks/{file-access-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{file-access-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{file-access-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{file-access-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{file-access-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{file-access-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{file-access-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{file-access-53557ph1.js → kv-53557ph1.js} +0 -0
  708. /package/dist/chunks/{file-access-550bvhaj.js → kv-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{file-access-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{file-access-6prwharc.js → kv-6prwharc.js} +0 -0
  711. /package/dist/chunks/{file-access-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{file-access-7m9af43g.js → kv-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{file-access-822emrt2.js → kv-822emrt2.js} +0 -0
  714. /package/dist/chunks/{file-access-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{file-access-8n3pysct.js → kv-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{file-access-922hggd3.js → kv-922hggd3.js} +0 -0
  717. /package/dist/chunks/{file-access-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{file-access-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{file-access-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{file-access-af5trqkr.js → kv-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{file-access-afrmfg78.js → kv-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{file-access-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{file-access-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{file-access-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{file-access-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{file-access-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{file-access-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{file-access-d9fn303g.js → kv-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{file-access-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{file-access-dajrwvna.js → kv-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{file-access-dap0rakb.js → kv-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{file-access-df08tz66.js → kv-df08tz66.js} +0 -0
  733. /package/dist/chunks/{file-access-dy18nga0.js → kv-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{file-access-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{file-access-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{file-access-ec1grn59.js → kv-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{file-access-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{file-access-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{file-access-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{file-access-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{file-access-faypxj3z.js → kv-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{file-access-fd410y7t.js → kv-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{file-access-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{file-access-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{file-access-g86h250q.js → kv-g86h250q.js} +0 -0
  746. /package/dist/chunks/{file-access-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{file-access-gftt206x.js → kv-gftt206x.js} +0 -0
  748. /package/dist/chunks/{file-access-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{file-access-hk9envan.js → kv-hk9envan.js} +0 -0
  750. /package/dist/chunks/{file-access-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{file-access-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{file-access-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{file-access-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{file-access-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{file-access-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{file-access-mp448xyj.js → kv-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{file-access-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{file-access-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{file-access-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{file-access-njntx4h6.js → kv-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{file-access-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{file-access-q74kybfr.js → kv-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{file-access-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{file-access-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{file-access-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{file-access-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
  767. /package/dist/chunks/{file-access-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{file-access-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{file-access-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{file-access-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{file-access-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{file-access-twg0f83k.js → kv-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{file-access-w803qqfp.js → kv-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{file-access-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
  775. /package/dist/chunks/{file-access-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{file-access-wtztk69x.js → kv-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{file-access-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{file-access-x61499pn.js → kv-x61499pn.js} +0 -0
  779. /package/dist/chunks/{file-access-y44na4kk.js → kv-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{file-access-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{file-access-y8f7s663.js → kv-y8f7s663.js} +0 -0
  782. /package/dist/chunks/{file-access-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{file-access-ym463w8f.js → kv-ym463w8f.js} +0 -0
  784. /package/dist/chunks/{file-access-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-access-922hggd3.js";
4
+ } from "./kv-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service80,
9
9
  node84
10
- } from "./file-access-v24739yc.js";
10
+ } from "./kv-9g3kc011.js";
11
11
  import {
12
12
  Service78,
13
13
  node82
14
- } from "./file-access-t9kha2ca.js";
14
+ } from "./kv-82jgxh54.js";
15
15
  import {
16
16
  create3
17
- } from "./file-access-rdw6cm16.js";
17
+ } from "./kv-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./file-access-9rqn6x4v.js";
20
+ } from "./kv-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error3,
26
- ID: () => ID4,
27
- Service: () => Service48,
26
+ ID: () => ID5,
27
+ Service: () => Service46,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node51,
29
+ node: () => node49,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,7 +34,7 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID4 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
39
  class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
@@ -43,9 +43,9 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service48 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service46 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service48, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service80;
51
51
  const global = yield* Global.Service;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID4.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service48.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node51 = makeLocationNode({
144
- service: Service48,
143
+ var node49 = makeLocationNode({
144
+ service: Service46,
145
145
  layer,
146
146
  deps: [FSUtil.node, node84, Global.node, node82]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service48, Service48.of({
148
+ var noopLayer3 = Layer.succeed(Service46, Service46.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -163,4 +163,4 @@ function failure(operation, cause) {
163
163
  });
164
164
  }
165
165
 
166
- export { ID4, Error3, Service48, node51, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error3, Service46, node49, noopLayer3, exports_snapshot2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service81
3
- } from "./file-access-zw6dtez5.js";
3
+ } from "./kv-ynbq69as.js";
4
4
  import {
5
5
  key2
6
- } from "./file-access-cpj0znwe.js";
6
+ } from "./kv-5mtzsd3b.js";
7
7
  import {
8
- Event15
9
- } from "./file-access-fak7xqqt.js";
8
+ Event19
9
+ } from "./kv-ammhsa5d.js";
10
10
  import {
11
- ID7
12
- } from "./file-access-mmy2zf88.js";
11
+ ID14
12
+ } from "./kv-ydpmx7wn.js";
13
13
  import {
14
- ID6,
15
- Service59
16
- } from "./file-access-rds37zvx.js";
14
+ ID13,
15
+ Service72
16
+ } from "./kv-re5kaxrw.js";
17
17
  import {
18
- load3,
19
- derive3
20
- } from "./file-access-spqgdpza.js";
18
+ load2,
19
+ derive2
20
+ } from "./kv-yx4rmz5q.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID6.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service59;
29
+ const providers = yield* Service72;
30
30
  const bus = yield* Service81;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load3(baseURL, apiKey),
48
+ try: () => load2(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command5 = {};
7
- __export(exports_command5, {
8
- ConfigCommandV1: () => exports_command5,
9
- Info: () => Info16
6
+ var exports_command4 = {};
7
+ __export(exports_command4, {
8
+ ConfigCommandV1: () => exports_command4,
9
+ Info: () => Info14
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info16 = Schema.Struct({
12
+ var Info14 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info16, exports_command5 };
21
+ export { Info14, exports_command4 };
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./file-access-3ktbe3hf.js";
5
+ } from "./kv-r0cp9c3a.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./file-access-6snq9ewv.js";
8
+ } from "./kv-hmgs27qq.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./file-access-mmy2zf88.js";
11
+ } from "./kv-ydpmx7wn.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -18,7 +18,7 @@ import {
18
18
  ModelInitializationError2,
19
19
  UnresolvedProviderVariablesError2,
20
20
  UnsupportedCompactionError2
21
- } from "./file-access-hm7xtcxq.js";
21
+ } from "./kv-11cdrfz0.js";
22
22
 
23
23
  // src/session/to-session-error.ts
24
24
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
@@ -8,14 +8,14 @@ __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
9
  Service: () => Service5,
10
10
  bound: () => bound2,
11
- node: () => node7
11
+ node: () => node6
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
16
  class Service5 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node7 = makeLocationNode({
18
+ var node6 = makeLocationNode({
19
19
  service: Service5,
20
20
  layer: bound2([]),
21
21
  deps: []
@@ -29,4 +29,4 @@ function bound2(plugins) {
29
29
  return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node7, bound2, exports_instance2 };
32
+ export { Service5, node6, bound2, exports_instance2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service74,
10
- node: () => node77
9
+ Service: () => Service67,
10
+ node: () => node71
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service74 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service67 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service74, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service74.of({ has, register, trigger });
57
+ return Service67.of({ has, register, trigger });
58
58
  }));
59
- var node77 = makeLocationNode({ service: Service74, layer, deps: [] });
59
+ var node71 = makeLocationNode({ service: Service67, layer, deps: [] });
60
60
 
61
- export { Service74, node77, exports_hooks };
61
+ export { Service67, node71, exports_hooks };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node50
5
- } from "./file-access-7n0p62ew.js";
4
+ node41
5
+ } from "./kv-dn2vbr7z.js";
6
6
  import {
7
7
  Service81,
8
8
  node85
9
- } from "./file-access-zw6dtez5.js";
9
+ } from "./kv-ynbq69as.js";
10
10
  import {
11
11
  native2,
12
- ID6,
12
+ ID13,
13
13
  aisdk2
14
- } from "./file-access-rds37zvx.js";
14
+ } from "./kv-re5kaxrw.js";
15
15
  import {
16
- ID5,
16
+ ID12,
17
17
  Family2,
18
18
  compatibility2
19
- } from "./file-access-ea3fxjgj.js";
19
+ } from "./kv-g6qcyr5q.js";
20
20
  import {
21
- resolve2
22
- } from "./file-access-a6kbnp9r.js";
21
+ resolve4
22
+ } from "./kv-nxsj8qk0.js";
23
23
  import {
24
- Service67,
25
- node70
26
- } from "./file-access-q12jtckr.js";
24
+ Service70,
25
+ node74
26
+ } from "./kv-3d23mvyt.js";
27
27
  import {
28
28
  __export
29
- } from "./file-access-9rqn6x4v.js";
29
+ } from "./kv-9rqn6x4v.js";
30
30
 
31
31
  // src/models-dev.ts
32
32
  var exports_models_dev = {};
@@ -34,12 +34,12 @@ __export(exports_models_dev, {
34
34
  CatalogModelStatus: () => CatalogModelStatus2,
35
35
  Event: () => Event4,
36
36
  ModelsDev: () => exports_models_dev,
37
- Options: () => Options3,
38
- Service: () => Service18,
37
+ Options: () => Options2,
38
+ Service: () => Service14,
39
39
  bodyDigest: () => bodyDigest2,
40
- configured: () => configured3,
41
- layer: () => layer9,
42
- node: () => node20
40
+ configured: () => configured2,
41
+ layer: () => layer8,
42
+ node: () => node17
43
43
  });
44
44
  import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
45
45
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
@@ -63,7 +63,7 @@ function nativePackage(provider, model) {
63
63
  function normalize(input) {
64
64
  const providers = [];
65
65
  for (const item of Object.values(input)) {
66
- const providerID = ID6.make(item.id);
66
+ const providerID = ID13.make(item.id);
67
67
  const packageName = nativePackage(item);
68
68
  const info = {
69
69
  id: providerID,
@@ -75,12 +75,12 @@ function normalize(input) {
75
75
  const models = [];
76
76
  for (const model of Object.values(item.models)) {
77
77
  const baseCost = cost(model.cost);
78
- const id = ID5.make(model.id);
78
+ const id = ID12.make(model.id);
79
79
  const base = modelInfo(item, id, model, { cost: baseCost });
80
- const variants = resolve2({ ...base, package: nativePackage(item, model) }, supports(model));
80
+ const variants = resolve4({ ...base, package: nativePackage(item, model) }, supports(model));
81
81
  models.push({ ...base, variants });
82
82
  for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
83
- const modeID = ID5.make(`${model.id}-${mode}`);
83
+ const modeID = ID12.make(`${model.id}-${mode}`);
84
84
  models.push(modelInfo(item, modeID, model, {
85
85
  name: modeName(model, mode),
86
86
  cost: mergeCost(baseCost, options.cost),
@@ -164,7 +164,7 @@ function supports(model) {
164
164
  return (model.reasoning_options ?? []).map((option) => option.type === "effort" ? { type: "effort", values: option.values.filter((value) => value !== null && value !== "null") } : option);
165
165
  }
166
166
  function modelInfo(provider, id, model, input = {}) {
167
- const providerID = ID6.make(provider.id);
167
+ const providerID = ID13.make(provider.id);
168
168
  const pkg = model.provider?.npm ? nativePackage(provider, model) : undefined;
169
169
  const settings = {
170
170
  ...model.provider?.api ? { baseURL: model.provider.api } : {},
@@ -172,7 +172,7 @@ function modelInfo(provider, id, model, input = {}) {
172
172
  };
173
173
  return {
174
174
  id,
175
- modelID: ID5.make(model.id),
175
+ modelID: ID12.make(model.id),
176
176
  providerID,
177
177
  name: input.name ?? model.name,
178
178
  compatibility: compatibility2(model.interleaved),
@@ -198,14 +198,14 @@ function modelInfo(provider, id, model, input = {}) {
198
198
  body: input.request?.body ? { ...input.request.body } : undefined
199
199
  };
200
200
  }
201
- var Options3 = Schema.Struct({
201
+ var Options2 = Schema.Struct({
202
202
  url: Schema.optional(Schema.String),
203
203
  file: Schema.optional(Schema.String),
204
204
  fetch: Schema.optional(Schema.Boolean),
205
205
  snapshot: Schema.optional(Schema.Boolean)
206
206
  });
207
207
 
208
- class Service18 extends Context.Service()("@opencode/ModelsDev") {
208
+ class Service14 extends Context.Service()("@opencode/ModelsDev") {
209
209
  }
210
210
  var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
211
211
  var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
@@ -228,11 +228,11 @@ function cacheKey(source) {
228
228
  function bodyDigest2(text) {
229
229
  return Hash.sha256(text);
230
230
  }
231
- var layer9 = (options) => Layer.effect(Service18, Effect.gen(function* () {
231
+ var layer8 = (options) => Layer.effect(Service14, Effect.gen(function* () {
232
232
  const fs = yield* FSUtil.Service;
233
233
  const bus = yield* Service81;
234
234
  const app = yield* Metadata2;
235
- const kv = yield* Service67;
235
+ const kv = yield* Service70;
236
236
  const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
237
237
  retryOn: "errors-and-responses",
238
238
  times: 2,
@@ -312,15 +312,15 @@ var layer9 = (options) => Layer.effect(Service18, Effect.gen(function* () {
312
312
  if (fetch && !process.argv.includes("--get-yargs-completions")) {
313
313
  yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
314
314
  }
315
- return Service18.of({ get, refresh });
315
+ return Service14.of({ get, refresh });
316
316
  }));
317
- function configured3(options) {
317
+ function configured2(options) {
318
318
  return makeGlobalNode({
319
- service: Service18,
320
- layer: layer9(options),
321
- deps: [FSUtil.node, node85, node50, node70, httpClient]
319
+ service: Service14,
320
+ layer: layer8(options),
321
+ deps: [FSUtil.node, node85, node41, node74, httpClient]
322
322
  });
323
323
  }
324
- var node20 = configured3();
324
+ var node17 = configured2();
325
325
 
326
- export { CatalogModelStatus2, Options3, Service18, bodyDigest2, layer9, configured3, node20, exports_models_dev, Event4 };
326
+ export { CatalogModelStatus2, Options2, Service14, bodyDigest2, layer8, configured2, node17, exports_models_dev, Event4 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service81
3
- } from "./file-access-zw6dtez5.js";
3
+ } from "./kv-ynbq69as.js";
4
4
  import {
5
5
  OAuth3,
6
- Event15
7
- } from "./file-access-fak7xqqt.js";
6
+ Event19
7
+ } from "./kv-ammhsa5d.js";
8
8
  import {
9
- ID7,
9
+ ID14,
10
10
  MethodID2
11
- } from "./file-access-mmy2zf88.js";
11
+ } from "./kv-ydpmx7wn.js";
12
12
  import {
13
- ID6,
13
+ ID13,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./file-access-rds37zvx.js";
16
+ } from "./kv-re5kaxrw.js";
17
17
  import {
18
- ID10,
19
- Input14,
18
+ ID3,
19
+ Input13,
20
20
  Response2
21
- } from "./file-access-8kckztxt.js";
21
+ } from "./kv-j8xqf3tm.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID10
35
+ providerID: ID3
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID7.make("opencode"),
57
+ integrationID: ID14.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  providers.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID7.make("opencode");
128
+ provider.integrationID = ID14.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
195
195
  sourceConnection: snapshot.connection
196
196
  });
197
197
  }
198
- const item = providers.get(ID6.opencode);
198
+ const item = providers.get(ID13.opencode);
199
199
  if (!item)
200
200
  return;
201
201
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
207
207
  });
208
208
  });
209
209
  yield* ctx.model.transform((models) => {
210
- const item = models.provider.get(ID6.opencode);
210
+ const item = models.provider.get(ID13.opencode);
211
211
  if (!item)
212
212
  return;
213
213
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
241
241
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
242
242
  const token = credential.type === "oauth" ? credential.access : credential.key;
243
243
  const server = yield* normalizeServer(serverUrl(credential));
244
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
244
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
245
245
  query: input.query,
246
246
  providerID: descriptor.providerID
247
247
  }));
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
262
262
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
263
263
  });
264
264
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
265
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
265
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
266
266
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
267
267
  })
268
268
  });
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service43
3
- } from "./file-access-zetsppkw.js";
2
+ Service77
3
+ } from "./kv-8b9twrdg.js";
4
4
  import {
5
- Service40
6
- } from "./file-access-3ppptnan.js";
5
+ Service32
6
+ } from "./kv-6ehbgqat.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./file-access-by5v678g.js";
9
+ } from "./kv-1x11rq2a.js";
10
10
  import {
11
11
  __export
12
- } from "./file-access-9rqn6x4v.js";
12
+ } from "./kv-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service40;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
22
+ const instances = yield* Service32;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service77), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {