@opencode/core 0.0.0-dev-19466 → 0.0.0-dev-19467
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{form-9bqyd62a.js → file-01mdjjj7.js} +24 -24
- package/dist/chunks/{form-wk2hrdx5.js → file-0dey12nt.js} +29 -29
- package/dist/chunks/{form-1z0aknf9.js → file-0m33zjrf.js} +34 -34
- package/dist/chunks/{form-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-8z17e00v.js → file-0py0pkk2.js} +6 -6
- package/dist/chunks/{form-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{form-xfkmbs5e.js → file-0zcwb494.js} +32 -32
- package/dist/chunks/{form-n8fstsqy.js → file-10nz5c35.js} +4 -4
- package/dist/chunks/{form-assnr950.js → file-15ez12k6.js} +31 -31
- package/dist/chunks/{form-z51q84wk.js → file-196zxc4b.js} +23 -23
- package/dist/chunks/{form-rshbrcq5.js → file-1awm1f41.js} +12 -12
- package/dist/chunks/{form-z2qbjhyn.js → file-1cfb3ja4.js} +5 -5
- package/dist/chunks/{form-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-2vnwx32a.js → file-1vtz46z8.js} +8 -8
- package/dist/chunks/{form-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{form-2402vzrj.js → file-2402vzrj.js} +1 -1
- package/dist/chunks/{form-z63w68vq.js → file-29x78va6.js} +6 -6
- package/dist/chunks/{form-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-46hcdknc.js → file-2ktm995r.js} +11 -11
- package/dist/chunks/{form-ccyhgnjw.js → file-2q26t3z2.js} +14 -14
- package/dist/chunks/{form-3ft0qgkj.js → file-2z1nbbgn.js} +7 -7
- package/dist/chunks/{form-998hv5gp.js → file-2zj8fbp9.js} +26 -26
- package/dist/chunks/{form-zecg6pzy.js → file-32ns7zf1.js} +41 -41
- package/dist/chunks/{form-3fc6dm20.js → file-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-bdhcyfgd.js → file-3nnae7yt.js} +27 -27
- package/dist/chunks/{form-x5jmn9g9.js → file-3p0a3947.js} +36 -36
- package/dist/chunks/{form-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-qffh8edp.js → file-3wyyhwd0.js} +26 -26
- package/dist/chunks/{form-8hfx6jq1.js → file-43k15f45.js} +4 -4
- package/dist/chunks/{form-8rdrgp2d.js → file-43kgpfns.js} +25 -25
- package/dist/chunks/{form-xsd6f48w.js → file-44ddp8x2.js} +15 -15
- package/dist/chunks/{form-t6730khh.js → file-46hd6k3g.js} +18 -18
- package/dist/chunks/{form-dep1tgj5.js → file-4b96ps91.js} +11 -11
- package/dist/chunks/{form-yc1dk1yy.js → file-4cgh75f3.js} +11 -11
- package/dist/chunks/{form-2540tbp6.js → file-4h3kvjs2.js} +7 -7
- package/dist/chunks/{form-8qvgnq7a.js → file-4w79hth0.js} +9 -9
- package/dist/chunks/{form-4y66k410.js → file-4y66k410.js} +2 -2
- package/dist/chunks/{form-0q4gv9rf.js → file-55ecvd0d.js} +43 -43
- package/dist/chunks/{form-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{form-m2r5gtbr.js → file-5h1vqfpf.js} +24 -24
- package/dist/chunks/{form-38jtcpsq.js → file-5h5hcfag.js} +29 -29
- package/dist/chunks/{form-fex876vs.js → file-5p1xccta.js} +6 -6
- package/dist/chunks/{form-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-qpv3bqr6.js → file-5t49yv3r.js} +30 -30
- package/dist/chunks/{form-b823frnw.js → file-5wh1mxz2.js} +20 -20
- package/dist/chunks/{form-ycjb11n5.js → file-63xctefh.js} +6 -6
- package/dist/chunks/{form-p0wx6aq5.js → file-65ae7ssf.js} +17 -17
- package/dist/chunks/{form-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{form-cqg8v4c7.js → file-6anwy9fs.js} +6 -6
- package/dist/chunks/{form-qcjn0ash.js → file-6d17qt6n.js} +47 -47
- package/dist/chunks/{form-caze8vm3.js → file-6dqgf9h2.js} +7 -7
- package/dist/chunks/{form-6jnybvqn.js → file-6jnybvqn.js} +2 -2
- package/dist/chunks/file-6kdq0pjd.js +4 -0
- package/dist/chunks/{form-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-fr2kbfxw.js → file-6wc117sj.js} +7 -7
- package/dist/chunks/{form-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{form-tf4ysc3w.js → file-76t0zr3x.js} +11 -11
- package/dist/chunks/{form-6apjjhdk.js → file-78nv4h6x.js} +24 -24
- package/dist/chunks/{form-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-ssysrae3.js → file-7j9mf223.js} +27 -27
- package/dist/chunks/{form-mvfsc1pv.js → file-7yh4e7ss.js} +3 -3
- package/dist/chunks/{form-97fgwabn.js → file-81z8qjxd.js} +16 -16
- package/dist/chunks/{form-f101e7mq.js → file-87kgra54.js} +6 -6
- package/dist/chunks/{form-06dxphr1.js → file-88sz8qcd.js} +4 -4
- package/dist/chunks/{form-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-t7d5z6x6.js → file-8g4hjr24.js} +14 -14
- package/dist/chunks/{form-dj2t23y0.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{form-zs85szgj.js → file-8qkkyzrv.js} +13 -13
- package/dist/chunks/{form-swqn9gat.js → file-8yay56x4.js} +5 -5
- package/dist/chunks/{form-n032fvft.js → file-954vm9zf.js} +6 -6
- package/dist/chunks/{form-t1bhcjx3.js → file-96yt6zt0.js} +1 -1
- package/dist/chunks/{form-hxdk6r1y.js → file-99hfsv2g.js} +24 -24
- package/dist/chunks/{form-cwfb3t4k.js → file-9cz3wv26.js} +5 -5
- package/dist/chunks/{form-6xva45ts.js → file-9fecvkeg.js} +25 -25
- package/dist/chunks/{form-1vpq6b2c.js → file-9q0jhhf9.js} +8 -8
- package/dist/chunks/{form-5c4hm403.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{form-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{form-11hzmxk0.js → file-ag08y0z0.js} +34 -34
- package/dist/chunks/{form-z8618jgn.js → file-ak4yxbec.js} +11 -11
- package/dist/chunks/{form-7b15y959.js → file-asmz7wyz.js} +8 -8
- package/dist/chunks/{form-5fygcj3v.js → file-at361zj4.js} +30 -30
- package/dist/chunks/{form-gbgwd44t.js → file-aw76w3jw.js} +7 -7
- package/dist/chunks/{form-knsaty1w.js → file-aznbw4af.js} +46 -46
- package/dist/chunks/{form-nng2ktcm.js → file-b09hzw3k.js} +2 -2
- package/dist/chunks/{form-d50f2zf5.js → file-b3wkxfg9.js} +1 -1
- package/dist/chunks/{form-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-fab8hzt3.js → file-bajakh74.js} +4 -4
- package/dist/chunks/{form-w5s4s3ts.js → file-bmmbmmz8.js} +20 -20
- package/dist/chunks/{form-qk3y3hde.js → file-bpbqk74e.js} +5 -5
- package/dist/chunks/{form-bv2k5xqy.js → file-bpn789zm.js} +9 -9
- package/dist/chunks/{form-00433yj6.js → file-brdav8ac.js} +1 -1
- package/dist/chunks/{form-yc1rv2nb.js → file-bwvfabrt.js} +9 -9
- package/dist/chunks/{form-qnhgznfc.js → file-c3tq07df.js} +17 -17
- package/dist/chunks/{form-m7azt10s.js → file-c4qh20ek.js} +23 -23
- package/dist/chunks/{form-6nncasy6.js → file-c98r53b8.js} +13 -13
- package/dist/chunks/{form-m0jqrx5p.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{form-kakm5609.js → file-cgyb2chk.js} +22 -22
- package/dist/chunks/{form-g4sdyxzz.js → file-ckn2912w.js} +7 -7
- package/dist/chunks/{form-qcd9kc12.js → file-d9vam3k2.js} +30 -30
- package/dist/chunks/{form-nbzsj80d.js → file-dhwr7h25.js} +11 -11
- package/dist/chunks/{form-zwg5k4st.js → file-dp6qntr2.js} +12 -12
- package/dist/chunks/{form-kyfv81ps.js → file-dyaxchcz.js} +19 -19
- package/dist/chunks/{form-0c9trx5t.js → file-dzpsx89s.js} +9 -9
- package/dist/chunks/{form-2cc6gfv2.js → file-e052s0h1.js} +18 -18
- package/dist/chunks/{form-gac2jfnd.js → file-e8es6s27.js} +13 -13
- package/dist/chunks/{form-05b1y4dr.js → file-e9cy62py.js} +4 -4
- package/dist/chunks/{form-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-0tn53hfe.js → file-eym8880c.js} +8 -8
- package/dist/chunks/{form-41raftcs.js → file-f0bc8q2d.js} +24 -24
- package/dist/chunks/{form-hdnk95c8.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{form-n5zjdcc0.js → file-f8q7mv7a.js} +1 -1
- package/dist/chunks/{form-w35d8h7t.js → file-fbe32vd5.js} +6 -6
- package/dist/chunks/{form-1fa9ans5.js → file-fgh0kbhd.js} +1 -1
- package/dist/chunks/{form-grcagha7.js → file-fjkx7jfm.js} +15 -15
- package/dist/chunks/{form-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{form-fmmn8x74.js → file-fygdb7h7.js} +3 -3
- package/dist/chunks/{form-k0ka9z30.js → file-g2h5514g.js} +6 -6
- package/dist/chunks/{form-4nh1fksq.js → file-g72m04gw.js} +11 -11
- package/dist/chunks/{form-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-s9ww160f.js → file-gdzz6jx4.js} +65 -65
- package/dist/chunks/{form-9pm72jv4.js → file-ge9f1ey5.js} +7 -7
- package/dist/chunks/{form-evp151d0.js → file-gn193kaw.js} +2 -2
- package/dist/chunks/{form-b02gdezj.js → file-gp52jd7g.js} +10 -10
- package/dist/chunks/{form-f1k9ra80.js → file-gr6g09x2.js} +3 -3
- package/dist/chunks/{form-hqd08fbh.js → file-grfft0p3.js} +9 -9
- package/dist/chunks/{form-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
- package/dist/chunks/{form-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{form-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-hjt4xg1x.js → file-hjt4xg1x.js} +1 -1
- package/dist/chunks/{form-tx292w9v.js → file-hr4nst8s.js} +54 -54
- package/dist/chunks/{form-14a88h70.js → file-hxs4qgpe.js} +17 -17
- package/dist/chunks/{form-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{form-paphc93g.js → file-j935v87r.js} +2 -2
- package/dist/chunks/{form-wz6q5vwf.js → file-jc9hk3c4.js} +28 -28
- package/dist/chunks/{form-q2ape1mq.js → file-jkrwprzx.js} +17 -17
- package/dist/chunks/{form-d4c0rpe7.js → file-jmdt0qbm.js} +11 -11
- package/dist/chunks/{form-m48990ta.js → file-jmkfxt9k.js} +27 -27
- package/dist/chunks/{form-hnr5yq9h.js → file-jv01nqvq.js} +5 -5
- package/dist/chunks/{form-h1c4f905.js → file-jwx4y25k.js} +9 -9
- package/dist/chunks/{form-qssq5wvh.js → file-k16ay38w.js} +1 -1
- package/dist/chunks/{form-jnqkmre8.js → file-k3vytwpg.js} +18 -18
- package/dist/chunks/{form-q57g8ht8.js → file-k4698d15.js} +11 -11
- package/dist/chunks/{form-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{form-4zhe13z7.js → file-kmba0g0m.js} +27 -27
- package/dist/chunks/{form-a00065a9.js → file-kp3p0j6p.js} +5 -5
- package/dist/chunks/{form-4szxvfgb.js → file-kpdtseex.js} +4 -4
- package/dist/chunks/{form-hf8cnsjw.js → file-ksz0h0wp.js} +1 -1
- package/dist/chunks/{form-2t2fnzfp.js → file-m0v68pa6.js} +26 -26
- package/dist/chunks/{form-dt849bc4.js → file-m27pyyd3.js} +6 -6
- package/dist/chunks/{form-afdssyjb.js → file-m70sbz6t.js} +4 -4
- package/dist/chunks/{form-swbpz5np.js → file-m7fcfcd3.js} +41 -41
- package/dist/chunks/{form-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-0jnzg8v1.js → file-mc8zj9wc.js} +14 -14
- package/dist/chunks/{form-56gdpj1q.js → file-mfqp6xfm.js} +6 -6
- package/dist/chunks/{form-7jyc931p.js → file-mka1mjms.js} +13 -13
- package/dist/chunks/{form-mkcjrzeh.js → file-mkcjrzeh.js} +1 -1
- package/dist/chunks/{form-g887w5he.js → file-mkh51v61.js} +10 -10
- package/dist/chunks/{form-576nzah0.js → file-mp0p3w6e.js} +15 -15
- package/dist/chunks/{form-ksk8vt3f.js → file-mwbghvtz.js} +15 -15
- package/dist/chunks/{form-2e96adxv.js → file-n07gqhyx.js} +9 -9
- package/dist/chunks/{form-maby05qh.js → file-n6d0ct00.js} +14 -14
- package/dist/chunks/{form-6jex2xta.js → file-n76fdqym.js} +5 -5
- package/dist/chunks/{form-wzz0kxab.js → file-n8c291r7.js} +9 -9
- package/dist/chunks/{form-2f2wkhxh.js → file-n8wswfp5.js} +26 -26
- package/dist/chunks/{form-v7q3tn0x.js → file-nc8g0deh.js} +22 -22
- package/dist/chunks/{form-6dkp0jpv.js → file-nd64t4g7.js} +16 -16
- package/dist/chunks/{form-nv4mj6tb.js → file-nhzp11fy.js} +11 -11
- package/dist/chunks/{form-g9ep4xdc.js → file-nkdfvqze.js} +39 -39
- package/dist/chunks/{form-wht8nnzv.js → file-npz894wm.js} +25 -25
- package/dist/chunks/{form-gxt7q2nb.js → file-p1mff96j.js} +79 -79
- package/dist/chunks/file-p2byknbn.js +22 -0
- package/dist/chunks/{form-yjwn9hr3.js → file-p5m12nsf.js} +43 -43
- package/dist/chunks/{form-3y0vn2ab.js → file-p90jbscy.js} +14 -14
- package/dist/chunks/{form-9h9xq4n3.js → file-pd0fpw0w.js} +16 -16
- package/dist/chunks/file-pf31ssb9.js +18 -0
- package/dist/chunks/{form-ypmxyqks.js → file-pjj7a5gk.js} +8 -8
- package/dist/chunks/{form-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{form-wy6fvhf7.js → file-pm3zx1e2.js} +11 -11
- package/dist/chunks/{form-xstt6w6w.js → file-pn6c68gz.js} +57 -57
- package/dist/chunks/{form-z0g25t4y.js → file-q597yyn0.js} +6 -6
- package/dist/chunks/{form-2jzp3xtm.js → file-q7wrh90t.js} +28 -28
- package/dist/chunks/{form-vdwzkfen.js → file-q88zj522.js} +11 -11
- package/dist/chunks/{form-jf418vq7.js → file-qfhg0qm0.js} +17 -17
- package/dist/chunks/{form-0jwsre1p.js → file-qgn6gcr1.js} +5 -5
- package/dist/chunks/{form-3hf7z3yq.js → file-qsaqrdx1.js} +11 -11
- package/dist/chunks/{form-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{form-zv8wzcrz.js → file-qttnr0ye.js} +8 -8
- package/dist/chunks/{form-jq049rxw.js → file-qvz5qhdq.js} +40 -40
- package/dist/chunks/{form-2hxyrecd.js → file-r7cr63pb.js} +9 -9
- package/dist/chunks/{form-7s02b6me.js → file-r9babyk8.js} +1 -1
- package/dist/chunks/{form-r9mregkx.js → file-r9mregkx.js} +2 -2
- package/dist/chunks/{form-d216944b.js → file-ratrq7cm.js} +7 -7
- package/dist/chunks/{form-431dt5ep.js → file-rbmgqr8n.js} +8 -8
- package/dist/chunks/{form-rg87589h.js → file-rgerjr63.js} +11 -11
- package/dist/chunks/{form-g4ajyp53.js → file-rh4q0e7f.js} +17 -17
- package/dist/chunks/{form-xdppvteq.js → file-rj24jzzd.js} +18 -18
- package/dist/chunks/{form-81swgkk7.js → file-rk0rec3h.js} +9 -9
- package/dist/chunks/{form-6ymymyv8.js → file-rtv6ahp9.js} +6 -6
- package/dist/chunks/{form-7sqxeqwy.js → file-s0hza5ac.js} +4 -4
- package/dist/chunks/{form-yrznvahk.js → file-s4enseaf.js} +2 -2
- package/dist/chunks/{form-c31c74kw.js → file-s4gwnm9s.js} +17 -17
- package/dist/chunks/{form-d2e6rrcm.js → file-scjjkrgm.js} +18 -18
- package/dist/chunks/{form-w8pkwymp.js → file-skre1xzp.js} +9 -9
- package/dist/chunks/{form-7h47emwc.js → file-sveyc280.js} +10 -10
- package/dist/chunks/{form-hrvd6t1f.js → file-t0x5rdq8.js} +9 -9
- package/dist/chunks/{form-hm66575d.js → file-t3yqqakc.js} +11 -11
- package/dist/chunks/{form-rhjbct0v.js → file-t550f9t1.js} +4 -4
- package/dist/chunks/{form-hv4dbmz4.js → file-t7z3zppm.js} +2 -2
- package/dist/chunks/{form-8n4pt1dd.js → file-t8dapppc.js} +43 -43
- package/dist/chunks/{form-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-89znhe33.js → file-tcezcvh9.js} +4 -4
- package/dist/chunks/{form-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{form-zyddxhh7.js → file-tfngb0ww.js} +4 -4
- package/dist/chunks/{form-2f7aa0dt.js → file-tppe6m69.js} +7 -7
- package/dist/chunks/{form-aay990tf.js → file-tte3y0bt.js} +23 -23
- package/dist/chunks/{form-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{form-9ra0mmgv.js → file-v0zt7nbb.js} +42 -42
- package/dist/chunks/{form-pc7hkmqs.js → file-v366j0rp.js} +11 -11
- package/dist/chunks/{form-vxh04kh8.js → file-v57h5aag.js} +29 -29
- package/dist/chunks/{form-awkf3rkk.js → file-v6ypf6cj.js} +4 -4
- package/dist/chunks/{form-2nm5ff7y.js → file-vaspbzqy.js} +84 -84
- package/dist/chunks/{form-xa2j3jkz.js → file-vb8ktjqd.js} +35 -35
- package/dist/chunks/{form-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{form-xn5rvdk3.js → file-vgx6weyf.js} +8 -8
- package/dist/chunks/{form-342bs8hn.js → file-vkt7gky2.js} +45 -45
- package/dist/chunks/{form-q2b1ymqp.js → file-vncycja5.js} +4 -4
- package/dist/chunks/{form-q1a7cndp.js → file-vr7gxye5.js} +9 -9
- package/dist/chunks/{form-50mzsvk4.js → file-vsp1fds9.js} +21 -21
- package/dist/chunks/{form-mvnm64jf.js → file-vvejnxw1.js} +158 -158
- package/dist/chunks/{form-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-wktmrfzn.js → file-w0f6ctqr.js} +14 -14
- package/dist/chunks/{form-1cm4s572.js → file-w0gkjavc.js} +17 -17
- package/dist/chunks/{form-mp8p9m1k.js → file-w1e78axz.js} +25 -25
- package/dist/chunks/{form-9b3h0hdy.js → file-w3gs9xya.js} +9 -9
- package/dist/chunks/{form-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-vt4g59c2.js → file-w98apfbx.js} +11 -11
- package/dist/chunks/{form-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{form-vwqc105j.js → file-we27jats.js} +12 -12
- package/dist/chunks/{form-gsd5dsw3.js → file-wptj4zbr.js} +13 -13
- package/dist/chunks/{form-w49376b9.js → file-wvdcn5qm.js} +20 -20
- package/dist/chunks/{form-w4hyaehm.js → file-wzepkft7.js} +12 -12
- package/dist/chunks/{form-ypxt1aq0.js → file-wzjjzz4p.js} +6 -6
- package/dist/chunks/{form-8w5eg97y.js → file-x0mn1y4c.js} +16 -16
- package/dist/chunks/{form-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-tknye5wz.js → file-xf7r26fr.js} +25 -25
- package/dist/chunks/{form-qb79v30g.js → file-xm0rhqjd.js} +5 -5
- package/dist/chunks/{form-h9dx7f6h.js → file-xmftkv8j.js} +21 -21
- package/dist/chunks/{form-n0err2ak.js → file-xp1skx2v.js} +21 -21
- package/dist/chunks/{form-g35tdwe4.js → file-xtnhd2d6.js} +11 -11
- package/dist/chunks/{form-1ghpc1h3.js → file-xvvn7245.js} +30 -30
- package/dist/chunks/{form-tsnc6md1.js → file-xwsk2c8c.js} +6 -6
- package/dist/chunks/{form-65m55qcr.js → file-y18dg9rm.js} +24 -24
- package/dist/chunks/{form-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-3wqgjbe3.js → file-y4pn6qcw.js} +6 -6
- package/dist/chunks/{form-rk1hq680.js → file-y4trewk8.js} +23 -23
- package/dist/chunks/{form-7w99qc9d.js → file-y6f0p4jw.js} +2 -2
- package/dist/chunks/{form-jwcy2c2z.js → file-y71avatq.js} +4 -4
- package/dist/chunks/{form-t33aqq77.js → file-yg6nt6v4.js} +8 -8
- package/dist/chunks/{form-krw20rj3.js → file-ygcwy31f.js} +26 -26
- package/dist/chunks/{form-6ycnsh5g.js → file-yj688e5m.js} +12 -12
- package/dist/chunks/{form-r8xr0va3.js → file-yp2x3t23.js} +4 -4
- package/dist/chunks/{form-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-pecb0brz.js → file-yt0fqk68.js} +5 -5
- package/dist/chunks/{form-tm9cmf1r.js → file-yxzk4b0p.js} +4 -4
- package/dist/chunks/{form-fcaqg7qr.js → file-yymn1yqy.js} +9 -9
- package/dist/chunks/{form-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-tz2bjj40.js → file-z3pw5915.js} +5 -5
- package/dist/chunks/{form-2ee8pmxs.js → file-z69s9t6b.js} +5 -5
- package/dist/chunks/{form-tw1wmbrw.js → file-zcyexcbg.js} +22 -22
- package/dist/chunks/{form-05gmxw6z.js → file-zedqgydd.js} +16 -16
- package/dist/chunks/{form-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{form-t6zqq4mq.js → file-zg7fnakg.js} +292 -292
- package/dist/chunks/file-zgqe0621.js +247 -0
- package/dist/chunks/{form-fjwhbg0m.js → file-zmdyh523.js} +29 -29
- package/dist/chunks/{form-rkbf8qnf.js → file-zpqzfwh7.js} +4 -4
- package/dist/chunks/{form-asbzqvmn.js → file-zq3nracj.js} +22 -22
- package/dist/chunks/{form-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-mbb6x4gq.js → file-zzr6y1q3.js} +6 -6
- 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 +84 -84
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +71 -71
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +71 -71
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +354 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +79 -79
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +351 -351
- package/dist/location.js +77 -77
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- 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 +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- 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 +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- 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 +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +87 -87
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- 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 +84 -84
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +86 -86
- package/package.json +8 -8
- package/dist/chunks/form-0mesazry.js +0 -4
- package/dist/chunks/form-9sh4wc5j.js +0 -18
- package/dist/chunks/form-crwfem31.js +0 -22
- package/dist/chunks/form-dt2e4e7m.js +0 -247
- /package/dist/chunks/{form-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{form-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → file-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service67,
|
|
8
|
+
node70
|
|
9
|
+
} from "./file-xmftkv8j.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service66,
|
|
24
|
+
node: () => node69
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service66 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service67;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service66.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node69 = makeLocationNode({ service: Service66, layer, deps: [node70, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service66, node69, exports_ripgrep };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service67,
|
|
8
|
+
node70
|
|
9
|
+
} from "./file-xmftkv8j.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./file-99hfsv2g.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service9,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node12,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service9 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service67;
|
|
331
|
+
return Service9.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node12 = makeLocationNode({ service: Service9, layer, deps: [node70] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service9, read2, node12, exports_read_filesystem };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-rgerjr63.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
Agent: () => exports_agent3,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event10,
|
|
18
|
+
ID: () => ID8,
|
|
19
|
+
Info: () => Info12,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service50,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node53
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event10 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID8 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID8.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info12 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service50 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info12.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID8.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service50.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID8.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID8.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node53 = makeLocationNode({ service: Service50, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID8, Name3, defaultID2, Color2, Info12, Service50, node53, exports_agent3, Event10 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service36
|
|
3
|
+
} from "./file-63xctefh.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-pf31ssb9.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-n07gqhyx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service45
|
|
12
|
+
} from "./file-n8wswfp5.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service36;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-v366j0rp.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service74,
|
|
17
|
+
node: () => node78
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service74 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service74.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node78 = makeGlobalNode({ service: Service74, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service74, node78, exports_kv };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service59,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node62
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service59 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service59.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node62 = makeLocationNode({
|
|
143
|
+
service: Service59,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service59, node62, exports_tool_output2 };
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
UnsupportedPackageError3,
|
|
4
4
|
UnresolvedProviderVariablesError3,
|
|
5
5
|
UnsupportedCompactionError3,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service62,
|
|
7
|
+
node65
|
|
8
|
+
} from "./file-m7fcfcd3.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-y6f0p4jw.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service37,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
23
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
24
24
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
25
25
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
26
26
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node40,
|
|
28
28
|
resolved: () => resolved2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var UnsupportedPackageError2 = UnsupportedPackageError3;
|
|
|
51
51
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
52
52
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service37 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
55
55
|
}
|
|
56
56
|
var resolved2 = (model, options) => ({
|
|
57
57
|
model,
|
|
@@ -66,9 +66,9 @@ var resolved2 = (model, options) => ({
|
|
|
66
66
|
compaction: options.compaction,
|
|
67
67
|
websocket: options.websocket ?? false
|
|
68
68
|
});
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const resolver = yield*
|
|
71
|
-
return
|
|
69
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
70
|
+
const resolver = yield* Service62;
|
|
71
|
+
return Service37.of({
|
|
72
72
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
73
73
|
if (!session.model) {
|
|
74
74
|
const resolved = yield* resolver.resolve();
|
|
@@ -86,6 +86,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
86
86
|
})
|
|
87
87
|
});
|
|
88
88
|
}));
|
|
89
|
-
var
|
|
89
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [node65] });
|
|
90
90
|
|
|
91
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
91
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service37, resolved2, node40, exports_model };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-rgerjr63.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./file-w98apfbx.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service26,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-pf31ssb9.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-vvejnxw1.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event3,
|
|
30
|
+
ID: () => ID2,
|
|
31
|
+
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service26,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node18
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event3, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service79;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service74;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service26.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node18 = Node.makeLocationNode({
|
|
226
|
+
service: Service26,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node18, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-v366j0rp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./file-63xctefh.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-pf31ssb9.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-88sz8qcd.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-76t0zr3x.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-jc9hk3c4.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service19
|
|
21
|
+
} from "./file-p1mff96j.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service36;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service19;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|