@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./git-3en9cd2f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service35,
|
|
7
|
+
node39
|
|
8
|
+
} from "./git-tsc4theb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node79
|
|
12
|
+
} from "./git-c0zrtztw.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service39,
|
|
15
|
+
node42
|
|
16
|
+
} from "./git-s35b38t3.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service32 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service32, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service35;
|
|
42
|
+
const tools = yield* Service39;
|
|
43
|
+
const bus = yield* Service83;
|
|
44
|
+
const permission = yield* Service75;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node36 = makeLocationNode({
|
|
124
|
+
service: Service32,
|
|
125
|
+
layer: layer12,
|
|
126
|
+
deps: [node42, node39, node87, node79]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service32, layer12, node36, exports_mcp3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-zrd1hyk7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID8,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info22,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-82atqrj1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID8.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info22.make({
|
|
98
|
+
...Info22.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID8.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./git-c0zrtztw.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input12,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin13,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name12 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input12 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input3 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input12.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin13 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service75;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name12,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description5,
|
|
104
|
+
input: Input12,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin3 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name12,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name12, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin13, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info14
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info14 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info14, exports_command5 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./git-2b9m4c98.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./git-4mwpykj0.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-jqh9b0xq.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-53fyba40.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-1dvq6k6w.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-b3dqxcnz.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service28
|
|
21
|
+
} from "./git-yncw8fjy.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service43;
|
|
36
|
+
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service28;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-r8sqswrh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./git-3en9cd2f.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service70
|
|
11
|
+
} from "./git-1nyjqkcf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID10,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service69
|
|
16
|
+
} from "./git-caxz1j83.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID9
|
|
23
|
+
} from "./git-zrd1hyk7.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-wxy0ac48.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID9.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID10.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service70;
|
|
57
|
+
const integrations = yield* Service69;
|
|
58
|
+
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-r8sqswrh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./git-3en9cd2f.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./git-1nyjqkcf.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-caxz1j83.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-44h5tttr.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service15
|
|
20
|
+
} from "./git-6ysrkrkr.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID9,
|
|
23
23
|
mergeOverlay2,
|
|
24
24
|
mergeHeaders2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./git-zrd1hyk7.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
ID4,
|
|
28
28
|
Input13,
|
|
29
29
|
Response2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-4r06v03z.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/opencode.ts
|
|
33
33
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -42,7 +42,7 @@ var methodID = MethodID2.make("device");
|
|
|
42
42
|
var RemoteResponse = Schema.Struct({
|
|
43
43
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
44
44
|
websearch: Schema.Struct({
|
|
45
|
-
providerID:
|
|
45
|
+
providerID: ID4
|
|
46
46
|
}).pipe(Schema.optional),
|
|
47
47
|
experimental: Schema.Struct({
|
|
48
48
|
policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
|
|
@@ -67,7 +67,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
67
67
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
68
68
|
function oauth(http) {
|
|
69
69
|
return {
|
|
70
|
-
integrationID:
|
|
70
|
+
integrationID: ID10.make("opencode"),
|
|
71
71
|
method: {
|
|
72
72
|
id: methodID,
|
|
73
73
|
type: "oauth",
|
|
@@ -121,10 +121,10 @@ function oauth(http) {
|
|
|
121
121
|
var OpencodePlugin2 = define({
|
|
122
122
|
id: "opencode.provider.opencode",
|
|
123
123
|
effect: Effect.fn(function* (ctx) {
|
|
124
|
-
const bus = yield*
|
|
124
|
+
const bus = yield* Service83;
|
|
125
125
|
const client = yield* HttpClient.HttpClient;
|
|
126
126
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
127
|
-
const managed = yield*
|
|
127
|
+
const managed = yield* Service15;
|
|
128
128
|
const loading = Semaphore.makeUnsafe(1);
|
|
129
129
|
let snapshot = { config: undefined, connection: undefined, organization: undefined };
|
|
130
130
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -157,7 +157,7 @@ var OpencodePlugin2 = define({
|
|
|
157
157
|
providers.update(providerID, (provider) => {
|
|
158
158
|
if (source && source.provider !== provider)
|
|
159
159
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
160
|
-
provider.integrationID =
|
|
160
|
+
provider.integrationID = ID10.make("opencode");
|
|
161
161
|
if (item.canonical !== undefined)
|
|
162
162
|
provider.canonical = item.canonical;
|
|
163
163
|
if (item.name !== undefined)
|
|
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
|
|
|
227
227
|
sourceConnection: snapshot.connection
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
|
-
const item = providers.get(
|
|
230
|
+
const item = providers.get(ID9.opencode);
|
|
231
231
|
if (!item)
|
|
232
232
|
return;
|
|
233
233
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -239,7 +239,7 @@ var OpencodePlugin2 = define({
|
|
|
239
239
|
});
|
|
240
240
|
});
|
|
241
241
|
yield* ctx.model.transform((models) => {
|
|
242
|
-
const item = models.provider.get(
|
|
242
|
+
const item = models.provider.get(ID9.opencode);
|
|
243
243
|
if (!item)
|
|
244
244
|
return;
|
|
245
245
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
|
|
|
295
295
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
296
296
|
});
|
|
297
297
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
298
|
-
yield* bus.subscribe(
|
|
298
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
299
299
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
300
300
|
})
|
|
301
301
|
});
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info19,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info19 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info19, exports_permission };
|