@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,35 +2,35 @@ 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
- Key4,
7
+ Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make20,
10
+ make21,
11
11
  diffByKey2
12
- } from "./file-access-02nrjc1r.js";
12
+ } from "./kv-s8d7rejh.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./file-access-922hggd3.js";
15
+ } from "./kv-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./file-access-rdw6cm16.js";
18
+ } from "./kv-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./file-access-9rqn6x4v.js";
21
+ } from "./kv-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event10,
26
+ Event: () => Event5,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options10,
30
- Service: () => Service55,
31
- configured: () => configured10,
32
- layer: () => layer23,
33
- node: () => node58
29
+ Options: () => Options5,
30
+ Service: () => Service38,
31
+ configured: () => configured5,
32
+ layer: () => layer17,
33
+ node: () => node40
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key4.make("core/instructions");
45
- var Event10 = {
44
+ var key = Key3.make("core/instructions");
45
+ var Event5 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options10 = Schema.Struct({
48
+ var Options5 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service55 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service38 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer23 = (options) => Layer.effect(Service55, Effect.gen(function* () {
55
+ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
56
56
  const bus = yield* Service81;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,9 +72,9 @@ var layer23 = (options) => Layer.effect(Service55, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make20({
77
+ const source = (value) => make21({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer23 = (options) => Layer.effect(Service55, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service55.of({
93
+ return Service38.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer23 = (options) => Layer.effect(Service55, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured10(options) {
107
+ function configured5(options) {
108
108
  return makeLocationNode({
109
- service: Service55,
110
- layer: layer23(options),
109
+ service: Service38,
110
+ layer: layer17(options),
111
111
  deps: [node85]
112
112
  });
113
113
  }
114
- var node58 = configured10();
114
+ var node40 = configured5();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event10, Options10, Service55, layer23, configured10, node58, exports_instruction_discovery };
145
+ export { File2, Event5, Options5, Service38, layer17, configured5, node40, exports_instruction_discovery };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./file-access-6msgmcgs.js";
4
+ } from "./kv-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./file-access-qfa1cgps.js";
7
+ } from "./kv-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-access-922hggd3.js";
3
+ } from "./kv-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
@@ -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/app.ts
6
6
  var exports_app = {};
@@ -8,17 +8,17 @@ __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
10
  configured: () => configured6,
11
- layer: () => layer20,
12
- make: () => make19,
13
- node: () => node50,
11
+ layer: () => layer18,
12
+ make: () => make18,
13
+ node: () => node41,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make19()
19
+ defaultValue: () => make18()
20
20
  });
21
- function make19(input = {}) {
21
+ function make18(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make19(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer20 = (input) => Layer.succeed(Metadata2, make19(input));
32
- var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
33
- var node50 = configured6();
31
+ var layer18 = (input) => Layer.succeed(Metadata2, make18(input));
32
+ var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer18(input), deps: [] });
33
+ var node41 = configured6();
34
34
 
35
- export { Metadata2, make19, useragent2, layer20, configured6, node50, exports_app };
35
+ export { Metadata2, make18, useragent2, layer18, configured6, node41, exports_app };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service81
3
- } from "./file-access-zw6dtez5.js";
3
+ } from "./kv-ynbq69as.js";
4
4
  import {
5
- Service48
6
- } from "./file-access-92f8rgp2.js";
5
+ Service46
6
+ } from "./kv-fbge7qf9.js";
7
7
  import {
8
8
  Error2
9
- } from "./file-access-6ywjc070.js";
9
+ } from "./kv-0181d07v.js";
10
10
  import {
11
- Service63
12
- } from "./file-access-b5j16w9d.js";
11
+ Service59
12
+ } from "./kv-m2xnkqg2.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./file-access-3ktbe3hf.js";
15
+ } from "./kv-r0cp9c3a.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./file-access-ec1grn59.js";
18
+ } from "./kv-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./file-access-bj5hbc59.js";
21
+ } from "./kv-fq769th7.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./file-access-tdstcens.js";
24
+ } from "./kv-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./file-access-h03wrkyp.js";
27
+ } from "./kv-h03wrkyp.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./file-access-6ykthspn.js";
30
+ } from "./kv-19d1a1wx.js";
31
31
  import {
32
32
  __export
33
- } from "./file-access-9rqn6x4v.js";
33
+ } from "./kv-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make3
40
+ make: () => make8
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make3 = Effect.gen(function* () {
54
+ var make8 = Effect.gen(function* () {
55
55
  const bus = yield* Service81;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service48;
58
- const toolOutput = yield* Service63;
57
+ const snapshots = yield* Service46;
58
+ const toolOutput = yield* Service59;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
205
205
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
206
206
  };
207
207
 
208
- export { Outcome2, make3, exports_step };
208
+ export { Outcome2, make8, exports_step };
@@ -1,47 +1,47 @@
1
1
  import {
2
- ID14,
3
- Service73
4
- } from "./file-access-7dcaf0ce.js";
2
+ ID10,
3
+ Service66
4
+ } from "./kv-bqvrq9r3.js";
5
5
  import {
6
6
  latest2,
7
- Service51
8
- } from "./file-access-vpgyrhve.js";
7
+ Service55
8
+ } from "./kv-k14ta1mw.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./file-access-q3t37ft6.js";
11
+ } from "./kv-csdaj16z.js";
12
12
  import {
13
- Service47
14
- } from "./file-access-8b68vhre.js";
13
+ Service37
14
+ } from "./kv-ca0bryv0.js";
15
15
  import {
16
16
  evaluate2,
17
- Service70
18
- } from "./file-access-6snq9ewv.js";
17
+ Service63
18
+ } from "./kv-hmgs27qq.js";
19
19
  import {
20
- Service24
21
- } from "./file-access-zf9pbwsw.js";
20
+ Service15
21
+ } from "./kv-09evap6p.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./file-access-x1ezjp6w.js";
24
+ } from "./kv-x1ezjp6w.js";
25
25
  import {
26
26
  make10
27
- } from "./file-access-km5njsm9.js";
27
+ } from "./kv-9x5mrpkq.js";
28
28
  import {
29
29
  __export
30
- } from "./file-access-9rqn6x4v.js";
30
+ } from "./kv-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input5,
36
- Output: () => Output4,
37
- Plugin: () => Plugin37,
35
+ Input: () => Input10,
36
+ Output: () => Output7,
37
+ Plugin: () => Plugin11,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description2,
40
- name: () => name5
39
+ description: () => description4,
40
+ name: () => name10
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name5 = "subagent";
44
+ var name10 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input5 = Schema.Struct({
55
+ var Input10 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input5 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output4 = Schema.Struct({
66
+ var Output7 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description2 = [
71
+ var description4 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description2 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin37 = {
80
+ var Plugin11 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service24;
84
- const jobs = yield* Service47;
85
- const agents = yield* Service73;
86
- const config = yield* Service51;
87
- const permission = yield* Service70;
83
+ const sessions = yield* Service15;
84
+ const jobs = yield* Service37;
85
+ const agents = yield* Service66;
86
+ const config = yield* Service55;
87
+ const permission = yield* Service63;
88
88
  const subagents = yield* make10;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name5,
90
+ name: name10,
91
91
  options: { codemode: false },
92
- description: description2,
93
- input: Input5,
94
- output: Output4,
92
+ description: description4,
93
+ input: Input10,
94
+ output: Output7,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin37 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name5,
114
+ action: name10,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin37 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID14.make(input.agent),
137
+ agent: ID10.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  const hook = (event) => Effect.gen(function* () {
187
- const tool = event.tools[name5];
187
+ const tool = event.tools[name10];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -207,4 +207,4 @@ ${output.output}
207
207
  })
208
208
  };
209
209
 
210
- export { name5, Input5, Output4, description2, Plugin37, exports_subagent };
210
+ export { name10, Input10, Output7, description4, Plugin11, exports_subagent };
@@ -1,9 +1,9 @@
1
1
  import {
2
- render2
3
- } from "./file-access-47gsdddb.js";
2
+ render3
3
+ } from "./kv-nhy5jxhy.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin3,
16
+ OpenAIPlugin: () => OpenAIPlugin2,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
424
424
  const system = event.system[0];
425
425
  if (!system)
426
426
  return;
427
- const rendered = render2(template, Object.keys(event.tools));
427
+ const rendered = render3(template, Object.keys(event.tools));
428
428
  const text = mode === "append" ? `${system.text}
429
429
 
430
430
  ${rendered}` : rendered;
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./file-access-tazgh4e4.js";
10
+ } from "./kv-tazgh4e4.js";
11
11
  import {
12
12
  Service78
13
- } from "./file-access-t9kha2ca.js";
13
+ } from "./kv-82jgxh54.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./file-access-2j0dgarf.js";
16
+ } from "./kv-8ma1xsee.js";
17
17
  import {
18
18
  __export
19
- } from "./file-access-9rqn6x4v.js";
19
+ } from "./kv-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin21,
24
+ Plugin: () => Plugin32,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin21 = define({
33
+ var Plugin32 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
36
  const location = yield* Service78;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin21, exports_hg };
191
+ export { Plugin32, exports_hg };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./file-access-qaymkmh1.js";
3
+ } from "./kv-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";