@opencode/core 0.0.0-dev-19626 → 0.0.0-dev-19627
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +70 -70
- package/dist/chunks/{instance-17r7sqk5.js → file-mutation-03nfxjzw.js} +32 -32
- package/dist/chunks/{instance-bccb6npm.js → file-mutation-06dxphr1.js} +4 -4
- package/dist/chunks/{instance-kne8f3cn.js → file-mutation-06x8he3q.js} +4 -4
- package/dist/chunks/{instance-sy0w1jwb.js → file-mutation-06xhg51a.js} +23 -23
- package/dist/chunks/{instance-q3ehw3cx.js → file-mutation-0c0n109p.js} +24 -24
- package/dist/chunks/{instance-7ysw83b4.js → file-mutation-0j4wr494.js} +15 -15
- package/dist/chunks/{instance-18myttx2.js → file-mutation-0j569f3z.js} +3 -3
- package/dist/chunks/file-mutation-0mesazry.js +4 -0
- package/dist/chunks/{instance-tfmm411s.js → file-mutation-0nes3kdx.js} +31 -31
- package/dist/chunks/{instance-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-yrbs634a.js → file-mutation-0tbwr05t.js} +10 -10
- package/dist/chunks/{instance-dhj3npyc.js → file-mutation-0tncbqge.js} +20 -20
- package/dist/chunks/{instance-zznd93jw.js → file-mutation-10s3487r.js} +15 -15
- package/dist/chunks/{instance-ggrxy4rs.js → file-mutation-11n3wfat.js} +6 -6
- package/dist/chunks/file-mutation-11z0rz4y.js +247 -0
- package/dist/chunks/{instance-q1f67bwr.js → file-mutation-1306karf.js} +40 -40
- package/dist/chunks/{instance-gqqc2kn1.js → file-mutation-13c44461.js} +24 -24
- package/dist/chunks/{instance-f7fkew40.js → file-mutation-18db4y5c.js} +18 -18
- package/dist/chunks/{instance-yp2x3t23.js → file-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{instance-xqxgzzam.js → file-mutation-1c76g24z.js} +6 -6
- package/dist/chunks/{instance-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-n8zr52k9.js → file-mutation-1x1ag7qp.js} +15 -15
- package/dist/chunks/{instance-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{instance-2402vzrj.js → file-mutation-2402vzrj.js} +1 -1
- package/dist/chunks/{instance-ksf81zt2.js → file-mutation-24b9aadw.js} +9 -9
- package/dist/chunks/{instance-59a5kam3.js → file-mutation-25jpqk5v.js} +11 -11
- package/dist/chunks/{instance-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-s4kbqr0a.js → file-mutation-2fhwbkrm.js} +23 -23
- package/dist/chunks/{instance-bavw6ffe.js → file-mutation-2h5ctm2z.js} +86 -86
- package/dist/chunks/{instance-vze34wk4.js → file-mutation-2n0epbhs.js} +3 -3
- package/dist/chunks/{instance-2zmvcxwn.js → file-mutation-2py7vkgw.js} +6 -6
- package/dist/chunks/{instance-3kq5yncf.js → file-mutation-2qcp78kg.js} +17 -17
- package/dist/chunks/{instance-02s4da2m.js → file-mutation-2tvcbkwg.js} +10 -10
- package/dist/chunks/{instance-wfrdzx2b.js → file-mutation-2v6a2rnj.js} +12 -12
- package/dist/chunks/{instance-151xgw5n.js → file-mutation-30n84348.js} +11 -11
- package/dist/chunks/{instance-6xjq67s0.js → file-mutation-3aaqwtv7.js} +44 -44
- package/dist/chunks/{instance-58k680qt.js → file-mutation-3ar42wrm.js} +20 -20
- package/dist/chunks/{instance-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-5h36w7b3.js → file-mutation-3fz3b278.js} +25 -25
- package/dist/chunks/{instance-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-wyawgadg.js → file-mutation-3nmkgzqt.js} +3 -3
- package/dist/chunks/{instance-rkevjsa4.js → file-mutation-3qgtx68d.js} +15 -15
- package/dist/chunks/{instance-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/file-mutation-48r4agm7.js +66 -0
- package/dist/chunks/{instance-33vbamfj.js → file-mutation-4afm2zz7.js} +42 -42
- package/dist/chunks/{instance-h6r3nrb9.js → file-mutation-4dgbcxzg.js} +4 -4
- package/dist/chunks/{instance-sez6j504.js → file-mutation-4g2m7ccv.js} +20 -20
- package/dist/chunks/{instance-167qt7f9.js → file-mutation-4sy6x2w1.js} +11 -11
- package/dist/chunks/{instance-mfqp6xfm.js → file-mutation-56gdpj1q.js} +6 -6
- package/dist/chunks/{instance-wvjz3gc7.js → file-mutation-5bbsmdtr.js} +4 -4
- package/dist/chunks/{instance-xvtqr6gp.js → file-mutation-5bdbc12f.js} +4 -4
- package/dist/chunks/{instance-5c4hm403.js → file-mutation-5c4hm403.js} +3 -3
- package/dist/chunks/{instance-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-jw17pt90.js → file-mutation-5fxvnth9.js} +8 -8
- package/dist/chunks/{instance-d70jxyey.js → file-mutation-5kh97ynp.js} +37 -37
- package/dist/chunks/{instance-9spjdt5y.js → file-mutation-5p8vcd02.js} +29 -29
- package/dist/chunks/{instance-e3qxr5gk.js → file-mutation-5qd3pb7m.js} +2 -2
- package/dist/chunks/{instance-fpmq6gma.js → file-mutation-5sj81wm5.js} +5 -5
- package/dist/chunks/{instance-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-nywjskf3.js → file-mutation-635mjk8g.js} +22 -22
- package/dist/chunks/{instance-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{instance-rmacqpyz.js → file-mutation-6804x6mf.js} +20 -20
- package/dist/chunks/{instance-0gacneyh.js → file-mutation-698497kr.js} +12 -12
- package/dist/chunks/{instance-ed27kc2q.js → file-mutation-6fkjc3gv.js} +20 -20
- package/dist/chunks/{instance-twbrtgyh.js → file-mutation-6h3wybc7.js} +6 -6
- package/dist/chunks/{instance-vep8e94v.js → file-mutation-6k7rtajw.js} +26 -26
- package/dist/chunks/{instance-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-eamw3cyr.js → file-mutation-6zwemvqm.js} +26 -26
- package/dist/chunks/{instance-qxtdrv9q.js → file-mutation-7avp506j.js} +51 -51
- package/dist/chunks/{instance-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-7dqw4kz8.js → file-mutation-7dqw4kz8.js} +1 -1
- package/dist/chunks/{instance-sr9sb9y2.js → file-mutation-7hg3t1ht.js} +21 -21
- package/dist/chunks/{instance-2v1tekmx.js → file-mutation-7k05wx0c.js} +11 -11
- package/dist/chunks/{instance-dsg0rm71.js → file-mutation-7nam6z95.js} +6 -6
- package/dist/chunks/{instance-pmx05hv5.js → file-mutation-7rtzrs6z.js} +21 -21
- package/dist/chunks/{instance-3vtqk0fd.js → file-mutation-7v7yaejn.js} +10 -10
- package/dist/chunks/{instance-pjedbq3k.js → file-mutation-7w3s9kd0.js} +4 -4
- package/dist/chunks/{instance-rj6d5p5e.js → file-mutation-7w99qc9d.js} +3 -3
- package/dist/chunks/{instance-pezedjaz.js → file-mutation-7ycsd0tm.js} +18 -18
- package/dist/chunks/{instance-wdsnhfsd.js → file-mutation-82adjhvd.js} +9 -9
- package/dist/chunks/{instance-bg2gq5qa.js → file-mutation-89smrnyf.js} +4 -4
- package/dist/chunks/{instance-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-gnpdrzyp.js → file-mutation-8fk85gr8.js} +4 -4
- package/dist/chunks/{instance-g7sr1kve.js → file-mutation-8rsrtv6x.js} +26 -26
- package/dist/chunks/{instance-r1cpq9ty.js → file-mutation-91sxxkcr.js} +5 -5
- package/dist/chunks/{instance-vt5h22tz.js → file-mutation-91t2kvk6.js} +17 -17
- package/dist/chunks/{instance-dzvkn7t8.js → file-mutation-9fsxynh3.js} +11 -11
- package/dist/chunks/{instance-cjys6k6m.js → file-mutation-9nygvg6d.js} +11 -11
- package/dist/chunks/{instance-p8fpqpay.js → file-mutation-9x4ccdjv.js} +188 -195
- package/dist/chunks/{instance-rp7edk77.js → file-mutation-9y2fz4rr.js} +10 -10
- package/dist/chunks/{instance-vs2g7sm6.js → file-mutation-a04y0etw.js} +21 -21
- package/dist/chunks/{instance-e758p7qe.js → file-mutation-a3k5zcqz.js} +32 -32
- package/dist/chunks/{instance-xb02k0wq.js → file-mutation-a46v4e4v.js} +4 -4
- package/dist/chunks/{instance-s96gbbjc.js → file-mutation-a5de4bcy.js} +55 -55
- package/dist/chunks/{instance-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-3xt1tafv.js → file-mutation-ac5xk54v.js} +21 -21
- package/dist/chunks/{instance-ed0w586q.js → file-mutation-ajwqadgf.js} +16 -16
- package/dist/chunks/{instance-p0d34h28.js → file-mutation-aychzs8s.js} +16 -16
- package/dist/chunks/{instance-bjtgkgtt.js → file-mutation-ayex3wth.js} +17 -17
- package/dist/chunks/{instance-zfwtjyrh.js → file-mutation-azma9pmk.js} +16 -16
- package/dist/chunks/{instance-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-a88f4eq7.js → file-mutation-bqnv8r25.js} +9 -9
- package/dist/chunks/{instance-myhakecn.js → file-mutation-bvdx5xp3.js} +11 -11
- package/dist/chunks/{instance-ryt7pzqc.js → file-mutation-bz85s9hh.js} +1 -1
- package/dist/chunks/{instance-1ze3fj9p.js → file-mutation-c175xrn1.js} +30 -30
- package/dist/chunks/{instance-5v4sqzgr.js → file-mutation-c5rw5aek.js} +5 -5
- package/dist/chunks/{instance-9ff31bqh.js → file-mutation-c765mh8b.js} +5 -5
- package/dist/chunks/{instance-v4hmzr0r.js → file-mutation-cmwkp3r5.js} +8 -8
- package/dist/chunks/{instance-ss0awb04.js → file-mutation-cpy6gm2a.js} +4 -4
- package/dist/chunks/{instance-7gq6gbe3.js → file-mutation-cr1q0w15.js} +17 -17
- package/dist/chunks/{instance-sj0pd38k.js → file-mutation-cyx09s2a.js} +7 -7
- package/dist/chunks/{instance-frqdc45t.js → file-mutation-czzymjv3.js} +43 -43
- package/dist/chunks/file-mutation-d1y9ts6h.js +474 -0
- package/dist/chunks/{instance-zbkqp5t7.js → file-mutation-d4fjsvxd.js} +36 -36
- package/dist/chunks/{instance-dxphz4rn.js → file-mutation-dcq050h0.js} +33 -33
- package/dist/chunks/{instance-z5x28zm6.js → file-mutation-ddg0keqc.js} +7 -7
- package/dist/chunks/{instance-dj2t23y0.js → file-mutation-dj2t23y0.js} +2 -2
- package/dist/chunks/{instance-9bpbcn0x.js → file-mutation-dmgsj5zc.js} +17 -17
- package/dist/chunks/{instance-gjt8wv2y.js → file-mutation-dp45y3n1.js} +17 -17
- package/dist/chunks/{instance-2a9hxxpw.js → file-mutation-dwvb776c.js} +25 -25
- package/dist/chunks/{instance-919tp9z0.js → file-mutation-dzrq5311.js} +9 -9
- package/dist/chunks/{instance-e5nv3ght.js → file-mutation-e5nv3ght.js} +2 -2
- package/dist/chunks/{instance-jzjrp6ac.js → file-mutation-eajyy5ey.js} +43 -43
- package/dist/chunks/{instance-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-08zchdps.js → file-mutation-eg6djbbr.js} +30 -30
- package/dist/chunks/{instance-jmqbe6bp.js → file-mutation-ekezzs5q.js} +5 -5
- package/dist/chunks/{instance-2y4s2rg0.js → file-mutation-eqfn3g5k.js} +20 -20
- package/dist/chunks/{instance-r2dn7e69.js → file-mutation-es3fm114.js} +1 -1
- package/dist/chunks/{instance-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-h7ygw6q4.js → file-mutation-f7j90zp2.js} +5 -5
- package/dist/chunks/{instance-q4bprqfk.js → file-mutation-f9yn9122.js} +9 -9
- package/dist/chunks/{instance-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-1g96y08y.js → file-mutation-g1sxm558.js} +8 -8
- package/dist/chunks/{instance-rvydjrpx.js → file-mutation-g87vc5p1.js} +15 -15
- package/dist/chunks/{instance-q9ave7j0.js → file-mutation-g9nckgd1.js} +25 -25
- package/dist/chunks/{instance-89vjf07m.js → file-mutation-gcavn3wx.js} +5 -5
- package/dist/chunks/{instance-vjzz8sxc.js → file-mutation-gcwb3twc.js} +35 -35
- package/dist/chunks/{instance-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-y9ap2p02.js → file-mutation-gh317mre.js} +16 -16
- package/dist/chunks/{instance-p5s2wgha.js → file-mutation-gj014zr3.js} +22 -22
- package/dist/chunks/{instance-q7pq59py.js → file-mutation-gmp12gr6.js} +16 -16
- package/dist/chunks/{instance-z3nay82g.js → file-mutation-gr1f03ws.js} +9 -9
- package/dist/chunks/{instance-jayyna5d.js → file-mutation-gw4zmj2g.js} +27 -27
- package/dist/chunks/{instance-h03wrkyp.js → file-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{instance-r4s75e97.js → file-mutation-h23j7wn7.js} +10 -10
- package/dist/chunks/{instance-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-b8b3f19r.js → file-mutation-h71w788e.js} +5 -5
- package/dist/chunks/{instance-wg2pkbq9.js → file-mutation-h85ccg7e.js} +4 -4
- package/dist/chunks/{instance-xm8qr0x3.js → file-mutation-hdh38a9b.js} +9 -9
- package/dist/chunks/{instance-hdnk95c8.js → file-mutation-hdnk95c8.js} +2 -2
- package/dist/chunks/{instance-g15gwk1k.js → file-mutation-hfvv3mv3.js} +25 -25
- package/dist/chunks/{instance-e82z9tr0.js → file-mutation-hjt4xg1x.js} +7 -7
- package/dist/chunks/file-mutation-ht5y0zrb.js +18 -0
- package/dist/chunks/{instance-v6d4v6jq.js → file-mutation-j4p8w3kg.js} +25 -25
- package/dist/chunks/{instance-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-6qqzc0bp.js → file-mutation-j7jqt5tj.js} +8 -8
- package/dist/chunks/{instance-gr5q12fx.js → file-mutation-jdcpnvpf.js} +9 -9
- package/dist/chunks/{instance-k9c9mgdx.js → file-mutation-jfya27vc.js} +11 -11
- package/dist/chunks/{instance-d2aac7k2.js → file-mutation-jwbqhvyy.js} +5 -5
- package/dist/chunks/{instance-rymwgvqq.js → file-mutation-jxwjknq3.js} +5 -5
- package/dist/chunks/{instance-8spd7vcp.js → file-mutation-k6v14n43.js} +17 -17
- package/dist/chunks/{instance-yctkbaw6.js → file-mutation-k86shhx4.js} +17 -17
- package/dist/chunks/{instance-vbcz9h2j.js → file-mutation-k9avtbwf.js} +9 -9
- package/dist/chunks/{instance-hspvzq38.js → file-mutation-k9vs72wj.js} +11 -11
- package/dist/chunks/{instance-3sm2tqew.js → file-mutation-kcm959y1.js} +30 -30
- package/dist/chunks/{instance-q6d53jre.js → file-mutation-kjfdeayr.js} +8 -8
- package/dist/chunks/{instance-95wf764r.js → file-mutation-ktak12d4.js} +16 -16
- package/dist/chunks/{instance-y3ye5brk.js → file-mutation-ky2zf32z.js} +11 -11
- package/dist/chunks/{instance-w3eyqdtb.js → file-mutation-kyvf95r7.js} +31 -31
- package/dist/chunks/{instance-m0jqrx5p.js → file-mutation-m0jqrx5p.js} +2 -2
- package/dist/chunks/{instance-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-eq1pz5kg.js → file-mutation-mvfsc1pv.js} +3 -3
- package/dist/chunks/{instance-mbeb8pgp.js → file-mutation-my26e0c6.js} +24 -24
- package/dist/chunks/{instance-g8f82tga.js → file-mutation-n8j5ecm5.js} +4 -4
- package/dist/chunks/{instance-4rh7nyge.js → file-mutation-nap3yrea.js} +47 -47
- package/dist/chunks/{instance-5nb2d01r.js → file-mutation-nng2ktcm.js} +2 -2
- package/dist/chunks/{instance-zmzwkbhv.js → file-mutation-ns5krr68.js} +5 -5
- package/dist/chunks/{instance-7j92jdde.js → file-mutation-nw2nz702.js} +4 -4
- package/dist/chunks/{instance-2tnr6z1w.js → file-mutation-p2f53c8e.js} +40 -40
- package/dist/chunks/{instance-5xv9aaee.js → file-mutation-pcvnxmb4.js} +18 -18
- package/dist/chunks/{instance-3x9anw65.js → file-mutation-pcwvymat.js} +12 -12
- package/dist/chunks/{instance-9xzpt3ep.js → file-mutation-pes8w8r9.js} +32 -32
- package/dist/chunks/{instance-vs0gackm.js → file-mutation-pf2ava87.js} +19 -19
- package/dist/chunks/{instance-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{instance-yvxb46eq.js → file-mutation-pvp0xbtq.js} +5 -5
- package/dist/chunks/{instance-zsnh4763.js → file-mutation-q5rhn9x0.js} +13 -13
- package/dist/chunks/{instance-005526v9.js → file-mutation-qb9x24v0.js} +18 -18
- package/dist/chunks/{instance-57ez7d0k.js → file-mutation-qebawg89.js} +9 -9
- package/dist/chunks/{instance-axmvebxj.js → file-mutation-qj8eh1ht.js} +21 -21
- package/dist/chunks/{instance-8e2zpme0.js → file-mutation-qkxympve.js} +47 -47
- package/dist/chunks/{instance-3z2rpyjg.js → file-mutation-qr8mshgh.js} +30 -30
- package/dist/chunks/{instance-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-703jyx7f.js → file-mutation-qxmaq0sm.js} +8 -8
- package/dist/chunks/{instance-pe1s98c6.js → file-mutation-qyqjfx9x.js} +16 -16
- package/dist/chunks/{instance-g6qm2edy.js → file-mutation-qz3sdwq7.js} +4 -4
- package/dist/chunks/{instance-vsgtcbn2.js → file-mutation-r1jcp9he.js} +33 -33
- package/dist/chunks/{instance-k4drpexb.js → file-mutation-r8bq8m7e.js} +6 -6
- package/dist/chunks/{instance-ja58kv6n.js → file-mutation-r8s4q6ph.js} +9 -9
- package/dist/chunks/{instance-r9mregkx.js → file-mutation-r9mregkx.js} +2 -2
- package/dist/chunks/{instance-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-7f1r43eh.js → file-mutation-rdwnzddt.js} +44 -44
- package/dist/chunks/{instance-qn0j0dkc.js → file-mutation-rf848q2s.js} +8 -8
- package/dist/chunks/file-mutation-rjhhx3kh.js +26 -0
- package/dist/chunks/{instance-z076nmc8.js → file-mutation-rmkqwdpg.js} +88 -88
- package/dist/chunks/{instance-zeh9ct20.js → file-mutation-rq775frq.js} +2 -2
- package/dist/chunks/{instance-f32czd11.js → file-mutation-rr1pnw44.js} +11 -11
- package/dist/chunks/{instance-cyp3zcq5.js → file-mutation-rw337v24.js} +11 -11
- package/dist/chunks/{instance-gffj713w.js → file-mutation-ryrj46hv.js} +15 -15
- package/dist/chunks/{instance-gfazvam9.js → file-mutation-rz5kv9fq.js} +17 -17
- package/dist/chunks/{instance-xh1aq95h.js → file-mutation-s5ech5g2.js} +38 -38
- package/dist/chunks/{instance-0gdmqesm.js → file-mutation-s8d7rejh.js} +4 -4
- package/dist/chunks/{instance-9y9hvn9f.js → file-mutation-s8yyarnz.js} +11 -11
- package/dist/chunks/{instance-803gagz9.js → file-mutation-sqeh6kv1.js} +20 -20
- package/dist/chunks/{instance-3tbzcjrn.js → file-mutation-sr25wdwa.js} +17 -17
- package/dist/chunks/{instance-a9gh96kw.js → file-mutation-ssz2ek6x.js} +11 -11
- package/dist/chunks/{instance-w21bzq9q.js → file-mutation-sxzvkvgj.js} +6 -6
- package/dist/chunks/{instance-a33bht5e.js → file-mutation-synq1jy2.js} +13 -13
- package/dist/chunks/{instance-85bxt0yz.js → file-mutation-t1eg3y3w.js} +12 -12
- package/dist/chunks/{instance-92a4ap4w.js → file-mutation-t3swkhbg.js} +5 -5
- package/dist/chunks/{instance-4mewn31d.js → file-mutation-t5vtrxv1.js} +22 -22
- package/dist/chunks/{instance-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-kjtnp8hj.js → file-mutation-tbb58408.js} +107 -115
- package/dist/chunks/{instance-mqshrq5t.js → file-mutation-tcdc8g31.js} +9 -9
- package/dist/chunks/{instance-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-p75hnr01.js → file-mutation-tds7k197.js} +2 -2
- package/dist/chunks/{instance-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{instance-qvz4ctz3.js → file-mutation-tgft0wfk.js} +26 -26
- package/dist/chunks/{instance-vf304emn.js → file-mutation-the10gxd.js} +15 -15
- package/dist/chunks/{instance-h1yf0y0e.js → file-mutation-tv17mb0q.js} +7 -7
- package/dist/chunks/{instance-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-d42pmbxt.js → file-mutation-tzz76ghp.js} +3 -3
- package/dist/chunks/{instance-6m8qwvb9.js → file-mutation-v0x321vx.js} +36 -36
- package/dist/chunks/{instance-7gbft6an.js → file-mutation-v3fdhb9p.js} +35 -35
- package/dist/chunks/{instance-dfe8djrf.js → file-mutation-ve4pfa0n.js} +4 -4
- package/dist/chunks/{instance-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-82tye6ms.js → file-mutation-vtfn81vb.js} +13 -13
- package/dist/chunks/{instance-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-ry62k031.js → file-mutation-wa2k838w.js} +10 -10
- package/dist/chunks/{instance-cx92zwpy.js → file-mutation-wc8c3q07.js} +11 -11
- package/dist/chunks/{instance-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{instance-vqe3a6nj.js → file-mutation-wdzhm1dy.js} +17 -17
- package/dist/chunks/{instance-tfnergqq.js → file-mutation-wejf0rdp.js} +60 -60
- package/dist/chunks/{instance-1bg0qxs1.js → file-mutation-x121vean.js} +6 -6
- package/dist/chunks/{instance-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-ycw8yczh.js → file-mutation-x1r77kwh.js} +5 -5
- package/dist/chunks/{instance-62yskeeq.js → file-mutation-x2c9waxa.js} +8 -8
- package/dist/chunks/{instance-5fx85d4x.js → file-mutation-x2fjf6jt.js} +1 -1
- package/dist/chunks/{instance-wf1efbtj.js → file-mutation-x3ykbdq0.js} +25 -25
- package/dist/chunks/{instance-0yj5xewp.js → file-mutation-x5h3w8zq.js} +30 -30
- package/dist/chunks/{instance-qzyph8ek.js → file-mutation-xb3f970q.js} +10 -10
- package/dist/chunks/{instance-ec3p188n.js → file-mutation-xe94yqgp.js} +4 -4
- package/dist/chunks/{instance-5c0bdg24.js → file-mutation-xqhhrdfp.js} +22 -22
- package/dist/chunks/{instance-41kev6en.js → file-mutation-xqk8sbne.js} +12 -12
- package/dist/chunks/{instance-c5dsyxmc.js → file-mutation-xrv8p737.js} +18 -18
- package/dist/chunks/{instance-9msmm2tq.js → file-mutation-xx8we5ps.js} +4 -4
- package/dist/chunks/{instance-xzj84bvr.js → file-mutation-xyny64hx.js} +23 -23
- package/dist/chunks/{instance-ekgw5y1z.js → file-mutation-xza6172n.js} +5 -5
- package/dist/chunks/{instance-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-dpkg50ah.js → file-mutation-y71avatq.js} +4 -4
- package/dist/chunks/{instance-ct44bwr3.js → file-mutation-yce1w55j.js} +6 -6
- package/dist/chunks/{instance-dp6y6dpa.js → file-mutation-yf98xpe6.js} +9 -9
- package/dist/chunks/{instance-2z1e8rxr.js → file-mutation-ynjpqawr.js} +6 -6
- package/dist/chunks/{instance-dsh5gj19.js → file-mutation-yphy50z6.js} +21 -21
- package/dist/chunks/{instance-05d804h8.js → file-mutation-yqf3qraq.js} +11 -11
- package/dist/chunks/{instance-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-s4enseaf.js → file-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{instance-th5km1p3.js → file-mutation-yyb7tjpc.js} +5 -5
- package/dist/chunks/{instance-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-x4zba2ff.js → file-mutation-z1jek54d.js} +5 -5
- package/dist/chunks/{instance-p6dqdzbz.js → file-mutation-z2ab2b6j.js} +11 -11
- package/dist/chunks/{instance-29x78va6.js → file-mutation-z63w68vq.js} +6 -6
- package/dist/chunks/{instance-dkbfs573.js → file-mutation-z76rvear.js} +4 -4
- package/dist/chunks/{instance-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- 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 +122 -122
- 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 +121 -121
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +67 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +359 -359
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +71 -71
- package/dist/file-access.js +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 +4 -4
- package/dist/filesystem/location-watcher.js +219 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +71 -71
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 +98 -98
- 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 +353 -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 +133 -133
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +350 -350
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- 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 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +91 -91
- 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/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 +157 -157
- package/dist/plugin/sdk.js +75 -75
- 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 +342 -341
- package/dist/plugin/update.js +4 -4
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- 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 +91 -91
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +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 +127 -127
- package/dist/session/projector.js +83 -83
- 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 -225
- 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 +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 +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +4 -4
- package/dist/skill/instructions.js +104 -104
- 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 +123 -123
- 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 +121 -121
- 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 +215 -215
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- 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 +15 -15
- package/dist/types/config/plugin/worktree.d.ts +2 -2
- package/dist/types/instance.d.ts +2 -2
- package/dist/types/plugin/host.d.ts +3 -2
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/worktree/git.d.ts +2 -4
- package/dist/types/worktree/strategies.d.ts +36 -0
- package/dist/types/worktree.d.ts +23 -40
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +93 -0
- package/dist/worktree.js +95 -97
- package/package.json +8 -8
- package/dist/chunks/instance-4jj5ge3x.js +0 -251
- package/dist/chunks/instance-6kdq0pjd.js +0 -4
- package/dist/chunks/instance-an68154v.js +0 -44
- package/dist/chunks/instance-hge1hkn3.js +0 -26
- package/dist/chunks/instance-phz3h32g.js +0 -18
- package/dist/chunks/instance-z4k1nywn.js +0 -468
- package/dist/types/worktree/refresh.d.ts +0 -2
- package/dist/worktree/refresh.js +0 -347
- /package/dist/chunks/{instance-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → file-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./file-mutation-aychzs8s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service63
|
|
9
|
+
} from "./file-mutation-7ycsd0tm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./file-mutation-eqfn3g5k.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service10
|
|
27
|
+
} from "./file-mutation-ajwqadgf.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input6,
|
|
36
|
+
Plugin: () => Plugin24,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name6,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name6 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input6 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin24 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service10;
|
|
62
|
+
const access = yield* Service63;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name6,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input6,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin44 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent3 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name6, Input6, Plugin24, toModelContent3, exports_read };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./file-mutation-kyvf95r7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./file-mutation-4afm2zz7.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-2py7vkgw.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make9(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service54;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID11.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make9();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make9, VLLMPlugin2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
12
|
Service: () => Service6,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export { Service6,
|
|
54
|
+
export { Service6, node8, exports_update };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-xb3f970q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID12
|
|
6
|
+
} from "./file-mutation-0nes3kdx.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID12.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./file-mutation-4afm2zz7.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin16
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin16 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service54;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
27
27
|
yield* ctx.provider.transform((providers) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin6 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin16, exports_policy };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-dj2t23y0.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-mutation-f9yn9122.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service51,
|
|
17
|
+
node53
|
|
18
|
+
} from "./file-mutation-sqeh6kv1.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event11,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service49,
|
|
35
35
|
Source: () => Source4,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node51
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event11 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source4 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service49 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service80;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service51;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service49.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node51 = makeLocationNode({
|
|
116
|
+
service: Service49,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node84, node53]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source4,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info9, Service49, node51, exports_reference2, Event11 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make15,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make15(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service28,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service28 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service28.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service28, awaitActivation2, exports_service };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-mutation-f9yn9122.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./file-mutation-aychzs8s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./file-mutation-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service58,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node60
|
|
16
|
+
} from "./file-mutation-gj014zr3.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
33
|
Service: () => Service15,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node17
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
45
|
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
48
|
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
-
ptyID:
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -59,8 +59,8 @@ class Service15 extends Context.Service()("@opencode/Pty") {
|
|
|
59
59
|
}
|
|
60
60
|
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service80;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const shell = yield* Service58;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -270,10 +270,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
270
270
|
});
|
|
271
271
|
return Service15.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
273
|
+
var node17 = makeLocationNode({
|
|
274
274
|
service: Service15,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node84, node80, node60]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node17, exports_pty, Event3 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service54
|
|
4
|
+
} from "./file-mutation-4afm2zz7.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin5 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service54;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin11 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin5, exports_websearch };
|