@opencode/core 0.0.0-dev-19439 → 0.0.0-dev-19440

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{formatter-dh76dsr9.js → file-01x5ayvb.js} +8 -8
  9. package/dist/chunks/{formatter-skxg4786.js → file-0a423ajn.js} +43 -43
  10. package/dist/chunks/{formatter-dtqv72tr.js → file-0ccn345w.js} +16 -16
  11. package/dist/chunks/{formatter-gp9htv6t.js → file-0gb42mpy.js} +6 -6
  12. package/dist/chunks/{formatter-t550f9t1.js → file-0gdmqesm.js} +4 -4
  13. package/dist/chunks/{formatter-6ad8zjmg.js → file-0j7s38gp.js} +24 -24
  14. package/dist/chunks/{formatter-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{formatter-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{formatter-yjptyezs.js → file-0r7yqxbf.js} +5 -5
  17. package/dist/chunks/{formatter-j0bxhyf1.js → file-10m077g0.js} +6 -6
  18. package/dist/chunks/{formatter-cbf23dhs.js → file-11rr1j9z.js} +16 -16
  19. package/dist/chunks/{formatter-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{formatter-0vb1f5pm.js → file-1dgfjwgv.js} +24 -24
  21. package/dist/chunks/{formatter-9gk1gqp3.js → file-1kz1ep11.js} +9 -9
  22. package/dist/chunks/{formatter-00nm36c8.js → file-1nepfxaz.js} +9 -9
  23. package/dist/chunks/{formatter-nx7dmtbq.js → file-1qvh4tdd.js} +81 -81
  24. package/dist/chunks/{formatter-095yekjx.js → file-1vtz46z8.js} +8 -8
  25. package/dist/chunks/file-1x11rq2a.js +18 -0
  26. package/dist/chunks/{formatter-dv1d3m2q.js → file-1zpv7ff7.js} +39 -39
  27. package/dist/chunks/{formatter-21r38tys.js → file-21r38tys.js} +1 -1
  28. package/dist/chunks/{formatter-2402vzrj.js → file-2402vzrj.js} +1 -1
  29. package/dist/chunks/{formatter-a4exdnt3.js → file-29vcxy2s.js} +4 -4
  30. package/dist/chunks/{formatter-ea17m5x7.js → file-2a02pqey.js} +28 -28
  31. package/dist/chunks/{formatter-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{formatter-hk4vbwmw.js → file-2dwxz9nb.js} +1 -1
  33. package/dist/chunks/{formatter-qmr73083.js → file-2jhvch9f.js} +1 -1
  34. package/dist/chunks/{formatter-18cztcj7.js → file-2w8gt3dc.js} +3 -3
  35. package/dist/chunks/{formatter-3pkm5zsv.js → file-31a64gx3.js} +46 -46
  36. package/dist/chunks/{formatter-bdhtzght.js → file-31k57cnn.js} +20 -20
  37. package/dist/chunks/{formatter-pf1rkfgd.js → file-34y33xw8.js} +35 -35
  38. package/dist/chunks/{formatter-72yrt324.js → file-39ydjj0q.js} +16 -16
  39. package/dist/chunks/{formatter-ndn3zy2s.js → file-3e0re2er.js} +14 -14
  40. package/dist/chunks/{formatter-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{formatter-y9nhn27x.js → file-3q86das3.js} +29 -29
  42. package/dist/chunks/{formatter-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{formatter-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{formatter-3cfzdc8e.js → file-3w0fmcng.js} +5 -5
  45. package/dist/chunks/{formatter-8dnxqjce.js → file-40bxqg89.js} +10 -10
  46. package/dist/chunks/{formatter-9bzc32ne.js → file-41nzdzyt.js} +10 -10
  47. package/dist/chunks/{formatter-hvdm4zjc.js → file-47rg0syt.js} +17 -17
  48. package/dist/chunks/{formatter-9adx019p.js → file-4gxnfwsp.js} +39 -39
  49. package/dist/chunks/{formatter-zc49taxq.js → file-4k1x48fq.js} +11 -11
  50. package/dist/chunks/{formatter-668nd1zd.js → file-4qk82zqm.js} +17 -17
  51. package/dist/chunks/{formatter-ctck25gh.js → file-4zqvh54v.js} +50 -50
  52. package/dist/chunks/{formatter-80e0yyk8.js → file-51b1p1nf.js} +10 -10
  53. package/dist/chunks/{formatter-j06bdbff.js → file-53kvdkfc.js} +41 -41
  54. package/dist/chunks/{formatter-r6mys28c.js → file-54xwtjdq.js} +44 -44
  55. package/dist/chunks/{formatter-33w4ejhs.js → file-56gdpj1q.js} +6 -6
  56. package/dist/chunks/{formatter-1trm2ftq.js → file-56pp0xdw.js} +16 -16
  57. package/dist/chunks/{formatter-gkx770bk.js → file-5ahbvy81.js} +10 -10
  58. package/dist/chunks/{formatter-5daktx2q.js → file-5daktx2q.js} +1 -1
  59. package/dist/chunks/{formatter-r94jn7mf.js → file-5eep6mvg.js} +20 -20
  60. package/dist/chunks/{formatter-v8ch97zc.js → file-5k8nf3y0.js} +1 -1
  61. package/dist/chunks/{formatter-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{formatter-y0m5vzhp.js → file-5t76y6t3.js} +57 -57
  63. package/dist/chunks/{formatter-qr27hz8v.js → file-5tvb4m4x.js} +4 -4
  64. package/dist/chunks/{formatter-m4b8n7qx.js → file-5wd13403.js} +27 -27
  65. package/dist/chunks/{formatter-vcx64ysh.js → file-5zjhyd44.js} +43 -43
  66. package/dist/chunks/{formatter-669tq793.js → file-669tq793.js} +1 -1
  67. package/dist/chunks/{formatter-h2zbnnby.js → file-6brzmxsm.js} +14 -14
  68. package/dist/chunks/{formatter-kabm8qet.js → file-6cwg1y4g.js} +16 -16
  69. package/dist/chunks/{formatter-0ghbvpbq.js → file-6cxvyk5r.js} +5 -5
  70. package/dist/chunks/{formatter-p1wf2k30.js → file-6d9mz4vp.js} +5 -5
  71. package/dist/chunks/{formatter-8g8qrqs2.js → file-6kaqw02d.js} +13 -13
  72. package/dist/chunks/{formatter-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{formatter-py4eyt8z.js → file-6tp3trja.js} +18 -18
  74. package/dist/chunks/{formatter-w4vfbj5y.js → file-6wbs09gh.js} +11 -11
  75. package/dist/chunks/{formatter-reya8m0q.js → file-6z8rkrt2.js} +22 -22
  76. package/dist/chunks/{formatter-71q4at8m.js → file-71q4at8m.js} +1 -1
  77. package/dist/chunks/{formatter-8z52dtec.js → file-75kte9jx.js} +14 -14
  78. package/dist/chunks/{formatter-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{formatter-e07ezkqg.js → file-7c6e5y81.js} +24 -24
  80. package/dist/chunks/{formatter-2k8khapm.js → file-7dqw4kz8.js} +5 -5
  81. package/dist/chunks/{formatter-s0esgemt.js → file-7sqxeqwy.js} +4 -4
  82. package/dist/chunks/{formatter-9pv0dm11.js → file-81swgkk7.js} +9 -9
  83. package/dist/chunks/{formatter-gmwb692f.js → file-81wjxh2j.js} +16 -16
  84. package/dist/chunks/{formatter-5ztyb0s9.js → file-84k0ms65.js} +13 -13
  85. package/dist/chunks/{formatter-6jnybvqn.js → file-84zt2byv.js} +9 -9
  86. package/dist/chunks/{formatter-t1vfcksq.js → file-85y38j38.js} +13 -13
  87. package/dist/chunks/{formatter-ve6nm2s5.js → file-8a2qdx2a.js} +6 -6
  88. package/dist/chunks/{formatter-9hmhmwp5.js → file-8b4f4643.js} +295 -295
  89. package/dist/chunks/{formatter-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{formatter-8p4f9s12.js → file-8p4f9s12.js} +2 -2
  91. package/dist/chunks/{formatter-6zjp47af.js → file-8st6sg7d.js} +6 -6
  92. package/dist/chunks/{formatter-nszmkgp8.js → file-8tf464ev.js} +35 -35
  93. package/dist/chunks/{formatter-gw0b7z6j.js → file-8va43b33.js} +49 -49
  94. package/dist/chunks/{formatter-3vd6qc07.js → file-8ygr8afe.js} +9 -9
  95. package/dist/chunks/{formatter-qa1nr178.js → file-90hac4w7.js} +15 -15
  96. package/dist/chunks/{formatter-8t5w0ytw.js → file-915t83ht.js} +5 -5
  97. package/dist/chunks/{formatter-gab2tx2v.js → file-92e8bh4d.js} +30 -30
  98. package/dist/chunks/{formatter-021h0nrt.js → file-9ev7wkx2.js} +5 -5
  99. package/dist/chunks/{formatter-3hf7z3yq.js → file-9khdf5s3.js} +11 -11
  100. package/dist/chunks/{formatter-5mbh52c5.js → file-9pazyhrx.js} +34 -34
  101. package/dist/chunks/{formatter-4b0yvbnv.js → file-a12ktaww.js} +9 -9
  102. package/dist/chunks/{formatter-a1bz86dw.js → file-a1bz86dw.js} +3 -3
  103. package/dist/chunks/{formatter-f1yt1w90.js → file-a1ttd06w.js} +27 -27
  104. package/dist/chunks/{formatter-aaet6srn.js → file-aaet6srn.js} +2 -2
  105. package/dist/chunks/{formatter-fp08gjcx.js → file-ad4c86qp.js} +19 -19
  106. package/dist/chunks/{formatter-fghqpq1c.js → file-ah20z6ve.js} +2 -2
  107. package/dist/chunks/{formatter-g8jasmdt.js → file-akrnn5pm.js} +8 -8
  108. package/dist/chunks/{formatter-0ped3br2.js → file-apktd9aw.js} +11 -11
  109. package/dist/chunks/{formatter-q0b5npqy.js → file-aqnnbpn3.js} +10 -10
  110. package/dist/chunks/{formatter-5yjc0kdb.js → file-arsacetm.js} +11 -11
  111. package/dist/chunks/{formatter-9dafp5sw.js → file-avp3hhf2.js} +25 -25
  112. package/dist/chunks/{formatter-edrmdtr5.js → file-b27vhd2z.js} +7 -7
  113. package/dist/chunks/{formatter-4swyx596.js → file-b3yz7px1.js} +28 -28
  114. package/dist/chunks/{formatter-ttgj08hp.js → file-b5v58ftx.js} +6 -6
  115. package/dist/chunks/{formatter-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{formatter-285areat.js → file-bez9jb7v.js} +7 -7
  117. package/dist/chunks/{formatter-t3ev4bbs.js → file-bjwja24f.js} +5 -5
  118. package/dist/chunks/{formatter-f81hbz6h.js → file-bnd8m4xr.js} +9 -9
  119. package/dist/chunks/{formatter-7swy916s.js → file-bsre5g92.js} +20 -20
  120. package/dist/chunks/{formatter-6rdehx4s.js → file-bty97h6q.js} +11 -11
  121. package/dist/chunks/{formatter-krdddzze.js → file-bz5k20yh.js} +10 -10
  122. package/dist/chunks/{formatter-bkqv14q1.js → file-c0q0hmxn.js} +3 -3
  123. package/dist/chunks/{formatter-ts6jc9rr.js → file-c6090g2y.js} +40 -40
  124. package/dist/chunks/{formatter-mdjvh03d.js → file-c7vqgbdp.js} +6 -6
  125. package/dist/chunks/{formatter-7azxt0pz.js → file-caevyejh.js} +26 -26
  126. package/dist/chunks/{formatter-7s0w6q3c.js → file-cef1ew0c.js} +22 -22
  127. package/dist/chunks/{formatter-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
  128. package/dist/chunks/{formatter-t56rre3z.js → file-cqf55qpv.js} +13 -13
  129. package/dist/chunks/{formatter-85rv8zbb.js → file-ct16t8sn.js} +7 -7
  130. package/dist/chunks/{formatter-4jwp497k.js → file-cw20kccn.js} +9 -9
  131. package/dist/chunks/{formatter-mssymtw4.js → file-cxgbd94q.js} +18 -18
  132. package/dist/chunks/{formatter-1ah30sey.js → file-d1jmswd2.js} +5 -5
  133. package/dist/chunks/{formatter-vncycja5.js → file-dfe8djrf.js} +4 -4
  134. package/dist/chunks/{formatter-y71avatq.js → file-dpkg50ah.js} +4 -4
  135. package/dist/chunks/file-dqjwa780.js +22 -0
  136. package/dist/chunks/{formatter-5w7tckb9.js → file-dv8j6wzk.js} +15 -15
  137. package/dist/chunks/{formatter-j8zzr2am.js → file-dwvzh0g2.js} +4 -4
  138. package/dist/chunks/{formatter-2d97fjv4.js → file-e4jhm3j4.js} +26 -26
  139. package/dist/chunks/{formatter-w4arg62q.js → file-e6hd9jay.js} +4 -4
  140. package/dist/chunks/{formatter-tcgf8zsh.js → file-efd2tswm.js} +4 -4
  141. package/dist/chunks/{formatter-d3cg80ds.js → file-eg6tdpbh.js} +13 -13
  142. package/dist/chunks/{formatter-bajakh74.js → file-epd1fg1b.js} +4 -4
  143. package/dist/chunks/{formatter-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{formatter-0nm12y21.js → file-etq9z835.js} +2 -2
  145. package/dist/chunks/{formatter-w6jjpet8.js → file-f0w7qnfr.js} +12 -12
  146. package/dist/chunks/{formatter-dam1xtkf.js → file-f40nw3s4.js} +13 -13
  147. package/dist/chunks/{formatter-9rzgchqg.js → file-f7xc3wa1.js} +23 -23
  148. package/dist/chunks/{formatter-f828m53h.js → file-f828m53h.js} +2 -2
  149. package/dist/chunks/{formatter-0sz3434e.js → file-fmhfve32.js} +22 -22
  150. package/dist/chunks/{formatter-mmwejawh.js → file-fpm9cd7c.js} +35 -35
  151. package/dist/chunks/{formatter-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{formatter-4e4zhwn8.js → file-fz45jgbm.js} +26 -26
  153. package/dist/chunks/{formatter-f9bavhm2.js → file-g08h86t3.js} +1 -1
  154. package/dist/chunks/{formatter-90p59b3a.js → file-g1sb636y.js} +5 -5
  155. package/dist/chunks/{formatter-4mxshjsa.js → file-gctttn65.js} +21 -21
  156. package/dist/chunks/{formatter-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{formatter-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
  158. package/dist/chunks/{formatter-c92gkee6.js → file-gsnb458g.js} +9 -9
  159. package/dist/chunks/{formatter-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{formatter-8z17e00v.js → file-gz2y2193.js} +2 -2
  161. package/dist/chunks/{formatter-h03wrkyp.js → file-h03wrkyp.js} +2 -2
  162. package/dist/chunks/{formatter-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{formatter-cct3q0a5.js → file-h7nxn43q.js} +32 -32
  164. package/dist/chunks/{formatter-5syt3tya.js → file-ha2h0zjh.js} +27 -27
  165. package/dist/chunks/{formatter-wmsepf1h.js → file-heer32bb.js} +7 -7
  166. package/dist/chunks/{formatter-p1kh2k2v.js → file-hgyq7eg6.js} +20 -20
  167. package/dist/chunks/{formatter-0t42w751.js → file-hgz4ddpy.js} +18 -18
  168. package/dist/chunks/{formatter-5afqb7wg.js → file-hjkgy200.js} +32 -32
  169. package/dist/chunks/{formatter-yt0fqk68.js → file-hkfg6fzm.js} +5 -5
  170. package/dist/chunks/{formatter-2msj1ncg.js → file-hqt9f5hj.js} +169 -169
  171. package/dist/chunks/{formatter-mhkvc446.js → file-j028xdjb.js} +3 -3
  172. package/dist/chunks/{formatter-y5eyw352.js → file-j0hyjfyk.js} +9 -9
  173. package/dist/chunks/{formatter-zemgttac.js → file-j1dc1ckq.js} +25 -25
  174. package/dist/chunks/{formatter-2pm4epw0.js → file-j1k07czg.js} +5 -5
  175. package/dist/chunks/{formatter-j56e64zr.js → file-j56e64zr.js} +1 -1
  176. package/dist/chunks/{formatter-2vs2nh1n.js → file-jj3qxa52.js} +4 -4
  177. package/dist/chunks/{formatter-vadmf725.js → file-jk47m7qg.js} +18 -18
  178. package/dist/chunks/{formatter-7be57pfy.js → file-jtkkm2qn.js} +20 -20
  179. package/dist/chunks/{formatter-nbqjn8b8.js → file-jzd3sdz4.js} +13 -13
  180. package/dist/chunks/{formatter-0t1gcbnc.js → file-jzd96n45.js} +14 -14
  181. package/dist/chunks/{formatter-9zswys26.js → file-jzzy94zk.js} +9 -9
  182. package/dist/chunks/{formatter-5jtdmvnp.js → file-kaaek4yc.js} +1 -1
  183. package/dist/chunks/{formatter-xbtmma79.js → file-kegs65m0.js} +27 -27
  184. package/dist/chunks/{formatter-kg06axw8.js → file-kg06axw8.js} +1 -1
  185. package/dist/chunks/{formatter-y74fwv73.js → file-kt5w8vxh.js} +10 -10
  186. package/dist/chunks/{formatter-2qnv7z47.js → file-kvext5yd.js} +81 -81
  187. package/dist/chunks/{formatter-esv2341e.js → file-m0f43kw2.js} +33 -33
  188. package/dist/chunks/{formatter-fbj83e1y.js → file-m2h2dh4q.js} +13 -13
  189. package/dist/chunks/{formatter-4c2c4z0k.js → file-m8nf6fh5.js} +33 -33
  190. package/dist/chunks/{formatter-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{formatter-ybhbtxjg.js → file-ma9yb35x.js} +6 -6
  192. package/dist/chunks/{formatter-jy16bfac.js → file-mb0ha6fs.js} +1 -1
  193. package/dist/chunks/{formatter-mkcjrzeh.js → file-mkcjrzeh.js} +1 -1
  194. package/dist/chunks/{formatter-rsdf2nvv.js → file-msq0jde0.js} +4 -4
  195. package/dist/chunks/{formatter-d7r387ef.js → file-n032fvft.js} +6 -6
  196. package/dist/chunks/{formatter-2dcw9sq7.js → file-n8hp42zk.js} +22 -22
  197. package/dist/chunks/{formatter-sv9bpgvh.js → file-nfnqdzmc.js} +5 -5
  198. package/dist/chunks/{formatter-8n2resjc.js → file-nnsfn4jb.js} +22 -22
  199. package/dist/chunks/{formatter-1acjjqhc.js → file-nxer0yad.js} +4 -4
  200. package/dist/chunks/{formatter-dyrkrqpz.js → file-nyj7fnw9.js} +30 -30
  201. package/dist/chunks/{formatter-qa5ynrpv.js → file-p2vn5raz.js} +7 -7
  202. package/dist/chunks/{formatter-wx9wy1qm.js → file-p33ejz0k.js} +1 -1
  203. package/dist/chunks/{formatter-31dz7cp4.js → file-p6mw6jzc.js} +1 -1
  204. package/dist/chunks/{formatter-hjt4xg1x.js → file-p6yzb5ay.js} +4 -4
  205. package/dist/chunks/{formatter-zkae56be.js → file-pfjkw3sm.js} +64 -64
  206. package/dist/chunks/{formatter-rmk2c50f.js → file-pfq1ksym.js} +5 -5
  207. package/dist/chunks/{formatter-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{formatter-pknna89w.js → file-pknna89w.js} +1 -1
  209. package/dist/chunks/{formatter-jexxy024.js → file-pxt4kznk.js} +3 -3
  210. package/dist/chunks/{formatter-hjny2139.js → file-pydmrwq0.js} +28 -28
  211. package/dist/chunks/{formatter-a5mbhza4.js → file-qbrwkfs8.js} +8 -8
  212. package/dist/chunks/{formatter-cavr175a.js → file-qj8eh1ht.js} +4 -4
  213. package/dist/chunks/{formatter-x1msyfgj.js → file-qknber6z.js} +8 -8
  214. package/dist/chunks/{formatter-1j6vcx8p.js → file-qmj11y7g.js} +22 -22
  215. package/dist/chunks/{formatter-617j0ppb.js → file-qnq5akd1.js} +16 -16
  216. package/dist/chunks/{formatter-crc3g98t.js → file-qr42g2ex.js} +12 -12
  217. package/dist/chunks/{formatter-qsdy395h.js → file-qsdy395h.js} +1 -1
  218. package/dist/chunks/file-qtvmxc8s.js +4 -0
  219. package/dist/chunks/{formatter-7j2qha59.js → file-qvb3nf84.js} +8 -8
  220. package/dist/chunks/{formatter-x4hnyy7a.js → file-qz8n5g0w.js} +11 -11
  221. package/dist/chunks/{formatter-s54pw8rz.js → file-r0q5qwf7.js} +11 -11
  222. package/dist/chunks/{formatter-g9yjs11r.js → file-r6r1pz2h.js} +20 -20
  223. package/dist/chunks/{formatter-r9mregkx.js → file-r9mregkx.js} +2 -2
  224. package/dist/chunks/{formatter-68yeam9s.js → file-rj8m8qzm.js} +10 -10
  225. package/dist/chunks/{formatter-y88dd9am.js → file-rmnfqzky.js} +25 -25
  226. package/dist/chunks/{formatter-c3w3adeh.js → file-rq6a0dg0.js} +4 -4
  227. package/dist/chunks/{formatter-hatqt65p.js → file-rvyh1tga.js} +4 -4
  228. package/dist/chunks/{formatter-wmpm68aq.js → file-s8b69be9.js} +8 -8
  229. package/dist/chunks/{formatter-81k6gtxt.js → file-s9wkemjm.js} +16 -16
  230. package/dist/chunks/{formatter-s0sr0rvp.js → file-sfegc1hb.js} +11 -11
  231. package/dist/chunks/{formatter-wnhwz1p5.js → file-shyev4mk.js} +11 -11
  232. package/dist/chunks/{formatter-9z5mp38j.js → file-snsk04x3.js} +17 -17
  233. package/dist/chunks/{formatter-pd5ra043.js → file-stntv2hh.js} +21 -21
  234. package/dist/chunks/{formatter-hdbh06sf.js → file-sx8dqv37.js} +25 -25
  235. package/dist/chunks/{formatter-dbmntw5q.js → file-t1d7geq2.js} +11 -11
  236. package/dist/chunks/{formatter-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{formatter-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{formatter-edqrezaz.js → file-td8ytyxd.js} +8 -8
  239. package/dist/chunks/{formatter-tdstcens.js → file-tdstcens.js} +1 -1
  240. package/dist/chunks/{formatter-2syw43ez.js → file-tjr0drtg.js} +11 -11
  241. package/dist/chunks/{formatter-fbb40q07.js → file-tmrp3428.js} +4 -4
  242. package/dist/chunks/{formatter-0vr1v3xt.js → file-tnjzq8hh.js} +22 -22
  243. package/dist/chunks/{formatter-v4hmzr0r.js → file-tpw6cwsb.js} +8 -8
  244. package/dist/chunks/{formatter-4j6h5n25.js → file-ts8g87kd.js} +15 -15
  245. package/dist/chunks/{formatter-tvtrv512.js → file-tvtrv512.js} +1 -1
  246. package/dist/chunks/{formatter-re8aperj.js → file-v1d6h3jw.js} +11 -11
  247. package/dist/chunks/{formatter-4yg7xpeb.js → file-v6krneed.js} +2 -2
  248. package/dist/chunks/file-v7es8fey.js +247 -0
  249. package/dist/chunks/{formatter-5507e9e8.js → file-v84ecj13.js} +41 -41
  250. package/dist/chunks/{formatter-pcfzsj1n.js → file-v9yqefes.js} +28 -28
  251. package/dist/chunks/{formatter-veqvce7d.js → file-veqvce7d.js} +1 -1
  252. package/dist/chunks/{formatter-a7xpxmvw.js → file-vpsn8azz.js} +21 -21
  253. package/dist/chunks/{formatter-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{formatter-f3bjm0g3.js → file-w3tvvpzb.js} +18 -18
  255. package/dist/chunks/{formatter-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{formatter-w0psxf7y.js → file-w7q7v3t1.js} +15 -15
  257. package/dist/chunks/{formatter-wd87259q.js → file-wd87259q.js} +1 -1
  258. package/dist/chunks/{formatter-bz38aey9.js → file-wepxzacc.js} +3 -3
  259. package/dist/chunks/{formatter-eq20ba7x.js → file-wpm2rk0p.js} +6 -6
  260. package/dist/chunks/{formatter-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{formatter-9mxd4efq.js → file-x3n8sh0p.js} +17 -17
  262. package/dist/chunks/{formatter-n5d2spsf.js → file-x4tsw7vb.js} +20 -20
  263. package/dist/chunks/{formatter-bpvz3mp1.js → file-xhhb3q2x.js} +11 -11
  264. package/dist/chunks/{formatter-5jgkwf9z.js → file-xw91ethm.js} +5 -5
  265. package/dist/chunks/{formatter-66g4p5h5.js → file-xxsgs27q.js} +9 -9
  266. package/dist/chunks/{formatter-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{formatter-vdnmb5h5.js → file-y2rgym3m.js} +9 -9
  268. package/dist/chunks/{formatter-9ht5y0bp.js → file-y3ak5rv5.js} +53 -53
  269. package/dist/chunks/{formatter-30txw56n.js → file-yczh3409.js} +23 -23
  270. package/dist/chunks/{formatter-yddgxcp4.js → file-yddgxcp4.js} +2 -2
  271. package/dist/chunks/{formatter-2d6j2h4j.js → file-yhks5pv3.js} +6 -6
  272. package/dist/chunks/{formatter-ptaftxqm.js → file-ykhkvv1t.js} +6 -6
  273. package/dist/chunks/{formatter-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{formatter-yrznvahk.js → file-yrznvahk.js} +2 -2
  275. package/dist/chunks/{formatter-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{formatter-5n6j4vsj.js → file-z0q4dsav.js} +8 -8
  277. package/dist/chunks/{formatter-8kpvhf1n.js → file-z0wr5a8a.js} +30 -30
  278. package/dist/chunks/{formatter-2jvn1219.js → file-z2fmw18c.js} +20 -20
  279. package/dist/chunks/{formatter-1cf11pks.js → file-z3asdwpy.js} +24 -24
  280. package/dist/chunks/{formatter-z63w68vq.js → file-z63w68vq.js} +2 -2
  281. package/dist/chunks/{formatter-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{formatter-qpxqmgt2.js → file-zfznrpx1.js} +4 -4
  283. package/dist/chunks/{formatter-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{formatter-3pb5g2zf.js → file-zr6kk9a2.js} +4 -4
  285. package/dist/chunks/{formatter-0mckgfc3.js → file-zrd73k1r.js} +32 -32
  286. package/dist/chunks/{formatter-s3fk1mhb.js → file-zw0jxv6w.js} +11 -11
  287. package/dist/chunks/{formatter-ggdbhyt9.js → file-zx6x6k27.js} +13 -13
  288. package/dist/chunks/{formatter-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +3 -3
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +113 -113
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +70 -70
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +4 -4
  419. package/dist/filesystem/location-watcher.js +216 -216
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +96 -96
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +91 -91
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -84
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +129 -129
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +82 -82
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +101 -101
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +80 -80
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +106 -106
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +117 -117
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +72 -72
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +133 -133
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +343 -343
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +220 -220
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +83 -83
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +92 -92
  561. package/dist/reference/instructions.js +80 -80
  562. package/dist/reference.js +84 -84
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +93 -93
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +129 -129
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +217 -217
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +148 -148
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +86 -86
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +73 -73
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +111 -111
  587. package/dist/session/model-transport.js +7 -7
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +108 -108
  600. package/dist/session/runner/step.js +121 -121
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +167 -167
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +71 -71
  608. package/dist/session/store.js +83 -83
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +151 -151
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +214 -214
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -211
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +9 -9
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +98 -98
  624. package/dist/skill.js +105 -105
  625. package/dist/snapshot.js +86 -86
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +119 -119
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +115 -115
  636. package/dist/tool/plugin/question.js +96 -96
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +104 -104
  640. package/dist/tool/plugin/subagent.js +214 -214
  641. package/dist/tool/plugin/webfetch.js +105 -105
  642. package/dist/tool/plugin/websearch.js +105 -105
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +94 -94
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +3 -3
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +3 -3
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +85 -85
  675. package/dist/websearch.js +78 -78
  676. package/dist/wellknown/plugin.js +74 -74
  677. package/dist/wellknown.js +77 -77
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +78 -78
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +5 -5
  683. package/dist/worktree/refresh.js +340 -340
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +89 -89
  686. package/package.json +8 -8
  687. package/dist/chunks/formatter-35kzsz4m.js +0 -22
  688. package/dist/chunks/formatter-619r8v3y.js +0 -18
  689. package/dist/chunks/formatter-qapv375x.js +0 -4
  690. package/dist/chunks/formatter-tkmn4y3s.js +0 -247
  691. /package/dist/chunks/{formatter-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{formatter-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{formatter-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{formatter-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{formatter-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{formatter-2710q6r3.js → file-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{formatter-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{formatter-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{formatter-359p4xyc.js → file-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{formatter-3asan66x.js → file-3asan66x.js} +0 -0
  701. /package/dist/chunks/{formatter-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{formatter-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{formatter-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{formatter-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{formatter-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{formatter-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{formatter-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{formatter-53557ph1.js → file-53557ph1.js} +0 -0
  709. /package/dist/chunks/{formatter-550bvhaj.js → file-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{formatter-6prwharc.js → file-6prwharc.js} +0 -0
  711. /package/dist/chunks/{formatter-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{formatter-7m9af43g.js → file-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{formatter-822emrt2.js → file-822emrt2.js} +0 -0
  714. /package/dist/chunks/{formatter-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{formatter-8n3pysct.js → file-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{formatter-922hggd3.js → file-922hggd3.js} +0 -0
  717. /package/dist/chunks/{formatter-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{formatter-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{formatter-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{formatter-af5trqkr.js → file-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{formatter-afrmfg78.js → file-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{formatter-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{formatter-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{formatter-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{formatter-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{formatter-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{formatter-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{formatter-d9fn303g.js → file-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{formatter-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{formatter-dajrwvna.js → file-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{formatter-dap0rakb.js → file-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{formatter-df08tz66.js → file-df08tz66.js} +0 -0
  733. /package/dist/chunks/{formatter-dy18nga0.js → file-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{formatter-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{formatter-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{formatter-ec1grn59.js → file-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{formatter-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{formatter-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{formatter-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{formatter-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{formatter-faypxj3z.js → file-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{formatter-fd410y7t.js → file-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{formatter-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{formatter-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{formatter-g86h250q.js → file-g86h250q.js} +0 -0
  746. /package/dist/chunks/{formatter-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{formatter-gftt206x.js → file-gftt206x.js} +0 -0
  748. /package/dist/chunks/{formatter-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{formatter-hk9envan.js → file-hk9envan.js} +0 -0
  750. /package/dist/chunks/{formatter-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{formatter-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{formatter-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{formatter-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{formatter-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{formatter-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{formatter-mp448xyj.js → file-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{formatter-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{formatter-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{formatter-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{formatter-njntx4h6.js → file-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{formatter-paphc93g.js → file-paphc93g.js} +0 -0
  762. /package/dist/chunks/{formatter-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{formatter-q74kybfr.js → file-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{formatter-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{formatter-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{formatter-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{formatter-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{formatter-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{formatter-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{formatter-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{formatter-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{formatter-twg0f83k.js → file-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{formatter-w803qqfp.js → file-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{formatter-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{formatter-wtztk69x.js → file-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{formatter-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{formatter-x61499pn.js → file-x61499pn.js} +0 -0
  778. /package/dist/chunks/{formatter-y44na4kk.js → file-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{formatter-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{formatter-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{formatter-ym463w8f.js → file-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{formatter-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79,
3
- node83
4
- } from "./formatter-s3fk1mhb.js";
3
+ node84
4
+ } from "./file-zw0jxv6w.js";
5
5
  import {
6
6
  Key4,
7
- Service78,
8
- node82
9
- } from "./formatter-8kpvhf1n.js";
7
+ Service69,
8
+ node73
9
+ } from "./file-z0wr5a8a.js";
10
10
  import {
11
11
  create3
12
- } from "./formatter-kg06axw8.js";
12
+ } from "./file-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./formatter-5syt3tya.js";
16
+ } from "./file-ha2h0zjh.js";
17
17
  import {
18
18
  __export
19
- } from "./formatter-9rqn6x4v.js";
19
+ } from "./file-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event14,
34
- ID: () => ID5,
35
- Info: () => Info20,
33
+ Event: () => Event16,
34
+ ID: () => ID9,
35
+ Info: () => Info24,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
41
  Ref: () => Ref2,
42
- Service: () => Service62,
43
- node: () => node65
42
+ Service: () => Service66,
43
+ node: () => node70
44
44
  });
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode/schema/integration";
62
62
  import { AppProcess } from "@opencode/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event14 } from "@opencode/schema/integration";
65
- var ID5 = Integration.ID;
64
+ import { Event as Event16 } from "@opencode/schema/integration";
65
+ var ID9 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info20 = Integration.Info;
73
+ var Info24 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
87
87
  }
88
88
  var Ref2 = Integration.Ref;
89
89
 
90
- class Service62 extends Context.Service()("@opencode/Integration") {
90
+ class Service66 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service62, Effect.gen(function* () {
96
- const credentials = yield* Service78;
95
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
96
+ const credentials = yield* Service69;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info20.make({
190
+ const project = (entry, connections) => Info24.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service62.of({
420
+ return Service66.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node65 = makeLocationNode({
569
- service: Service62,
568
+ var node70 = makeLocationNode({
569
+ service: Service66,
570
570
  layer,
571
- deps: [node82, node83, AppProcess.node]
571
+ deps: [node73, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID5, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info20, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service62, node65, exports_integration, Event14 };
574
+ export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info24, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service66, node70, exports_integration, Event16 };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./formatter-hk4vbwmw.js";
5
+ } from "./file-2dwxz9nb.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make21,
9
+ make22,
10
10
  makeWithDefaults2
11
- } from "./formatter-ptaftxqm.js";
11
+ } from "./file-ykhkvv1t.js";
12
12
  import {
13
13
  __export
14
- } from "./formatter-9rqn6x4v.js";
14
+ } from "./file-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make21,
25
+ make: () => make22,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service40,
9
+ Service: () => Service25,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service40 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service25 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service40, exports_runner };
18
+ export { DrainResult2, Service25, exports_runner };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./formatter-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./formatter-ts6jc9rr.js";
6
+ } from "./file-c6090g2y.js";
7
7
  import {
8
- Service75,
9
- node79
10
- } from "./formatter-1trm2ftq.js";
8
+ Service76,
9
+ node81
10
+ } from "./file-56pp0xdw.js";
11
11
  import {
12
- Service67,
13
- node70
14
- } from "./formatter-9ht5y0bp.js";
12
+ Service56,
13
+ node59
14
+ } from "./file-y3ak5rv5.js";
15
15
  import {
16
16
  __export
17
- } from "./formatter-9rqn6x4v.js";
17
+ } from "./file-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,9 +22,9 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service18,
25
+ Service: () => Service55,
26
26
  externalDirectoryPermission: () => externalDirectoryPermission2,
27
- node: () => node22,
27
+ node: () => node58,
28
28
  resolvePath: () => resolvePath2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
43
43
  save: [input.save]
44
44
  });
45
45
 
46
- class Service18 extends Context.Service()("@opencode/FileAccess") {
46
+ class Service55 extends Context.Service()("@opencode/FileAccess") {
47
47
  }
48
48
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
49
49
  const normalized = FSUtil.windowsPath(input);
@@ -55,10 +55,10 @@ var invocation = (context) => ({
55
55
  agent: context.agent,
56
56
  source: { type: "tool", messageID: context.messageID, id: context.id }
57
57
  });
58
- var layer = Layer.effect(Service18, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
59
59
  const fs = yield* FSUtil.Service;
60
- const location = yield* Service75;
61
- const permission = yield* Service67;
60
+ const location = yield* Service76;
61
+ const permission = yield* Service56;
62
62
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
63
63
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
64
64
  const worktree = path.resolve(location.project.directory);
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
107
107
  });
108
108
  return target;
109
109
  });
110
- return Service18.of({ resolve, authorizeExternal, authorizeRead });
110
+ return Service55.of({ resolve, authorizeExternal, authorizeRead });
111
111
  }));
112
- var node22 = makeLocationNode({ service: Service18, layer, deps: [FSUtil.node, node79, node70] });
112
+ var node58 = makeLocationNode({ service: Service55, layer, deps: [FSUtil.node, node81, node59] });
113
113
 
114
- export { Kind2, ResolveInput2, externalDirectoryPermission2, Service18, resolvePath2, node22, exports_file_access };
114
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, Service55, resolvePath2, node58, exports_file_access };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80
3
- } from "./formatter-s0sr0rvp.js";
3
+ } from "./file-sfegc1hb.js";
4
4
  import {
5
5
  Service79
6
- } from "./formatter-s3fk1mhb.js";
6
+ } from "./file-zw0jxv6w.js";
7
7
  import {
8
- Service43
9
- } from "./formatter-ve6nm2s5.js";
8
+ Service28
9
+ } from "./file-8a2qdx2a.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./formatter-922hggd3.js";
12
+ } from "./file-922hggd3.js";
13
13
  import {
14
- ID7,
15
- Service65
16
- } from "./formatter-5afqb7wg.js";
14
+ ID14,
15
+ Service70
16
+ } from "./file-hjkgy200.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./formatter-ec1grn59.js";
19
+ } from "./file-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./formatter-gftt206x.js";
22
+ } from "./file-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./formatter-ybhbtxjg.js";
25
+ } from "./file-ma9yb35x.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./formatter-a1bz86dw.js";
28
+ } from "./file-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./formatter-9rqn6x4v.js";
31
+ } from "./file-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service43;
45
+ const instances = yield* Service28;
46
46
  const database = yield* Service80;
47
47
  const bus = yield* Service79;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service65;
50
- const original = input.session.revert?.snapshot ? ID7.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service70;
50
+ const original = input.session.revert?.snapshot ? ID14.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service43;
77
+ const instances = yield* Service28;
78
78
  const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service65;
80
+ const snapshot = yield* Service70;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID7.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID14.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID7.make(message.snapshot.start));
114
+ files.set(file, ID14.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service46
3
- } from "./formatter-r6mys28c.js";
2
+ Service52
3
+ } from "./file-54xwtjdq.js";
4
4
  import {
5
- Service36
6
- } from "./formatter-ctck25gh.js";
5
+ Service35
6
+ } from "./file-4zqvh54v.js";
7
7
  import {
8
8
  __export
9
- } from "./formatter-9rqn6x4v.js";
9
+ } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin41,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin16,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin41 = define({
20
+ var Plugin16 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service46;
28
- const mcp = yield* Service36;
27
+ const config = yield* Service52;
28
+ const mcp = yield* Service35;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin41, register2, exports_mcp2 };
49
+ export { Plugin16, register2, exports_mcp };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./formatter-3hf7z3yq.js";
3
+ } from "./file-9khdf5s3.js";
4
4
  import {
5
5
  Service79
6
- } from "./formatter-s3fk1mhb.js";
6
+ } from "./file-zw0jxv6w.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./formatter-8kpvhf1n.js";
9
+ Event18
10
+ } from "./file-z0wr5a8a.js";
11
11
  import {
12
- ID5,
12
+ ID9,
13
13
  MethodID2
14
- } from "./formatter-zemgttac.js";
14
+ } from "./file-j1dc1ckq.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./formatter-pjvnvgmy.js";
18
+ } from "./file-pjvnvgmy.js";
19
19
  import {
20
- ID15,
20
+ ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./formatter-2d6j2h4j.js";
23
+ } from "./file-yhks5pv3.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID5.make("openai"),
47
+ integrationID: ID9.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID5.make("openai"),
120
+ integrationID: ID9.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.catalog.transform((evt) => {
181
- const item = evt.provider.get(ID15.openai);
181
+ const item = evt.provider.get(ID13.openai);
182
182
  if (!item)
183
183
  return;
184
184
  for (const model of item.models.values()) {
@@ -222,9 +222,9 @@ var OpenAIPlugin3 = define({
222
222
  evt.baseURL = codexBaseURL;
223
223
  evt.headers.originator = "opencode";
224
224
  evt.headers["session-id"] = evt.sessionID;
225
- }), { providerID: ID15.openai });
225
+ }), { providerID: ID13.openai });
226
226
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
227
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
228
228
  })
229
229
  });
230
230
  function headers(contentType, app) {
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./formatter-y71avatq.js";
3
+ } from "./file-dpkg50ah.js";
4
4
  import {
5
5
  __export
6
- } from "./formatter-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service6,
13
- node: () => node9
12
+ Service: () => Service8,
13
+ node: () => node10
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service6 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service8 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service6, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service6.of({
27
+ return Service8.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node9 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
52
+ var node10 = makeGlobalNode({ service: Service8, layer, deps: [Npm.node] });
53
53
 
54
- export { Service6, node9, exports_update };
54
+ export { Service8, node10, exports_update };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./formatter-2d6j2h4j.js";
4
+ } from "./file-yhks5pv3.js";
5
5
 
6
6
  // src/plugin/provider/anthropic.ts
7
7
  import { Effect } from "effect";
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service80,
3
- node84
4
- } from "./formatter-s0sr0rvp.js";
3
+ node85
4
+ } from "./file-sfegc1hb.js";
5
5
  import {
6
6
  Service79,
7
- node83
8
- } from "./formatter-s3fk1mhb.js";
7
+ node84
8
+ } from "./file-zw0jxv6w.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./formatter-5t3nmthw.js";
11
+ } from "./file-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./formatter-ec1grn59.js";
14
+ } from "./file-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./formatter-rsdf2nvv.js";
20
+ } from "./file-msq0jde0.js";
21
21
  import {
22
22
  load3
23
- } from "./formatter-edqrezaz.js";
23
+ } from "./file-td8ytyxd.js";
24
24
  import {
25
25
  create3
26
- } from "./formatter-kg06axw8.js";
26
+ } from "./file-kg06axw8.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./formatter-wx9wy1qm.js";
29
+ } from "./file-p33ejz0k.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./formatter-y9nhn27x.js";
34
+ } from "./file-3q86das3.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./formatter-3pb5g2zf.js";
37
+ } from "./file-zr6kk9a2.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./formatter-bkqv14q1.js";
41
+ } from "./file-c0q0hmxn.js";
42
42
  import {
43
43
  estimate2
44
- } from "./formatter-h6vf3j39.js";
44
+ } from "./file-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./formatter-tdstcens.js";
49
+ } from "./file-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./formatter-9rqn6x4v.js";
52
+ } from "./file-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction2 = {};
56
56
  __export(exports_compaction2, {
57
- Service: () => Service12,
57
+ Service: () => Service11,
58
58
  SessionCompaction: () => exports_compaction2,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
- layer: () => layer7,
62
- node: () => node15,
61
+ layer: () => layer6,
62
+ node: () => node14,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service12 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service11 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -296,7 +296,7 @@ var buildPrompt2 = (update, legacy = false) => {
296
296
  };
297
297
  var hasSummarySection = (summary) => summary.split(`
298
298
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
299
- var layer7 = Layer.effect(Service12, Effect.gen(function* () {
299
+ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
300
300
  const bus = yield* Service79;
301
301
  const llm = yield* LLMClient.Service;
302
302
  const db = (yield* Service80).db;
@@ -605,7 +605,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
605
605
  }
606
606
  }));
607
607
  });
608
- return Service12.of({
608
+ return Service11.of({
609
609
  transform: state.transform,
610
610
  reload: state.reload,
611
611
  enabled: () => state.get().auto,
@@ -614,10 +614,10 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
614
614
  compactManual
615
615
  });
616
616
  }));
617
- var node15 = makeLocationNode({
618
- service: Service12,
619
- layer: layer7,
620
- deps: [node83, node84, llmClient2]
617
+ var node14 = makeLocationNode({
618
+ service: Service11,
619
+ layer: layer6,
620
+ deps: [node84, node85, llmClient2]
621
621
  });
622
622
 
623
- export { Service12, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node15, exports_compaction2 };
623
+ export { Service11, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node14, exports_compaction2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};