@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,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./formatter-ptaftxqm.js";
3
+ } from "./file-ykhkvv1t.js";
4
4
  import {
5
5
  apply3
6
- } from "./formatter-bz38aey9.js";
6
+ } from "./file-wepxzacc.js";
7
7
  import {
8
8
  __export
9
- } from "./formatter-9rqn6x4v.js";
9
+ } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -14,11 +14,11 @@ __export(exports_database, {
14
14
  Database: () => exports_database,
15
15
  Options: () => Options11,
16
16
  Service: () => Service80,
17
- configured: () => configured12,
17
+ configured: () => configured13,
18
18
  configuredClient: () => configuredClient2,
19
- layer: () => layer25,
19
+ layer: () => layer26,
20
20
  layerFromClient: () => layerFromClient2,
21
- node: () => node84
21
+ node: () => node85
22
22
  });
23
23
  import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
24
24
  import { Context, Effect, Layer, Schema, Semaphore } from "effect";
@@ -56,7 +56,7 @@ function lockFor(filename) {
56
56
  locks.set(filename, lock);
57
57
  return lock;
58
58
  }
59
- function layer25(options = { path: ":memory:" }) {
59
+ function layer26(options = { path: ":memory:" }) {
60
60
  return Layer.unwrap(Effect.gen(function* () {
61
61
  const provide = (filename) => databaseLayer(filename === ":memory:" ? Semaphore.make(1) : Effect.succeed(lockFor(filename))).pipe(Layer.provide(sqliteLayer({ filename })));
62
62
  const filename = options.path ?? ":memory:";
@@ -67,8 +67,8 @@ function layer25(options = { path: ":memory:" }) {
67
67
  }));
68
68
  }
69
69
  var layerFromClient2 = databaseLayer(Semaphore.make(1));
70
- function configured12(options) {
71
- return makeGlobalNode({ service: Service80, layer: layer25(options), deps: [Global.node] });
70
+ function configured13(options) {
71
+ return makeGlobalNode({ service: Service80, layer: layer26(options), deps: [Global.node] });
72
72
  }
73
73
  function configuredClient2(client) {
74
74
  return makeGlobalNode({
@@ -77,6 +77,6 @@ function configuredClient2(client) {
77
77
  deps: [Global.node]
78
78
  });
79
79
  }
80
- var node84 = configured12({ path: ":memory:" });
80
+ var node85 = configured13({ path: ":memory:" });
81
81
 
82
- export { Options11, Service80, layer25, layerFromClient2, configured12, configuredClient2, node84, exports_database };
82
+ export { Options11, Service80, layer26, layerFromClient2, configured13, configuredClient2, node85, exports_database };
@@ -1,29 +1,29 @@
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
  KVTable2
7
- } from "./formatter-3hepkmqq.js";
7
+ } from "./file-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./formatter-9rqn6x4v.js";
10
+ } from "./file-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service58,
17
- node: () => node61
16
+ Service: () => Service62,
17
+ node: () => node65
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service58 extends Context.Service()("@opencode/KV") {
22
+ class Service62 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service58, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
25
25
  const db = (yield* Service80).db;
26
- return Service58.of({
26
+ return Service62.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node61 = makeGlobalNode({ service: Service58, layer, deps: [node84] });
54
+ var node65 = makeGlobalNode({ service: Service62, layer, deps: [node85] });
55
55
 
56
- export { Service58, node61, exports_kv };
56
+ export { Service62, node65, exports_kv };
@@ -1,37 +1,37 @@
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
- Service78
11
- } from "./formatter-8kpvhf1n.js";
9
+ Event18,
10
+ Service69
11
+ } from "./file-z0wr5a8a.js";
12
12
  import {
13
- ID5,
13
+ ID9,
14
14
  MethodID2,
15
- Service62
16
- } from "./formatter-zemgttac.js";
15
+ Service66
16
+ } from "./file-j1dc1ckq.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./formatter-pjvnvgmy.js";
20
+ } from "./file-pjvnvgmy.js";
21
21
  import {
22
- ID15
23
- } from "./formatter-2d6j2h4j.js";
22
+ ID13
23
+ } from "./file-yhks5pv3.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./formatter-wmsepf1h.js";
26
+ } from "./file-heer32bb.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID15.make("snowflake-cortex");
34
- var integrationID = ID5.make(providerID);
33
+ var providerID = ID13.make("snowflake-cortex");
34
+ var integrationID = ID9.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service78;
57
- const integrations = yield* Service62;
56
+ const credentials = yield* Service69;
57
+ const integrations = yield* Service66;
58
58
  const bus = yield* Service79;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
178
178
  model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
179
179
  }
180
180
  });
181
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
181
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
182
182
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
183
183
  const token = envToken();
184
184
  if (token)
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./formatter-922hggd3.js";
4
+ } from "./file-922hggd3.js";
5
5
  import {
6
- Service75,
7
- node79
8
- } from "./formatter-1trm2ftq.js";
6
+ Service76,
7
+ node81
8
+ } from "./file-56pp0xdw.js";
9
9
  import {
10
- Service21,
11
- node25
12
- } from "./formatter-gab2tx2v.js";
10
+ Service16,
11
+ node19
12
+ } from "./file-92e8bh4d.js";
13
13
  import {
14
14
  __export
15
- } from "./formatter-9rqn6x4v.js";
15
+ } from "./file-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
23
  Entry: () => Entry2,
24
- Event: () => Event7,
24
+ Event: () => Event3,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
29
29
  ListInput: () => ListInput2,
30
30
  Match: () => Match2,
31
31
  ReadInput: () => ReadInput2,
32
- Service: () => Service20,
32
+ Service: () => Service15,
33
33
  Submatch: () => Submatch2,
34
- node: () => node24
34
+ node: () => node18
35
35
  });
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
37
37
  import path from "path";
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
72
72
  limit: Schema.optionalKey(PositiveInt2)
73
73
  }) {
74
74
  }
75
- var Event7 = FileSystem.Event;
75
+ var Event3 = FileSystem.Event;
76
76
 
77
- class Service20 extends Context.Service()("@opencode/FileSystem") {
77
+ class Service15 extends Context.Service()("@opencode/FileSystem") {
78
78
  }
79
- var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
79
+ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
80
80
  const fs = yield* FSUtil.Service;
81
- const location = yield* Service75;
82
- const search = yield* Service21;
81
+ const location = yield* Service76;
82
+ const search = yield* Service16;
83
83
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
84
84
  const resolve = Effect.fnUntraced(function* (input) {
85
85
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
90
90
  return yield* Effect.die(new Error("Path escapes the location"));
91
91
  return { absolute, real, directory: location.directory };
92
92
  });
93
- return Service20.of({
93
+ return Service15.of({
94
94
  find: search.find,
95
95
  read: Effect.fn("FileSystem.read")(function* (input) {
96
96
  const target = yield* resolve(input.path);
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
122
122
  })
123
123
  });
124
124
  }));
125
- var node24 = makeLocationNode({
126
- service: Service20,
125
+ var node18 = makeLocationNode({
126
+ service: Service15,
127
127
  layer: baseLayer,
128
- deps: [FSUtil.node, node79, node25]
128
+ deps: [FSUtil.node, node81, node19]
129
129
  });
130
130
 
131
- export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service20, node24, exports_filesystem, Entry2, Match2, Submatch2 };
131
+ export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service15, node18, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./formatter-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
- Service75
6
- } from "./formatter-1trm2ftq.js";
5
+ Service76
6
+ } from "./file-56pp0xdw.js";
7
7
  import {
8
- Service18
9
- } from "./formatter-vadmf725.js";
8
+ Service55
9
+ } from "./file-jk47m7qg.js";
10
10
  import {
11
- Service5
12
- } from "./formatter-p1kh2k2v.js";
11
+ Service10
12
+ } from "./file-hgyq7eg6.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./formatter-2a5m3afh.js";
15
+ } from "./file-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -24,25 +24,25 @@ import {
24
24
  TextPage2,
25
25
  ListPage2,
26
26
  Service4
27
- } from "./formatter-bpvz3mp1.js";
27
+ } from "./file-xhhb3q2x.js";
28
28
  import {
29
29
  __export
30
- } from "./formatter-9rqn6x4v.js";
30
+ } from "./file-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input2,
36
- Plugin: () => Plugin3,
35
+ Input: () => Input5,
36
+ Plugin: () => Plugin6,
37
37
  ReadTool: () => exports_read,
38
- name: () => name2,
39
- toModelContent: () => toModelContent2
38
+ name: () => name5,
39
+ toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name2 = "read";
45
+ var name5 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input2 = LocationInput;
56
+ var Input5 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin3 = {
58
+ var Plugin6 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
61
  const reader = yield* Service4;
62
- const access = yield* Service18;
63
- const sessionInstructions = yield* Service5;
62
+ const access = yield* Service55;
63
+ const sessionInstructions = yield* Service10;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service75;
65
+ const location = yield* Service76;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name2,
67
+ name: name5,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input2,
70
+ input: Input5,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin3 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent2(result.path, input.offset, result.output),
115
+ content: toModelContent4(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent2 = (path, offset, output) => {
147
+ var toModelContent4 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent2 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name2, Input2, Plugin3, toModelContent2, exports_read };
183
+ export { name5, Input5, Plugin6, toModelContent4, exports_read };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service46
3
- } from "./formatter-r6mys28c.js";
2
+ Service52
3
+ } from "./file-54xwtjdq.js";
4
4
  import {
5
- Service57
6
- } from "./formatter-vdnmb5h5.js";
5
+ Service50
6
+ } from "./file-y2rgym3m.js";
7
7
  import {
8
8
  observe2
9
- } from "./formatter-qsdy395h.js";
9
+ } from "./file-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./formatter-9rqn6x4v.js";
12
+ } from "./file-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin35
18
+ Plugin: () => Plugin23
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin35 = define({
22
+ var Plugin23 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service46;
26
- const image = yield* Service57;
25
+ const config = yield* Service52;
26
+ const image = yield* Service50;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin35 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin35, exports_image };
46
+ export { Plugin23, exports_image };
@@ -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/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -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/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./formatter-gftt206x.js";
3
+ } from "./file-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./formatter-jexxy024.js";
6
+ } from "./file-pxt4kznk.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./formatter-ybhbtxjg.js";
9
+ } from "./file-ma9yb35x.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./formatter-t550f9t1.js";
13
+ } from "./file-0gdmqesm.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./formatter-a1bz86dw.js";
16
+ } from "./file-a1bz86dw.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./formatter-bajakh74.js";
20
+ } from "./file-epd1fg1b.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./formatter-rsdf2nvv.js";
25
+ } from "./file-msq0jde0.js";
26
26
  import {
27
27
  __export
28
- } from "./formatter-9rqn6x4v.js";
28
+ } from "./file-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -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/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make19,
4
+ make18,
5
5
  diffByKey2
6
- } from "./formatter-t550f9t1.js";
6
+ } from "./file-0gdmqesm.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./formatter-3fc6dm20.js";
11
+ } from "./file-gdvy8fx6.js";
12
12
  import {
13
13
  __export
14
- } from "./formatter-9rqn6x4v.js";
14
+ } from "./file-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions4 = {};
18
- __export(exports_instructions4, {
19
- CodeModeInstructions: () => exports_instructions4,
20
- make: () => make14,
17
+ var exports_instructions5 = {};
18
+ __export(exports_instructions5, {
19
+ CodeModeInstructions: () => exports_instructions5,
20
+ make: () => make16,
21
21
  render: () => render2,
22
22
  update: () => update3
23
23
  });
@@ -113,9 +113,9 @@ ${render2(current)}`;
113
113
  }
114
114
  var key = Key3.make("core/codemode");
115
115
  var codec = Schema.toCodecJson(Summary2);
116
- var make14 = (inventory) => {
116
+ var make16 = (inventory) => {
117
117
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
118
- return make19({
118
+ return make18({
119
119
  key,
120
120
  codec,
121
121
  read: Effect.succeed(catalog),
@@ -127,4 +127,4 @@ var make14 = (inventory) => {
127
127
  });
128
128
  };
129
129
 
130
- export { render2, update3, make14, exports_instructions4 };
130
+ export { render2, update3, make16, exports_instructions5 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service72
3
- } from "./formatter-9rzgchqg.js";
2
+ Service74
3
+ } from "./file-f7xc3wa1.js";
4
4
  import {
5
5
  __export
6
- } from "./formatter-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service72;
22
+ const environment = yield* Service74;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;