@opencode/core 0.0.0-dev-19306 → 0.0.0-dev-19311
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +69 -69
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-retention-m7hd4rhs.js → model-resolver-0aq3bv6p.js} +19 -19
- package/dist/chunks/{file-retention-1dfhrqqs.js → model-resolver-0hpxrkyb.js} +5 -5
- package/dist/chunks/{file-retention-nfkc2kma.js → model-resolver-0hxph87b.js} +6 -6
- package/dist/chunks/{file-retention-w9tpqwqq.js → model-resolver-0jmjzee4.js} +20 -20
- package/dist/chunks/model-resolver-0mesazry.js +4 -0
- package/dist/chunks/{file-retention-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-retention-atnf5533.js → model-resolver-0sawsjns.js} +13 -13
- package/dist/chunks/{file-retention-gtb749hc.js → model-resolver-0v867qyd.js} +13 -13
- package/dist/chunks/{file-retention-mb5m7hjx.js → model-resolver-13bj4jyc.js} +6 -6
- package/dist/chunks/{file-retention-5ejrhezz.js → model-resolver-19aya85j.js} +7 -7
- package/dist/chunks/{file-retention-g8nf464k.js → model-resolver-1bs4t1p1.js} +37 -37
- package/dist/chunks/{file-retention-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-8rxc0pzs.js → model-resolver-1mtcg6ar.js} +25 -25
- package/dist/chunks/{file-retention-8gjywk27.js → model-resolver-1r3p2k7g.js} +19 -19
- package/dist/chunks/{file-retention-8t01676a.js → model-resolver-21gmtf5s.js} +11 -11
- package/dist/chunks/{file-retention-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-wxqxce1x.js → model-resolver-23n5nc7p.js} +9 -9
- package/dist/chunks/{file-retention-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
- package/dist/chunks/model-resolver-27ajfczk.js +247 -0
- package/dist/chunks/{file-retention-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-3pbjq009.js → model-resolver-2ekhvkds.js} +6 -6
- package/dist/chunks/{file-retention-9vs0xtad.js → model-resolver-2f04pwep.js} +3 -3
- package/dist/chunks/{file-retention-yn2w03ty.js → model-resolver-2gp30egj.js} +4 -4
- package/dist/chunks/{file-retention-frhqnhmj.js → model-resolver-2gvahrj6.js} +6 -6
- package/dist/chunks/{file-retention-11fxjgwx.js → model-resolver-2rw3mzdd.js} +20 -20
- package/dist/chunks/{file-retention-rkbztq4a.js → model-resolver-2taagk0w.js} +3 -3
- package/dist/chunks/{file-retention-afdssyjb.js → model-resolver-2vs2nh1n.js} +4 -4
- package/dist/chunks/{file-retention-2xcd4pkq.js → model-resolver-35m6n0h8.js} +9 -9
- package/dist/chunks/{file-retention-9kze6ep1.js → model-resolver-3d05yrhf.js} +15 -15
- package/dist/chunks/{file-retention-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-fhp7qqsj.js → model-resolver-3tkg1v6e.js} +18 -18
- package/dist/chunks/{file-retention-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-96yt6zt0.js → model-resolver-3y2vzd8j.js} +1 -1
- package/dist/chunks/{file-retention-0b96kjwf.js → model-resolver-423zw90g.js} +8 -8
- package/dist/chunks/{file-retention-f8q7mv7a.js → model-resolver-4am1wjpn.js} +1 -1
- package/dist/chunks/{file-retention-fhjm97q2.js → model-resolver-4f4xg237.js} +7 -7
- package/dist/chunks/{file-retention-5n3vgq58.js → model-resolver-4mq91456.js} +2 -2
- package/dist/chunks/{file-retention-v51hrxtf.js → model-resolver-4sgjj86v.js} +12 -12
- package/dist/chunks/{file-retention-nk32hk52.js → model-resolver-4sp1fpdf.js} +12 -12
- package/dist/chunks/{file-retention-mhd0t4xv.js → model-resolver-4tehx1tz.js} +18 -18
- package/dist/chunks/{file-retention-beqz24q2.js → model-resolver-51k0a2ck.js} +38 -38
- package/dist/chunks/{file-retention-w899n6rm.js → model-resolver-53kakmxw.js} +76 -76
- package/dist/chunks/{file-retention-zxrs8q2n.js → model-resolver-5a3e4t2e.js} +44 -44
- package/dist/chunks/{file-retention-jn37jswd.js → model-resolver-5b8g7156.js} +16 -16
- package/dist/chunks/{file-retention-a1bz86dw.js → model-resolver-5c4hm403.js} +3 -3
- package/dist/chunks/{file-retention-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-m73qne7a.js → model-resolver-5gvs0vy6.js} +3 -3
- package/dist/chunks/{file-retention-ymxag59m.js → model-resolver-5reahhcp.js} +35 -35
- package/dist/chunks/{file-retention-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-844ef7ks.js → model-resolver-5xtgfte3.js} +8 -8
- package/dist/chunks/{file-retention-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-m7ty3jyf.js → model-resolver-6fb6cyfd.js} +5 -5
- package/dist/chunks/{file-retention-b27vhd2z.js → model-resolver-6hh8tjw2.js} +4 -4
- package/dist/chunks/{file-retention-9fjt8dzc.js → model-resolver-6jt15jam.js} +9 -9
- package/dist/chunks/{file-retention-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/model-resolver-6nbzjb56.js +462 -0
- package/dist/chunks/{file-retention-m3800wpb.js → model-resolver-6tdy5psv.js} +21 -21
- package/dist/chunks/{file-retention-v0ak0tys.js → model-resolver-70rhfn1p.js} +15 -15
- package/dist/chunks/{file-retention-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
- package/dist/chunks/{file-retention-afqe321m.js → model-resolver-76yzkxkp.js} +24 -24
- package/dist/chunks/{file-retention-b4s1xj5x.js → model-resolver-7aa1cj5w.js} +7 -7
- package/dist/chunks/{file-retention-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-7hat9k3a.js → model-resolver-7g1znek2.js} +4 -4
- package/dist/chunks/{file-retention-p3he229h.js → model-resolver-7hd0m9s1.js} +9 -9
- package/dist/chunks/{file-retention-zwph3s3x.js → model-resolver-7htwxs73.js} +12 -12
- package/dist/chunks/{file-retention-8w2h3xst.js → model-resolver-7ptgkj9x.js} +25 -25
- package/dist/chunks/{file-retention-t4w73mrs.js → model-resolver-7pvzsz6j.js} +46 -46
- package/dist/chunks/{file-retention-cspft70r.js → model-resolver-7z7893y4.js} +9 -9
- package/dist/chunks/{file-retention-ebah8r6x.js → model-resolver-81rrwt6s.js} +6 -6
- package/dist/chunks/{file-retention-v6jrwn5c.js → model-resolver-8485p8c8.js} +22 -22
- package/dist/chunks/{file-retention-tqaee6jy.js → model-resolver-868qdqs3.js} +3 -3
- package/dist/chunks/{file-retention-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-pkxxvzx1.js → model-resolver-8ns0hvns.js} +24 -24
- package/dist/chunks/{file-retention-pgpxt5ny.js → model-resolver-94mafesx.js} +32 -32
- package/dist/chunks/{file-retention-6xyaxxp3.js → model-resolver-96jy3nrs.js} +21 -21
- package/dist/chunks/{file-retention-mwsztzac.js → model-resolver-983ft7s8.js} +14 -14
- package/dist/chunks/{file-retention-p1gkab00.js → model-resolver-9cbpths4.js} +21 -21
- package/dist/chunks/{file-retention-qp4pmkb7.js → model-resolver-9t2yae5y.js} +4 -4
- package/dist/chunks/{file-retention-q7s3pq4a.js → model-resolver-9wc31ee9.js} +7 -7
- package/dist/chunks/{file-retention-5w90zcr2.js → model-resolver-9yd8p6fr.js} +36 -36
- package/dist/chunks/{file-retention-wct24b0s.js → model-resolver-a3nnj4kk.js} +38 -38
- package/dist/chunks/{file-retention-43eky7fv.js → model-resolver-a6y89zjg.js} +76 -76
- package/dist/chunks/{file-retention-nwht2get.js → model-resolver-a71pjsc9.js} +12 -12
- package/dist/chunks/{file-retention-jwws7wxw.js → model-resolver-a9b9x376.js} +7 -7
- package/dist/chunks/{file-retention-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-fg50ch7r.js → model-resolver-aaxaqk19.js} +4 -4
- package/dist/chunks/{file-retention-pp615gng.js → model-resolver-acsehg7c.js} +14 -14
- package/dist/chunks/{file-retention-rc9898mc.js → model-resolver-ajztzy0x.js} +11 -11
- package/dist/chunks/{file-retention-rsym84ch.js → model-resolver-awbdwcvp.js} +7 -7
- package/dist/chunks/{file-retention-p5jcd3cr.js → model-resolver-ax70fxdt.js} +11 -11
- package/dist/chunks/{file-retention-4jxr6rzv.js → model-resolver-b1ajx0g1.js} +7 -7
- package/dist/chunks/{file-retention-hces5vk3.js → model-resolver-b3xbanpc.js} +8 -8
- package/dist/chunks/{file-retention-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-z69s9t6b.js → model-resolver-bd9nqr2t.js} +5 -5
- package/dist/chunks/{file-retention-pecb0brz.js → model-resolver-bhj4y43k.js} +5 -5
- package/dist/chunks/{file-retention-gj9xpvv3.js → model-resolver-bv56xrks.js} +6 -6
- package/dist/chunks/{file-retention-164jdkrd.js → model-resolver-bzvjbgc5.js} +13 -13
- package/dist/chunks/{file-retention-4a8afqtg.js → model-resolver-bzzsz1b8.js} +11 -11
- package/dist/chunks/{file-retention-2f9mkkej.js → model-resolver-c0qy3m8p.js} +11 -11
- package/dist/chunks/{file-retention-m27pyyd3.js → model-resolver-c1g6mvbq.js} +8 -8
- package/dist/chunks/{file-retention-1x4qabqm.js → model-resolver-c5m6q3p0.js} +21 -21
- package/dist/chunks/{file-retention-9edcvf27.js → model-resolver-c68b4qab.js} +3 -3
- package/dist/chunks/{file-retention-sf0yp864.js → model-resolver-cdqe3acw.js} +8 -8
- package/dist/chunks/{file-retention-qth1fxpg.js → model-resolver-cm6p1s29.js} +16 -16
- package/dist/chunks/{file-retention-pqrzdjtx.js → model-resolver-cmj3wvnf.js} +20 -20
- package/dist/chunks/{file-retention-84ajknms.js → model-resolver-cqnjb978.js} +26 -26
- package/dist/chunks/{file-retention-ffprybq0.js → model-resolver-crvrtykq.js} +14 -14
- package/dist/chunks/{file-retention-k16ay38w.js → model-resolver-cz2fjc0t.js} +1 -1
- package/dist/chunks/{file-retention-fvt1yp66.js → model-resolver-d4bs6nh8.js} +28 -28
- package/dist/chunks/{file-retention-f2fvptgs.js → model-resolver-d6axdhgm.js} +36 -36
- package/dist/chunks/{file-retention-63h173xj.js → model-resolver-daem90sq.js} +32 -32
- package/dist/chunks/{file-retention-j83byb14.js → model-resolver-dfe8djrf.js} +4 -4
- package/dist/chunks/{file-retention-y3xzpef0.js → model-resolver-dj14fq5x.js} +10 -10
- package/dist/chunks/{file-retention-8p4f9s12.js → model-resolver-dj2t23y0.js} +2 -2
- package/dist/chunks/{file-retention-638rxdhc.js → model-resolver-dp2desqw.js} +24 -24
- package/dist/chunks/{file-retention-fp1hhbvz.js → model-resolver-dy83786h.js} +24 -24
- package/dist/chunks/{file-retention-ykjy0bm0.js → model-resolver-dz4bsems.js} +6 -6
- package/dist/chunks/{file-retention-eaj1djv9.js → model-resolver-eaj1djv9.js} +1 -1
- package/dist/chunks/{file-retention-mb6jxekh.js → model-resolver-eez3sah5.js} +29 -29
- package/dist/chunks/{file-retention-401vwfxe.js → model-resolver-ek34y162.js} +8 -8
- package/dist/chunks/{file-retention-v7k7pv50.js → model-resolver-eqhsskwv.js} +4 -4
- package/dist/chunks/{file-retention-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-evbgk2k8.js → model-resolver-ez47arx5.js} +5 -5
- package/dist/chunks/{file-retention-f3ngv102.js → model-resolver-f3ngv102.js} +1 -1
- package/dist/chunks/{file-retention-27cjzptm.js → model-resolver-fkjex2d7.js} +38 -38
- package/dist/chunks/{file-retention-zhxw6mnd.js → model-resolver-fkvyrnmv.js} +2 -2
- package/dist/chunks/{file-retention-p0r3vkqq.js → model-resolver-fnb1tm2q.js} +5 -5
- package/dist/chunks/{file-retention-0e552dan.js → model-resolver-fs30ryqv.js} +25 -25
- package/dist/chunks/{file-retention-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-retention-fyymr9xg.js → model-resolver-fyymr9xg.js} +1 -1
- package/dist/chunks/{file-retention-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-tmw9t85a.js → model-resolver-gkjrds9h.js} +10 -10
- package/dist/chunks/{file-retention-t9yc267w.js → model-resolver-gmnw41t9.js} +20 -20
- package/dist/chunks/{file-retention-3ad4b8jh.js → model-resolver-gmykmxzz.js} +18 -18
- package/dist/chunks/{file-retention-mbq90t60.js → model-resolver-gsv4ca8f.js} +41 -41
- package/dist/chunks/{file-retention-mqgfyy2s.js → model-resolver-gwgds8rz.js} +17 -17
- package/dist/chunks/{file-retention-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-retention-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-wndheb9r.js → model-resolver-h7gdqzd6.js} +6 -6
- package/dist/chunks/{file-retention-fygdb7h7.js → model-resolver-h94x1q5y.js} +3 -3
- package/dist/chunks/{file-retention-f828m53h.js → model-resolver-hdnk95c8.js} +2 -2
- package/dist/chunks/{file-retention-zznwmpd0.js → model-resolver-hg29js9c.js} +5 -5
- package/dist/chunks/{file-retention-nhy5jxhy.js → model-resolver-hjt4xg1x.js} +4 -4
- package/dist/chunks/{file-retention-5h2ak588.js → model-resolver-hm085mrq.js} +21 -21
- package/dist/chunks/{file-retention-5qkbsren.js → model-resolver-hmyxjnbw.js} +11 -11
- package/dist/chunks/{file-retention-mhkvc446.js → model-resolver-j028xdjb.js} +3 -3
- package/dist/chunks/{file-retention-e6hd9jay.js → model-resolver-j15mfg1p.js} +6 -6
- package/dist/chunks/{file-retention-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-b963bmgr.js → model-resolver-j7wqg36k.js} +8 -8
- package/dist/chunks/{file-retention-jj63jgrn.js → model-resolver-jdh6s7jq.js} +8 -8
- package/dist/chunks/{file-retention-n4pj3cng.js → model-resolver-jfcm55kc.js} +10 -10
- package/dist/chunks/{file-retention-c5hwayjq.js → model-resolver-jh3mr9fx.js} +4 -4
- package/dist/chunks/{file-retention-me5vgs2m.js → model-resolver-jrec0msh.js} +34 -34
- package/dist/chunks/{file-retention-t2y34ej4.js → model-resolver-jzhcgjv7.js} +11 -11
- package/dist/chunks/{file-retention-4e4kessa.js → model-resolver-k3drw8gy.js} +11 -11
- package/dist/chunks/{file-retention-dhgj89qr.js → model-resolver-k7d0894y.js} +3 -3
- package/dist/chunks/{file-retention-eenpnbqj.js → model-resolver-k8aynvez.js} +7 -7
- package/dist/chunks/{file-retention-p06n4w0k.js → model-resolver-k8m05cxs.js} +13 -13
- package/dist/chunks/{file-retention-jfmshy3a.js → model-resolver-kbm5ywhv.js} +33 -33
- package/dist/chunks/{file-retention-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
- package/dist/chunks/{file-retention-cfpkc3c9.js → model-resolver-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-retention-e5rkeknp.js → model-resolver-m13kr8wx.js} +13 -13
- package/dist/chunks/{file-retention-g1xb33sa.js → model-resolver-m18gzt7g.js} +26 -26
- package/dist/chunks/{file-retention-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-70y17xeh.js → model-resolver-ma48de29.js} +5 -5
- package/dist/chunks/{file-retention-mfqp6xfm.js → model-resolver-mfqp6xfm.js} +2 -2
- package/dist/chunks/{file-retention-mkcjrzeh.js → model-resolver-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-retention-hgtjkr46.js → model-resolver-mym5xwza.js} +11 -11
- package/dist/chunks/{file-retention-8xgh37q2.js → model-resolver-n6aetzp4.js} +37 -37
- package/dist/chunks/{file-retention-tmmaw7dm.js → model-resolver-n7qdmp8m.js} +18 -18
- package/dist/chunks/{file-retention-79v6krhr.js → model-resolver-n93cvmfp.js} +33 -33
- package/dist/chunks/{file-retention-xdvgyr5e.js → model-resolver-n95h4grp.js} +17 -17
- package/dist/chunks/{file-retention-r0yk3wys.js → model-resolver-nmrsa8tb.js} +18 -18
- package/dist/chunks/{file-retention-4rcz7n1w.js → model-resolver-np146xf0.js} +10 -10
- package/dist/chunks/{file-retention-a6ycgxr6.js → model-resolver-nzcr7xy5.js} +22 -22
- package/dist/chunks/{file-retention-rc2324vf.js → model-resolver-nzwzy72p.js} +9 -9
- package/dist/chunks/{file-retention-5yf98bmk.js → model-resolver-p07p7dxg.js} +13 -13
- package/dist/chunks/{file-retention-tx1bbn1t.js → model-resolver-p72z5xx6.js} +2 -2
- package/dist/chunks/{file-retention-ksz0h0wp.js → model-resolver-p905rm1f.js} +1 -1
- package/dist/chunks/{file-retention-1hc11dc4.js → model-resolver-paegk39x.js} +4 -4
- package/dist/chunks/{file-retention-9c22vnh3.js → model-resolver-pdc8edc9.js} +23 -23
- package/dist/chunks/{file-retention-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-d2f1arkd.js → model-resolver-pk6gzyws.js} +18 -18
- package/dist/chunks/{file-retention-089z8d2q.js → model-resolver-pkmavskt.js} +4 -4
- package/dist/chunks/{file-retention-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-mdgez6a3.js → model-resolver-ptbz0kzz.js} +17 -17
- package/dist/chunks/{file-retention-h7ygw6q4.js → model-resolver-px1hepbq.js} +9 -9
- package/dist/chunks/{file-retention-bcvm2kkr.js → model-resolver-q15ghr61.js} +15 -15
- package/dist/chunks/{file-retention-d7y1ze3m.js → model-resolver-q5bwphvd.js} +15 -15
- package/dist/chunks/{file-retention-4c8bw516.js → model-resolver-qe26s0zb.js} +8 -8
- package/dist/chunks/{file-retention-qgn6gcr1.js → model-resolver-qgn6gcr1.js} +1 -1
- package/dist/chunks/{file-retention-3fk22zg7.js → model-resolver-qja371g1.js} +15 -15
- package/dist/chunks/{file-retention-e042tyrs.js → model-resolver-qnmw77rf.js} +3 -3
- package/dist/chunks/{file-retention-7hhdtzm1.js → model-resolver-qpp5wgcs.js} +8 -8
- package/dist/chunks/{file-retention-1xwk6ww1.js → model-resolver-qpt5r044.js} +6 -6
- package/dist/chunks/{file-retention-j4jqbx4j.js → model-resolver-qqazqvjv.js} +11 -11
- package/dist/chunks/{file-retention-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-t4y4c1va.js → model-resolver-qvrt22yc.js} +133 -133
- package/dist/chunks/{file-retention-jf6dr2d9.js → model-resolver-qzt97rh9.js} +33 -33
- package/dist/chunks/{file-retention-r4cndbqv.js → model-resolver-r1gq2p73.js} +22 -22
- package/dist/chunks/{file-retention-th1rzrqw.js → model-resolver-r8er4w6q.js} +10 -10
- package/dist/chunks/model-resolver-rap9a73h.js +18 -0
- package/dist/chunks/{file-retention-yzn9e0gg.js → model-resolver-rgst1ddg.js} +11 -11
- package/dist/chunks/{file-retention-4xr7dxah.js → model-resolver-rma5z0ck.js} +24 -24
- package/dist/chunks/{file-retention-zeh9ct20.js → model-resolver-rq775frq.js} +2 -2
- package/dist/chunks/{file-retention-085p4wzr.js → model-resolver-rswbxkdz.js} +18 -18
- package/dist/chunks/{file-retention-26nm669z.js → model-resolver-rz8cg23q.js} +31 -31
- package/dist/chunks/{file-retention-jnsa8b46.js → model-resolver-rzr29mjv.js} +1 -1
- package/dist/chunks/{file-retention-cjsb4aez.js → model-resolver-s9yxznb6.js} +4 -4
- package/dist/chunks/{file-retention-wgvs8t5x.js → model-resolver-sath0g0v.js} +25 -25
- package/dist/chunks/{file-retention-m821g7ez.js → model-resolver-sfzmaz10.js} +15 -15
- package/dist/chunks/{file-retention-s841er54.js → model-resolver-smayg48v.js} +35 -35
- package/dist/chunks/{file-retention-n76fdqym.js → model-resolver-snxhrb6z.js} +5 -5
- package/dist/chunks/{file-retention-0thxwbsq.js → model-resolver-sz79wj9p.js} +11 -11
- package/dist/chunks/{file-retention-p1wf2k30.js → model-resolver-t0x5rdq8.js} +9 -9
- package/dist/chunks/{file-retention-ha1ky52e.js → model-resolver-t294w80x.js} +24 -24
- package/dist/chunks/{file-retention-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-yygg97b6.js → model-resolver-tpqcq9ma.js} +27 -27
- package/dist/chunks/{file-retention-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-gvrrxk8n.js → model-resolver-txf4gfjj.js} +48 -48
- package/dist/chunks/{file-retention-r4s8w3sh.js → model-resolver-v03cbedv.js} +31 -31
- package/dist/chunks/{file-retention-a8npxwp2.js → model-resolver-v22jagvy.js} +8 -8
- package/dist/chunks/{file-retention-8rcbgw1c.js → model-resolver-v28yx9rk.js} +6 -6
- package/dist/chunks/{file-retention-mypwhdkk.js → model-resolver-v2p4rfxw.js} +6 -6
- package/dist/chunks/{file-retention-0r7yqxbf.js → model-resolver-v5hpcsb0.js} +2 -2
- package/dist/chunks/{file-retention-4t92r5y5.js → model-resolver-v5p5jd5d.js} +16 -16
- package/dist/chunks/{file-retention-0rn2bysh.js → model-resolver-vazvxs3c.js} +10 -10
- package/dist/chunks/{file-retention-228st694.js → model-resolver-vd56qj1s.js} +8 -8
- package/dist/chunks/{file-retention-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-rccdk6ga.js → model-resolver-vj4a8mq6.js} +5 -5
- package/dist/chunks/{file-retention-nn8g4bnz.js → model-resolver-vn05ks9g.js} +14 -14
- package/dist/chunks/{file-retention-cmx0cyjn.js → model-resolver-vs5zg3ka.js} +9 -9
- package/dist/chunks/{file-retention-q8k5va6t.js → model-resolver-vxcpq89m.js} +7 -7
- package/dist/chunks/{file-retention-j8zzr2am.js → model-resolver-vyqn3nqs.js} +6 -6
- package/dist/chunks/{file-retention-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-v4cx5xjq.js → model-resolver-w0cebxam.js} +4 -4
- package/dist/chunks/{file-retention-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-3q1jyqhd.js → model-resolver-w79zsp0s.js} +1 -1
- package/dist/chunks/{file-retention-r9babyk8.js → model-resolver-wbqy31zn.js} +1 -1
- package/dist/chunks/{file-retention-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-d09006c3.js → model-resolver-wk5z6jzv.js} +9 -9
- package/dist/chunks/{file-retention-5kmyd2yp.js → model-resolver-wtz344pq.js} +19 -19
- package/dist/chunks/{file-retention-1h5gp861.js → model-resolver-wzb930f5.js} +16 -16
- package/dist/chunks/{file-retention-mkw2wvv0.js → model-resolver-x0e6qwje.js} +7 -7
- package/dist/chunks/{file-retention-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-x43y2vfs.js → model-resolver-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-retention-xa4djcz0.js → model-resolver-xjvpf4s6.js} +6 -6
- package/dist/chunks/{file-retention-aks9j4w4.js → model-resolver-xmryvm6r.js} +15 -15
- package/dist/chunks/{file-retention-r1c48803.js → model-resolver-xpbmavdy.js} +65 -65
- package/dist/chunks/{file-retention-vf4s9505.js → model-resolver-xse2fbac.js} +10 -10
- package/dist/chunks/{file-retention-vr7f0f2w.js → model-resolver-xv77w4m4.js} +26 -26
- package/dist/chunks/{file-retention-vrgc17vv.js → model-resolver-xzjqnjyt.js} +4 -4
- package/dist/chunks/{file-retention-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-ta89s5je.js → model-resolver-y1rdatpn.js} +27 -27
- package/dist/chunks/{file-retention-bha4atvq.js → model-resolver-y31b318c.js} +4 -4
- package/dist/chunks/{file-retention-7tpxex51.js → model-resolver-y397pytd.js} +5 -5
- package/dist/chunks/{file-retention-bvzpqjkv.js → model-resolver-y6wtm4ga.js} +13 -13
- package/dist/chunks/{file-retention-dpkg50ah.js → model-resolver-y71avatq.js} +4 -4
- package/dist/chunks/{file-retention-x35m90n0.js → model-resolver-y9ndmn06.js} +24 -24
- package/dist/chunks/{file-retention-r8xr0va3.js → model-resolver-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-retention-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-cd428q19.js → model-resolver-ys435pyz.js} +9 -9
- package/dist/chunks/{file-retention-gv6a8nnw.js → model-resolver-yyb7tjpc.js} +2 -2
- package/dist/chunks/{file-retention-c85sskq6.js → model-resolver-yyw6y8kf.js} +11 -11
- package/dist/chunks/{file-retention-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-dr20mx92.js → model-resolver-z3bd92a5.js} +18 -18
- package/dist/chunks/{file-retention-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{file-retention-znx0z9vv.js → model-resolver-z6ccwhj9.js} +32 -32
- package/dist/chunks/{file-retention-jch0v1y2.js → model-resolver-z6nw9z3j.js} +9 -9
- package/dist/chunks/{file-retention-eppr9y53.js → model-resolver-z6qgwyj5.js} +6 -6
- package/dist/chunks/{file-retention-b62r6jkh.js → model-resolver-z7h0bx9a.js} +11 -11
- package/dist/chunks/{file-retention-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-fgh0kbhd.js → model-resolver-zsjw64s0.js} +1 -1
- package/dist/chunks/{file-retention-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +83 -83
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +96 -96
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +3 -3
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +78 -78
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +117 -117
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/file-retention-a5hbfrzd.js +0 -247
- package/dist/chunks/file-retention-f37dn1ey.js +0 -462
- package/dist/chunks/file-retention-hxa7m5za.js +0 -4
- package/dist/chunks/file-retention-q509s3k3.js +0 -18
- /package/dist/chunks/{file-retention-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a1tpkmh4.js → model-resolver-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-paphc93g.js → model-resolver-paphc93g.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78,
|
|
6
6
|
node83
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-9t2yae5y.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service63,
|
|
11
|
+
node67
|
|
12
|
+
} from "./model-resolver-d4bs6nh8.js";
|
|
13
13
|
import {
|
|
14
14
|
Service75,
|
|
15
15
|
node80
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-6fb6cyfd.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service64,
|
|
19
|
+
node68
|
|
20
|
+
} from "./model-resolver-6tdy5psv.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service66,
|
|
24
|
+
node71
|
|
25
|
+
} from "./model-resolver-z3bd92a5.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
31
|
ID8,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service62,
|
|
34
|
+
node66
|
|
35
|
+
} from "./model-resolver-96jy3nrs.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service38,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured5,
|
|
66
|
+
layer: () => layer16,
|
|
67
|
+
node: () => node42
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
176
|
+
var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
177
177
|
const location = yield* Service75;
|
|
178
|
-
const environment = yield*
|
|
178
|
+
const environment = yield* Service64;
|
|
179
179
|
const bus = yield* Service78;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service66;
|
|
181
|
+
const integration = yield* Service62;
|
|
182
|
+
const credentials = yield* Service63;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -216,7 +216,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError4({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID11.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service64, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service38.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured5(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [node80,
|
|
712
|
+
service: Service38,
|
|
713
|
+
layer: layer16(options),
|
|
714
|
+
deps: [node80, node68, node83, node71, node66, node67]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node42 = configured5();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service38, Options5, layer16, configured5, node42, exports_mcp4 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-9t2yae5y.js";
|
|
5
5
|
import {
|
|
6
6
|
Service75,
|
|
7
7
|
node80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-6fb6cyfd.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service72,
|
|
14
|
+
node77
|
|
15
|
+
} from "./model-resolver-7htwxs73.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service8,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node10
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service8 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service78;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service72;
|
|
41
41
|
const location = yield* Service75;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service8.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
|
|
98
|
+
var node10 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node83, FSUtil.node, node80,
|
|
101
|
+
deps: [node83, FSUtil.node, node80, node77]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service8, node10, exports_instructions };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-dj2t23y0.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-7pvzsz6j.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-9t2yae5y.js";
|
|
5
5
|
import {
|
|
6
6
|
Service75,
|
|
7
7
|
node80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-6fb6cyfd.js";
|
|
9
9
|
import {
|
|
10
10
|
ID15,
|
|
11
11
|
Service74,
|
|
12
12
|
node79
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-2taagk0w.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError9
|
|
16
|
-
} from "./
|
|
17
|
-
import {
|
|
18
|
-
Service71,
|
|
19
|
-
node76
|
|
20
|
-
} from "./file-retention-zwph3s3x.js";
|
|
21
|
-
import {
|
|
22
|
-
match2
|
|
23
|
-
} from "./file-retention-y1fvbwt7.js";
|
|
16
|
+
} from "./model-resolver-k7d0894y.js";
|
|
24
17
|
import {
|
|
25
18
|
Service72,
|
|
26
19
|
node77
|
|
27
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-7htwxs73.js";
|
|
21
|
+
import {
|
|
22
|
+
match2
|
|
23
|
+
} from "./model-resolver-y1fvbwt7.js";
|
|
28
24
|
import {
|
|
29
25
|
Service73,
|
|
30
26
|
node78
|
|
31
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-3d05yrhf.js";
|
|
28
|
+
import {
|
|
29
|
+
Service80,
|
|
30
|
+
node85
|
|
31
|
+
} from "./model-resolver-jdh6s7jq.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -43,19 +43,19 @@ __export(exports_permission2, {
|
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
45
|
Event: () => Event18,
|
|
46
|
-
ID: () =>
|
|
46
|
+
ID: () => ID13,
|
|
47
47
|
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service71,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node76
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
@@ -64,7 +64,7 @@ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission"
|
|
|
64
64
|
import { Event as Event18 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID13 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
78
|
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID13.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
82
|
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID13,
|
|
86
86
|
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID13,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID13
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service71 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service78;
|
|
132
132
|
const location = yield* Service75;
|
|
133
133
|
const agents = yield* Service74;
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
134
|
+
const sessions = yield* Service72;
|
|
135
|
+
const saved = yield* Service73;
|
|
136
|
+
const hooks = yield* Service80;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID13.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service71.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node76 = makeLocationNode({
|
|
289
|
+
service: Service71,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [node83, node80, node79,
|
|
291
|
+
deps: [node83, node80, node79, node77, node78, node85]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service71, node76, exports_permission2, Rule3, Ruleset2, Event18 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service4,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node6
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service4 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node6 = makeLocationNode({
|
|
19
|
+
service: Service4,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service4, node6, bound2, exports_instance2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76,
|
|
3
3
|
node81
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-76yzkxkp.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
15
|
Service: () => Service75,
|
|
@@ -18,7 +18,7 @@ __export(exports_location, {
|
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
24
|
class Service75 extends Context.Service()("@opencode/Location") {
|
|
@@ -40,4 +40,4 @@ var boundNode2 = (ref, options) => makeLocationNode({
|
|
|
40
40
|
deps: [node81]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service75, node80, boundNode2, exports_location };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info13
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info13 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info13, exports_command5 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9t2yae5y.js";
|
|
4
4
|
import {
|
|
5
5
|
Service75
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-6fb6cyfd.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service38
|
|
10
|
+
} from "./model-resolver-5a3e4t2e.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin28
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin28 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service75;
|
|
200
|
-
const mcp = yield*
|
|
200
|
+
const mcp = yield* Service38;
|
|
201
201
|
const bus = yield* Service78;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin28, exports_command2 };
|