@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service66
|
|
4
|
+
} from "./kv-9bqmh40y.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./kv-6zdscwh2.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service44
|
|
12
|
+
} from "./kv-eyjms8xz.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-skyymkrr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service56
|
|
18
|
+
} from "./kv-ahg2fzmr.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service63
|
|
22
|
+
} from "./kv-we2ehp3j.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service28
|
|
25
|
+
} from "./kv-gqb9mtgp.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./kv-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./kv-xw59r1n4.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./kv-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
39
|
+
Input: () => Input10,
|
|
40
40
|
Output: () => Output7,
|
|
41
|
-
Plugin: () =>
|
|
41
|
+
Plugin: () => Plugin46,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name10
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name10 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input10 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -77,7 +77,7 @@ var Output7 = Schema.Struct({
|
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description4 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin46 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service28;
|
|
93
|
+
const jobs = yield* Service56;
|
|
94
|
+
const agents = yield* Service66;
|
|
95
|
+
const config = yield* Service44;
|
|
96
|
+
const permission = yield* Service63;
|
|
97
|
+
const models = yield* Service75;
|
|
98
|
+
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,10 +115,10 @@ var Plugin44 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input10,
|
|
122
122
|
output: Output7,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
@@ -139,7 +139,7 @@ var Plugin44 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name10,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin44 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name10];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name10, Input10, Output7, description4, Plugin46, exports_subagent };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./kv-wzr2e2gd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node48
|
|
7
|
+
} from "./kv-73b8rws5.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service7,
|
|
10
|
+
node8
|
|
11
|
+
} from "./kv-b0qgzce7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service41
|
|
14
|
+
} from "./kv-ctefx7dc.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node25,
|
|
17
|
+
ID3
|
|
18
|
+
} from "./kv-scpwyfk8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service4,
|
|
21
|
+
node5
|
|
22
|
+
} from "./kv-p37cw4rj.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./kv-0d6ct406.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make3,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./kv-na3wjac3.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service2,
|
|
35
|
+
node3
|
|
36
|
+
} from "./kv-e7w4bzfp.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service3,
|
|
39
|
+
node4
|
|
40
|
+
} from "./kv-0jq9fyba.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./kv-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer3,
|
|
50
|
+
node: () => node2
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
116
116
|
failures: [
|
|
117
117
|
...failures.values(),
|
|
118
118
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
119
|
-
id:
|
|
119
|
+
id: ID3.make(plugin.id),
|
|
120
120
|
source: plugin.source ?? { type: "builtin" },
|
|
121
121
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
122
122
|
features: { server: true, ...plugin.features }
|
|
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
pending: [...pending]
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
|
-
var
|
|
129
|
-
const registry = yield*
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
134
|
-
const bus = yield*
|
|
135
|
-
const updates = yield*
|
|
128
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
+
const registry = yield* Service41;
|
|
130
|
+
const sdk = yield* Service2;
|
|
131
|
+
const instance = yield* Service4;
|
|
132
|
+
const sources = yield* Service7;
|
|
133
|
+
const modules = yield* make3();
|
|
134
|
+
const bus = yield* Service82;
|
|
135
|
+
const updates = yield* Service3;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
node25,
|
|
211
|
+
node3,
|
|
212
|
+
node5,
|
|
212
213
|
node8,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
node87,
|
|
214
|
+
node4,
|
|
215
|
+
node86,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node48,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export {
|
|
227
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service61,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node65
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service61 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service61.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node65 = makeLocationNode({ service: Service61, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service61, node65, exports_image2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
node74
|
|
7
|
+
} from "./kv-5c7xdf35.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-skyymkrr.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service56,
|
|
23
|
+
make: () => make18,
|
|
24
|
+
node: () => node58
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service56 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make18 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service70;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make19 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service56.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make19 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service56, make18);
|
|
362
|
+
var node58 = makeGlobalNode({ service: Service56, layer, deps: [node74] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service56, make18, node58, exports_job };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service45,
|
|
3
|
+
node48
|
|
4
|
+
} from "./kv-73b8rws5.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-pckzp1dd.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service44,
|
|
11
|
+
node47
|
|
12
|
+
} from "./kv-eyjms8xz.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service7,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node8
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service7, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service44;
|
|
40
|
+
const watcher = yield* Service45;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service7.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node8 = makeLocationNode({
|
|
74
|
+
service: Service7,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node47, FSUtil.node, node48, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service7,
|
|
80
|
+
layer: Layer.succeed(Service7, Service7.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service7, layer5, node8, empty2, exports_source };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-eqk40qcs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./kv-wzr2e2gd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service50
|
|
9
|
+
} from "./kv-h896pcm5.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID11,
|
|
15
|
+
Service71
|
|
16
|
+
} from "./kv-1gqe2a33.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./kv-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./kv-3zgzsr0q.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./kv-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./kv-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service50;
|
|
46
46
|
const database = yield* Service84;
|
|
47
|
-
const bus = yield*
|
|
47
|
+
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service71;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID11.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service50;
|
|
78
|
+
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service71;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID11.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID11.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|