@opencode/core 0.0.0-dev-20058 → 0.0.0-dev-20061
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 +83 -83
- 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/{filesystem-sffp4478.js → git-06sgyj6k.js} +9 -9
- package/dist/chunks/{filesystem-3b1q5j1v.js → git-0gaj4617.js} +6 -6
- package/dist/chunks/{filesystem-2x6gpqcz.js → git-0heqmdds.js} +11 -11
- package/dist/chunks/git-0mesazry.js +4 -0
- package/dist/chunks/{filesystem-qvrvrmrf.js → git-0n7z1vhq.js} +11 -11
- package/dist/chunks/{filesystem-eed4e4cj.js → git-0n9dhkpc.js} +21 -21
- package/dist/chunks/{filesystem-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-5c3w2q2f.js → git-13dd4g75.js} +4 -4
- package/dist/chunks/{filesystem-jwg7jy4z.js → git-16p5kn1s.js} +27 -27
- package/dist/chunks/{filesystem-ctegsqx5.js → git-19thbt26.js} +3 -3
- package/dist/chunks/{filesystem-1acjjqhc.js → git-1acjjqhc.js} +1 -1
- package/dist/chunks/{filesystem-za5gkgpv.js → git-1aw79wff.js} +44 -44
- package/dist/chunks/{filesystem-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-9n50fjmv.js → git-1dvq6k6w.js} +11 -11
- package/dist/chunks/{filesystem-2pdg46mn.js → git-1n18w02d.js} +16 -16
- package/dist/chunks/{filesystem-ntnbwdh0.js → git-1nyjqkcf.js} +35 -35
- package/dist/chunks/{filesystem-t9c7wbd6.js → git-1zn989j5.js} +32 -32
- package/dist/chunks/{filesystem-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-2402vzrj.js → git-2402vzrj.js} +1 -1
- package/dist/chunks/{filesystem-yy9w0ct4.js → git-27jqy24h.js} +46 -46
- package/dist/chunks/{filesystem-d2vc91a2.js → git-28e409nm.js} +1 -1
- package/dist/chunks/{filesystem-m22m5fz8.js → git-298eqf0p.js} +5 -5
- package/dist/chunks/{filesystem-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-e0z0cg4q.js → git-2aqgakzf.js} +17 -17
- package/dist/chunks/{filesystem-c1z6arme.js → git-2b9m4c98.js} +11 -11
- package/dist/chunks/{filesystem-eageaqwr.js → git-2bmrymfw.js} +11 -11
- package/dist/chunks/{filesystem-7m5f9412.js → git-2hr5nhwa.js} +8 -8
- package/dist/chunks/{filesystem-z3pw5915.js → git-2qp6y8xf.js} +5 -5
- package/dist/chunks/{filesystem-wj14njhs.js → git-31p1pbsy.js} +10 -10
- package/dist/chunks/{filesystem-kqg1335f.js → git-3agnzf0b.js} +3 -3
- package/dist/chunks/{filesystem-j38rfzw3.js → git-3en9cd2f.js} +16 -16
- package/dist/chunks/{filesystem-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-k70hck66.js → git-3ppw9e7p.js} +3 -3
- package/dist/chunks/{filesystem-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-1nbhwk8c.js → git-3zczvhzn.js} +6 -6
- package/dist/chunks/{filesystem-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-nehdvjjm.js → git-419fw4gr.js} +20 -20
- package/dist/chunks/{filesystem-h6r3nrb9.js → git-44h5tttr.js} +4 -4
- package/dist/chunks/{filesystem-g8nw47mr.js → git-48nzf0bm.js} +24 -24
- package/dist/chunks/{filesystem-qx3e9gac.js → git-4ffsqyr5.js} +3 -3
- package/dist/chunks/{filesystem-xg2c3t8c.js → git-4hvbrn22.js} +21 -21
- package/dist/chunks/{filesystem-74z2tjhb.js → git-4jh9036t.js} +16 -16
- package/dist/chunks/{filesystem-jkp0d30b.js → git-4mwpykj0.js} +6 -6
- package/dist/chunks/{filesystem-d63pwp4x.js → git-4r06v03z.js} +26 -26
- package/dist/chunks/{filesystem-1z9ym72g.js → git-4xeg45nw.js} +28 -28
- package/dist/chunks/{filesystem-x1mxg5wh.js → git-523kffa4.js} +37 -37
- package/dist/chunks/{filesystem-hbj9ec79.js → git-52d56bf8.js} +20 -20
- package/dist/chunks/{filesystem-pf9pgydg.js → git-53fyba40.js} +4 -4
- package/dist/chunks/{filesystem-56gdpj1q.js → git-56gdpj1q.js} +2 -2
- package/dist/chunks/{filesystem-57ez7d0k.js → git-57ez7d0k.js} +2 -2
- package/dist/chunks/{filesystem-h95k17zz.js → git-5a5ae82c.js} +25 -25
- package/dist/chunks/{filesystem-01m43rby.js → git-5cmxdwv8.js} +3 -3
- package/dist/chunks/{filesystem-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-hc9acsgr.js → git-5e1pzs32.js} +9 -9
- package/dist/chunks/{filesystem-5ekn9679.js → git-5ekn9679.js} +1 -1
- package/dist/chunks/{filesystem-hswr6e8s.js → git-5f0nhxgb.js} +19 -19
- package/dist/chunks/{filesystem-6sd83gj0.js → git-5pzymp2c.js} +10 -10
- package/dist/chunks/{filesystem-e3qxr5gk.js → git-5qd3pb7m.js} +2 -2
- package/dist/chunks/{filesystem-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-84dmcwyh.js → git-5x6zeszh.js} +4 -4
- package/dist/chunks/{filesystem-h5jpta2v.js → git-5yspkx8c.js} +14 -14
- package/dist/chunks/{filesystem-y93b664k.js → git-607q5haz.js} +12 -12
- package/dist/chunks/{filesystem-ywsxhfz4.js → git-656e1hpv.js} +5 -5
- package/dist/chunks/{filesystem-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-n6nnv2a0.js → git-6b577fjv.js} +29 -29
- package/dist/chunks/{filesystem-xvwrn2eq.js → git-6ck4d7pv.js} +8 -8
- package/dist/chunks/{filesystem-w94e8grp.js → git-6hby2r02.js} +176 -176
- package/dist/chunks/{filesystem-6msgmcgs.js → git-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-kwjksd0m.js → git-6qnh8fmb.js} +7 -7
- package/dist/chunks/{filesystem-vbj3evna.js → git-6r9cb4fm.js} +8 -8
- package/dist/chunks/{filesystem-x2qdxhwm.js → git-6ysrkrkr.js} +8 -8
- package/dist/chunks/{filesystem-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-6ccrc22g.js → git-7d00555s.js} +20 -20
- package/dist/chunks/{filesystem-7dqw4kz8.js → git-7dqw4kz8.js} +1 -1
- package/dist/chunks/{filesystem-cvpeh336.js → git-7eemnjng.js} +11 -11
- package/dist/chunks/{filesystem-0ajgz5pc.js → git-7g5aaaxw.js} +30 -30
- package/dist/chunks/{filesystem-3zwffgsw.js → git-7gf9heny.js} +40 -40
- package/dist/chunks/{filesystem-w16wk7p7.js → git-7q587t2b.js} +32 -32
- package/dist/chunks/{filesystem-cwxmk7ss.js → git-7t8da41m.js} +95 -95
- package/dist/chunks/{filesystem-azee6x5s.js → git-7tqntkc3.js} +8 -8
- package/dist/chunks/{filesystem-h08an08g.js → git-7wmgs5xr.js} +20 -20
- package/dist/chunks/{filesystem-4djaq3bc.js → git-80kx0180.js} +25 -25
- package/dist/chunks/{filesystem-syrm56xy.js → git-82atqrj1.js} +30 -30
- package/dist/chunks/{filesystem-90tesg4p.js → git-84g7jkxa.js} +11 -11
- package/dist/chunks/{filesystem-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-mebq41rh.js → git-8pa4v8ja.js} +13 -13
- package/dist/chunks/{filesystem-j27v3vkc.js → git-8t502s3m.js} +12 -12
- package/dist/chunks/{filesystem-8tsdq50x.js → git-8tsdq50x.js} +1 -1
- package/dist/chunks/{filesystem-gfvb90ym.js → git-94ek1h2f.js} +2 -2
- package/dist/chunks/{filesystem-b0grxa7w.js → git-9b00c1fb.js} +5 -5
- package/dist/chunks/{filesystem-vtxr0yy2.js → git-9cyfspf3.js} +5 -5
- package/dist/chunks/{filesystem-22b0aspk.js → git-9zr2rkr1.js} +7 -7
- package/dist/chunks/{filesystem-vn7r73nx.js → git-a2whg7pq.js} +29 -29
- package/dist/chunks/{filesystem-ae2wweme.js → git-a5kpvxfh.js} +6 -6
- package/dist/chunks/{filesystem-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-w7vefw1y.js → git-abddqw17.js} +24 -24
- package/dist/chunks/{filesystem-rp5es0vj.js → git-ajrg9ep2.js} +4 -4
- package/dist/chunks/{filesystem-tze1gxc9.js → git-as301tcg.js} +19 -19
- package/dist/chunks/{filesystem-cf4z6env.js → git-awyhhjf2.js} +12 -12
- package/dist/chunks/{filesystem-9c89p4vt.js → git-aztg29vg.js} +16 -16
- package/dist/chunks/{filesystem-22gdhsjp.js → git-b3dqxcnz.js} +30 -30
- package/dist/chunks/{filesystem-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-dfe8djrf.js → git-bct739vz.js} +4 -4
- package/dist/chunks/{filesystem-vg66hfa0.js → git-bygjy1qb.js} +17 -17
- package/dist/chunks/{filesystem-q3vsp035.js → git-c0p7yvnn.js} +26 -26
- package/dist/chunks/{filesystem-xrm59swn.js → git-c0zrtztw.js} +60 -60
- package/dist/chunks/{filesystem-4bq1ye2s.js → git-c31h68nj.js} +30 -30
- package/dist/chunks/{filesystem-0fek3p1n.js → git-c55fm4pv.js} +19 -19
- package/dist/chunks/{filesystem-1ssnhp0v.js → git-c5tk59cy.js} +13 -13
- package/dist/chunks/{filesystem-ej964ykn.js → git-c5y6tpwg.js} +3 -3
- package/dist/chunks/{filesystem-79qaa2kf.js → git-c765mh8b.js} +9 -9
- package/dist/chunks/{filesystem-j48z016f.js → git-caxz1j83.js} +32 -32
- package/dist/chunks/{filesystem-mkkks4v9.js → git-cj0tbh90.js} +45 -45
- package/dist/chunks/{filesystem-54tcyq79.js → git-ckecvw8r.js} +2 -2
- package/dist/chunks/{filesystem-091p10vz.js → git-crw3tv4v.js} +5 -5
- package/dist/chunks/{filesystem-fhhc6cz0.js → git-csewmbcm.js} +35 -35
- package/dist/chunks/{filesystem-rygqb03k.js → git-ct9y6gbn.js} +5 -5
- package/dist/chunks/{filesystem-jva4mgym.js → git-d8nc1xcx.js} +4 -4
- package/dist/chunks/{filesystem-2bwf3es8.js → git-dh3r0p8w.js} +19 -19
- package/dist/chunks/{filesystem-dpkg50ah.js → git-dpkg50ah.js} +1 -1
- package/dist/chunks/{filesystem-ajy2bq43.js → git-dw9armfg.js} +2 -2
- package/dist/chunks/{filesystem-azev8sc8.js → git-dxkpry84.js} +5 -5
- package/dist/chunks/{filesystem-gxb1qwhf.js → git-dxpnpzza.js} +28 -28
- package/dist/chunks/git-dzk9rjvc.js +26 -0
- package/dist/chunks/{filesystem-6cd6tdvt.js → git-e0vtkr8g.js} +6 -6
- package/dist/chunks/{filesystem-t550f9t1.js → git-eaj1djv9.js} +8 -8
- package/dist/chunks/{filesystem-1fcrsx1q.js → git-ednp5hmx.js} +5 -5
- package/dist/chunks/{filesystem-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-cay919zr.js → git-ef9zxgs8.js} +41 -41
- package/dist/chunks/{filesystem-erw5rpbs.js → git-erw5rpbs.js} +2 -2
- package/dist/chunks/{filesystem-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-9ecw7jpn.js → git-ey79q3y0.js} +22 -22
- package/dist/chunks/{filesystem-mq7e89ns.js → git-f1nnvvmc.js} +23 -23
- package/dist/chunks/{filesystem-ym15bmrz.js → git-fjvydvzm.js} +7 -7
- package/dist/chunks/{filesystem-dn34nxfz.js → git-fp9k3yne.js} +15 -15
- package/dist/chunks/{filesystem-z79afe2f.js → git-fq78sz5t.js} +25 -25
- package/dist/chunks/{filesystem-jw971jas.js → git-ft8mxgvg.js} +41 -41
- package/dist/chunks/{filesystem-2m0vf6qg.js → git-g0hzkq8p.js} +5 -5
- package/dist/chunks/{filesystem-c6a58n7z.js → git-g2gyvwgr.js} +9 -9
- package/dist/chunks/{filesystem-cjwramev.js → git-g8atgw3j.js} +6 -6
- package/dist/chunks/{filesystem-25b3j9qe.js → git-g9sxb67q.js} +11 -11
- package/dist/chunks/{filesystem-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-mk6azrf3.js → git-ge4ktqxw.js} +24 -24
- package/dist/chunks/{filesystem-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
- package/dist/chunks/{filesystem-ajdm0393.js → git-h4kdtw4d.js} +17 -17
- package/dist/chunks/{filesystem-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-2ann4zqa.js → git-h79thdv1.js} +2 -2
- package/dist/chunks/{filesystem-3838ekre.js → git-hc4fnx3k.js} +4 -4
- package/dist/chunks/{filesystem-dfvnyc1p.js → git-hfx0q6qd.js} +12 -12
- package/dist/chunks/{filesystem-8xd21chy.js → git-hfypw2dz.js} +11 -11
- package/dist/chunks/{filesystem-naszgs90.js → git-hktwknh6.js} +22 -22
- package/dist/chunks/{filesystem-ppwz1pgg.js → git-hmfyqch5.js} +13 -13
- package/dist/chunks/{filesystem-yz0rw8mp.js → git-hwsctmkw.js} +20 -20
- package/dist/chunks/{filesystem-c59jfbam.js → git-j33vntpj.js} +6 -6
- package/dist/chunks/{filesystem-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-v6h5pe3e.js → git-jb9g1svx.js} +56 -56
- package/dist/chunks/{filesystem-hp5kccyz.js → git-jdx9a0pb.js} +17 -17
- package/dist/chunks/{filesystem-em405b3b.js → git-jekat74m.js} +30 -30
- package/dist/chunks/{filesystem-24dd53tp.js → git-jjs74g98.js} +8 -8
- package/dist/chunks/git-jqh9b0xq.js +18 -0
- package/dist/chunks/{filesystem-e6hmchc5.js → git-jv01nqvq.js} +5 -5
- package/dist/chunks/{filesystem-kdq8v965.js → git-jvb9xte8.js} +9 -9
- package/dist/chunks/{filesystem-m0gyvzz0.js → git-jxrc8b14.js} +32 -32
- package/dist/chunks/{filesystem-k3c624dm.js → git-k3c624dm.js} +3 -3
- package/dist/chunks/{filesystem-knb7evpn.js → git-k9kj6xed.js} +6 -6
- package/dist/chunks/{filesystem-50xrc7m8.js → git-kh4f80a0.js} +8 -8
- package/dist/chunks/{filesystem-g8m5pg2v.js → git-khv50f9b.js} +9 -9
- package/dist/chunks/{filesystem-tr1np92s.js → git-kjx25m7e.js} +27 -27
- package/dist/chunks/{filesystem-b8y1psts.js → git-kz01yks6.js} +26 -26
- package/dist/chunks/{filesystem-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-tqskq33r.js → git-m81c09cc.js} +32 -32
- package/dist/chunks/{filesystem-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-z7w1k550.js → git-mavemxhg.js} +48 -48
- package/dist/chunks/{filesystem-h9zmv3t9.js → git-mksgfzgs.js} +8 -8
- package/dist/chunks/{filesystem-73tb2d7t.js → git-mvfsc1pv.js} +3 -3
- package/dist/chunks/git-n61y8w7h.js +252 -0
- package/dist/chunks/{filesystem-6hgrtsyk.js → git-nbrkqbtq.js} +9 -9
- package/dist/chunks/{filesystem-w4wqky9w.js → git-ne516ejn.js} +4 -4
- package/dist/chunks/{filesystem-7007jcc0.js → git-ntbpaqq3.js} +15 -15
- package/dist/chunks/{filesystem-ead3g9p8.js → git-nxhqveyz.js} +5 -5
- package/dist/chunks/{filesystem-xgy7gjy2.js → git-p2m0mesx.js} +43 -43
- package/dist/chunks/{filesystem-td2f4nae.js → git-p2szdd0n.js} +34 -34
- package/dist/chunks/{filesystem-f0vv9etb.js → git-p3bhxa8e.js} +5 -5
- package/dist/chunks/{filesystem-eys57y9b.js → git-p42hj8p8.js} +8 -8
- package/dist/chunks/{filesystem-spb4zceh.js → git-p5q3ex0b.js} +15 -15
- package/dist/chunks/{filesystem-6a0m4sbe.js → git-p63yn2ba.js} +1 -1
- package/dist/chunks/{filesystem-7689gsfy.js → git-pde5dn08.js} +25 -25
- package/dist/chunks/{filesystem-sjwzrrye.js → git-pe41p6e6.js} +11 -11
- package/dist/chunks/{filesystem-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-nbh3kmd5.js → git-ppk9bqm7.js} +32 -32
- package/dist/chunks/{filesystem-610s35xp.js → git-ps3qw662.js} +23 -23
- package/dist/chunks/{filesystem-497y6drv.js → git-q88m6k9v.js} +20 -20
- package/dist/chunks/{filesystem-mtq6xxnx.js → git-qa3qhgw8.js} +7 -7
- package/dist/chunks/{filesystem-sd0frev4.js → git-qaj6xkv8.js} +14 -14
- package/dist/chunks/{filesystem-yvav0rms.js → git-qers21hv.js} +19 -19
- package/dist/chunks/{filesystem-swm6fqec.js → git-qh72fsse.js} +22 -22
- package/dist/chunks/{filesystem-c20khjev.js → git-qj8eh1ht.js} +21 -21
- package/dist/chunks/{filesystem-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-rzgj8h8z.js → git-qvcpt1fs.js} +10 -10
- package/dist/chunks/{filesystem-2xac8pgk.js → git-r2xpf7zj.js} +11 -11
- package/dist/chunks/{filesystem-3z2w941y.js → git-r355esb0.js} +73 -73
- package/dist/chunks/{filesystem-37mwd34b.js → git-r3c4069c.js} +1 -1
- package/dist/chunks/{filesystem-qpyfagd9.js → git-r8sqswrh.js} +11 -11
- package/dist/chunks/{filesystem-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-c6j7t6he.js → git-rgvd7d6r.js} +5 -5
- package/dist/chunks/{filesystem-60btt90r.js → git-rhwn96vn.js} +7 -7
- package/dist/chunks/{filesystem-q0h1k0nn.js → git-rm9q555g.js} +11 -11
- package/dist/chunks/{filesystem-f02ytr6p.js → git-rndw9g15.js} +13 -13
- package/dist/chunks/{filesystem-gx4q998j.js → git-rspkaf4h.js} +15 -15
- package/dist/chunks/{filesystem-9wjadkhm.js → git-ryy9z3kr.js} +7 -7
- package/dist/chunks/{filesystem-wc5qgcrf.js → git-s35b38t3.js} +24 -24
- package/dist/chunks/{filesystem-bdep6f7m.js → git-s5a3abkq.js} +13 -13
- package/dist/chunks/{filesystem-vkgtc4qa.js → git-sbay9tk1.js} +13 -13
- package/dist/chunks/{filesystem-bzbbm4jd.js → git-sc4zk213.js} +14 -14
- package/dist/chunks/{filesystem-9v7aa5ew.js → git-sd3n1ret.js} +18 -18
- package/dist/chunks/{filesystem-mzn0q9qq.js → git-sdd7626e.js} +306 -306
- package/dist/chunks/{filesystem-pn0fh19r.js → git-snhm608r.js} +27 -27
- package/dist/chunks/{filesystem-j229mh45.js → git-sznh1h6r.js} +23 -23
- package/dist/chunks/{filesystem-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-r4nmwps5.js → git-tbybbeq2.js} +21 -21
- package/dist/chunks/{filesystem-dcq7yv4f.js → git-tc0krykv.js} +33 -33
- package/dist/chunks/{filesystem-89znhe33.js → git-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-2t3h7cq7.js → git-tg4ey0nj.js} +12 -12
- package/dist/chunks/{filesystem-1cdk1anx.js → git-tm95rjfh.js} +4 -4
- package/dist/chunks/{filesystem-rw0sa94v.js → git-tqb379dh.js} +3 -3
- package/dist/chunks/{filesystem-kffdqtsz.js → git-trggwgfe.js} +44 -44
- package/dist/chunks/{filesystem-m0rk0w5r.js → git-trj3tdz8.js} +11 -11
- package/dist/chunks/{filesystem-g6nkpj50.js → git-tsc4theb.js} +51 -51
- package/dist/chunks/{filesystem-tvtrv512.js → git-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-1g96y08y.js → git-tx9w5tca.js} +8 -8
- package/dist/chunks/{filesystem-96k0ayb6.js → git-tyd6evbv.js} +3 -3
- package/dist/chunks/{filesystem-b7e2se5y.js → git-v2jc1fnf.js} +34 -34
- package/dist/chunks/{filesystem-aqd63c5t.js → git-v4m0f3qj.js} +24 -24
- package/dist/chunks/{filesystem-7z30ydt4.js → git-v5bht574.js} +2 -2
- package/dist/chunks/{filesystem-ccdmqpvf.js → git-va5fjah0.js} +17 -17
- package/dist/chunks/{filesystem-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-wmfejedg.js → git-vmgq4x8b.js} +2 -2
- package/dist/chunks/{filesystem-7gp9bv02.js → git-vmwh049b.js} +9 -9
- package/dist/chunks/{filesystem-59srapy6.js → git-vqemcat0.js} +29 -29
- package/dist/chunks/{filesystem-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-psazpmmj.js → git-wd3x2cqz.js} +2 -2
- package/dist/chunks/{filesystem-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-kbr4et4a.js → git-wqc8znh9.js} +22 -22
- package/dist/chunks/{filesystem-8gt6y3g4.js → git-wxy0ac48.js} +6 -6
- package/dist/chunks/{filesystem-r8sc1a4f.js → git-x0w9b04z.js} +9 -9
- package/dist/chunks/{filesystem-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-d2z7ptc5.js → git-x1geg3vn.js} +11 -11
- package/dist/chunks/{filesystem-m2s6sqez.js → git-x5vgpz9j.js} +11 -11
- package/dist/chunks/{filesystem-drwq78ky.js → git-xfkkasph.js} +4 -4
- package/dist/chunks/{filesystem-1h2mvt9v.js → git-xq0837nd.js} +11 -11
- package/dist/chunks/{filesystem-hdh73vmf.js → git-xvb08a4w.js} +10 -10
- package/dist/chunks/{filesystem-784hb5j4.js → git-xwm6bryg.js} +4 -4
- package/dist/chunks/{filesystem-1txphked.js → git-xxspzvmh.js} +19 -19
- package/dist/chunks/{filesystem-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-zp91wsr7.js → git-y2ghzbkq.js} +30 -30
- package/dist/chunks/{filesystem-9f6bk4jp.js → git-y7b30c6s.js} +13 -13
- package/dist/chunks/{filesystem-3zvjefry.js → git-y8mbs16w.js} +15 -15
- package/dist/chunks/{filesystem-90360v3a.js → git-ybyc8kxv.js} +9 -9
- package/dist/chunks/{filesystem-jwxewjhz.js → git-yhwacja7.js} +13 -13
- package/dist/chunks/{filesystem-fs2ge6as.js → git-ykch05ee.js} +4 -4
- package/dist/chunks/{filesystem-zwvzg7cw.js → git-ymdcatcc.js} +13 -13
- package/dist/chunks/{filesystem-cdvs3883.js → git-yncw8fjy.js} +88 -88
- package/dist/chunks/{filesystem-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-s4enseaf.js → git-yrznvahk.js} +2 -2
- package/dist/chunks/{filesystem-x2d9qy7d.js → git-yt3hy1g9.js} +5 -5
- package/dist/chunks/{filesystem-1ybypp7f.js → git-ytbg3n6b.js} +22 -22
- package/dist/chunks/{filesystem-zjfek02j.js → git-yvqpxq27.js} +18 -18
- package/dist/chunks/{filesystem-bjtzbw4r.js → git-z07pqspn.js} +3 -3
- package/dist/chunks/{filesystem-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-gws6d69e.js → git-z138ka9p.js} +11 -11
- package/dist/chunks/{filesystem-3kzn8mmq.js → git-z221g1rh.js} +10 -10
- package/dist/chunks/{filesystem-c0aad6gz.js → git-z5w7jba6.js} +47 -47
- package/dist/chunks/{filesystem-29x78va6.js → git-z63w68vq.js} +6 -6
- package/dist/chunks/{filesystem-t7n9q6bq.js → git-zcrspsvn.js} +4 -4
- package/dist/chunks/{filesystem-zeh9ct20.js → git-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-fkq4r4ge.js → git-znadnk2c.js} +26 -26
- package/dist/chunks/{filesystem-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-hbfph430.js → git-zrd1hyk7.js} +32 -32
- package/dist/chunks/{filesystem-96jy5zx6.js → git-zrv5pa4j.js} +8 -8
- package/dist/chunks/{filesystem-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +84 -84
- 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 +123 -123
- 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 +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 +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +120 -120
- 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 +85 -85
- 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 +370 -370
- 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 +93 -93
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- 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 +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 +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- 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-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- 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 +100 -100
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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/compaction.js +129 -129
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- 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 +160 -160
- package/dist/plugin/sdk.js +76 -76
- 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 +351 -351
- 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/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +87 -87
- 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/command.js +74 -74
- package/dist/session/compaction.js +128 -128
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- 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 +1 -1
- 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 +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- 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 +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- 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 +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +98 -98
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- 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 +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/filesystem-07j5dwxg.js +0 -252
- package/dist/chunks/filesystem-gyce5qg1.js +0 -18
- package/dist/chunks/filesystem-v9c484dc.js +0 -26
- package/dist/chunks/filesystem-xrsqh21y.js +0 -4
- /package/dist/chunks/{filesystem-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-34c7v6d4.js → git-34c7v6d4.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → git-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./git-27jqy24h.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service63
|
|
13
|
+
} from "./git-tbybbeq2.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service52
|
|
16
|
+
} from "./git-ntbpaqq3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service75
|
|
19
|
+
} from "./git-c0zrtztw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service74,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-fp9k3yne.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-5ekn9679.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service60,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./git-sbay9tk1.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service48
|
|
37
|
+
} from "./git-z5w7jba6.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./git-7t8da41m.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./git-5x6zeszh.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./git-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input7,
|
|
53
|
+
Plugin: () => Plugin7,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name7
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name7 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input7 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin7 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service26;
|
|
122
|
+
const jobs = yield* Service52;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service63;
|
|
125
|
+
const access = yield* Service74;
|
|
126
|
+
const shell = yield* Service48;
|
|
127
|
+
const shellSelect = yield* Service60;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service75;
|
|
130
|
+
const config = yield* Service65;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin13 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name7,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin13 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name7,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input7,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin13 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name7,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name7];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin7, exports_shell };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-v5bht574.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service63
|
|
11
|
+
} from "./git-tbybbeq2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service11
|
|
14
|
+
} from "./git-5yspkx8c.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service62,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-rndw9g15.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./git-c0zrtztw.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service74,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-fp9k3yne.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./git-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: () => Plugin3,
|
|
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 Plugin3 = {
|
|
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*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service63;
|
|
112
|
+
const access = yield* Service74;
|
|
113
|
+
const fileMutation = yield* Service62;
|
|
114
|
+
const formatter = yield* Service11;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service75;
|
|
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 Plugin9 = {
|
|
|
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, Plugin3, exports_patch };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./git-zrd1hyk7.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID9.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service9,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node11
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service9 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node11 = makeLocationNode({
|
|
19
|
+
service: Service9,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service9, Service9.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service9, node11, bound2, exports_instance2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-v5bht574.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
Service58
|
|
7
|
-
} from "./filesystem-yy9w0ct4.js";
|
|
8
|
-
import {
|
|
9
6
|
Service65
|
|
10
|
-
} from "./
|
|
7
|
+
} from "./git-27jqy24h.js";
|
|
8
|
+
import {
|
|
9
|
+
Service11
|
|
10
|
+
} from "./git-5yspkx8c.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make4
|
|
13
|
+
} from "./git-mvfsc1pv.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin17
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,11 +30,11 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin17 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service65;
|
|
37
|
+
const formatter = yield* Service11;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
40
|
const location = yield* Service80;
|
|
@@ -45,7 +45,7 @@ var Plugin25 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make4({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin25 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin17, exports_formatter };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./git-c0zrtztw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service45
|
|
10
|
+
} from "./git-znadnk2c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill = {};
|
|
17
17
|
__export(exports_skill, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input8,
|
|
19
|
+
Output: () => Output5,
|
|
20
|
+
Plugin: () => Plugin8,
|
|
21
21
|
SkillTool: () => exports_skill,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description4,
|
|
23
|
+
name: () => name8,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name8 = "skill";
|
|
30
|
+
var Input8 = Schema.Struct({
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output5 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description4 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin8 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service45;
|
|
51
|
+
const permission = yield* Service75;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name8,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description4,
|
|
56
|
+
input: Input8,
|
|
57
|
+
output: Output5,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name8,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin4 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name8, Input8, Output5, description4, toModelOutput2, Plugin8, exports_skill };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service38,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node41
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service38 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service38.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node41 = makeGlobalNode({ service: Service38, layer: layer15, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service38, makeLayer2, layer15, node41, exports_model_transport };
|