@opencode/core 0.0.0-dev-20195 → 0.0.0-dev-20197
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 +73 -73
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{config-8gx3jvtz.js → tool-output-02k8mbxw.js} +18 -18
- package/dist/chunks/{config-96aey767.js → tool-output-0476n2vb.js} +30 -30
- package/dist/chunks/{config-2vas31rw.js → tool-output-04z3bh7m.js} +15 -15
- package/dist/chunks/{config-gg3hnhsj.js → tool-output-0bfcnrg1.js} +1 -1
- package/dist/chunks/{config-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-jjzhwb0d.js → tool-output-0qhs5d8m.js} +6 -6
- package/dist/chunks/{config-yp2x3t23.js → tool-output-1acjjqhc.js} +4 -4
- package/dist/chunks/{config-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-p0pcj68s.js → tool-output-1eg4nxfw.js} +8 -8
- package/dist/chunks/{config-0sm4f45j.js → tool-output-1pyenv6t.js} +27 -27
- package/dist/chunks/{config-0anx78yw.js → tool-output-1qd4j2m8.js} +9 -9
- package/dist/chunks/{config-ce09rktv.js → tool-output-1qmdv5mp.js} +19 -19
- package/dist/chunks/{config-f72dzx6j.js → tool-output-1v370h9c.js} +20 -20
- package/dist/chunks/{config-33w4ejhs.js → tool-output-1ygqh575.js} +6 -6
- package/dist/chunks/{config-21r38tys.js → tool-output-21r38tys.js} +1 -1
- package/dist/chunks/{config-kzc3h1h3.js → tool-output-277eer69.js} +4 -4
- package/dist/chunks/{config-0f6jxcrw.js → tool-output-28bphpdr.js} +8 -8
- package/dist/chunks/{config-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-7tbn3xvm.js → tool-output-2jspd48j.js} +14 -14
- package/dist/chunks/{config-znhb3s94.js → tool-output-2kswpgjc.js} +2 -2
- package/dist/chunks/{config-4wgr6ws5.js → tool-output-2pcq2b87.js} +33 -33
- package/dist/chunks/{config-evbgk2k8.js → tool-output-37s12vcn.js} +5 -5
- package/dist/chunks/{config-qys7aaaj.js → tool-output-37yavxgr.js} +16 -16
- package/dist/chunks/{config-s0e1y9y9.js → tool-output-38xgxzt4.js} +15 -15
- package/dist/chunks/{config-7gzq7424.js → tool-output-3crxstbh.js} +25 -25
- package/dist/chunks/{config-tb3b9sw6.js → tool-output-3cvhxgkj.js} +12 -12
- package/dist/chunks/{config-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-36j2y7hk.js → tool-output-3kgczs2p.js} +314 -314
- package/dist/chunks/{config-epaabzb0.js → tool-output-3qst95dy.js} +27 -27
- package/dist/chunks/{config-h4ekgxw3.js → tool-output-3s5dsf8j.js} +6 -6
- package/dist/chunks/{config-ed84fsvm.js → tool-output-3sb832nx.js} +12 -12
- package/dist/chunks/{config-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-hdfwwe2n.js → tool-output-3vd6wzb1.js} +6 -6
- package/dist/chunks/{config-n9ymfxxx.js → tool-output-3wyzb0e5.js} +30 -30
- package/dist/chunks/{config-qr30w61m.js → tool-output-3ynbcv91.js} +31 -31
- package/dist/chunks/{config-3zsf4n22.js → tool-output-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-3acv6brs.js → tool-output-450b7bpx.js} +11 -11
- package/dist/chunks/{config-xpac2x5a.js → tool-output-49y6vd17.js} +6 -6
- package/dist/chunks/{config-je7tdbs0.js → tool-output-4dcj001e.js} +33 -33
- package/dist/chunks/{config-sskdr19r.js → tool-output-4p4tbajs.js} +1 -1
- package/dist/chunks/{config-454kp9wr.js → tool-output-4qm2ah6d.js} +14 -14
- package/dist/chunks/{config-spn7hksh.js → tool-output-4s0ggjef.js} +12 -12
- package/dist/chunks/{config-mnn4rm54.js → tool-output-5076cmfm.js} +20 -20
- package/dist/chunks/{config-47q4gzaj.js → tool-output-55sk2spr.js} +24 -24
- package/dist/chunks/{config-57ez7d0k.js → tool-output-57ez7d0k.js} +2 -2
- package/dist/chunks/{config-jb5eh492.js → tool-output-58bfgm1g.js} +16 -16
- package/dist/chunks/{config-ndmv45hp.js → tool-output-5cmxdwv8.js} +3 -3
- package/dist/chunks/{config-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
- package/dist/chunks/{config-vd4t73rm.js → tool-output-5e093kp3.js} +22 -22
- package/dist/chunks/{config-js82azy0.js → tool-output-5fq0cf9t.js} +12 -12
- package/dist/chunks/{config-e93201sm.js → tool-output-5mt7yacn.js} +15 -15
- package/dist/chunks/{config-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-bd9sv20n.js → tool-output-5v83nwmj.js} +25 -25
- package/dist/chunks/{config-6zycmakc.js → tool-output-5yh2dfjr.js} +11 -11
- package/dist/chunks/{config-295dersz.js → tool-output-614kmz4v.js} +15 -15
- package/dist/chunks/{config-669tq793.js → tool-output-669tq793.js} +1 -1
- package/dist/chunks/{config-2402vzrj.js → tool-output-6h73sxmp.js} +5 -5
- package/dist/chunks/{config-6msgmcgs.js → tool-output-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-8zwfmhx2.js → tool-output-6p4rprcy.js} +15 -15
- package/dist/chunks/{config-7np6y5v9.js → tool-output-6wr1j3sy.js} +5 -5
- package/dist/chunks/{config-19m0y6e0.js → tool-output-6xx0w84m.js} +25 -25
- package/dist/chunks/{config-n05ctsyv.js → tool-output-716zbwxy.js} +5 -5
- package/dist/chunks/{config-1sh6c7wg.js → tool-output-71q4y7v2.js} +35 -35
- package/dist/chunks/{config-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-7dqw4kz8.js → tool-output-7dqw4kz8.js} +1 -1
- package/dist/chunks/{config-ref9hxfn.js → tool-output-7ffj36et.js} +14 -14
- package/dist/chunks/{config-7r2ns73q.js → tool-output-7nfz6ryh.js} +24 -24
- package/dist/chunks/{config-mwwmpq4r.js → tool-output-7xfrhwkv.js} +34 -34
- package/dist/chunks/{config-cmfxejye.js → tool-output-7yxjqz7x.js} +3 -3
- package/dist/chunks/{config-ekp917ff.js → tool-output-7zzzc068.js} +11 -11
- package/dist/chunks/{config-0ny8pk0m.js → tool-output-82gbt3vt.js} +3 -3
- package/dist/chunks/{config-297axkkc.js → tool-output-83rmg7kz.js} +15 -15
- package/dist/chunks/{config-axcxkett.js → tool-output-8492vyn7.js} +17 -17
- package/dist/chunks/{config-had4kgfk.js → tool-output-87deq66t.js} +6 -6
- package/dist/chunks/{config-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-7tx5g9sa.js → tool-output-8fw23d1s.js} +27 -27
- package/dist/chunks/{config-1v5g7h7z.js → tool-output-8tdwwcb4.js} +7 -7
- package/dist/chunks/{config-gmwd0m74.js → tool-output-8yszrpyq.js} +42 -42
- package/dist/chunks/{config-js1bgrk5.js → tool-output-91qrwzar.js} +10 -10
- package/dist/chunks/{config-gfvb90ym.js → tool-output-94ek1h2f.js} +2 -2
- package/dist/chunks/{config-ak1tpw6q.js → tool-output-9de33ba1.js} +2 -2
- package/dist/chunks/{config-eh4jt04e.js → tool-output-9e2vsbeh.js} +12 -12
- package/dist/chunks/{config-9hn6k4tm.js → tool-output-9hn6k4tm.js} +1 -1
- package/dist/chunks/{config-2a6rn6yr.js → tool-output-9r15s34d.js} +6 -6
- package/dist/chunks/{config-jt56r67m.js → tool-output-9vt6ftyg.js} +13 -13
- package/dist/chunks/{config-chx6d6tt.js → tool-output-9wm6pnp3.js} +10 -10
- package/dist/chunks/{config-35zdc76s.js → tool-output-9ww363be.js} +22 -22
- package/dist/chunks/{config-70gxshxr.js → tool-output-9zzmcsar.js} +1 -1
- package/dist/chunks/{config-5ezt1pd0.js → tool-output-a1yb6yjd.js} +22 -22
- package/dist/chunks/{config-fvve35qg.js → tool-output-a356yfxf.js} +25 -25
- package/dist/chunks/{config-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
- package/dist/chunks/{config-bkxzp8j2.js → tool-output-an7t1n2z.js} +3 -3
- package/dist/chunks/{config-h2gfwxs3.js → tool-output-anxbc3wp.js} +90 -90
- package/dist/chunks/{config-1zgcewym.js → tool-output-arvmqj63.js} +20 -20
- package/dist/chunks/{config-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-abney02d.js → tool-output-bgfkqmt3.js} +28 -28
- package/dist/chunks/{config-ekr1tkzw.js → tool-output-bj6gcr9n.js} +3 -3
- package/dist/chunks/{config-fs4g4s7s.js → tool-output-bkvk4kr6.js} +12 -12
- package/dist/chunks/{config-v991q2ks.js → tool-output-bmwt7k0m.js} +4 -4
- package/dist/chunks/{config-y1zffv57.js → tool-output-bnxdzq2s.js} +8 -8
- package/dist/chunks/{config-p3dfpxct.js → tool-output-bqm1219b.js} +12 -12
- package/dist/chunks/{config-npk6dv14.js → tool-output-bqxasd6f.js} +13 -13
- package/dist/chunks/{config-sjnymxq5.js → tool-output-bsheswfr.js} +45 -45
- package/dist/chunks/{config-8qvzptz7.js → tool-output-bsqx64w4.js} +4 -4
- package/dist/chunks/{config-mrm2rqc2.js → tool-output-bvwpxajt.js} +4 -4
- package/dist/chunks/{config-8j758wh3.js → tool-output-bzp7925c.js} +4 -4
- package/dist/chunks/{config-e3dd7bme.js → tool-output-c85cxar8.js} +6 -6
- package/dist/chunks/{config-d9tzqxjz.js → tool-output-cd3pbzq9.js} +23 -23
- package/dist/chunks/{config-7hvbv13b.js → tool-output-cfamg4rm.js} +31 -31
- package/dist/chunks/{config-54tcyq79.js → tool-output-ckecvw8r.js} +2 -2
- package/dist/chunks/{config-d0g0pqf7.js → tool-output-cm3z3ses.js} +10 -10
- package/dist/chunks/{config-cpj0znwe.js → tool-output-cpj0znwe.js} +1 -1
- package/dist/chunks/{config-80nef7dm.js → tool-output-csaakmaj.js} +12 -12
- package/dist/chunks/{config-cpneeje0.js → tool-output-d4he2qe1.js} +5 -5
- package/dist/chunks/{config-rxbrkmj1.js → tool-output-desf963j.js} +20 -20
- package/dist/chunks/{config-dmqcgk4z.js → tool-output-dmqcgk4z.js} +2 -2
- package/dist/chunks/{config-0r7yqxbf.js → tool-output-e6hmchc5.js} +5 -5
- package/dist/chunks/{config-pf8nwgds.js → tool-output-eae6ke6a.js} +13 -13
- package/dist/chunks/{config-02nrjc1r.js → tool-output-eaj1djv9.js} +4 -4
- package/dist/chunks/{config-ecfe7b91.js → tool-output-ecfe7b91.js} +2 -2
- package/dist/chunks/{config-bdgvyade.js → tool-output-eenxbhqx.js} +14 -14
- package/dist/chunks/{config-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-mnb5mnp1.js → tool-output-egzwfsft.js} +8 -8
- package/dist/chunks/{config-kn2sx07v.js → tool-output-emf5javn.js} +14 -14
- package/dist/chunks/{config-4eem5j9w.js → tool-output-enbb68v0.js} +18 -18
- package/dist/chunks/{config-r3bb402n.js → tool-output-etd5sf72.js} +29 -29
- package/dist/chunks/{config-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-96gkbmz7.js → tool-output-ewfzzsjx.js} +5 -5
- package/dist/chunks/{config-g3e158x3.js → tool-output-ey7sk0a9.js} +18 -18
- package/dist/chunks/{config-6736kgvh.js → tool-output-fnjjvk1c.js} +13 -13
- package/dist/chunks/{config-ze75yzft.js → tool-output-fqtvmpfq.js} +7 -7
- package/dist/chunks/{config-6wksry55.js → tool-output-fr2wvzh6.js} +14 -14
- package/dist/chunks/{config-jtd5a63n.js → tool-output-frsncc3s.js} +9 -9
- package/dist/chunks/{config-2851hzkp.js → tool-output-fyczevxa.js} +15 -15
- package/dist/chunks/{config-1h80sv90.js → tool-output-g2y161wv.js} +8 -8
- package/dist/chunks/{config-4qjdqxbv.js → tool-output-g9jv7xzk.js} +22 -22
- package/dist/chunks/{config-py6e26kd.js → tool-output-g9r39794.js} +12 -12
- package/dist/chunks/{config-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-tdpndm1c.js → tool-output-gfhhve88.js} +5 -5
- package/dist/chunks/{config-hywngpvt.js → tool-output-gg7rmenq.js} +9 -9
- package/dist/chunks/{config-zf4vab36.js → tool-output-gk8v152z.js} +44 -44
- package/dist/chunks/{config-t5vtp9rn.js → tool-output-gn8za3c9.js} +12 -12
- package/dist/chunks/{config-vp67wfqm.js → tool-output-gpe867ck.js} +23 -23
- package/dist/chunks/{config-v03b5pvj.js → tool-output-gppvt8vv.js} +24 -24
- package/dist/chunks/{config-n3mwpccg.js → tool-output-gpwv3ge1.js} +16 -16
- package/dist/chunks/{config-b37sgj8e.js → tool-output-gq1py7cb.js} +12 -12
- package/dist/chunks/{config-jhpaar4x.js → tool-output-grxcxy9j.js} +8 -8
- package/dist/chunks/{config-f5gy8qwh.js → tool-output-gs4tkc79.js} +8 -8
- package/dist/chunks/{config-gv6a8nnw.js → tool-output-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-ez1k74tj.js → tool-output-gxkha9wa.js} +35 -35
- package/dist/chunks/{config-akrnn5pm.js → tool-output-h2r7bbkd.js} +8 -8
- package/dist/chunks/{config-0raz1yy5.js → tool-output-h5152acs.js} +8 -8
- package/dist/chunks/{config-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-59dka41c.js → tool-output-h7dvs9rs.js} +11 -11
- package/dist/chunks/{config-btbmdjwj.js → tool-output-h9pnpq88.js} +4 -4
- package/dist/chunks/{config-tmyxw72k.js → tool-output-hdfyrfze.js} +3 -3
- package/dist/chunks/{config-q8w7nh62.js → tool-output-hea9fv02.js} +22 -22
- package/dist/chunks/{config-zyzwya36.js → tool-output-hpfwqngd.js} +8 -8
- package/dist/chunks/{config-t7jgv0pg.js → tool-output-hxhy065j.js} +54 -54
- package/dist/chunks/{config-g15xs6qb.js → tool-output-hyf900rk.js} +37 -37
- package/dist/chunks/{config-pf2hb43r.js → tool-output-j15mfg1p.js} +6 -6
- package/dist/chunks/{config-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
- package/dist/chunks/{config-vc4tj14c.js → tool-output-j66b007x.js} +18 -18
- package/dist/chunks/{config-d7vvjxwr.js → tool-output-j776t40k.js} +18 -18
- package/dist/chunks/{config-23vj23fc.js → tool-output-j80kp2rt.js} +9 -9
- package/dist/chunks/{config-q2bwdck2.js → tool-output-jdqdsz1a.js} +19 -19
- package/dist/chunks/{config-3xn3pbdy.js → tool-output-jeb6mreh.js} +76 -76
- package/dist/chunks/{config-zxt09vhx.js → tool-output-jgxqkkn7.js} +11 -11
- package/dist/chunks/{config-syxj7ex2.js → tool-output-jn238a97.js} +12 -12
- package/dist/chunks/{config-qj8eh1ht.js → tool-output-jw80jp6b.js} +4 -4
- package/dist/chunks/{config-zcrw2f69.js → tool-output-k0cbpj5z.js} +34 -34
- package/dist/chunks/{config-cmwcq0ka.js → tool-output-k1wnne5z.js} +22 -22
- package/dist/chunks/{config-k3c624dm.js → tool-output-k3c624dm.js} +3 -3
- package/dist/chunks/{config-z9aq390g.js → tool-output-k42c8sen.js} +8 -8
- package/dist/chunks/{config-52tph2md.js → tool-output-k665062s.js} +22 -22
- package/dist/chunks/{config-7bv32vg5.js → tool-output-kad49353.js} +9 -9
- package/dist/chunks/{config-tp4em4fx.js → tool-output-kzxjzzb4.js} +6 -6
- package/dist/chunks/{config-m3fdjcah.js → tool-output-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-ttcp5xkb.js → tool-output-m49k4qsb.js} +13 -13
- package/dist/chunks/{config-nr672dpf.js → tool-output-m8wnj5we.js} +21 -21
- package/dist/chunks/{config-6vda3hdz.js → tool-output-m957sa19.js} +22 -22
- package/dist/chunks/{config-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-m2wvpmrz.js → tool-output-mat3f06q.js} +27 -27
- package/dist/chunks/{config-0hwvvjm7.js → tool-output-mb1xcvby.js} +1 -1
- package/dist/chunks/{config-zj8g04kx.js → tool-output-mg2dap8q.js} +10 -10
- package/dist/chunks/{config-1bbkgx8g.js → tool-output-mhkvc446.js} +3 -3
- package/dist/chunks/{config-tw2sz0rq.js → tool-output-mm81q95b.js} +18 -18
- package/dist/chunks/{config-56ee48df.js → tool-output-mw5sxth6.js} +9 -9
- package/dist/chunks/{config-0jtesnr4.js → tool-output-na564qbx.js} +11 -11
- package/dist/chunks/{config-ar4a8fck.js → tool-output-nb5thb39.js} +15 -15
- package/dist/chunks/{config-r9w3djhf.js → tool-output-njhqdk9p.js} +9 -9
- package/dist/chunks/{config-j9bb3hnd.js → tool-output-nnpx8484.js} +5 -5
- package/dist/chunks/{config-xk747vep.js → tool-output-nq7qbqzc.js} +9 -9
- package/dist/chunks/{config-bt976gfq.js → tool-output-ns8t1e06.js} +11 -11
- package/dist/chunks/{config-qdcc6b4g.js → tool-output-nwk50mgs.js} +12 -12
- package/dist/chunks/{config-bey3dpw7.js → tool-output-p5bjm80h.js} +20 -20
- package/dist/chunks/{config-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{config-705e2ap1.js → tool-output-pp7e5es3.js} +5 -5
- package/dist/chunks/{config-6pc27hjz.js → tool-output-py3kkmfq.js} +6 -6
- package/dist/chunks/{config-t7n9q6bq.js → tool-output-q5asdkn4.js} +4 -4
- package/dist/chunks/{config-rjbxhfgb.js → tool-output-q78ev7p5.js} +43 -43
- package/dist/chunks/{config-bhf2qwfw.js → tool-output-q7tcw842.js} +5 -5
- package/dist/chunks/{config-ratrq7cm.js → tool-output-qa3qhgw8.js} +4 -4
- package/dist/chunks/{config-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
- package/dist/chunks/{config-ft0c832p.js → tool-output-qwdx1cah.js} +9 -9
- package/dist/chunks/tool-output-rap9a73h.js +18 -0
- package/dist/chunks/{config-vj9s6wy4.js → tool-output-rb7thn51.js} +37 -37
- package/dist/chunks/{config-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-73k9rh6w.js → tool-output-rhsbsdjb.js} +8 -8
- package/dist/chunks/{config-s10erfkq.js → tool-output-rjfaxz19.js} +4 -4
- package/dist/chunks/{config-6rkpdbb3.js → tool-output-rv24j7hr.js} +28 -28
- package/dist/chunks/{config-4k1w60t0.js → tool-output-rzwbfcyw.js} +6 -6
- package/dist/chunks/{config-xq1shfhv.js → tool-output-s2w2s4e7.js} +10 -10
- package/dist/chunks/{config-a81kfqvn.js → tool-output-s30fyz93.js} +4 -4
- package/dist/chunks/{config-yt0fqk68.js → tool-output-s8zy8myc.js} +5 -5
- package/dist/chunks/{config-y2062v7b.js → tool-output-sbch4zx2.js} +16 -16
- package/dist/chunks/{config-4vek9trb.js → tool-output-sc7c8wzz.js} +25 -25
- package/dist/chunks/{config-43zyxgq8.js → tool-output-sk91p8be.js} +1 -1
- package/dist/chunks/{config-4b92gd6e.js → tool-output-skcsa0b4.js} +28 -28
- package/dist/chunks/{config-knqa2gk8.js → tool-output-spqacxwy.js} +16 -16
- package/dist/chunks/{config-vzbf696k.js → tool-output-t5depjfp.js} +4 -4
- package/dist/chunks/{config-eytwkb2e.js → tool-output-t7g70t9w.js} +23 -23
- package/dist/chunks/{config-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → tool-output-tdstcens.js} +1 -1
- package/dist/chunks/{config-5ay8pqcq.js → tool-output-tg7qkwev.js} +39 -39
- package/dist/chunks/{config-f3qy8zjn.js → tool-output-tjcbfd95.js} +11 -11
- package/dist/chunks/{config-tvtrv512.js → tool-output-tvtrv512.js} +1 -1
- package/dist/chunks/{config-hy7sqhkh.js → tool-output-txhyak7q.js} +16 -16
- package/dist/chunks/{config-2m1z897j.js → tool-output-tybmt5yb.js} +9 -9
- package/dist/chunks/{config-t9zs3egg.js → tool-output-ve4pfa0n.js} +4 -4
- package/dist/chunks/{config-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{config-hx4rcwcn.js → tool-output-vgv1tpsk.js} +8 -8
- package/dist/chunks/{config-hkagk5ex.js → tool-output-vmgq4x8b.js} +2 -2
- package/dist/chunks/{config-wrmrmykr.js → tool-output-vmwh049b.js} +3 -3
- package/dist/chunks/{config-cve16y82.js → tool-output-vnkthj4v.js} +1 -1
- package/dist/chunks/{config-1cf5abn8.js → tool-output-vqzmz37c.js} +7 -7
- package/dist/chunks/{config-t2zkwxfg.js → tool-output-vrwdbnfx.js} +3 -3
- package/dist/chunks/{config-ndqtf2h8.js → tool-output-vyqn3nqs.js} +6 -6
- package/dist/chunks/{config-vzcthcp8.js → tool-output-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-vzs5sf6e.js → tool-output-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-27s8bqjz.js → tool-output-vzzb5xze.js} +7 -7
- package/dist/chunks/tool-output-w2yez0bq.js +252 -0
- package/dist/chunks/{config-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-mff2yvab.js → tool-output-waj6ffv2.js} +3 -3
- package/dist/chunks/{config-s6ymxyzv.js → tool-output-wctfcgtb.js} +6 -6
- package/dist/chunks/{config-psazpmmj.js → tool-output-wd3x2cqz.js} +2 -2
- package/dist/chunks/{config-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/tool-output-wmrnne9v.js +26 -0
- package/dist/chunks/{config-xa04810w.js → tool-output-wqcdy49w.js} +26 -26
- package/dist/chunks/{config-zn5v3n4q.js → tool-output-wwajdw47.js} +9 -9
- package/dist/chunks/{config-x1ezjp6w.js → tool-output-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-eq102nfe.js → tool-output-xex5dmd2.js} +128 -128
- package/dist/chunks/{config-drwq78ky.js → tool-output-xfkkasph.js} +4 -4
- package/dist/chunks/{config-fx5e6na3.js → tool-output-xwm6bryg.js} +4 -4
- package/dist/chunks/{config-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-t1930g8y.js → tool-output-y3t3p5bg.js} +10 -10
- package/dist/chunks/{config-rmxzq7f5.js → tool-output-y49vr829.js} +3 -3
- package/dist/chunks/{config-dpkg50ah.js → tool-output-y71avatq.js} +4 -4
- package/dist/chunks/{config-3t2xcng8.js → tool-output-ya6h1d71.js} +73 -73
- package/dist/chunks/{config-m265mxzt.js → tool-output-ydrddmgm.js} +14 -14
- package/dist/chunks/{config-jjem1y9x.js → tool-output-ydt228pr.js} +31 -31
- package/dist/chunks/{config-0ntvbc7j.js → tool-output-yqhw2aq8.js} +41 -41
- package/dist/chunks/{config-yrhqyw5v.js → tool-output-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-yrznvahk.js → tool-output-yrznvahk.js} +2 -2
- package/dist/chunks/{config-sz7jdn1d.js → tool-output-yxervnn2.js} +8 -8
- package/dist/chunks/{config-h75129nt.js → tool-output-yxssrkkx.js} +1 -1
- package/dist/chunks/{config-bjtzbw4r.js → tool-output-z07pqspn.js} +3 -3
- package/dist/chunks/{config-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-yqz2244c.js → tool-output-z20b7sc7.js} +48 -48
- package/dist/chunks/{config-z63w68vq.js → tool-output-z63w68vq.js} +2 -2
- package/dist/chunks/{config-fwmkx0kr.js → tool-output-z7cms13m.js} +9 -9
- package/dist/chunks/{config-md4c1mf5.js → tool-output-zbq88k2g.js} +43 -43
- package/dist/chunks/{config-g29bj6y9.js → tool-output-zc6f8ctp.js} +26 -26
- package/dist/chunks/{config-07v9x2xm.js → tool-output-zd1b39ra.js} +18 -18
- package/dist/chunks/{config-0fbxv240.js → tool-output-ze4171k7.js} +6 -6
- package/dist/chunks/{config-zeh9ct20.js → tool-output-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-szzydw97.js → tool-output-ztgtdybs.js} +15 -15
- package/dist/chunks/{config-apwn9spd.js → tool-output-zxjhewza.js} +13 -13
- package/dist/chunks/{config-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +99 -99
- 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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +87 -87
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/config-f81tjggh.js +0 -18
- package/dist/chunks/config-nmmpegqz.js +0 -26
- package/dist/chunks/config-tsgjpmhp.js +0 -252
- /package/dist/chunks/{config-0mesazry.js → tool-output-0mesazry.js} +0 -0
- /package/dist/chunks/{config-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-34c7v6d4.js → tool-output-34c7v6d4.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → tool-output-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → tool-output-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → tool-output-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-bj6gcr9n.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node74
|
|
12
|
+
} from "./tool-output-87deq66t.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info25,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service70,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
29
|
configured: () => configured11,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node73
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID10 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info25 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID10,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info32 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID10,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service70 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
61
|
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
-
service:
|
|
62
|
+
service: Service70,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node74]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info25({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service70.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID10.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node73 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID10, Info25, NotFound3, CreateConflict2, Service70, configured11, node73, exports_workspace };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service78
|
|
8
|
+
} from "./tool-output-38xgxzt4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service69
|
|
11
|
+
} from "./tool-output-gpe867ck.js";
|
|
12
12
|
import {
|
|
13
13
|
Service15
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-nnpx8484.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service22,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-9vt6ftyg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service73
|
|
22
|
+
} from "./tool-output-rb7thn51.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service26,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-spqacxwy.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-output-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
|
+
Output: () => Output3,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin38,
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name3 = "patch";
|
|
89
|
+
var Input3 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output3 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin38 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
111
|
+
const environment = yield* Service69;
|
|
112
|
+
const access = yield* Service26;
|
|
113
|
+
const fileMutation = yield* Service22;
|
|
114
114
|
const formatter = yield* Service15;
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const permission = yield* Service73;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin7 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name3, Input3, Applied2, Output3, toModelContent2, Plugin38, exports_patch };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID7
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-a356yfxf.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-c85cxar8.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-na564qbx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./tool-output-gn8za3c9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./tool-output-cfamg4rm.js";
|
|
11
11
|
import {
|
|
12
12
|
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-hea9fv02.js";
|
|
15
15
|
import {
|
|
16
16
|
ID7
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-output-a356yfxf.js";
|
|
18
18
|
import {
|
|
19
19
|
ID6,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-zc6f8ctp.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service80;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID7
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-a356yfxf.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-c85cxar8.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-bj6gcr9n.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-ckecvw8r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
17
|
Info: () => Info28,
|
|
18
|
-
ListInput: () =>
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service74,
|
|
21
|
+
node: () => node78
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
29
|
var Info28 = PermissionSaved.Info;
|
|
30
|
-
var
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service74 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID14.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service74.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node78 = makeGlobalNode({ service: Service74, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID14, Info28, ListInput4, AddInput2, Service74, node78, exports_saved };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./tool-output-gn8za3c9.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
11
|
+
Service78,
|
|
12
12
|
node82
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-38xgxzt4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service65,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node68
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service65 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service80;
|
|
44
|
+
const location = yield* Service78;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service78, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service65.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node68 = makeLocationNode({ service: Service65, layer, deps: [node84, node82] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service65, node68, exports_rpc, define2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node74,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node74 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node74, exports_driver };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./tool-output-gn8za3c9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service39,
|
|
7
|
+
node42
|
|
8
|
+
} from "./tool-output-8yszrpyq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service73,
|
|
11
11
|
node77
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-rb7thn51.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service42,
|
|
15
|
+
node45
|
|
16
|
+
} from "./tool-output-t7g70t9w.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service38,
|
|
26
|
+
layer: () => layer15,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node41
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service38 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer15 = Layer.effect(Service38, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service39;
|
|
42
|
+
const tools = yield* Service42;
|
|
43
|
+
const bus = yield* Service80;
|
|
44
|
+
const permission = yield* Service73;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service38.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node41 = makeLocationNode({
|
|
124
|
+
service: Service38,
|
|
125
|
+
layer: layer15,
|
|
126
|
+
deps: [node45, node42, node84, node77]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service38, layer15, node41, exports_mcp3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./tool-output-bsheswfr.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin12,
|
|
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 Plugin12 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service47;
|
|
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 Plugin29 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin12, exports_warming };
|