@opencode/core 0.0.0-dev-20344 → 0.0.0-dev-20345
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-6cqxdj14.js → state-0e4jz1n8.js} +17 -17
- package/dist/chunks/{location-jjpdfk8h.js → state-0npnkq69.js} +20 -20
- package/dist/chunks/{location-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-w561axtn.js → state-0rhrw73v.js} +18 -18
- package/dist/chunks/{location-nz569jqt.js → state-0ryd0fps.js} +5 -5
- package/dist/chunks/{location-dv0n9c2x.js → state-0vpvgsj7.js} +44 -44
- package/dist/chunks/{location-23xej63c.js → state-0zdym56s.js} +6 -6
- package/dist/chunks/{location-g78cg05n.js → state-0zeppm43.js} +7 -7
- package/dist/chunks/{location-tx44wenv.js → state-12xd4ymj.js} +10 -10
- package/dist/chunks/{location-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-x19b8bje.js → state-1eg0141z.js} +1 -1
- package/dist/chunks/{location-7rx9p9hh.js → state-1ejw9j53.js} +19 -19
- package/dist/chunks/{location-2pmtme7c.js → state-1r786k4f.js} +30 -30
- package/dist/chunks/{location-ddrs7t2j.js → state-1wy6918f.js} +8 -8
- package/dist/chunks/{location-5ys6ptk8.js → state-1zgzas4z.js} +36 -36
- package/dist/chunks/{location-5a824ydm.js → state-216bemhx.js} +22 -22
- package/dist/chunks/{location-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{location-29x78va6.js → state-29x78va6.js} +2 -2
- package/dist/chunks/{location-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-68y7phbn.js → state-2angj6gv.js} +12 -12
- package/dist/chunks/{location-6ktz889z.js → state-2bgvn5nj.js} +6 -6
- package/dist/chunks/{location-m5jy6c1p.js → state-2e83wwrs.js} +16 -16
- package/dist/chunks/{location-mwacmns3.js → state-2q2sbzgs.js} +6 -6
- package/dist/chunks/{location-as89ak57.js → state-2vhkgxeb.js} +23 -23
- package/dist/chunks/{location-a67xc8v7.js → state-30pmczq8.js} +13 -13
- package/dist/chunks/{location-exptz1jn.js → state-30sh4j22.js} +10 -10
- package/dist/chunks/{location-8kzf8c2b.js → state-31gw44a1.js} +10 -10
- package/dist/chunks/{location-znsx74x0.js → state-3556dn8t.js} +1 -1
- package/dist/chunks/{location-bks6cz2k.js → state-36qhr83r.js} +27 -27
- package/dist/chunks/{location-f1w4z5f6.js → state-39ad5as0.js} +11 -11
- package/dist/chunks/{location-xj05n8sj.js → state-3e87262r.js} +1 -1
- package/dist/chunks/{location-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-ve4pfa0n.js → state-3j8sdtpz.js} +4 -4
- package/dist/chunks/{location-djanh1gf.js → state-3k4qtam6.js} +28 -28
- package/dist/chunks/{location-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-c91k7ad4.js → state-3ywf2fjx.js} +29 -29
- package/dist/chunks/{location-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-7nh1fm73.js → state-41k2ygh2.js} +9 -9
- package/dist/chunks/{location-bddt2pqj.js → state-41wzkj33.js} +12 -12
- package/dist/chunks/{location-g05cwh14.js → state-4xndpv5p.js} +14 -14
- package/dist/chunks/{location-h9wp8z5w.js → state-4z58m4b4.js} +4 -4
- package/dist/chunks/{location-54ma36ye.js → state-54ma36ye.js} +1 -1
- package/dist/chunks/{location-54tcyq79.js → state-54tcyq79.js} +2 -2
- package/dist/chunks/{location-56gdpj1q.js → state-56gdpj1q.js} +2 -2
- package/dist/chunks/{location-gb5fcfe9.js → state-56xa85j2.js} +5 -5
- package/dist/chunks/{location-k81hr64f.js → state-5adcek81.js} +4 -4
- package/dist/chunks/{location-p91yt6mk.js → state-5d58fczq.js} +17 -17
- package/dist/chunks/{location-v4bf4b2h.js → state-5dak2w70.js} +4 -4
- package/dist/chunks/{location-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{location-nvxqht09.js → state-5epte933.js} +2 -2
- package/dist/chunks/{location-3r5gxg73.js → state-5fbqftap.js} +16 -16
- package/dist/chunks/{location-ndcdw9g8.js → state-5mn92tv3.js} +19 -19
- package/dist/chunks/{location-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-85sw6847.js → state-662ekzyz.js} +24 -24
- package/dist/chunks/{location-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{location-ma15yhyh.js → state-66r9f6z1.js} +5 -5
- package/dist/chunks/{location-4ms6454k.js → state-69vwg8tc.js} +40 -40
- package/dist/chunks/{location-19vf66h0.js → state-6cfd75hy.js} +5 -5
- package/dist/chunks/{location-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-6pc27hjz.js → state-6pc27hjz.js} +2 -2
- package/dist/chunks/{location-vdb8q7n5.js → state-6qmvz171.js} +25 -25
- package/dist/chunks/{location-95cjtnmc.js → state-71mzxbmj.js} +34 -34
- package/dist/chunks/{location-s85wev1h.js → state-79n0bxvh.js} +3 -3
- package/dist/chunks/{location-hs5zt0a8.js → state-7bcnwrvj.js} +3 -3
- package/dist/chunks/{location-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-7dqw4kz8.js → state-7dqw4kz8.js} +1 -1
- package/dist/chunks/{location-bkcw67jg.js → state-7j9zgq8p.js} +44 -44
- package/dist/chunks/{location-td97gtjv.js → state-80d1yvs7.js} +5 -5
- package/dist/chunks/{location-v0a36qrn.js → state-80mb3rs2.js} +11 -11
- package/dist/chunks/{location-smwhbszz.js → state-8159mah8.js} +17 -17
- package/dist/chunks/{location-57ez7d0k.js → state-81swgkk7.js} +7 -7
- package/dist/chunks/{location-84txncab.js → state-84txncab.js} +1 -1
- package/dist/chunks/{location-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-3zhghk4y.js → state-8e176bsp.js} +13 -13
- package/dist/chunks/{location-r2vmt3px.js → state-8nv3jfj1.js} +8 -8
- package/dist/chunks/{location-dzpwn25x.js → state-918r00qh.js} +20 -20
- package/dist/chunks/{location-qte5z7bc.js → state-92a4ap4w.js} +5 -5
- package/dist/chunks/{location-gnhm909b.js → state-936k06nc.js} +14 -14
- package/dist/chunks/{location-nkp651gc.js → state-959s7zb7.js} +18 -18
- package/dist/chunks/{location-4ygrs1t9.js → state-9ah7747k.js} +21 -21
- package/dist/chunks/{location-dk95rs1h.js → state-9ecan2nc.js} +28 -28
- package/dist/chunks/{location-8dg5vm6z.js → state-9g40tecy.js} +94 -94
- package/dist/chunks/{location-a02r20w9.js → state-9kza3txs.js} +8 -8
- package/dist/chunks/{location-gec89q0r.js → state-9s372dca.js} +20 -20
- package/dist/chunks/state-9sh4wc5j.js +18 -0
- package/dist/chunks/{location-pbw0r91s.js → state-9tjbveq7.js} +8 -8
- package/dist/chunks/{location-3wrtxrr4.js → state-9vtsvkk2.js} +6 -6
- package/dist/chunks/{location-t35kk4m3.js → state-9wnq827a.js} +15 -15
- package/dist/chunks/{location-jv7gn18a.js → state-a2js1e01.js} +17 -17
- package/dist/chunks/{location-espax8zg.js → state-a2rpfkac.js} +4 -4
- package/dist/chunks/{location-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{location-09q1akkk.js → state-aevpzszq.js} +48 -48
- package/dist/chunks/{location-dgadgb83.js → state-afd8vays.js} +9 -9
- package/dist/chunks/{location-gh2q5f0h.js → state-avzp3gyq.js} +15 -15
- package/dist/chunks/{location-5xeggsjb.js → state-azwp2v3h.js} +43 -43
- package/dist/chunks/{location-bj98hwq8.js → state-b5c7acg6.js} +6 -6
- package/dist/chunks/{location-r01t9b5y.js → state-b65r9e3v.js} +8 -8
- package/dist/chunks/{location-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-pq4fj8xc.js → state-bdw8v3mn.js} +48 -48
- package/dist/chunks/{location-xhq66er1.js → state-be59z4hg.js} +33 -33
- package/dist/chunks/{location-myd9kayg.js → state-be9x6ywh.js} +9 -9
- package/dist/chunks/{location-bjtzbw4r.js → state-bjtzbw4r.js} +3 -3
- package/dist/chunks/{location-zrq8kphx.js → state-bnmr3cva.js} +8 -8
- package/dist/chunks/{location-b6763zrq.js → state-bvjk94fa.js} +4 -4
- package/dist/chunks/{location-8qf8ceg9.js → state-bwje1fea.js} +12 -12
- package/dist/chunks/{location-6dz1qw9v.js → state-ce68aqnt.js} +6 -6
- package/dist/chunks/{location-02pzv384.js → state-cg3ccyyg.js} +11 -11
- package/dist/chunks/{location-xxfd829z.js → state-chtreyd7.js} +24 -24
- package/dist/chunks/{location-w8h3bv79.js → state-cjxbqd7h.js} +36 -36
- package/dist/chunks/{location-br0tr5aq.js → state-cmwkp3r5.js} +8 -8
- package/dist/chunks/state-cpgb32tx.js +252 -0
- package/dist/chunks/{location-trf615cw.js → state-csmch40z.js} +15 -15
- package/dist/chunks/{location-qmqgtz8f.js → state-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-s6tgk9vn.js → state-cz7wr2zz.js} +34 -34
- package/dist/chunks/{location-4mwpykj0.js → state-d1mtykxg.js} +6 -6
- package/dist/chunks/{location-kxf9nzd0.js → state-d5s62x3z.js} +13 -13
- package/dist/chunks/{location-4m6thn4g.js → state-d80ttx72.js} +8 -8
- package/dist/chunks/{location-2vs2nh1n.js → state-ddt2bs9e.js} +4 -4
- package/dist/chunks/{location-ys0deajw.js → state-dgvwm360.js} +16 -16
- package/dist/chunks/{location-qs001aqx.js → state-dhwr7h25.js} +8 -8
- package/dist/chunks/{location-dpkg50ah.js → state-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-drwq78ky.js → state-drwq78ky.js} +1 -1
- package/dist/chunks/{location-ecfe7b91.js → state-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-p84dsdfh.js → state-ednp5hmx.js} +8 -8
- package/dist/chunks/{location-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-7k9teg1e.js → state-ef5xe33j.js} +9 -9
- package/dist/chunks/{location-dz88wbe7.js → state-efhbm40n.js} +26 -26
- package/dist/chunks/{location-adqdpybp.js → state-ektkda5n.js} +9 -9
- package/dist/chunks/{location-96ctqc5x.js → state-em3h5ktn.js} +4 -4
- package/dist/chunks/{location-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-1nrdzak4.js → state-f2wnd5nk.js} +91 -91
- package/dist/chunks/{location-5b7ts617.js → state-f4b92smv.js} +8 -8
- package/dist/chunks/{location-khkvak3g.js → state-fb1tbn8m.js} +16 -16
- package/dist/chunks/{location-1qmb30g3.js → state-fd8ad5g5.js} +3 -3
- package/dist/chunks/{location-qpcrevt6.js → state-fhb5ssfr.js} +26 -26
- package/dist/chunks/{location-q0raz0xt.js → state-fmcqyzhx.js} +9 -9
- package/dist/chunks/{location-j2z7g6g4.js → state-fmye1ng3.js} +4 -4
- package/dist/chunks/{location-rscp1sre.js → state-fqbcpy34.js} +20 -20
- package/dist/chunks/{location-t1e7skfr.js → state-fr0z36kv.js} +18 -18
- package/dist/chunks/{location-anyjerdd.js → state-fsf584xg.js} +31 -31
- package/dist/chunks/{location-twmzk99d.js → state-ftr96xex.js} +2 -2
- package/dist/chunks/{location-vd3e338q.js → state-fva3gcq8.js} +29 -29
- package/dist/chunks/{location-2d57kztd.js → state-fvanntqq.js} +6 -6
- package/dist/chunks/{location-y56ehv6b.js → state-fwwk8vbp.js} +9 -9
- package/dist/chunks/{location-m1a691bq.js → state-fzdh19fh.js} +9 -9
- package/dist/chunks/{location-tqkrwgse.js → state-g97bb4fb.js} +2 -2
- package/dist/chunks/{location-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-gfvb90ym.js → state-gfvb90ym.js} +2 -2
- package/dist/chunks/{location-0v2sk5j6.js → state-gj33z6hv.js} +8 -8
- package/dist/chunks/{location-r539qsq3.js → state-gn4mtd9h.js} +11 -11
- package/dist/chunks/{location-86jdww2w.js → state-grq906mk.js} +16 -16
- package/dist/chunks/{location-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-w4m15ch3.js → state-gwcert61.js} +12 -12
- package/dist/chunks/{location-h6b02349.js → state-h6b02349.js} +2 -2
- package/dist/chunks/{location-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-f04hbnz0.js → state-h8n7s2er.js} +6 -6
- package/dist/chunks/{location-xfgqgyq2.js → state-hgy5zrac.js} +21 -21
- package/dist/chunks/{location-77bexmsv.js → state-hwxfv3tc.js} +12 -12
- package/dist/chunks/{location-mjncxbbh.js → state-j5208yae.js} +6 -6
- package/dist/chunks/{location-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{location-0prctygm.js → state-j6acr1hx.js} +35 -35
- package/dist/chunks/{location-ybx772w1.js → state-jrfyc01p.js} +61 -61
- package/dist/chunks/{location-a6j3e98v.js → state-jxy46986.js} +9 -9
- package/dist/chunks/{location-r9fqj8ns.js → state-jzbn4sdj.js} +29 -29
- package/dist/chunks/{location-k3c624dm.js → state-k3c624dm.js} +3 -3
- package/dist/chunks/{location-bg5p7gs6.js → state-k84kd2rq.js} +16 -16
- package/dist/chunks/{location-k18kvgqw.js → state-krph668c.js} +27 -27
- package/dist/chunks/{location-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-ckqfqcne.js → state-m4z5w7fj.js} +31 -31
- package/dist/chunks/{location-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-1ceye290.js → state-mezm2w51.js} +8 -8
- package/dist/chunks/{location-j8svvbq4.js → state-mjj1bz1p.js} +8 -8
- package/dist/chunks/{location-dnxkq42g.js → state-mpk0rfs5.js} +4 -4
- package/dist/chunks/{location-nw53exab.js → state-ms93yq6r.js} +8 -8
- package/dist/chunks/{location-mvfsc1pv.js → state-mvfsc1pv.js} +1 -1
- package/dist/chunks/{location-bk7jaeqh.js → state-mzywpf3p.js} +4 -4
- package/dist/chunks/{location-nqeb2avx.js → state-n25nhtx9.js} +14 -14
- package/dist/chunks/{location-5475xd7t.js → state-n5693fw6.js} +11 -11
- package/dist/chunks/{location-em07s6t6.js → state-n781nrqq.js} +14 -14
- package/dist/chunks/{location-r5h3vakg.js → state-njqgdpjp.js} +7 -7
- package/dist/chunks/{location-ysbspvw2.js → state-np3fkp2v.js} +11 -11
- package/dist/chunks/{location-4p7vd6rv.js → state-nqt4j4tt.js} +32 -32
- package/dist/chunks/{location-fhs97t90.js → state-nscznvay.js} +9 -9
- package/dist/chunks/{location-2zmtdwwa.js → state-nwqe4f3s.js} +17 -17
- package/dist/chunks/{location-aqjetw3w.js → state-nzhr00nd.js} +23 -23
- package/dist/chunks/{location-ajevxyj5.js → state-p3fxhk0g.js} +26 -26
- package/dist/chunks/{location-rbnh57a3.js → state-papj7q52.js} +312 -312
- package/dist/chunks/{location-emdq8hvp.js → state-ph2w6qfe.js} +2 -2
- package/dist/chunks/{location-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-xnwq07qp.js → state-pk7dtzh7.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{location-zbt3cmbn.js → state-pmerw669.js} +10 -10
- package/dist/chunks/{location-psazpmmj.js → state-psazpmmj.js} +2 -2
- package/dist/chunks/state-pt6s91j2.js +26 -0
- package/dist/chunks/{location-he6fwm9p.js → state-pzsxz3jz.js} +24 -24
- package/dist/chunks/{location-mtr9da87.js → state-q5hpy1pp.js} +8 -8
- package/dist/chunks/{location-tbmac1c7.js → state-qbqbaz6q.js} +4 -4
- package/dist/chunks/{location-0djkakhq.js → state-qh8vwz7j.js} +30 -30
- package/dist/chunks/{location-be3vrfba.js → state-qjw7q168.js} +13 -13
- package/dist/chunks/{location-2qfnc9v9.js → state-qm865f5x.js} +26 -26
- package/dist/chunks/{location-n4thbxy5.js → state-qmhxt3hx.js} +151 -151
- package/dist/chunks/{location-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{location-4aj77gpq.js → state-qt6sdbsb.js} +9 -9
- package/dist/chunks/{location-mtzh4w76.js → state-qy3qk6ng.js} +1 -1
- package/dist/chunks/{location-jasex9we.js → state-qzbep2cn.js} +18 -18
- package/dist/chunks/{location-hnwtc367.js → state-r4feqcmh.js} +18 -18
- package/dist/chunks/{location-6j6h2v05.js → state-r7525m21.js} +31 -31
- package/dist/chunks/{location-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-s4enseaf.js → state-s4enseaf.js} +2 -2
- package/dist/chunks/{location-rhjbct0v.js → state-s8d7rejh.js} +4 -4
- package/dist/chunks/{location-bt7n4pmb.js → state-sexjdqf6.js} +16 -16
- package/dist/chunks/{location-g6996jmd.js → state-sr6aw9m2.js} +11 -11
- package/dist/chunks/{location-avm8jn6n.js → state-sra9araw.js} +5 -5
- package/dist/chunks/{location-100xjj6b.js → state-stjna85r.js} +27 -27
- package/dist/chunks/{location-h4c91pay.js → state-szck5pq9.js} +4 -4
- package/dist/chunks/{location-3pr8te96.js → state-t2f2p2hs.js} +50 -50
- package/dist/chunks/{location-yks39n9z.js → state-t6hysv17.js} +15 -15
- package/dist/chunks/{location-21a7rb1f.js → state-t9v8ce90.js} +9 -9
- package/dist/chunks/{location-qs2a9kth.js → state-taxxrjzd.js} +32 -32
- package/dist/chunks/{location-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{location-f08wkcbe.js → state-te6p44we.js} +3 -3
- package/dist/chunks/{location-d87ppnb3.js → state-tn0aqsam.js} +5 -5
- package/dist/chunks/{location-xeeh34fw.js → state-tq190vwz.js} +24 -24
- package/dist/chunks/{location-f2y0nrye.js → state-tvphtg2k.js} +32 -32
- package/dist/chunks/{location-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{location-qa3tmgdp.js → state-txvbd51c.js} +10 -10
- package/dist/chunks/{location-tsb833f7.js → state-v2yhmqtv.js} +1 -1
- package/dist/chunks/{location-y3ts0hry.js → state-v79qzs0e.js} +8 -8
- package/dist/chunks/{location-xdzxe0wf.js → state-vbga4g3c.js} +8 -8
- package/dist/chunks/{location-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{location-j03hpba4.js → state-vje8wz55.js} +24 -24
- package/dist/chunks/{location-3r5v0g1e.js → state-vkrdzdkx.js} +41 -41
- package/dist/chunks/{location-8mqyqb4j.js → state-vr16sjez.js} +10 -10
- package/dist/chunks/{location-n3csj6mp.js → state-vrzb7372.js} +23 -23
- package/dist/chunks/{location-xdk9p2qn.js → state-vsp1fds9.js} +4 -4
- package/dist/chunks/{location-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-zzmaa19e.js → state-w2q85e14.js} +8 -8
- package/dist/chunks/{location-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-m4x4aq54.js → state-w74ktcr0.js} +40 -40
- package/dist/chunks/{location-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{location-fq4hkzfh.js → state-wf98btk2.js} +11 -11
- package/dist/chunks/{location-qkaqxm3y.js → state-wkrjrqp5.js} +12 -12
- package/dist/chunks/{location-mt41vr8a.js → state-wm0fnsq3.js} +20 -20
- package/dist/chunks/{location-5jkbe8f2.js → state-wm1tzmrb.js} +29 -29
- package/dist/chunks/{location-6z9mwsmt.js → state-wpk6ae5y.js} +18 -18
- package/dist/chunks/{location-8v1cm23h.js → state-wprsb84s.js} +13 -13
- package/dist/chunks/{location-6hwp1n2b.js → state-wsm9s30m.js} +25 -25
- package/dist/chunks/{location-watadjga.js → state-wywf0jv5.js} +28 -28
- package/dist/chunks/{location-3xxwahma.js → state-x0e6358b.js} +36 -36
- package/dist/chunks/{location-t6zqrtn1.js → state-x0kfg7bm.js} +13 -13
- package/dist/chunks/{location-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-mg7d5g79.js → state-x20r9ngb.js} +15 -15
- package/dist/chunks/{location-1s7a7rc8.js → state-x5zps9n8.js} +22 -22
- package/dist/chunks/{location-x594m8gs.js → state-x8m5f2m8.js} +10 -10
- package/dist/chunks/{location-zh9b217t.js → state-x8t44att.js} +3 -3
- package/dist/chunks/{location-3ea3aynk.js → state-xhpe18j8.js} +11 -11
- package/dist/chunks/{location-n6rcy4mh.js → state-xk37293j.js} +2 -2
- package/dist/chunks/{location-dmqcgk4z.js → state-xkntkrq7.js} +5 -5
- package/dist/chunks/{location-hbkd0kx9.js → state-xpx5mjk6.js} +11 -11
- package/dist/chunks/{location-02ncb0r7.js → state-xrac12dq.js} +30 -30
- package/dist/chunks/{location-2crtrvgv.js → state-xx531rrw.js} +5 -5
- package/dist/chunks/{location-ph85sfvw.js → state-xy0es05p.js} +30 -30
- package/dist/chunks/{location-d8h50pbm.js → state-y09nxxfn.js} +12 -12
- package/dist/chunks/{location-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-8jqzhmtt.js → state-y5qxgpje.js} +3 -3
- package/dist/chunks/{location-vakeda38.js → state-yc6hmas2.js} +2 -2
- package/dist/chunks/{location-89n34mzq.js → state-yhs2t3wf.js} +74 -74
- package/dist/chunks/{location-8cqwjt8t.js → state-ykej036m.js} +1 -1
- package/dist/chunks/{location-yp2x3t23.js → state-yp2x3t23.js} +1 -1
- package/dist/chunks/{location-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-sjcx3g3r.js → state-yt7aqnvn.js} +22 -22
- package/dist/chunks/{location-e0m7kynn.js → state-yt8vsfev.js} +3 -3
- package/dist/chunks/{location-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-fy4xcsnd.js → state-z4vzmr80.js} +13 -13
- package/dist/chunks/{location-7ypqrqvy.js → state-z53dzy5k.js} +17 -17
- package/dist/chunks/{location-8dywwfr0.js → state-zbwqc9a9.js} +9 -9
- package/dist/chunks/{location-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-9jzbk5r7.js → state-zftz6z13.js} +21 -21
- package/dist/chunks/{location-p1nmr6zw.js → state-zfz6p2zn.js} +9 -9
- package/dist/chunks/{location-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → state-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 +85 -85
- 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 +211 -211
- package/dist/config/plugin/compaction.js +161 -161
- 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 +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +103 -103
- 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 +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- 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 +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- 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 +2 -2
- package/dist/plugin/plan.js +100 -100
- 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/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- 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 +78 -78
- 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 +93 -93
- 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 +79 -79
- 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 +163 -163
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- 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 +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +224 -224
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +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 +120 -120
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +118 -118
- 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 +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 +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 +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-q509s3k3.js +0 -18
- package/dist/chunks/location-y6qt5j83.js +0 -26
- package/dist/chunks/location-ycn72enr.js +0 -252
- /package/dist/chunks/{location-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e3qxr5gk.js → state-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./state-wpk6ae5y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./state-69vwg8tc.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-5adcek81.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin29
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin29 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service67;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service68;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin30 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin29, exports_compatibility };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-mpk0rfs5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./state-sexjdqf6.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-216bemhx.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-p3fxhk0g.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service72
|
|
20
|
+
} from "./state-fva3gcq8.js";
|
|
21
21
|
import {
|
|
22
22
|
ID12
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-wywf0jv5.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-h8n7s2er.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-txvbd51c.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./state-tq190vwz.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./state-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service72;
|
|
167
|
+
const bus = yield* Service80;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -257,7 +257,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./state-fb1tbn8m.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service67
|
|
9
|
+
} from "./state-69vwg8tc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./state-hgy5zrac.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
@@ -30,10 +30,10 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
var Plugin21 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service67;
|
|
34
|
+
const location = yield* Service76;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service53;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-fva3gcq8.js";
|
|
6
6
|
import {
|
|
7
7
|
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info25
|
|
11
|
+
} from "./state-wywf0jv5.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -118,8 +118,8 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info25.make({
|
|
122
|
+
...Info25.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
124
|
modelID: ID12.make(remote.id),
|
|
125
125
|
providerID: ID13.githubCopilot,
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node82
|
|
6
|
+
} from "./state-2angj6gv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node80
|
|
10
|
+
} from "./state-fb1tbn8m.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make20
|
|
16
|
+
} from "./state-mezm2w51.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service53,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node57
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service53 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service76;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make20;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service53.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node57 = makeLocationNode({
|
|
61
|
+
service: Service53,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node80, Global.node, node82, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service53, node57, exports_strategies };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./state-sexjdqf6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service69,
|
|
6
|
+
Event14
|
|
7
|
+
} from "./state-zftz6z13.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin37,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin37 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service80;
|
|
24
|
+
const wellknown = yield* Service69;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin49 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin37, exports_plugin };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
Entry: () => Entry3,
|
|
10
|
+
Info: () => Info16
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry3 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry3, Info16, exports_formatter3 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./state-fb1tbn8m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service50
|
|
12
|
+
} from "./state-chtreyd7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service19
|
|
15
|
+
} from "./state-0rhrw73v.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-xrac12dq.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service58
|
|
24
|
+
} from "./state-0vpvgsj7.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service17
|
|
27
|
+
} from "./state-959s7zb7.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input5,
|
|
37
|
+
Output: () => Output3,
|
|
38
|
+
Plugin: () => Plugin6,
|
|
39
|
+
name: () => name5,
|
|
40
|
+
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name5 = "glob";
|
|
46
|
+
var Input5 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input12 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output3 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin6 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service50;
|
|
70
|
+
const ripgrep = yield* Service19;
|
|
71
|
+
const location = yield* Service76;
|
|
72
|
+
const access = yield* Service17;
|
|
73
|
+
const permission = yield* Service58;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name5,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input5,
|
|
79
|
+
output: Output3,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name5,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin14 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name5, Input5, Output3, toModelContent4, Plugin6, exports_glob };
|