@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
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service81,
4
4
  node85
5
- } from "./file-access-zw6dtez5.js";
5
+ } from "./kv-ynbq69as.js";
6
6
  import {
7
- Service67,
8
- node70
9
- } from "./file-access-q12jtckr.js";
7
+ Service70,
8
+ node74
9
+ } from "./kv-3d23mvyt.js";
10
10
  import {
11
11
  __export
12
- } from "./file-access-9rqn6x4v.js";
12
+ } from "./kv-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event16,
19
+ Event: () => Event11,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service64,
22
+ Service: () => Service57,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node67,
26
- resolve: () => resolve4
25
+ node: () => node60,
26
+ resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service64 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service57 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event16 = {
51
+ var Event11 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service64, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service67;
80
+ const kv = yield* Service70;
81
81
  const bus = yield* Service81;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event16.Updated, {});
112
+ yield* bus.publish(Event11.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service64.of({
115
+ return Service57.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event16.Updated, {});
128
+ yield* bus.publish(Event11.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event16.Updated, {});
141
+ yield* bus.publish(Event11.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node67 = makeGlobalNode({ service: Service64, layer, deps: [httpClient, node70, node85] });
146
+ var node60 = makeGlobalNode({ service: Service57, layer, deps: [httpClient, node74, node85] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service64, Event16, inspect2, resolve4, node67, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service57, Event11, inspect2, resolve2, node60, exports_wellknown };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./file-access-2a5m3afh.js";
5
+ } from "./kv-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./file-access-9rqn6x4v.js";
8
+ } from "./kv-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-access-7n0p62ew.js";
3
+ } from "./kv-dn2vbr7z.js";
4
4
  import {
5
5
  Service81
6
- } from "./file-access-zw6dtez5.js";
6
+ } from "./kv-ynbq69as.js";
7
7
  import {
8
8
  OAuth3,
9
- Event15,
10
- Service62
11
- } from "./file-access-fak7xqqt.js";
9
+ Event19,
10
+ Service75
11
+ } from "./kv-ammhsa5d.js";
12
12
  import {
13
- ID7,
13
+ ID14,
14
14
  MethodID2,
15
- Service60
16
- } from "./file-access-mmy2zf88.js";
15
+ Service73
16
+ } from "./kv-ydpmx7wn.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./file-access-pjvnvgmy.js";
20
+ } from "./kv-pjvnvgmy.js";
21
21
  import {
22
- ID6
23
- } from "./file-access-rds37zvx.js";
22
+ ID13
23
+ } from "./kv-re5kaxrw.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./file-access-dbtyj0an.js";
26
+ } from "./kv-3fa9na4z.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID6.make("snowflake-cortex");
34
- var integrationID = ID7.make(providerID);
33
+ var providerID = ID13.make("snowflake-cortex");
34
+ var integrationID = ID14.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service62;
57
- const integrations = yield* Service60;
56
+ const credentials = yield* Service75;
57
+ const integrations = yield* Service73;
58
58
  const bus = yield* Service81;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./file-access-gftt206x.js";
3
+ } from "./kv-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update2
12
+ update: () => update3
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update2(adapter, event) {
24
+ function update3(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -400,4 +400,4 @@ function update2(adapter, event) {
400
400
  return project(event);
401
401
  }
402
402
 
403
- export { update2, exports_message_updater };
403
+ export { update3, exports_message_updater };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./file-access-2a5m3afh.js";
6
+ } from "./kv-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./file-access-1dazxqgg.js";
9
+ } from "./kv-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./file-access-b6gygkdw.js";
12
+ } from "./kv-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./file-access-aaet6srn.js";
15
+ } from "./kv-aaet6srn.js";
16
16
  import {
17
17
  Service78,
18
18
  node82
19
- } from "./file-access-t9kha2ca.js";
19
+ } from "./kv-82jgxh54.js";
20
20
  import {
21
- Service77,
22
- node80
23
- } from "./file-access-e2e34s5q.js";
21
+ Service61,
22
+ node64
23
+ } from "./kv-3c2xh2cb.js";
24
24
  import {
25
25
  __export
26
- } from "./file-access-9rqn6x4v.js";
26
+ } from "./kv-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service76,
33
- node: () => node79
32
+ Service: () => Service60,
33
+ node: () => node63
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service76,
46
+ Service: () => Service60,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node79,
52
+ node: () => node63,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service76 extends Context.Service()("@opencode/Environment") {
61
+ class Service60 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service76, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
65
  const location = yield* Service78;
66
- const workspace = yield* Service77;
66
+ const workspace = yield* Service61;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service76.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service60.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node79 = makeLocationNode({
71
- service: Service76,
70
+ var node63 = makeLocationNode({
71
+ service: Service60,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node82, node80]
73
+ deps: [CrossSpawnSpawner.node, node82, node64]
74
74
  });
75
75
 
76
- export { Service76, node79, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service60, node63, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./file-access-zw6dtez5.js";
4
+ } from "./kv-ynbq69as.js";
5
5
  import {
6
6
  create3
7
- } from "./file-access-rdw6cm16.js";
7
+ } from "./kv-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./file-access-9rqn6x4v.js";
10
+ } from "./kv-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event20,
18
- ID: () => ID14,
19
- Info: () => Info29,
17
+ Event: () => Event14,
18
+ ID: () => ID10,
19
+ Info: () => Info22,
20
20
  Name: () => Name3,
21
- Service: () => Service73,
21
+ Service: () => Service66,
22
22
  defaultID: () => defaultID2,
23
- node: () => node76
23
+ node: () => node70
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event20 } from "@opencode/schema/agent";
30
+ import { Event as Event14 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID14 = Agent.ID;
33
+ var ID10 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID14.make("build");
35
+ var defaultID2 = ID10.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info29 = Agent.Info;
37
+ var Info22 = Agent.Info;
38
38
 
39
- class Service73 extends Context.Service()("@opencode/Agent") {
39
+ class Service66 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service73, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
42
42
  const bus = yield* Service81;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info29.default(id);
60
+ const defaults = Info22.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID14.make("build")));
82
+ const build = selectable(data.agents.get(ID10.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service73.of({
91
+ return Service66.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID14.make(id));
99
+ return state.get().agents.get(ID10.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID14.make(id);
104
+ const selected = ID10.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node76 = makeLocationNode({ service: Service73, layer, deps: [node85, Global.node] });
119
+ var node70 = makeLocationNode({ service: Service66, layer, deps: [node85, Global.node] });
120
120
 
121
- export { ID14, Name3, defaultID2, Color2, Info29, Service73, node76, exports_agent4, Event20 };
121
+ export { ID10, Name3, defaultID2, Color2, Info22, Service66, node70, exports_agent4, Event14 };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-access-922hggd3.js";
5
+ } from "./kv-922hggd3.js";
6
6
  import {
7
- Service76,
8
- node79
9
- } from "./file-access-eahf1j6r.js";
7
+ Service60,
8
+ node63
9
+ } from "./kv-bnkdgddv.js";
10
10
  import {
11
- Content2
12
- } from "./file-access-1h5aw7tx.js";
11
+ Content3
12
+ } from "./kv-v3w1xs5d.js";
13
13
  import {
14
14
  detect2
15
- } from "./file-access-3smtnn6g.js";
15
+ } from "./kv-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./file-access-9rqn6x4v.js";
18
+ } from "./kv-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service12,
36
+ Service: () => Service6,
37
37
  TextPage: () => TextPage2,
38
- node: () => node14,
38
+ node: () => node7,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content2.fields
92
+ ...Content3.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service12, Effect.gen(function* () {
330
- const environment = yield* Service76;
331
- return Service12.of({
329
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
330
+ const environment = yield* Service60;
331
+ return Service6.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node14 = makeLocationNode({ service: Service12, layer, deps: [node79] });
336
+ var node7 = makeLocationNode({ service: Service6, layer, deps: [node63] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node7, exports_read_filesystem };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service51
3
- } from "./file-access-vpgyrhve.js";
2
+ Service55
3
+ } from "./kv-k14ta1mw.js";
4
4
  import {
5
- Service45
6
- } from "./file-access-kw9xdzv2.js";
5
+ Service34
6
+ } from "./kv-06jg94xm.js";
7
7
  import {
8
8
  observe2
9
- } from "./file-access-qsdy395h.js";
9
+ } from "./kv-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./file-access-9rqn6x4v.js";
12
+ } from "./kv-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin12
18
+ Plugin: () => Plugin17
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin12 = define({
22
+ var Plugin17 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service51;
26
- const image = yield* Service45;
25
+ const config = yield* Service55;
26
+ const image = yield* Service34;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin12 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin12, exports_image };
46
+ export { Plugin17, exports_image };