@opencode/core 0.0.0-dev-19636 → 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 +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{filesystem-wgwsgwdw.js → file-access-0addxkp5.js} +23 -23
- package/dist/chunks/{filesystem-rp8jz6x1.js → file-access-0ft9cg2j.js} +4 -4
- package/dist/chunks/{filesystem-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
- package/dist/chunks/{filesystem-4xzs0z00.js → file-access-0r581tt5.js} +6 -6
- package/dist/chunks/{filesystem-bct739vz.js → file-access-0v53mg2y.js} +4 -4
- package/dist/chunks/{filesystem-5h05hjvz.js → file-access-0x7mekqw.js} +11 -11
- package/dist/chunks/{filesystem-fqtvmpfq.js → file-access-0xezjjjn.js} +8 -8
- package/dist/chunks/{filesystem-294fw6fk.js → file-access-11ayc5k1.js} +16 -16
- package/dist/chunks/{filesystem-w7ar50ta.js → file-access-17m608xa.js} +7 -7
- package/dist/chunks/{filesystem-rba8598g.js → file-access-196s2236.js} +24 -24
- package/dist/chunks/{filesystem-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-2a7p2dsd.js → file-access-1gfa7nhd.js} +29 -29
- package/dist/chunks/{filesystem-628568aw.js → file-access-1ktgcqzb.js} +12 -12
- package/dist/chunks/{filesystem-bwza20cw.js → file-access-1szx0rct.js} +13 -13
- package/dist/chunks/{filesystem-33w4ejhs.js → file-access-1ygqh575.js} +6 -6
- package/dist/chunks/{filesystem-2begppk9.js → file-access-1z24zf3x.js} +32 -32
- package/dist/chunks/{filesystem-1nr6pf8e.js → file-access-204v3eqv.js} +27 -27
- package/dist/chunks/{filesystem-21r38tys.js → file-access-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-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/{filesystem-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-f3w2w69r.js → file-access-2d8e38yw.js} +11 -11
- package/dist/chunks/{filesystem-v1e70071.js → file-access-2jywpyj8.js} +27 -27
- package/dist/chunks/{filesystem-36sxhdsk.js → file-access-2mzw0ev8.js} +47 -47
- package/dist/chunks/{filesystem-3fqm51rm.js → file-access-30ntgpz7.js} +23 -23
- package/dist/chunks/{filesystem-5dgzn4tn.js → file-access-352n4qm2.js} +16 -16
- package/dist/chunks/{filesystem-xkhxx58a.js → file-access-3dz5wwbt.js} +10 -10
- package/dist/chunks/{filesystem-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-0e31t5vv.js → file-access-3h8hw3gv.js} +13 -13
- package/dist/chunks/{filesystem-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-j4450fcx.js → file-access-468d37b3.js} +11 -11
- package/dist/chunks/{filesystem-xdww2rec.js → file-access-490pvwh4.js} +26 -26
- package/dist/chunks/{filesystem-hdthj1pw.js → file-access-4e8qeqw2.js} +8 -8
- package/dist/chunks/{filesystem-4541pte3.js → file-access-4jv7e9dq.js} +9 -9
- package/dist/chunks/{filesystem-zs77z4r0.js → file-access-4tafv0me.js} +23 -23
- package/dist/chunks/file-access-4v7qdvcn.js +18 -0
- package/dist/chunks/{filesystem-f3ngv102.js → file-access-50mzsvk4.js} +4 -4
- package/dist/chunks/{filesystem-ahzc4xqv.js → file-access-55zx3jwd.js} +15 -15
- package/dist/chunks/{filesystem-6hcnmam1.js → file-access-56m60q16.js} +5 -5
- package/dist/chunks/{filesystem-2fjrq4z2.js → file-access-5apets8e.js} +8 -8
- package/dist/chunks/{filesystem-paegk39x.js → file-access-5c0f1prt.js} +4 -4
- package/dist/chunks/{filesystem-5c4hm403.js → file-access-5c4hm403.js} +3 -3
- package/dist/chunks/{filesystem-xvcyhft3.js → file-access-5d6nmhah.js} +31 -31
- package/dist/chunks/{filesystem-5daktx2q.js → file-access-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-tjfjg9xy.js → file-access-5dyw5czf.js} +88 -88
- package/dist/chunks/{filesystem-jzw9fxht.js → file-access-5jhep4w0.js} +28 -28
- package/dist/chunks/{filesystem-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-w2pmhvrv.js → file-access-64stfe7m.js} +18 -18
- package/dist/chunks/{filesystem-669tq793.js → file-access-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-ysstqnzc.js → file-access-6d6cd74m.js} +3 -3
- package/dist/chunks/{filesystem-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-4ne2b2yw.js → file-access-6n9rjysc.js} +3 -3
- package/dist/chunks/{filesystem-jbpnby0z.js → file-access-7374nn42.js} +17 -17
- package/dist/chunks/{filesystem-1bbkgx8g.js → file-access-73tb2d7t.js} +3 -3
- package/dist/chunks/{filesystem-e5epjp6e.js → file-access-76rf663v.js} +21 -21
- package/dist/chunks/{filesystem-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-g0avntpg.js → file-access-7gahrvww.js} +12 -12
- package/dist/chunks/{filesystem-fq9618wy.js → file-access-7mqb335e.js} +6 -6
- package/dist/chunks/{filesystem-1bdj34ne.js → file-access-7qz0vyfs.js} +27 -27
- package/dist/chunks/{filesystem-reyjqdga.js → file-access-7zm7jxc7.js} +4 -4
- package/dist/chunks/{filesystem-e52vsy5d.js → file-access-890y149a.js} +8 -8
- package/dist/chunks/{filesystem-2tfmgkzg.js → file-access-89smrnyf.js} +4 -4
- package/dist/chunks/{filesystem-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-8393f43m.js → file-access-8dpx7m7d.js} +11 -11
- package/dist/chunks/{filesystem-1h3h6ne9.js → file-access-8nsc8gnz.js} +17 -17
- package/dist/chunks/{filesystem-d79nh3qx.js → file-access-8v7kkkbw.js} +11 -11
- package/dist/chunks/{filesystem-82qkcyg7.js → file-access-8yk8gp0p.js} +11 -11
- package/dist/chunks/{filesystem-cackw8yz.js → file-access-912kkt9t.js} +9 -9
- package/dist/chunks/{filesystem-kcnfxn04.js → file-access-92xny6nd.js} +3 -3
- package/dist/chunks/{filesystem-sdkze8v1.js → file-access-9gfvx8yt.js} +4 -4
- package/dist/chunks/{filesystem-c3st1rh6.js → file-access-9k7ekhq9.js} +13 -13
- package/dist/chunks/{filesystem-ze5y8rs0.js → file-access-9ppknq4r.js} +8 -8
- package/dist/chunks/{filesystem-hngmebnz.js → file-access-9t16ekdb.js} +25 -25
- package/dist/chunks/{filesystem-yjptyezs.js → file-access-9zzv5pgc.js} +5 -5
- package/dist/chunks/{filesystem-jca4demv.js → file-access-a3r4dcrj.js} +2 -2
- package/dist/chunks/{filesystem-aar5tqjz.js → file-access-a5mt2rtc.js} +34 -34
- package/dist/chunks/{filesystem-rjq70d1v.js → file-access-a8092cx4.js} +14 -14
- package/dist/chunks/{filesystem-aaet6srn.js → file-access-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-k191nb18.js → file-access-afes4715.js} +2 -2
- package/dist/chunks/{filesystem-zgy1cjmt.js → file-access-ah3b0qta.js} +15 -15
- package/dist/chunks/{filesystem-8r7v4pv1.js → file-access-aj5f68bw.js} +26 -26
- package/dist/chunks/{filesystem-cmzp0t9y.js → file-access-amtb1fgb.js} +11 -11
- package/dist/chunks/{filesystem-b6pmepta.js → file-access-apqkkg64.js} +10 -10
- package/dist/chunks/{filesystem-nc3pr63t.js → file-access-b2rkp7aa.js} +10 -10
- package/dist/chunks/{filesystem-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-sd0hh66t.js → file-access-bh51kybc.js} +28 -28
- package/dist/chunks/{filesystem-w60r9xev.js → file-access-btrn8rgp.js} +44 -44
- package/dist/chunks/{filesystem-s70r0d8a.js → file-access-bycqfhhp.js} +4 -4
- package/dist/chunks/file-access-c07j17hk.js +474 -0
- package/dist/chunks/{filesystem-p1cpmwyf.js → file-access-c8vbwmvy.js} +22 -22
- package/dist/chunks/{filesystem-d7124rbf.js → file-access-c9ecbdb0.js} +10 -10
- package/dist/chunks/{filesystem-gma20p0b.js → file-access-ccz297mt.js} +13 -13
- package/dist/chunks/{filesystem-wfjzk575.js → file-access-ch5zdy2s.js} +41 -41
- package/dist/chunks/{filesystem-rttadtrv.js → file-access-cjwxcw7h.js} +21 -21
- package/dist/chunks/{filesystem-tk8b1eqd.js → file-access-ck2q371s.js} +5 -5
- package/dist/chunks/{filesystem-gjwgx2c5.js → file-access-cwa6csj7.js} +9 -9
- package/dist/chunks/{filesystem-eshk1mrn.js → file-access-cz6y612w.js} +11 -11
- package/dist/chunks/{filesystem-2fgn2we9.js → file-access-d9s573fh.js} +9 -9
- package/dist/chunks/{filesystem-6f67xk9m.js → file-access-da5p2m5f.js} +13 -13
- package/dist/chunks/{filesystem-egza69qx.js → file-access-det33w69.js} +5 -5
- package/dist/chunks/{filesystem-mpkxj448.js → file-access-dffmtpj7.js} +9 -9
- package/dist/chunks/{filesystem-msqsbnvg.js → file-access-dhxdeg25.js} +52 -52
- package/dist/chunks/{filesystem-dj2t23y0.js → file-access-dj2t23y0.js} +2 -2
- package/dist/chunks/{filesystem-122hfxms.js → file-access-dr6h9h98.js} +28 -28
- package/dist/chunks/{filesystem-cnrkenzz.js → file-access-dxzm7sqd.js} +3 -3
- package/dist/chunks/{filesystem-gw2kccs8.js → file-access-e2609ak5.js} +5 -5
- package/dist/chunks/{filesystem-e5nv3ght.js → file-access-e5nv3ght.js} +2 -2
- package/dist/chunks/{filesystem-8bcx3nez.js → file-access-e5vq6wef.js} +4 -4
- package/dist/chunks/{filesystem-yjx4qmbw.js → file-access-e7vjkpcb.js} +8 -8
- package/dist/chunks/{filesystem-1rxs6y3d.js → file-access-ebw7vtp3.js} +32 -32
- package/dist/chunks/{filesystem-sjbhawkw.js → file-access-eezbyd6d.js} +1 -1
- package/dist/chunks/{filesystem-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-474v7c4x.js → file-access-efzqyggw.js} +14 -14
- package/dist/chunks/{filesystem-jfsctkpn.js → file-access-etbqe1sp.js} +6 -6
- package/dist/chunks/{filesystem-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-2zyp5ek9.js → file-access-ewvjyc2d.js} +8 -8
- package/dist/chunks/{filesystem-48egeg7n.js → file-access-f55hhvzh.js} +4 -4
- package/dist/chunks/{filesystem-0jwsre1p.js → file-access-fcrkznn8.js} +5 -5
- package/dist/chunks/{filesystem-6hjx5zpb.js → file-access-fdms3n6w.js} +9 -9
- package/dist/chunks/{filesystem-r2pbn9ew.js → file-access-ffzfw6dq.js} +47 -47
- package/dist/chunks/{filesystem-d4xtzqw3.js → file-access-fhj2ec39.js} +17 -17
- package/dist/chunks/{filesystem-p0r075tw.js → file-access-fstwsg2e.js} +39 -39
- package/dist/chunks/{filesystem-fxbjtjnd.js → file-access-fxbjtjnd.js} +1 -1
- package/dist/chunks/{filesystem-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-11eespba.js → file-access-gg8wv5as.js} +33 -33
- package/dist/chunks/{filesystem-3w0fmcng.js → file-access-gqchpbtd.js} +5 -5
- package/dist/chunks/{filesystem-dc8590hs.js → file-access-grw98w6v.js} +26 -26
- package/dist/chunks/{filesystem-3dgjdry5.js → file-access-gy9mz9hm.js} +32 -32
- package/dist/chunks/{filesystem-h03wrkyp.js → file-access-h03wrkyp.js} +2 -2
- package/dist/chunks/{filesystem-cpj0znwe.js → file-access-h6r3nrb9.js} +4 -4
- package/dist/chunks/{filesystem-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-pzcfktq3.js → file-access-h7923tt2.js} +18 -18
- package/dist/chunks/{filesystem-s3v9fbv9.js → file-access-h8ptc2jy.js} +32 -32
- package/dist/chunks/{filesystem-hdnk95c8.js → file-access-hdnk95c8.js} +2 -2
- package/dist/chunks/{filesystem-yt0fqk68.js → file-access-hfvc964k.js} +5 -5
- package/dist/chunks/{filesystem-r397h8mg.js → file-access-hfx69nqz.js} +24 -24
- package/dist/chunks/{filesystem-9ngxpv4m.js → file-access-hg3nex49.js} +8 -8
- package/dist/chunks/{filesystem-nhy5jxhy.js → file-access-hjt4xg1x.js} +4 -4
- package/dist/chunks/{filesystem-cwfnw5hm.js → file-access-hmfh1rh8.js} +2 -2
- package/dist/chunks/{filesystem-dg2gp1rn.js → file-access-hpv156nq.js} +4 -4
- package/dist/chunks/{filesystem-084qjam6.js → file-access-hv8qssb6.js} +16 -16
- package/dist/chunks/{filesystem-yx9n7fpe.js → file-access-j4gdw6gw.js} +17 -17
- package/dist/chunks/{filesystem-j56e64zr.js → file-access-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-yvpfa4rd.js → file-access-j933w6sb.js} +15 -15
- package/dist/chunks/{filesystem-bxf23pqh.js → file-access-jcas26n6.js} +11 -11
- package/dist/chunks/{filesystem-0dfh98b5.js → file-access-jdfjhp2e.js} +10 -10
- package/dist/chunks/{filesystem-q3t37ft6.js → file-access-jexxy024.js} +3 -3
- package/dist/chunks/{filesystem-9xnb7hyj.js → file-access-jkpvc1gj.js} +20 -20
- package/dist/chunks/{filesystem-df21te9f.js → file-access-jsbpgh5s.js} +16 -16
- package/dist/chunks/{filesystem-msngqtw6.js → file-access-jy3pp1pb.js} +5 -5
- package/dist/chunks/{filesystem-s194k709.js → file-access-k701emjf.js} +11 -11
- package/dist/chunks/{filesystem-e9vx22h1.js → file-access-kd6d57r1.js} +89 -89
- package/dist/chunks/{filesystem-3r886gma.js → file-access-kmkxeyh5.js} +20 -20
- package/dist/chunks/{filesystem-4ttgz70x.js → file-access-kq1t1162.js} +11 -11
- package/dist/chunks/{filesystem-5w5asw02.js → file-access-ks3vd1j0.js} +14 -14
- package/dist/chunks/{filesystem-jdyy8xf0.js → file-access-ky68ekyp.js} +9 -9
- package/dist/chunks/{filesystem-m0jqrx5p.js → file-access-m0jqrx5p.js} +2 -2
- package/dist/chunks/{filesystem-13b2ng85.js → file-access-m17nagwc.js} +3 -3
- package/dist/chunks/{filesystem-6r8wc0ff.js → file-access-m6ay5emd.js} +21 -21
- package/dist/chunks/{filesystem-5sb5x7cf.js → file-access-m7qxvmyy.js} +22 -22
- package/dist/chunks/{filesystem-z0065k1n.js → file-access-m8y6a9gt.js} +43 -43
- package/dist/chunks/{filesystem-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/file-access-mqjrdake.js +26 -0
- package/dist/chunks/{filesystem-cg3fyqky.js → file-access-mrhssej4.js} +46 -46
- package/dist/chunks/{filesystem-ag4rn41e.js → file-access-n4r3xatb.js} +4 -4
- package/dist/chunks/{filesystem-t7w8wthg.js → file-access-nbygjmnq.js} +26 -26
- package/dist/chunks/{filesystem-nrck5rh0.js → file-access-nmn5p8yd.js} +17 -17
- package/dist/chunks/{filesystem-kqg5mzr3.js → file-access-npmmx7a7.js} +6 -6
- package/dist/chunks/{filesystem-5yzzbxa7.js → file-access-p37cw4rj.js} +8 -8
- package/dist/chunks/{filesystem-ytg5f91j.js → file-access-p459fsr1.js} +42 -42
- package/dist/chunks/{filesystem-24dd53tp.js → file-access-p630c9xd.js} +9 -9
- package/dist/chunks/{filesystem-texzw661.js → file-access-paghhsgz.js} +5 -5
- package/dist/chunks/{filesystem-qe4fvz1x.js → file-access-pcd7pbnd.js} +24 -24
- package/dist/chunks/{filesystem-pgeqw9gz.js → file-access-pf4e8y03.js} +32 -32
- package/dist/chunks/{filesystem-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → file-access-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-6r95854g.js → file-access-q0r2d8rn.js} +37 -37
- package/dist/chunks/{filesystem-s97q8wmc.js → file-access-q2cy2y1a.js} +17 -17
- package/dist/chunks/{filesystem-mn8cph46.js → file-access-q54epvg6.js} +11 -11
- package/dist/chunks/{filesystem-x1xcpfha.js → file-access-q5rhn9x0.js} +8 -8
- package/dist/chunks/file-access-qapv375x.js +4 -0
- package/dist/chunks/{filesystem-g0kf9mz8.js → file-access-qehrwxjr.js} +30 -30
- package/dist/chunks/{filesystem-z9dqtg9m.js → file-access-qf53spd6.js} +24 -24
- package/dist/chunks/{filesystem-yfe53vnj.js → file-access-qrkqsxkr.js} +24 -24
- package/dist/chunks/{filesystem-qsdy395h.js → file-access-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-46qxp0cq.js → file-access-r88mwysp.js} +43 -43
- package/dist/chunks/{filesystem-jre2exce.js → file-access-r8t2xrpw.js} +18 -18
- package/dist/chunks/{filesystem-f2n192rq.js → file-access-r8xr0va3.js} +4 -4
- package/dist/chunks/{filesystem-r9mregkx.js → file-access-r9mregkx.js} +2 -2
- package/dist/chunks/{filesystem-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-9rf1zay2.js → file-access-rhr5fvwd.js} +11 -11
- package/dist/chunks/{filesystem-zeh9ct20.js → file-access-rq775frq.js} +2 -2
- package/dist/chunks/{filesystem-crka0j56.js → file-access-rvh2fpxc.js} +4 -4
- package/dist/chunks/{filesystem-g7k1gdmz.js → file-access-rw2xgg53.js} +17 -17
- package/dist/chunks/{filesystem-4br0erxd.js → file-access-rytnjs8b.js} +20 -20
- package/dist/chunks/{filesystem-h9h4rw0b.js → file-access-rzbfacg9.js} +33 -33
- package/dist/chunks/{filesystem-b6zq1b9v.js → file-access-s0bax34n.js} +17 -17
- package/dist/chunks/{filesystem-c86vv8em.js → file-access-s3ze4hah.js} +7 -7
- package/dist/chunks/{filesystem-rsj9y6gb.js → file-access-s52y66be.js} +15 -15
- package/dist/chunks/{filesystem-a32yec29.js → file-access-s5trtwgj.js} +9 -9
- package/dist/chunks/{filesystem-81k51azh.js → file-access-s8cf5yxm.js} +7 -7
- package/dist/chunks/{filesystem-eaj1djv9.js → file-access-s8d7rejh.js} +6 -6
- package/dist/chunks/{filesystem-m4m2egqz.js → file-access-sa8j3x6g.js} +21 -21
- package/dist/chunks/{filesystem-1fmrbde1.js → file-access-sf0yp864.js} +6 -6
- package/dist/chunks/{filesystem-g61ycw3s.js → file-access-sfe15w4t.js} +23 -23
- package/dist/chunks/{filesystem-361qychh.js → file-access-sm965ndy.js} +8 -8
- package/dist/chunks/{filesystem-9f7wwfw1.js → file-access-sn3rxfgj.js} +4 -4
- package/dist/chunks/{filesystem-c5b9ks87.js → file-access-ss56yrvr.js} +33 -33
- package/dist/chunks/{filesystem-we45q118.js → file-access-ssdhg7mn.js} +3 -3
- package/dist/chunks/{filesystem-tw0jddzq.js → file-access-szrf2gp8.js} +33 -33
- package/dist/chunks/{filesystem-3g6gd80t.js → file-access-t192nm8m.js} +6 -6
- package/dist/chunks/{filesystem-vmd137xr.js → file-access-t271ntmg.js} +64 -64
- package/dist/chunks/{filesystem-z6tazwav.js → file-access-t5dv71qx.js} +15 -15
- package/dist/chunks/{filesystem-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-89znhe33.js → file-access-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-m1548a0r.js → file-access-tcrhe9m8.js} +22 -22
- package/dist/chunks/{filesystem-tdstcens.js → file-access-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-caj0q3k9.js → file-access-tkfbqfej.js} +29 -29
- package/dist/chunks/{filesystem-tvtrv512.js → file-access-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-jsvb6vsn.js → file-access-v24739yc.js} +12 -12
- package/dist/chunks/{filesystem-pcefftg5.js → file-access-v2rf49aq.js} +9 -9
- package/dist/chunks/{filesystem-6hh8tjw2.js → file-access-v5dkyp31.js} +4 -4
- package/dist/chunks/{filesystem-hb4ygmza.js → file-access-v6ede5y2.js} +36 -32
- package/dist/chunks/{filesystem-68cg48z6.js → file-access-v812h1xz.js} +12 -12
- package/dist/chunks/{filesystem-pqgd01zc.js → file-access-vbctgszn.js} +51 -51
- package/dist/chunks/{filesystem-cbc0wxnt.js → file-access-vbmj93bj.js} +4 -4
- package/dist/chunks/{filesystem-veqvce7d.js → file-access-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-drh00dzc.js → file-access-vgxg80g2.js} +10 -10
- package/dist/chunks/{filesystem-5qcj4ksz.js → file-access-vh7dp00t.js} +1 -1
- package/dist/chunks/{filesystem-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-jr7kwrkh.js → file-access-w1wd9tp2.js} +18 -18
- package/dist/chunks/{filesystem-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-mxxp51f6.js → file-access-wa065q7p.js} +3 -3
- package/dist/chunks/{filesystem-ha93k7pw.js → file-access-wajqf0bb.js} +37 -37
- package/dist/chunks/{filesystem-nq29vp8n.js → file-access-waqrje5a.js} +32 -32
- package/dist/chunks/{filesystem-wd87259q.js → file-access-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-8we8r4vx.js → file-access-wjcn38ba.js} +10 -10
- package/dist/chunks/{filesystem-ghnetwzt.js → file-access-www2df0c.js} +20 -20
- package/dist/chunks/{filesystem-h6z8d5tn.js → file-access-x0511brf.js} +4 -4
- package/dist/chunks/{filesystem-v54d4zy3.js → file-access-x0wxay44.js} +5 -5
- package/dist/chunks/{filesystem-9wvh8z56.js → file-access-x182m7xa.js} +10 -10
- package/dist/chunks/{filesystem-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-k5xj2xmh.js → file-access-x2nqcre9.js} +8 -8
- package/dist/chunks/{filesystem-spgtr7wt.js → file-access-xahw4cd4.js} +24 -24
- package/dist/chunks/{filesystem-24aj2vr8.js → file-access-xc8sh4yv.js} +19 -19
- package/dist/chunks/{filesystem-zvwz45r0.js → file-access-xdrba4jw.js} +9 -9
- package/dist/chunks/{filesystem-e8340df8.js → file-access-xe94yqgp.js} +6 -6
- package/dist/chunks/{filesystem-712r6eb2.js → file-access-xf0yen68.js} +12 -12
- package/dist/chunks/{filesystem-tqzhfmjj.js → file-access-xg631j7a.js} +5 -5
- package/dist/chunks/{filesystem-2b0awdga.js → file-access-xh45r5pf.js} +20 -20
- package/dist/chunks/{filesystem-che44dvv.js → file-access-xmvk7qad.js} +46 -46
- package/dist/chunks/{filesystem-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-bd2g5bk9.js → file-access-y2m441pc.js} +6 -6
- package/dist/chunks/{filesystem-y71avatq.js → file-access-y71avatq.js} +1 -1
- package/dist/chunks/{filesystem-gmjjhz4f.js → file-access-ybhbtxjg.js} +3 -3
- package/dist/chunks/{filesystem-6ehbgqat.js → file-access-ycjb11n5.js} +6 -6
- package/dist/chunks/{filesystem-fhrwyyh1.js → file-access-yd4pvbh8.js} +5 -5
- package/dist/chunks/{filesystem-xb46sqya.js → file-access-ygk8sne3.js} +22 -22
- package/dist/chunks/{filesystem-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-yrznvahk.js → file-access-yrznvahk.js} +2 -2
- package/dist/chunks/{filesystem-zp6zzbwt.js → file-access-ytgdyx08.js} +16 -16
- package/dist/chunks/{filesystem-gv6a8nnw.js → file-access-yyb7tjpc.js} +2 -2
- package/dist/chunks/{filesystem-nwh98khw.js → file-access-yzcxy4rp.js} +38 -38
- package/dist/chunks/{filesystem-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-swvck4sd.js → file-access-z4zzqkyn.js} +29 -29
- package/dist/chunks/{filesystem-z63w68vq.js → file-access-z63w68vq.js} +2 -2
- package/dist/chunks/{filesystem-hzyv0aq5.js → file-access-zc4efzed.js} +15 -15
- package/dist/chunks/{filesystem-3brweq1y.js → file-access-zd6ydzqz.js} +25 -25
- package/dist/chunks/{filesystem-tcg29b4q.js → file-access-zhq6vg7a.js} +1 -1
- package/dist/chunks/{filesystem-ex0pka66.js → file-access-zk8c4w5t.js} +5 -5
- package/dist/chunks/{filesystem-ng7a4pcr.js → file-access-zqfhgf5b.js} +182 -182
- package/dist/chunks/{filesystem-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-6xdccknh.js → file-access-zs4gxp06.js} +23 -23
- package/dist/chunks/{filesystem-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- 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 +210 -210
- 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 +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +69 -69
- package/dist/file-access.js +103 -103
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +351 -350
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- 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 +108 -108
- 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 +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- 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 +119 -119
- 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 +121 -121
- 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 +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- 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 +97 -97
- 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 +132 -132
- 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 +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +149 -149
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- 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 +228 -228
- 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 +113 -113
- package/dist/session/runner/step.js +124 -124
- 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 +72 -72
- 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 +215 -215
- 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 +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- 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 +119 -119
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- 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 +15 -15
- 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 +3 -3
- 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 +3 -3
- 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 +80 -80
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/filesystem-70jsskm8.js +0 -18
- package/dist/chunks/filesystem-99bpcqdd.js +0 -26
- package/dist/chunks/filesystem-ga2889bp.js +0 -474
- package/dist/chunks/filesystem-hr9dp009.js +0 -4
- package/dist/chunks/filesystem-js7vje5a.js +0 -247
- /package/dist/chunks/{filesystem-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → file-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → file-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → file-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → file-access-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → file-access-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → file-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → file-access-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → file-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → file-access-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → file-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → file-access-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → file-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → file-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → file-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → file-access-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → file-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → file-access-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → file-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → file-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → file-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → file-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → file-access-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → file-access-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → file-access-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → file-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → file-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → file-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-twg0f83k.js → file-access-twg0f83k.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → file-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → file-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → file-access-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → file-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → file-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → file-access-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → file-access-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event11,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options9,
|
|
17
|
+
Service: () => Service47,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer20,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node51,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event11 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options9 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service47 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer20 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service47.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service47.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service47).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service47, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service47, layer: layer20(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node51 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event11, hasNativeBinding2, Native3, Options9, Service47, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured10, node51, exports_watcher };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-access-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info14
|
|
7
|
+
} from "./file-access-50mzsvk4.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info13
|
|
10
|
+
} from "./file-access-4e8qeqw2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info11
|
|
13
|
+
} from "./file-access-gqchpbtd.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info12
|
|
16
|
+
} from "./file-access-v5dkyp31.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info17
|
|
19
|
+
} from "./file-access-4jv7e9dq.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-access-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info10
|
|
25
|
+
} from "./file-access-0ft9cg2j.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info18
|
|
28
|
+
} from "./file-access-hfvc964k.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-access-fcrkznn8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info16
|
|
34
|
+
} from "./file-access-9zzv5pgc.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./file-access-rq775frq.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info15
|
|
40
|
+
} from "./file-access-0v53mg2y.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-access-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info9,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info9 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info10 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info12)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info15).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info10 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info13), plan: Schema.optional(Info13) }), [Schema.Record(Schema.String, Info13)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info13),
|
|
119
|
+
build: Schema.optional(Info13),
|
|
120
|
+
general: Schema.optional(Info13),
|
|
121
|
+
explore: Schema.optional(Info13),
|
|
122
|
+
title: Schema.optional(Info13),
|
|
123
|
+
summary: Schema.optional(Info13),
|
|
124
|
+
compaction: Schema.optional(Info13)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info13)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info16)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info18, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info17).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info10).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info14),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info11).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info10 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info9, exports_config2 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-access-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin9
|
|
3
|
+
} from "./file-access-56m60q16.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin7
|
|
6
|
+
} from "./file-access-0r581tt5.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin8
|
|
9
|
+
} from "./file-access-y2m441pc.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin6
|
|
12
|
+
} from "./file-access-ewvjyc2d.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin5
|
|
15
|
+
} from "./file-access-s5trtwgj.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin9,
|
|
20
|
+
Plugin7,
|
|
21
|
+
Plugin8,
|
|
22
|
+
Plugin6,
|
|
23
|
+
Plugin5
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-access-9gfvx8yt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./file-access-ytgdyx08.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID10,
|
|
11
|
+
Service70,
|
|
12
|
+
node74
|
|
13
|
+
} from "./file-access-76rf663v.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError9
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-access-ybhbtxjg.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service68,
|
|
19
|
+
node72
|
|
20
|
+
} from "./file-access-efzqyggw.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-access-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service67,
|
|
26
|
+
node71
|
|
27
|
+
} from "./file-access-8nsc8gnz.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service69,
|
|
30
|
+
node73
|
|
31
|
+
} from "./file-access-0xezjjjn.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-access-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
45
|
+
Event: () => Event14,
|
|
46
|
+
ID: () => ID8,
|
|
47
47
|
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service66,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node70
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event14 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID8 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
77
|
+
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID8.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID10.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID8,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID8,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID8
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service66 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service81;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service78;
|
|
133
|
+
const agents = yield* Service70;
|
|
134
|
+
const sessions = yield* Service68;
|
|
135
|
+
const saved = yield* Service67;
|
|
136
|
+
const hooks = yield* Service69;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID8.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service66.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node70 = makeLocationNode({
|
|
289
|
+
service: Service66,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [node85,
|
|
291
|
+
deps: [node85, node82, node74, node72, node71, node73]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service66, node70, exports_permission2, Rule3, Ruleset2, Event14 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service59,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service59 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service59, exports_runner };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./file-access-0addxkp5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./file-access-mrhssej4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service22
|
|
14
|
+
} from "./file-access-9t16ekdb.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-access-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input3,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin17,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name3 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input3 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin17 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service66;
|
|
53
|
+
const forms = yield* Service77;
|
|
54
|
+
const websearch = yield* Service22;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name3,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input3,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name3,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name3];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name3, NO_RESULTS2, description2, Input3, Plugin17, exports_websearch };
|