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

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 +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{persistent-pty-adcjy0yy.js → session-082mf624.js} +24 -24
  8. package/dist/chunks/{persistent-pty-xhbkmk74.js → session-09q98ahy.js} +25 -25
  9. package/dist/chunks/{persistent-pty-ycndb7t3.js → session-0et63zm2.js} +16 -16
  10. package/dist/chunks/{persistent-pty-d2aac7k2.js → session-0f9afca0.js} +5 -5
  11. package/dist/chunks/{persistent-pty-0paq2nw3.js → session-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{persistent-pty-r83whyrf.js → session-0pk8cwnc.js} +23 -23
  13. package/dist/chunks/{persistent-pty-ec8389mk.js → session-18e56dsp.js} +4 -4
  14. package/dist/chunks/{persistent-pty-yp2x3t23.js → session-1acjjqhc.js} +4 -4
  15. package/dist/chunks/{persistent-pty-wafpmbfs.js → session-1cy1yc7t.js} +20 -20
  16. package/dist/chunks/{persistent-pty-ncjresk4.js → session-1dangqhw.js} +8 -8
  17. package/dist/chunks/{persistent-pty-1dazxqgg.js → session-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{persistent-pty-5xpznt2d.js → session-1ed2t66p.js} +4 -4
  19. package/dist/chunks/{persistent-pty-fm2qvscf.js → session-1g7epwpd.js} +7 -7
  20. package/dist/chunks/{persistent-pty-cpa9evey.js → session-1m4dbgn5.js} +3 -3
  21. package/dist/chunks/{persistent-pty-n38w816c.js → session-1pp65zvy.js} +19 -19
  22. package/dist/chunks/{persistent-pty-kd4v9k4j.js → session-1qc33g3f.js} +18 -18
  23. package/dist/chunks/{persistent-pty-14tdt6pq.js → session-1qd6zwxj.js} +3 -3
  24. package/dist/chunks/{persistent-pty-3b699t4b.js → session-1vrp706b.js} +10 -10
  25. package/dist/chunks/{persistent-pty-vj8zb72s.js → session-1x9a1gz7.js} +6 -6
  26. package/dist/chunks/{persistent-pty-21r38tys.js → session-21r38tys.js} +1 -1
  27. package/dist/chunks/{persistent-pty-03drz298.js → session-224bnkwn.js} +22 -22
  28. package/dist/chunks/{persistent-pty-2402vzrj.js → session-2402vzrj.js} +1 -1
  29. package/dist/chunks/{persistent-pty-p06qdrkc.js → session-28tmsh5x.js} +5 -5
  30. package/dist/chunks/{persistent-pty-0wv36b6c.js → session-29ft4m47.js} +41 -41
  31. package/dist/chunks/{persistent-pty-2a5m3afh.js → session-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{persistent-pty-qb9vhbtw.js → session-2fy0z0n6.js} +15 -15
  33. package/dist/chunks/{persistent-pty-cyxwnd9c.js → session-2h8yhswq.js} +31 -31
  34. package/dist/chunks/{persistent-pty-7dqw4kz8.js → session-2k8khapm.js} +5 -5
  35. package/dist/chunks/{persistent-pty-a0sbrj5q.js → session-2kyz4xeg.js} +25 -25
  36. package/dist/chunks/{persistent-pty-rxdxrnem.js → session-2m6j0f52.js} +7 -7
  37. package/dist/chunks/{persistent-pty-m70sbz6t.js → session-2vs2nh1n.js} +4 -4
  38. package/dist/chunks/{persistent-pty-1myjhcv5.js → session-2xdpq94x.js} +22 -22
  39. package/dist/chunks/{persistent-pty-8pccpkv9.js → session-34nv4jvf.js} +12 -12
  40. package/dist/chunks/{persistent-pty-wd09zjr8.js → session-37gcj9j5.js} +16 -16
  41. package/dist/chunks/{persistent-pty-cxc2wn7k.js → session-3bj9cxk1.js} +8 -8
  42. package/dist/chunks/{persistent-pty-r7jpdgae.js → session-3c2x13s4.js} +28 -28
  43. package/dist/chunks/{persistent-pty-sxqherdn.js → session-3ds7w9ed.js} +3 -3
  44. package/dist/chunks/{persistent-pty-3fc6dm20.js → session-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{persistent-pty-3hepkmqq.js → session-3hepkmqq.js} +1 -1
  46. package/dist/chunks/session-3ke3thr6.js +26 -0
  47. package/dist/chunks/{persistent-pty-5gw2z3et.js → session-3sk23fa1.js} +5 -5
  48. package/dist/chunks/{persistent-pty-3smtnn6g.js → session-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{persistent-pty-3tvqynh2.js → session-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{persistent-pty-a0j9ghhw.js → session-3ynb5crc.js} +19 -19
  51. package/dist/chunks/{persistent-pty-3zsf4n22.js → session-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{persistent-pty-ajj1dwjw.js → session-4254mex4.js} +43 -43
  53. package/dist/chunks/{persistent-pty-44ke2mar.js → session-44ke2mar.js} +2 -2
  54. package/dist/chunks/{persistent-pty-qje2a4n2.js → session-4cws6bdd.js} +10 -10
  55. package/dist/chunks/{persistent-pty-cbqy5dr9.js → session-4gqw2btn.js} +17 -17
  56. package/dist/chunks/{persistent-pty-kg93zbfw.js → session-4n5s23d0.js} +11 -11
  57. package/dist/chunks/{persistent-pty-pgmm1a8m.js → session-4r2b4trr.js} +58 -58
  58. package/dist/chunks/{persistent-pty-ckecvw8r.js → session-54tcyq79.js} +2 -2
  59. package/dist/chunks/{persistent-pty-56gdpj1q.js → session-56gdpj1q.js} +2 -2
  60. package/dist/chunks/{persistent-pty-57ez7d0k.js → session-57ez7d0k.js} +2 -2
  61. package/dist/chunks/{persistent-pty-hh05mkd2.js → session-58gk62s0.js} +11 -11
  62. package/dist/chunks/{persistent-pty-xdzxe0wf.js → session-5bd5rwjf.js} +8 -8
  63. package/dist/chunks/{persistent-pty-5daktx2q.js → session-5daktx2q.js} +1 -1
  64. package/dist/chunks/{persistent-pty-5ekn9679.js → session-5ekn9679.js} +1 -1
  65. package/dist/chunks/{persistent-pty-e3qxr5gk.js → session-5qd3pb7m.js} +2 -2
  66. package/dist/chunks/{persistent-pty-fay784kk.js → session-5s2s3s9g.js} +38 -38
  67. package/dist/chunks/{persistent-pty-5t3nmthw.js → session-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{persistent-pty-mqt5419d.js → session-607q5haz.js} +12 -12
  69. package/dist/chunks/{persistent-pty-t0hvt5ga.js → session-62jhn0qh.js} +8 -8
  70. package/dist/chunks/{persistent-pty-669tq793.js → session-669tq793.js} +1 -1
  71. package/dist/chunks/{persistent-pty-e07xevgn.js → session-6j27hweg.js} +24 -24
  72. package/dist/chunks/session-6kdq0pjd.js +4 -0
  73. package/dist/chunks/{persistent-pty-ncq08a4j.js → session-6m4px3sx.js} +11 -11
  74. package/dist/chunks/{persistent-pty-6msgmcgs.js → session-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{persistent-pty-6744wpjg.js → session-6ss97yeq.js} +14 -14
  76. package/dist/chunks/{persistent-pty-mvfsc1pv.js → session-73tb2d7t.js} +3 -3
  77. package/dist/chunks/{persistent-pty-52a9n96b.js → session-77ry6d7j.js} +9 -9
  78. package/dist/chunks/{persistent-pty-qs9wfy73.js → session-78j00qgw.js} +16 -16
  79. package/dist/chunks/{persistent-pty-7bmhse3q.js → session-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{persistent-pty-v5vn9b7d.js → session-7eemwt38.js} +4 -4
  81. package/dist/chunks/{persistent-pty-39af71ak.js → session-7eygmad2.js} +22 -22
  82. package/dist/chunks/{persistent-pty-exhkk0g4.js → session-7kadqazm.js} +24 -24
  83. package/dist/chunks/{persistent-pty-a4kfnjq6.js → session-7kjtkbs4.js} +9 -9
  84. package/dist/chunks/{persistent-pty-9c3np669.js → session-7m5f9412.js} +8 -8
  85. package/dist/chunks/{persistent-pty-jhf3jymm.js → session-81rrwt6s.js} +6 -6
  86. package/dist/chunks/{persistent-pty-k0nnq3t9.js → session-87deq66t.js} +4 -4
  87. package/dist/chunks/{persistent-pty-tcezcvh9.js → session-89znhe33.js} +4 -4
  88. package/dist/chunks/{persistent-pty-517pqn2m.js → session-8b88e4ff.js} +66 -66
  89. package/dist/chunks/{persistent-pty-8d7r5vzw.js → session-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{persistent-pty-6z9mwsmt.js → session-8enafyav.js} +24 -24
  91. package/dist/chunks/{persistent-pty-br0tr5aq.js → session-8v6pyhej.js} +8 -8
  92. package/dist/chunks/{persistent-pty-cgy10bdv.js → session-8vb99h00.js} +3 -3
  93. package/dist/chunks/{persistent-pty-sgnpw8wt.js → session-8wpv99tc.js} +18 -18
  94. package/dist/chunks/{persistent-pty-qwww5vg0.js → session-8yvmqsdb.js} +24 -24
  95. package/dist/chunks/{persistent-pty-e7844e1q.js → session-948arcw8.js} +28 -28
  96. package/dist/chunks/{persistent-pty-2qb4gyb1.js → session-94t6wmwn.js} +12 -12
  97. package/dist/chunks/{persistent-pty-hm8n4zs5.js → session-99jt8c73.js} +6 -6
  98. package/dist/chunks/{persistent-pty-9cyfspf3.js → session-9cyfspf3.js} +2 -2
  99. package/dist/chunks/{persistent-pty-bqddxaek.js → session-9f8cp9a6.js} +9 -9
  100. package/dist/chunks/{persistent-pty-z7ck20cm.js → session-9vksxc2m.js} +15 -15
  101. package/dist/chunks/{persistent-pty-b7mafceh.js → session-a2rq9fn5.js} +6 -6
  102. package/dist/chunks/{persistent-pty-02fxdhk5.js → session-a4f19cwx.js} +13 -13
  103. package/dist/chunks/{persistent-pty-kk00bynn.js → session-a8bn8zg0.js} +21 -21
  104. package/dist/chunks/{persistent-pty-vyrd71eq.js → session-a8zr1srk.js} +11 -11
  105. package/dist/chunks/{persistent-pty-sb4h1tjm.js → session-a98pzf8v.js} +12 -12
  106. package/dist/chunks/{persistent-pty-aaet6srn.js → session-aaet6srn.js} +2 -2
  107. package/dist/chunks/{persistent-pty-24bj6dbd.js → session-acbm67v8.js} +32 -32
  108. package/dist/chunks/{persistent-pty-9ejw23zs.js → session-agbf4bzm.js} +9 -9
  109. package/dist/chunks/{persistent-pty-z2ahs8tt.js → session-agm5p4ms.js} +31 -31
  110. package/dist/chunks/{persistent-pty-w4fc9vh6.js → session-aj32hggj.js} +55 -43
  111. package/dist/chunks/{persistent-pty-avnvkndt.js → session-ay31fkzd.js} +5 -5
  112. package/dist/chunks/{persistent-pty-rwx3cxcp.js → session-az8x1n2p.js} +11 -11
  113. package/dist/chunks/{persistent-pty-pgegyfjk.js → session-azdeb39r.js} +13 -13
  114. package/dist/chunks/{persistent-pty-93z9rjx5.js → session-b0kbnke2.js} +10 -10
  115. package/dist/chunks/{persistent-pty-pwrm1vhs.js → session-b1pqrfyz.js} +27 -27
  116. package/dist/chunks/{persistent-pty-32ebpc2k.js → session-b5h46dbj.js} +37 -37
  117. package/dist/chunks/{persistent-pty-b6gygkdw.js → session-b6gygkdw.js} +2 -2
  118. package/dist/chunks/{persistent-pty-nca7p386.js → session-bdqrk2vk.js} +4 -4
  119. package/dist/chunks/{persistent-pty-fvsyg6qk.js → session-bgxcxs0p.js} +5 -5
  120. package/dist/chunks/{persistent-pty-80gs2nd1.js → session-bh2wddm2.js} +21 -21
  121. package/dist/chunks/{persistent-pty-z07pqspn.js → session-bjtzbw4r.js} +3 -3
  122. package/dist/chunks/{persistent-pty-jdz7ay1h.js → session-bkactd14.js} +10 -10
  123. package/dist/chunks/{persistent-pty-jcete9c4.js → session-bqjdgtzh.js} +11 -11
  124. package/dist/chunks/{persistent-pty-8gszphq4.js → session-bx5edcj9.js} +11 -11
  125. package/dist/chunks/{persistent-pty-ag9w8cw1.js → session-c78bbtc9.js} +5 -5
  126. package/dist/chunks/{persistent-pty-xx6wjz2h.js → session-ce6x8qpb.js} +24 -24
  127. package/dist/chunks/{persistent-pty-bka19sx3.js → session-cmagdxmr.js} +4 -4
  128. package/dist/chunks/{persistent-pty-0fhvsrpq.js → session-cmgejxv1.js} +28 -28
  129. package/dist/chunks/{persistent-pty-6jttejjp.js → session-cn6p3z1j.js} +13 -13
  130. package/dist/chunks/{persistent-pty-tktartgp.js → session-cx05c19p.js} +17 -17
  131. package/dist/chunks/{persistent-pty-y56x7az9.js → session-czrjb6hc.js} +25 -25
  132. package/dist/chunks/{persistent-pty-enm918mk.js → session-dax01gbs.js} +30 -30
  133. package/dist/chunks/{persistent-pty-r98e92ep.js → session-dfe8djrf.js} +4 -4
  134. package/dist/chunks/{persistent-pty-xndc7n30.js → session-dh54236j.js} +4 -4
  135. package/dist/chunks/{persistent-pty-dpkg50ah.js → session-dpkg50ah.js} +1 -1
  136. package/dist/chunks/{persistent-pty-hb0akz4x.js → session-dsve0ah2.js} +11 -11
  137. package/dist/chunks/{persistent-pty-79jt7wa4.js → session-dt4ympsh.js} +4 -4
  138. package/dist/chunks/{persistent-pty-s8d7rejh.js → session-eaj1djv9.js} +6 -6
  139. package/dist/chunks/{persistent-pty-7nwh0z4r.js → session-echm9f9f.js} +49 -49
  140. package/dist/chunks/{persistent-pty-ef5x83kb.js → session-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{persistent-pty-vrev4g7d.js → session-ehbxnbkr.js} +15 -15
  142. package/dist/chunks/{persistent-pty-by2v34hv.js → session-enmnh623.js} +4 -4
  143. package/dist/chunks/{persistent-pty-erw5rpbs.js → session-erw5rpbs.js} +2 -2
  144. package/dist/chunks/{persistent-pty-etq0c3wd.js → session-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{persistent-pty-6he05v0p.js → session-f08vtgad.js} +23 -23
  146. package/dist/chunks/{persistent-pty-chrxq3ex.js → session-f1vyadhg.js} +8 -8
  147. package/dist/chunks/{persistent-pty-3me5k2fr.js → session-f45037ze.js} +3 -3
  148. package/dist/chunks/{persistent-pty-3279mwmz.js → session-fadsgc1a.js} +5 -5
  149. package/dist/chunks/{persistent-pty-09dw9xvn.js → session-fcd8h1vk.js} +13 -13
  150. package/dist/chunks/{persistent-pty-45yze870.js → session-fjrr4fyp.js} +18 -18
  151. package/dist/chunks/{persistent-pty-g6q9qykm.js → session-g6q9qykm.js} +2 -2
  152. package/dist/chunks/{persistent-pty-0wsqztt0.js → session-g76g02ta.js} +3 -3
  153. package/dist/chunks/{persistent-pty-gd4qta3r.js → session-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{persistent-pty-dqcz30tg.js → session-gfrda9jf.js} +23 -23
  155. package/dist/chunks/{persistent-pty-94ek1h2f.js → session-gfvb90ym.js} +2 -2
  156. package/dist/chunks/{persistent-pty-vansc7n9.js → session-ggqyxype.js} +21 -21
  157. package/dist/chunks/{persistent-pty-qfzh5nde.js → session-gjsxdwp2.js} +28 -28
  158. package/dist/chunks/{persistent-pty-97j4gngf.js → session-gmjjhz4f.js} +7 -7
  159. package/dist/chunks/{persistent-pty-em4dwj0d.js → session-gmxecerg.js} +11 -11
  160. package/dist/chunks/{persistent-pty-gv6a8nnw.js → session-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{persistent-pty-a2mdmpbv.js → session-h1c35kxc.js} +7 -7
  162. package/dist/chunks/{persistent-pty-h6vf3j39.js → session-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{persistent-pty-639ckm2d.js → session-h7ranyr5.js} +28 -28
  164. package/dist/chunks/{persistent-pty-kmx0na6r.js → session-hehaxqkv.js} +4 -4
  165. package/dist/chunks/{persistent-pty-sh0ksnmg.js → session-hjxs9k8f.js} +3 -3
  166. package/dist/chunks/{persistent-pty-sz5744vg.js → session-hp4vdjnh.js} +7 -7
  167. package/dist/chunks/{persistent-pty-540xm2z9.js → session-hz1zw6bt.js} +22 -22
  168. package/dist/chunks/{persistent-pty-2demy4mp.js → session-j1yw51g5.js} +34 -34
  169. package/dist/chunks/{persistent-pty-947f7b8n.js → session-j2ks9cnd.js} +35 -35
  170. package/dist/chunks/{persistent-pty-j56e64zr.js → session-j56e64zr.js} +1 -1
  171. package/dist/chunks/{persistent-pty-besw6zsr.js → session-j6228c50.js} +17 -17
  172. package/dist/chunks/{persistent-pty-pnrj6x89.js → session-jb136r9z.js} +22 -22
  173. package/dist/chunks/{persistent-pty-tk2xb498.js → session-jb9hn1a8.js} +11 -11
  174. package/dist/chunks/session-jbd845z3.js +252 -0
  175. package/dist/chunks/{persistent-pty-de11ys5j.js → session-jbkz1fyp.js} +21 -21
  176. package/dist/chunks/{persistent-pty-kbegyq1c.js → session-jca4demv.js} +2 -2
  177. package/dist/chunks/{persistent-pty-zbatyxhg.js → session-jg5r7qrs.js} +23 -23
  178. package/dist/chunks/{persistent-pty-4aeq6eye.js → session-jgtxmawc.js} +10 -10
  179. package/dist/chunks/{persistent-pty-05kc7n4p.js → session-jwbhs3js.js} +24 -24
  180. package/dist/chunks/{persistent-pty-hqd5ggsz.js → session-jy6qfwr6.js} +14 -14
  181. package/dist/chunks/{persistent-pty-8m7vqh9t.js → session-k0ms5k0m.js} +10 -10
  182. package/dist/chunks/{persistent-pty-65tw7ne2.js → session-k0q32neb.js} +23 -23
  183. package/dist/chunks/{persistent-pty-k3c624dm.js → session-k3c624dm.js} +3 -3
  184. package/dist/chunks/{persistent-pty-x56fq0r3.js → session-k9avwfq5.js} +1 -1
  185. package/dist/chunks/{persistent-pty-agbhy58v.js → session-kagsdyfe.js} +8 -8
  186. package/dist/chunks/{persistent-pty-aeb4sny1.js → session-kerhshr9.js} +5 -5
  187. package/dist/chunks/{persistent-pty-kdt9c9ze.js → session-kermd5w6.js} +17 -17
  188. package/dist/chunks/{persistent-pty-f7mpxfp8.js → session-kf74p3bx.js} +33 -33
  189. package/dist/chunks/{persistent-pty-ftg911na.js → session-kpket22x.js} +15 -15
  190. package/dist/chunks/{persistent-pty-9b18mb3y.js → session-kq8c07et.js} +22 -22
  191. package/dist/chunks/{persistent-pty-18s9r5gn.js → session-kwrf6mrp.js} +4 -4
  192. package/dist/chunks/{persistent-pty-pr5f4b24.js → session-kyfgctc0.js} +33 -33
  193. package/dist/chunks/{persistent-pty-y6r8qnm9.js → session-m0d2935c.js} +25 -25
  194. package/dist/chunks/{persistent-pty-m3fdjcah.js → session-m3fdjcah.js} +1 -1
  195. package/dist/chunks/{persistent-pty-ete5a4rz.js → session-m3s5hhj2.js} +94 -94
  196. package/dist/chunks/{persistent-pty-3z0zch1n.js → session-m42z0ebz.js} +32 -32
  197. package/dist/chunks/{persistent-pty-6q4z0wrt.js → session-m6pk4krr.js} +1 -1
  198. package/dist/chunks/{persistent-pty-140js8cv.js → session-m8gyrdxb.js} +46 -46
  199. package/dist/chunks/{persistent-pty-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
  200. package/dist/chunks/{persistent-pty-qcwj8qyp.js → session-md7tbqzp.js} +5 -5
  201. package/dist/chunks/{persistent-pty-bj7qwv03.js → session-mdyw9496.js} +11 -11
  202. package/dist/chunks/{persistent-pty-nsjkyrtc.js → session-mksgfzgs.js} +5 -5
  203. package/dist/chunks/{persistent-pty-2a4f6v5q.js → session-mm5kxf07.js} +8 -8
  204. package/dist/chunks/{persistent-pty-vw47vkvc.js → session-mqqrcsjk.js} +16 -16
  205. package/dist/chunks/{persistent-pty-2z6npzcs.js → session-mxgvry90.js} +10 -10
  206. package/dist/chunks/{persistent-pty-4c9v79sp.js → session-n00hzpwr.js} +17 -17
  207. package/dist/chunks/{persistent-pty-b27q0a9n.js → session-nh7fre4k.js} +10 -10
  208. package/dist/chunks/{persistent-pty-tvqmbf2y.js → session-nk1anpaj.js} +7 -7
  209. package/dist/chunks/{persistent-pty-0gaj4617.js → session-nnxdhk5c.js} +6 -6
  210. package/dist/chunks/{persistent-pty-a6r5j9ve.js → session-npvvfhg5.js} +4 -4
  211. package/dist/chunks/{persistent-pty-m2d0j7c0.js → session-nq7qbqzc.js} +9 -9
  212. package/dist/chunks/{persistent-pty-aez9gwcb.js → session-pepmwvmk.js} +20 -20
  213. package/dist/chunks/{persistent-pty-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{persistent-pty-ywyxz1rh.js → session-pk0r7mgm.js} +21 -21
  215. package/dist/chunks/{persistent-pty-pknna89w.js → session-pknna89w.js} +1 -1
  216. package/dist/chunks/{persistent-pty-11txpkat.js → session-prxsqbpb.js} +23 -23
  217. package/dist/chunks/{persistent-pty-wd3x2cqz.js → session-psazpmmj.js} +2 -2
  218. package/dist/chunks/{persistent-pty-h1rv4yj5.js → session-pw1fxcyc.js} +8 -8
  219. package/dist/chunks/{persistent-pty-f7fhy96a.js → session-pyxf7vnb.js} +5 -5
  220. package/dist/chunks/{persistent-pty-n7d88tpn.js → session-q3t37ft6.js} +3 -3
  221. package/dist/chunks/{persistent-pty-wdm18wae.js → session-q4ec5mdp.js} +4 -4
  222. package/dist/chunks/{persistent-pty-ham917sc.js → session-qaykhsrc.js} +48 -48
  223. package/dist/chunks/{persistent-pty-wj76ss2k.js → session-qbqbaz6q.js} +4 -4
  224. package/dist/chunks/{persistent-pty-v17mnf28.js → session-qfx1k094.js} +32 -32
  225. package/dist/chunks/{persistent-pty-4zfaky6j.js → session-qm5dj1k8.js} +13 -13
  226. package/dist/chunks/{persistent-pty-6dee4bn2.js → session-qr52cvd5.js} +11 -11
  227. package/dist/chunks/{persistent-pty-qsdy395h.js → session-qsdy395h.js} +1 -1
  228. package/dist/chunks/{persistent-pty-v37e6ssw.js → session-qy4v0j2t.js} +92 -92
  229. package/dist/chunks/{persistent-pty-h6r3nrb9.js → session-r55vasa2.js} +4 -4
  230. package/dist/chunks/session-rap9a73h.js +18 -0
  231. package/dist/chunks/{persistent-pty-rdw6cm16.js → session-rdw6cm16.js} +1 -1
  232. package/dist/chunks/{persistent-pty-jykm5qrb.js → session-rhqbq44a.js} +35 -35
  233. package/dist/chunks/{persistent-pty-5mhxbhna.js → session-rv1nt4dx.js} +9 -9
  234. package/dist/chunks/{persistent-pty-tk1eb0jd.js → session-s199q059.js} +23 -23
  235. package/dist/chunks/{persistent-pty-h1znna23.js → session-s40m7wem.js} +11 -11
  236. package/dist/chunks/{persistent-pty-nexc1gw3.js → session-sbsbaqgb.js} +177 -177
  237. package/dist/chunks/{persistent-pty-ehye99pz.js → session-t46xbjk1.js} +18 -18
  238. package/dist/chunks/{persistent-pty-g640k70z.js → session-t9pnexmg.js} +6 -6
  239. package/dist/chunks/{persistent-pty-qkz21msg.js → session-tawnwg9x.js} +44 -44
  240. package/dist/chunks/{persistent-pty-tazgh4e4.js → session-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{persistent-pty-tdstcens.js → session-tdstcens.js} +1 -1
  242. package/dist/chunks/{persistent-pty-yjw00k6r.js → session-tdze28ss.js} +13 -13
  243. package/dist/chunks/{persistent-pty-tvtrv512.js → session-tvtrv512.js} +1 -1
  244. package/dist/chunks/{persistent-pty-prd2qjch.js → session-tw7zb9dd.js} +35 -35
  245. package/dist/chunks/{persistent-pty-k1gkpfdk.js → session-tx9w5tca.js} +8 -8
  246. package/dist/chunks/{persistent-pty-d79paw8k.js → session-v53pp9ze.js} +55 -55
  247. package/dist/chunks/{persistent-pty-veqvce7d.js → session-veqvce7d.js} +1 -1
  248. package/dist/chunks/{persistent-pty-84ayszt9.js → session-vgmbyh4q.js} +29 -29
  249. package/dist/chunks/{persistent-pty-dagkn99r.js → session-vtpkq4qf.js} +1 -1
  250. package/dist/chunks/{persistent-pty-vzcthcp8.js → session-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{persistent-pty-7fha70gh.js → session-w1aa0sha.js} +29 -29
  252. package/dist/chunks/{persistent-pty-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{persistent-pty-12arvj6n.js → session-w5d72rt0.js} +2 -2
  254. package/dist/chunks/{persistent-pty-n07s4dfy.js → session-w84h3481.js} +5 -5
  255. package/dist/chunks/{persistent-pty-wd87259q.js → session-wd87259q.js} +1 -1
  256. package/dist/chunks/{persistent-pty-7hrmjf05.js → session-wnd5vpb2.js} +42 -42
  257. package/dist/chunks/{persistent-pty-72pe5pp7.js → session-wphdxe94.js} +6 -6
  258. package/dist/chunks/{persistent-pty-84g0xtqq.js → session-wqjd83zn.js} +9 -9
  259. package/dist/chunks/{persistent-pty-eew2zdws.js → session-wxmykcya.js} +15 -15
  260. package/dist/chunks/{persistent-pty-x1ezjp6w.js → session-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{persistent-pty-hcr91a9c.js → session-x2fy9jbe.js} +33 -33
  262. package/dist/chunks/{persistent-pty-wdy4dbbj.js → session-xer9fjax.js} +52 -52
  263. package/dist/chunks/{persistent-pty-prtjzanf.js → session-xez13snj.js} +26 -26
  264. package/dist/chunks/{persistent-pty-j58c5xyq.js → session-xf8yqmad.js} +9 -9
  265. package/dist/chunks/{persistent-pty-xfkkasph.js → session-xfkkasph.js} +1 -1
  266. package/dist/chunks/{persistent-pty-aewf7fv0.js → session-xqn0wq6t.js} +12 -12
  267. package/dist/chunks/{persistent-pty-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{persistent-pty-7f8zt51t.js → session-y1pnfhzk.js} +11 -11
  269. package/dist/chunks/{persistent-pty-3scm17sd.js → session-y4ztdhfe.js} +32 -32
  270. package/dist/chunks/{persistent-pty-7qhp50hp.js → session-y65ny0jc.js} +3 -3
  271. package/dist/chunks/{persistent-pty-2stzsw3h.js → session-y8t2hg21.js} +8 -8
  272. package/dist/chunks/{persistent-pty-jkdgk110.js → session-yc7zgn7t.js} +36 -36
  273. package/dist/chunks/{persistent-pty-yrhqyw5v.js → session-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{persistent-pty-s4enseaf.js → session-yrznvahk.js} +2 -2
  275. package/dist/chunks/{persistent-pty-b7b4ctej.js → session-yt3hy1g9.js} +5 -5
  276. package/dist/chunks/{persistent-pty-88fhh6r1.js → session-ytz98xyd.js} +12 -12
  277. package/dist/chunks/{persistent-pty-r68fq1x1.js → session-yvzbrbsb.js} +37 -37
  278. package/dist/chunks/{persistent-pty-ach3jvdq.js → session-yyc6hzvy.js} +15 -15
  279. package/dist/chunks/session-yzjjab3k.js +507 -0
  280. package/dist/chunks/{persistent-pty-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{persistent-pty-2kewd2va.js → session-z3nay82g.js} +9 -9
  282. package/dist/chunks/{persistent-pty-29x78va6.js → session-z63w68vq.js} +6 -6
  283. package/dist/chunks/{persistent-pty-jexe30zh.js → session-zcp5s6g4.js} +18 -18
  284. package/dist/chunks/{persistent-pty-zeh9ct20.js → session-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{persistent-pty-wdmcp318.js → session-zhdvw921.js} +12 -12
  286. package/dist/chunks/{persistent-pty-xd3hz90e.js → session-zjx6mc8r.js} +10 -10
  287. package/dist/chunks/{persistent-pty-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{persistent-pty-xyh6nkpv.js → session-ztwtxy0r.js} +19 -19
  289. package/dist/chunks/{persistent-pty-tj1zj3en.js → session-zvq4a4ap.js} +17 -17
  290. package/dist/chunks/{persistent-pty-z35hf7r1.js → session-zxm8ey7q.js} +19 -19
  291. package/dist/chunks/{persistent-pty-xm1fqpw5.js → session-zxnnemhf.js} +32 -32
  292. package/dist/chunks/{persistent-pty-zxq2ej10.js → session-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +84 -84
  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 +123 -123
  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 +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +120 -120
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  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 +2 -2
  427. package/dist/filesystem/location-watcher.js +221 -221
  428. package/dist/filesystem/protected.js +3 -3
  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 +104 -104
  433. package/dist/form.js +74 -74
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  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 +83 -83
  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 +77 -77
  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 +82 -82
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +113 -113
  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 +70 -70
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +139 -139
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +348 -348
  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 +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +6 -6
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +6 -6
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +6 -6
  562. package/dist/plugin.js +227 -227
  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 +91 -91
  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 +95 -95
  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 +132 -132
  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 +5 -5
  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 +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +119 -119
  598. package/dist/session/model-transport.js +9 -9
  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 +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +229 -229
  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 +112 -112
  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 +172 -172
  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 +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +208 -208
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +150 -150
  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 +214 -214
  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 +11 -11
  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 +110 -110
  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 +125 -125
  641. package/dist/tool/plugin/edit.js +114 -114
  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 +120 -120
  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 +215 -215
  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 +108 -108
  654. package/dist/tool/plugin/websearch.js +110 -110
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +96 -96
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +12 -12
  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 +5 -5
  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 +3 -3
  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 +84 -84
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +79 -79
  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 +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/persistent-pty-0mesazry.js +0 -4
  702. package/dist/chunks/persistent-pty-15eeh29d.js +0 -507
  703. package/dist/chunks/persistent-pty-3ys7avz6.js +0 -26
  704. package/dist/chunks/persistent-pty-9zdhvgqs.js +0 -18
  705. package/dist/chunks/persistent-pty-kzm3n6dm.js +0 -252
  706. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-0zkw76rk.js → session-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-17cy0kzp.js → session-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-1cnp2v09.js → session-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-24dcb14g.js → session-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-2710q6r3.js → session-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-2axfhc9x.js → session-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-34c7v6d4.js → session-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-359p4xyc.js → session-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-3asan66x.js → session-3asan66x.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-3v8g72cx.js → session-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-3w5fmr99.js → session-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-3wcehsnq.js → session-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-43n2bw4t.js → session-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-4knz6hnm.js → session-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-4y7fprxs.js → session-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-53557ph1.js → session-53557ph1.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-550bvhaj.js → session-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-6prwharc.js → session-6prwharc.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-7akdwqpd.js → session-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-7m9af43g.js → session-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-822emrt2.js → session-822emrt2.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-88xbtdfr.js → session-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-8n3pysct.js → session-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-8wj87zfr.js → session-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-922hggd3.js → session-922hggd3.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-9a4afbnw.js → session-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-a6k6eb26.js → session-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-af5trqkr.js → session-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-afrmfg78.js → session-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-atq7p7m5.js → session-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-cf4snx6d.js → session-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-d9fn303g.js → session-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-dajrwvna.js → session-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-dap0rakb.js → session-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-df08tz66.js → session-df08tz66.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-dy18nga0.js → session-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-e5kj55wp.js → session-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-e73j6tqm.js → session-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-ec1grn59.js → session-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-eh3zwz77.js → session-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-emrn6kk6.js → session-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-f0mxakyp.js → session-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-faypxj3z.js → session-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-fd410y7t.js → session-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → session-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-g4wezp1m.js → session-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-g86h250q.js → session-g86h250q.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-gebd4c9n.js → session-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-gftt206x.js → session-gftt206x.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-hjbc5kem.js → session-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-hk9envan.js → session-hk9envan.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-j2ntwpah.js → session-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-jjkms2e6.js → session-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-mp448xyj.js → session-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-msx8hqn2.js → session-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-n05xt0ee.js → session-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-n3j8tn72.js → session-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-njntx4h6.js → session-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-q3sfg36h.js → session-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-q74kybfr.js → session-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-qaymkmh1.js → session-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-qb87gjwd.js → session-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-qfa1cgps.js → session-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-qg3g05ea.js → session-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-qrg20bc0.js → session-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → session-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-ssg3fenm.js → session-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-w803qqfp.js → session-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-wer8tq1h.js → session-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-wtztk69x.js → session-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-x0ckcb58.js → session-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-x61499pn.js → session-x61499pn.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-y44na4kk.js → session-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{persistent-pty-y8cydn3q.js → session-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{persistent-pty-y8f7s663.js → session-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{persistent-pty-ym463w8f.js → session-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{persistent-pty-z9919s4g.js → session-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./persistent-pty-rdw6cm16.js";
3
+ } from "./session-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./persistent-pty-qaymkmh1.js";
6
+ } from "./session-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./session-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options7,
15
- Service: () => Service63,
14
+ Options: () => Options6,
15
+ Service: () => Service46,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured9,
18
+ configured: () => configured7,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node67,
24
+ node: () => node49,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve3
27
27
  });
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options7 = Schema.Struct({
46
+ var Options6 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service63 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service46 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service63.of({
202
+ return Service46.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured9(options) {
210
- return makeLocationNode({ service: Service63, layer: layer(options), deps: [Global.node] });
209
+ function configured7(options) {
210
+ return makeLocationNode({ service: Service46, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node67 = configured9();
212
+ var node49 = configured7();
213
213
 
214
- export { Options7, Service63, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured9, node67, exports_select };
214
+ export { Options6, Service46, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured7, node49, exports_select };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./persistent-pty-qs9wfy73.js";
2
+ Service83,
3
+ node87
4
+ } from "./session-78j00qgw.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./persistent-pty-6744wpjg.js";
6
+ Service80,
7
+ node84
8
+ } from "./session-6ss97yeq.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./persistent-pty-ec1grn59.js";
11
+ } from "./session-ec1grn59.js";
12
12
  import {
13
- Service67,
14
- node71
15
- } from "./persistent-pty-n38w816c.js";
13
+ Service75,
14
+ node79
15
+ } from "./session-1pp65zvy.js";
16
16
  import {
17
17
  __export
18
- } from "./persistent-pty-9rqn6x4v.js";
18
+ } from "./session-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service8,
23
+ Service: () => Service7,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node10
25
+ node: () => node9
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service8 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service7 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service8, Effect.gen(function* () {
38
- const bus = yield* Service82;
37
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
38
+ const bus = yield* Service83;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service67;
41
- const location = yield* Service79;
40
+ const store = yield* Service75;
41
+ const location = yield* Service80;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service8.of({ load });
87
+ return Service7.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node10 = makeLocationNode({
98
+ var node9 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node86, FSUtil.node, node83, node71]
101
+ deps: [node87, FSUtil.node, node84, node79]
102
102
  });
103
103
 
104
- export { Service8, node10, exports_instructions };
104
+ export { Service7, node9, exports_instructions };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info13,
8
+ Info: () => Info27,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info13 = SessionProviderContext.Info;
22
+ var Info27 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -49,4 +49,4 @@ var encode2 = (provenance, replacement) => ({
49
49
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
50
50
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
51
51
 
52
- export { Info13, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
52
+ export { Info27, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./persistent-pty-qs9wfy73.js";
2
+ Service83,
3
+ node87
4
+ } from "./session-78j00qgw.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./persistent-pty-rdw6cm16.js";
8
+ } from "./session-rdw6cm16.js";
9
9
  import {
10
- Service79,
11
- node83
12
- } from "./persistent-pty-6744wpjg.js";
10
+ Service80,
11
+ node84
12
+ } from "./session-6ss97yeq.js";
13
13
  import {
14
14
  rewrite2,
15
- ID13,
15
+ ID8,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service75,
20
- node79,
21
- Event17
22
- } from "./persistent-pty-prd2qjch.js";
19
+ Service60,
20
+ node63,
21
+ Event13
22
+ } from "./session-tw7zb9dd.js";
23
23
  import {
24
24
  __export
25
- } from "./persistent-pty-9rqn6x4v.js";
25
+ } from "./session-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,25 +30,25 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event16,
33
+ Event: () => Event12,
34
34
  Family: () => Family2,
35
- ID: () => ID12,
36
- Info: () => Info26,
35
+ ID: () => ID7,
36
+ Info: () => Info19,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service73,
40
+ Service: () => Service59,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
- node: () => node77,
43
+ node: () => node62,
44
44
  parse: () => parse5
45
45
  });
46
46
  import { Model } from "@opencode/schema/model";
47
47
  import { Context, Effect, Layer, Stream } from "effect";
48
48
  import { makeLocationNode } from "@opencode/util/effect/app-node";
49
49
  import { freeze } from "immer";
50
- import { Event as Event16 } from "@opencode/schema/model";
51
- var ID12 = Model.ID;
50
+ import { Event as Event12 } from "@opencode/schema/model";
51
+ var ID7 = Model.ID;
52
52
  var VariantID2 = Model.VariantID;
53
53
  var Family2 = Model.Family;
54
54
  var ReasoningField2 = Model.ReasoningField;
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
56
56
  var Capabilities2 = Model.Capabilities;
57
57
  var Cost2 = Model.Cost;
58
58
  var Ref2 = Model.Ref;
59
- var Info26 = Model.Info;
59
+ var Info19 = Model.Info;
60
60
 
61
- class Service73 extends Context.Service()("@opencode/Model") {
61
+ class Service59 extends Context.Service()("@opencode/Model") {
62
62
  }
63
- var layer = Layer.effect(Service73, Effect.gen(function* () {
64
- const providers = yield* Service75;
65
- const bus = yield* Service82;
66
- const location = yield* Service79;
63
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
64
+ const providers = yield* Service60;
65
+ const bus = yield* Service83;
66
+ const location = yield* Service80;
67
67
  let input;
68
68
  const state = create3({
69
69
  name: "model",
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
108
108
  const models = writable(providerID);
109
109
  if (!models)
110
110
  return;
111
- const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
111
+ const model = draft(providerID, modelID) ?? Info19.default(providerID, modelID);
112
112
  update(model);
113
113
  model.id = modelID;
114
114
  model.providerID = providerID;
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
197
197
  location: { directory: location.directory, workspaceID: location.workspaceID }
198
198
  });
199
199
  });
200
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
- return Service73.of({
200
+ yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
+ return Service59.of({
202
202
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
203
203
  reload,
204
204
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
217
217
  })
218
218
  });
219
219
  }));
220
- var node77 = makeLocationNode({ service: Service73, layer, deps: [node79, node86, node83] });
220
+ var node62 = makeLocationNode({ service: Service59, layer, deps: [node63, node87, node84] });
221
221
  function compatibility2(input) {
222
222
  if (typeof input === "string")
223
223
  return { reasoningField: input };
@@ -228,9 +228,9 @@ function compatibility2(input) {
228
228
  function parse5(input) {
229
229
  const index = input.indexOf("/");
230
230
  return {
231
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
232
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
231
+ providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
232
+ modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
233
233
  };
234
234
  }
235
235
 
236
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service73, node77, compatibility2, parse5, exports_model2, Event16 };
236
+ export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info19, Service59, node62, compatibility2, parse5, exports_model2, Event12 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./session-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./persistent-pty-6744wpjg.js";
5
+ Service80
6
+ } from "./session-6ss97yeq.js";
7
7
  import {
8
- Service64
9
- } from "./persistent-pty-ehye99pz.js";
8
+ Service19
9
+ } from "./session-t46xbjk1.js";
10
10
  import {
11
- Service8
12
- } from "./persistent-pty-9b18mb3y.js";
11
+ Service7
12
+ } from "./session-kq8c07et.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./persistent-pty-2a5m3afh.js";
15
+ } from "./session-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -24,25 +24,25 @@ import {
24
24
  TextPage2,
25
25
  ListPage2,
26
26
  Service5
27
- } from "./persistent-pty-a4kfnjq6.js";
27
+ } from "./session-7kjtkbs4.js";
28
28
  import {
29
29
  __export
30
- } from "./persistent-pty-9rqn6x4v.js";
30
+ } from "./session-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input3,
36
- Plugin: () => Plugin3,
35
+ Input: () => Input10,
36
+ Plugin: () => Plugin13,
37
37
  ReadTool: () => exports_read,
38
- name: () => name3,
39
- toModelContent: () => toModelContent3
38
+ name: () => name10,
39
+ toModelContent: () => toModelContent6
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name3 = "read";
45
+ var name10 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input3 = LocationInput;
56
+ var Input10 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin3 = {
58
+ var Plugin13 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
61
  const reader = yield* Service5;
62
- const access = yield* Service64;
63
- const sessionInstructions = yield* Service8;
62
+ const access = yield* Service19;
63
+ const sessionInstructions = yield* Service7;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service79;
65
+ const location = yield* Service80;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name3,
67
+ name: name10,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input3,
70
+ input: Input10,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin3 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent3(result.path, input.offset, result.output),
115
+ content: toModelContent6(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -145,7 +145,7 @@ ${suggestions.join(`
145
145
  });
146
146
  })
147
147
  };
148
- var toModelContent3 = (path, offset, output) => {
148
+ var toModelContent6 = (path, offset, output) => {
149
149
  if (output.type === "file" && output.encoding === "base64")
150
150
  return [
151
151
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -181,4 +181,4 @@ var toModelContent3 = (path, offset, output) => {
181
181
  `);
182
182
  };
183
183
 
184
- export { name3, Input3, Plugin3, toModelContent3, exports_read };
184
+ export { name10, Input10, Plugin13, toModelContent6, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};