@opencode/core 0.0.0-dev-19282 → 0.0.0-dev-19284

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  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 +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{bus-e8bm4rm7.js → pty-04b6k755.js} +11 -11
  9. package/dist/chunks/{bus-p72z5xx6.js → pty-0531sp94.js} +2 -2
  10. package/dist/chunks/{bus-zmgyev29.js → pty-0b0xam7s.js} +26 -26
  11. package/dist/chunks/{bus-1dfhrqqs.js → pty-0hpxrkyb.js} +5 -5
  12. package/dist/chunks/{bus-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{bus-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{bus-0e6zaxnc.js → pty-0v9511cz.js} +4 -4
  15. package/dist/chunks/{bus-35s1r081.js → pty-0xxge0pj.js} +8 -8
  16. package/dist/chunks/{bus-750rpxws.js → pty-0y9djfvb.js} +3 -3
  17. package/dist/chunks/{bus-kfxc74n2.js → pty-101th954.js} +24 -24
  18. package/dist/chunks/{bus-t9atnbvs.js → pty-113zqzxk.js} +27 -27
  19. package/dist/chunks/{bus-gsy9mqvk.js → pty-12y94dz0.js} +11 -11
  20. package/dist/chunks/{bus-0tm0kv5t.js → pty-13egd5dp.js} +22 -22
  21. package/dist/chunks/{bus-27rw376c.js → pty-1ayhfk3a.js} +76 -76
  22. package/dist/chunks/{bus-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{bus-2ee18q3c.js → pty-1dtagjcf.js} +11 -11
  24. package/dist/chunks/{bus-yn80fmw6.js → pty-1k9r8ajs.js} +21 -21
  25. package/dist/chunks/{bus-1g0hxw53.js → pty-1katgxgp.js} +36 -36
  26. package/dist/chunks/{bus-yms512cs.js → pty-1r92xkdd.js} +11 -11
  27. package/dist/chunks/{bus-edsk2t6a.js → pty-1tq5sqwa.js} +9 -9
  28. package/dist/chunks/{bus-wmshdsxh.js → pty-1tr2mxv2.js} +15 -15
  29. package/dist/chunks/{bus-fw00bc85.js → pty-1vx4skf5.js} +26 -26
  30. package/dist/chunks/{bus-56gdpj1q.js → pty-1ygqh575.js} +9 -9
  31. package/dist/chunks/{bus-21r38tys.js → pty-21r38tys.js} +1 -1
  32. package/dist/chunks/{bus-6h73sxmp.js → pty-2402vzrj.js} +5 -5
  33. package/dist/chunks/{bus-9ffmp1f5.js → pty-28v53sff.js} +10 -10
  34. package/dist/chunks/{bus-z63w68vq.js → pty-29x78va6.js} +6 -6
  35. package/dist/chunks/{bus-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{bus-58mjts13.js → pty-2caq6pqh.js} +22 -22
  37. package/dist/chunks/{bus-c78bbtc9.js → pty-2f0bjgcj.js} +5 -5
  38. package/dist/chunks/{bus-r1mjw3sd.js → pty-2h21rrjx.js} +20 -20
  39. package/dist/chunks/{bus-kz255f3e.js → pty-2n7rzc9a.js} +6 -6
  40. package/dist/chunks/{bus-ntazn48k.js → pty-2wzvf4j2.js} +83 -83
  41. package/dist/chunks/{bus-dc76j9wz.js → pty-36yjp8yh.js} +8 -8
  42. package/dist/chunks/{bus-k0h28rmr.js → pty-3c2gg74p.js} +17 -17
  43. package/dist/chunks/{bus-gdvy8fx6.js → pty-3fc6dm20.js} +4 -4
  44. package/dist/chunks/{bus-wjc2s1ba.js → pty-3gr3tgnk.js} +26 -26
  45. package/dist/chunks/{bus-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{bus-3fvkbj1e.js → pty-3r153z9p.js} +45 -45
  47. package/dist/chunks/{bus-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{bus-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{bus-jkvdn3cn.js → pty-3xfh4yeh.js} +35 -35
  50. package/dist/chunks/{bus-nk7ds145.js → pty-3yyqtq1k.js} +20 -20
  51. package/dist/chunks/{bus-49t4jawx.js → pty-48jnmw64.js} +16 -16
  52. package/dist/chunks/{bus-nx25f60x.js → pty-4ahbs3kp.js} +11 -11
  53. package/dist/chunks/{bus-zc9t3nk1.js → pty-4f90fc6p.js} +22 -22
  54. package/dist/chunks/{bus-6ez8fd9t.js → pty-52fdmm22.js} +58 -58
  55. package/dist/chunks/{bus-kj0cw3p7.js → pty-53datcyd.js} +29 -29
  56. package/dist/chunks/{bus-yxfbxqnd.js → pty-595vq8s1.js} +16 -16
  57. package/dist/chunks/{bus-jzvr1g73.js → pty-5b8sybsb.js} +15 -15
  58. package/dist/chunks/{bus-5daktx2q.js → pty-5daktx2q.js} +1 -1
  59. package/dist/chunks/{bus-92fxycsj.js → pty-5eypht73.js} +142 -142
  60. package/dist/chunks/{bus-w3seh447.js → pty-5gpsw6jk.js} +26 -26
  61. package/dist/chunks/{bus-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{bus-gezb754f.js → pty-604mgw0e.js} +11 -11
  63. package/dist/chunks/{bus-669tq793.js → pty-669tq793.js} +1 -1
  64. package/dist/chunks/{bus-gcx2w7qz.js → pty-6e6v2scb.js} +20 -20
  65. package/dist/chunks/{bus-gsx0ryk4.js → pty-6jnybvqn.js} +9 -9
  66. package/dist/chunks/{bus-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{bus-3sx2gfrt.js → pty-6rgk4ym7.js} +30 -30
  68. package/dist/chunks/{bus-qaed280k.js → pty-6tfkz8mw.js} +9 -9
  69. package/dist/chunks/{bus-8e0dmvmv.js → pty-70vxa6pp.js} +12 -12
  70. package/dist/chunks/{bus-xfbp7vg3.js → pty-7108e3wm.js} +25 -25
  71. package/dist/chunks/{bus-71q4at8m.js → pty-71q4at8m.js} +1 -1
  72. package/dist/chunks/{bus-mvfsc1pv.js → pty-73tb2d7t.js} +3 -3
  73. package/dist/chunks/{bus-01nje3d7.js → pty-7bfxxbhh.js} +6 -6
  74. package/dist/chunks/{bus-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{bus-e406nj4k.js → pty-7d0zm79z.js} +6 -6
  76. package/dist/chunks/{bus-at3ejqj0.js → pty-7f7j5aqq.js} +10 -10
  77. package/dist/chunks/{bus-9v7msvga.js → pty-7kn1pjxe.js} +11 -11
  78. package/dist/chunks/{bus-gwp5w4wb.js → pty-7nfgfjsm.js} +6 -6
  79. package/dist/chunks/{bus-ve2nztfh.js → pty-7t0ps460.js} +10 -10
  80. package/dist/chunks/{bus-ekxn0p07.js → pty-7wabxp46.js} +18 -18
  81. package/dist/chunks/{bus-0gaj4617.js → pty-7yqjxrmz.js} +4 -4
  82. package/dist/chunks/{bus-81swgkk7.js → pty-81swgkk7.js} +2 -2
  83. package/dist/chunks/{bus-749mk3f5.js → pty-84c1s7yv.js} +25 -25
  84. package/dist/chunks/{bus-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{bus-mnrz82hq.js → pty-8dk8azxs.js} +3 -3
  86. package/dist/chunks/{bus-6b30g155.js → pty-8gpb4ajr.js} +17 -17
  87. package/dist/chunks/{bus-csec5e4m.js → pty-8kqe18cf.js} +9 -9
  88. package/dist/chunks/{bus-zfaxcb8h.js → pty-8nqvx115.js} +4 -4
  89. package/dist/chunks/{bus-8p4f9s12.js → pty-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{bus-jvq7qv7z.js → pty-8tfpvtr7.js} +28 -28
  91. package/dist/chunks/{bus-fa0cr6zp.js → pty-8xyemkvq.js} +3 -3
  92. package/dist/chunks/{bus-31nc7ye1.js → pty-913yfcff.js} +18 -18
  93. package/dist/chunks/{bus-rgdf5anz.js → pty-92c83kr3.js} +13 -13
  94. package/dist/chunks/{bus-j4zenrww.js → pty-9ex99xm7.js} +7 -7
  95. package/dist/chunks/{bus-2f04pwep.js → pty-9ky66zz9.js} +3 -3
  96. package/dist/chunks/{bus-sqevgg1x.js → pty-9nepbqpa.js} +6 -6
  97. package/dist/chunks/{bus-rpsfnwf3.js → pty-9qrd0ade.js} +39 -39
  98. package/dist/chunks/{bus-1pv26y79.js → pty-9txcanwf.js} +31 -31
  99. package/dist/chunks/{bus-a1bz86dw.js → pty-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{bus-anhc60mz.js → pty-a2fmrcfx.js} +4 -4
  101. package/dist/chunks/{bus-aaet6srn.js → pty-aaet6srn.js} +2 -2
  102. package/dist/chunks/{bus-n0xr8ydk.js → pty-ah0499c8.js} +30 -30
  103. package/dist/chunks/{bus-4mjzz0d5.js → pty-ahz4xwhq.js} +25 -25
  104. package/dist/chunks/{bus-n8acapy8.js → pty-ajnpj862.js} +6 -6
  105. package/dist/chunks/{bus-15qsbqmq.js → pty-anj7ja7x.js} +18 -18
  106. package/dist/chunks/{bus-19vf66h0.js → pty-at5d07az.js} +4 -4
  107. package/dist/chunks/{bus-cptd71b8.js → pty-at7vj8xg.js} +285 -285
  108. package/dist/chunks/{bus-3fqa324q.js → pty-aynpr8ab.js} +20 -20
  109. package/dist/chunks/{bus-jny78evx.js → pty-azc0fw06.js} +47 -47
  110. package/dist/chunks/{bus-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{bus-bha4atvq.js → pty-bajakh74.js} +4 -4
  112. package/dist/chunks/{bus-w1k39n5e.js → pty-bccb6npm.js} +4 -4
  113. package/dist/chunks/{bus-91ewnwxd.js → pty-bd2sx3rh.js} +19 -19
  114. package/dist/chunks/{bus-jmvyb28c.js → pty-bf9a8ejx.js} +15 -15
  115. package/dist/chunks/{bus-5hk4b2g6.js → pty-bh0zzf2s.js} +8 -8
  116. package/dist/chunks/{bus-rvyv87x2.js → pty-by885ras.js} +4 -4
  117. package/dist/chunks/{bus-527n8bmw.js → pty-byz24ksx.js} +25 -25
  118. package/dist/chunks/{bus-2gqyg9n5.js → pty-c1ayfejr.js} +17 -17
  119. package/dist/chunks/{bus-t9dh7k1x.js → pty-c1zrx13f.js} +12 -12
  120. package/dist/chunks/{bus-gdvdcvqc.js → pty-c4jwsn70.js} +14 -14
  121. package/dist/chunks/{bus-cvb05pnf.js → pty-cajdsvab.js} +16 -16
  122. package/dist/chunks/{bus-j5208yae.js → pty-cf3tj770.js} +4 -4
  123. package/dist/chunks/{bus-cfpkc3c9.js → pty-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{bus-gxnpxzy4.js → pty-cq79sjzr.js} +28 -28
  125. package/dist/chunks/{bus-0w62qmxp.js → pty-cte9ap30.js} +8 -8
  126. package/dist/chunks/{bus-93495grw.js → pty-cy209589.js} +7 -7
  127. package/dist/chunks/{bus-zpp4pmky.js → pty-d4e3xrxv.js} +8 -8
  128. package/dist/chunks/{bus-111gxffx.js → pty-dcmqyx64.js} +6 -6
  129. package/dist/chunks/{bus-9j23snw0.js → pty-dm7hx1w0.js} +13 -13
  130. package/dist/chunks/{bus-y71avatq.js → pty-dpkg50ah.js} +4 -4
  131. package/dist/chunks/{bus-dgj0dq1g.js → pty-dv1qgsyq.js} +8 -8
  132. package/dist/chunks/{bus-f5ckxc6k.js → pty-dw85xzsy.js} +10 -10
  133. package/dist/chunks/{bus-qr92006n.js → pty-dxt59c3z.js} +11 -11
  134. package/dist/chunks/{bus-fjta8say.js → pty-e2ryeqwt.js} +20 -20
  135. package/dist/chunks/{bus-8madsdx3.js → pty-e430r8zt.js} +11 -11
  136. package/dist/chunks/{bus-3r5z9a2m.js → pty-e6eyn984.js} +20 -20
  137. package/dist/chunks/{bus-kycn6yts.js → pty-edafkgj2.js} +6 -6
  138. package/dist/chunks/{bus-vwqs12jy.js → pty-ee3krkrp.js} +15 -15
  139. package/dist/chunks/{bus-095cpp92.js → pty-eegqa8a9.js} +33 -33
  140. package/dist/chunks/{bus-5kx2m9j7.js → pty-ef87s1j5.js} +11 -11
  141. package/dist/chunks/{bus-1qfm9ec4.js → pty-efhysqvt.js} +3 -3
  142. package/dist/chunks/{bus-4etzfxb1.js → pty-egb2azzx.js} +26 -26
  143. package/dist/chunks/{bus-jdmm99th.js → pty-ehvxp5zp.js} +10 -10
  144. package/dist/chunks/{bus-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{bus-x8d28zyr.js → pty-evp6550k.js} +18 -18
  146. package/dist/chunks/{bus-wccq2216.js → pty-f6h7dvp6.js} +7 -7
  147. package/dist/chunks/{bus-f828m53h.js → pty-f828m53h.js} +2 -2
  148. package/dist/chunks/{bus-d2aac7k2.js → pty-f90chkmn.js} +5 -5
  149. package/dist/chunks/{bus-7dqw4kz8.js → pty-fcrkznn8.js} +5 -5
  150. package/dist/chunks/{bus-hpd8f1qh.js → pty-fn6h20rm.js} +4 -4
  151. package/dist/chunks/{bus-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{bus-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{bus-abqnwdt9.js → pty-gdm9bc2g.js} +33 -33
  154. package/dist/chunks/{bus-d21tpfeg.js → pty-gke4hfak.js} +11 -11
  155. package/dist/chunks/{bus-kxxjg53x.js → pty-gmesheqj.js} +64 -64
  156. package/dist/chunks/{bus-n7myrqvg.js → pty-gq4yt5d9.js} +8 -8
  157. package/dist/chunks/{bus-b66t5cb8.js → pty-gy4xd5ae.js} +7 -7
  158. package/dist/chunks/{bus-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
  159. package/dist/chunks/{bus-t9e6e84n.js → pty-h457z9c3.js} +1 -1
  160. package/dist/chunks/{bus-5ahfvgqs.js → pty-h6dyyfam.js} +151 -151
  161. package/dist/chunks/{bus-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{bus-qte5z7bc.js → pty-hcz3zddy.js} +5 -5
  163. package/dist/chunks/{bus-6sg4x804.js → pty-hhqp0ev3.js} +4 -4
  164. package/dist/chunks/{bus-2rrdrtgw.js → pty-hjdzmzjx.js} +6 -6
  165. package/dist/chunks/{bus-zcrspsvn.js → pty-hn57h045.js} +4 -4
  166. package/dist/chunks/{bus-e47b9zhk.js → pty-hq506b09.js} +1 -1
  167. package/dist/chunks/{bus-3dkb1mkq.js → pty-hqp75n2j.js} +33 -33
  168. package/dist/chunks/pty-hr9dp009.js +4 -0
  169. package/dist/chunks/{bus-fjmrr6sh.js → pty-hrvd6t1f.js} +9 -9
  170. package/dist/chunks/{bus-hmy5m0zn.js → pty-hvw41qaw.js} +24 -24
  171. package/dist/chunks/{bus-1ajrde1x.js → pty-hxzmwa8h.js} +11 -11
  172. package/dist/chunks/{bus-50tgre74.js → pty-j08yav90.js} +20 -20
  173. package/dist/chunks/{bus-k0vm1vsh.js → pty-j32r0sby.js} +8 -8
  174. package/dist/chunks/{bus-nx8jdvz1.js → pty-j46t8cy3.js} +33 -33
  175. package/dist/chunks/{bus-a9ab9jmj.js → pty-j4e3jsg7.js} +5 -5
  176. package/dist/chunks/{bus-j56e64zr.js → pty-j56e64zr.js} +1 -1
  177. package/dist/chunks/{bus-paphc93g.js → pty-j935v87r.js} +2 -2
  178. package/dist/chunks/{bus-vmmc4gn1.js → pty-jaxrymj1.js} +30 -30
  179. package/dist/chunks/{bus-41tqqwbx.js → pty-jfz1was4.js} +9 -9
  180. package/dist/chunks/{bus-renqy12v.js → pty-jmm88pvs.js} +11 -11
  181. package/dist/chunks/{bus-mykmszv9.js → pty-jn1j3vts.js} +9 -9
  182. package/dist/chunks/{bus-mkyh9633.js → pty-jv1xsv73.js} +43 -43
  183. package/dist/chunks/{bus-yrm8zfgt.js → pty-k15hmge1.js} +19 -19
  184. package/dist/chunks/{bus-k8ebjhqy.js → pty-k9zjg2m8.js} +15 -15
  185. package/dist/chunks/pty-keyh8483.js +22 -0
  186. package/dist/chunks/{bus-8292cgjf.js → pty-kf7bhd8x.js} +4 -4
  187. package/dist/chunks/{bus-kg06axw8.js → pty-kg06axw8.js} +1 -1
  188. package/dist/chunks/{bus-4yd2q2gq.js → pty-kke37ydq.js} +15 -15
  189. package/dist/chunks/{bus-0vqg61vt.js → pty-kqcsfhww.js} +20 -20
  190. package/dist/chunks/{bus-wk58jv74.js → pty-kt5w8vxh.js} +3 -3
  191. package/dist/chunks/{bus-zxgnc9zk.js → pty-m9g7kjz2.js} +1 -1
  192. package/dist/chunks/{bus-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{bus-1wsj65et.js → pty-map23pr4.js} +22 -22
  194. package/dist/chunks/{bus-mkcjrzeh.js → pty-mkcjrzeh.js} +1 -1
  195. package/dist/chunks/{bus-s2pmvhcg.js → pty-mq9k5emb.js} +24 -24
  196. package/dist/chunks/{bus-a4r18kjz.js → pty-mqgza0s1.js} +2 -2
  197. package/dist/chunks/{bus-6zhe6btj.js → pty-mx6z9c2k.js} +36 -36
  198. package/dist/chunks/{bus-qrtv3c58.js → pty-myh2tnjz.js} +17 -17
  199. package/dist/chunks/{bus-m08xmbhd.js → pty-n3hdt412.js} +13 -13
  200. package/dist/chunks/{bus-k6gg2q9r.js → pty-n6nwjk4k.js} +16 -16
  201. package/dist/chunks/{bus-47gsdddb.js → pty-nhy5jxhy.js} +5 -5
  202. package/dist/chunks/{bus-4pc0t7v2.js → pty-nqh3n51t.js} +12 -12
  203. package/dist/chunks/{bus-yv5atzv7.js → pty-nts3ktd3.js} +2 -2
  204. package/dist/chunks/{bus-h03br4j9.js → pty-p0x0xsz0.js} +16 -16
  205. package/dist/chunks/{bus-ywkmcjzw.js → pty-p9e5f8hs.js} +4 -4
  206. package/dist/chunks/{bus-frwpyczr.js → pty-pck3w1ab.js} +4 -4
  207. package/dist/chunks/{bus-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{bus-pknna89w.js → pty-pknna89w.js} +1 -1
  209. package/dist/chunks/{bus-0g3tnqy3.js → pty-pksqeybc.js} +22 -22
  210. package/dist/chunks/{bus-mctj3t5d.js → pty-pxm7ex4k.js} +11 -11
  211. package/dist/chunks/{bus-vyjzrkx0.js → pty-qba6esk9.js} +9 -9
  212. package/dist/chunks/{bus-x227z7gv.js → pty-qcbjdgb9.js} +24 -24
  213. package/dist/chunks/{bus-8qk9tw02.js → pty-qd417my5.js} +1 -1
  214. package/dist/chunks/{bus-fxdzhz3a.js → pty-qn39sdbb.js} +38 -38
  215. package/dist/chunks/{bus-qsdy395h.js → pty-qsdy395h.js} +1 -1
  216. package/dist/chunks/{bus-0v53mg2y.js → pty-r98e92ep.js} +4 -4
  217. package/dist/chunks/{bus-xjr4j2j6.js → pty-rb4rdn3m.js} +43 -43
  218. package/dist/chunks/{bus-ahpydw3r.js → pty-rdyvw1h1.js} +33 -33
  219. package/dist/chunks/{bus-w81afp83.js → pty-rhq1hhdm.js} +8 -8
  220. package/dist/chunks/{bus-84zmkpg3.js → pty-rw861jrs.js} +46 -46
  221. package/dist/chunks/{bus-yrznvahk.js → pty-s4enseaf.js} +2 -2
  222. package/dist/chunks/{bus-p0cja4mf.js → pty-s7kwm6zm.js} +5 -5
  223. package/dist/chunks/{bus-k2h4r4s0.js → pty-s8j6jbjj.js} +21 -21
  224. package/dist/chunks/{bus-2z7mxnbp.js → pty-sedetxkq.js} +26 -26
  225. package/dist/chunks/{bus-8ey7957k.js → pty-sjnbwgen.js} +13 -13
  226. package/dist/chunks/{bus-brzgr68a.js → pty-sthxgr5k.js} +22 -22
  227. package/dist/chunks/{bus-0ch8tq9c.js → pty-sv2dresp.js} +11 -11
  228. package/dist/chunks/{bus-xkvztyjm.js → pty-sxam9rt0.js} +4 -4
  229. package/dist/chunks/{bus-rfnzy394.js → pty-t23qze4t.js} +1 -1
  230. package/dist/chunks/{bus-e39t2h66.js → pty-t2vdd8h0.js} +14 -14
  231. package/dist/chunks/{bus-eaj1djv9.js → pty-t550f9t1.js} +8 -8
  232. package/dist/chunks/{bus-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{bus-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{bus-tdstcens.js → pty-tdstcens.js} +1 -1
  235. package/dist/chunks/{bus-knth1fvs.js → pty-tffb36pg.js} +14 -14
  236. package/dist/chunks/{bus-gv6a8nnw.js → pty-th5km1p3.js} +5 -5
  237. package/dist/chunks/{bus-xtx0ppn2.js → pty-tt7t6gfm.js} +13 -13
  238. package/dist/chunks/{bus-tvtrv512.js → pty-tvtrv512.js} +1 -1
  239. package/dist/chunks/{bus-veqvce7d.js → pty-veqvce7d.js} +1 -1
  240. package/dist/chunks/{bus-7s03h6w8.js → pty-vewreb7k.js} +18 -18
  241. package/dist/chunks/pty-vnkjks7b.js +18 -0
  242. package/dist/chunks/{bus-vn9qcck8.js → pty-vp5s6n4v.js} +32 -32
  243. package/dist/chunks/{bus-2vgzs72b.js → pty-vrpz8t5t.js} +5 -5
  244. package/dist/chunks/{bus-arcj627b.js → pty-vxdaz8vr.js} +3 -3
  245. package/dist/chunks/{bus-1w4paq8s.js → pty-vy69nfyt.js} +26 -26
  246. package/dist/chunks/{bus-atw9v79g.js → pty-vyyqyr61.js} +21 -21
  247. package/dist/chunks/{bus-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{bus-9qn3qky1.js → pty-vzrnynxw.js} +8 -8
  249. package/dist/chunks/{bus-wmbchhnn.js → pty-w31q4z5a.js} +11 -11
  250. package/dist/chunks/{bus-5fm2rry0.js → pty-w3ent86v.js} +10 -10
  251. package/dist/chunks/{bus-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{bus-wd87259q.js → pty-wd87259q.js} +1 -1
  253. package/dist/chunks/{bus-nnmhqe7b.js → pty-wfeey21d.js} +14 -14
  254. package/dist/chunks/{bus-tfym5c4x.js → pty-wg42tg3h.js} +4 -4
  255. package/dist/chunks/{bus-whbvmyya.js → pty-wm0z4180.js} +23 -23
  256. package/dist/chunks/{bus-nnchxen3.js → pty-wm433qqz.js} +43 -43
  257. package/dist/chunks/{bus-zardaqg6.js → pty-wp2qtysx.js} +12 -12
  258. package/dist/chunks/{bus-0khbs0qs.js → pty-wwrx56v5.js} +3 -3
  259. package/dist/chunks/{bus-nw2nz702.js → pty-x0511brf.js} +4 -4
  260. package/dist/chunks/{bus-zq6w5y0q.js → pty-x0yh80ry.js} +13 -13
  261. package/dist/chunks/{bus-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{bus-x43y2vfs.js → pty-x43y2vfs.js} +2 -2
  263. package/dist/chunks/{bus-xxcpn45b.js → pty-x4kntfbn.js} +23 -23
  264. package/dist/chunks/{bus-pf6z3403.js → pty-xc71xt00.js} +5 -5
  265. package/dist/chunks/{bus-710w2ech.js → pty-xfxn6gek.js} +1 -1
  266. package/dist/chunks/{bus-vgjt9c5s.js → pty-xsasmzga.js} +5 -5
  267. package/dist/chunks/{bus-y8qpbdny.js → pty-xt97pgbp.js} +7 -7
  268. package/dist/chunks/{bus-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{bus-y7whqpt3.js → pty-y37t65q2.js} +10 -10
  270. package/dist/chunks/{bus-s7xtjryh.js → pty-y49qrr0k.js} +1 -1
  271. package/dist/chunks/{bus-xhmq8qgk.js → pty-y56ehv6b.js} +5 -5
  272. package/dist/chunks/{bus-z9e6b7he.js → pty-y65x3qsm.js} +5 -5
  273. package/dist/chunks/{bus-k7d0894y.js → pty-ye323zqv.js} +9 -9
  274. package/dist/chunks/{bus-yp2x3t23.js → pty-yp2x3t23.js} +1 -1
  275. package/dist/chunks/{bus-5cry39zx.js → pty-yrc26zmc.js} +21 -21
  276. package/dist/chunks/{bus-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{bus-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{bus-ffx4mq6v.js → pty-z33n7yxw.js} +1 -1
  279. package/dist/chunks/{bus-c2q1mjgh.js → pty-z5p19pf1.js} +8 -8
  280. package/dist/chunks/{bus-ve6nm2s5.js → pty-zcqf6png.js} +6 -6
  281. package/dist/chunks/{bus-zex37ywk.js → pty-ze5v0a14.js} +8 -8
  282. package/dist/chunks/{bus-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{bus-mm6hcqyy.js → pty-zmh1pv5f.js} +13 -13
  284. package/dist/chunks/{bus-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{bus-kdc4anf3.js → pty-zwv60398.js} +2 -2
  286. package/dist/chunks/{bus-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{bus-qdd4vj03.js → pty-zy5ev4j8.js} +18 -18
  288. package/dist/chunks/{bus-5kxxz5p9.js → pty-zyzh87z1.js} +15 -15
  289. package/dist/codemode/catalog.js +3 -3
  290. package/dist/codemode/instructions.js +11 -11
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  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 +113 -113
  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 +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +83 -83
  321. package/dist/database/database.js +64 -64
  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 +361 -361
  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 +68 -68
  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 +6 -6
  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 +3 -3
  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 +78 -78
  428. package/dist/generate.js +87 -87
  429. package/dist/git.js +3 -3
  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 +7 -7
  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 +352 -352
  454. package/dist/instruction-discovery.js +79 -79
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +80 -80
  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 +130 -130
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +83 -83
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +76 -76
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +105 -105
  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 +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +86 -86
  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 +114 -114
  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 +78 -78
  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 +323 -323
  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 +76 -76
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +156 -156
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +342 -342
  540. package/dist/plugin/update.js +4 -4
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +6 -6
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +224 -224
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +75 -75
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +94 -94
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +91 -91
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +216 -216
  575. package/dist/session/execution.js +122 -122
  576. package/dist/session/generate.js +146 -146
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +86 -86
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +124 -124
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +121 -121
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -71
  607. package/dist/session/store.js +83 -83
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +209 -209
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +105 -105
  624. package/dist/snapshot.js +86 -86
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +119 -119
  629. package/dist/tool/plugin/edit.js +109 -109
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +100 -100
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +108 -108
  639. package/dist/tool/plugin/subagent.js +208 -208
  640. package/dist/tool/plugin/webfetch.js +107 -107
  641. package/dist/tool/plugin/websearch.js +107 -107
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +94 -94
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +11 -11
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/formatter.js +3 -3
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +341 -341
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +91 -91
  685. package/package.json +8 -8
  686. package/dist/chunks/bus-0mesazry.js +0 -4
  687. package/dist/chunks/bus-qc068m1q.js +0 -18
  688. package/dist/chunks/bus-ypn041zc.js +0 -22
  689. /package/dist/chunks/{bus-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{bus-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{bus-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{bus-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{bus-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{bus-2710q6r3.js → pty-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{bus-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{bus-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{bus-359p4xyc.js → pty-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{bus-3asan66x.js → pty-3asan66x.js} +0 -0
  699. /package/dist/chunks/{bus-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{bus-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{bus-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{bus-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{bus-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{bus-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{bus-53557ph1.js → pty-53557ph1.js} +0 -0
  706. /package/dist/chunks/{bus-550bvhaj.js → pty-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{bus-6prwharc.js → pty-6prwharc.js} +0 -0
  708. /package/dist/chunks/{bus-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{bus-7m9af43g.js → pty-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{bus-822emrt2.js → pty-822emrt2.js} +0 -0
  711. /package/dist/chunks/{bus-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{bus-8n3pysct.js → pty-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{bus-922hggd3.js → pty-922hggd3.js} +0 -0
  714. /package/dist/chunks/{bus-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{bus-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{bus-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
  717. /package/dist/chunks/{bus-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{bus-af5trqkr.js → pty-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{bus-afrmfg78.js → pty-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{bus-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{bus-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{bus-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{bus-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{bus-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{bus-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{bus-d9fn303g.js → pty-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{bus-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{bus-dajrwvna.js → pty-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{bus-dap0rakb.js → pty-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{bus-df08tz66.js → pty-df08tz66.js} +0 -0
  731. /package/dist/chunks/{bus-dy18nga0.js → pty-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{bus-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{bus-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{bus-ec1grn59.js → pty-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{bus-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{bus-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{bus-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{bus-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{bus-faypxj3z.js → pty-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{bus-fd410y7t.js → pty-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{bus-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{bus-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{bus-g86h250q.js → pty-g86h250q.js} +0 -0
  744. /package/dist/chunks/{bus-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{bus-gftt206x.js → pty-gftt206x.js} +0 -0
  746. /package/dist/chunks/{bus-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{bus-hk9envan.js → pty-hk9envan.js} +0 -0
  748. /package/dist/chunks/{bus-hrnqkpcd.js → pty-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{bus-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{bus-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{bus-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{bus-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{bus-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{bus-mp448xyj.js → pty-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{bus-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{bus-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{bus-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{bus-njntx4h6.js → pty-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{bus-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{bus-q74kybfr.js → pty-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{bus-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{bus-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{bus-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{bus-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{bus-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{bus-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{bus-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  768. /package/dist/chunks/{bus-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{bus-twg0f83k.js → pty-twg0f83k.js} +0 -0
  770. /package/dist/chunks/{bus-w803qqfp.js → pty-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{bus-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{bus-wtztk69x.js → pty-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{bus-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{bus-x61499pn.js → pty-x61499pn.js} +0 -0
  775. /package/dist/chunks/{bus-y44na4kk.js → pty-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{bus-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{bus-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{bus-ym463w8f.js → pty-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{bus-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./bus-2a5m3afh.js";
3
+ } from "./pty-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./bus-922hggd3.js";
6
+ } from "./pty-922hggd3.js";
7
7
  import {
8
8
  Service76
9
- } from "./bus-yv5atzv7.js";
9
+ } from "./pty-nts3ktd3.js";
10
10
  import {
11
- Service67
12
- } from "./bus-yn80fmw6.js";
11
+ Service56
12
+ } from "./pty-1k9r8ajs.js";
13
13
  import {
14
- Service25
15
- } from "./bus-knth1fvs.js";
14
+ Service15
15
+ } from "./pty-tffb36pg.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./bus-15qsbqmq.js";
21
+ } from "./pty-anj7ja7x.js";
22
22
  import {
23
- Service71
24
- } from "./bus-6ez8fd9t.js";
23
+ Service51
24
+ } from "./pty-52fdmm22.js";
25
25
  import {
26
- Service70
27
- } from "./bus-k8ebjhqy.js";
26
+ Service17
27
+ } from "./pty-k9zjg2m8.js";
28
28
  import {
29
29
  __export
30
- } from "./bus-9rqn6x4v.js";
30
+ } from "./pty-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input5,
37
- Output: () => Output4,
38
- Plugin: () => Plugin6,
39
- name: () => name5,
40
- toModelContent: () => toModelContent3
36
+ Input: () => Input12,
37
+ Output: () => Output8,
38
+ Plugin: () => Plugin26,
39
+ name: () => name12,
40
+ toModelContent: () => toModelContent6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name5 = "glob";
46
- var Input5 = Schema.Struct({
45
+ var name12 = "glob";
46
+ var Input12 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input5 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output4 = Schema.Array(Entry2);
59
- var toModelContent3 = (entries, truncated = false) => {
58
+ var Output8 = Schema.Array(Entry2);
59
+ var toModelContent6 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin6 = {
66
+ var Plugin26 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service67;
70
- const ripgrep = yield* Service25;
69
+ const environment = yield* Service56;
70
+ const ripgrep = yield* Service15;
71
71
  const location = yield* Service76;
72
- const access = yield* Service70;
73
- const permission = yield* Service71;
72
+ const access = yield* Service17;
73
+ const permission = yield* Service51;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name5,
75
+ name: name12,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input5,
79
- output: Output4,
78
+ input: Input12,
79
+ output: Output8,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name5,
86
+ action: name12,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin6 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name5, Input5, Output4, toModelContent3, Plugin6, exports_glob };
128
+ export { name12, Input12, Output8, toModelContent6, Plugin26, exports_glob };
@@ -0,0 +1,4 @@
1
+ // src/pty/schema.ts
2
+ import { ID as ID11 } from "@opencode/schema/pty";
3
+
4
+ export { ID11 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./bus-kg06axw8.js";
3
+ } from "./pty-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service7,
13
- node: () => node10
12
+ Service: () => Service11,
13
+ node: () => node14
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service11 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service7, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service7.of({
44
+ return Service11.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node10 = makeLocationNode({ service: Service7, layer, deps: [] });
51
+ var node14 = makeLocationNode({ service: Service11, layer, deps: [] });
52
52
 
53
- export { Service7, node10, exports_location_watcher_policy };
53
+ export { Service11, node14, exports_location_watcher_policy };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./bus-922hggd3.js";
3
+ } from "./pty-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./bus-k2h4r4s0.js";
6
+ } from "./pty-s8j6jbjj.js";
7
7
  import {
8
- Info17
9
- } from "./bus-renqy12v.js";
8
+ Info23
9
+ } from "./pty-jmm88pvs.js";
10
10
  import {
11
- Info14
12
- } from "./bus-c78bbtc9.js";
11
+ Info18
12
+ } from "./pty-2f0bjgcj.js";
13
13
  import {
14
- Info22
15
- } from "./bus-19vf66h0.js";
14
+ Info24
15
+ } from "./pty-at5d07az.js";
16
16
  import {
17
- Info18
18
- } from "./bus-d2aac7k2.js";
17
+ Info26
18
+ } from "./pty-f90chkmn.js";
19
19
  import {
20
20
  Spec2
21
- } from "./bus-7dqw4kz8.js";
21
+ } from "./pty-fcrkznn8.js";
22
22
  import {
23
- Info19
24
- } from "./bus-qte5z7bc.js";
23
+ Info20
24
+ } from "./pty-hcz3zddy.js";
25
25
  import {
26
- Info13
27
- } from "./bus-mkyh9633.js";
26
+ Info17
27
+ } from "./pty-jv1xsv73.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./bus-anhc60mz.js";
36
+ } from "./pty-a2fmrcfx.js";
37
37
  import {
38
38
  __export
39
- } from "./bus-9rqn6x4v.js";
39
+ } from "./pty-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info13.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info17.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info14, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info18, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info22, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info24, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info23, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info23, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info18, value, path, diagnostics);
228
+ const server = decodeValue(Info26, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info19, raw, path, diagnostics);
424
+ const provider = decodeValue(Info20, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service63
4
- } from "./bus-fxdzhz3a.js";
3
+ Service68
4
+ } from "./pty-qn39sdbb.js";
5
5
  import {
6
- Service52
7
- } from "./bus-527n8bmw.js";
6
+ Service75
7
+ } from "./pty-byz24ksx.js";
8
8
  import {
9
9
  observe2
10
- } from "./bus-qsdy395h.js";
10
+ } from "./pty-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin26
19
+ Plugin: () => Plugin43
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin26 = define({
23
+ var Plugin43 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service63;
27
- const snapshot = yield* Service52;
26
+ const config = yield* Service68;
27
+ const snapshot = yield* Service75;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin26 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin26, exports_snapshot };
38
+ export { Plugin43, exports_snapshot };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./bus-arcj627b.js";
4
+ } from "./pty-vxdaz8vr.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./bus-y71avatq.js";
7
+ } from "./pty-dpkg50ah.js";
8
8
  import {
9
9
  Service79,
10
10
  node84
11
- } from "./bus-8292cgjf.js";
11
+ } from "./pty-kf7bhd8x.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./bus-ec1grn59.js";
14
+ } from "./pty-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./bus-gftt206x.js";
17
+ } from "./pty-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./bus-2f04pwep.js";
20
+ } from "./pty-9ky66zz9.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./bus-a1bz86dw.js";
24
+ } from "./pty-a1bz86dw.js";
25
25
  import {
26
26
  __export
27
- } from "./bus-9rqn6x4v.js";
27
+ } from "./pty-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info7,
35
+ Info: () => Info5,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service42,
40
+ Service: () => Service40,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer18,
48
+ layer: () => layer17,
49
49
  list: () => list3,
50
- make: () => make17,
50
+ make: () => make15,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node45,
53
+ node: () => node43,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info7,
68
+ Info as Info5,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service42 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service40 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make17 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make15 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service80;
158
158
  const db = database.db;
159
159
  const bus = yield* Service79;
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info7.make({
176
+ }).pipe(Effect.map((event) => Info5.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  timeCreated: DateTime.makeUnsafe(event.created),
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer18 = Layer.effect(Service42, make17());
231
- var node45 = makeGlobalNode({ service: Service42, layer: layer18, deps: [node85, node84] });
230
+ var layer17 = Layer.effect(Service40, make15());
231
+ var node43 = makeGlobalNode({ service: Service40, layer: layer17, deps: [node85, node84] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service42, make17, layer18, node45, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info5, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service40, make15, layer17, node43, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service63
3
- } from "./bus-fxdzhz3a.js";
2
+ Service68
3
+ } from "./pty-qn39sdbb.js";
4
4
  import {
5
- Service58
6
- } from "./bus-vyjzrkx0.js";
5
+ Service36
6
+ } from "./pty-qba6esk9.js";
7
7
  import {
8
8
  observe2
9
- } from "./bus-qsdy395h.js";
9
+ } from "./pty-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./bus-9rqn6x4v.js";
12
+ } from "./pty-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
@@ -22,8 +22,8 @@ import { Effect } from "effect";
22
22
  var Plugin30 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service63;
26
- const image = yield* Service58;
25
+ const config = yield* Service68;
26
+ const image = yield* Service36;
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) {
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service80
3
- } from "./bus-arcj627b.js";
3
+ } from "./pty-vxdaz8vr.js";
4
4
  import {
5
5
  Service79
6
- } from "./bus-8292cgjf.js";
6
+ } from "./pty-kf7bhd8x.js";
7
7
  import {
8
- Service43
9
- } from "./bus-ve6nm2s5.js";
8
+ Service39
9
+ } from "./pty-zcqf6png.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./bus-fxbjtjnd.js";
12
+ } from "./pty-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./bus-gftt206x.js";
15
+ } from "./pty-gftt206x.js";
16
16
  import {
17
- NotFoundError9,
17
+ NotFoundError7,
18
18
  MessageNotFoundError2,
19
19
  MessageNotAssistantError2,
20
20
  MessageIncompleteError2,
@@ -24,61 +24,61 @@ import {
24
24
  CompactionConflictError2,
25
25
  BusyError2,
26
26
  InboxConflictError2
27
- } from "./bus-k7d0894y.js";
27
+ } from "./pty-ye323zqv.js";
28
28
  import {
29
29
  SessionEvent2
30
- } from "./bus-ec1grn59.js";
30
+ } from "./pty-ec1grn59.js";
31
31
  import {
32
- Service73
33
- } from "./bus-gdvdcvqc.js";
32
+ Service53
33
+ } from "./pty-c4jwsn70.js";
34
34
  import {
35
35
  Delivery2,
36
36
  SyntheticPayload2,
37
- Service42
38
- } from "./bus-50tgre74.js";
39
- import {
40
37
  Service40
41
- } from "./bus-jkvdn3cn.js";
38
+ } from "./pty-j08yav90.js";
39
+ import {
40
+ Service37
41
+ } from "./pty-3xfh4yeh.js";
42
42
  import {
43
43
  prepare2
44
- } from "./bus-h03br4j9.js";
44
+ } from "./pty-p0x0xsz0.js";
45
45
  import {
46
46
  stage2,
47
47
  clear2,
48
48
  commit2
49
- } from "./bus-fjta8say.js";
49
+ } from "./pty-e2ryeqwt.js";
50
50
  import {
51
51
  start2
52
- } from "./bus-41tqqwbx.js";
52
+ } from "./pty-jfz1was4.js";
53
53
  import {
54
54
  get4
55
- } from "./bus-edsk2t6a.js";
55
+ } from "./pty-1tq5sqwa.js";
56
56
  import {
57
57
  __export
58
- } from "./bus-9rqn6x4v.js";
58
+ } from "./pty-9rqn6x4v.js";
59
59
 
60
60
  // src/session/session.ts
61
61
  var exports_session2 = {};
62
62
  __export(exports_session2, {
63
63
  Session: () => exports_session2,
64
- make: () => make13
64
+ make: () => make12
65
65
  });
66
66
  import { DateTime, Effect, Fiber, Schema, Scope } from "effect";
67
67
  import { Event } from "@opencode/schema/event";
68
68
  import { FSUtil } from "@opencode/util/fs-util";
69
- var make13 = Effect.fn("Session.make")(function* () {
69
+ var make12 = Effect.fn("Session.make")(function* () {
70
70
  const bus = yield* Service79;
71
71
  const database = yield* Service80;
72
- const store = yield* Service73;
73
- const instances = yield* Service43;
74
- const execution = yield* Service40;
75
- const admission = yield* Service42;
72
+ const store = yield* Service53;
73
+ const instances = yield* Service39;
74
+ const execution = yield* Service37;
75
+ const admission = yield* Service40;
76
76
  const fs = yield* FSUtil.Service;
77
77
  const scope = yield* Scope.Scope;
78
78
  const get = Effect.fn("Session.get")(function* (sessionID) {
79
79
  const session = yield* store.get(sessionID);
80
80
  if (!session)
81
- return yield* new NotFoundError9({ sessionID });
81
+ return yield* new NotFoundError7({ sessionID });
82
82
  return session;
83
83
  });
84
84
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -154,7 +154,7 @@ var make13 = Effect.fn("Session.make")(function* () {
154
154
  });
155
155
  if (existing)
156
156
  return existing;
157
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service43, instances), Effect.provideService(FSUtil.Service, fs)));
157
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service39, instances), Effect.provideService(FSUtil.Service, fs)));
158
158
  if (session.revert)
159
159
  yield* commit2(bus, session);
160
160
  return yield* admission.admit({
@@ -170,7 +170,7 @@ var make13 = Effect.fn("Session.make")(function* () {
170
170
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
171
171
  const session = yield* get(sessionID);
172
172
  const running = yield* Effect.gen(function* () {
173
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service43, instances), Effect.tapError((error) => synthetic(sessionID, {
173
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service39, instances), Effect.tapError((error) => synthetic(sessionID, {
174
174
  text: `User shell command failed to start:
175
175
  ${input.command}
176
176
 
@@ -199,7 +199,7 @@ ${error.message}`,
199
199
  });
200
200
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
201
201
  const session = yield* get(sessionID);
202
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service43, instances));
202
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service39, instances));
203
203
  yield* bus.publish(SessionEvent2.Skill.Activated, {
204
204
  sessionID,
205
205
  id: skill.id,
@@ -256,13 +256,13 @@ ${error.message}`,
256
256
  const session = yield* get(sessionID);
257
257
  if (yield* execution.isActive(sessionID))
258
258
  return yield* new BusyError2({ sessionID });
259
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
259
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service39, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
260
260
  });
261
261
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
262
262
  const session = yield* get(sessionID);
263
263
  if (yield* execution.isActive(sessionID))
264
264
  return yield* new BusyError2({ sessionID });
265
- yield* clear2(session).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service79, bus));
265
+ yield* clear2(session).pipe(Effect.provideService(Service39, instances), Effect.provideService(Service79, bus));
266
266
  return yield* execution.wake(sessionID);
267
267
  });
268
268
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -348,4 +348,4 @@ function isUnfinishedTool(content) {
348
348
  return content.type === "tool" && (content.state.status === "streaming" || content.state.status === "running");
349
349
  }
350
350
 
351
- export { make13, exports_session2 };
351
+ export { make12, exports_session2 };