@opencode/core 0.0.0-dev-20024 → 0.0.0-dev-20025
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 +72 -72
- package/dist/chunks/{location-mutation-enrvee4b.js → kv-03zcn7km.js} +16 -16
- package/dist/chunks/{location-mutation-krrzbazv.js → kv-04tskj1d.js} +6 -6
- package/dist/chunks/{location-mutation-287swpq4.js → kv-0aw7dz0t.js} +44 -44
- package/dist/chunks/{location-mutation-ar5042nv.js → kv-0b6h44sv.js} +23 -23
- package/dist/chunks/kv-0d6ct406.js +503 -0
- package/dist/chunks/{location-mutation-y56ehv6b.js → kv-0jq9fyba.js} +9 -9
- package/dist/chunks/kv-0mesazry.js +4 -0
- package/dist/chunks/{location-mutation-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-mutation-6v9me7yx.js → kv-0z42gnwd.js} +22 -22
- package/dist/chunks/{location-mutation-4541pte3.js → kv-10jtetaj.js} +6 -6
- package/dist/chunks/{location-mutation-mzeaa52x.js → kv-14xcmtnt.js} +17 -17
- package/dist/chunks/{location-mutation-63x4799j.js → kv-17hzcrm0.js} +13 -13
- package/dist/chunks/{location-mutation-asscy6pk.js → kv-18ezz3e7.js} +24 -24
- package/dist/chunks/{location-mutation-73tb2d7t.js → kv-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-mutation-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-mutation-5qgdv5h0.js → kv-1f9k274t.js} +32 -32
- package/dist/chunks/{location-mutation-7e2ke00k.js → kv-1gqe2a33.js} +29 -29
- package/dist/chunks/{location-mutation-ypxn8na5.js → kv-1v02azyb.js} +3 -3
- package/dist/chunks/{location-mutation-bgs9y14h.js → kv-1x75wf9g.js} +5 -5
- package/dist/chunks/{location-mutation-1ygqh575.js → kv-1ygqh575.js} +2 -2
- package/dist/chunks/{location-mutation-sa96sbyt.js → kv-2085ns88.js} +14 -14
- package/dist/chunks/{location-mutation-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{location-mutation-6h73sxmp.js → kv-2402vzrj.js} +5 -5
- package/dist/chunks/{location-mutation-11aw4bp1.js → kv-2499yhnb.js} +29 -29
- package/dist/chunks/{location-mutation-vbfgae2j.js → kv-277eer69.js} +4 -4
- package/dist/chunks/{location-mutation-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-mutation-rjxwg6my.js → kv-2fm1txxr.js} +26 -26
- package/dist/chunks/{location-mutation-05j4n1ws.js → kv-2hptpgkz.js} +18 -18
- package/dist/chunks/{location-mutation-krscvss0.js → kv-2ny4609t.js} +14 -14
- package/dist/chunks/{location-mutation-8sd99ncp.js → kv-31d7kfed.js} +3 -3
- package/dist/chunks/{location-mutation-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-mutation-07ha980f.js → kv-3gmnjn1e.js} +11 -11
- package/dist/chunks/{location-mutation-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-mutation-jvw73btf.js → kv-3k0jy8d1.js} +11 -11
- package/dist/chunks/{location-mutation-3mmzvcvq.js → kv-3mpqv36z.js} +28 -28
- package/dist/chunks/{location-mutation-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-mutation-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-mutation-37s12vcn.js → kv-3w0fmcng.js} +5 -5
- package/dist/chunks/{location-mutation-gmjjhz4f.js → kv-3zgzsr0q.js} +3 -3
- package/dist/chunks/{location-mutation-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-mutation-ygx1qhaf.js → kv-44bdxtcq.js} +1 -1
- package/dist/chunks/{location-mutation-mmr7bq34.js → kv-44ke2mar.js} +8 -8
- package/dist/chunks/{location-mutation-n03y2nvv.js → kv-48jv4090.js} +32 -32
- package/dist/chunks/{location-mutation-gdpzykdj.js → kv-4db76nbv.js} +10 -10
- package/dist/chunks/{location-mutation-wgt0n93c.js → kv-4f1gf0mj.js} +41 -41
- package/dist/chunks/{location-mutation-qhq4a865.js → kv-4nfmj2pa.js} +9 -9
- package/dist/chunks/{location-mutation-9pp8k1fj.js → kv-4pfvz1zp.js} +14 -14
- package/dist/chunks/{location-mutation-gh02xaqr.js → kv-4wxt30p3.js} +33 -33
- package/dist/chunks/{location-mutation-8fh4dspn.js → kv-50p05jhk.js} +28 -28
- package/dist/chunks/{location-mutation-m8ar47ek.js → kv-52094frg.js} +20 -20
- package/dist/chunks/kv-53x5pmg1.js +26 -0
- package/dist/chunks/{location-mutation-57ez7d0k.js → kv-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-mutation-mwvyrfwc.js → kv-5acpzame.js} +32 -32
- package/dist/chunks/{location-mutation-pa6qpeew.js → kv-5c7xdf35.js} +10 -10
- package/dist/chunks/{location-mutation-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{location-mutation-2znrjh5s.js → kv-5dayhn2v.js} +34 -34
- package/dist/chunks/{location-mutation-5ekn9679.js → kv-5ekn9679.js} +1 -1
- package/dist/chunks/{location-mutation-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-mutation-669tq793.js → kv-669tq793.js} +1 -1
- package/dist/chunks/{location-mutation-6a753ss8.js → kv-6d54emcz.js} +52 -52
- package/dist/chunks/{location-mutation-f0h3qbzs.js → kv-6dtbrkj0.js} +5 -5
- package/dist/chunks/{location-mutation-tkmwgdpd.js → kv-6hh8tjw2.js} +7 -7
- package/dist/chunks/{location-mutation-hsq7tvrb.js → kv-6j9fjes3.js} +22 -22
- package/dist/chunks/{location-mutation-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-mutation-hgyg00rt.js → kv-6vaskwyw.js} +21 -21
- package/dist/chunks/{location-mutation-3m46hkaz.js → kv-6w5xh4x4.js} +2 -2
- package/dist/chunks/{location-mutation-p1zpfjkz.js → kv-6wr1j3sy.js} +12 -12
- package/dist/chunks/{location-mutation-4a6h4wrp.js → kv-6zdscwh2.js} +32 -32
- package/dist/chunks/{location-mutation-fxt475k0.js → kv-6zt78djw.js} +12 -12
- package/dist/chunks/{location-mutation-drrkymsn.js → kv-73b8rws5.js} +20 -20
- package/dist/chunks/{location-mutation-wz9pjx5y.js → kv-742d1swr.js} +26 -26
- package/dist/chunks/{location-mutation-r339gb8t.js → kv-74zt4j78.js} +5 -5
- package/dist/chunks/{location-mutation-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-mutation-j8rzd9ap.js → kv-7f4nfbjm.js} +12 -12
- package/dist/chunks/{location-mutation-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-mutation-qw39grzm.js → kv-8n2kyc0a.js} +4 -4
- package/dist/chunks/{location-mutation-dj2t23y0.js → kv-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-mutation-ydgy0jv4.js → kv-8q61w4ba.js} +8 -8
- package/dist/chunks/{location-mutation-5vdq9pgq.js → kv-8rqjran1.js} +22 -22
- package/dist/chunks/{location-mutation-b7btgvj5.js → kv-8v6rjhh5.js} +4 -4
- package/dist/chunks/{location-mutation-18fjsgbr.js → kv-8xsa2z82.js} +29 -29
- package/dist/chunks/{location-mutation-qaa2yvb1.js → kv-9065type.js} +25 -25
- package/dist/chunks/{location-mutation-frptvanx.js → kv-9b7gtj9m.js} +21 -21
- package/dist/chunks/{location-mutation-cn3vn15h.js → kv-9bqmh40y.js} +24 -24
- package/dist/chunks/{location-mutation-9tc9jvay.js → kv-9jgjgdd1.js} +84 -84
- package/dist/chunks/{location-mutation-jca4demv.js → kv-9jwxq161.js} +2 -2
- package/dist/chunks/{location-mutation-43q23gcr.js → kv-9mnxndb9.js} +9 -9
- package/dist/chunks/{location-mutation-5c4hm403.js → kv-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-mutation-b97j21th.js → kv-a1dpd8an.js} +19 -19
- package/dist/chunks/{location-mutation-g2z23txw.js → kv-a8z9aywv.js} +32 -32
- package/dist/chunks/{location-mutation-6zprjfx5.js → kv-a9dbeg1s.js} +41 -41
- package/dist/chunks/{location-mutation-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{location-mutation-zkfs0tv5.js → kv-ab55kpvp.js} +45 -45
- package/dist/chunks/{location-mutation-y16p1w2y.js → kv-aej8eep8.js} +9 -9
- package/dist/chunks/{location-mutation-t3zkw3za.js → kv-ahg2fzmr.js} +17 -17
- package/dist/chunks/{location-mutation-rkfnr0xp.js → kv-b06qraw3.js} +1 -1
- package/dist/chunks/{location-mutation-w8qbsc09.js → kv-b0qgzce7.js} +24 -24
- package/dist/chunks/{location-mutation-fzw6kvvp.js → kv-b2k91mhf.js} +23 -23
- package/dist/chunks/{location-mutation-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mutation-b5mcfzkp.js → kv-b7kqv799.js} +5 -5
- package/dist/chunks/{location-mutation-e6hmchc5.js → kv-bgxcxs0p.js} +5 -5
- package/dist/chunks/{location-mutation-jqe8c22f.js → kv-bk6ae5dx.js} +38 -38
- package/dist/chunks/{location-mutation-a8v3d86t.js → kv-btb98dpx.js} +11 -11
- package/dist/chunks/{location-mutation-n0tvqc4h.js → kv-btqa3k48.js} +11 -11
- package/dist/chunks/{location-mutation-cm78evcp.js → kv-bwf58ycy.js} +4 -4
- package/dist/chunks/{location-mutation-hptm3x45.js → kv-bx8h19nq.js} +51 -51
- package/dist/chunks/{location-mutation-41rytcpr.js → kv-by29td28.js} +11 -11
- package/dist/chunks/{location-mutation-jqcqaqk1.js → kv-c4v1hkzh.js} +6 -6
- package/dist/chunks/{location-mutation-fn652s59.js → kv-cbtw62a5.js} +13 -13
- package/dist/chunks/{location-mutation-m0jqrx5p.js → kv-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-mutation-1dcx1n9a.js → kv-cg58rktj.js} +35 -35
- package/dist/chunks/{location-mutation-2y3whdx8.js → kv-cjgt99j3.js} +173 -173
- package/dist/chunks/{location-mutation-c765mh8b.js → kv-cpneeje0.js} +8 -8
- package/dist/chunks/kv-ctefx7dc.js +18 -0
- package/dist/chunks/{location-mutation-8w4b0w14.js → kv-cyets4p7.js} +28 -28
- package/dist/chunks/{location-mutation-yefjccnd.js → kv-cyrsd82e.js} +27 -27
- package/dist/chunks/{location-mutation-kansrtmv.js → kv-d5g8gbry.js} +21 -21
- package/dist/chunks/{location-mutation-965jek49.js → kv-d74pyvff.js} +7 -7
- package/dist/chunks/{location-mutation-crtwvk10.js → kv-djncmbp2.js} +14 -14
- package/dist/chunks/{location-mutation-8pt1jyw7.js → kv-dmwq5kqt.js} +19 -19
- package/dist/chunks/{location-mutation-65jmxcge.js → kv-dq2ts99x.js} +17 -17
- package/dist/chunks/{location-mutation-zja6ntk0.js → kv-dq6dnsx7.js} +11 -11
- package/dist/chunks/{location-mutation-rvsn1kwz.js → kv-dqrd5jg2.js} +29 -29
- package/dist/chunks/{location-mutation-1xykv8xw.js → kv-e03c71z8.js} +10 -10
- package/dist/chunks/{location-mutation-3k04zyzs.js → kv-e5ndp2dx.js} +11 -11
- package/dist/chunks/{location-mutation-y9vcbm1p.js → kv-e5tcccaa.js} +11 -11
- package/dist/chunks/{location-mutation-8r1zxxnv.js → kv-e7w4bzfp.js} +13 -13
- package/dist/chunks/{location-mutation-ec87kc5z.js → kv-ec87kc5z.js} +1 -1
- package/dist/chunks/{location-mutation-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-mutation-kwyenn5c.js → kv-ep7hvg3f.js} +23 -23
- package/dist/chunks/{location-mutation-760hvg9h.js → kv-eqk40qcs.js} +3 -3
- package/dist/chunks/{location-mutation-erw5rpbs.js → kv-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-mutation-h6syajn5.js → kv-etdwcn18.js} +3 -3
- package/dist/chunks/{location-mutation-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-mutation-sj6hyns7.js → kv-eyjms8xz.js} +44 -44
- package/dist/chunks/{location-mutation-2n6xcrtw.js → kv-f447m1fr.js} +15 -15
- package/dist/chunks/{location-mutation-5ntswbj3.js → kv-f5gy8qwh.js} +8 -8
- package/dist/chunks/{location-mutation-hdnk95c8.js → kv-f828m53h.js} +2 -2
- package/dist/chunks/{location-mutation-c2h7be1y.js → kv-fm57n0ag.js} +8 -8
- package/dist/chunks/{location-mutation-he6wdzpy.js → kv-fzz5a1bx.js} +9 -9
- package/dist/chunks/{location-mutation-g190xswt.js → kv-g190xswt.js} +1 -1
- package/dist/chunks/{location-mutation-8ank75fn.js → kv-g1sxm558.js} +8 -8
- package/dist/chunks/{location-mutation-cxds2wxd.js → kv-g2t41m45.js} +20 -20
- package/dist/chunks/{location-mutation-ver2men6.js → kv-g3dp65zv.js} +10 -10
- package/dist/chunks/{location-mutation-s9s562vb.js → kv-g7rwz86d.js} +19 -19
- package/dist/chunks/{location-mutation-4j809b3d.js → kv-gbwwsy1c.js} +13 -13
- package/dist/chunks/{location-mutation-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-mutation-jt89ckk3.js → kv-gfb2xgah.js} +9 -9
- package/dist/chunks/{location-mutation-ja93bcmn.js → kv-gh6rxzv3.js} +12 -12
- package/dist/chunks/{location-mutation-qt5asz00.js → kv-gnezz7kq.js} +22 -22
- package/dist/chunks/{location-mutation-3emyecbb.js → kv-gqb9mtgp.js} +88 -88
- package/dist/chunks/{location-mutation-gv6a8nnw.js → kv-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-mutation-h69yr78q.js → kv-gxa50yrh.js} +18 -18
- package/dist/chunks/{location-mutation-t1w7zdgx.js → kv-h0gywk7f.js} +17 -17
- package/dist/chunks/{location-mutation-cpj0znwe.js → kv-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-mutation-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-mutation-zcqf6png.js → kv-h896pcm5.js} +6 -6
- package/dist/chunks/{location-mutation-ye6tmwz4.js → kv-hc50k08t.js} +9 -9
- package/dist/chunks/{location-mutation-t7ph3h46.js → kv-hdmd1s5h.js} +11 -11
- package/dist/chunks/{location-mutation-q7tj62n7.js → kv-hf4dxjes.js} +33 -33
- package/dist/chunks/{location-mutation-3c4e3q8d.js → kv-hfdr1yjj.js} +4 -4
- package/dist/chunks/{location-mutation-vry9y5h5.js → kv-hx22bhvn.js} +23 -23
- package/dist/chunks/{location-mutation-gseev5jd.js → kv-hzed07nt.js} +6 -6
- package/dist/chunks/{location-mutation-9pajzaat.js → kv-j3cbebdz.js} +13 -13
- package/dist/chunks/{location-mutation-xsytrpqt.js → kv-j3h20tjh.js} +6 -6
- package/dist/chunks/{location-mutation-pnv527nz.js → kv-j3s2z371.js} +9 -9
- package/dist/chunks/{location-mutation-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{location-mutation-2gp9g042.js → kv-j6bphecn.js} +17 -17
- package/dist/chunks/{location-mutation-fy2r6802.js → kv-j710vash.js} +12 -12
- package/dist/chunks/{location-mutation-xpk8r8b8.js → kv-jea42s8g.js} +25 -25
- package/dist/chunks/{location-mutation-z58mz0mp.js → kv-jg5nd6aq.js} +25 -25
- package/dist/chunks/{location-mutation-j4g6bjqf.js → kv-jqb7tdaw.js} +8 -8
- package/dist/chunks/{location-mutation-r9vycjg2.js → kv-jte7tjff.js} +11 -11
- package/dist/chunks/{location-mutation-r46pqq1s.js → kv-jtg3fve7.js} +7 -7
- package/dist/chunks/{location-mutation-415g09m0.js → kv-jymhh06g.js} +10 -10
- package/dist/chunks/{location-mutation-nzks3jc8.js → kv-k3c624dm.js} +3 -3
- package/dist/chunks/{location-mutation-etdfdz9n.js → kv-kahgbyje.js} +17 -17
- package/dist/chunks/{location-mutation-gw3jpy4y.js → kv-kghsa48y.js} +19 -19
- package/dist/chunks/{location-mutation-avzvtmgr.js → kv-ks1687eg.js} +30 -30
- package/dist/chunks/{location-mutation-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-mutation-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/kv-mkcktwrm.js +252 -0
- package/dist/chunks/{location-mutation-9m8se1t0.js → kv-mmt72t0k.js} +13 -13
- package/dist/chunks/{location-mutation-ks0b5fhh.js → kv-mqdxs2wn.js} +10 -10
- package/dist/chunks/{location-mutation-bj3p2s8f.js → kv-mrn44fwv.js} +35 -35
- package/dist/chunks/{location-mutation-kp86r9b3.js → kv-mzd4qxry.js} +32 -32
- package/dist/chunks/{location-mutation-a1r0sk56.js → kv-na3wjac3.js} +8 -8
- package/dist/chunks/{location-mutation-a3kw06th.js → kv-nby32ptr.js} +29 -29
- package/dist/chunks/{location-mutation-2d57kztd.js → kv-nqnxh7mc.js} +6 -6
- package/dist/chunks/{location-mutation-3cawfvg9.js → kv-nxw95max.js} +16 -16
- package/dist/chunks/{location-mutation-9v8wx44b.js → kv-nyh2ypn1.js} +8 -8
- package/dist/chunks/{location-mutation-cpmmh3r9.js → kv-p0aq747x.js} +11 -11
- package/dist/chunks/{location-mutation-c1df4dj7.js → kv-p1aa38cv.js} +22 -22
- package/dist/chunks/{location-mutation-pa8pe2x7.js → kv-p37cw4rj.js} +8 -8
- package/dist/chunks/{location-mutation-eqxdc8mp.js → kv-pckzp1dd.js} +2 -2
- package/dist/chunks/{location-mutation-8f5p4pwe.js → kv-pe889297.js} +34 -34
- package/dist/chunks/{location-mutation-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-mutation-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{location-mutation-sd4hb3jk.js → kv-pnapwefn.js} +47 -47
- package/dist/chunks/{location-mutation-83dgf92e.js → kv-pv9k352q.js} +7 -7
- package/dist/chunks/{location-mutation-xyqjfxv0.js → kv-q9qfx9t0.js} +21 -21
- package/dist/chunks/{location-mutation-c9kahmjr.js → kv-qcaxkbzb.js} +23 -23
- package/dist/chunks/{location-mutation-qdbakdjh.js → kv-qdbakdjh.js} +2 -2
- package/dist/chunks/{location-mutation-qgn6gcr1.js → kv-qgn6gcr1.js} +1 -1
- package/dist/chunks/{location-mutation-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{location-mutation-0e212dhy.js → kv-qy6w65wj.js} +3 -3
- package/dist/chunks/{location-mutation-qxt041pa.js → kv-r9ds02vs.js} +25 -25
- package/dist/chunks/{location-mutation-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-mutation-xv8bhmcn.js → kv-rjq8wmvv.js} +15 -15
- package/dist/chunks/{location-mutation-sgtdr5xd.js → kv-rv6yjsw0.js} +5 -5
- package/dist/chunks/{location-mutation-d4yhjfbe.js → kv-rwjqg74r.js} +32 -32
- package/dist/chunks/{location-mutation-zq3deerb.js → kv-rx89pc2r.js} +47 -47
- package/dist/chunks/{location-mutation-rc523c8n.js → kv-ryr1zws9.js} +33 -33
- package/dist/chunks/{location-mutation-02nrjc1r.js → kv-s8d7rejh.js} +8 -8
- package/dist/chunks/{location-mutation-818pfwc9.js → kv-saaf3fxb.js} +6 -6
- package/dist/chunks/{location-mutation-5jx0ywhf.js → kv-saj8ej6e.js} +11 -11
- package/dist/chunks/{location-mutation-yf8gt2v7.js → kv-scpwyfk8.js} +22 -22
- package/dist/chunks/{location-mutation-q3t37ft6.js → kv-skyymkrr.js} +3 -3
- package/dist/chunks/{location-mutation-jkkh0dgx.js → kv-srtmpgmy.js} +8 -8
- package/dist/chunks/{location-mutation-k9d40v1y.js → kv-ssdqnhy0.js} +4 -4
- package/dist/chunks/{location-mutation-k6y504h4.js → kv-sycq1qnd.js} +30 -30
- package/dist/chunks/{location-mutation-4key4fq7.js → kv-szbjvnna.js} +4 -4
- package/dist/chunks/{location-mutation-7errh0f2.js → kv-t8t07vn8.js} +17 -17
- package/dist/chunks/{location-mutation-1rmaqtrx.js → kv-t9d84gp7.js} +4 -4
- package/dist/chunks/{location-mutation-jxc4myrx.js → kv-taxb8c86.js} +43 -43
- package/dist/chunks/{location-mutation-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-mutation-mp1fmwr2.js → kv-tc43054m.js} +5 -5
- package/dist/chunks/{location-mutation-89znhe33.js → kv-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-mutation-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{location-mutation-nswc3ws5.js → kv-tdx2ferx.js} +8 -8
- package/dist/chunks/{location-mutation-2h7nr2dq.js → kv-th0fvjg2.js} +7 -7
- package/dist/chunks/{location-mutation-jvr0a44c.js → kv-tj17d411.js} +8 -8
- package/dist/chunks/{location-mutation-6m9azzzz.js → kv-tk40ge2q.js} +40 -40
- package/dist/chunks/{location-mutation-qhq71jc6.js → kv-tng621aa.js} +32 -32
- package/dist/chunks/{location-mutation-ryr2m08g.js → kv-tt61f65p.js} +4 -4
- package/dist/chunks/{location-mutation-tvtrv512.js → kv-tvtrv512.js} +1 -1
- package/dist/chunks/{location-mutation-zbb1t9ts.js → kv-twegnk1a.js} +8 -8
- package/dist/chunks/{location-mutation-sqy4ahhk.js → kv-v3sgzvyr.js} +1 -1
- package/dist/chunks/{location-mutation-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{location-mutation-1d112cb4.js → kv-vjptwcqz.js} +20 -20
- package/dist/chunks/{location-mutation-xx9kgtw1.js → kv-vkcvdpjh.js} +27 -27
- package/dist/chunks/{location-mutation-0rcbddbz.js → kv-vmzm20dx.js} +5 -5
- package/dist/chunks/{location-mutation-00z3vp5f.js → kv-vncycja5.js} +4 -4
- package/dist/chunks/{location-mutation-86czshtb.js → kv-vrqcba6b.js} +4 -4
- package/dist/chunks/{location-mutation-vtxr0yy2.js → kv-vtxr0yy2.js} +2 -2
- package/dist/chunks/{location-mutation-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-mutation-pw9v3g6d.js → kv-w1ad28wa.js} +8 -8
- package/dist/chunks/{location-mutation-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-mutation-8ga603cp.js → kv-w7tywmb9.js} +12 -12
- package/dist/chunks/{location-mutation-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{location-mutation-nkf7ea5p.js → kv-we2ehp3j.js} +50 -50
- package/dist/chunks/{location-mutation-6jm6bgjn.js → kv-we5eykgc.js} +15 -15
- package/dist/chunks/{location-mutation-j7sdw5nk.js → kv-wp96n48x.js} +5 -5
- package/dist/chunks/{location-mutation-z06cc0jq.js → kv-wxqhnnpd.js} +11 -11
- package/dist/chunks/{location-mutation-r23z5d8f.js → kv-wzr2e2gd.js} +12 -12
- package/dist/chunks/{location-mutation-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-mutation-0hmy5ypz.js → kv-xdzjzbp4.js} +10 -10
- package/dist/chunks/{location-mutation-qqeeq2t9.js → kv-xfkkasph.js} +7 -7
- package/dist/chunks/{location-mutation-say5sfs8.js → kv-xmvnvct5.js} +19 -19
- package/dist/chunks/{location-mutation-8sfmeb4x.js → kv-xpzqyyxp.js} +5 -5
- package/dist/chunks/{location-mutation-jp1d2c53.js → kv-xw59r1n4.js} +11 -11
- package/dist/chunks/{location-mutation-xpnq3dj5.js → kv-xypewtc4.js} +29 -29
- package/dist/chunks/{location-mutation-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-mutation-0yd4bm3n.js → kv-y3pxdktb.js} +8 -8
- package/dist/chunks/{location-mutation-147kkz38.js → kv-y49vr829.js} +8 -8
- package/dist/chunks/{location-mutation-dpkg50ah.js → kv-y71avatq.js} +4 -4
- package/dist/chunks/{location-mutation-rqt3ht1f.js → kv-yazkjqj6.js} +6 -6
- package/dist/chunks/{location-mutation-hnz1vd55.js → kv-ygknhksg.js} +7 -7
- package/dist/chunks/{location-mutation-1acjjqhc.js → kv-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-mutation-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-mutation-yrznvahk.js → kv-yrznvahk.js} +2 -2
- package/dist/chunks/{location-mutation-s8zy8myc.js → kv-yt0fqk68.js} +5 -5
- package/dist/chunks/{location-mutation-h04cqsq0.js → kv-yvvvp4gn.js} +8 -8
- package/dist/chunks/{location-mutation-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-mutation-pxq2x33y.js → kv-z37ms1s1.js} +25 -25
- package/dist/chunks/{location-mutation-jw9sfpm0.js → kv-z543s5m4.js} +3 -3
- package/dist/chunks/{location-mutation-z63w68vq.js → kv-z63w68vq.js} +2 -2
- package/dist/chunks/{location-mutation-eztkbwah.js → kv-z7f79qsj.js} +15 -15
- package/dist/chunks/{location-mutation-f9pjpvtx.js → kv-z9d24bxr.js} +73 -73
- package/dist/chunks/{location-mutation-ddt2bs9e.js → kv-zav06jzw.js} +4 -4
- package/dist/chunks/{location-mutation-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-mutation-bt0ey53w.js → kv-zq6zx8a5.js} +11 -11
- package/dist/chunks/{location-mutation-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-mutation-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- 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 +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +138 -138
- 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 +87 -87
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- 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 +125 -125
- 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 +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 +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +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 +224 -224
- 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 +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- 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 +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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- 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 +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- 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 +101 -101
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +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/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- 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 +89 -89
- 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 +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +2 -2
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +88 -88
- 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 +133 -133
- package/dist/session/context.js +151 -151
- 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 +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- 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 +118 -118
- 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 +230 -230
- 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 +125 -125
- 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 +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +9 -9
- 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 +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- 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 +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +1 -1
- 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 +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- 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/location-mutation-emdvc7y7.js +0 -503
- package/dist/chunks/location-mutation-gbadjzag.js +0 -4
- package/dist/chunks/location-mutation-p7p1ybb8.js +0 -26
- package/dist/chunks/location-mutation-vnkjks7b.js +0 -18
- package/dist/chunks/location-mutation-xgef326k.js +0 -252
- /package/dist/chunks/{location-mutation-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-mutation-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-mutation-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-mutation-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-mutation-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-mutation-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-mutation-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-mutation-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-mutation-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-mutation-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-mutation-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{location-mutation-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-mutation-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-mutation-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-mutation-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-mutation-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-mutation-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-mutation-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-mutation-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{location-mutation-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-mutation-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-mutation-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{location-mutation-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-mutation-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-mutation-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{location-mutation-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-mutation-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-mutation-922hggd3.js → kv-922hggd3.js} +0 -0
- /package/dist/chunks/{location-mutation-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-mutation-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-mutation-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-mutation-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-mutation-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-mutation-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-mutation-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-mutation-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-mutation-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-mutation-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-mutation-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-mutation-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-mutation-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-mutation-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-mutation-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-mutation-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{location-mutation-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-mutation-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-mutation-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-mutation-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-mutation-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-mutation-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-mutation-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-mutation-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-mutation-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-mutation-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-mutation-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-mutation-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-mutation-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{location-mutation-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-mutation-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{location-mutation-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-mutation-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{location-mutation-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-mutation-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-mutation-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-mutation-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-mutation-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-mutation-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mutation-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-mutation-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-mutation-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-mutation-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-mutation-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-mutation-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-mutation-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-mutation-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-mutation-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-mutation-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-mutation-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-mutation-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-mutation-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-mutation-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-mutation-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-mutation-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-mutation-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-mutation-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-mutation-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-mutation-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-mutation-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-mutation-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-mutation-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{location-mutation-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-mutation-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-mutation-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-mutation-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-mutation-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-mutation-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./kv-we2ehp3j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service52
|
|
10
|
+
} from "./kv-742d1swr.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill3 = {};
|
|
17
17
|
__export(exports_skill3, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input2,
|
|
19
|
+
Output: () => Output2,
|
|
20
|
+
Plugin: () => Plugin37,
|
|
21
21
|
SkillTool: () => exports_skill3,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name2,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name2 = "skill";
|
|
30
|
+
var Input2 = Schema.Struct({
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin37 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service52;
|
|
51
|
+
const permission = yield* Service63;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name2,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input2,
|
|
57
|
+
output: Output2,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name2,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin47 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name2, Input2, Output2, description2, toModelOutput2, Plugin37, exports_skill3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-pckzp1dd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service19
|
|
9
|
+
} from "./kv-we5eykgc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service12
|
|
12
|
+
} from "./kv-a1dpd8an.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-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
|
+
Service9
|
|
27
|
+
} from "./kv-dq2ts99x.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./kv-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: () => Input7,
|
|
36
|
+
Plugin: () => Plugin43,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name7,
|
|
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 name7 = "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 Input7 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin43 = {
|
|
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* Service9;
|
|
62
|
+
const access = yield* Service19;
|
|
63
|
+
const sessionInstructions = yield* Service12;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name7,
|
|
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: Input7,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin48 = {
|
|
|
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 { name7, Input7, Plugin43, toModelContent3, exports_read };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./kv-wzr2e2gd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service18,
|
|
6
|
+
Event3
|
|
7
|
+
} from "./kv-1f9k274t.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service18;
|
|
33
|
+
const bus = yield* Service82;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./kv-eyjms8xz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service11
|
|
6
|
+
} from "./kv-3mpqv36z.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction2 = {};
|
|
16
16
|
__export(exports_compaction2, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin29
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin29 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service44;
|
|
26
|
+
const compaction = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin22 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin29, exports_compaction2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service44
|
|
4
|
+
} from "./kv-eyjms8xz.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin11,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin11 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service44;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin13 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin11, exports_warming };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./kv-6zdscwh2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./kv-eyjms8xz.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-c4v1hkzh.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 make6(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* Service44;
|
|
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 = ID12.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 = make6();
|
|
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 { make6, VLLMPlugin2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./kv-9bqmh40y.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./kv-saaf3fxb.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-tt61f65p.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./kv-eyjms8xz.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./kv-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin25
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin25 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service44;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin28 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID9.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID9.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin25, exports_agent2 };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-eqk40qcs.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./kv-wzr2e2gd.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-vtxr0yy2.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./kv-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./kv-8p4f9s12.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./kv-a1bz86dw.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./kv-qcaxkbzb.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./kv-hfdr1yjj.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./kv-h0gywk7f.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./kv-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./kv-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node33
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -276,7 +276,7 @@ function projectIdle(db, event) {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
279
|
-
const bus = yield*
|
|
279
|
+
const bus = yield* Service82;
|
|
280
280
|
const db = (yield* Service84).db;
|
|
281
281
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
282
282
|
const stored = yield* db.insert(SessionTable2).values({
|
|
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
459
459
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
460
460
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
461
461
|
}));
|
|
462
|
-
var
|
|
462
|
+
var node33 = makeGlobalNode({ name: "session-projector", layer, deps: [node86, node88] });
|
|
463
463
|
|
|
464
|
-
export { SessionAlreadyProjected2,
|
|
464
|
+
export { SessionAlreadyProjected2, node33, exports_projector };
|