@opencode/core 0.0.0-dev-19635 → 0.0.0-dev-19637
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{instance-2n2brbh1.js → file-access-0addxkp5.js} +29 -29
- package/dist/chunks/{instance-ab9238g2.js → file-access-0ft9cg2j.js} +6 -6
- package/dist/chunks/{instance-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-fsz0dsx4.js → file-access-0r581tt5.js} +9 -9
- package/dist/chunks/{instance-t9zs3egg.js → file-access-0v53mg2y.js} +4 -4
- package/dist/chunks/{instance-hc5mczam.js → file-access-0x7mekqw.js} +11 -11
- package/dist/chunks/{instance-166kng33.js → file-access-0xezjjjn.js} +8 -8
- package/dist/chunks/{instance-1k8jx657.js → file-access-11ayc5k1.js} +20 -20
- package/dist/chunks/{instance-q30pep78.js → file-access-17m608xa.js} +7 -7
- package/dist/chunks/{instance-m6jz8ftt.js → file-access-196s2236.js} +24 -24
- package/dist/chunks/{instance-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-r0abqdjp.js → file-access-1gfa7nhd.js} +30 -30
- package/dist/chunks/{instance-e27kb02c.js → file-access-1ktgcqzb.js} +12 -12
- package/dist/chunks/{instance-8a2d0vrn.js → file-access-1szx0rct.js} +9 -9
- package/dist/chunks/{instance-1ygqh575.js → file-access-1ygqh575.js} +2 -2
- package/dist/chunks/{instance-pgt88jjk.js → file-access-1z24zf3x.js} +28 -28
- package/dist/chunks/{instance-1t6wbe7x.js → file-access-204v3eqv.js} +27 -27
- package/dist/chunks/{instance-21r38tys.js → file-access-21r38tys.js} +1 -1
- package/dist/chunks/{instance-6h73sxmp.js → file-access-2402vzrj.js} +5 -5
- package/dist/chunks/file-access-24q6q5zm.js +247 -0
- package/dist/chunks/file-access-2775jj4e.js +38 -0
- package/dist/chunks/{instance-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-gdma6ywe.js → file-access-2d8e38yw.js} +11 -11
- package/dist/chunks/{instance-rp2adave.js → file-access-2jywpyj8.js} +25 -25
- package/dist/chunks/{instance-7zfa2ea9.js → file-access-2mzw0ev8.js} +47 -47
- package/dist/chunks/{instance-zq99cn5c.js → file-access-30ntgpz7.js} +20 -20
- package/dist/chunks/{instance-1t0has27.js → file-access-352n4qm2.js} +16 -16
- package/dist/chunks/{instance-591sw1be.js → file-access-3dz5wwbt.js} +10 -10
- package/dist/chunks/{instance-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-zctze4hd.js → file-access-3h8hw3gv.js} +13 -13
- package/dist/chunks/{instance-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-h2cg03xy.js → file-access-468d37b3.js} +11 -11
- package/dist/chunks/{instance-ekp7b106.js → file-access-490pvwh4.js} +28 -28
- package/dist/chunks/{instance-10fa3e52.js → file-access-4e8qeqw2.js} +8 -8
- package/dist/chunks/{instance-va5qff5x.js → file-access-4jv7e9dq.js} +9 -9
- package/dist/chunks/{instance-3pd62ywx.js → file-access-4tafv0me.js} +20 -20
- package/dist/chunks/file-access-4v7qdvcn.js +18 -0
- package/dist/chunks/{instance-cavr175a.js → file-access-50mzsvk4.js} +4 -4
- package/dist/chunks/{instance-nwsyn38z.js → file-access-55zx3jwd.js} +12 -12
- package/dist/chunks/{instance-8mfdap3f.js → file-access-56m60q16.js} +5 -5
- package/dist/chunks/{instance-2xp2qm03.js → file-access-5apets8e.js} +8 -8
- package/dist/chunks/{instance-w1k39n5e.js → file-access-5c0f1prt.js} +4 -4
- package/dist/chunks/{instance-5c4hm403.js → file-access-5c4hm403.js} +3 -3
- package/dist/chunks/{instance-m9p1yq74.js → file-access-5d6nmhah.js} +35 -35
- package/dist/chunks/{instance-5daktx2q.js → file-access-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-h9ychfp9.js → file-access-5dyw5czf.js} +89 -89
- package/dist/chunks/{instance-826zxp38.js → file-access-5jhep4w0.js} +23 -23
- package/dist/chunks/{instance-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-cbtkp588.js → file-access-64stfe7m.js} +18 -18
- package/dist/chunks/{instance-669tq793.js → file-access-669tq793.js} +1 -1
- package/dist/chunks/{instance-rytzcqhr.js → file-access-6d6cd74m.js} +11 -11
- package/dist/chunks/{instance-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-yedhv0xf.js → file-access-6n9rjysc.js} +5 -5
- package/dist/chunks/{instance-n4spxb2r.js → file-access-7374nn42.js} +19 -19
- package/dist/chunks/{instance-73tb2d7t.js → file-access-73tb2d7t.js} +1 -1
- package/dist/chunks/{instance-a29g3evn.js → file-access-76rf663v.js} +24 -24
- package/dist/chunks/{instance-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-dbtv91d9.js → file-access-7gahrvww.js} +18 -18
- package/dist/chunks/{instance-rs2ah2zv.js → file-access-7mqb335e.js} +6 -6
- package/dist/chunks/{instance-sfqj9787.js → file-access-7qz0vyfs.js} +31 -31
- package/dist/chunks/{instance-5j5czzka.js → file-access-7zm7jxc7.js} +4 -4
- package/dist/chunks/{instance-9tp3q7na.js → file-access-890y149a.js} +8 -8
- package/dist/chunks/{instance-2tfmgkzg.js → file-access-89smrnyf.js} +4 -4
- package/dist/chunks/{instance-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-1eqcc2r4.js → file-access-8dpx7m7d.js} +11 -11
- package/dist/chunks/{instance-0fywacwt.js → file-access-8nsc8gnz.js} +20 -20
- package/dist/chunks/{instance-4sfjpxr8.js → file-access-8v7kkkbw.js} +11 -11
- package/dist/chunks/{instance-b4d0cj93.js → file-access-8yk8gp0p.js} +11 -11
- package/dist/chunks/{instance-zhf0j6jc.js → file-access-912kkt9t.js} +9 -9
- package/dist/chunks/{instance-gh977vz6.js → file-access-92xny6nd.js} +3 -3
- package/dist/chunks/{instance-wx7dc4qf.js → file-access-9gfvx8yt.js} +16 -16
- package/dist/chunks/{instance-jspk0tfb.js → file-access-9k7ekhq9.js} +13 -13
- package/dist/chunks/{instance-jsnbhpsx.js → file-access-9ppknq4r.js} +8 -8
- package/dist/chunks/{instance-ajc1mtex.js → file-access-9t16ekdb.js} +25 -25
- package/dist/chunks/{instance-qn4ba14w.js → file-access-9zzv5pgc.js} +5 -5
- package/dist/chunks/{instance-jca4demv.js → file-access-a3r4dcrj.js} +2 -2
- package/dist/chunks/{instance-brcjnvtj.js → file-access-a5mt2rtc.js} +35 -35
- package/dist/chunks/{instance-060n3k4b.js → file-access-a8092cx4.js} +11 -11
- package/dist/chunks/{instance-aaet6srn.js → file-access-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-se85wd8t.js → file-access-afes4715.js} +2 -2
- package/dist/chunks/{instance-45p0jzx4.js → file-access-ah3b0qta.js} +17 -17
- package/dist/chunks/{instance-k1e326n0.js → file-access-aj5f68bw.js} +32 -32
- package/dist/chunks/{instance-4ab87pyq.js → file-access-amtb1fgb.js} +10 -10
- package/dist/chunks/{instance-50y4djx1.js → file-access-apqkkg64.js} +10 -10
- package/dist/chunks/{instance-b8vqh511.js → file-access-b2rkp7aa.js} +7 -7
- package/dist/chunks/{instance-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-fk458b25.js → file-access-bh51kybc.js} +31 -31
- package/dist/chunks/{instance-2e44a81e.js → file-access-btrn8rgp.js} +44 -44
- package/dist/chunks/{instance-a4cawk2k.js → file-access-bycqfhhp.js} +4 -4
- package/dist/chunks/file-access-c07j17hk.js +474 -0
- package/dist/chunks/{instance-gj9znxmq.js → file-access-c8vbwmvy.js} +22 -22
- package/dist/chunks/{instance-tamv006t.js → file-access-c9ecbdb0.js} +7 -7
- package/dist/chunks/{instance-me0e9dqt.js → file-access-ccz297mt.js} +13 -13
- package/dist/chunks/{instance-znys3077.js → file-access-ch5zdy2s.js} +26 -26
- package/dist/chunks/{instance-vkcne02r.js → file-access-cjwxcw7h.js} +21 -21
- package/dist/chunks/{instance-d70c784z.js → file-access-ck2q371s.js} +5 -5
- package/dist/chunks/{instance-cwa6csj7.js → file-access-cwa6csj7.js} +2 -2
- package/dist/chunks/{instance-rnp37mvy.js → file-access-cz6y612w.js} +11 -11
- package/dist/chunks/{instance-57ez7d0k.js → file-access-d9s573fh.js} +2 -2
- package/dist/chunks/{instance-jn4j4mps.js → file-access-da5p2m5f.js} +15 -15
- package/dist/chunks/{instance-y8d52agp.js → file-access-det33w69.js} +5 -5
- package/dist/chunks/{instance-zzqjbrck.js → file-access-dffmtpj7.js} +9 -9
- package/dist/chunks/{instance-5gwf3qqg.js → file-access-dhxdeg25.js} +54 -54
- package/dist/chunks/{instance-dj2t23y0.js → file-access-dj2t23y0.js} +2 -2
- package/dist/chunks/{instance-rjk5vpvj.js → file-access-dr6h9h98.js} +34 -34
- package/dist/chunks/{instance-n0fbtq6v.js → file-access-dxzm7sqd.js} +3 -3
- package/dist/chunks/{instance-0wjwrw3b.js → file-access-e2609ak5.js} +5 -5
- package/dist/chunks/{instance-bndc73cn.js → file-access-e5nv3ght.js} +5 -5
- package/dist/chunks/{instance-qnj71chz.js → file-access-e5vq6wef.js} +4 -4
- package/dist/chunks/{instance-cjbnhaqt.js → file-access-e7vjkpcb.js} +2 -2
- package/dist/chunks/{instance-b0dsxdfz.js → file-access-ebw7vtp3.js} +35 -35
- package/dist/chunks/{instance-xk4erxsh.js → file-access-eezbyd6d.js} +1 -1
- package/dist/chunks/{instance-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-vkmphgce.js → file-access-efzqyggw.js} +17 -17
- package/dist/chunks/{instance-fsdm0q9r.js → file-access-etbqe1sp.js} +4 -4
- package/dist/chunks/{instance-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-7rsqaav9.js → file-access-ewvjyc2d.js} +8 -8
- package/dist/chunks/{instance-f41jkpkc.js → file-access-f55hhvzh.js} +4 -4
- package/dist/chunks/{instance-607tc6va.js → file-access-fcrkznn8.js} +5 -5
- package/dist/chunks/{instance-prq7hedt.js → file-access-fdms3n6w.js} +9 -9
- package/dist/chunks/{instance-wjgvwtf6.js → file-access-ffzfw6dq.js} +51 -51
- package/dist/chunks/{instance-7qpx0bap.js → file-access-fhj2ec39.js} +15 -15
- package/dist/chunks/{instance-tjecj44d.js → file-access-fstwsg2e.js} +34 -34
- package/dist/chunks/{instance-fxbjtjnd.js → file-access-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-batre1x2.js → file-access-gg8wv5as.js} +32 -32
- package/dist/chunks/{instance-qr8csav2.js → file-access-gqchpbtd.js} +5 -5
- package/dist/chunks/{instance-1kzp128k.js → file-access-grw98w6v.js} +23 -23
- package/dist/chunks/{instance-3a4rpbmf.js → file-access-gy9mz9hm.js} +28 -28
- package/dist/chunks/{instance-h03wrkyp.js → file-access-h03wrkyp.js} +2 -2
- package/dist/chunks/{instance-44h5tttr.js → file-access-h6r3nrb9.js} +4 -4
- package/dist/chunks/{instance-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-ppgwn4z2.js → file-access-h7923tt2.js} +14 -14
- package/dist/chunks/{instance-6bv93mef.js → file-access-h8ptc2jy.js} +23 -23
- package/dist/chunks/{instance-hdnk95c8.js → file-access-hdnk95c8.js} +2 -2
- package/dist/chunks/{instance-cr07tj7n.js → file-access-hfvc964k.js} +5 -5
- package/dist/chunks/{instance-34x92rrh.js → file-access-hfx69nqz.js} +28 -28
- package/dist/chunks/{instance-q3fk6by4.js → file-access-hg3nex49.js} +8 -8
- package/dist/chunks/{instance-nhy5jxhy.js → file-access-hjt4xg1x.js} +4 -4
- package/dist/chunks/{instance-7xdy6aq6.js → file-access-hmfh1rh8.js} +12 -12
- package/dist/chunks/{instance-2jkak000.js → file-access-hpv156nq.js} +4 -4
- package/dist/chunks/{instance-8d1hsamf.js → file-access-hv8qssb6.js} +16 -16
- package/dist/chunks/{instance-r0exz0qe.js → file-access-j4gdw6gw.js} +15 -15
- package/dist/chunks/{instance-j56e64zr.js → file-access-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-hmwx618s.js → file-access-j933w6sb.js} +18 -18
- package/dist/chunks/{instance-rgrj77kt.js → file-access-jcas26n6.js} +11 -11
- package/dist/chunks/{instance-nzq2sb5d.js → file-access-jdfjhp2e.js} +10 -10
- package/dist/chunks/{instance-q3t37ft6.js → file-access-jexxy024.js} +3 -3
- package/dist/chunks/{instance-bazdk738.js → file-access-jkpvc1gj.js} +25 -25
- package/dist/chunks/{instance-s5n44cg2.js → file-access-jsbpgh5s.js} +24 -24
- package/dist/chunks/{instance-2788qbgk.js → file-access-jy3pp1pb.js} +5 -5
- package/dist/chunks/{instance-64c9dvf5.js → file-access-k701emjf.js} +9 -9
- package/dist/chunks/{instance-m9be2bq5.js → file-access-kd6d57r1.js} +91 -91
- package/dist/chunks/{instance-sce9syps.js → file-access-kmkxeyh5.js} +14 -14
- package/dist/chunks/{instance-k83ztrvj.js → file-access-kq1t1162.js} +10 -10
- package/dist/chunks/{instance-01resvac.js → file-access-ks3vd1j0.js} +12 -12
- package/dist/chunks/{instance-kdycfykr.js → file-access-ky68ekyp.js} +9 -9
- package/dist/chunks/{instance-m0jqrx5p.js → file-access-m0jqrx5p.js} +2 -2
- package/dist/chunks/{instance-79dzr1xc.js → file-access-m17nagwc.js} +3 -3
- package/dist/chunks/{instance-tjxw1jwx.js → file-access-m6ay5emd.js} +23 -23
- package/dist/chunks/{instance-d5kkxyxh.js → file-access-m7qxvmyy.js} +22 -22
- package/dist/chunks/{instance-g6091hfp.js → file-access-m8y6a9gt.js} +43 -43
- package/dist/chunks/{instance-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/file-access-mqjrdake.js +26 -0
- package/dist/chunks/{instance-547kdna5.js → file-access-mrhssej4.js} +52 -52
- package/dist/chunks/{instance-06x8he3q.js → file-access-n4r3xatb.js} +4 -4
- package/dist/chunks/{instance-a1hbzj6r.js → file-access-nbygjmnq.js} +26 -26
- package/dist/chunks/{instance-wm918938.js → file-access-nmn5p8yd.js} +19 -19
- package/dist/chunks/{instance-mss6a1by.js → file-access-npmmx7a7.js} +6 -6
- package/dist/chunks/{instance-p37cw4rj.js → file-access-p37cw4rj.js} +1 -1
- package/dist/chunks/{instance-w58dk7dj.js → file-access-p459fsr1.js} +40 -40
- package/dist/chunks/{instance-qg0jgkcp.js → file-access-p630c9xd.js} +9 -9
- package/dist/chunks/{instance-m8s3m11q.js → file-access-paghhsgz.js} +5 -5
- package/dist/chunks/{instance-1xhfh7e4.js → file-access-pcd7pbnd.js} +24 -24
- package/dist/chunks/{instance-vwkfat5k.js → file-access-pf4e8y03.js} +19 -19
- package/dist/chunks/{instance-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → file-access-pknna89w.js} +1 -1
- package/dist/chunks/{instance-8w4zhkbb.js → file-access-q0r2d8rn.js} +33 -33
- package/dist/chunks/{instance-zpe7sjqb.js → file-access-q2cy2y1a.js} +19 -19
- package/dist/chunks/{instance-9mqbwkms.js → file-access-q54epvg6.js} +11 -11
- package/dist/chunks/{instance-x0e6qwje.js → file-access-q5rhn9x0.js} +14 -14
- package/dist/chunks/file-access-qapv375x.js +4 -0
- package/dist/chunks/{instance-f4pygz2m.js → file-access-qehrwxjr.js} +35 -35
- package/dist/chunks/{instance-7je22f3n.js → file-access-qf53spd6.js} +24 -24
- package/dist/chunks/{instance-shwjhbw0.js → file-access-qrkqsxkr.js} +28 -28
- package/dist/chunks/{instance-qsdy395h.js → file-access-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-tdhxtg1m.js → file-access-r88mwysp.js} +41 -41
- package/dist/chunks/{instance-qvwkzgc7.js → file-access-r8t2xrpw.js} +18 -18
- package/dist/chunks/{instance-f2n192rq.js → file-access-r8xr0va3.js} +4 -4
- package/dist/chunks/{instance-r9mregkx.js → file-access-r9mregkx.js} +2 -2
- package/dist/chunks/{instance-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-vg6yw68f.js → file-access-rhr5fvwd.js} +11 -11
- package/dist/chunks/{instance-zeh9ct20.js → file-access-rq775frq.js} +2 -2
- package/dist/chunks/{instance-136jc1vm.js → file-access-rvh2fpxc.js} +4 -4
- package/dist/chunks/{instance-c6qj01m3.js → file-access-rw2xgg53.js} +17 -17
- package/dist/chunks/{instance-drknsq25.js → file-access-rytnjs8b.js} +16 -16
- package/dist/chunks/{instance-zeqsgxkv.js → file-access-rzbfacg9.js} +25 -25
- package/dist/chunks/{instance-qsp410xn.js → file-access-s0bax34n.js} +14 -14
- package/dist/chunks/{instance-31h715ad.js → file-access-s3ze4hah.js} +10 -10
- package/dist/chunks/{instance-6m3q7fwc.js → file-access-s52y66be.js} +18 -18
- package/dist/chunks/{instance-5szjmme7.js → file-access-s5trtwgj.js} +6 -6
- package/dist/chunks/{instance-72zhhj9f.js → file-access-s8cf5yxm.js} +7 -7
- package/dist/chunks/{instance-eaj1djv9.js → file-access-s8d7rejh.js} +6 -6
- package/dist/chunks/{instance-emdm4z9q.js → file-access-sa8j3x6g.js} +28 -28
- package/dist/chunks/{instance-mqzwkyay.js → file-access-sf0yp864.js} +6 -6
- package/dist/chunks/{instance-4nk1df0c.js → file-access-sfe15w4t.js} +20 -20
- package/dist/chunks/{instance-ahd542yp.js → file-access-sm965ndy.js} +8 -8
- package/dist/chunks/{instance-930t5myr.js → file-access-sn3rxfgj.js} +8 -8
- package/dist/chunks/{instance-sjc7g5xk.js → file-access-ss56yrvr.js} +33 -33
- package/dist/chunks/{instance-t2nqxb18.js → file-access-ssdhg7mn.js} +3 -3
- package/dist/chunks/{instance-nwnbg8h3.js → file-access-szrf2gp8.js} +32 -32
- package/dist/chunks/{instance-a0bsfx31.js → file-access-t192nm8m.js} +3 -3
- package/dist/chunks/{instance-2zcqxvvk.js → file-access-t271ntmg.js} +63 -63
- package/dist/chunks/{instance-2es559j3.js → file-access-t5dv71qx.js} +15 -15
- package/dist/chunks/{instance-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-xba2e3x3.js → file-access-tcrhe9m8.js} +25 -25
- package/dist/chunks/{instance-tdstcens.js → file-access-tdstcens.js} +1 -1
- package/dist/chunks/{instance-t38qb0bq.js → file-access-tkfbqfej.js} +26 -26
- package/dist/chunks/{instance-tvtrv512.js → file-access-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-p1zpfjkz.js → file-access-v24739yc.js} +12 -12
- package/dist/chunks/{instance-3a4nqtk2.js → file-access-v2rf49aq.js} +9 -9
- package/dist/chunks/{instance-edrmdtr5.js → file-access-v5dkyp31.js} +7 -7
- package/dist/chunks/{instance-wx1e50n0.js → file-access-v6ede5y2.js} +36 -32
- package/dist/chunks/{instance-8k35hfbq.js → file-access-v812h1xz.js} +12 -12
- package/dist/chunks/{instance-0c9v4ga2.js → file-access-vbctgszn.js} +51 -51
- package/dist/chunks/{instance-zyghnjwz.js → file-access-vbmj93bj.js} +4 -4
- package/dist/chunks/{instance-veqvce7d.js → file-access-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-avtmk6qy.js → file-access-vgxg80g2.js} +10 -10
- package/dist/chunks/{instance-88xt946r.js → file-access-vh7dp00t.js} +1 -1
- package/dist/chunks/{instance-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-c3cxj0mp.js → file-access-w1wd9tp2.js} +18 -18
- package/dist/chunks/{instance-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-4zffjand.js → file-access-wa065q7p.js} +6 -6
- package/dist/chunks/{instance-xb6x0k58.js → file-access-wajqf0bb.js} +33 -33
- package/dist/chunks/{instance-bzf9dkn3.js → file-access-waqrje5a.js} +35 -35
- package/dist/chunks/{instance-wd87259q.js → file-access-wd87259q.js} +1 -1
- package/dist/chunks/{instance-3k2cch0y.js → file-access-wjcn38ba.js} +5 -5
- package/dist/chunks/{instance-s07zbgvs.js → file-access-www2df0c.js} +23 -23
- package/dist/chunks/{instance-7z7az0f5.js → file-access-x0511brf.js} +4 -4
- package/dist/chunks/{instance-zt10qcst.js → file-access-x0wxay44.js} +5 -5
- package/dist/chunks/{instance-sf48htw8.js → file-access-x182m7xa.js} +10 -10
- package/dist/chunks/{instance-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-fvy7gd03.js → file-access-x2nqcre9.js} +8 -8
- package/dist/chunks/{instance-8g00as8d.js → file-access-xahw4cd4.js} +30 -30
- package/dist/chunks/{instance-pdk1kvfv.js → file-access-xc8sh4yv.js} +22 -22
- package/dist/chunks/{instance-patgj9rf.js → file-access-xdrba4jw.js} +9 -9
- package/dist/chunks/{instance-e8340df8.js → file-access-xe94yqgp.js} +6 -6
- package/dist/chunks/{instance-8b9qbt65.js → file-access-xf0yen68.js} +12 -12
- package/dist/chunks/{instance-bq2qc0vd.js → file-access-xg631j7a.js} +5 -5
- package/dist/chunks/{instance-n2zyzsnn.js → file-access-xh45r5pf.js} +17 -17
- package/dist/chunks/{instance-z3hcy28f.js → file-access-xmvk7qad.js} +44 -44
- package/dist/chunks/{instance-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-4b53h51m.js → file-access-y2m441pc.js} +9 -9
- package/dist/chunks/{instance-dpkg50ah.js → file-access-y71avatq.js} +4 -4
- package/dist/chunks/{instance-gmjjhz4f.js → file-access-ybhbtxjg.js} +3 -3
- package/dist/chunks/{instance-sxzvkvgj.js → file-access-ycjb11n5.js} +6 -6
- package/dist/chunks/{instance-wva0sqbv.js → file-access-yd4pvbh8.js} +5 -5
- package/dist/chunks/{instance-zza7x726.js → file-access-ygk8sne3.js} +22 -22
- package/dist/chunks/{instance-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-yrznvahk.js → file-access-yrznvahk.js} +2 -2
- package/dist/chunks/{instance-qf2kcv6a.js → file-access-ytgdyx08.js} +14 -14
- package/dist/chunks/{instance-gv6a8nnw.js → file-access-yyb7tjpc.js} +2 -2
- package/dist/chunks/{instance-qvac3vtv.js → file-access-yzcxy4rp.js} +42 -42
- package/dist/chunks/{instance-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-dsg935wy.js → file-access-z4zzqkyn.js} +32 -32
- package/dist/chunks/{instance-z63w68vq.js → file-access-z63w68vq.js} +2 -2
- package/dist/chunks/{instance-wpt3ebeb.js → file-access-zc4efzed.js} +15 -15
- package/dist/chunks/{instance-sps8zhtw.js → file-access-zd6ydzqz.js} +22 -22
- package/dist/chunks/{instance-4jc5c4h4.js → file-access-zhq6vg7a.js} +1 -1
- package/dist/chunks/{instance-kzdcqyn1.js → file-access-zk8c4w5t.js} +5 -5
- package/dist/chunks/{instance-pbzhrq4h.js → file-access-zqfhgf5b.js} +171 -171
- package/dist/chunks/{instance-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-8jwyw7nm.js → file-access-zs4gxp06.js} +17 -17
- package/dist/chunks/{instance-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -357
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +93 -93
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- 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 +90 -90
- 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 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +351 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- 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 +101 -101
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +326 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +94 -0
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- 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 +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- 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 +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- 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 +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- 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 +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/model.d.ts +3 -0
- package/dist/types/plugin/provider/prompt-cache-key.d.ts +1 -0
- package/dist/types/v1/config/migrate.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- 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 +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/instance-04kk8vm7.js +0 -247
- package/dist/chunks/instance-0mesazry.js +0 -4
- package/dist/chunks/instance-fx692e39.js +0 -26
- package/dist/chunks/instance-tznm8gnf.js +0 -474
- package/dist/chunks/instance-vnkjks7b.js +0 -18
- /package/dist/chunks/{instance-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → file-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → file-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → file-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → file-access-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → file-access-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → file-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → file-access-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → file-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → file-access-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → file-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → file-access-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → file-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → file-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → file-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → file-access-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → file-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → file-access-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → file-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → file-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → file-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → file-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → file-access-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → file-access-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → file-access-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → file-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → file-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → file-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → file-access-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → file-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → file-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → file-access-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → file-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → file-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → file-access-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → file-access-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-access-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./file-access-ytgdyx08.js";
|
|
9
9
|
import {
|
|
10
10
|
Service15,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node18
|
|
12
|
+
} from "./file-access-h8ptc2jy.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-access-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,18 +21,18 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event3,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
|
-
NotFoundError: () =>
|
|
31
|
+
NotFoundError: () => NotFoundError3,
|
|
32
32
|
ReadInput: () => ReadInput2,
|
|
33
33
|
Service: () => Service14,
|
|
34
34
|
Submatch: () => Submatch2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node17
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import path from "path";
|
|
@@ -44,7 +44,7 @@ var ReadInput2 = Schema.Struct({
|
|
|
44
44
|
path: RelativePath2
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
48
48
|
path: RelativePath2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
@@ -78,13 +78,13 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
78
78
|
limit: Schema.optionalKey(PositiveInt2)
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
|
-
var
|
|
81
|
+
var Event3 = FileSystem.Event;
|
|
82
82
|
|
|
83
83
|
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
84
84
|
}
|
|
85
85
|
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
86
86
|
const fs = yield* FSUtil.Service;
|
|
87
|
-
const location = yield*
|
|
87
|
+
const location = yield* Service78;
|
|
88
88
|
const search = yield* Service15;
|
|
89
89
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
90
90
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
@@ -99,12 +99,12 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
99
99
|
return Service14.of({
|
|
100
100
|
find: search.find,
|
|
101
101
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
102
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
103
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
102
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
103
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
104
104
|
if (info.type !== "File")
|
|
105
105
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
106
106
|
return {
|
|
107
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
107
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
|
|
108
108
|
mime: FSUtil.mimeType(target.real)
|
|
109
109
|
};
|
|
110
110
|
}),
|
|
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
131
|
+
var node17 = makeLocationNode({
|
|
132
132
|
service: Service14,
|
|
133
133
|
layer: baseLayer,
|
|
134
|
-
deps: [FSUtil.node,
|
|
134
|
+
deps: [FSUtil.node, node82, node18]
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
-
export { FindInput2, ReadInput2,
|
|
137
|
+
export { FindInput2, ReadInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service14, node17, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./file-access-ytgdyx08.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service56
|
|
12
|
+
} from "./file-access-qf53spd6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service21
|
|
15
|
+
} from "./file-access-64stfe7m.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-access-pf4e8y03.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service66
|
|
24
|
+
} from "./file-access-mrhssej4.js";
|
|
25
25
|
import {
|
|
26
26
|
Service53
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-access-h7923tt2.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-access-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input2,
|
|
37
|
+
Output: () => Output2,
|
|
38
|
+
Plugin: () => Plugin16,
|
|
39
|
+
name: () => name2,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name2 = "glob";
|
|
46
|
+
var Input2 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output2 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin16 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
69
|
+
const environment = yield* Service56;
|
|
70
|
+
const ripgrep = yield* Service21;
|
|
71
|
+
const location = yield* Service78;
|
|
72
72
|
const access = yield* Service53;
|
|
73
|
-
const permission = yield*
|
|
73
|
+
const permission = yield* Service66;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name2,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input2,
|
|
79
|
+
output: Output2,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name2,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin23 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name2, Input2, Output2, toModelContent2, Plugin16, exports_glob };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./file-access-9gfvx8yt.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event19
|
|
7
|
+
} from "./file-access-qehrwxjr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-access-z4zzqkyn.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-access-ebw7vtp3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID4,
|
|
19
|
+
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-access-9t16ekdb.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID4
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID14.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service81;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
providers.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID14.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
sourceConnection: snapshot.connection
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
const item = providers.get(
|
|
198
|
+
const item = providers.get(ID13.opencode);
|
|
199
199
|
if (!item)
|
|
200
200
|
return;
|
|
201
201
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
209
|
yield* ctx.model.transform((models) => {
|
|
210
|
-
const item = models.provider.get(
|
|
210
|
+
const item = models.provider.get(ID13.opencode);
|
|
211
211
|
if (!item)
|
|
212
212
|
return;
|
|
213
213
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
|
|
|
241
241
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
242
242
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
243
243
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
244
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
244
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
245
245
|
query: input.query,
|
|
246
246
|
providerID: descriptor.providerID
|
|
247
247
|
}));
|
|
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
|
|
|
262
262
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
263
263
|
});
|
|
264
264
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
265
|
-
yield* bus.subscribe(
|
|
265
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
267
267
|
})
|
|
268
268
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID6,
|
|
6
|
+
Service44
|
|
7
|
+
} from "./file-access-gg8wv5as.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-jexxy024.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-access-ybhbtxjg.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-access-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-access-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service44;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID6.make(from),
|
|
91
|
+
to: ID6.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-access-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-access-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
+
make: () => make14,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -45,7 +45,7 @@ function render2(catalog) {
|
|
|
45
45
|
${tools.join(`
|
|
46
46
|
`)}`;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function update3(previous, current) {
|
|
49
49
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
50
50
|
|
|
51
51
|
${render2(current)}`;
|
|
@@ -111,9 +111,9 @@ ${render2(current)}`;
|
|
|
111
111
|
return delta;
|
|
112
112
|
return replacement;
|
|
113
113
|
}
|
|
114
|
-
var key =
|
|
114
|
+
var key = Key3.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make14 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
118
|
return make21({
|
|
119
119
|
key,
|
|
@@ -121,10 +121,10 @@ var make13 = (inventory) => {
|
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
122
122
|
render: {
|
|
123
123
|
initial: render2,
|
|
124
|
-
changed:
|
|
124
|
+
changed: update3,
|
|
125
125
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export { render2,
|
|
130
|
+
export { render2, update3, make14, exports_instructions3 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-access-6d6cd74m.js";
|
|
1
5
|
import {
|
|
2
6
|
Service81,
|
|
3
7
|
node85
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service80,
|
|
7
|
-
node84
|
|
8
|
-
} from "./instance-wx7dc4qf.js";
|
|
8
|
+
} from "./file-access-9gfvx8yt.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-access-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-access-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-access-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service76,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node80
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service76 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service82).db;
|
|
55
|
+
const bus = yield* Service81;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service76.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info30({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node86, node85] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service76, node80, exports_credential };
|