@opencode/core 0.0.0-dev-20068 → 0.0.0-dev-20070

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{schema-x7pgzbrc.js → persistent-pty-02fxdhk5.js} +13 -13
  8. package/dist/chunks/{schema-fnxsaa4j.js → persistent-pty-03drz298.js} +18 -18
  9. package/dist/chunks/{schema-gs95kj1c.js → persistent-pty-05kc7n4p.js} +24 -24
  10. package/dist/chunks/{schema-1365j5nm.js → persistent-pty-09dw9xvn.js} +13 -13
  11. package/dist/chunks/{schema-m8q517q3.js → persistent-pty-0fhvsrpq.js} +30 -30
  12. package/dist/chunks/{schema-0ft9cg2j.js → persistent-pty-0gaj4617.js} +6 -6
  13. package/dist/chunks/persistent-pty-0mesazry.js +4 -0
  14. package/dist/chunks/{schema-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{schema-0ak0g8qp.js → persistent-pty-0wsqztt0.js} +3 -3
  16. package/dist/chunks/{schema-rd930brt.js → persistent-pty-0wv36b6c.js} +44 -44
  17. package/dist/chunks/{schema-z8p0mpvq.js → persistent-pty-11txpkat.js} +24 -24
  18. package/dist/chunks/{schema-21kk9ey9.js → persistent-pty-12arvj6n.js} +2 -2
  19. package/dist/chunks/{schema-nrf9nkf4.js → persistent-pty-140js8cv.js} +47 -47
  20. package/dist/chunks/{schema-dvgd3rha.js → persistent-pty-14tdt6pq.js} +3 -3
  21. package/dist/chunks/persistent-pty-15eeh29d.js +507 -0
  22. package/dist/chunks/{schema-53fyba40.js → persistent-pty-18s9r5gn.js} +4 -4
  23. package/dist/chunks/{schema-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{schema-stka8cwy.js → persistent-pty-1myjhcv5.js} +30 -30
  25. package/dist/chunks/{schema-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  26. package/dist/chunks/{schema-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  27. package/dist/chunks/{schema-1fgq5ex7.js → persistent-pty-24bj6dbd.js} +32 -32
  28. package/dist/chunks/{schema-z63w68vq.js → persistent-pty-29x78va6.js} +6 -6
  29. package/dist/chunks/{schema-xbrnje9f.js → persistent-pty-2a4f6v5q.js} +5 -5
  30. package/dist/chunks/{schema-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{schema-a1w0bh0r.js → persistent-pty-2demy4mp.js} +32 -32
  32. package/dist/chunks/{schema-zab19jja.js → persistent-pty-2kewd2va.js} +9 -9
  33. package/dist/chunks/{schema-4pkmhnfb.js → persistent-pty-2qb4gyb1.js} +12 -12
  34. package/dist/chunks/{schema-71g12y8g.js → persistent-pty-2stzsw3h.js} +8 -8
  35. package/dist/chunks/{schema-g3mqb04e.js → persistent-pty-2z6npzcs.js} +11 -11
  36. package/dist/chunks/{schema-we5e1hqv.js → persistent-pty-3279mwmz.js} +5 -5
  37. package/dist/chunks/{schema-rk8hkmen.js → persistent-pty-32ebpc2k.js} +35 -35
  38. package/dist/chunks/{schema-4pe5mkqw.js → persistent-pty-39af71ak.js} +24 -24
  39. package/dist/chunks/{schema-21xm8fz3.js → persistent-pty-3b699t4b.js} +10 -10
  40. package/dist/chunks/{schema-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{schema-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{schema-86n5f4j7.js → persistent-pty-3me5k2fr.js} +6 -6
  43. package/dist/chunks/{schema-9jn1v8n4.js → persistent-pty-3scm17sd.js} +30 -30
  44. package/dist/chunks/{schema-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{schema-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  46. package/dist/chunks/persistent-pty-3ys7avz6.js +26 -0
  47. package/dist/chunks/{schema-d0jrvpgb.js → persistent-pty-3z0zch1n.js} +32 -32
  48. package/dist/chunks/{schema-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{schema-xfdrc2qg.js → persistent-pty-44ke2mar.js} +4 -4
  50. package/dist/chunks/{schema-v53t4mb7.js → persistent-pty-45yze870.js} +18 -18
  51. package/dist/chunks/{schema-wvm3e786.js → persistent-pty-4aeq6eye.js} +10 -10
  52. package/dist/chunks/{schema-gsac5713.js → persistent-pty-4c9v79sp.js} +23 -23
  53. package/dist/chunks/{schema-ya2xvy3r.js → persistent-pty-4zfaky6j.js} +13 -13
  54. package/dist/chunks/{schema-y7c4883m.js → persistent-pty-517pqn2m.js} +74 -74
  55. package/dist/chunks/{schema-f9t32q2w.js → persistent-pty-52a9n96b.js} +9 -9
  56. package/dist/chunks/{schema-bttjrvqw.js → persistent-pty-540xm2z9.js} +22 -22
  57. package/dist/chunks/{schema-mfqp6xfm.js → persistent-pty-56gdpj1q.js} +6 -6
  58. package/dist/chunks/{schema-57ez7d0k.js → persistent-pty-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{schema-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  60. package/dist/chunks/{schema-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
  61. package/dist/chunks/{schema-cbmy1d4v.js → persistent-pty-5gw2z3et.js} +5 -5
  62. package/dist/chunks/{schema-bkk1ay02.js → persistent-pty-5mhxbhna.js} +14 -14
  63. package/dist/chunks/{schema-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{schema-wq4mmp7m.js → persistent-pty-5xpznt2d.js} +4 -4
  65. package/dist/chunks/{schema-r1t33gv4.js → persistent-pty-639ckm2d.js} +30 -30
  66. package/dist/chunks/{schema-43vj5j1g.js → persistent-pty-65tw7ne2.js} +23 -23
  67. package/dist/chunks/{schema-669tq793.js → persistent-pty-669tq793.js} +1 -1
  68. package/dist/chunks/{schema-jesqq2b8.js → persistent-pty-6744wpjg.js} +14 -14
  69. package/dist/chunks/{schema-v00q4dqv.js → persistent-pty-6dee4bn2.js} +11 -11
  70. package/dist/chunks/{schema-xbdvvged.js → persistent-pty-6he05v0p.js} +23 -23
  71. package/dist/chunks/{schema-trgn506r.js → persistent-pty-6jttejjp.js} +13 -13
  72. package/dist/chunks/{schema-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{schema-99249730.js → persistent-pty-6q4z0wrt.js} +1 -1
  74. package/dist/chunks/{schema-xa30xd5p.js → persistent-pty-6z9mwsmt.js} +24 -24
  75. package/dist/chunks/{schema-0eppds2k.js → persistent-pty-72pe5pp7.js} +6 -6
  76. package/dist/chunks/{schema-3pgqp7v9.js → persistent-pty-79jt7wa4.js} +4 -4
  77. package/dist/chunks/{schema-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{schema-qgn6gcr1.js → persistent-pty-7dqw4kz8.js} +5 -5
  79. package/dist/chunks/{schema-22y0n5cd.js → persistent-pty-7f8zt51t.js} +11 -11
  80. package/dist/chunks/{schema-y8pznszf.js → persistent-pty-7fha70gh.js} +27 -27
  81. package/dist/chunks/{schema-yb3bnh53.js → persistent-pty-7hrmjf05.js} +40 -40
  82. package/dist/chunks/{schema-rr1xtvmv.js → persistent-pty-7nwh0z4r.js} +46 -46
  83. package/dist/chunks/{schema-jyrfr5z0.js → persistent-pty-7qhp50hp.js} +3 -3
  84. package/dist/chunks/{schema-mtptma85.js → persistent-pty-80gs2nd1.js} +23 -23
  85. package/dist/chunks/{schema-f724bymh.js → persistent-pty-84ayszt9.js} +29 -29
  86. package/dist/chunks/{schema-5p1sgbr7.js → persistent-pty-84g0xtqq.js} +9 -9
  87. package/dist/chunks/{schema-stgrmxrp.js → persistent-pty-88fhh6r1.js} +12 -12
  88. package/dist/chunks/{schema-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{schema-84s1vm7q.js → persistent-pty-8gszphq4.js} +11 -11
  90. package/dist/chunks/{schema-hxx1gems.js → persistent-pty-8m7vqh9t.js} +10 -10
  91. package/dist/chunks/{schema-2gv5qy1y.js → persistent-pty-8pccpkv9.js} +12 -12
  92. package/dist/chunks/{schema-n2rked60.js → persistent-pty-93z9rjx5.js} +10 -10
  93. package/dist/chunks/{schema-z6y9e2r8.js → persistent-pty-947f7b8n.js} +34 -34
  94. package/dist/chunks/{schema-94ek1h2f.js → persistent-pty-94ek1h2f.js} +2 -2
  95. package/dist/chunks/{schema-vmwh049b.js → persistent-pty-97j4gngf.js} +9 -9
  96. package/dist/chunks/{schema-zx2f5h1h.js → persistent-pty-9b18mb3y.js} +22 -22
  97. package/dist/chunks/{schema-15nepkqg.js → persistent-pty-9c3np669.js} +8 -8
  98. package/dist/chunks/{schema-vtxr0yy2.js → persistent-pty-9cyfspf3.js} +5 -5
  99. package/dist/chunks/{schema-qpqjws28.js → persistent-pty-9ejw23zs.js} +9 -9
  100. package/dist/chunks/persistent-pty-9zdhvgqs.js +18 -0
  101. package/dist/chunks/{schema-4xstzax4.js → persistent-pty-a0j9ghhw.js} +19 -19
  102. package/dist/chunks/{schema-twax0pxr.js → persistent-pty-a0sbrj5q.js} +25 -25
  103. package/dist/chunks/{schema-7mqqegap.js → persistent-pty-a2mdmpbv.js} +7 -7
  104. package/dist/chunks/{schema-f6p0q2g2.js → persistent-pty-a4kfnjq6.js} +17 -17
  105. package/dist/chunks/{schema-bq4g5957.js → persistent-pty-a6r5j9ve.js} +4 -4
  106. package/dist/chunks/{schema-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  107. package/dist/chunks/{schema-hj3kzhjm.js → persistent-pty-ach3jvdq.js} +17 -17
  108. package/dist/chunks/{schema-mfh2s9n9.js → persistent-pty-adcjy0yy.js} +22 -22
  109. package/dist/chunks/{schema-d9wzmzc3.js → persistent-pty-aeb4sny1.js} +5 -5
  110. package/dist/chunks/{schema-bxav69s2.js → persistent-pty-aewf7fv0.js} +15 -15
  111. package/dist/chunks/{schema-3n6q8bv2.js → persistent-pty-aez9gwcb.js} +18 -18
  112. package/dist/chunks/{schema-evbgk2k8.js → persistent-pty-ag9w8cw1.js} +5 -5
  113. package/dist/chunks/{schema-1brzvxsn.js → persistent-pty-agbhy58v.js} +8 -8
  114. package/dist/chunks/{schema-cvcncckx.js → persistent-pty-ajj1dwjw.js} +43 -43
  115. package/dist/chunks/{schema-d08f925z.js → persistent-pty-avnvkndt.js} +5 -5
  116. package/dist/chunks/{schema-hbecebtg.js → persistent-pty-b27q0a9n.js} +10 -10
  117. package/dist/chunks/{schema-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  118. package/dist/chunks/{schema-3qaj82j9.js → persistent-pty-b7b4ctej.js} +5 -5
  119. package/dist/chunks/{schema-k3dr35yq.js → persistent-pty-b7mafceh.js} +6 -6
  120. package/dist/chunks/{schema-hwh6dse8.js → persistent-pty-besw6zsr.js} +19 -19
  121. package/dist/chunks/{schema-2krp1dn7.js → persistent-pty-bj7qwv03.js} +11 -11
  122. package/dist/chunks/{schema-9n8ak2h1.js → persistent-pty-bka19sx3.js} +4 -4
  123. package/dist/chunks/{schema-qnn3verk.js → persistent-pty-bqddxaek.js} +9 -9
  124. package/dist/chunks/{schema-1ajx6rf5.js → persistent-pty-br0tr5aq.js} +8 -8
  125. package/dist/chunks/{schema-3e5hztjw.js → persistent-pty-by2v34hv.js} +4 -4
  126. package/dist/chunks/{schema-yyc7yft3.js → persistent-pty-cbqy5dr9.js} +17 -17
  127. package/dist/chunks/{schema-q1wd5bqe.js → persistent-pty-cgy10bdv.js} +3 -3
  128. package/dist/chunks/{schema-32ngwk73.js → persistent-pty-chrxq3ex.js} +18 -18
  129. package/dist/chunks/{schema-ckecvw8r.js → persistent-pty-ckecvw8r.js} +2 -2
  130. package/dist/chunks/{schema-c3whs05w.js → persistent-pty-cpa9evey.js} +3 -3
  131. package/dist/chunks/{schema-4g0aw377.js → persistent-pty-cxc2wn7k.js} +11 -11
  132. package/dist/chunks/{schema-wfvmvx5v.js → persistent-pty-cyxwnd9c.js} +31 -31
  133. package/dist/chunks/{schema-nxhqveyz.js → persistent-pty-d2aac7k2.js} +5 -5
  134. package/dist/chunks/{schema-mff6ah6z.js → persistent-pty-d79paw8k.js} +63 -63
  135. package/dist/chunks/{schema-r3c4069c.js → persistent-pty-dagkn99r.js} +1 -1
  136. package/dist/chunks/{schema-6a6hn4p4.js → persistent-pty-de11ys5j.js} +22 -22
  137. package/dist/chunks/{schema-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
  138. package/dist/chunks/{schema-2xanj3y6.js → persistent-pty-dqcz30tg.js} +25 -25
  139. package/dist/chunks/{schema-s1n69xg5.js → persistent-pty-e07xevgn.js} +24 -24
  140. package/dist/chunks/{schema-5qd3pb7m.js → persistent-pty-e3qxr5gk.js} +2 -2
  141. package/dist/chunks/{schema-x21w7dsp.js → persistent-pty-e7844e1q.js} +26 -26
  142. package/dist/chunks/{schema-zj09a0ew.js → persistent-pty-ec8389mk.js} +4 -4
  143. package/dist/chunks/{schema-51dx2b5g.js → persistent-pty-eew2zdws.js} +15 -15
  144. package/dist/chunks/{schema-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  145. package/dist/chunks/{schema-gdt8128r.js → persistent-pty-ehye99pz.js} +18 -18
  146. package/dist/chunks/{schema-hqtqhwxa.js → persistent-pty-em4dwj0d.js} +9 -9
  147. package/dist/chunks/{schema-c99cqkw7.js → persistent-pty-enm918mk.js} +32 -32
  148. package/dist/chunks/{schema-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
  149. package/dist/chunks/{schema-p173zzzp.js → persistent-pty-ete5a4rz.js} +94 -94
  150. package/dist/chunks/{schema-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  151. package/dist/chunks/{schema-79y3jrde.js → persistent-pty-exhkk0g4.js} +22 -22
  152. package/dist/chunks/{schema-e9k66s6p.js → persistent-pty-f7fhy96a.js} +5 -5
  153. package/dist/chunks/{schema-854y6ept.js → persistent-pty-f7mpxfp8.js} +36 -36
  154. package/dist/chunks/{schema-ywppm7yh.js → persistent-pty-fay784kk.js} +41 -41
  155. package/dist/chunks/{schema-v5dkyp31.js → persistent-pty-fm2qvscf.js} +4 -4
  156. package/dist/chunks/{schema-w9xbefsq.js → persistent-pty-ftg911na.js} +19 -19
  157. package/dist/chunks/{schema-jv01nqvq.js → persistent-pty-fvsyg6qk.js} +5 -5
  158. package/dist/chunks/{schema-spqcpneg.js → persistent-pty-g640k70z.js} +6 -6
  159. package/dist/chunks/{schema-djszqvmq.js → persistent-pty-g6q9qykm.js} +9 -9
  160. package/dist/chunks/{schema-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{schema-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  162. package/dist/chunks/{schema-jj43yjqp.js → persistent-pty-h1rv4yj5.js} +11 -11
  163. package/dist/chunks/{schema-b26at605.js → persistent-pty-h1znna23.js} +11 -11
  164. package/dist/chunks/{schema-cpj0znwe.js → persistent-pty-h6r3nrb9.js} +4 -4
  165. package/dist/chunks/{schema-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{schema-qx20pxr4.js → persistent-pty-ham917sc.js} +48 -48
  167. package/dist/chunks/{schema-04t6vhh2.js → persistent-pty-hb0akz4x.js} +11 -11
  168. package/dist/chunks/{schema-dq5ym5fs.js → persistent-pty-hcr91a9c.js} +43 -43
  169. package/dist/chunks/{schema-dwpj3xc6.js → persistent-pty-hh05mkd2.js} +11 -11
  170. package/dist/chunks/{schema-bc8ybda4.js → persistent-pty-hm8n4zs5.js} +9 -9
  171. package/dist/chunks/{schema-pmrtsbw6.js → persistent-pty-hqd5ggsz.js} +18 -18
  172. package/dist/chunks/{schema-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  173. package/dist/chunks/{schema-n37c4crj.js → persistent-pty-j58c5xyq.js} +9 -9
  174. package/dist/chunks/{schema-tfz8ht6g.js → persistent-pty-jcete9c4.js} +11 -11
  175. package/dist/chunks/{schema-zk4010xf.js → persistent-pty-jdz7ay1h.js} +10 -10
  176. package/dist/chunks/{schema-azejft3h.js → persistent-pty-jexe30zh.js} +18 -18
  177. package/dist/chunks/{schema-mx9vqzsb.js → persistent-pty-jhf3jymm.js} +6 -6
  178. package/dist/chunks/{schema-pxar5t5x.js → persistent-pty-jkdgk110.js} +36 -36
  179. package/dist/chunks/{schema-m9dec5st.js → persistent-pty-jykm5qrb.js} +35 -35
  180. package/dist/chunks/{schema-1fmrbde1.js → persistent-pty-k0nnq3t9.js} +4 -4
  181. package/dist/chunks/{schema-a2qe2ev9.js → persistent-pty-k1gkpfdk.js} +8 -8
  182. package/dist/chunks/{schema-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
  183. package/dist/chunks/{schema-vmgq4x8b.js → persistent-pty-kbegyq1c.js} +2 -2
  184. package/dist/chunks/{schema-rs4ad808.js → persistent-pty-kd4v9k4j.js} +18 -18
  185. package/dist/chunks/{schema-ev08srva.js → persistent-pty-kdt9c9ze.js} +17 -17
  186. package/dist/chunks/{schema-c21zn749.js → persistent-pty-kg93zbfw.js} +14 -14
  187. package/dist/chunks/{schema-jw80jp6b.js → persistent-pty-kk00bynn.js} +21 -21
  188. package/dist/chunks/{schema-kb6gw2zp.js → persistent-pty-kmx0na6r.js} +4 -4
  189. package/dist/chunks/persistent-pty-kzm3n6dm.js +252 -0
  190. package/dist/chunks/{schema-jjs74g98.js → persistent-pty-m2d0j7c0.js} +9 -9
  191. package/dist/chunks/{schema-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  192. package/dist/chunks/{schema-jvf3yq6v.js → persistent-pty-m70sbz6t.js} +4 -4
  193. package/dist/chunks/{schema-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{schema-607q5haz.js → persistent-pty-mqt5419d.js} +12 -12
  195. package/dist/chunks/{schema-mhkvc446.js → persistent-pty-mvfsc1pv.js} +3 -3
  196. package/dist/chunks/{schema-nkh7hwh6.js → persistent-pty-n07s4dfy.js} +5 -5
  197. package/dist/chunks/{schema-egc3yevh.js → persistent-pty-n38w816c.js} +17 -17
  198. package/dist/chunks/{schema-5cmxdwv8.js → persistent-pty-n7d88tpn.js} +3 -3
  199. package/dist/chunks/{schema-3e147rt9.js → persistent-pty-nca7p386.js} +9 -9
  200. package/dist/chunks/{schema-6ysrkrkr.js → persistent-pty-ncjresk4.js} +8 -8
  201. package/dist/chunks/{schema-cvekkaw8.js → persistent-pty-ncq08a4j.js} +11 -11
  202. package/dist/chunks/{schema-gsk7mn2e.js → persistent-pty-nexc1gw3.js} +180 -180
  203. package/dist/chunks/{schema-mksgfzgs.js → persistent-pty-nsjkyrtc.js} +5 -5
  204. package/dist/chunks/{schema-23sw09pj.js → persistent-pty-p06qdrkc.js} +5 -5
  205. package/dist/chunks/{schema-ey28dp55.js → persistent-pty-pgegyfjk.js} +13 -13
  206. package/dist/chunks/{schema-qf9g56f3.js → persistent-pty-pgmm1a8m.js} +60 -60
  207. package/dist/chunks/{schema-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{schema-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  209. package/dist/chunks/{schema-zpfyxn6c.js → persistent-pty-pnrj6x89.js} +25 -25
  210. package/dist/chunks/{schema-4tzv48n0.js → persistent-pty-pr5f4b24.js} +33 -33
  211. package/dist/chunks/{schema-p70m8tan.js → persistent-pty-prd2qjch.js} +35 -35
  212. package/dist/chunks/{schema-z6970k62.js → persistent-pty-prtjzanf.js} +28 -28
  213. package/dist/chunks/{schema-feqe9m6b.js → persistent-pty-pwrm1vhs.js} +27 -27
  214. package/dist/chunks/{schema-dtnx79zk.js → persistent-pty-qb9vhbtw.js} +25 -25
  215. package/dist/chunks/{schema-j7xxj57g.js → persistent-pty-qcwj8qyp.js} +5 -5
  216. package/dist/chunks/{schema-vt5nkxs5.js → persistent-pty-qfzh5nde.js} +32 -32
  217. package/dist/chunks/{schema-xxxgmpnp.js → persistent-pty-qje2a4n2.js} +5 -5
  218. package/dist/chunks/{schema-f5thdj5b.js → persistent-pty-qkz21msg.js} +44 -44
  219. package/dist/chunks/{schema-1rd6czrg.js → persistent-pty-qs9wfy73.js} +16 -16
  220. package/dist/chunks/{schema-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  221. package/dist/chunks/{schema-dgb7xf30.js → persistent-pty-qwww5vg0.js} +24 -24
  222. package/dist/chunks/{schema-4m11sss1.js → persistent-pty-r68fq1x1.js} +37 -37
  223. package/dist/chunks/{schema-8qmjzw20.js → persistent-pty-r7jpdgae.js} +25 -25
  224. package/dist/chunks/{schema-b74jhqyh.js → persistent-pty-r83whyrf.js} +23 -23
  225. package/dist/chunks/{schema-vncycja5.js → persistent-pty-r98e92ep.js} +4 -4
  226. package/dist/chunks/{schema-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  227. package/dist/chunks/{schema-g17ae1qh.js → persistent-pty-rwx3cxcp.js} +11 -11
  228. package/dist/chunks/{schema-4r89mkx8.js → persistent-pty-rxdxrnem.js} +9 -9
  229. package/dist/chunks/{schema-yrznvahk.js → persistent-pty-s4enseaf.js} +2 -2
  230. package/dist/chunks/{schema-eaj1djv9.js → persistent-pty-s8d7rejh.js} +6 -6
  231. package/dist/chunks/{schema-8a9kwrve.js → persistent-pty-sb4h1tjm.js} +28 -28
  232. package/dist/chunks/{schema-jwpzwwy6.js → persistent-pty-sgnpw8wt.js} +18 -18
  233. package/dist/chunks/{schema-d0wejq28.js → persistent-pty-sh0ksnmg.js} +3 -3
  234. package/dist/chunks/{schema-tfw5vp5y.js → persistent-pty-sxqherdn.js} +3 -3
  235. package/dist/chunks/{schema-kvb5pf0f.js → persistent-pty-sz5744vg.js} +7 -7
  236. package/dist/chunks/{schema-vz4jg4k9.js → persistent-pty-t0hvt5ga.js} +5 -5
  237. package/dist/chunks/{schema-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{schema-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{schema-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  240. package/dist/chunks/{schema-8349yjnv.js → persistent-pty-tj1zj3en.js} +17 -17
  241. package/dist/chunks/{schema-sgds5tk2.js → persistent-pty-tk1eb0jd.js} +23 -23
  242. package/dist/chunks/{schema-e89kpxws.js → persistent-pty-tk2xb498.js} +11 -11
  243. package/dist/chunks/{schema-jkq931gc.js → persistent-pty-tktartgp.js} +17 -17
  244. package/dist/chunks/{schema-nbgtvmt2.js → persistent-pty-tvqmbf2y.js} +7 -7
  245. package/dist/chunks/{schema-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  246. package/dist/chunks/{schema-99647hmk.js → persistent-pty-v17mnf28.js} +32 -32
  247. package/dist/chunks/{schema-4p60s6mc.js → persistent-pty-v37e6ssw.js} +92 -92
  248. package/dist/chunks/{schema-4cmte46y.js → persistent-pty-v5vn9b7d.js} +4 -4
  249. package/dist/chunks/{schema-azgx1nga.js → persistent-pty-vansc7n9.js} +23 -23
  250. package/dist/chunks/{schema-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  251. package/dist/chunks/{schema-yq6rdmt7.js → persistent-pty-vj8zb72s.js} +13 -13
  252. package/dist/chunks/{schema-ksngh15a.js → persistent-pty-vrev4g7d.js} +15 -15
  253. package/dist/chunks/{schema-798v7mfg.js → persistent-pty-vw47vkvc.js} +16 -16
  254. package/dist/chunks/{schema-kwb80b5k.js → persistent-pty-vyrd71eq.js} +11 -11
  255. package/dist/chunks/{schema-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{schema-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{schema-x98p3fja.js → persistent-pty-w4fc9vh6.js} +44 -44
  258. package/dist/chunks/{schema-ngaq65z3.js → persistent-pty-wafpmbfs.js} +20 -20
  259. package/dist/chunks/{schema-hqztqa4w.js → persistent-pty-wd09zjr8.js} +16 -16
  260. package/dist/chunks/{schema-wd3x2cqz.js → persistent-pty-wd3x2cqz.js} +2 -2
  261. package/dist/chunks/{schema-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  262. package/dist/chunks/{schema-szbdaj22.js → persistent-pty-wdm18wae.js} +4 -4
  263. package/dist/chunks/{schema-yb29xp2t.js → persistent-pty-wdmcp318.js} +12 -12
  264. package/dist/chunks/{schema-ke47ra3q.js → persistent-pty-wdy4dbbj.js} +54 -54
  265. package/dist/chunks/{schema-tfzngn12.js → persistent-pty-wj76ss2k.js} +4 -4
  266. package/dist/chunks/{schema-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{schema-hd6mtbc2.js → persistent-pty-x56fq0r3.js} +1 -1
  268. package/dist/chunks/{schema-tyqw9b1a.js → persistent-pty-xd3hz90e.js} +10 -10
  269. package/dist/chunks/{schema-9jm5k1pc.js → persistent-pty-xdzxe0wf.js} +8 -8
  270. package/dist/chunks/{schema-57b9ws8p.js → persistent-pty-xfkkasph.js} +7 -7
  271. package/dist/chunks/{schema-0wddnwfq.js → persistent-pty-xhbkmk74.js} +25 -25
  272. package/dist/chunks/{schema-yme4tm39.js → persistent-pty-xm1fqpw5.js} +32 -32
  273. package/dist/chunks/{schema-3djsbczj.js → persistent-pty-xndc7n30.js} +4 -4
  274. package/dist/chunks/{schema-bfsvxfz0.js → persistent-pty-xx6wjz2h.js} +29 -29
  275. package/dist/chunks/{schema-c0knr1es.js → persistent-pty-xyh6nkpv.js} +19 -19
  276. package/dist/chunks/{schema-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{schema-dx61neqa.js → persistent-pty-y56x7az9.js} +25 -25
  278. package/dist/chunks/{schema-e8f8pgjf.js → persistent-pty-y6r8qnm9.js} +27 -27
  279. package/dist/chunks/{schema-750bqw08.js → persistent-pty-ycndb7t3.js} +16 -16
  280. package/dist/chunks/{schema-4etra8x0.js → persistent-pty-yjw00k6r.js} +13 -13
  281. package/dist/chunks/{schema-yp2x3t23.js → persistent-pty-yp2x3t23.js} +1 -1
  282. package/dist/chunks/{schema-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{schema-hnc22933.js → persistent-pty-ywyxz1rh.js} +35 -35
  284. package/dist/chunks/{schema-z07pqspn.js → persistent-pty-z07pqspn.js} +3 -3
  285. package/dist/chunks/{schema-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{schema-q23t71ky.js → persistent-pty-z2ahs8tt.js} +31 -31
  287. package/dist/chunks/{schema-2s9emtnm.js → persistent-pty-z35hf7r1.js} +19 -19
  288. package/dist/chunks/{schema-6htx4nwr.js → persistent-pty-z7ck20cm.js} +18 -18
  289. package/dist/chunks/{schema-rtrqs7aw.js → persistent-pty-zbatyxhg.js} +32 -32
  290. package/dist/chunks/{schema-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  291. package/dist/chunks/{schema-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{schema-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +11 -11
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +160 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +124 -124
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +79 -79
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +371 -371
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +227 -227
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +106 -106
  433. package/dist/form.js +84 -84
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +362 -362
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +86 -86
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +359 -359
  475. package/dist/location.js +85 -85
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +108 -108
  479. package/dist/mcp/instructions.js +128 -128
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +99 -99
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +100 -100
  486. package/dist/models-dev.js +101 -101
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +80 -80
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +117 -117
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +88 -88
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +99 -99
  498. package/dist/plugin/compaction.js +131 -131
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +333 -333
  504. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +2 -2
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +91 -91
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +122 -122
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +92 -92
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +141 -141
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +350 -350
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +5 -5
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +4 -4
  561. package/dist/plugin/websearch/tinyfish.js +6 -6
  562. package/dist/plugin.js +229 -229
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +84 -84
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/schema.js +3 -3
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +98 -98
  571. package/dist/reference/instructions.js +89 -89
  572. package/dist/reference.js +89 -89
  573. package/dist/repository-cache.js +81 -81
  574. package/dist/repository.js +1 -1
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +97 -97
  577. package/dist/rpc.js +86 -86
  578. package/dist/schema.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +134 -134
  581. package/dist/session/context.js +152 -152
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +224 -224
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +153 -153
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +86 -86
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +77 -77
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +117 -117
  598. package/dist/session/model-transport.js +7 -7
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +1 -1
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +114 -114
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +75 -75
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +210 -210
  622. package/dist/session/system-prompt.js +5 -5
  623. package/dist/session/title.js +154 -154
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +223 -223
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +218 -218
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +138 -138
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +106 -106
  636. package/dist/snapshot.js +89 -89
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +127 -127
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +122 -122
  645. package/dist/tool/plugin/mcp-resource.js +116 -116
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +217 -217
  651. package/dist/tool/plugin/skill.js +111 -111
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/webfetch.js +112 -112
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +16 -16
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +7 -7
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +82 -82
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +3 -3
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +98 -98
  700. package/package.json +8 -8
  701. package/dist/chunks/schema-0et57d8k.js +0 -252
  702. package/dist/chunks/schema-dxj72tfx.js +0 -18
  703. package/dist/chunks/schema-pemgqcj3.js +0 -26
  704. package/dist/chunks/schema-z926abd4.js +0 -4
  705. package/dist/chunks/schema-zsnrp8c7.js +0 -507
  706. /package/dist/chunks/{schema-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{schema-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{schema-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{schema-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{schema-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{schema-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{schema-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{schema-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{schema-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{schema-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{schema-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{schema-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  718. /package/dist/chunks/{schema-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{schema-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{schema-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{schema-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{schema-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{schema-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{schema-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{schema-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  726. /package/dist/chunks/{schema-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{schema-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  728. /package/dist/chunks/{schema-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{schema-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{schema-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  731. /package/dist/chunks/{schema-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{schema-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{schema-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{schema-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  735. /package/dist/chunks/{schema-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{schema-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{schema-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{schema-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{schema-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{schema-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{schema-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{schema-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{schema-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{schema-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{schema-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{schema-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{schema-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{schema-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{schema-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{schema-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  751. /package/dist/chunks/{schema-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{schema-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{schema-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{schema-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{schema-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{schema-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{schema-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{schema-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{schema-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{schema-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{schema-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{schema-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{schema-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  764. /package/dist/chunks/{schema-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{schema-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  766. /package/dist/chunks/{schema-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{schema-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  768. /package/dist/chunks/{schema-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{schema-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{schema-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{schema-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{schema-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{schema-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{schema-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{schema-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{schema-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{schema-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{schema-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{schema-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{schema-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{schema-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{schema-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{schema-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{schema-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{schema-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{schema-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{schema-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{schema-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{schema-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{schema-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{schema-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{schema-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{schema-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{schema-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{schema-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  796. /package/dist/chunks/{schema-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{schema-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{schema-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{schema-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{schema-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{schema-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  make21,
5
5
  diffByKey2
6
- } from "./schema-eaj1djv9.js";
6
+ } from "./persistent-pty-s8d7rejh.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./schema-3fc6dm20.js";
11
+ } from "./persistent-pty-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./schema-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions3 = {};
18
- __export(exports_instructions3, {
19
- CodeModeInstructions: () => exports_instructions3,
20
- make: () => make15,
21
- render: () => render3,
22
- update: () => update3
17
+ var exports_instructions2 = {};
18
+ __export(exports_instructions2, {
19
+ CodeModeInstructions: () => exports_instructions2,
20
+ make: () => make14,
21
+ render: () => render2,
22
+ update: () => update2
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
25
25
  import { Effect, Schema } from "effect";
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
32
32
  - ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
33
33
 
34
34
  ## Available tools`;
35
- function render3(catalog) {
35
+ function render2(catalog) {
36
36
  if (catalog.total === 0)
37
37
  return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
38
38
  const tools = catalog.namespaces.flatMap((namespace) => {
@@ -43,10 +43,10 @@ function render3(catalog) {
43
43
  ${tools.join(`
44
44
  `)}`;
45
45
  }
46
- function update3(previous, current) {
46
+ function update2(previous, current) {
47
47
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
48
48
 
49
- ${render3(current)}`;
49
+ ${render2(current)}`;
50
50
  if (current.total === 0)
51
51
  return replacement;
52
52
  const previousComplete = previous.shown === previous.total;
@@ -109,20 +109,20 @@ ${render3(current)}`;
109
109
  return delta;
110
110
  return replacement;
111
111
  }
112
- var key = Key4.make("core/codemode");
112
+ var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
- var make15 = (inventory) => {
114
+ var make14 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
116
  return make21({
117
117
  key,
118
118
  codec,
119
119
  read: Effect.succeed(catalog),
120
120
  render: {
121
- initial: render3,
122
- changed: update3,
121
+ initial: render2,
122
+ changed: update2,
123
123
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
124
124
  }
125
125
  });
126
126
  };
127
127
 
128
- export { render3, update3, make15, exports_instructions3 };
128
+ export { render2, update2, make14, exports_instructions2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./schema-qfa1cgps.js";
3
+ } from "./persistent-pty-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./schema-wd3x2cqz.js";
6
+ } from "./persistent-pty-wd3x2cqz.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID6
3
- } from "./schema-4tzv48n0.js";
2
+ ID12
3
+ } from "./persistent-pty-pr5f4b24.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID6.make("gpt-5-chat-latest"), ID6.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service51
4
- } from "./schema-rr1xtvmv.js";
3
+ Service70
4
+ } from "./persistent-pty-7nwh0z4r.js";
5
5
  import {
6
6
  observe2
7
- } from "./schema-qsdy395h.js";
7
+ } from "./persistent-pty-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./schema-9rqn6x4v.js";
10
+ } from "./persistent-pty-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
- var exports_websearch = {};
14
- __export(exports_websearch, {
15
- ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin7
13
+ var exports_websearch2 = {};
14
+ __export(exports_websearch2, {
15
+ ConfigWebSearchPlugin: () => exports_websearch2,
16
+ Plugin: () => Plugin32
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin7 = define({
20
+ var Plugin32 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service51;
23
+ const config = yield* Service70;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin7 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin7, exports_websearch };
35
+ export { Plugin32, exports_websearch2 };
@@ -1,96 +1,96 @@
1
1
  import {
2
2
  AmazonBedrockPlugin2
3
- } from "./schema-0ak0g8qp.js";
3
+ } from "./persistent-pty-0wsqztt0.js";
4
4
  import {
5
5
  AzurePlugin2
6
- } from "./schema-twax0pxr.js";
6
+ } from "./persistent-pty-a0sbrj5q.js";
7
7
  import {
8
8
  CerebrasPlugin2
9
- } from "./schema-wc3fc9cn.js";
9
+ } from "./persistent-pty-wc3fc9cn.js";
10
10
  import {
11
11
  CloudflareAIGatewayPlugin2
12
- } from "./schema-cbmy1d4v.js";
12
+ } from "./persistent-pty-5gw2z3et.js";
13
13
  import {
14
14
  CloudflareWorkersAIPlugin2
15
- } from "./schema-nkh7hwh6.js";
15
+ } from "./persistent-pty-n07s4dfy.js";
16
16
  import {
17
17
  CoherePlugin2
18
- } from "./schema-z0bkrqjs.js";
18
+ } from "./persistent-pty-z0bkrqjs.js";
19
19
  import {
20
20
  DigitalOceanPlugin2
21
- } from "./schema-yyc7yft3.js";
21
+ } from "./persistent-pty-cbqy5dr9.js";
22
22
  import {
23
23
  DynamicProviderPlugin2
24
- } from "./schema-vzcthcp8.js";
24
+ } from "./persistent-pty-vzcthcp8.js";
25
25
  import {
26
26
  GatewayPlugin2
27
- } from "./schema-669tq793.js";
27
+ } from "./persistent-pty-669tq793.js";
28
28
  import {
29
29
  GithubCopilotPlugin2
30
- } from "./schema-1fgq5ex7.js";
30
+ } from "./persistent-pty-24bj6dbd.js";
31
31
  import {
32
32
  GitLabPlugin2
33
- } from "./schema-3e5hztjw.js";
33
+ } from "./persistent-pty-by2v34hv.js";
34
34
  import {
35
35
  GoogleVertexPlugin2
36
- } from "./schema-23sw09pj.js";
36
+ } from "./persistent-pty-p06qdrkc.js";
37
37
  import {
38
38
  KiloPlugin2
39
- } from "./schema-qg3g05ea.js";
39
+ } from "./persistent-pty-qg3g05ea.js";
40
40
  import {
41
41
  LLMGatewayPlugin2
42
- } from "./schema-d08f925z.js";
42
+ } from "./persistent-pty-avnvkndt.js";
43
43
  import {
44
44
  LMStudioPlugin2
45
- } from "./schema-tyqw9b1a.js";
45
+ } from "./persistent-pty-xd3hz90e.js";
46
46
  import {
47
47
  ModalPlugin2
48
- } from "./schema-2s9emtnm.js";
48
+ } from "./persistent-pty-z35hf7r1.js";
49
49
  import {
50
50
  NvidiaPlugin2
51
- } from "./schema-24dcb14g.js";
51
+ } from "./persistent-pty-24dcb14g.js";
52
52
  import {
53
53
  OllamaPlugin2
54
- } from "./schema-21xm8fz3.js";
54
+ } from "./persistent-pty-3b699t4b.js";
55
55
  import {
56
56
  OpenAIPlugin2
57
- } from "./schema-jkq931gc.js";
57
+ } from "./persistent-pty-tktartgp.js";
58
58
  import {
59
59
  SnowflakeCortexPlugin2
60
- } from "./schema-4xstzax4.js";
60
+ } from "./persistent-pty-a0j9ghhw.js";
61
61
  import {
62
62
  OpencodePlugin2
63
- } from "./schema-mfh2s9n9.js";
63
+ } from "./persistent-pty-adcjy0yy.js";
64
64
  import {
65
65
  OpenRouterPlugin2
66
- } from "./schema-c3whs05w.js";
66
+ } from "./persistent-pty-cpa9evey.js";
67
67
  import {
68
68
  PerplexityPlugin2
69
- } from "./schema-veqvce7d.js";
69
+ } from "./persistent-pty-veqvce7d.js";
70
70
  import {
71
71
  PoePlugin2
72
- } from "./schema-j7xxj57g.js";
72
+ } from "./persistent-pty-qcwj8qyp.js";
73
73
  import {
74
74
  PromptCacheKeyPlugin2
75
- } from "./schema-dvgd3rha.js";
75
+ } from "./persistent-pty-14tdt6pq.js";
76
76
  import {
77
77
  SapAICorePlugin2
78
- } from "./schema-we5e1hqv.js";
78
+ } from "./persistent-pty-3279mwmz.js";
79
79
  import {
80
80
  VercelPlugin2
81
- } from "./schema-99249730.js";
81
+ } from "./persistent-pty-6q4z0wrt.js";
82
82
  import {
83
83
  VenicePlugin2
84
- } from "./schema-yrhqyw5v.js";
84
+ } from "./persistent-pty-yrhqyw5v.js";
85
85
  import {
86
86
  VLLMPlugin2
87
- } from "./schema-hxx1gems.js";
87
+ } from "./persistent-pty-8m7vqh9t.js";
88
88
  import {
89
89
  XAIPlugin2
90
- } from "./schema-22y0n5cd.js";
90
+ } from "./persistent-pty-7f8zt51t.js";
91
91
  import {
92
92
  ZenmuxPlugin2
93
- } from "./schema-jjkms2e6.js";
93
+ } from "./persistent-pty-jjkms2e6.js";
94
94
 
95
95
  // src/plugin/provider.ts
96
96
  var ProviderPlugins2 = [
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./schema-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info15,
12
+ Info: () => Info18,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info18 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info18, exports_mcp5 };
@@ -1,70 +1,70 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./schema-1rd6czrg.js";
2
+ Service82,
3
+ node86
4
+ } from "./persistent-pty-qs9wfy73.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./schema-jesqq2b8.js";
6
+ Service79,
7
+ node83
8
+ } from "./persistent-pty-6744wpjg.js";
9
9
  import {
10
- ID15,
11
- Service78,
12
- node82
13
- } from "./schema-feqe9m6b.js";
10
+ ID11,
11
+ Service69,
12
+ node73
13
+ } from "./persistent-pty-pwrm1vhs.js";
14
14
  import {
15
- NotFoundError10
16
- } from "./schema-vmwh049b.js";
15
+ NotFoundError9
16
+ } from "./persistent-pty-97j4gngf.js";
17
17
  import {
18
- Service77,
19
- node81
20
- } from "./schema-egc3yevh.js";
18
+ Service67,
19
+ node71
20
+ } from "./persistent-pty-n38w816c.js";
21
21
  import {
22
22
  match2
23
- } from "./schema-y1fvbwt7.js";
23
+ } from "./persistent-pty-y1fvbwt7.js";
24
24
  import {
25
- Service76,
26
- node80
27
- } from "./schema-3n6q8bv2.js";
25
+ Service66,
26
+ node70
27
+ } from "./persistent-pty-aez9gwcb.js";
28
28
  import {
29
- Service79,
30
- node83
31
- } from "./schema-a2qe2ev9.js";
29
+ Service68,
30
+ node72
31
+ } from "./persistent-pty-k1gkpfdk.js";
32
32
  import {
33
33
  __export
34
- } from "./schema-9rqn6x4v.js";
34
+ } from "./persistent-pty-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission2 = {};
38
- __export(exports_permission2, {
37
+ var exports_permission = {};
38
+ __export(exports_permission, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event19,
46
- ID: () => ID13,
47
- NotFoundError: () => NotFoundError9,
48
- Permission: () => exports_permission2,
49
- Reply: () => Reply3,
45
+ Event: () => Event12,
46
+ ID: () => ID8,
47
+ NotFoundError: () => NotFoundError8,
48
+ Permission: () => exports_permission,
49
+ Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request3,
52
- Rule: () => Rule3,
51
+ Request: () => Request2,
52
+ Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service75,
54
+ Service: () => Service65,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node79
58
+ node: () => node69
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event19 } from "@opencode/schema/permission";
63
+ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event12 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID13 = Permission.ID;
67
+ var ID8 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request3 = Permission.Request;
78
- var Reply3 = Permission.Reply;
77
+ var Request2 = Permission.Request;
78
+ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID13.pipe(Schema.optional),
80
+ id: ID8.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID15.pipe(Schema.optional)
82
+ agent: ID11.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID13,
86
- reply: Reply3,
85
+ requestID: ID8,
86
+ reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID13,
90
+ id: ID8,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID13
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID8
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service75 extends Context.Service()("@opencode/Permission") {
128
+ class Service65 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service75, Effect.gen(function* () {
131
- const bus = yield* Service83;
132
- const location = yield* Service80;
133
- const agents = yield* Service78;
134
- const sessions = yield* Service77;
135
- const saved = yield* Service76;
136
- const hooks = yield* Service79;
130
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
131
+ const bus = yield* Service82;
132
+ const location = yield* Service79;
133
+ const agents = yield* Service69;
134
+ const sessions = yield* Service67;
135
+ const saved = yield* Service66;
136
+ const hooks = yield* Service68;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError10({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID13.create(),
189
+ id: input.id ?? ID8.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID13.create(), effect: "deny" };
214
+ return { id: input.id ?? ID8.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError9({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service75.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service65.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node79 = makeLocationNode({
303
- service: Service75,
302
+ var node69 = makeLocationNode({
303
+ service: Service65,
304
304
  layer,
305
- deps: [node87, node84, node82, node81, node80, node83]
305
+ deps: [node86, node83, node73, node71, node70, node72]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service75, node79, exports_permission2, Rule3, Ruleset2, Event19 };
308
+ export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service65, node69, exports_permission, Rule2, Ruleset2, Event12 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./schema-53fyba40.js";
4
+ } from "./persistent-pty-18s9r5gn.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -1,48 +1,48 @@
1
1
  import {
2
- Service83
3
- } from "./schema-1rd6czrg.js";
2
+ Service82
3
+ } from "./persistent-pty-qs9wfy73.js";
4
4
  import {
5
- Service69
6
- } from "./schema-trgn506r.js";
5
+ Service74
6
+ } from "./persistent-pty-6jttejjp.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./schema-rdw6cm16.js";
12
+ } from "./persistent-pty-rdw6cm16.js";
13
13
  import {
14
- Service31,
14
+ Service30,
15
15
  awaitActivation2
16
- } from "./schema-dxj72tfx.js";
16
+ } from "./persistent-pty-9zdhvgqs.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./schema-gsk7mn2e.js";
21
+ } from "./persistent-pty-nexc1gw3.js";
22
22
  import {
23
23
  __export
24
- } from "./schema-9rqn6x4v.js";
24
+ } from "./persistent-pty-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event4,
30
- ID: () => ID2,
31
- Info: () => Info2,
29
+ Event: () => Event3,
30
+ ID: () => ID3,
31
+ Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service31,
33
+ Service: () => Service30,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node22
37
+ node: () => node16
38
38
  });
39
- import { Event as Event4, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event3, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service31, Effect.gen(function* () {
44
- const bus = yield* Service83;
45
- const kv = yield* Service69;
43
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
44
+ const bus = yield* Service82;
45
+ const kv = yield* Service74;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service31.of({
208
+ return Service30.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node22 = Node.makeLocationNode({
226
- service: Service31,
225
+ var node16 = Node.makeLocationNode({
226
+ service: Service30,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node22, exports_plugin2, Event4, ID2, Info2, Source2, State2 };
231
+ export { node16, exports_plugin2, Event3, ID3, Info3, Source2, State2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};