@opencode-ai/core 0.0.0-dev-19216 → 0.0.0-dev-19218

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 (776) 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 +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-mutation-5e624tvg.js → pty-02ak2ead.js} +9 -9
  9. package/dist/chunks/{file-mutation-0e0xafbb.js → pty-0e0xafbb.js} +2 -2
  10. package/dist/chunks/{file-mutation-7dqw4kz8.js → pty-0jwsre1p.js} +5 -5
  11. package/dist/chunks/{file-mutation-v3gnfvgj.js → pty-0mnvrx0m.js} +11 -11
  12. package/dist/chunks/{file-mutation-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{file-mutation-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{file-mutation-0s9ayhjt.js → pty-0s9ayhjt.js} +1 -1
  15. package/dist/chunks/{file-mutation-tdpndm1c.js → pty-0t098hqn.js} +5 -5
  16. package/dist/chunks/{file-mutation-dfe8djrf.js → pty-0v53mg2y.js} +4 -4
  17. package/dist/chunks/{file-mutation-aa8vhsgg.js → pty-0wvznmtp.js} +7 -7
  18. package/dist/chunks/{file-mutation-k0g96r8n.js → pty-10gqde6b.js} +4 -4
  19. package/dist/chunks/{file-mutation-7ry09vv5.js → pty-14hmenm3.js} +3 -3
  20. package/dist/chunks/{file-mutation-1acjjqhc.js → pty-1acjjqhc.js} +1 -1
  21. package/dist/chunks/{file-mutation-1ct4r87x.js → pty-1ct4r87x.js} +1 -1
  22. package/dist/chunks/{file-mutation-jykcc5qa.js → pty-1ernzcqn.js} +8 -8
  23. package/dist/chunks/{file-mutation-evj94p3t.js → pty-1g9nsgpp.js} +13 -13
  24. package/dist/chunks/{file-mutation-ev7pq6rs.js → pty-1mrma768.js} +5 -5
  25. package/dist/chunks/{file-mutation-fz1pdqz4.js → pty-1n116cmy.js} +9 -9
  26. package/dist/chunks/{file-mutation-06qbn9zd.js → pty-1qw2s0et.js} +9 -9
  27. package/dist/chunks/{file-mutation-56gdpj1q.js → pty-1ygqh575.js} +9 -9
  28. package/dist/chunks/{file-mutation-21r38tys.js → pty-21r38tys.js} +1 -1
  29. package/dist/chunks/{file-mutation-2402vzrj.js → pty-2402vzrj.js} +1 -1
  30. package/dist/chunks/{file-mutation-29x78va6.js → pty-29x78va6.js} +2 -2
  31. package/dist/chunks/{file-mutation-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{file-mutation-0tqc2v94.js → pty-2dg218bv.js} +3 -3
  33. package/dist/chunks/{file-mutation-2ht70gj7.js → pty-2ht70gj7.js} +1 -1
  34. package/dist/chunks/{file-mutation-fdcmbayr.js → pty-2j8qyr6z.js} +20 -20
  35. package/dist/chunks/{file-mutation-w5gv9txn.js → pty-2m920r7z.js} +9 -9
  36. package/dist/chunks/{file-mutation-s3vrd4d2.js → pty-2n4y20qt.js} +23 -23
  37. package/dist/chunks/{file-mutation-w7a45d2w.js → pty-2nf37mnc.js} +23 -23
  38. package/dist/chunks/{file-mutation-fw416nha.js → pty-2pmtacce.js} +22 -22
  39. package/dist/chunks/{file-mutation-dds56zbh.js → pty-2vfx8thk.js} +29 -29
  40. package/dist/chunks/{file-mutation-r062cge9.js → pty-30jpz9d7.js} +43 -43
  41. package/dist/chunks/{file-mutation-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{file-mutation-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{file-mutation-3qzbfqsy.js → pty-3qzbfqsy.js} +2 -2
  44. package/dist/chunks/{file-mutation-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{file-mutation-ks0jjys9.js → pty-3tdaxant.js} +10 -10
  46. package/dist/chunks/{file-mutation-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{file-mutation-pjvn5h54.js → pty-3wfq9j39.js} +10 -10
  48. package/dist/chunks/{file-mutation-454k5vzh.js → pty-454k5vzh.js} +1 -1
  49. package/dist/chunks/{file-mutation-bfr8x9hg.js → pty-46e97tr7.js} +10 -10
  50. package/dist/chunks/{file-mutation-zjx20249.js → pty-47y1s5bh.js} +4 -4
  51. package/dist/chunks/{file-mutation-hzzs2yvs.js → pty-4jykd2y5.js} +27 -27
  52. package/dist/chunks/{file-mutation-2ed8104q.js → pty-4p1znhkg.js} +46 -46
  53. package/dist/chunks/{file-mutation-qfv34cas.js → pty-4pg0vty6.js} +19 -19
  54. package/dist/chunks/{file-mutation-4r2nyarf.js → pty-4r2nyarf.js} +1 -1
  55. package/dist/chunks/{file-mutation-64z8z5x5.js → pty-4z6b0fg6.js} +6 -6
  56. package/dist/chunks/{file-mutation-143qxyja.js → pty-507bb6ht.js} +24 -24
  57. package/dist/chunks/{file-mutation-0ek2w54z.js → pty-53fs9qt8.js} +7 -7
  58. package/dist/chunks/{file-mutation-ayghbyc9.js → pty-5586kr32.js} +16 -16
  59. package/dist/chunks/{file-mutation-e6yvemtv.js → pty-56wh323j.js} +69 -69
  60. package/dist/chunks/{file-mutation-5daktx2q.js → pty-5daktx2q.js} +1 -1
  61. package/dist/chunks/pty-5ehapebv.js +22 -0
  62. package/dist/chunks/{file-mutation-5fmxt4p5.js → pty-5fmxt4p5.js} +1 -1
  63. package/dist/chunks/{file-mutation-npsbfqmn.js → pty-5h5ammfc.js} +31 -31
  64. package/dist/chunks/{file-mutation-5n978qtj.js → pty-5hf5s1km.js} +6 -6
  65. package/dist/chunks/{file-mutation-5jvc5tg2.js → pty-5jvc5tg2.js} +1 -1
  66. package/dist/chunks/{file-mutation-hgeb4s25.js → pty-5k3f87xj.js} +1 -1
  67. package/dist/chunks/{file-mutation-cq35m6me.js → pty-5rw6je3s.js} +3 -3
  68. package/dist/chunks/{file-mutation-20m0wqts.js → pty-6249xh7p.js} +15 -15
  69. package/dist/chunks/{file-mutation-vnj10zg0.js → pty-64dj7m14.js} +14 -14
  70. package/dist/chunks/{file-mutation-zjy9mrjh.js → pty-6bfbj7yp.js} +16 -16
  71. package/dist/chunks/{file-mutation-c8k27x3s.js → pty-6qs8r64n.js} +9 -9
  72. package/dist/chunks/{file-mutation-40jtjs1k.js → pty-6vfh6jv6.js} +11 -11
  73. package/dist/chunks/{file-mutation-3x6030n9.js → pty-711hfp6y.js} +2 -2
  74. package/dist/chunks/{file-mutation-72nftnjy.js → pty-72nftnjy.js} +2 -2
  75. package/dist/chunks/{file-mutation-mvfsc1pv.js → pty-73tb2d7t.js} +3 -3
  76. package/dist/chunks/{file-mutation-y61qnw8a.js → pty-741pxbc4.js} +12 -12
  77. package/dist/chunks/{file-mutation-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{file-mutation-4b1sg654.js → pty-7frnnqsf.js} +13 -13
  79. package/dist/chunks/{file-mutation-y1a5n2r0.js → pty-7g7xeaaj.js} +16 -16
  80. package/dist/chunks/{file-mutation-a1qwmqqw.js → pty-7htsbzpb.js} +9 -9
  81. package/dist/chunks/{file-mutation-rx7yndt1.js → pty-7tde96p8.js} +11 -11
  82. package/dist/chunks/{file-mutation-asb5ddgn.js → pty-7ttnvawf.js} +3 -3
  83. package/dist/chunks/{file-mutation-2e3b49a5.js → pty-7v562ate.js} +24 -24
  84. package/dist/chunks/{file-mutation-3sy3bhxh.js → pty-7w8fgasf.js} +8 -8
  85. package/dist/chunks/{file-mutation-0s535w00.js → pty-7xr84h2v.js} +33 -33
  86. package/dist/chunks/{file-mutation-09n63jss.js → pty-7zqwg6kj.js} +22 -22
  87. package/dist/chunks/{file-mutation-q36vtzqe.js → pty-80z8y3y4.js} +5 -5
  88. package/dist/chunks/{file-mutation-babn4frh.js → pty-81ehrcfm.js} +8 -8
  89. package/dist/chunks/{file-mutation-gkvt71jh.js → pty-82marhfk.js} +9 -9
  90. package/dist/chunks/{file-mutation-f9x6rp1j.js → pty-86s3977f.js} +1 -1
  91. package/dist/chunks/{file-mutation-c0gy5km3.js → pty-884h22he.js} +6 -6
  92. package/dist/chunks/{file-mutation-62z4m846.js → pty-88k962v0.js} +24 -24
  93. package/dist/chunks/{file-mutation-s38wv68t.js → pty-89kmej9k.js} +20 -20
  94. package/dist/chunks/{file-mutation-7cnkxtbd.js → pty-8edgm1mj.js} +9 -9
  95. package/dist/chunks/{file-mutation-zr1rg8va.js → pty-8jwyp78w.js} +20 -20
  96. package/dist/chunks/{file-mutation-renmeb8y.js → pty-8s92c8tr.js} +11 -11
  97. package/dist/chunks/{file-mutation-y4xjyrf3.js → pty-905bpmd9.js} +22 -22
  98. package/dist/chunks/{file-mutation-w19ppvv8.js → pty-90pvg1cb.js} +11 -11
  99. package/dist/chunks/{file-mutation-hhpzk61m.js → pty-93a8yfjt.js} +2 -2
  100. package/dist/chunks/{file-mutation-6e958v7x.js → pty-97f5v037.js} +4 -4
  101. package/dist/chunks/{file-mutation-y5h9vgb0.js → pty-9a9vdrp9.js} +6 -6
  102. package/dist/chunks/{file-mutation-bxnxw8jj.js → pty-9d4efts8.js} +5 -5
  103. package/dist/chunks/{file-mutation-01mh49p0.js → pty-9jwnwv4p.js} +7 -7
  104. package/dist/chunks/{file-mutation-nvm3xv8h.js → pty-9pt7wtrn.js} +34 -34
  105. package/dist/chunks/{file-mutation-qvbcabdc.js → pty-9qm9egsn.js} +2 -2
  106. package/dist/chunks/{file-mutation-5bch6tfs.js → pty-9x4fbkad.js} +13 -13
  107. package/dist/chunks/{file-mutation-a4rgs0hc.js → pty-a4rgs0hc.js} +2 -2
  108. package/dist/chunks/{file-mutation-aaet6srn.js → pty-aaet6srn.js} +2 -2
  109. package/dist/chunks/{file-mutation-thb62adn.js → pty-ab971jgm.js} +10 -10
  110. package/dist/chunks/{file-mutation-1dbh8d2n.js → pty-ac35785q.js} +11 -11
  111. package/dist/chunks/{file-mutation-yg7sb877.js → pty-ajtjthsy.js} +2 -2
  112. package/dist/chunks/{file-mutation-a2ew8a62.js → pty-b27vhd2z.js} +4 -4
  113. package/dist/chunks/{file-mutation-2phvqca6.js → pty-b3f9g3c4.js} +16 -16
  114. package/dist/chunks/{file-mutation-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{file-mutation-b9wsbatv.js → pty-b9wsbatv.js} +1 -1
  116. package/dist/chunks/{file-mutation-hnyf01b0.js → pty-bcezcar3.js} +5 -5
  117. package/dist/chunks/{file-mutation-vfhg49f4.js → pty-bctm2k87.js} +11 -11
  118. package/dist/chunks/{file-mutation-ny5fc873.js → pty-bgj6ghn2.js} +15 -15
  119. package/dist/chunks/{file-mutation-9b3te7cd.js → pty-bm94m7ab.js} +52 -52
  120. package/dist/chunks/{file-mutation-76smfv87.js → pty-c3se2jx9.js} +7 -7
  121. package/dist/chunks/{file-mutation-hn57h045.js → pty-ca7w653e.js} +4 -4
  122. package/dist/chunks/{file-mutation-nxepqw4e.js → pty-cdjpjpyn.js} +18 -18
  123. package/dist/chunks/{file-mutation-tgnthhz6.js → pty-cgw3eybt.js} +25 -25
  124. package/dist/chunks/{file-mutation-5mqca3xa.js → pty-ch16cpaq.js} +23 -23
  125. package/dist/chunks/{file-mutation-a9e4exys.js → pty-cmf1rkff.js} +35 -35
  126. package/dist/chunks/{file-mutation-b92pv2tj.js → pty-cyzwqsn0.js} +5 -5
  127. package/dist/chunks/{file-mutation-47cx0r01.js → pty-d4xx5d2s.js} +31 -31
  128. package/dist/chunks/{file-mutation-g2gt0w0k.js → pty-d72308c8.js} +2 -2
  129. package/dist/chunks/{file-mutation-897hzw7d.js → pty-da3q24vg.js} +9 -9
  130. package/dist/chunks/{file-mutation-kdrneqjw.js → pty-dfm27cy2.js} +27 -27
  131. package/dist/chunks/{file-mutation-v7r3cw40.js → pty-e12h8ecf.js} +29 -29
  132. package/dist/chunks/pty-e3ze3pba.js +4 -0
  133. package/dist/chunks/{file-mutation-7nxyxket.js → pty-e5b0qn1c.js} +1 -1
  134. package/dist/chunks/{file-mutation-cpy6gm2a.js → pty-e6hd9jay.js} +6 -6
  135. package/dist/chunks/{file-mutation-rhqk4sk8.js → pty-e892zrmk.js} +16 -16
  136. package/dist/chunks/{file-mutation-2bm7eph3.js → pty-ebky9brj.js} +23 -23
  137. package/dist/chunks/{file-mutation-ab39g6be.js → pty-ek4gey1d.js} +18 -18
  138. package/dist/chunks/{file-mutation-58hcpyay.js → pty-ene3c7ks.js} +33 -33
  139. package/dist/chunks/{file-mutation-ada40aw5.js → pty-et3de4js.js} +45 -45
  140. package/dist/chunks/{file-mutation-8yqh4j7k.js → pty-etwf05x9.js} +28 -28
  141. package/dist/chunks/{file-mutation-k1h3pd12.js → pty-ewtmwgg4.js} +10 -10
  142. package/dist/chunks/{file-mutation-j8swj2w1.js → pty-f1kgb3zy.js} +11 -11
  143. package/dist/chunks/{file-mutation-mkajv2tb.js → pty-f57y4gze.js} +6 -6
  144. package/dist/chunks/{file-mutation-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  145. package/dist/chunks/{file-mutation-fxypknc8.js → pty-fxypknc8.js} +1 -1
  146. package/dist/chunks/{file-mutation-986p65m9.js → pty-g41n1fn3.js} +5 -5
  147. package/dist/chunks/{file-mutation-c0yyaxk6.js → pty-g7ny5e8b.js} +17 -17
  148. package/dist/chunks/{file-mutation-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{file-mutation-2sj3c2ad.js → pty-gr5em4p7.js} +30 -30
  150. package/dist/chunks/{file-mutation-cfbbrnxq.js → pty-gsgaq1zt.js} +11 -11
  151. package/dist/chunks/{file-mutation-sbnvhk9g.js → pty-h2st8tcp.js} +4 -4
  152. package/dist/chunks/{file-mutation-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{file-mutation-wzn1pg97.js → pty-h79bpvg7.js} +9 -9
  154. package/dist/chunks/{file-mutation-35e7m4yx.js → pty-hdv55p63.js} +22 -22
  155. package/dist/chunks/{file-mutation-heyhwy2w.js → pty-heyhwy2w.js} +1 -1
  156. package/dist/chunks/{file-mutation-hjt4xg1x.js → pty-hjt4xg1x.js} +1 -1
  157. package/dist/chunks/{file-mutation-q68wbhj3.js → pty-hr77wr0b.js} +4 -4
  158. package/dist/chunks/{file-mutation-g2dy4bvs.js → pty-hrvm11jt.js} +3 -3
  159. package/dist/chunks/{file-mutation-htqkwcnv.js → pty-hse5trye.js} +10 -10
  160. package/dist/chunks/{file-mutation-sc1wqa8e.js → pty-hw1wew3t.js} +30 -30
  161. package/dist/chunks/{file-mutation-7w3s9kd0.js → pty-hyftv91s.js} +9 -9
  162. package/dist/chunks/{file-mutation-z3s9j4q6.js → pty-hzecryb5.js} +12 -12
  163. package/dist/chunks/{file-mutation-1kvgva6x.js → pty-jf4k1cyn.js} +24 -24
  164. package/dist/chunks/{file-mutation-dk2pae67.js → pty-jk6vqbyh.js} +16 -16
  165. package/dist/chunks/{file-mutation-e4gkhccc.js → pty-k3fabyz6.js} +6 -6
  166. package/dist/chunks/{file-mutation-k4bwy1x5.js → pty-k4bwy1x5.js} +1 -1
  167. package/dist/chunks/{file-mutation-kg06axw8.js → pty-kg06axw8.js} +1 -1
  168. package/dist/chunks/{file-mutation-3ap2p86d.js → pty-kjeb3nmt.js} +9 -9
  169. package/dist/chunks/{file-mutation-e94r4fk5.js → pty-kjr4wddc.js} +81 -81
  170. package/dist/chunks/{file-mutation-rwh0xq6p.js → pty-kthncd39.js} +15 -15
  171. package/dist/chunks/{file-mutation-3and2xxf.js → pty-kv6gb2vp.js} +32 -32
  172. package/dist/chunks/{file-mutation-kvsjn1dr.js → pty-kvsjn1dr.js} +2 -2
  173. package/dist/chunks/{file-mutation-4xymgjke.js → pty-kyma94wc.js} +18 -18
  174. package/dist/chunks/{file-mutation-fj5hcd03.js → pty-m1mbk97x.js} +35 -35
  175. package/dist/chunks/{file-mutation-ptrtafvx.js → pty-m307zcn4.js} +11 -11
  176. package/dist/chunks/{file-mutation-99vgbsyy.js → pty-m3fm0fm8.js} +5 -5
  177. package/dist/chunks/{file-mutation-sxhwk0c0.js → pty-m59e1w6s.js} +4 -4
  178. package/dist/chunks/{file-mutation-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{file-mutation-v8gy3pjr.js → pty-mcxg6pmm.js} +1 -1
  180. package/dist/chunks/{file-mutation-k0zpnkm5.js → pty-mdaqq3w0.js} +6 -6
  181. package/dist/chunks/{file-mutation-hjpabd42.js → pty-mgns2fdh.js} +20 -20
  182. package/dist/chunks/{file-mutation-ta5yt3rh.js → pty-mvzb9ve1.js} +32 -32
  183. package/dist/chunks/{file-mutation-enamxrz2.js → pty-mzjyw1z2.js} +2 -2
  184. package/dist/chunks/{file-mutation-xscz55ef.js → pty-n1s2d68q.js} +17 -17
  185. package/dist/chunks/{file-mutation-3jxqjar4.js → pty-n8025458.js} +26 -26
  186. package/dist/chunks/{file-mutation-fhbjhm8t.js → pty-ncj4tqnn.js} +49 -49
  187. package/dist/chunks/pty-ndaczkrh.js +460 -0
  188. package/dist/chunks/{file-mutation-mpsa3nes.js → pty-nebhatd7.js} +12 -12
  189. package/dist/chunks/{file-mutation-k3xp7ghz.js → pty-nryz0x3q.js} +20 -20
  190. package/dist/chunks/{file-mutation-0amw245z.js → pty-nsy86y99.js} +21 -21
  191. package/dist/chunks/{file-mutation-fke00733.js → pty-nx3e840r.js} +5 -5
  192. package/dist/chunks/{file-mutation-8ht03v18.js → pty-p0hhk82e.js} +4 -4
  193. package/dist/chunks/{file-mutation-mq3bjh81.js → pty-p41j5722.js} +22 -22
  194. package/dist/chunks/{file-mutation-dxyd6n6d.js → pty-p651nqaz.js} +169 -169
  195. package/dist/chunks/{file-mutation-kry5p3r0.js → pty-phbgm0bx.js} +37 -37
  196. package/dist/chunks/{file-mutation-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{file-mutation-pknna89w.js → pty-pknna89w.js} +1 -1
  198. package/dist/chunks/{file-mutation-ptg06ky0.js → pty-ps4zxkej.js} +8 -8
  199. package/dist/chunks/{file-mutation-w25meggd.js → pty-pxe384j3.js} +14 -14
  200. package/dist/chunks/pty-q509s3k3.js +18 -0
  201. package/dist/chunks/pty-qf3330hq.js +247 -0
  202. package/dist/chunks/{file-mutation-b9j3swwv.js → pty-qgr3x23c.js} +13 -13
  203. package/dist/chunks/{file-mutation-9pk3p303.js → pty-qm8ev4wm.js} +8 -8
  204. package/dist/chunks/{file-mutation-qsdy395h.js → pty-qsdy395h.js} +1 -1
  205. package/dist/chunks/{file-mutation-qxezqvzm.js → pty-qznxkkz3.js} +14 -14
  206. package/dist/chunks/{file-mutation-34m8n255.js → pty-r312re56.js} +6 -6
  207. package/dist/chunks/{file-mutation-r8dhm0tv.js → pty-r8dhm0tv.js} +1 -1
  208. package/dist/chunks/{file-mutation-rae26gbb.js → pty-rae26gbb.js} +1 -1
  209. package/dist/chunks/{file-mutation-998c6hc6.js → pty-rb4kytq8.js} +35 -35
  210. package/dist/chunks/{file-mutation-aeg24s2a.js → pty-rbqs1qrs.js} +3 -3
  211. package/dist/chunks/{file-mutation-dcgj9q88.js → pty-rc5masm7.js} +23 -23
  212. package/dist/chunks/{file-mutation-evj8e4hg.js → pty-rmcmbkys.js} +28 -28
  213. package/dist/chunks/{file-mutation-d4pvcjkk.js → pty-rmkf6stx.js} +18 -18
  214. package/dist/chunks/{file-mutation-ger17fbp.js → pty-rw81gdbg.js} +52 -52
  215. package/dist/chunks/{file-mutation-ypexc4gq.js → pty-rwert6h9.js} +41 -41
  216. package/dist/chunks/{file-mutation-85490285.js → pty-s1e2y8ed.js} +29 -29
  217. package/dist/chunks/{file-mutation-qbyj8qxd.js → pty-s3eqpch7.js} +1 -1
  218. package/dist/chunks/{file-mutation-kkxc5154.js → pty-s8g36k60.js} +4 -4
  219. package/dist/chunks/{file-mutation-8za182nc.js → pty-s8v1m6qw.js} +15 -15
  220. package/dist/chunks/{file-mutation-sba4qhjf.js → pty-sba4qhjf.js} +1 -1
  221. package/dist/chunks/{file-mutation-gd0bwbeh.js → pty-scwfkd84.js} +86 -86
  222. package/dist/chunks/{file-mutation-6tnfgw9a.js → pty-sfz1z5dy.js} +28 -28
  223. package/dist/chunks/{file-mutation-n0gbmnre.js → pty-sj291qve.js} +11 -11
  224. package/dist/chunks/{file-mutation-m5a4zvg4.js → pty-snbe917c.js} +37 -37
  225. package/dist/chunks/{file-mutation-0dy783fj.js → pty-srd1y0t3.js} +8 -8
  226. package/dist/chunks/{file-mutation-x7n6jb1w.js → pty-t0jn574h.js} +16 -16
  227. package/dist/chunks/{file-mutation-cr8sbmwr.js → pty-t3fqb5k3.js} +43 -43
  228. package/dist/chunks/{file-mutation-bgt6msk1.js → pty-t7rtampj.js} +2 -2
  229. package/dist/chunks/{file-mutation-6e593aan.js → pty-t85amdhp.js} +35 -35
  230. package/dist/chunks/{file-mutation-kbsyt50d.js → pty-t8xj1g1x.js} +33 -33
  231. package/dist/chunks/{file-mutation-f40w3zwy.js → pty-t9vc0pqt.js} +40 -40
  232. package/dist/chunks/{file-mutation-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{file-mutation-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{file-mutation-y8g99sqg.js → pty-tfx5kmkv.js} +23 -23
  235. package/dist/chunks/{file-mutation-tjykrgmx.js → pty-tjykrgmx.js} +1 -1
  236. package/dist/chunks/{file-mutation-4k7zmpk3.js → pty-tqf96xv0.js} +8 -8
  237. package/dist/chunks/{file-mutation-7m9tkefv.js → pty-tqh0pfhw.js} +11 -11
  238. package/dist/chunks/{file-mutation-xspyb9m3.js → pty-tqqej2s1.js} +8 -8
  239. package/dist/chunks/{file-mutation-6qvt79ej.js → pty-ttbnpp8r.js} +24 -24
  240. package/dist/chunks/{file-mutation-vhh9ar68.js → pty-ttmf2k06.js} +5 -5
  241. package/dist/chunks/{file-mutation-45a3e49b.js → pty-tz7455vq.js} +6 -6
  242. package/dist/chunks/{file-mutation-6t42cqx7.js → pty-v8jvsrpm.js} +30 -30
  243. package/dist/chunks/{file-mutation-etamtscj.js → pty-vtf99whk.js} +5 -5
  244. package/dist/chunks/{file-mutation-fvpasvjq.js → pty-w3gkes82.js} +4 -4
  245. package/dist/chunks/{file-mutation-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{file-mutation-dyqxbeha.js → pty-w8py3fd5.js} +11 -11
  247. package/dist/chunks/{file-mutation-wy24wt1k.js → pty-w8wgv6rg.js} +15 -15
  248. package/dist/chunks/{file-mutation-hpbtcqba.js → pty-wb29ggtc.js} +9 -9
  249. package/dist/chunks/{file-mutation-b2cva8t7.js → pty-wbqdy3jn.js} +39 -39
  250. package/dist/chunks/{file-mutation-wd87259q.js → pty-wd87259q.js} +1 -1
  251. package/dist/chunks/{file-mutation-y724s5yt.js → pty-wgxn7ww3.js} +4 -4
  252. package/dist/chunks/{file-mutation-0wvfwpx6.js → pty-x0daxr85.js} +24 -24
  253. package/dist/chunks/{file-mutation-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{file-mutation-k3b33mde.js → pty-xc5kjw43.js} +13 -13
  255. package/dist/chunks/{file-mutation-qswnket4.js → pty-xfd6xwx1.js} +18 -18
  256. package/dist/chunks/{file-mutation-vj79ke67.js → pty-xh3q8gxs.js} +25 -25
  257. package/dist/chunks/{file-mutation-7ng7exzm.js → pty-xqsy6kp0.js} +1 -1
  258. package/dist/chunks/{file-mutation-mfv0zw27.js → pty-xr5vwsd4.js} +9 -9
  259. package/dist/chunks/{file-mutation-kx9ynrf0.js → pty-xs18g0gs.js} +15 -15
  260. package/dist/chunks/{file-mutation-fmzy9ynz.js → pty-xy3betfq.js} +7 -7
  261. package/dist/chunks/{file-mutation-n8dztyn3.js → pty-xyz49mkx.js} +13 -13
  262. package/dist/chunks/{file-mutation-3jpejpk8.js → pty-y0cfrt5t.js} +18 -18
  263. package/dist/chunks/{file-mutation-vwq77r6c.js → pty-y11beshv.js} +32 -32
  264. package/dist/chunks/{file-mutation-vdve1s0m.js → pty-y18qbtn0.js} +3 -3
  265. package/dist/chunks/{file-mutation-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{file-mutation-hayn59kd.js → pty-y6hb7tkg.js} +27 -27
  267. package/dist/chunks/{file-mutation-2z0b56st.js → pty-y6nt3k22.js} +2 -2
  268. package/dist/chunks/{file-mutation-y71avatq.js → pty-y71avatq.js} +1 -1
  269. package/dist/chunks/{file-mutation-1fgze8hp.js → pty-yanx3py7.js} +19 -19
  270. package/dist/chunks/{file-mutation-yfbd16n1.js → pty-yfbd16n1.js} +2 -2
  271. package/dist/chunks/{file-mutation-shfaz11f.js → pty-ykcesz1b.js} +4 -4
  272. package/dist/chunks/{file-mutation-n27y30w6.js → pty-yt0vd8bd.js} +46 -46
  273. package/dist/chunks/{file-mutation-z48dvxa8.js → pty-yv9w4q4m.js} +1 -1
  274. package/dist/chunks/{file-mutation-z5wp74ca.js → pty-yvbzm87r.js} +13 -13
  275. package/dist/chunks/{file-mutation-ye0hwk1t.js → pty-yx4ch7q4.js} +9 -9
  276. package/dist/chunks/{file-mutation-d6k3vpm5.js → pty-yxn3jc82.js} +4 -4
  277. package/dist/chunks/{file-mutation-z1k01bn4.js → pty-z1k01bn4.js} +2 -2
  278. package/dist/chunks/{file-mutation-p33zfxh6.js → pty-z36c69bj.js} +25 -25
  279. package/dist/chunks/{file-mutation-gz5et4ap.js → pty-z3nmht85.js} +16 -16
  280. package/dist/chunks/{file-mutation-g8a6h08d.js → pty-z4t3eq4k.js} +12 -12
  281. package/dist/chunks/{file-mutation-kxnt8qcg.js → pty-zn2pq4p8.js} +5 -5
  282. package/dist/chunks/{file-mutation-nt2vsa9g.js → pty-zp3qwqf8.js} +25 -25
  283. package/dist/chunks/{file-mutation-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{file-mutation-3pt7nqe6.js → pty-zydqv254.js} +49 -49
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +79 -79
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +117 -117
  293. package/dist/config/plugin/command.js +208 -208
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +115 -115
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +115 -115
  300. package/dist/config/plugin/mcp.js +126 -126
  301. package/dist/config/plugin/policy.js +114 -114
  302. package/dist/config/plugin/provider.js +113 -113
  303. package/dist/config/plugin/reference.js +117 -117
  304. package/dist/config/plugin/shell.js +118 -118
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +135 -135
  307. package/dist/config/plugin/snapshot.js +115 -115
  308. package/dist/config/plugin/source.js +117 -117
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +115 -115
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +119 -119
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +81 -81
  317. package/dist/database/database.js +68 -68
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +77 -77
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +359 -359
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +1 -1
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +72 -72
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +219 -219
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +1 -1
  418. package/dist/filesystem/watcher.js +15 -15
  419. package/dist/filesystem.js +96 -96
  420. package/dist/form.js +78 -78
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +84 -84
  423. package/dist/generate.js +93 -93
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +3 -3
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +350 -350
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +3 -3
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +84 -84
  454. package/dist/job.js +75 -75
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +69 -69
  457. package/dist/location-activity.js +130 -130
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +81 -81
  460. package/dist/location-services.js +347 -347
  461. package/dist/location.js +82 -82
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +103 -103
  464. package/dist/mcp/instructions.js +121 -121
  465. package/dist/mcp/oauth.js +3 -3
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +3 -3
  469. package/dist/model-resolver.js +86 -86
  470. package/dist/model.js +6 -6
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +78 -78
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +103 -103
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +86 -86
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +98 -98
  482. package/dist/plugin/command.js +96 -96
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +212 -212
  485. package/dist/plugin/instance.js +1 -1
  486. package/dist/plugin/internal.js +321 -321
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +7 -7
  490. package/dist/plugin/optimize.js +2 -2
  491. package/dist/plugin/plan.js +96 -96
  492. package/dist/plugin/promise.js +1 -1
  493. package/dist/plugin/provider/alibaba.js +2 -2
  494. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  495. package/dist/plugin/provider/anthropic.js +2 -2
  496. package/dist/plugin/provider/azure.js +118 -118
  497. package/dist/plugin/provider/cerebras.js +2 -2
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +114 -114
  502. package/dist/plugin/provider/dynamic.js +2 -2
  503. package/dist/plugin/provider/factory.js +1 -1
  504. package/dist/plugin/provider/gateway.js +2 -2
  505. package/dist/plugin/provider/github-copilot.js +80 -80
  506. package/dist/plugin/provider/gitlab.js +3 -3
  507. package/dist/plugin/provider/google-vertex.js +2 -2
  508. package/dist/plugin/provider/kilo.js +2 -2
  509. package/dist/plugin/provider/llmgateway.js +76 -76
  510. package/dist/plugin/provider/lmstudio.js +117 -117
  511. package/dist/plugin/provider/mistral.js +2 -2
  512. package/dist/plugin/provider/modal.js +79 -79
  513. package/dist/plugin/provider/nvidia.js +2 -2
  514. package/dist/plugin/provider/ollama.js +117 -117
  515. package/dist/plugin/provider/openai-compatible.js +1 -1
  516. package/dist/plugin/provider/openai.js +78 -78
  517. package/dist/plugin/provider/opencode.js +76 -76
  518. package/dist/plugin/provider/openrouter.js +3 -3
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/sap-ai-core.js +3 -3
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +2 -2
  525. package/dist/plugin/provider/vllm.js +117 -117
  526. package/dist/plugin/provider/xai.js +77 -77
  527. package/dist/plugin/provider/zenmux.js +2 -2
  528. package/dist/plugin/provider.js +155 -155
  529. package/dist/plugin/sdk.js +74 -74
  530. package/dist/plugin/service.js +3 -3
  531. package/dist/plugin/skill.js +132 -132
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +336 -336
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +112 -112
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +6 -6
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +4 -4
  545. package/dist/plugin.js +223 -223
  546. package/dist/project/schema.js +8 -8
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +83 -83
  549. package/dist/provider.js +5 -5
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +94 -94
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +82 -82
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +1 -1
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +91 -91
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +126 -126
  564. package/dist/session/context.js +146 -146
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +5 -5
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +218 -218
  569. package/dist/session/execution.js +121 -121
  570. package/dist/session/generate.js +147 -147
  571. package/dist/session/history.js +12 -12
  572. package/dist/session/inbox.js +82 -82
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +77 -77
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +121 -121
  582. package/dist/session/projector.js +82 -82
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +1 -1
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +224 -224
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +86 -86
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +118 -118
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +166 -166
  596. package/dist/session/shell.js +131 -131
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +73 -73
  600. package/dist/session/store.js +82 -82
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +204 -204
  603. package/dist/session/system-prompt.js +1 -1
  604. package/dist/session/title.js +148 -148
  605. package/dist/session/to-session-error.js +106 -106
  606. package/dist/session/transfer.js +217 -217
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +210 -210
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +9 -9
  613. package/dist/shell.js +133 -133
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +102 -102
  617. package/dist/snapshot.js +88 -88
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +120 -120
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +110 -110
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +211 -211
  631. package/dist/tool/plugin/skill.js +103 -103
  632. package/dist/tool/plugin/subagent.js +213 -213
  633. package/dist/tool/plugin/webfetch.js +104 -104
  634. package/dist/tool/plugin/websearch.js +106 -106
  635. package/dist/tool/plugin/write.js +114 -114
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +13 -13
  640. package/dist/util/error-summary.js +1 -1
  641. package/dist/util/error.js +1 -1
  642. package/dist/util/iife.js +1 -1
  643. package/dist/util/lazy.js +1 -1
  644. package/dist/util/slug.js +1 -1
  645. package/dist/util/token.js +1 -1
  646. package/dist/util/which.js +1 -1
  647. package/dist/util/wildcard.js +1 -1
  648. package/dist/v1/config/agent.js +5 -5
  649. package/dist/v1/config/attachment.js +4 -4
  650. package/dist/v1/config/command.js +3 -3
  651. package/dist/v1/config/config.js +16 -16
  652. package/dist/v1/config/error.js +2 -2
  653. package/dist/v1/config/formatter.js +7 -7
  654. package/dist/v1/config/layout.js +1 -1
  655. package/dist/v1/config/lsp.js +5 -5
  656. package/dist/v1/config/mcp.js +4 -4
  657. package/dist/v1/config/migrate.js +4 -4
  658. package/dist/v1/config/permission.js +3 -3
  659. package/dist/v1/config/plugin.js +3 -3
  660. package/dist/v1/config/provider-options.js +1 -1
  661. package/dist/v1/config/provider.js +4 -4
  662. package/dist/v1/config/server.js +2 -2
  663. package/dist/v1/config/skills.js +3 -3
  664. package/dist/v1/permission.js +1 -1
  665. package/dist/vcs/patch.js +1 -1
  666. package/dist/vcs.js +85 -85
  667. package/dist/websearch.js +80 -80
  668. package/dist/wellknown/plugin.js +74 -74
  669. package/dist/wellknown.js +77 -77
  670. package/dist/workspace/driver.js +5 -5
  671. package/dist/workspace/sql.js +1 -1
  672. package/dist/workspace.js +78 -78
  673. package/dist/worktree/directory.js +2 -2
  674. package/dist/worktree/git.js +5 -5
  675. package/dist/worktree/refresh.js +337 -337
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree.js +91 -91
  678. package/package.json +7 -7
  679. package/dist/chunks/file-mutation-1x11rq2a.js +0 -18
  680. package/dist/chunks/file-mutation-7ctffjx1.js +0 -22
  681. package/dist/chunks/file-mutation-7zk4hah4.js +0 -4
  682. package/dist/chunks/file-mutation-h139r1mg.js +0 -460
  683. package/dist/chunks/file-mutation-ywgxakqv.js +0 -247
  684. /package/dist/chunks/{file-mutation-0fabt78z.js → pty-0fabt78z.js} +0 -0
  685. /package/dist/chunks/{file-mutation-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{file-mutation-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{file-mutation-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{file-mutation-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{file-mutation-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{file-mutation-2710q6r3.js → pty-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{file-mutation-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{file-mutation-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{file-mutation-359p4xyc.js → pty-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{file-mutation-3asan66x.js → pty-3asan66x.js} +0 -0
  695. /package/dist/chunks/{file-mutation-3t738kvx.js → pty-3t738kvx.js} +0 -0
  696. /package/dist/chunks/{file-mutation-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{file-mutation-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  698. /package/dist/chunks/{file-mutation-41nvscxy.js → pty-41nvscxy.js} +0 -0
  699. /package/dist/chunks/{file-mutation-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{file-mutation-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{file-mutation-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  702. /package/dist/chunks/{file-mutation-53557ph1.js → pty-53557ph1.js} +0 -0
  703. /package/dist/chunks/{file-mutation-550bvhaj.js → pty-550bvhaj.js} +0 -0
  704. /package/dist/chunks/{file-mutation-6prwharc.js → pty-6prwharc.js} +0 -0
  705. /package/dist/chunks/{file-mutation-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  706. /package/dist/chunks/{file-mutation-7m9af43g.js → pty-7m9af43g.js} +0 -0
  707. /package/dist/chunks/{file-mutation-822emrt2.js → pty-822emrt2.js} +0 -0
  708. /package/dist/chunks/{file-mutation-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  709. /package/dist/chunks/{file-mutation-8n3pysct.js → pty-8n3pysct.js} +0 -0
  710. /package/dist/chunks/{file-mutation-982e01ww.js → pty-982e01ww.js} +0 -0
  711. /package/dist/chunks/{file-mutation-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  712. /package/dist/chunks/{file-mutation-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  713. /package/dist/chunks/{file-mutation-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
  714. /package/dist/chunks/{file-mutation-af5trqkr.js → pty-af5trqkr.js} +0 -0
  715. /package/dist/chunks/{file-mutation-afrmfg78.js → pty-afrmfg78.js} +0 -0
  716. /package/dist/chunks/{file-mutation-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  717. /package/dist/chunks/{file-mutation-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  718. /package/dist/chunks/{file-mutation-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  719. /package/dist/chunks/{file-mutation-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  720. /package/dist/chunks/{file-mutation-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  721. /package/dist/chunks/{file-mutation-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  722. /package/dist/chunks/{file-mutation-d9fn303g.js → pty-d9fn303g.js} +0 -0
  723. /package/dist/chunks/{file-mutation-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  724. /package/dist/chunks/{file-mutation-dajrwvna.js → pty-dajrwvna.js} +0 -0
  725. /package/dist/chunks/{file-mutation-dap0rakb.js → pty-dap0rakb.js} +0 -0
  726. /package/dist/chunks/{file-mutation-df08tz66.js → pty-df08tz66.js} +0 -0
  727. /package/dist/chunks/{file-mutation-dy18nga0.js → pty-dy18nga0.js} +0 -0
  728. /package/dist/chunks/{file-mutation-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  729. /package/dist/chunks/{file-mutation-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  730. /package/dist/chunks/{file-mutation-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  731. /package/dist/chunks/{file-mutation-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  732. /package/dist/chunks/{file-mutation-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  733. /package/dist/chunks/{file-mutation-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  734. /package/dist/chunks/{file-mutation-faypxj3z.js → pty-faypxj3z.js} +0 -0
  735. /package/dist/chunks/{file-mutation-fd410y7t.js → pty-fd410y7t.js} +0 -0
  736. /package/dist/chunks/{file-mutation-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  737. /package/dist/chunks/{file-mutation-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  738. /package/dist/chunks/{file-mutation-g86h250q.js → pty-g86h250q.js} +0 -0
  739. /package/dist/chunks/{file-mutation-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  740. /package/dist/chunks/{file-mutation-hk9envan.js → pty-hk9envan.js} +0 -0
  741. /package/dist/chunks/{file-mutation-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  742. /package/dist/chunks/{file-mutation-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  743. /package/dist/chunks/{file-mutation-j935v87r.js → pty-j935v87r.js} +0 -0
  744. /package/dist/chunks/{file-mutation-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  745. /package/dist/chunks/{file-mutation-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  746. /package/dist/chunks/{file-mutation-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  747. /package/dist/chunks/{file-mutation-mntxs535.js → pty-mntxs535.js} +0 -0
  748. /package/dist/chunks/{file-mutation-mp448xyj.js → pty-mp448xyj.js} +0 -0
  749. /package/dist/chunks/{file-mutation-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  750. /package/dist/chunks/{file-mutation-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  751. /package/dist/chunks/{file-mutation-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  752. /package/dist/chunks/{file-mutation-njntx4h6.js → pty-njntx4h6.js} +0 -0
  753. /package/dist/chunks/{file-mutation-p8qxwesx.js → pty-p8qxwesx.js} +0 -0
  754. /package/dist/chunks/{file-mutation-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  755. /package/dist/chunks/{file-mutation-q74kybfr.js → pty-q74kybfr.js} +0 -0
  756. /package/dist/chunks/{file-mutation-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  757. /package/dist/chunks/{file-mutation-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  758. /package/dist/chunks/{file-mutation-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  759. /package/dist/chunks/{file-mutation-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  760. /package/dist/chunks/{file-mutation-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  761. /package/dist/chunks/{file-mutation-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  762. /package/dist/chunks/{file-mutation-se0s1eqw.js → pty-se0s1eqw.js} +0 -0
  763. /package/dist/chunks/{file-mutation-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  764. /package/dist/chunks/{file-mutation-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  765. /package/dist/chunks/{file-mutation-twg0f83k.js → pty-twg0f83k.js} +0 -0
  766. /package/dist/chunks/{file-mutation-w803qqfp.js → pty-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{file-mutation-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  768. /package/dist/chunks/{file-mutation-wtztk69x.js → pty-wtztk69x.js} +0 -0
  769. /package/dist/chunks/{file-mutation-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  770. /package/dist/chunks/{file-mutation-x1b8g1yb.js → pty-x1b8g1yb.js} +0 -0
  771. /package/dist/chunks/{file-mutation-x61499pn.js → pty-x61499pn.js} +0 -0
  772. /package/dist/chunks/{file-mutation-y44na4kk.js → pty-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{file-mutation-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{file-mutation-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  775. /package/dist/chunks/{file-mutation-z9919s4g.js → pty-z9919s4g.js} +0 -0
  776. /package/dist/chunks/{file-mutation-zbjnn3ac.js → pty-zbjnn3ac.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service56
3
- } from "./file-mutation-ada40aw5.js";
2
+ Service51
3
+ } from "./pty-et3de4js.js";
4
4
  import {
5
- Service80
6
- } from "./file-mutation-7cnkxtbd.js";
5
+ Service67
6
+ } from "./pty-8edgm1mj.js";
7
7
  import {
8
8
  observe2
9
- } from "./file-mutation-qsdy395h.js";
9
+ } from "./pty-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./file-mutation-9rqn6x4v.js";
12
+ } from "./pty-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: () => Plugin16
18
+ Plugin: () => Plugin37
19
19
  });
20
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin16 = define({
22
+ var Plugin37 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service56;
26
- const image = yield* Service80;
25
+ const config = yield* Service51;
26
+ const image = yield* Service67;
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 Plugin16 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin16, exports_image };
46
+ export { Plugin37, exports_image };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./file-mutation-r8dhm0tv.js";
3
+ } from "./pty-r8dhm0tv.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./file-mutation-qvbcabdc.js";
6
+ } from "./pty-9qm9egsn.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info18
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info18 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info18, exports_command5 };
21
+ export { Info16, exports_command5 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./file-mutation-w19ppvv8.js";
2
+ Service80,
3
+ node85
4
+ } from "./pty-90pvg1cb.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./file-mutation-2710q6r3.js";
8
+ } from "./pty-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./file-mutation-y71avatq.js";
11
+ } from "./pty-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./file-mutation-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service78,
21
+ Service: () => Service79,
22
22
  configured: () => configured12,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node83,
27
+ node: () => node84,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
76
76
  var isSynced2 = (item) => item.type === "log.synced";
77
77
  var isDefinition = (input) => !Array.isArray(input);
78
78
 
79
- class Service78 extends Context.Service()("@opencode/Bus") {
79
+ class Service79 extends Context.Service()("@opencode/Bus") {
80
80
  }
81
81
  function configured12(options) {
82
82
  return makeGlobalNode({
83
- service: Service78,
84
- deps: [node84],
85
- layer: Layer.effect(Service78, Effect.gen(function* () {
83
+ service: Service79,
84
+ deps: [node85],
85
+ layer: Layer.effect(Service79, Effect.gen(function* () {
86
86
  const { Location } = yield* Effect.promise(() => import("../location.js"));
87
87
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
88
88
  const pubsub = {
@@ -93,7 +93,7 @@ function configured12(options) {
93
93
  const projectors = new Map;
94
94
  const listeners = new Array;
95
95
  const durableLocks = makeUnsafe2();
96
- const { db } = yield* Service79;
96
+ const { db } = yield* Service80;
97
97
  const logReadPageSize = options?.logReadPageSize ?? 512;
98
98
  const persist = options?.persist ?? false;
99
99
  const sessions = new Map;
@@ -525,7 +525,7 @@ function configured12(options) {
525
525
  list.push((event) => projector(event));
526
526
  projectors.set(key, list);
527
527
  });
528
- return Service78.of({
528
+ return Service79.of({
529
529
  publish,
530
530
  publishAll,
531
531
  subscribe,
@@ -539,6 +539,6 @@ function configured12(options) {
539
539
  }))
540
540
  });
541
541
  }
542
- var node83 = configured12();
542
+ var node84 = configured12();
543
543
 
544
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service78, configured12, node83, exports_bus };
544
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured12, node84, exports_bus };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./file-mutation-2a5m3afh.js";
5
+ } from "./pty-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./file-mutation-9rqn6x4v.js";
8
+ } from "./pty-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./file-mutation-mntxs535.js";
3
+ } from "./pty-mntxs535.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/session/runner/retry.ts
9
9
  var exports_retry = {};
10
10
  __export(exports_retry, {
11
11
  SessionRunnerRetry: () => exports_retry,
12
12
  isRetryable: () => isRetryable2,
13
- make: () => make5,
13
+ make: () => make8,
14
14
  policy: () => policy2
15
15
  });
16
16
  import { Clock, Duration, Effect, Pull, Schedule } from "effect";
@@ -80,7 +80,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
80
80
  return { retry: true, attempt, delay: normalized };
81
81
  });
82
82
  });
83
- var make5 = (bus, sessionID) => Effect.gen(function* () {
83
+ var make8 = (bus, sessionID) => Effect.gen(function* () {
84
84
  const decide = yield* policy2(sessionID);
85
85
  const wait = (input) => Effect.gen(function* () {
86
86
  const scheduled = yield* Clock.currentTimeMillis;
@@ -97,4 +97,4 @@ var make5 = (bus, sessionID) => Effect.gen(function* () {
97
97
  return { decide, wait };
98
98
  });
99
99
 
100
- export { isRetryable2, policy2, make5, exports_retry };
100
+ export { isRetryable2, policy2, make8, exports_retry };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service56
3
- } from "./file-mutation-ada40aw5.js";
2
+ Service51
3
+ } from "./pty-et3de4js.js";
4
4
  import {
5
- Service7
6
- } from "./file-mutation-fz1pdqz4.js";
5
+ Service12
6
+ } from "./pty-1n116cmy.js";
7
7
  import {
8
8
  observe2
9
- } from "./file-mutation-qsdy395h.js";
9
+ } from "./pty-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./file-mutation-9rqn6x4v.js";
12
+ } from "./pty-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
15
  var exports_location_watcher2 = {};
16
16
  __export(exports_location_watcher2, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin14
18
+ Plugin: () => Plugin41
19
19
  });
20
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin14 = define({
22
+ var Plugin41 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service56;
26
- const policy = yield* Service7;
25
+ const config = yield* Service51;
26
+ const policy = yield* Service12;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin14 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin14, exports_location_watcher2 };
38
+ export { Plugin41, exports_location_watcher2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service57
3
- } from "./file-mutation-mq3bjh81.js";
2
+ Service52
3
+ } from "./pty-p41j5722.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./file-mutation-6e958v7x.js";
6
+ } from "./pty-97f5v037.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./file-mutation-p8qxwesx.js";
9
+ } from "./pty-p8qxwesx.js";
10
10
  import {
11
11
  File2,
12
- Service49
13
- } from "./file-mutation-evj8e4hg.js";
12
+ Service63
13
+ } from "./pty-rmcmbkys.js";
14
14
  import {
15
- Service67
16
- } from "./file-mutation-zjy9mrjh.js";
15
+ Service72
16
+ } from "./pty-6bfbj7yp.js";
17
17
  import {
18
18
  __export
19
- } from "./file-mutation-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin17
25
+ Plugin: () => Plugin30
26
26
  });
27
27
  import { define } from "@opencode-ai/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode-ai/util/fs-util";
29
29
  import { Global } from "@opencode-ai/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin17 = define({
32
+ var Plugin30 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service49;
35
+ const discovery = yield* Service63;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service67;
42
- const watcher = yield* Service57;
41
+ const location = yield* Service72;
42
+ const watcher = yield* Service52;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin17, exports_instruction };
117
+ export { Plugin30, exports_instruction };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-mutation-y71avatq.js";
3
+ } from "./pty-y71avatq.js";
4
4
  import {
5
+ Service79,
6
+ node84
7
+ } from "./pty-b3f9g3c4.js";
8
+ import {
9
+ Event20,
5
10
  Service78,
6
11
  node83
7
- } from "./file-mutation-2phvqca6.js";
8
- import {
9
- Event19,
10
- Service76,
11
- node81
12
- } from "./file-mutation-kbsyt50d.js";
12
+ } from "./pty-t8xj1g1x.js";
13
13
  import {
14
- Service67,
15
- node72
16
- } from "./file-mutation-zjy9mrjh.js";
14
+ Service72,
15
+ node77
16
+ } from "./pty-6bfbj7yp.js";
17
17
  import {
18
- Service64,
19
- node67
20
- } from "./file-mutation-62z4m846.js";
18
+ Service50,
19
+ node53
20
+ } from "./pty-88k962v0.js";
21
21
  import {
22
- ID14,
23
- Service75,
24
- node80
25
- } from "./file-mutation-y8g99sqg.js";
22
+ ID15,
23
+ Service77,
24
+ node82
25
+ } from "./pty-tfx5kmkv.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./file-mutation-kg06axw8.js";
29
+ } from "./pty-kg06axw8.js";
30
30
  import {
31
- ID13,
31
+ ID14,
32
32
  MethodID2,
33
- Service73,
34
- node78
35
- } from "./file-mutation-kdrneqjw.js";
33
+ Service76,
34
+ node81
35
+ } from "./pty-dfm27cy2.js";
36
36
  import {
37
37
  __export
38
- } from "./file-mutation-9rqn6x4v.js";
38
+ } from "./pty-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
45
- Options: () => Options4,
44
+ NotFoundError: () => NotFoundError2,
45
+ Options: () => Options3,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
48
48
  PromptMessage: () => PromptMessage2,
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service31,
59
+ Service: () => Service28,
60
60
  Status: () => Status2,
61
61
  Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured4,
66
- layer: () => layer14,
67
- node: () => node35
65
+ configured: () => configured3,
66
+ layer: () => layer12,
67
+ node: () => node32
68
68
  });
69
69
  import { Mcp } from "@opencode-ai/schema/mcp";
70
70
  import { McpEvent } from "@opencode-ai/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID13.pipe(Schema.optional)
84
+ integrationID: ID14.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
147
147
  var ResourceContentPart2 = Mcp.ResourceContentPart;
148
148
  var ResourceContent2 = Mcp.ResourceContent;
149
149
 
150
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
150
+ class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
151
151
  server: ServerName2
152
152
  }) {
153
153
  get message() {
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service31 extends Context.Service()("@opencode/MCP") {
168
+ class Service28 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options4 = Schema.Struct({
170
+ var Options3 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
172
172
  name: Schema.String,
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
177
- const location = yield* Service67;
178
- const environment = yield* Service64;
179
- const bus = yield* Service78;
180
- const forms = yield* Service75;
181
- const integration = yield* Service73;
182
- const credentials = yield* Service76;
176
+ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
177
+ const location = yield* Service72;
178
+ const environment = yield* Service50;
179
+ const bus = yield* Service79;
180
+ const forms = yield* Service77;
181
+ const integration = yield* Service76;
182
+ const credentials = yield* Service78;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID13.make(suffix);
194
+ const integrationID = ID14.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -216,7 +216,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
216
216
  const name = ServerName2.make(server);
217
217
  const entry = entries.get(name);
218
218
  if (!entry)
219
- return yield* new NotFoundError3({ server: name });
219
+ return yield* new NotFoundError2({ server: name });
220
220
  return { name, entry };
221
221
  });
222
222
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -315,7 +315,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
315
315
  const elicitation = {
316
316
  create: (input) => Effect.gen(function* () {
317
317
  if (input.params.mode === "url") {
318
- const formID = ID14.create();
318
+ const formID = ID15.create();
319
319
  const key = input.server + "\x00" + input.params.elicitationId;
320
320
  urlElicitations.set(key, formID);
321
321
  return yield* forms.ask({
@@ -433,7 +433,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
433
433
  entry.scope = scope;
434
434
  const authProvider = yield* connectProvider(entry);
435
435
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
436
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service64, environment), Scope.provide(scope), Effect.exit);
436
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service50, environment), Scope.provide(scope), Effect.exit);
437
437
  if (Exit.isSuccess(result)) {
438
438
  entry.client = result.value.connection;
439
439
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -557,7 +557,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
560
+ fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
561
561
  const state = create3({
562
562
  name: "mcp",
563
563
  initial: () => ({
@@ -587,7 +587,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service31.of({
590
+ return Service28.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -707,14 +707,14 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
707
707
  })
708
708
  });
709
709
  }));
710
- function configured4(options) {
710
+ function configured3(options) {
711
711
  return makeLocationNode({
712
- service: Service31,
713
- layer: layer14(options),
714
- deps: [node72, node67, node83, node80, node78, node81]
712
+ service: Service28,
713
+ layer: layer12(options),
714
+ deps: [node77, node53, node84, node82, node81, node83]
715
715
  });
716
716
  }
717
- var node35 = configured4();
717
+ var node32 = configured3();
718
718
  function toElicitationField(key, property, required) {
719
719
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
720
720
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
765
765
  }
766
766
  }
767
767
 
768
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service31, Options4, layer14, configured4, node35, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service28, Options3, layer12, configured3, node32, exports_mcp4 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./file-mutation-f0mxakyp.js";
3
+ } from "./pty-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./file-mutation-w3wsvvr9.js";
6
+ } from "./pty-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./file-mutation-7bmhse3q.js";
9
+ } from "./pty-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./file-mutation-cf4snx6d.js";
12
+ } from "./pty-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./file-mutation-822emrt2.js";
15
+ } from "./pty-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./file-mutation-wd87259q.js";
18
+ } from "./pty-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./file-mutation-m9w0rfyh.js";
21
+ } from "./pty-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service38,
9
+ Service: () => Service33,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service38 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service33 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service38, exports_runner };
18
+ export { DrainResult2, Service33, exports_runner };