@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
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./file-hr4nst8s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service45
|
|
10
|
+
} from "./file-n8wswfp5.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input9,
|
|
19
|
+
Output: () => Output6,
|
|
20
|
+
Plugin: () => Plugin40,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
22
|
description: () => description4,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name9,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name9 = "skill";
|
|
30
|
+
var Input9 = Schema.Struct({
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output6 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin40 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service45;
|
|
51
|
+
const permission = yield* Service47;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name9,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description4,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input9,
|
|
57
|
+
output: Output6,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name9,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin9 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name9, Input9, Output6, description4, toModelOutput2, Plugin40, exports_skill3 };
|
|
@@ -1,117 +1,117 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-v366j0rp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service69,
|
|
7
7
|
node73
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-zzr6y1q3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID8,
|
|
11
|
+
Service50,
|
|
12
|
+
node53
|
|
13
|
+
} from "./file-w1e78axz.js";
|
|
14
14
|
import {
|
|
15
15
|
AgentNotFoundError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-n07gqhyx.js";
|
|
17
17
|
import {
|
|
18
18
|
combine2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-t550f9t1.js";
|
|
20
20
|
import {
|
|
21
21
|
provenance2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-88sz8qcd.js";
|
|
23
23
|
import {
|
|
24
24
|
entriesForRunner2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-76t0zr3x.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service48,
|
|
28
|
+
node51
|
|
29
|
+
} from "./file-mp0p3w6e.js";
|
|
30
30
|
import {
|
|
31
31
|
merge2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-hr4nst8s.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service75,
|
|
35
|
+
node80
|
|
36
|
+
} from "./file-ygcwy31f.js";
|
|
37
37
|
import {
|
|
38
38
|
make14
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-vr7gxye5.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service53,
|
|
42
|
+
node56
|
|
43
|
+
} from "./file-3wyyhwd0.js";
|
|
44
44
|
import {
|
|
45
45
|
Service24,
|
|
46
46
|
node29
|
|
47
|
-
} from "./
|
|
48
|
-
import {
|
|
49
|
-
Service39,
|
|
50
|
-
node43
|
|
51
|
-
} from "./form-8rdrgp2d.js";
|
|
47
|
+
} from "./file-q597yyn0.js";
|
|
52
48
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
49
|
+
Service41,
|
|
50
|
+
node44
|
|
51
|
+
} from "./file-43kgpfns.js";
|
|
56
52
|
import {
|
|
57
53
|
Service27,
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
54
|
+
node31
|
|
55
|
+
} from "./file-q7wrh90t.js";
|
|
56
|
+
import {
|
|
57
|
+
Service25,
|
|
58
|
+
node30
|
|
59
|
+
} from "./file-zq3nracj.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service21,
|
|
62
|
+
node26
|
|
63
|
+
} from "./file-46hd6k3g.js";
|
|
64
64
|
import {
|
|
65
65
|
Service29,
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
66
|
+
node33
|
|
67
|
+
} from "./file-nd64t4g7.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service20,
|
|
70
|
+
node25
|
|
71
|
+
} from "./file-zedqgydd.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service22,
|
|
74
|
+
node27
|
|
75
|
+
} from "./file-jc9hk3c4.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service37,
|
|
78
|
+
node40
|
|
79
|
+
} from "./file-wptj4zbr.js";
|
|
80
80
|
import {
|
|
81
81
|
__export
|
|
82
|
-
} from "./
|
|
82
|
+
} from "./file-9rqn6x4v.js";
|
|
83
83
|
|
|
84
84
|
// src/session/context.ts
|
|
85
85
|
var exports_context = {};
|
|
86
86
|
__export(exports_context, {
|
|
87
|
-
Service: () =>
|
|
87
|
+
Service: () => Service19,
|
|
88
88
|
SessionContext: () => exports_context,
|
|
89
|
-
node: () =>
|
|
89
|
+
node: () => node23
|
|
90
90
|
});
|
|
91
91
|
import { Model } from "@opencode/schema/model";
|
|
92
92
|
import { Context, Effect, Layer } from "effect";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
|
-
class
|
|
94
|
+
class Service19 extends Context.Service()("@opencode/SessionContext") {
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
97
|
-
const agents = yield*
|
|
96
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
97
|
+
const agents = yield* Service50;
|
|
98
98
|
const builtins = yield* Service24;
|
|
99
|
-
const catalog = yield*
|
|
99
|
+
const catalog = yield* Service75;
|
|
100
100
|
const db = (yield* Service80).db;
|
|
101
|
-
const discovery = yield*
|
|
102
|
-
const entries = yield*
|
|
101
|
+
const discovery = yield* Service53;
|
|
102
|
+
const entries = yield* Service20;
|
|
103
103
|
const location = yield* Service69;
|
|
104
|
-
const mcpInstructions = yield*
|
|
105
|
-
const mcpTools = yield*
|
|
106
|
-
const models = yield*
|
|
107
|
-
const request = yield*
|
|
108
|
-
const referenceInstructions = yield*
|
|
104
|
+
const mcpInstructions = yield* Service25;
|
|
105
|
+
const mcpTools = yield* Service27;
|
|
106
|
+
const models = yield* Service37;
|
|
107
|
+
const request = yield* Service22;
|
|
108
|
+
const referenceInstructions = yield* Service21;
|
|
109
109
|
const skillInstructions = yield* Service29;
|
|
110
|
-
const store = yield*
|
|
111
|
-
const registry = yield*
|
|
110
|
+
const store = yield* Service48;
|
|
111
|
+
const registry = yield* Service41;
|
|
112
112
|
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
113
113
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
114
|
-
const agent = yield* agents.get(
|
|
114
|
+
const agent = yield* agents.get(ID8.make("title"));
|
|
115
115
|
if (!agent)
|
|
116
116
|
return;
|
|
117
117
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -186,29 +186,29 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
186
186
|
tools: selection.tools
|
|
187
187
|
};
|
|
188
188
|
});
|
|
189
|
-
return
|
|
189
|
+
return Service19.of({ select, load, resolveModel, selectTitle, request });
|
|
190
190
|
}));
|
|
191
191
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node23 = makeLocationNode({
|
|
193
|
+
service: Service19,
|
|
194
194
|
layer,
|
|
195
195
|
deps: [
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
196
|
+
node53,
|
|
197
|
+
node80,
|
|
198
|
+
node85,
|
|
199
199
|
node29,
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
node56,
|
|
201
|
+
node25,
|
|
202
202
|
node73,
|
|
203
|
-
node32,
|
|
204
|
-
node33,
|
|
205
|
-
node35,
|
|
206
|
-
node64,
|
|
207
203
|
node30,
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
204
|
+
node31,
|
|
205
|
+
node26,
|
|
206
|
+
node40,
|
|
207
|
+
node27,
|
|
208
|
+
node51,
|
|
209
|
+
node33,
|
|
210
|
+
node44
|
|
211
211
|
]
|
|
212
212
|
});
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Service19, node23, exports_context };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin24
|
|
3
|
+
} from "./file-yg6nt6v4.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin25
|
|
6
|
+
} from "./file-bwvfabrt.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin21
|
|
9
|
+
} from "./file-grfft0p3.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin20
|
|
12
|
+
} from "./file-9q0jhhf9.js";
|
|
13
|
+
|
|
14
|
+
// src/plugin/websearch/index.ts
|
|
15
|
+
var WebSearchPlugins2 = [
|
|
16
|
+
Plugin24,
|
|
17
|
+
Plugin25,
|
|
18
|
+
Plugin21,
|
|
19
|
+
Plugin20
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node85
|
|
7
|
+
} from "./file-v366j0rp.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
node84
|
|
11
|
+
} from "./file-rgerjr63.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service71,
|
|
14
|
+
node75
|
|
15
|
+
} from "./file-mkh51v61.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event16,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-rk0rec3h.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID12,
|
|
40
|
+
Info: () => Info27,
|
|
41
|
+
NotFoundError: () => NotFoundError8,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service70,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node74,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID12 = ID13;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info27 = Info28;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError8 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID12
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service70 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service71;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event16.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID12.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
167
167
|
time_updated: Date.now()
|
|
168
168
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
169
169
|
if (!row)
|
|
170
|
-
return yield* new
|
|
170
|
+
return yield* new NotFoundError8({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event16.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID12.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID12.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID12.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID12.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID12.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID12.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID12.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service70.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node74 = makeGlobalNode({
|
|
277
|
+
service: Service70,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node84, node85, FSUtil.node, node75, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID12, Vcs2, Current2, Info27, UpdateInput3, NotFoundError8, root2, Service70, node74, exports_project };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service56
|
|
4
|
+
} from "./file-t8dapppc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service73
|
|
7
|
+
} from "./file-rh4q0e7f.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin16
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin16 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service56;
|
|
27
|
+
const shell = yield* Service73;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin17 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin16, exports_shell };
|