@opencode/core 0.0.0-dev-19682 → 0.0.0-dev-19684

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{persistent-pty-t8tppdbr.js → shell-02scvt0n.js} +15 -15
  8. package/dist/chunks/{persistent-pty-zwyvjxyb.js → shell-05dbw8h7.js} +8 -8
  9. package/dist/chunks/{persistent-pty-q8dvbymb.js → shell-0arp08hh.js} +17 -17
  10. package/dist/chunks/{persistent-pty-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{persistent-pty-cw2220fx.js → shell-0pkw8ty1.js} +29 -29
  12. package/dist/chunks/{persistent-pty-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{persistent-pty-pk54j106.js → shell-0vk4a8bm.js} +33 -33
  14. package/dist/chunks/{persistent-pty-x8d4tdmm.js → shell-13tqay2c.js} +33 -33
  15. package/dist/chunks/{persistent-pty-vpy6tv1g.js → shell-13y8bxtp.js} +18 -18
  16. package/dist/chunks/{persistent-pty-yp2x3t23.js → shell-1acjjqhc.js} +4 -4
  17. package/dist/chunks/{persistent-pty-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{persistent-pty-bw0vgseb.js → shell-1fcrsx1q.js} +8 -8
  19. package/dist/chunks/{persistent-pty-jt0mfgqw.js → shell-1vmngn2p.js} +47 -47
  20. package/dist/chunks/{persistent-pty-18sxed07.js → shell-1y02ekvx.js} +36 -36
  21. package/dist/chunks/{persistent-pty-7pjh2c00.js → shell-1z5xhg71.js} +20 -20
  22. package/dist/chunks/{persistent-pty-21r38tys.js → shell-21r38tys.js} +1 -1
  23. package/dist/chunks/{persistent-pty-2402vzrj.js → shell-2402vzrj.js} +1 -1
  24. package/dist/chunks/{persistent-pty-z63w68vq.js → shell-29x78va6.js} +6 -6
  25. package/dist/chunks/{persistent-pty-gxq6akdt.js → shell-29xvb5bk.js} +4 -4
  26. package/dist/chunks/{persistent-pty-xxg060p8.js → shell-2a482amk.js} +11 -11
  27. package/dist/chunks/{persistent-pty-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{persistent-pty-5vb3py7h.js → shell-2bzw6bfd.js} +4 -4
  29. package/dist/chunks/{persistent-pty-cpy6gm2a.js → shell-2d57kztd.js} +6 -6
  30. package/dist/chunks/{persistent-pty-57ez7d0k.js → shell-2fgn2we9.js} +9 -9
  31. package/dist/chunks/{persistent-pty-2k8khapm.js → shell-2k8khapm.js} +1 -1
  32. package/dist/chunks/{persistent-pty-e2wwkkr3.js → shell-2kjmkjjh.js} +25 -25
  33. package/dist/chunks/{persistent-pty-29ekt46m.js → shell-2vpn5atd.js} +25 -25
  34. package/dist/chunks/{persistent-pty-rgfqswwp.js → shell-353ec5xa.js} +5 -5
  35. package/dist/chunks/{persistent-pty-w8hnngn5.js → shell-36prqbxs.js} +7 -7
  36. package/dist/chunks/{persistent-pty-s7cyq3j7.js → shell-3egzarba.js} +6 -6
  37. package/dist/chunks/{persistent-pty-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{persistent-pty-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{persistent-pty-ep6z9mt6.js → shell-3k0nn0ne.js} +11 -11
  40. package/dist/chunks/{persistent-pty-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{persistent-pty-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{persistent-pty-ky788973.js → shell-3vwe38gh.js} +8 -8
  43. package/dist/chunks/{persistent-pty-c78bbtc9.js → shell-3w0fmcng.js} +5 -5
  44. package/dist/chunks/{persistent-pty-xrzs32wx.js → shell-3xyw1x35.js} +30 -30
  45. package/dist/chunks/{persistent-pty-6ng8rhkc.js → shell-421r5d5v.js} +12 -12
  46. package/dist/chunks/{persistent-pty-hsv3rq22.js → shell-465w2j5b.js} +4 -4
  47. package/dist/chunks/{persistent-pty-0tvcf6qn.js → shell-497trp6d.js} +24 -24
  48. package/dist/chunks/{persistent-pty-4xmqhafq.js → shell-4f127xgv.js} +15 -15
  49. package/dist/chunks/{persistent-pty-gamcf2tt.js → shell-4hqjaqv1.js} +21 -21
  50. package/dist/chunks/{persistent-pty-p91ayak9.js → shell-4m2e3er3.js} +9 -9
  51. package/dist/chunks/{persistent-pty-bbctgmqj.js → shell-4mqp54gq.js} +3 -3
  52. package/dist/chunks/{persistent-pty-tvysf4y4.js → shell-50aape0s.js} +5 -5
  53. package/dist/chunks/{persistent-pty-kszyjgag.js → shell-521mg670.js} +23 -23
  54. package/dist/chunks/{persistent-pty-56gdpj1q.js → shell-56gdpj1q.js} +2 -2
  55. package/dist/chunks/{persistent-pty-gb7dj5em.js → shell-58tcc6dc.js} +36 -36
  56. package/dist/chunks/{persistent-pty-1drb93k1.js → shell-59ckvsfw.js} +22 -22
  57. package/dist/chunks/{persistent-pty-e2ky9s5t.js → shell-59msrm9x.js} +54 -54
  58. package/dist/chunks/{persistent-pty-5daktx2q.js → shell-5daktx2q.js} +1 -1
  59. package/dist/chunks/{persistent-pty-wn348gvk.js → shell-5g8n0xjn.js} +35 -35
  60. package/dist/chunks/shell-5h6q456q.js +247 -0
  61. package/dist/chunks/{persistent-pty-e550c21h.js → shell-5mjd0tcc.js} +17 -17
  62. package/dist/chunks/{persistent-pty-wbyzgfj3.js → shell-5pak3zwf.js} +19 -19
  63. package/dist/chunks/{persistent-pty-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{persistent-pty-xk76jmgb.js → shell-60scm90h.js} +3 -3
  65. package/dist/chunks/{persistent-pty-t68jr2fk.js → shell-60vgchqy.js} +17 -17
  66. package/dist/chunks/{persistent-pty-26k5bknw.js → shell-64kphnzf.js} +4 -4
  67. package/dist/chunks/{persistent-pty-egja3w3k.js → shell-650p1vgr.js} +11 -11
  68. package/dist/chunks/{persistent-pty-669tq793.js → shell-669tq793.js} +1 -1
  69. package/dist/chunks/{persistent-pty-rdt39d18.js → shell-6769hash.js} +16 -16
  70. package/dist/chunks/{persistent-pty-4ttbd9rb.js → shell-68rq69k6.js} +17 -17
  71. package/dist/chunks/{persistent-pty-c1q333ww.js → shell-6a0k7haa.js} +12 -12
  72. package/dist/chunks/{persistent-pty-5cmxdwv8.js → shell-6bsje7ws.js} +3 -3
  73. package/dist/chunks/{persistent-pty-t2tcessw.js → shell-6ch53rs1.js} +20 -20
  74. package/dist/chunks/shell-6kdq0pjd.js +4 -0
  75. package/dist/chunks/{persistent-pty-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{persistent-pty-0457sjwy.js → shell-6qbs7j8e.js} +9 -9
  77. package/dist/chunks/{persistent-pty-4n4k0cnh.js → shell-72j6m2ks.js} +4 -4
  78. package/dist/chunks/{persistent-pty-qa0ka09q.js → shell-75yx4wx5.js} +2 -2
  79. package/dist/chunks/{persistent-pty-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{persistent-pty-sxwb65hc.js → shell-7h1fndp2.js} +24 -24
  81. package/dist/chunks/{persistent-pty-3gmdw0js.js → shell-7yvm4rav.js} +10 -10
  82. package/dist/chunks/{persistent-pty-zqew8r2r.js → shell-7zrdb7rw.js} +12 -12
  83. package/dist/chunks/{persistent-pty-hesrcs9n.js → shell-80pjn6xv.js} +17 -17
  84. package/dist/chunks/{persistent-pty-3zc93ghn.js → shell-89awe219.js} +22 -22
  85. package/dist/chunks/{persistent-pty-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{persistent-pty-e4zvn0y8.js → shell-8k29n9b8.js} +11 -11
  87. package/dist/chunks/{persistent-pty-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
  88. package/dist/chunks/{persistent-pty-z8rhdvzk.js → shell-8qmgx6wx.js} +17 -17
  89. package/dist/chunks/{persistent-pty-ehjgfrb8.js → shell-8zds8w79.js} +25 -25
  90. package/dist/chunks/{persistent-pty-0zbmh4se.js → shell-938kg93p.js} +30 -30
  91. package/dist/chunks/{persistent-pty-jbz8x4nc.js → shell-9923zjtq.js} +31 -31
  92. package/dist/chunks/{persistent-pty-vbx9nkth.js → shell-9cd5mnda.js} +15 -15
  93. package/dist/chunks/shell-9cdqq2er.js +478 -0
  94. package/dist/chunks/{persistent-pty-1fdf6jkm.js → shell-9d1719jx.js} +4 -4
  95. package/dist/chunks/{persistent-pty-dase69n4.js → shell-9h9fjp2r.js} +26 -26
  96. package/dist/chunks/{persistent-pty-gypqxzd7.js → shell-9sdzjm5d.js} +9 -9
  97. package/dist/chunks/{persistent-pty-3chrvcfn.js → shell-9yk7fe3p.js} +11 -11
  98. package/dist/chunks/{persistent-pty-g5g08czv.js → shell-9zxh70gf.js} +13 -13
  99. package/dist/chunks/{persistent-pty-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{persistent-pty-34rkz0x9.js → shell-a46v4e4v.js} +7 -7
  101. package/dist/chunks/{persistent-pty-9jvshbgc.js → shell-a77f6hq0.js} +24 -24
  102. package/dist/chunks/{persistent-pty-aaet6srn.js → shell-aaet6srn.js} +2 -2
  103. package/dist/chunks/{persistent-pty-tmdzsscp.js → shell-abs7vd7m.js} +21 -21
  104. package/dist/chunks/{persistent-pty-3a3m4psf.js → shell-ak1ej6q8.js} +15 -15
  105. package/dist/chunks/{persistent-pty-fxbmv06w.js → shell-atwvjk3g.js} +10 -10
  106. package/dist/chunks/{persistent-pty-0f9afca0.js → shell-avm8jn6n.js} +5 -5
  107. package/dist/chunks/{persistent-pty-ddcn1th9.js → shell-avvd1tnc.js} +18 -18
  108. package/dist/chunks/{persistent-pty-sbrnn11p.js → shell-b2da4m4w.js} +4 -4
  109. package/dist/chunks/{persistent-pty-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{persistent-pty-embw8kgh.js → shell-baaqp4zd.js} +4 -4
  111. package/dist/chunks/{persistent-pty-r98e92ep.js → shell-bct739vz.js} +4 -4
  112. package/dist/chunks/{persistent-pty-y02q0mz5.js → shell-bmmmk9rh.js} +20 -20
  113. package/dist/chunks/{persistent-pty-83d2wykz.js → shell-bt2e4tjd.js} +22 -22
  114. package/dist/chunks/{persistent-pty-8xfqr98k.js → shell-bvvhb128.js} +14 -14
  115. package/dist/chunks/{persistent-pty-98s8e1rw.js → shell-c6s8azb0.js} +11 -11
  116. package/dist/chunks/{persistent-pty-fype0rw8.js → shell-c88xsj4b.js} +11 -11
  117. package/dist/chunks/{persistent-pty-fp9xmcy3.js → shell-c8wevtrk.js} +8 -8
  118. package/dist/chunks/{persistent-pty-e5gwvkqs.js → shell-cdxkea2x.js} +7 -7
  119. package/dist/chunks/{persistent-pty-v606rqvb.js → shell-cfmg5f2e.js} +15 -15
  120. package/dist/chunks/{persistent-pty-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
  121. package/dist/chunks/{persistent-pty-ck5kwbgm.js → shell-cgkf6hyz.js} +8 -8
  122. package/dist/chunks/{persistent-pty-bha4atvq.js → shell-cq37gk0t.js} +4 -4
  123. package/dist/chunks/{persistent-pty-pea6h7py.js → shell-crxm8vhj.js} +11 -11
  124. package/dist/chunks/{persistent-pty-gddc0fts.js → shell-cywpmpyh.js} +59 -59
  125. package/dist/chunks/{persistent-pty-f3a1m4jg.js → shell-cza3p4qy.js} +10 -10
  126. package/dist/chunks/{persistent-pty-fr1268wp.js → shell-czztawnv.js} +20 -20
  127. package/dist/chunks/{persistent-pty-1atzs1aw.js → shell-d6kea4np.js} +7 -7
  128. package/dist/chunks/{persistent-pty-e3ej8st1.js → shell-dhzcx2dk.js} +15 -15
  129. package/dist/chunks/{persistent-pty-nq7qbqzc.js → shell-dnszgtsj.js} +9 -9
  130. package/dist/chunks/{persistent-pty-dpkg50ah.js → shell-dpkg50ah.js} +1 -1
  131. package/dist/chunks/{persistent-pty-an66st8b.js → shell-dpq5pt5b.js} +24 -24
  132. package/dist/chunks/{persistent-pty-xfkkasph.js → shell-drwq78ky.js} +4 -4
  133. package/dist/chunks/{persistent-pty-65e72azk.js → shell-dt5xy0kq.js} +3 -3
  134. package/dist/chunks/{persistent-pty-h0b9xjk8.js → shell-dwz51f9r.js} +5 -5
  135. package/dist/chunks/{persistent-pty-tcay1cqt.js → shell-dzse07y5.js} +6 -6
  136. package/dist/chunks/{persistent-pty-77z07hfr.js → shell-e1g62edg.js} +5 -5
  137. package/dist/chunks/{persistent-pty-5qd3pb7m.js → shell-e3qxr5gk.js} +2 -2
  138. package/dist/chunks/{persistent-pty-kedanpwc.js → shell-e80am09j.js} +22 -22
  139. package/dist/chunks/{persistent-pty-771mw8n5.js → shell-e948v4m2.js} +82 -82
  140. package/dist/chunks/{persistent-pty-ke2aez33.js → shell-ebd4b9hd.js} +32 -32
  141. package/dist/chunks/{persistent-pty-tp9yp7n5.js → shell-ecszv4cx.js} +41 -41
  142. package/dist/chunks/{persistent-pty-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
  143. package/dist/chunks/{persistent-pty-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{persistent-pty-n6twqwrr.js → shell-eywjeeez.js} +3 -3
  145. package/dist/chunks/{persistent-pty-vmwh049b.js → shell-f1zbxv7x.js} +9 -9
  146. package/dist/chunks/{persistent-pty-d48be562.js → shell-f76eektm.js} +5 -5
  147. package/dist/chunks/{persistent-pty-f828m53h.js → shell-f828m53h.js} +2 -2
  148. package/dist/chunks/{persistent-pty-4drgpw32.js → shell-fepbnb8j.js} +5 -5
  149. package/dist/chunks/{persistent-pty-vmgq4x8b.js → shell-ff0svapt.js} +2 -2
  150. package/dist/chunks/{persistent-pty-m07kesbd.js → shell-fmbfr9zq.js} +31 -31
  151. package/dist/chunks/{persistent-pty-fzvmjdr3.js → shell-fnqcnrwr.js} +13 -13
  152. package/dist/chunks/{persistent-pty-8rx2gh2n.js → shell-fsjyrg72.js} +87 -87
  153. package/dist/chunks/{persistent-pty-68tr05pn.js → shell-fwmjdqts.js} +23 -23
  154. package/dist/chunks/{persistent-pty-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  155. package/dist/chunks/{persistent-pty-99jk88nh.js → shell-g582528b.js} +44 -44
  156. package/dist/chunks/{persistent-pty-qmqgtz8f.js → shell-g6q9qykm.js} +9 -9
  157. package/dist/chunks/{persistent-pty-90rrdtsa.js → shell-gagp6v9m.js} +10 -10
  158. package/dist/chunks/{persistent-pty-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{persistent-pty-sf2e06tm.js → shell-gdm3qam3.js} +180 -180
  160. package/dist/chunks/{persistent-pty-17es1da5.js → shell-ghc9cygp.js} +41 -41
  161. package/dist/chunks/{persistent-pty-8gyk9vq5.js → shell-gj2ms1nq.js} +4 -4
  162. package/dist/chunks/{persistent-pty-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{persistent-pty-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
  164. package/dist/chunks/{persistent-pty-bzhwnh4p.js → shell-h2t8ymee.js} +26 -26
  165. package/dist/chunks/{persistent-pty-44h5tttr.js → shell-h6r3nrb9.js} +4 -4
  166. package/dist/chunks/{persistent-pty-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{persistent-pty-r7pgccbm.js → shell-hb7sxhhb.js} +32 -32
  168. package/dist/chunks/{persistent-pty-npsagvvz.js → shell-hp42fy7s.js} +8 -8
  169. package/dist/chunks/{persistent-pty-f6f6yxds.js → shell-hpdj5hc5.js} +3 -3
  170. package/dist/chunks/{persistent-pty-2ca164mb.js → shell-hqm43xfh.js} +6 -6
  171. package/dist/chunks/{persistent-pty-709mss9f.js → shell-htanjsaa.js} +20 -20
  172. package/dist/chunks/{persistent-pty-7e0b5fpv.js → shell-hygwp9nt.js} +10 -10
  173. package/dist/chunks/{persistent-pty-bjff6841.js → shell-j0ky2qbp.js} +15 -15
  174. package/dist/chunks/{persistent-pty-j56e64zr.js → shell-j56e64zr.js} +1 -1
  175. package/dist/chunks/{persistent-pty-y56ehv6b.js → shell-j58c5xyq.js} +9 -9
  176. package/dist/chunks/{persistent-pty-8cnzmmsd.js → shell-j7jtjs4b.js} +23 -23
  177. package/dist/chunks/{persistent-pty-kj36yjv0.js → shell-j9yp876j.js} +9 -9
  178. package/dist/chunks/{persistent-pty-n4x3txqd.js → shell-jase78w4.js} +4 -4
  179. package/dist/chunks/{persistent-pty-677phc5j.js → shell-jft4q2kn.js} +19 -19
  180. package/dist/chunks/{persistent-pty-mnmpf8vs.js → shell-jg3dk2mq.js} +8 -8
  181. package/dist/chunks/{persistent-pty-k3gnzxs0.js → shell-jppvw2tx.js} +5 -5
  182. package/dist/chunks/{persistent-pty-9cyc6z1w.js → shell-jrqntfpr.js} +7 -7
  183. package/dist/chunks/{persistent-pty-47bndgm5.js → shell-jsgky646.js} +43 -43
  184. package/dist/chunks/{persistent-pty-1ftd87y6.js → shell-jthyvkq9.js} +16 -16
  185. package/dist/chunks/{persistent-pty-c5gn303e.js → shell-jva4mgym.js} +4 -4
  186. package/dist/chunks/{persistent-pty-6f4jyr9n.js → shell-jxm9g8ke.js} +1 -1
  187. package/dist/chunks/{persistent-pty-wgcwk5gf.js → shell-k0b72eat.js} +15 -15
  188. package/dist/chunks/{persistent-pty-53g11zbg.js → shell-k0yx29k2.js} +1 -1
  189. package/dist/chunks/{persistent-pty-nrp0dgk2.js → shell-k17bahsd.js} +20 -20
  190. package/dist/chunks/{persistent-pty-afm11xz0.js → shell-k3c624dm.js} +19 -14
  191. package/dist/chunks/{persistent-pty-e7z9zthm.js → shell-kagt2kqb.js} +11 -11
  192. package/dist/chunks/{persistent-pty-xbry3q9d.js → shell-kfvqsgwq.js} +17 -17
  193. package/dist/chunks/{persistent-pty-44ke2mar.js → shell-knb7evpn.js} +2 -2
  194. package/dist/chunks/{persistent-pty-9r4twygd.js → shell-m282vmjm.js} +32 -32
  195. package/dist/chunks/{persistent-pty-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
  196. package/dist/chunks/{persistent-pty-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  197. package/dist/chunks/{persistent-pty-0m8ssbne.js → shell-mhbjb662.js} +7 -7
  198. package/dist/chunks/{persistent-pty-r5x6zcsm.js → shell-mvfsc1pv.js} +3 -3
  199. package/dist/chunks/{persistent-pty-x2bhsfx5.js → shell-myx08xq4.js} +54 -54
  200. package/dist/chunks/{persistent-pty-0xp5hpj0.js → shell-n56h5hy7.js} +43 -43
  201. package/dist/chunks/{persistent-pty-cwk6dc0f.js → shell-n980jsng.js} +15 -15
  202. package/dist/chunks/{persistent-pty-rhzgsha5.js → shell-nbv082sw.js} +24 -24
  203. package/dist/chunks/{persistent-pty-ax36eyar.js → shell-ne3jdqry.js} +8 -8
  204. package/dist/chunks/{persistent-pty-mz25dwn3.js → shell-ntqyxcyw.js} +22 -22
  205. package/dist/chunks/{persistent-pty-4vf6h4mv.js → shell-p0sy0rdw.js} +8 -8
  206. package/dist/chunks/{persistent-pty-jv01nqvq.js → shell-p1nm93x7.js} +5 -5
  207. package/dist/chunks/{persistent-pty-tpw6cwsb.js → shell-p42hj8p8.js} +8 -8
  208. package/dist/chunks/{persistent-pty-hpbxecpz.js → shell-p53qb2xk.js} +29 -29
  209. package/dist/chunks/{persistent-pty-gg4a0jgp.js → shell-p9p1rr13.js} +19 -19
  210. package/dist/chunks/{persistent-pty-y3g69tt1.js → shell-pa3hft97.js} +19 -19
  211. package/dist/chunks/{persistent-pty-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{persistent-pty-pknna89w.js → shell-pknna89w.js} +1 -1
  213. package/dist/chunks/{persistent-pty-a50z0fpr.js → shell-pkqjmvx8.js} +16 -16
  214. package/dist/chunks/{persistent-pty-8kf7y4ht.js → shell-pqk0pen6.js} +3 -3
  215. package/dist/chunks/{persistent-pty-26bg82qa.js → shell-px4zqas9.js} +11 -11
  216. package/dist/chunks/{persistent-pty-xz5jgbdk.js → shell-pxf5smj0.js} +6 -6
  217. package/dist/chunks/{persistent-pty-w6sjcj00.js → shell-qbeegk5c.js} +40 -40
  218. package/dist/chunks/{persistent-pty-bmqzgjgb.js → shell-qbp2nq94.js} +23 -23
  219. package/dist/chunks/{persistent-pty-w6tpnshf.js → shell-qq3hkfz9.js} +6 -6
  220. package/dist/chunks/{persistent-pty-bscb95cy.js → shell-qq8x5mwt.js} +6 -6
  221. package/dist/chunks/{persistent-pty-tebckzj7.js → shell-qrnb0zs5.js} +9 -9
  222. package/dist/chunks/{persistent-pty-qsdy395h.js → shell-qsdy395h.js} +1 -1
  223. package/dist/chunks/{persistent-pty-4kzetxh1.js → shell-qsfdbege.js} +14 -14
  224. package/dist/chunks/{persistent-pty-2eegacq4.js → shell-qwjmgwmn.js} +8 -8
  225. package/dist/chunks/{persistent-pty-cacw0tx2.js → shell-r69n8pfr.js} +8 -8
  226. package/dist/chunks/{persistent-pty-4fpwq1r9.js → shell-r84ewcn4.js} +3 -3
  227. package/dist/chunks/shell-rap9a73h.js +18 -0
  228. package/dist/chunks/{persistent-pty-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
  229. package/dist/chunks/{persistent-pty-m31hrvtp.js → shell-reqevd7p.js} +14 -14
  230. package/dist/chunks/{persistent-pty-eaj1djv9.js → shell-rhjbct0v.js} +8 -8
  231. package/dist/chunks/{persistent-pty-jak50wjt.js → shell-s2ctwpa3.js} +23 -23
  232. package/dist/chunks/{persistent-pty-yrznvahk.js → shell-s4enseaf.js} +2 -2
  233. package/dist/chunks/{persistent-pty-7xnpcceb.js → shell-shaj1jnf.js} +32 -32
  234. package/dist/chunks/{persistent-pty-kg4jxx0b.js → shell-sm38kpj9.js} +11 -11
  235. package/dist/chunks/{persistent-pty-1vp2wv45.js → shell-stdy45ne.js} +23 -23
  236. package/dist/chunks/{persistent-pty-fds3vh5r.js → shell-sz0fczdy.js} +6 -6
  237. package/dist/chunks/{persistent-pty-5tpy2fbk.js → shell-t257nz5t.js} +12 -12
  238. package/dist/chunks/{persistent-pty-p1zb2z5r.js → shell-t3479h02.js} +16 -16
  239. package/dist/chunks/{persistent-pty-fvy1mc4q.js → shell-t4ep399p.js} +4 -4
  240. package/dist/chunks/{persistent-pty-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{persistent-pty-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{persistent-pty-tdstcens.js → shell-tdstcens.js} +1 -1
  243. package/dist/chunks/{persistent-pty-akan8yn4.js → shell-tfzrzead.js} +11 -11
  244. package/dist/chunks/{persistent-pty-xeqcm4dq.js → shell-tprea2w6.js} +5 -5
  245. package/dist/chunks/{persistent-pty-rya04ard.js → shell-tqhjqp4x.js} +35 -35
  246. package/dist/chunks/{persistent-pty-tvtrv512.js → shell-tvtrv512.js} +1 -1
  247. package/dist/chunks/{persistent-pty-hgehe5qr.js → shell-v0x7c1q7.js} +11 -11
  248. package/dist/chunks/{persistent-pty-vsrt67qk.js → shell-vdtbp9xk.js} +5 -5
  249. package/dist/chunks/{persistent-pty-veqvce7d.js → shell-veqvce7d.js} +1 -1
  250. package/dist/chunks/{persistent-pty-fpfkm27p.js → shell-vjb1j6zt.js} +19 -19
  251. package/dist/chunks/{persistent-pty-pt4q81m1.js → shell-vmp141m3.js} +4 -4
  252. package/dist/chunks/{persistent-pty-2zmnbmev.js → shell-vqtmypvq.js} +15 -15
  253. package/dist/chunks/{persistent-pty-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{persistent-pty-kh2xt8yc.js → shell-w337vvwy.js} +16 -16
  255. package/dist/chunks/{persistent-pty-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{persistent-pty-wd87259q.js → shell-wd87259q.js} +1 -1
  257. package/dist/chunks/{persistent-pty-v8x5s6qt.js → shell-wk6d9gtz.js} +51 -51
  258. package/dist/chunks/{persistent-pty-vhg8gbw9.js → shell-wm8ejcqt.js} +13 -13
  259. package/dist/chunks/{persistent-pty-rvayqjwn.js → shell-wvd3r0fc.js} +17 -17
  260. package/dist/chunks/{persistent-pty-b97cbvw3.js → shell-wy8b5sm2.js} +1 -1
  261. package/dist/chunks/{persistent-pty-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{persistent-pty-0d1bsqa1.js → shell-x83kfe59.js} +17 -17
  263. package/dist/chunks/{persistent-pty-f2njkax9.js → shell-xaz5wxvk.js} +9 -9
  264. package/dist/chunks/{persistent-pty-ry3rwstb.js → shell-xcby1x0a.js} +9 -9
  265. package/dist/chunks/{persistent-pty-magykp64.js → shell-xdk9p2qn.js} +21 -21
  266. package/dist/chunks/{persistent-pty-erk99hyj.js → shell-xdy7smra.js} +46 -46
  267. package/dist/chunks/{persistent-pty-rf0ac1nd.js → shell-xg79878d.js} +24 -24
  268. package/dist/chunks/{persistent-pty-bf44fs7q.js → shell-xj2wfzmj.js} +16 -16
  269. package/dist/chunks/{persistent-pty-d43tgzm4.js → shell-xsgk3b13.js} +9 -9
  270. package/dist/chunks/{persistent-pty-xy1te82j.js → shell-xt6n5xqm.js} +3 -3
  271. package/dist/chunks/{persistent-pty-ghdbx2at.js → shell-xw5sd8ft.js} +15 -15
  272. package/dist/chunks/{persistent-pty-9g2dhd49.js → shell-y00gbe2a.js} +12 -12
  273. package/dist/chunks/{persistent-pty-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{persistent-pty-7j2qha59.js → shell-y1qqcj8h.js} +8 -8
  275. package/dist/chunks/{persistent-pty-7rqzqf2y.js → shell-y3ky0ywj.js} +5 -5
  276. package/dist/chunks/{persistent-pty-5zf9zmc3.js → shell-yj6jvem3.js} +7 -7
  277. package/dist/chunks/{persistent-pty-5by067t8.js → shell-yqr6xnaq.js} +4 -4
  278. package/dist/chunks/{persistent-pty-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{persistent-pty-vpscksex.js → shell-ywj8m2vt.js} +30 -30
  280. package/dist/chunks/{persistent-pty-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{persistent-pty-jsed32gb.js → shell-z2htvd61.js} +22 -22
  282. package/dist/chunks/{persistent-pty-mzhzy1pb.js → shell-z378wvez.js} +13 -13
  283. package/dist/chunks/{persistent-pty-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{persistent-pty-qq0enmay.js → shell-zn5jhmnr.js} +20 -20
  285. package/dist/chunks/{persistent-pty-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{persistent-pty-scr9tq7r.js → shell-zxn051w9.js} +8 -8
  287. package/dist/chunks/{persistent-pty-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +84 -84
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +211 -211
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +122 -122
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +122 -122
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +141 -141
  312. package/dist/config/plugin/snapshot.js +120 -120
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +121 -121
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +125 -125
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +84 -84
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +365 -365
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +220 -220
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +96 -96
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +13 -13
  426. package/dist/filesystem.js +97 -97
  427. package/dist/form.js +83 -83
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +100 -100
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +98 -98
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +356 -356
  456. package/dist/instruction-discovery.js +82 -82
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +76 -76
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +85 -85
  467. package/dist/location-services.js +353 -353
  468. package/dist/location.js +86 -86
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +107 -107
  471. package/dist/mcp/instructions.js +125 -125
  472. package/dist/mcp/oauth.js +77 -77
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +98 -98
  476. package/dist/model-resolver.js +97 -97
  477. package/dist/model.js +99 -99
  478. package/dist/models-dev.js +102 -102
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +79 -79
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +116 -116
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +85 -85
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +101 -101
  489. package/dist/plugin/command.js +96 -96
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +217 -217
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +328 -328
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +95 -95
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  502. package/dist/plugin/provider/azure.js +121 -121
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +118 -118
  508. package/dist/plugin/provider/digitalocean.js +92 -92
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +92 -92
  513. package/dist/plugin/provider/gitlab.js +90 -90
  514. package/dist/plugin/provider/google-vertex.js +89 -89
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +119 -119
  518. package/dist/plugin/provider/modal.js +91 -91
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +119 -119
  521. package/dist/plugin/provider/openai.js +91 -91
  522. package/dist/plugin/provider/opencode.js +92 -92
  523. package/dist/plugin/provider/openrouter.js +90 -90
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  527. package/dist/plugin/provider/sap-ai-core.js +90 -90
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +89 -89
  532. package/dist/plugin/provider/vllm.js +119 -119
  533. package/dist/plugin/provider/xai.js +90 -90
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +75 -75
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +138 -138
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +343 -343
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +85 -85
  543. package/dist/plugin/vcs/hg.js +83 -83
  544. package/dist/plugin/warming.js +120 -120
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +228 -228
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +89 -89
  556. package/dist/provider.js +100 -100
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +93 -93
  561. package/dist/reference/instructions.js +88 -88
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +80 -80
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +94 -94
  567. package/dist/rpc.js +85 -85
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +133 -133
  571. package/dist/session/context.js +151 -151
  572. package/dist/session/diff.js +87 -87
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +219 -219
  577. package/dist/session/execution.js +125 -125
  578. package/dist/session/generate.js +150 -150
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +87 -87
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +96 -96
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +118 -118
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +104 -104
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +89 -89
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +227 -227
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +97 -97
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +113 -113
  601. package/dist/session/runner/step.js +123 -123
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +171 -171
  605. package/dist/session/shell.js +137 -137
  606. package/dist/session/skill.js +102 -102
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +72 -72
  609. package/dist/session/store.js +84 -84
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +209 -209
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +149 -149
  614. package/dist/session/to-session-error.js +110 -110
  615. package/dist/session/transfer.js +216 -216
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +217 -217
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +11 -11
  622. package/dist/shell.js +139 -139
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +104 -104
  625. package/dist/skill.js +107 -107
  626. package/dist/snapshot.js +86 -86
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +124 -124
  631. package/dist/tool/plugin/edit.js +119 -119
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +123 -123
  634. package/dist/tool/plugin/grep.js +123 -123
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +121 -121
  637. package/dist/tool/plugin/question.js +102 -102
  638. package/dist/tool/plugin/read.js +118 -118
  639. package/dist/tool/plugin/shell.js +214 -214
  640. package/dist/tool/plugin/skill.js +108 -108
  641. package/dist/tool/plugin/subagent.js +208 -208
  642. package/dist/tool/plugin/webfetch.js +107 -107
  643. package/dist/tool/plugin/websearch.js +109 -109
  644. package/dist/tool/plugin/write.js +121 -121
  645. package/dist/tool/read-filesystem.js +99 -99
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +4 -4
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +5 -5
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +91 -91
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +1 -1
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/variant.js +90 -90
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +88 -88
  678. package/dist/websearch.js +81 -81
  679. package/dist/wellknown/plugin.js +73 -73
  680. package/dist/wellknown.js +80 -80
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +79 -79
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +88 -88
  688. package/dist/worktree.js +95 -95
  689. package/package.json +8 -8
  690. package/dist/chunks/persistent-pty-0mesazry.js +0 -4
  691. package/dist/chunks/persistent-pty-n95b3jav.js +0 -18
  692. package/dist/chunks/persistent-pty-pcawhjwq.js +0 -478
  693. package/dist/chunks/persistent-pty-wyxhhks7.js +0 -247
  694. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-24dcb14g.js → shell-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-2710q6r3.js → shell-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-359p4xyc.js → shell-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-3asan66x.js → shell-3asan66x.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-53557ph1.js → shell-53557ph1.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-550bvhaj.js → shell-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-6prwharc.js → shell-6prwharc.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-7m9af43g.js → shell-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-822emrt2.js → shell-822emrt2.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-8n3pysct.js → shell-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-922hggd3.js → shell-922hggd3.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-af5trqkr.js → shell-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-afrmfg78.js → shell-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-d9fn303g.js → shell-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-dajrwvna.js → shell-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-dap0rakb.js → shell-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-df08tz66.js → shell-df08tz66.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-dy18nga0.js → shell-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-ec1grn59.js → shell-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-faypxj3z.js → shell-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-fd410y7t.js → shell-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-g86h250q.js → shell-g86h250q.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-gftt206x.js → shell-gftt206x.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-hk9envan.js → shell-hk9envan.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-mp448xyj.js → shell-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-njntx4h6.js → shell-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-q74kybfr.js → shell-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-twg0f83k.js → shell-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-w803qqfp.js → shell-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-wtztk69x.js → shell-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-x61499pn.js → shell-x61499pn.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-y44na4kk.js → shell-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-y8f7s663.js → shell-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-ym463w8f.js → shell-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./persistent-pty-rdw6cm16.js";
3
+ } from "./shell-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service61,
14
+ Service: () => Service40,
15
15
  SizeError: () => SizeError2,
16
- node: () => node64
16
+ node: () => node43
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service61 extends Context.Service()("@opencode/Image") {
45
+ class Service40 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service61, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service61.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service40.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node64 = makeLocationNode({ service: Service61, layer, deps: [] });
79
+ var node43 = makeLocationNode({ service: Service40, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service61, node64, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service40, node43, exports_image2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./persistent-pty-emrn6kk6.js";
3
+ } from "./shell-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./persistent-pty-5zf9zmc3.js";
6
+ } from "./shell-yj6jvem3.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./persistent-pty-6f4jyr9n.js";
9
+ } from "./shell-jxm9g8ke.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service54
3
- } from "./persistent-pty-83d2wykz.js";
2
+ Service65
3
+ } from "./shell-bt2e4tjd.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./persistent-pty-eaj1djv9.js";
6
+ } from "./shell-rhjbct0v.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./persistent-pty-922hggd3.js";
9
+ } from "./shell-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service41
13
- } from "./persistent-pty-kszyjgag.js";
12
+ Service39
13
+ } from "./shell-521mg670.js";
14
14
  import {
15
- Service78
16
- } from "./persistent-pty-p1zb2z5r.js";
15
+ Service77
16
+ } from "./shell-t3479h02.js";
17
17
  import {
18
18
  __export
19
- } from "./persistent-pty-9rqn6x4v.js";
19
+ } from "./shell-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin19
25
+ Plugin: () => Plugin6
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin19 = define({
32
+ var Plugin6 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service41;
35
+ const discovery = yield* Service39;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service78;
42
- const watcher = yield* Service54;
41
+ const location = yield* Service77;
42
+ const watcher = yield* Service65;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin19, exports_instruction };
117
+ export { Plugin6, exports_instruction };
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID15,
2
+ ID9,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./persistent-pty-rhzgsha5.js";
5
+ } from "./shell-nbv082sw.js";
6
6
  import {
7
7
  merge2
8
- } from "./persistent-pty-gddc0fts.js";
8
+ } from "./shell-cywpmpyh.js";
9
9
  import {
10
10
  __export
11
- } from "./persistent-pty-9rqn6x4v.js";
11
+ } from "./shell-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent2 = {};
15
15
  __export(exports_agent2, {
16
16
  AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin41
17
+ Plugin: () => Plugin43
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin41 = define({
93
+ var Plugin43 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin41 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID15.make("general"), (item) => {
103
+ editor.update(ID9.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID15.make("explore"), (item) => {
109
+ editor.update(ID9.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin41 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID15.make("compaction"), (item) => {
128
+ editor.update(ID9.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID15.make("title"), (item) => {
133
+ editor.update(ID9.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID15.make("summary"), (item) => {
140
+ editor.update(ID9.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin41 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin41, exports_agent2 };
151
+ export { Plugin43, exports_agent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service45,
8
+ Service: () => Service63,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node48
10
+ node: () => node66
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service45 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service63 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service45, () => {
17
+ var layer = Layer.sync(Service63, () => {
18
18
  const environments = new Map;
19
- return Service45.of({
19
+ return Service63.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service45, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node48 = makeGlobalNode({ service: Service45, layer, deps: [] });
29
+ var node66 = makeGlobalNode({ service: Service63, layer, deps: [] });
30
30
 
31
- export { Service45, node48, exports_environment };
31
+ export { Service63, node66, exports_environment };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
- Service78
6
- } from "./persistent-pty-p1zb2z5r.js";
5
+ Service77
6
+ } from "./shell-t3479h02.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./shell-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service78;
26
+ const location = yield* Service77;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./persistent-pty-f0mxakyp.js";
3
+ } from "./shell-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./persistent-pty-w3wsvvr9.js";
6
+ } from "./shell-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./persistent-pty-7bmhse3q.js";
9
+ } from "./shell-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./persistent-pty-cf4snx6d.js";
12
+ } from "./shell-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./persistent-pty-822emrt2.js";
15
+ } from "./shell-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./persistent-pty-wd87259q.js";
18
+ } from "./shell-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./persistent-pty-m9w0rfyh.js";
21
+ } from "./shell-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./persistent-pty-0paq2nw3.js";
4
+ } from "./shell-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./persistent-pty-ke2aez33.js";
7
+ } from "./shell-ebd4b9hd.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./persistent-pty-0zbmh4se.js";
11
+ } from "./shell-938kg93p.js";
12
12
  import {
13
13
  __export
14
- } from "./persistent-pty-9rqn6x4v.js";
14
+ } from "./shell-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./persistent-pty-ym463w8f.js";
3
+ } from "./shell-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  key2
3
- } from "./persistent-pty-44h5tttr.js";
3
+ } from "./shell-h6r3nrb9.js";
4
4
  import {
5
5
  Service81
6
- } from "./persistent-pty-n4x3txqd.js";
6
+ } from "./shell-jase78w4.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./persistent-pty-xrzs32wx.js";
9
+ Event19
10
+ } from "./shell-3xyw1x35.js";
11
11
  import {
12
- ID10,
12
+ ID14,
13
13
  MethodID2
14
- } from "./persistent-pty-hpbxecpz.js";
14
+ } from "./shell-p53qb2xk.js";
15
15
  import {
16
- ID9,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service68
20
- } from "./persistent-pty-ke2aez33.js";
19
+ Service74
20
+ } from "./shell-ebd4b9hd.js";
21
21
  import {
22
- ID8
23
- } from "./persistent-pty-0zbmh4se.js";
22
+ ID11
23
+ } from "./shell-938kg93p.js";
24
24
  import {
25
- load2,
26
- derive2
27
- } from "./persistent-pty-kedanpwc.js";
25
+ load3,
26
+ derive3
27
+ } from "./shell-e80am09j.js";
28
28
  import {
29
29
  useragent2
30
- } from "./persistent-pty-hgehe5qr.js";
30
+ } from "./shell-v0x7c1q7.js";
31
31
 
32
32
  // src/plugin/provider/github-copilot.ts
33
33
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
59
59
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
60
60
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
61
61
  var oauth = (app) => ({
62
- integrationID: ID10.make("github-copilot"),
62
+ integrationID: ID14.make("github-copilot"),
63
63
  method: {
64
64
  id: methodID,
65
65
  type: "oauth",
@@ -157,7 +157,7 @@ var oauth = (app) => ({
157
157
  var GithubCopilotPlugin2 = define({
158
158
  id: "opencode.provider.github.copilot",
159
159
  effect: Effect.fn(function* (ctx) {
160
- const providers = yield* Service68;
160
+ const providers = yield* Service74;
161
161
  const bus = yield* Service81;
162
162
  const loading = Semaphore.makeUnsafe(1);
163
163
  const loaded = {};
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
173
173
  return;
174
174
  }
175
175
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
176
- const provider = yield* providers.get(ID9.githubCopilot);
176
+ const provider = yield* providers.get(ID13.githubCopilot);
177
177
  const remote = yield* Effect.tryPromise({
178
- try: () => load2(url, {
178
+ try: () => load3(url, {
179
179
  ...provider?.headers,
180
180
  Authorization: `Bearer ${credential.refresh}`,
181
181
  "User-Agent": useragent2(ctx.app),
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
194
194
  editor.method.update(oauth(ctx.app));
195
195
  });
196
196
  yield* ctx.provider.transform((evt) => {
197
- const item = evt.get(ID9.githubCopilot);
197
+ const item = evt.get(ID13.githubCopilot);
198
198
  if (!item)
199
199
  return;
200
200
  if (loaded.models) {
201
201
  evt.add({
202
202
  info: item.provider,
203
- models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
203
+ models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
204
204
  sourceConnection: loaded.connection
205
205
  });
206
206
  return;
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
214
214
  }
215
215
  });
216
216
  yield* ctx.model.transform((models) => {
217
- if (models.get(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
218
- models.update(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
217
+ if (models.get(ID13.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
218
+ models.update(ID13.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
219
219
  model.enabled = false;
220
220
  });
221
221
  }
222
222
  });
223
223
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
224
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* refresh().pipe(Effect.forkScoped);
226
226
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
227
- if (evt.model.providerID !== ID9.githubCopilot)
227
+ if (evt.model.providerID !== ID13.githubCopilot)
228
228
  return;
229
229
  if (evt.package !== "@ai-sdk/github-copilot")
230
230
  return;
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
233
233
  evt.sdk = mod.createOpenaiCompatible(evt.options);
234
234
  }));
235
235
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
236
- if (evt.model.providerID !== ID9.githubCopilot)
236
+ if (evt.model.providerID !== ID13.githubCopilot)
237
237
  return;
238
238
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
239
239
  return;
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
243
243
  evt.headers["X-Interaction-Id"] = evt.sessionID;
244
244
  if (interaction !== "conversation-agent")
245
245
  evt.headers["x-initiator"] = "agent";
246
- }), { providerID: ID9.githubCopilot });
246
+ }), { providerID: ID13.githubCopilot });
247
247
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
248
- if (evt.model.providerID !== ID9.githubCopilot)
248
+ if (evt.model.providerID !== ID13.githubCopilot)
249
249
  return;
250
250
  const token = evt.request.headers.get("x-api-key");
251
251
  if (!token)
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
253
253
  const text = yield* Effect.promise(() => evt.request.clone().text());
254
254
  const body = Option.getOrUndefined(decodeBody(text));
255
255
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
256
- }), { providerID: ID9.githubCopilot });
256
+ }), { providerID: ID13.githubCopilot });
257
257
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
258
- if (evt.model.providerID !== ID9.githubCopilot)
258
+ if (evt.model.providerID !== ID13.githubCopilot)
259
259
  return;
260
260
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
261
261
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./persistent-pty-ym463w8f.js";
3
+ } from "./shell-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./persistent-pty-n4x3txqd.js";
4
+ } from "./shell-jase78w4.js";
5
5
  import {
6
6
  environment2
7
- } from "./persistent-pty-0d1bsqa1.js";
7
+ } from "./shell-x83kfe59.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./persistent-pty-sk3qaz4a.js";
10
+ } from "./shell-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError4,
20
- Options: () => Options4,
19
+ NotFoundError: () => NotFoundError5,
20
+ Options: () => Options6,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service27,
22
+ Service: () => Service41,
23
23
  UnavailableError: () => UnavailableError3,
24
- configured: () => configured4,
25
- layer: () => layer11,
26
- node: () => node30
24
+ configured: () => configured6,
25
+ layer: () => layer17,
26
+ node: () => node44
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options6 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
40
  class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service27 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service41 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service27, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service41, Effect.gen(function* () {
53
53
  const bus = yield* Service81;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service27, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError4({ ptyID: id });
75
+ return yield* new NotFoundError5({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service27, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service27.of({
242
+ return Service41.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service27, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer11 = makeLayer();
259
- var configured4 = (options) => makeGlobalNode({
260
- service: Service27,
261
- layer: options === undefined ? layer11 : makeLayer(options),
258
+ var layer17 = makeLayer();
259
+ var configured6 = (options) => makeGlobalNode({
260
+ service: Service41,
261
+ layer: options === undefined ? layer17 : makeLayer(options),
262
262
  deps: [node85, Global.node]
263
263
  });
264
- var node30 = configured4();
264
+ var node44 = configured6();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError3, NotFoundError4, Service27, layer11, configured4, node30, exports_persistent_pty, Handoff2 };
304
+ export { Options6, UnavailableError3, NotFoundError5, Service41, layer17, configured6, node44, exports_persistent_pty, Handoff2 };