@opencode/core 0.0.0-dev-20015 → 0.0.0-dev-20016

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{wellknown-ew6kx0p6.js → persistent-pty-06jbrb77.js} +42 -42
  8. package/dist/chunks/{wellknown-ttv07xzh.js → persistent-pty-0fytzj6j.js} +7 -7
  9. package/dist/chunks/{wellknown-7dqw4kz8.js → persistent-pty-0jwsre1p.js} +5 -5
  10. package/dist/chunks/{wellknown-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{wellknown-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{wellknown-p1nm93x7.js → persistent-pty-0r7yqxbf.js} +5 -5
  13. package/dist/chunks/{wellknown-tzrpkbn6.js → persistent-pty-0zaqx4wy.js} +19 -19
  14. package/dist/chunks/{wellknown-cxdfacp5.js → persistent-pty-10e0ba79.js} +17 -17
  15. package/dist/chunks/{wellknown-zdzdf3ey.js → persistent-pty-11df9xd3.js} +1 -1
  16. package/dist/chunks/{wellknown-ck8ktsjh.js → persistent-pty-12pkvdhr.js} +12 -12
  17. package/dist/chunks/{wellknown-7ztcg3jh.js → persistent-pty-19je3c53.js} +10 -10
  18. package/dist/chunks/{wellknown-e248x3jn.js → persistent-pty-1ch5qaya.js} +12 -12
  19. package/dist/chunks/{wellknown-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{wellknown-n2j36c11.js → persistent-pty-1f7h7xqz.js} +10 -10
  21. package/dist/chunks/{wellknown-gvfvsdwj.js → persistent-pty-1j0h6t7s.js} +10 -10
  22. package/dist/chunks/{wellknown-xqetv5hs.js → persistent-pty-1m1ev6p6.js} +24 -24
  23. package/dist/chunks/{wellknown-3erd0crp.js → persistent-pty-1r71k1az.js} +5 -5
  24. package/dist/chunks/{wellknown-fhxvcep3.js → persistent-pty-1t6a8jz5.js} +30 -30
  25. package/dist/chunks/{wellknown-1ygqh575.js → persistent-pty-1ygqh575.js} +2 -2
  26. package/dist/chunks/{wellknown-tnvxhv6y.js → persistent-pty-20wj3b0e.js} +40 -40
  27. package/dist/chunks/{wellknown-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  28. package/dist/chunks/{wellknown-4x95nmfe.js → persistent-pty-22756crb.js} +9 -9
  29. package/dist/chunks/{wellknown-29x78va6.js → persistent-pty-29x78va6.js} +2 -2
  30. package/dist/chunks/{wellknown-qvgv6pvy.js → persistent-pty-29zxs1e8.js} +28 -28
  31. package/dist/chunks/{wellknown-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{wellknown-m9akz2ye.js → persistent-pty-2evxb7qc.js} +19 -19
  33. package/dist/chunks/{wellknown-ss0awb04.js → persistent-pty-2jmaghvr.js} +6 -6
  34. package/dist/chunks/{wellknown-2k71kv7p.js → persistent-pty-2k71kv7p.js} +1 -1
  35. package/dist/chunks/{wellknown-qmqgtz8f.js → persistent-pty-2sejkfem.js} +9 -9
  36. package/dist/chunks/{wellknown-ycmcyef6.js → persistent-pty-2w1mqpqm.js} +1 -1
  37. package/dist/chunks/{wellknown-xzx42szb.js → persistent-pty-2wdjn665.js} +6 -6
  38. package/dist/chunks/{wellknown-hz98z1q8.js → persistent-pty-2zgjdn2h.js} +20 -20
  39. package/dist/chunks/{wellknown-5gxdm36g.js → persistent-pty-33mefhds.js} +14 -14
  40. package/dist/chunks/{wellknown-sy6bk0cy.js → persistent-pty-396s32cg.js} +49 -49
  41. package/dist/chunks/{wellknown-fz5ffk87.js → persistent-pty-3dz8xqcq.js} +3 -3
  42. package/dist/chunks/{wellknown-6h17d7qm.js → persistent-pty-3ezhmtbn.js} +24 -24
  43. package/dist/chunks/{wellknown-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{wellknown-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{wellknown-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{wellknown-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{wellknown-zgd6949r.js → persistent-pty-3vh13j3b.js} +6 -6
  48. package/dist/chunks/{wellknown-r80rqf00.js → persistent-pty-41v30afh.js} +6 -6
  49. package/dist/chunks/{wellknown-nez2zdg8.js → persistent-pty-447xk7wn.js} +20 -20
  50. package/dist/chunks/{wellknown-0hwqs4ra.js → persistent-pty-49am0wpx.js} +9 -9
  51. package/dist/chunks/{wellknown-bhwqep5b.js → persistent-pty-4d90bajk.js} +35 -35
  52. package/dist/chunks/{wellknown-h6r3nrb9.js → persistent-pty-4dgbcxzg.js} +4 -4
  53. package/dist/chunks/{wellknown-ah6f1wds.js → persistent-pty-4hwe5s31.js} +11 -11
  54. package/dist/chunks/{wellknown-hbyhqfhs.js → persistent-pty-4n607a2z.js} +5 -5
  55. package/dist/chunks/{wellknown-7wgz26gy.js → persistent-pty-4stp5haz.js} +20 -20
  56. package/dist/chunks/{wellknown-8d0p2m37.js → persistent-pty-4tb9kxn6.js} +6 -6
  57. package/dist/chunks/{wellknown-x3gbj4ze.js → persistent-pty-59asnkcp.js} +16 -16
  58. package/dist/chunks/{wellknown-prbkj228.js → persistent-pty-5b07h487.js} +3 -3
  59. package/dist/chunks/{wellknown-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  60. package/dist/chunks/{wellknown-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
  61. package/dist/chunks/{wellknown-sxcapxxz.js → persistent-pty-5g079bry.js} +18 -18
  62. package/dist/chunks/{wellknown-kcnbys9f.js → persistent-pty-5jecfbj8.js} +19 -19
  63. package/dist/chunks/{wellknown-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{wellknown-6qq5k41z.js → persistent-pty-5vyrtx1r.js} +12 -12
  65. package/dist/chunks/{wellknown-669tq793.js → persistent-pty-669tq793.js} +1 -1
  66. package/dist/chunks/{wellknown-hwder3tb.js → persistent-pty-66rnaxsh.js} +20 -20
  67. package/dist/chunks/{wellknown-y5fg7de6.js → persistent-pty-6f7ecbcm.js} +11 -11
  68. package/dist/chunks/{wellknown-2402vzrj.js → persistent-pty-6h73sxmp.js} +5 -5
  69. package/dist/chunks/{wellknown-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{wellknown-hfdr1yjj.js → persistent-pty-6s9eyz9r.js} +4 -4
  71. package/dist/chunks/{wellknown-4sz2x7hf.js → persistent-pty-738s90ft.js} +7 -7
  72. package/dist/chunks/{wellknown-6m7r7my1.js → persistent-pty-74a578b2.js} +4 -4
  73. package/dist/chunks/{wellknown-5w56pkd8.js → persistent-pty-74x1x3cs.js} +14 -14
  74. package/dist/chunks/{wellknown-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{wellknown-sghxnkc4.js → persistent-pty-7fjf7ynj.js} +26 -26
  76. package/dist/chunks/{wellknown-z8fpy401.js → persistent-pty-7ggntmd7.js} +8 -8
  77. package/dist/chunks/{wellknown-3m9w1x1p.js → persistent-pty-7nrwpcb0.js} +3 -3
  78. package/dist/chunks/{wellknown-f05brn5b.js → persistent-pty-7rv8b2xc.js} +33 -33
  79. package/dist/chunks/{wellknown-9azvwyrc.js → persistent-pty-7rv8b3vf.js} +9 -9
  80. package/dist/chunks/{wellknown-bw03vhcb.js → persistent-pty-7z7az0f5.js} +4 -4
  81. package/dist/chunks/{wellknown-fyqzgcv4.js → persistent-pty-80q9mm34.js} +36 -36
  82. package/dist/chunks/{wellknown-2a0e18b9.js → persistent-pty-82nx54qp.js} +26 -26
  83. package/dist/chunks/{wellknown-m91gvp7t.js → persistent-pty-87deq66t.js} +4 -4
  84. package/dist/chunks/{wellknown-8555mwqv.js → persistent-pty-88f7a0ag.js} +9 -9
  85. package/dist/chunks/{wellknown-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
  86. package/dist/chunks/{wellknown-77bngwj8.js → persistent-pty-8agyb5zv.js} +33 -33
  87. package/dist/chunks/{wellknown-86558t1r.js → persistent-pty-8anfpmjy.js} +4 -4
  88. package/dist/chunks/{wellknown-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{wellknown-qxqfwknd.js → persistent-pty-8j056ny1.js} +18 -18
  90. package/dist/chunks/{wellknown-8p4f9s12.js → persistent-pty-8p4f9s12.js} +2 -2
  91. package/dist/chunks/{wellknown-s8ts6h6d.js → persistent-pty-98p0gwkd.js} +22 -22
  92. package/dist/chunks/{wellknown-cbppr8rb.js → persistent-pty-99bynxv0.js} +47 -47
  93. package/dist/chunks/{wellknown-bjyw556y.js → persistent-pty-99kpm3x9.js} +17 -17
  94. package/dist/chunks/{wellknown-rdp4wc65.js → persistent-pty-9dnw0xb8.js} +37 -37
  95. package/dist/chunks/{wellknown-d3zdhyhy.js → persistent-pty-9tghz495.js} +9 -9
  96. package/dist/chunks/{wellknown-42az957r.js → persistent-pty-9zvz2vs6.js} +14 -14
  97. package/dist/chunks/{wellknown-a1bz86dw.js → persistent-pty-a1bz86dw.js} +3 -3
  98. package/dist/chunks/persistent-pty-a3se19xg.js +26 -0
  99. package/dist/chunks/{wellknown-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  100. package/dist/chunks/{wellknown-3cz8rj72.js → persistent-pty-af04s6ss.js} +5 -5
  101. package/dist/chunks/{wellknown-4eg6c75a.js → persistent-pty-ahh07121.js} +17 -17
  102. package/dist/chunks/{wellknown-c8tfeya1.js → persistent-pty-atr6khgd.js} +6 -6
  103. package/dist/chunks/{wellknown-7467d5w6.js → persistent-pty-axw7a489.js} +26 -26
  104. package/dist/chunks/{wellknown-kbegyq1c.js → persistent-pty-b09hzw3k.js} +2 -2
  105. package/dist/chunks/{wellknown-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{wellknown-tqyj18ad.js → persistent-pty-b82616de.js} +3 -3
  107. package/dist/chunks/{wellknown-yamwt51v.js → persistent-pty-bbsnv5g3.js} +15 -15
  108. package/dist/chunks/{wellknown-60a9dcfa.js → persistent-pty-bm5kp989.js} +52 -52
  109. package/dist/chunks/{wellknown-y219b4sg.js → persistent-pty-bnsead3g.js} +26 -26
  110. package/dist/chunks/{wellknown-ger4g5qw.js → persistent-pty-bpyfysax.js} +11 -11
  111. package/dist/chunks/{wellknown-0xezjjjn.js → persistent-pty-c27esgm9.js} +8 -8
  112. package/dist/chunks/{wellknown-g4g8wjxm.js → persistent-pty-c8qdwc3q.js} +9 -9
  113. package/dist/chunks/{wellknown-cfpkc3c9.js → persistent-pty-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{wellknown-9hn6k4tm.js → persistent-pty-cmwkp3r5.js} +8 -8
  115. package/dist/chunks/{wellknown-26mnwjmz.js → persistent-pty-cnc2tv60.js} +20 -20
  116. package/dist/chunks/{wellknown-mr7qc4kr.js → persistent-pty-cqfe4aef.js} +2 -2
  117. package/dist/chunks/{wellknown-5ankvwbc.js → persistent-pty-cvwc1v0p.js} +3 -3
  118. package/dist/chunks/{wellknown-1nd6q0ex.js → persistent-pty-dca16q2k.js} +35 -35
  119. package/dist/chunks/{wellknown-be60nag3.js → persistent-pty-ddbc03cc.js} +1 -1
  120. package/dist/chunks/{wellknown-szmg3mdt.js → persistent-pty-dep4c52h.js} +19 -19
  121. package/dist/chunks/{wellknown-3j8sdtpz.js → persistent-pty-dfe8djrf.js} +4 -4
  122. package/dist/chunks/{wellknown-q0qebxta.js → persistent-pty-dhwr7h25.js} +8 -8
  123. package/dist/chunks/{wellknown-dq0v80fr.js → persistent-pty-dq0v80fr.js} +5 -5
  124. package/dist/chunks/{wellknown-xfkkasph.js → persistent-pty-drwq78ky.js} +4 -4
  125. package/dist/chunks/{wellknown-18s9r5gn.js → persistent-pty-ds0wasgv.js} +4 -4
  126. package/dist/chunks/{wellknown-9xmpprty.js → persistent-pty-dvdevqhx.js} +16 -16
  127. package/dist/chunks/{wellknown-tbv09xg6.js → persistent-pty-dwpcx2qb.js} +15 -15
  128. package/dist/chunks/{wellknown-fwk4th24.js → persistent-pty-dwxz0xt6.js} +17 -17
  129. package/dist/chunks/{wellknown-8q026d2n.js → persistent-pty-e4f61vrf.js} +27 -27
  130. package/dist/chunks/{wellknown-s8d7rejh.js → persistent-pty-eaj1djv9.js} +6 -6
  131. package/dist/chunks/{wellknown-q02ac9xg.js → persistent-pty-edsv4ebh.js} +3 -3
  132. package/dist/chunks/{wellknown-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{wellknown-eq1pz5kg.js → persistent-pty-eq1pz5kg.js} +1 -1
  134. package/dist/chunks/{wellknown-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
  135. package/dist/chunks/{wellknown-r5q7e66c.js → persistent-pty-esg06bhp.js} +10 -10
  136. package/dist/chunks/{wellknown-0zt6w2g5.js → persistent-pty-estb5scc.js} +7 -7
  137. package/dist/chunks/{wellknown-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{wellknown-3w2b2yj4.js → persistent-pty-evbgk2k8.js} +5 -5
  139. package/dist/chunks/{wellknown-8kxj4zhn.js → persistent-pty-eve2cjg0.js} +13 -13
  140. package/dist/chunks/{wellknown-4js4cn07.js → persistent-pty-ey211aqw.js} +6 -6
  141. package/dist/chunks/{wellknown-97j4gngf.js → persistent-pty-f1d38761.js} +6 -6
  142. package/dist/chunks/{wellknown-yp2x3t23.js → persistent-pty-f2n192rq.js} +4 -4
  143. package/dist/chunks/{wellknown-f828m53h.js → persistent-pty-f828m53h.js} +2 -2
  144. package/dist/chunks/{wellknown-pzz5gwak.js → persistent-pty-fd34zh6k.js} +17 -17
  145. package/dist/chunks/{wellknown-fp90krns.js → persistent-pty-fmc4p1es.js} +23 -23
  146. package/dist/chunks/{wellknown-0arvt5dd.js → persistent-pty-ftbmn9zb.js} +1 -1
  147. package/dist/chunks/{wellknown-1wp196zj.js → persistent-pty-fv57xrbx.js} +10 -10
  148. package/dist/chunks/{wellknown-2bkkw097.js → persistent-pty-fvvjxtsr.js} +12 -12
  149. package/dist/chunks/{wellknown-fxmgg4aj.js → persistent-pty-fxmgg4aj.js} +1 -1
  150. package/dist/chunks/{wellknown-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{wellknown-fhsk4sj8.js → persistent-pty-ged2zmeh.js} +8 -8
  152. package/dist/chunks/{wellknown-577wnmha.js → persistent-pty-gerte707.js} +35 -35
  153. package/dist/chunks/{wellknown-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/persistent-pty-gyce5qg1.js +18 -0
  155. package/dist/chunks/{wellknown-qdjg77dv.js → persistent-pty-h4fcns97.js} +32 -32
  156. package/dist/chunks/{wellknown-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{wellknown-fdms3n6w.js → persistent-pty-h71w788e.js} +9 -9
  158. package/dist/chunks/{wellknown-ar12vt33.js → persistent-pty-hdn6fj78.js} +15 -15
  159. package/dist/chunks/{wellknown-e7e86k0y.js → persistent-pty-hfyjynd0.js} +310 -310
  160. package/dist/chunks/{wellknown-s2sv8eth.js → persistent-pty-hmnhqwz4.js} +8 -8
  161. package/dist/chunks/{wellknown-qxft83g5.js → persistent-pty-hqefjfxk.js} +93 -93
  162. package/dist/chunks/persistent-pty-hr9dp009.js +4 -0
  163. package/dist/chunks/{wellknown-jvs2my8y.js → persistent-pty-hx17dh2f.js} +4 -4
  164. package/dist/chunks/{wellknown-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  165. package/dist/chunks/{wellknown-qwn6egxe.js → persistent-pty-j95ssxkc.js} +2 -2
  166. package/dist/chunks/{wellknown-6wn3t8f3.js → persistent-pty-jb4h23rf.js} +40 -40
  167. package/dist/chunks/{wellknown-d04kyvrs.js → persistent-pty-jcq5jrrk.js} +25 -25
  168. package/dist/chunks/{wellknown-k6390e4c.js → persistent-pty-jd81myvt.js} +8 -8
  169. package/dist/chunks/{wellknown-hryk019r.js → persistent-pty-jdw8m902.js} +3 -3
  170. package/dist/chunks/{wellknown-909p1r3q.js → persistent-pty-jhf3jymm.js} +6 -6
  171. package/dist/chunks/{wellknown-89bb6baa.js → persistent-pty-jn0tk1mz.js} +8 -8
  172. package/dist/chunks/{wellknown-t2peggv0.js → persistent-pty-jp07c0tv.js} +15 -15
  173. package/dist/chunks/{wellknown-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
  174. package/dist/chunks/{wellknown-38z5952t.js → persistent-pty-k3sdfjqa.js} +29 -29
  175. package/dist/chunks/{wellknown-fmbpzfbx.js → persistent-pty-k3yt7har.js} +4 -4
  176. package/dist/chunks/{wellknown-g7wqhp41.js → persistent-pty-k5xdewjb.js} +10 -10
  177. package/dist/chunks/{wellknown-7rjvgzht.js → persistent-pty-k91r4kkq.js} +29 -29
  178. package/dist/chunks/{wellknown-ynaxd7hq.js → persistent-pty-k9pvwaf2.js} +32 -32
  179. package/dist/chunks/{wellknown-nb5yhrhy.js → persistent-pty-kbcdw4nv.js} +11 -11
  180. package/dist/chunks/{wellknown-0f807cgd.js → persistent-pty-kbh1r6q9.js} +7 -7
  181. package/dist/chunks/{wellknown-k9kj6xed.js → persistent-pty-knb7evpn.js} +6 -6
  182. package/dist/chunks/{wellknown-jp00t8em.js → persistent-pty-knc8cwjj.js} +26 -26
  183. package/dist/chunks/{wellknown-861ts5g7.js → persistent-pty-ktabkpdb.js} +29 -29
  184. package/dist/chunks/{wellknown-h3a6n0gd.js → persistent-pty-kv06je6w.js} +1 -1
  185. package/dist/chunks/{wellknown-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{wellknown-6hr9dd4j.js → persistent-pty-m41fsdzn.js} +22 -22
  187. package/dist/chunks/{wellknown-zfvs7pz1.js → persistent-pty-m941nnpz.js} +89 -89
  188. package/dist/chunks/{wellknown-avzy01gw.js → persistent-pty-m9tv1fb9.js} +8 -8
  189. package/dist/chunks/{wellknown-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{wellknown-yzfxyp7w.js → persistent-pty-me8c0bby.js} +15 -15
  191. package/dist/chunks/{wellknown-wfqz603p.js → persistent-pty-mnhqa9m1.js} +10 -10
  192. package/dist/chunks/{wellknown-fm2qvscf.js → persistent-pty-mtq6xxnx.js} +7 -7
  193. package/dist/chunks/{wellknown-t8zrczn5.js → persistent-pty-mzm30qtr.js} +27 -27
  194. package/dist/chunks/{wellknown-mr0kc0w8.js → persistent-pty-n2cwydza.js} +15 -15
  195. package/dist/chunks/{wellknown-ntg45faq.js → persistent-pty-n8wxhx57.js} +16 -16
  196. package/dist/chunks/{wellknown-v9xqgdg6.js → persistent-pty-nggwfnrx.js} +3 -3
  197. package/dist/chunks/{wellknown-ssnjgvf0.js → persistent-pty-nhapt3yy.js} +13 -13
  198. package/dist/chunks/{wellknown-agf7s1yd.js → persistent-pty-nme0kws8.js} +156 -156
  199. package/dist/chunks/{wellknown-ndy6t9hy.js → persistent-pty-nrnm2w2a.js} +15 -15
  200. package/dist/chunks/{wellknown-v5hfp1qn.js → persistent-pty-nv5y4rap.js} +15 -15
  201. package/dist/chunks/{wellknown-rwah0hny.js → persistent-pty-nvavs34c.js} +12 -12
  202. package/dist/chunks/{wellknown-zh2jvsk5.js → persistent-pty-p8j15tse.js} +29 -29
  203. package/dist/chunks/{wellknown-5cypykm5.js → persistent-pty-p9xf3fyt.js} +72 -72
  204. package/dist/chunks/{wellknown-6bbg3zvf.js → persistent-pty-pd7psa0a.js} +28 -28
  205. package/dist/chunks/{wellknown-pm7m0prv.js → persistent-pty-phzzgaq9.js} +28 -28
  206. package/dist/chunks/{wellknown-57ez7d0k.js → persistent-pty-pjmw00w1.js} +7 -7
  207. package/dist/chunks/{wellknown-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{wellknown-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  209. package/dist/chunks/{wellknown-7w520p4z.js → persistent-pty-pkpv8qry.js} +27 -27
  210. package/dist/chunks/{wellknown-dzw83ac5.js → persistent-pty-pnkbpv6t.js} +9 -9
  211. package/dist/chunks/{wellknown-17h1zmn8.js → persistent-pty-q1baby6z.js} +24 -24
  212. package/dist/chunks/{wellknown-jp9pm8f0.js → persistent-pty-q1z1ejdm.js} +13 -13
  213. package/dist/chunks/{wellknown-4amv5ejf.js → persistent-pty-q340vck3.js} +15 -15
  214. package/dist/chunks/{wellknown-w8gd3cr1.js → persistent-pty-qd1yxrve.js} +29 -29
  215. package/dist/chunks/{wellknown-qg0jgkcp.js → persistent-pty-qg0jgkcp.js} +2 -2
  216. package/dist/chunks/{wellknown-s1aevwv4.js → persistent-pty-qg7vme5a.js} +9 -9
  217. package/dist/chunks/{wellknown-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  218. package/dist/chunks/{wellknown-ptpqx32c.js → persistent-pty-r3q3r4fd.js} +10 -10
  219. package/dist/chunks/{wellknown-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{wellknown-005v6d8j.js → persistent-pty-rqng2g8m.js} +13 -13
  221. package/dist/chunks/{wellknown-graq44t8.js → persistent-pty-rs8bkfty.js} +2 -2
  222. package/dist/chunks/{wellknown-ajzsbz6h.js → persistent-pty-s375a249.js} +8 -8
  223. package/dist/chunks/{wellknown-dqgqctr2.js → persistent-pty-s3q9eqgg.js} +5 -5
  224. package/dist/chunks/{wellknown-s4enseaf.js → persistent-pty-s4enseaf.js} +2 -2
  225. package/dist/chunks/{wellknown-apqne479.js → persistent-pty-s69js0dt.js} +11 -11
  226. package/dist/chunks/{wellknown-yc351h59.js → persistent-pty-s9vmnz44.js} +29 -29
  227. package/dist/chunks/{wellknown-qev0n5q3.js → persistent-pty-sd97x1rd.js} +8 -8
  228. package/dist/chunks/{wellknown-gzbkpp9m.js → persistent-pty-spt9fbav.js} +6 -6
  229. package/dist/chunks/{wellknown-s24jje4v.js → persistent-pty-sqj2vzfe.js} +8 -8
  230. package/dist/chunks/{wellknown-27bw44bf.js → persistent-pty-sqk9sjde.js} +37 -37
  231. package/dist/chunks/{wellknown-hz5s550c.js → persistent-pty-sw10j4fd.js} +11 -11
  232. package/dist/chunks/{wellknown-hgneaeq4.js → persistent-pty-syb1njrq.js} +3 -3
  233. package/dist/chunks/{wellknown-w2dpba99.js → persistent-pty-t0bev62h.js} +27 -27
  234. package/dist/chunks/{wellknown-ynjg9crq.js → persistent-pty-t2genxjv.js} +15 -15
  235. package/dist/chunks/{wellknown-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{wellknown-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  237. package/dist/chunks/{wellknown-20paef8v.js → persistent-pty-tdvhbj2h.js} +14 -14
  238. package/dist/chunks/{wellknown-0bvx96xy.js → persistent-pty-tez6bvh6.js} +12 -12
  239. package/dist/chunks/{wellknown-azdphh7y.js → persistent-pty-tpfmta5c.js} +54 -54
  240. package/dist/chunks/{wellknown-4x1anmn8.js → persistent-pty-tpteeg0v.js} +11 -11
  241. package/dist/chunks/{wellknown-1dangqhw.js → persistent-pty-trgr51ha.js} +8 -8
  242. package/dist/chunks/{wellknown-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  243. package/dist/chunks/{wellknown-zvt5dnpc.js → persistent-pty-tz4n1mmd.js} +4 -4
  244. package/dist/chunks/{wellknown-5xe7gppd.js → persistent-pty-v0vggfb5.js} +32 -32
  245. package/dist/chunks/{wellknown-m9pd1gc5.js → persistent-pty-v5xmz3sz.js} +57 -57
  246. package/dist/chunks/{wellknown-23d69azt.js → persistent-pty-v6tx60m1.js} +3 -3
  247. package/dist/chunks/{wellknown-53b1mpzx.js → persistent-pty-ve7cjxtc.js} +13 -13
  248. package/dist/chunks/{wellknown-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  249. package/dist/chunks/{wellknown-t0sqncza.js → persistent-pty-vrpz8t5t.js} +5 -5
  250. package/dist/chunks/{wellknown-21y9ahke.js → persistent-pty-vsbqxt6s.js} +49 -49
  251. package/dist/chunks/{wellknown-s8j6jbjj.js → persistent-pty-vsp1fds9.js} +4 -4
  252. package/dist/chunks/{wellknown-rjtq0f3t.js → persistent-pty-vsrpz7fz.js} +43 -43
  253. package/dist/chunks/{wellknown-vtxr0yy2.js → persistent-pty-vtxr0yy2.js} +2 -2
  254. package/dist/chunks/persistent-pty-vz5jjned.js +252 -0
  255. package/dist/chunks/{wellknown-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{wellknown-28cr570f.js → persistent-pty-vzd5qgkw.js} +6 -6
  257. package/dist/chunks/{wellknown-tc6qcdy5.js → persistent-pty-w1ad28wa.js} +8 -8
  258. package/dist/chunks/{wellknown-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{wellknown-x173ns5x.js → persistent-pty-w4nag94s.js} +41 -41
  260. package/dist/chunks/{wellknown-awx6ynpm.js → persistent-pty-wbj67nwc.js} +29 -29
  261. package/dist/chunks/{wellknown-ws63j1g1.js → persistent-pty-wc9pv775.js} +10 -10
  262. package/dist/chunks/{wellknown-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  263. package/dist/chunks/{wellknown-4st820mz.js → persistent-pty-wxd0tmpv.js} +10 -10
  264. package/dist/chunks/{wellknown-w6asm2z7.js → persistent-pty-x18v0msy.js} +13 -13
  265. package/dist/chunks/{wellknown-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{wellknown-jcn9q2cd.js → persistent-pty-x20zfesq.js} +28 -28
  267. package/dist/chunks/{wellknown-zykkgz7j.js → persistent-pty-x91n6wh8.js} +17 -17
  268. package/dist/chunks/{wellknown-btp2s2ba.js → persistent-pty-xgrywr61.js} +24 -24
  269. package/dist/chunks/{wellknown-m49041cj.js → persistent-pty-xhj0xgtv.js} +4 -4
  270. package/dist/chunks/{wellknown-r0btsynf.js → persistent-pty-xjc1bjsh.js} +12 -12
  271. package/dist/chunks/{wellknown-nhyt8ne9.js → persistent-pty-xpbx2hne.js} +23 -23
  272. package/dist/chunks/{wellknown-km3wep78.js → persistent-pty-xq8k2nwn.js} +23 -23
  273. package/dist/chunks/{wellknown-wxdbwfxs.js → persistent-pty-xrsrnds8.js} +12 -12
  274. package/dist/chunks/{wellknown-je00n9cw.js → persistent-pty-xxdx3sf5.js} +34 -34
  275. package/dist/chunks/{wellknown-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{wellknown-n7d88tpn.js → persistent-pty-y6f0p4jw.js} +2 -2
  277. package/dist/chunks/{wellknown-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
  278. package/dist/chunks/{wellknown-ycpezjby.js → persistent-pty-yeeaz69z.js} +14 -14
  279. package/dist/chunks/{wellknown-ejxqht49.js → persistent-pty-yj4nt1a3.js} +32 -32
  280. package/dist/chunks/{wellknown-bs3jb15w.js → persistent-pty-yrb6fvgd.js} +9 -9
  281. package/dist/chunks/{wellknown-6r8ft0s7.js → persistent-pty-yrg2qc8f.js} +11 -11
  282. package/dist/chunks/{wellknown-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{wellknown-vq092s7a.js → persistent-pty-yxaf12v7.js} +11 -11
  284. package/dist/chunks/{wellknown-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{wellknown-dagkn99r.js → persistent-pty-z3mtvqww.js} +1 -1
  286. package/dist/chunks/{wellknown-24357f79.js → persistent-pty-z5rzna54.js} +6 -6
  287. package/dist/chunks/{wellknown-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{wellknown-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{wellknown-py3q8vm7.js → persistent-pty-zx2jxj74.js} +9 -9
  290. package/dist/chunks/{wellknown-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +120 -120
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +141 -141
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -82
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +73 -73
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +224 -224
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +83 -83
  431. package/dist/formatter/builtins.js +2 -2
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +94 -94
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +83 -83
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +134 -134
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +86 -86
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +125 -125
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +90 -90
  481. package/dist/model-resolver.js +97 -97
  482. package/dist/model.js +101 -101
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +79 -79
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +110 -110
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +85 -85
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +101 -101
  494. package/dist/plugin/command.js +98 -98
  495. package/dist/plugin/compaction.js +130 -130
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +1 -1
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +73 -73
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +138 -138
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +350 -350
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +220 -220
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +87 -87
  563. package/dist/provider.js +96 -96
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +95 -95
  568. package/dist/reference/instructions.js +86 -86
  569. package/dist/reference.js +88 -88
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +94 -94
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +133 -133
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +223 -223
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +150 -150
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +87 -87
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +92 -92
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +116 -116
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +113 -113
  608. package/dist/session/runner/step.js +125 -125
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +3 -3
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +86 -86
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +209 -209
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +215 -215
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +2 -2
  631. package/dist/skill/instructions.js +104 -104
  632. package/dist/skill.js +109 -109
  633. package/dist/snapshot.js +88 -88
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +126 -126
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +123 -123
  641. package/dist/tool/plugin/grep.js +123 -123
  642. package/dist/tool/plugin/opencode.js +1 -1
  643. package/dist/tool/plugin/patch.js +121 -121
  644. package/dist/tool/plugin/question.js +104 -104
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +214 -214
  647. package/dist/tool/plugin/skill.js +106 -106
  648. package/dist/tool/plugin/subagent.js +208 -208
  649. package/dist/tool/plugin/webfetch.js +109 -109
  650. package/dist/tool/plugin/websearch.js +111 -111
  651. package/dist/tool/plugin/write.js +119 -119
  652. package/dist/tool/read-filesystem.js +95 -95
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +5 -5
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +90 -90
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +83 -83
  686. package/dist/wellknown/plugin.js +73 -73
  687. package/dist/wellknown.js +80 -80
  688. package/dist/workspace/driver.js +3 -3
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -79
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +95 -95
  696. package/package.json +8 -8
  697. package/dist/chunks/wellknown-2sccn0q1.js +0 -26
  698. package/dist/chunks/wellknown-3k0beh9c.js +0 -252
  699. package/dist/chunks/wellknown-4v7qdvcn.js +0 -18
  700. package/dist/chunks/wellknown-qapv375x.js +0 -4
  701. /package/dist/chunks/{wellknown-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{wellknown-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{wellknown-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{wellknown-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{wellknown-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{wellknown-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{wellknown-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{wellknown-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{wellknown-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{wellknown-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{wellknown-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  712. /package/dist/chunks/{wellknown-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{wellknown-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{wellknown-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{wellknown-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{wellknown-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{wellknown-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{wellknown-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{wellknown-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  720. /package/dist/chunks/{wellknown-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{wellknown-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  722. /package/dist/chunks/{wellknown-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{wellknown-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{wellknown-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  725. /package/dist/chunks/{wellknown-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{wellknown-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{wellknown-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  728. /package/dist/chunks/{wellknown-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{wellknown-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{wellknown-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{wellknown-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{wellknown-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{wellknown-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{wellknown-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{wellknown-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{wellknown-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{wellknown-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{wellknown-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{wellknown-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{wellknown-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{wellknown-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{wellknown-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{wellknown-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  744. /package/dist/chunks/{wellknown-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{wellknown-e3qxr5gk.js → persistent-pty-e3qxr5gk.js} +0 -0
  746. /package/dist/chunks/{wellknown-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{wellknown-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{wellknown-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{wellknown-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{wellknown-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{wellknown-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{wellknown-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{wellknown-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{wellknown-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{wellknown-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{wellknown-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{wellknown-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  758. /package/dist/chunks/{wellknown-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{wellknown-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  760. /package/dist/chunks/{wellknown-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{wellknown-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  762. /package/dist/chunks/{wellknown-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{wellknown-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{wellknown-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{wellknown-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{wellknown-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{wellknown-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{wellknown-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{wellknown-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{wellknown-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{wellknown-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{wellknown-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{wellknown-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{wellknown-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{wellknown-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{wellknown-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{wellknown-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{wellknown-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{wellknown-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{wellknown-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{wellknown-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{wellknown-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{wellknown-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{wellknown-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{wellknown-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{wellknown-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{wellknown-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{wellknown-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{wellknown-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{wellknown-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  791. /package/dist/chunks/{wellknown-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{wellknown-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{wellknown-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{wellknown-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{wellknown-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{wellknown-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service83
3
- } from "./wellknown-0bvx96xy.js";
2
+ Service80
3
+ } from "./persistent-pty-tez6bvh6.js";
4
4
  import {
5
- Service24,
6
- Event5
7
- } from "./wellknown-bhwqep5b.js";
5
+ Service29,
6
+ Event4
7
+ } from "./persistent-pty-4d90bajk.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service24;
33
- const bus = yield* Service83;
32
+ const modelsDev = yield* Service29;
33
+ const bus = yield* Service80;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
36
36
  for (const provider of loaded.data) {
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
63
63
  loaded.data = snapshots(data);
64
64
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
65
65
  };
66
- yield* bus.subscribe(Event5.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
66
+ yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
67
67
  const latest = yield* modelsDev.get();
68
68
  if (snapshots(latest) !== loaded.data)
69
69
  yield* apply(latest);
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./wellknown-2a5m3afh.js";
3
+ } from "./persistent-pty-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./wellknown-922hggd3.js";
6
+ } from "./persistent-pty-922hggd3.js";
7
7
  import {
8
- Service80
9
- } from "./wellknown-ntg45faq.js";
8
+ Service76
9
+ } from "./persistent-pty-n8wxhx57.js";
10
10
  import {
11
- Service64
12
- } from "./wellknown-17h1zmn8.js";
11
+ Service69
12
+ } from "./persistent-pty-q1baby6z.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service59
16
- } from "./wellknown-5w56pkd8.js";
15
+ Service68
16
+ } from "./persistent-pty-74x1x3cs.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry2,
21
+ Entry4,
22
22
  Match2
23
- } from "./wellknown-ejxqht49.js";
23
+ } from "./persistent-pty-yj4nt1a3.js";
24
24
  import {
25
- Service66
26
- } from "./wellknown-azdphh7y.js";
25
+ Service41
26
+ } from "./persistent-pty-tpfmta5c.js";
27
27
  import {
28
- Service20
29
- } from "./wellknown-qxqfwknd.js";
28
+ Service32
29
+ } from "./persistent-pty-8j056ny1.js";
30
30
  import {
31
31
  __export
32
- } from "./wellknown-9rqn6x4v.js";
32
+ } from "./persistent-pty-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input12,
39
- Output: () => Output8,
40
- Plugin: () => Plugin29,
41
- name: () => name12,
42
- toModelContent: () => toModelContent6
38
+ Input: () => Input7,
39
+ Output: () => Output6,
40
+ Plugin: () => Plugin23,
41
+ name: () => name7,
42
+ toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name12 = "grep";
48
- var Input12 = Schema.Struct({
47
+ var name7 = "grep";
48
+ var Input7 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input12 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output8 = Schema.Array(Match2);
69
- var toModelContent6 = (matches, truncated = false) => {
68
+ var Output6 = Schema.Array(Match2);
69
+ var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin29 = {
86
+ var Plugin23 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service64;
90
- const ripgrep = yield* Service59;
91
- const location = yield* Service80;
92
- const access = yield* Service20;
93
- const permission = yield* Service66;
89
+ const environment = yield* Service69;
90
+ const ripgrep = yield* Service68;
91
+ const location = yield* Service76;
92
+ const access = yield* Service32;
93
+ const permission = yield* Service41;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name12,
95
+ name: name7,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input12,
99
- output: Output8,
98
+ input: Input7,
99
+ output: Output6,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name12,
105
+ action: name7,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -136,7 +136,7 @@ var Plugin29 = {
136
136
  }))
137
137
  }), Effect.map((result) => result.map((match) => Match2.make({
138
138
  ...match,
139
- entry: Entry2.make({
139
+ entry: Entry4.make({
140
140
  ...match.entry,
141
141
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
142
142
  })
@@ -144,7 +144,7 @@ var Plugin29 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent6(result.matches.map((match) => ({
147
+ content: toModelContent3(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin29 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name12, Input12, Output8, toModelContent6, Plugin29, exports_grep };
157
+ export { name7, Input7, Output6, toModelContent3, Plugin23, exports_grep };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service48
3
- } from "./wellknown-4eg6c75a.js";
2
+ Service40
3
+ } from "./persistent-pty-ahh07121.js";
4
4
  import {
5
- Service27
6
- } from "./wellknown-qxft83g5.js";
5
+ Service15
6
+ } from "./persistent-pty-hqefjfxk.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./wellknown-x1ezjp6w.js";
10
+ } from "./persistent-pty-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./wellknown-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make10
19
+ make: () => make9
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make10 = Effect.gen(function* () {
23
- const sessions = yield* Service27;
24
- const jobs = yield* Service48;
22
+ var make9 = Effect.gen(function* () {
23
+ const sessions = yield* Service15;
24
+ const jobs = yield* Service40;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make10 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make10, exports_subagent_job };
61
+ export { make9, exports_subagent_job };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ID13
3
- } from "./wellknown-861ts5g7.js";
3
+ } from "./persistent-pty-ktabkpdb.js";
4
4
  import {
5
5
  iife2
6
- } from "./wellknown-1kg9ymc8.js";
6
+ } from "./persistent-pty-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./wellknown-c8tfeya1.js";
9
+ } from "./persistent-pty-atr6khgd.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-ai-gateway.ts
12
12
  import { Effect } from "effect";
@@ -1,25 +1,25 @@
1
+ import {
2
+ Service80,
3
+ node84
4
+ } from "./persistent-pty-tez6bvh6.js";
1
5
  import {
2
6
  Service83,
3
7
  node87
4
- } from "./wellknown-0bvx96xy.js";
5
- import {
6
- Service74,
7
- node78
8
- } from "./wellknown-gvfvsdwj.js";
8
+ } from "./persistent-pty-1j0h6t7s.js";
9
9
  import {
10
10
  create3
11
- } from "./wellknown-rdw6cm16.js";
11
+ } from "./persistent-pty-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./wellknown-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event7,
21
- ID: () => ID4,
22
- Input: () => Input13,
20
+ Event: () => Event8,
21
+ ID: () => ID7,
22
+ Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service26,
31
+ Service: () => Service53,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node29
33
+ node: () => node55
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event7 } from "@opencode/schema/websearch";
41
- var ID4 = WebSearch.ID;
40
+ import { Event as Event8 } from "@opencode/schema/websearch";
41
+ var ID7 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input13 = WebSearch.Input;
43
+ var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID7, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID4
53
+ providerID: ID7
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID4,
61
+ providerID: ID7,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service26 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service53 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service26, Effect.gen(function* () {
69
- const bus = yield* Service83;
70
- const kv = yield* Service74;
68
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
69
+ const bus = yield* Service80;
70
+ const kv = yield* Service83;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service26.of({
127
+ return Service53.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node29 = makeLocationNode({
188
- service: Service26,
187
+ var node55 = makeLocationNode({
188
+ service: Service53,
189
189
  layer,
190
- deps: [node87, node78]
190
+ deps: [node84, node87]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service26, node29, exports_websearch3, Event7 };
193
+ export { ID7, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service53, node55, exports_websearch3, Event8 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service61,
3
- node64
4
- } from "./wellknown-8q026d2n.js";
2
+ Service47,
3
+ node49
4
+ } from "./persistent-pty-e4f61vrf.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
8
  make21,
9
9
  diffByKey2
10
- } from "./wellknown-s8d7rejh.js";
10
+ } from "./persistent-pty-eaj1djv9.js";
11
11
  import {
12
12
  __export
13
- } from "./wellknown-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
16
  var exports_instructions4 = {};
17
17
  __export(exports_instructions4, {
18
18
  ReferenceInstructions: () => exports_instructions4,
19
- Service: () => Service34,
20
- node: () => node37
19
+ Service: () => Service20,
20
+ node: () => node24
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,11 +57,11 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service34 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service20 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service34, Effect.gen(function* () {
63
- const references = yield* Service61;
64
- return Service34.of({
62
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
63
+ const references = yield* Service47;
64
+ return Service20.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
71
  return make21({
72
- key: Key3.make("core/reference-guidance"),
72
+ key: Key4.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node37 = makeLocationNode({ service: Service34, layer, deps: [node64] });
84
+ var node24 = makeLocationNode({ service: Service20, layer, deps: [node49] });
85
85
 
86
- export { Service34, node37, exports_instructions4 };
86
+ export { Service20, node24, exports_instructions4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID11
3
- } from "./wellknown-btp2s2ba.js";
2
+ ID8
3
+ } from "./persistent-pty-xgrywr61.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./wellknown-922hggd3.js";
6
+ } from "./persistent-pty-922hggd3.js";
7
7
  import {
8
- Info21
9
- } from "./wellknown-q0qebxta.js";
8
+ Info19
9
+ } from "./persistent-pty-dhwr7h25.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./wellknown-fmbpzfbx.js";
12
+ } from "./persistent-pty-k3yt7har.js";
13
13
  import {
14
14
  latest2,
15
- Service71
16
- } from "./wellknown-21y9ahke.js";
15
+ Service58
16
+ } from "./persistent-pty-vsbqxt6s.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./wellknown-5daktx2q.js";
19
+ } from "./persistent-pty-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./wellknown-9rqn6x4v.js";
22
+ } from "./persistent-pty-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent2 = {};
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info21);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info19);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
47
  var Plugin46 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service71;
50
+ const config = yield* Service58;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin46 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID11.make(configuredDefault));
79
+ editor.default(ID8.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID11.make(id);
85
+ const agentID = ID8.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./wellknown-fz5ffk87.js";
4
+ } from "./persistent-pty-3dz8xqcq.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./wellknown-2710q6r3.js";
8
+ } from "./persistent-pty-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./wellknown-y71avatq.js";
11
+ } from "./persistent-pty-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./wellknown-9rqn6x4v.js";
14
+ } from "./persistent-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: () => Service83,
21
+ Service: () => Service80,
22
22
  configured: () => configured12,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node87,
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 Service83 extends Context.Service()("@opencode/Bus") {
79
+ class Service80 extends Context.Service()("@opencode/Bus") {
80
80
  }
81
81
  function configured12(options) {
82
82
  return makeGlobalNode({
83
- service: Service83,
83
+ service: Service80,
84
84
  deps: [node88],
85
- layer: Layer.effect(Service83, Effect.gen(function* () {
85
+ layer: Layer.effect(Service80, 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 = {
@@ -525,7 +525,7 @@ function configured12(options) {
525
525
  list.push((event) => projector(event));
526
526
  projectors.set(key, list);
527
527
  });
528
- return Service83.of({
528
+ return Service80.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 node87 = configured12();
542
+ var node84 = configured12();
543
543
 
544
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service83, configured12, node87, exports_bus };
544
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service80, configured12, node84, exports_bus };