@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,43 +1,43 @@
1
1
  import {
2
2
  Service80
3
- } from "./formatter-s0sr0rvp.js";
3
+ } from "./file-sfegc1hb.js";
4
4
  import {
5
- Service43
6
- } from "./formatter-ve6nm2s5.js";
5
+ Service28
6
+ } from "./file-8a2qdx2a.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./formatter-619r8v3y.js";
9
+ } from "./file-1x11rq2a.js";
10
10
  import {
11
11
  provenance2
12
- } from "./formatter-rsdf2nvv.js";
12
+ } from "./file-msq0jde0.js";
13
13
  import {
14
14
  preview2
15
- } from "./formatter-edqrezaz.js";
15
+ } from "./file-td8ytyxd.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./formatter-y9nhn27x.js";
18
+ } from "./file-3q86das3.js";
19
19
  import {
20
- Service28
21
- } from "./formatter-nx7dmtbq.js";
20
+ Service29
21
+ } from "./file-1qvh4tdd.js";
22
22
  import {
23
23
  __export
24
- } from "./formatter-9rqn6x4v.js";
24
+ } from "./file-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate2 = {};
28
- __export(exports_generate2, {
29
- SessionGenerate: () => exports_generate2,
27
+ var exports_generate = {};
28
+ __export(exports_generate, {
29
+ SessionGenerate: () => exports_generate,
30
30
  generate: () => generate3
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service43;
35
+ const instances = yield* Service28;
36
36
  const database = yield* Service80;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service28;
40
+ const context = yield* Service29;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -71,4 +71,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate3, exports_generate2 };
74
+ export { generate3, exports_generate };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79
3
- } from "./formatter-s3fk1mhb.js";
3
+ } from "./file-zw0jxv6w.js";
4
4
  import {
5
- Service75
6
- } from "./formatter-1trm2ftq.js";
5
+ Service76
6
+ } from "./file-56pp0xdw.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service36
10
- } from "./formatter-ctck25gh.js";
9
+ Service35
10
+ } from "./file-4zqvh54v.js";
11
11
  import {
12
12
  __export
13
- } from "./formatter-9rqn6x4v.js";
13
+ } from "./file-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command = {};
17
- __export(exports_command, {
18
- CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin21
16
+ var exports_command2 = {};
17
+ __export(exports_command2, {
18
+ CommandPlugin: () => exports_command2,
19
+ Plugin: () => Plugin43
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin21 = define({
196
+ var Plugin43 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service75;
200
- const mcp = yield* Service36;
199
+ const location = yield* Service76;
200
+ const mcp = yield* Service35;
201
201
  const bus = yield* Service79;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin21, exports_command };
283
+ export { Plugin43, exports_command2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./formatter-qfa1cgps.js";
3
+ } from "./file-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node85
5
- } from "./formatter-3hf7z3yq.js";
4
+ node66
5
+ } from "./file-9khdf5s3.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./formatter-rsdf2nvv.js";
9
+ } from "./file-msq0jde0.js";
10
10
  import {
11
- Service71,
12
- node74
13
- } from "./formatter-095yekjx.js";
11
+ Service60,
12
+ node63
13
+ } from "./file-1vtz46z8.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./formatter-9ht5y0bp.js";
16
+ } from "./file-y3ak5rv5.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./formatter-85rv8zbb.js";
19
+ } from "./file-ct16t8sn.js";
20
20
  import {
21
- Error3
22
- } from "./formatter-0vb1f5pm.js";
21
+ Error2
22
+ } from "./file-1dgfjwgv.js";
23
23
  import {
24
- Service38,
24
+ Service39,
25
25
  node42
26
- } from "./formatter-8dnxqjce.js";
26
+ } from "./file-40bxqg89.js";
27
27
  import {
28
- make15
29
- } from "./formatter-hjt4xg1x.js";
28
+ make17
29
+ } from "./file-p6yzb5ay.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./formatter-wx9wy1qm.js";
32
+ } from "./file-p33ejz0k.js";
33
33
  import {
34
34
  __export
35
- } from "./formatter-9rqn6x4v.js";
35
+ } from "./file-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service37,
40
+ Service: () => Service38,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer15,
44
+ layer: () => layer16,
45
45
  node: () => node41,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make17(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service37 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service38 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer15 = Layer.effect(Service37, Effect.gen(function* () {
156
- const hooks = yield* Service71;
157
- const transport = yield* Service38;
155
+ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
156
+ const hooks = yield* Service60;
157
+ const transport = yield* Service39;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -162,7 +162,7 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
162
162
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
163
163
  const tools = input.tools ?? {
164
164
  definitions: [],
165
- execute: () => new Error3({ message: "Tools are not available for this request" })
165
+ execute: () => new Error2({ message: "Tools are not available for this request" })
166
166
  };
167
167
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
168
168
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -244,7 +244,7 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
244
244
  };
245
245
  });
246
246
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
247
- return Service37.of({
247
+ return Service38.of({
248
248
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
249
249
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
250
250
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
@@ -252,9 +252,9 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
252
252
  });
253
253
  }));
254
254
  var node41 = makeLocationNode({
255
- service: Service37,
256
- layer: layer15,
257
- deps: [node74, node42, node85]
255
+ service: Service38,
256
+ layer: layer16,
257
+ deps: [node63, node42, node66]
258
258
  });
259
259
 
260
- export { baseTranscript2, unsupportedParts2, boundImages2, Service37, layer15, node41, exports_model_request };
260
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service38, layer16, node41, exports_model_request };
@@ -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/mime.ts
6
6
  var exports_mime = {};
@@ -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/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./formatter-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./formatter-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info16
13
+ Info: () => Info15
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info16 = Schema.Struct({
30
+ var Info15 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info16, exports_attachment };
34
+ export { Image2, Info15, exports_attachment };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./formatter-5t3nmthw.js";
3
+ } from "./file-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./formatter-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service38,
11
+ Service: () => Service39,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer16,
13
+ layer: () => layer17,
14
14
  makeLayer: () => makeLayer2,
15
15
  node: () => node42
16
16
  });
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
32
32
  });
33
33
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
34
34
 
35
- class Service38 extends Context.Service()("@opencode/SessionModelTransport") {
35
+ class Service39 extends Context.Service()("@opencode/SessionModelTransport") {
36
36
  }
37
37
  var transportError = (message, input) => new AIError({
38
38
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
56
56
  return Effect.fail(observation.error);
57
57
  };
58
58
  var observationTerminal = (observation) => observation.type !== "frame";
59
- var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* () {
59
+ var makeLayer2 = (connector) => Layer.effect(Service39, Effect.gen(function* () {
60
60
  const scope = yield* Scope.Scope;
61
61
  const states = new Map;
62
62
  const state = (sessionID) => {
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* ()
356
356
  }, { discard: true });
357
357
  });
358
358
  yield* Effect.addFinalizer(() => closeAll);
359
- return Service38.of({ bind, close, closeAll });
359
+ return Service39.of({ bind, close, closeAll });
360
360
  }));
361
- var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
361
+ var layer17 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
362
362
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
363
363
  })));
364
- var node42 = makeGlobalNode({ service: Service38, layer: layer16, deps: [webSocketConstructor2] });
364
+ var node42 = makeGlobalNode({ service: Service39, layer: layer17, deps: [webSocketConstructor2] });
365
365
 
366
- export { Service38, makeLayer2, layer16, node42, exports_model_transport };
366
+ export { Service39, makeLayer2, layer17, node42, exports_model_transport };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service79
3
- } from "./formatter-s3fk1mhb.js";
3
+ } from "./file-zw0jxv6w.js";
4
4
  import {
5
- Service53,
6
- Event11
7
- } from "./formatter-fp08gjcx.js";
5
+ Service54,
6
+ Event12
7
+ } from "./file-ad4c86qp.js";
8
8
  import {
9
9
  __export
10
- } from "./formatter-9rqn6x4v.js";
10
+ } from "./file-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin2,
15
+ Plugin: () => Plugin44,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin2 = define({
20
+ var Plugin44 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service79;
24
- const wellknown = yield* Service53;
24
+ const wellknown = yield* Service54;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin2 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin2, exports_plugin };
48
+ export { Plugin44, exports_plugin };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./formatter-tvtrv512.js";
3
+ } from "./file-tvtrv512.js";
4
4
  import {
5
- Service58,
6
- node61
7
- } from "./formatter-wnhwz1p5.js";
5
+ Service62,
6
+ node65
7
+ } from "./file-shyev4mk.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./formatter-gftt206x.js";
10
+ } from "./file-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./formatter-jexxy024.js";
13
+ } from "./file-pxt4kznk.js";
14
14
  import {
15
15
  __export
16
- } from "./formatter-9rqn6x4v.js";
16
+ } from "./file-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service51,
23
- make: () => make18,
24
- node: () => node54
22
+ Service: () => Service61,
23
+ make: () => make19,
24
+ node: () => node64
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
50
50
  var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
 
53
- class Service51 extends Context.Service()("@opencode/Job") {
53
+ class Service61 extends Context.Service()("@opencode/Job") {
54
54
  }
55
55
  function snapshot(job) {
56
56
  return {
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
77
77
  next.set(sessionID, count - 1);
78
78
  return next;
79
79
  }
80
- var make18 = Effect.gen(function* () {
81
- const kv = yield* Service58;
80
+ var make19 = Effect.gen(function* () {
81
+ const kv = yield* Service62;
82
82
  const state = {
83
83
  jobs: yield* SynchronizedRef.make(new Map),
84
84
  scope: yield* Scope.Scope
@@ -307,7 +307,7 @@ var make18 = Effect.gen(function* () {
307
307
  return recovered;
308
308
  }).pipe(Effect.withSpan("Job.pendingBackground"));
309
309
  const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
310
- return Service51.of({
310
+ return Service61.of({
311
311
  get,
312
312
  start,
313
313
  wait,
@@ -319,7 +319,7 @@ var make18 = Effect.gen(function* () {
319
319
  completeBackground
320
320
  });
321
321
  });
322
- var layer = Layer.effect(Service51, make18);
323
- var node54 = makeGlobalNode({ service: Service51, layer, deps: [node61] });
322
+ var layer = Layer.effect(Service61, make19);
323
+ var node64 = makeGlobalNode({ service: Service61, layer, deps: [node65] });
324
324
 
325
- export { Service51, make18, node54, exports_job };
325
+ export { Service61, make19, node64, exports_job };
@@ -1,49 +1,49 @@
1
1
  import {
2
- ID15,
2
+ ID13,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./formatter-2d6j2h4j.js";
8
+ } from "./file-yhks5pv3.js";
9
9
  import {
10
- Service64,
11
- node67
12
- } from "./formatter-6rdehx4s.js";
10
+ Service67,
11
+ node71
12
+ } from "./file-bty97h6q.js";
13
13
  import {
14
14
  map2
15
- } from "./formatter-4yg7xpeb.js";
15
+ } from "./file-v6krneed.js";
16
16
  import {
17
- ID14,
17
+ ID12,
18
18
  VariantID2,
19
19
  Ref3
20
- } from "./formatter-80e0yyk8.js";
20
+ } from "./file-51b1p1nf.js";
21
21
  import {
22
- ID5,
23
- Service62,
24
- node65
25
- } from "./formatter-zemgttac.js";
22
+ ID9,
23
+ Service66,
24
+ node70
25
+ } from "./file-j1dc1ckq.js";
26
26
  import {
27
- Service61,
28
- node64
29
- } from "./formatter-4e4zhwn8.js";
27
+ Service65,
28
+ node69
29
+ } from "./file-fz45jgbm.js";
30
30
  import {
31
31
  __export
32
- } from "./formatter-9rqn6x4v.js";
32
+ } from "./file-9rqn6x4v.js";
33
33
 
34
34
  // src/model-resolver.ts
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service60,
38
+ Service: () => Service64,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
41
41
  UnsupportedPackageError: () => UnsupportedPackageError3,
42
42
  VariantUnavailableError: () => VariantUnavailableError3,
43
43
  fromCatalogModel: () => fromCatalogModel2,
44
44
  hasPackage: () => hasPackage2,
45
- layer: () => layer23,
46
- node: () => node63,
45
+ layer: () => layer24,
46
+ node: () => node68,
47
47
  resolveModel: () => resolveModel2,
48
48
  withVariant: () => withVariant2
49
49
  });
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
53
53
  import { Context, Effect, Layer, Schema, Struct } from "effect";
54
54
  import { Npm } from "@opencode/util/npm";
55
55
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
56
- providerID: ID15,
57
- modelID: ID14,
56
+ providerID: ID13,
57
+ modelID: ID12,
58
58
  variant: VariantID2
59
59
  }) {
60
60
  get message() {
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
63
63
  }
64
64
 
65
65
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
66
- providerID: ID15,
67
- modelID: ID14,
66
+ providerID: ID13,
67
+ modelID: ID12,
68
68
  package: Schema.String
69
69
  }) {
70
70
  get message() {
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
73
73
  }
74
74
 
75
75
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
76
- providerID: ID15,
77
- modelID: ID14,
76
+ providerID: ID13,
77
+ modelID: ID12,
78
78
  variables: Schema.Array(Schema.String)
79
79
  }) {
80
80
  get message() {
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
83
83
  }
84
84
 
85
85
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
86
- providerID: ID15,
87
- modelID: ID14,
86
+ providerID: ID13,
87
+ modelID: ID12,
88
88
  route: Schema.String
89
89
  }) {
90
90
  get message() {
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
92
92
  }
93
93
  }
94
94
 
95
- class Service60 extends Context.Service()("@opencode/ModelResolver") {
95
+ class Service64 extends Context.Service()("@opencode/ModelResolver") {
96
96
  }
97
97
  var withVariant2 = (model, variantID) => {
98
98
  const id = variantID === "default" ? undefined : variantID;
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
218
218
  });
219
219
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
220
220
  var hasPackage2 = (model) => Boolean(model.package);
221
- var layer23 = Layer.effect(Service60, Effect.gen(function* () {
222
- const catalog = yield* Service61;
223
- const integrations = yield* Service62;
221
+ var layer24 = Layer.effect(Service64, Effect.gen(function* () {
222
+ const catalog = yield* Service65;
223
+ const integrations = yield* Service66;
224
224
  const npm = yield* Npm.Service;
225
- const aisdk = yield* Service64;
225
+ const aisdk = yield* Service67;
226
226
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
227
227
  const provider = yield* catalog.provider.get(selected.providerID);
228
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID5.make(selected.providerID));
228
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
229
229
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
230
230
  const runtimeInfo = yield* withVariant2(selected, variant);
231
231
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -247,7 +247,7 @@ var layer23 = Layer.effect(Service60, Effect.gen(function* () {
247
247
  websocket: selected.websocket ?? false
248
248
  };
249
249
  });
250
- return Service60.of({
250
+ return Service64.of({
251
251
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
252
252
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
253
253
  if (!selected)
@@ -264,10 +264,10 @@ function usesAPIKeyAuth(packageName) {
264
264
  const name = packageName2(packageName);
265
265
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
266
266
  }
267
- var node63 = makeLocationNode({
268
- service: Service60,
269
- layer: layer23,
270
- deps: [node64, node65, Npm.node, node67]
267
+ var node68 = makeLocationNode({
268
+ service: Service64,
269
+ layer: layer24,
270
+ deps: [node69, node70, Npm.node, node71]
271
271
  });
272
272
 
273
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service60, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node63, exports_model_resolver };
273
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service64, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node68, exports_model_resolver };