@opencode/core 0.0.0-dev-21556 → 0.0.0-dev-21557
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 +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{filesystem-6kwr73dn.js → command-02g7aebq.js} +21 -21
- package/dist/chunks/{filesystem-kjv4pfpn.js → command-02hctrc4.js} +12 -12
- package/dist/chunks/{filesystem-034tev2y.js → command-034tev2y.js} +2 -2
- package/dist/chunks/{filesystem-2k8khapm.js → command-0jwsre1p.js} +5 -5
- package/dist/chunks/{filesystem-979fg1jj.js → command-0ny45k08.js} +18 -18
- package/dist/chunks/{filesystem-sv72chne.js → command-0p5n951n.js} +8 -8
- package/dist/chunks/{filesystem-9gcsz2p2.js → command-0t5b2y9d.js} +9 -9
- package/dist/chunks/{filesystem-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-p37cw4rj.js → command-1ajx6rf5.js} +8 -8
- package/dist/chunks/{filesystem-kvmjtnbr.js → command-1b1yf6g0.js} +30 -30
- package/dist/chunks/{filesystem-1ep2p91f.js → command-1ep2p91f.js} +2 -2
- package/dist/chunks/{filesystem-p76v2pnh.js → command-1hfxmt0w.js} +43 -43
- package/dist/chunks/{filesystem-242ky9er.js → command-1hzj9kg1.js} +10 -10
- package/dist/chunks/{filesystem-81f7vt2z.js → command-1j6m29mr.js} +9 -9
- package/dist/chunks/{filesystem-d3yv44qs.js → command-1kxdjam0.js} +21 -21
- package/dist/chunks/{filesystem-d869kc9t.js → command-1sqf9bkf.js} +8 -8
- package/dist/chunks/{filesystem-fjdpyz7x.js → command-1t3hpytd.js} +86 -86
- package/dist/chunks/{filesystem-m0hzqf10.js → command-210p74nv.js} +6 -6
- package/dist/chunks/{filesystem-r2m716tb.js → command-2mq1h16s.js} +9 -9
- package/dist/chunks/{filesystem-fm3t8chm.js → command-2q3kn6hv.js} +18 -18
- package/dist/chunks/{filesystem-fn9t717r.js → command-395q6j9z.js} +6 -6
- package/dist/chunks/{filesystem-3p8bby9p.js → command-3ct72kbc.js} +17 -17
- package/dist/chunks/{filesystem-mx44zc9z.js → command-3dhsd59m.js} +24 -24
- package/dist/chunks/{filesystem-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
- package/dist/chunks/{filesystem-ha3bx9by.js → command-3k3tgz1s.js} +36 -36
- package/dist/chunks/{filesystem-s80bpp8r.js → command-3p9s8f8r.js} +8 -8
- package/dist/chunks/command-3q31v9sa.js +257 -0
- package/dist/chunks/{filesystem-5y3cvn6v.js → command-3qfe0xj5.js} +8 -8
- package/dist/chunks/{filesystem-are0chd1.js → command-3tpbv33b.js} +6 -6
- package/dist/chunks/{filesystem-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-q2m888qa.js → command-3w35w3cz.js} +36 -36
- package/dist/chunks/{filesystem-ns9nx42n.js → command-3y689znq.js} +18 -18
- package/dist/chunks/{filesystem-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-6gda7trc.js → command-46jxkehv.js} +18 -18
- package/dist/chunks/{filesystem-vx3jgdek.js → command-48kw51zw.js} +3 -3
- package/dist/chunks/{filesystem-3y03y7vv.js → command-4bz0312p.js} +11 -11
- package/dist/chunks/{filesystem-zys69r9h.js → command-4ezxk448.js} +54 -54
- package/dist/chunks/{filesystem-mbw2zwxv.js → command-4j64n899.js} +4 -4
- package/dist/chunks/{filesystem-wq8gz3e1.js → command-4y1psmjm.js} +10 -10
- package/dist/chunks/{filesystem-27bs79w9.js → command-4ytg8f8f.js} +2 -2
- package/dist/chunks/{filesystem-81gkh252.js → command-4z7vav0p.js} +16 -16
- package/dist/chunks/{filesystem-02vhp1nx.js → command-4znvr1ks.js} +50 -50
- package/dist/chunks/{filesystem-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-qqeeq2t9.js → command-57b9ws8p.js} +4 -4
- package/dist/chunks/{filesystem-4xpgt2w9.js → command-57myy5jh.js} +5 -5
- package/dist/chunks/{filesystem-76p14g35.js → command-5g57z1ma.js} +4 -4
- package/dist/chunks/{filesystem-5jfh860z.js → command-5kc27ehr.js} +4 -4
- package/dist/chunks/{filesystem-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-98z44by5.js → command-5rk2deda.js} +23 -23
- package/dist/chunks/{filesystem-8ngy3mqv.js → command-5smgpg59.js} +15 -15
- package/dist/chunks/{filesystem-qpk6w0sf.js → command-66gqgwkw.js} +4 -4
- package/dist/chunks/{filesystem-6827pfxn.js → command-6827pfxn.js} +1 -1
- package/dist/chunks/{filesystem-x8j4awb7.js → command-6a980ypm.js} +26 -26
- package/dist/chunks/{filesystem-nv560stn.js → command-6a9ggp3a.js} +3 -3
- package/dist/chunks/{filesystem-medva3v3.js → command-6frn0zka.js} +43 -43
- package/dist/chunks/{filesystem-93p4vdsy.js → command-6ftnd7nz.js} +25 -25
- package/dist/chunks/{filesystem-xng5v1sj.js → command-6gmsgdx2.js} +7 -7
- package/dist/chunks/{filesystem-1p1p7tgy.js → command-6pn57h68.js} +32 -32
- package/dist/chunks/{filesystem-azr9yky1.js → command-6qf2y9ve.js} +32 -32
- package/dist/chunks/{filesystem-6xb47vfp.js → command-6xb47vfp.js} +1 -1
- package/dist/chunks/{filesystem-775gj3j1.js → command-775gj3j1.js} +2 -2
- package/dist/chunks/{filesystem-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-8ndffx4j.js → command-7d822byb.js} +5 -5
- package/dist/chunks/{filesystem-fd592q7h.js → command-7ta6mr36.js} +21 -21
- package/dist/chunks/{filesystem-pfq93rbg.js → command-7vcph9c5.js} +11 -11
- package/dist/chunks/{filesystem-gj0f7hmv.js → command-802megp1.js} +11 -11
- package/dist/chunks/{filesystem-11dqjexa.js → command-82rhge12.js} +9 -9
- package/dist/chunks/{filesystem-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{filesystem-8m6m0r52.js → command-8m6m0r52.js} +1 -1
- package/dist/chunks/{filesystem-8mywswrd.js → command-8mywswrd.js} +1 -1
- package/dist/chunks/{filesystem-q9n4taz4.js → command-8qcf7amm.js} +14 -14
- package/dist/chunks/{filesystem-9m4ve779.js → command-8qh1wvz2.js} +4 -4
- package/dist/chunks/{filesystem-z6r6yped.js → command-8sptrx30.js} +22 -22
- package/dist/chunks/{filesystem-5saf3c2d.js → command-8yr3zrx2.js} +11 -11
- package/dist/chunks/{filesystem-d7wa81mb.js → command-8zg8p5q1.js} +17 -17
- package/dist/chunks/{filesystem-gs856eh7.js → command-941r3f3m.js} +1 -1
- package/dist/chunks/{filesystem-m6r8hh6a.js → command-985ktdsx.js} +14 -14
- package/dist/chunks/{filesystem-998yhzzq.js → command-998yhzzq.js} +3 -3
- package/dist/chunks/{filesystem-dxbacq08.js → command-9c0aadwr.js} +21 -21
- package/dist/chunks/{filesystem-zryx1e9j.js → command-9c1a4kmv.js} +9 -9
- package/dist/chunks/{filesystem-2a3m6met.js → command-9e9hzcd0.js} +12 -12
- package/dist/chunks/{filesystem-2z2h29k5.js → command-9hq0xw37.js} +15 -15
- package/dist/chunks/{filesystem-9wev2pgg.js → command-9wev2pgg.js} +1 -1
- package/dist/chunks/{filesystem-1g6janhj.js → command-9zygn7h7.js} +18 -18
- package/dist/chunks/{filesystem-n19gt92d.js → command-acdn2y46.js} +45 -45
- package/dist/chunks/{filesystem-sqeeta82.js → command-ad8kq2nc.js} +3 -3
- package/dist/chunks/{filesystem-591k6mra.js → command-ahsb9kpf.js} +6 -6
- package/dist/chunks/{filesystem-gmb516bh.js → command-axq5kh8y.js} +6 -6
- package/dist/chunks/{filesystem-ayjs7tqn.js → command-ayjs7tqn.js} +2 -2
- package/dist/chunks/{filesystem-b11a7tx7.js → command-b11a7tx7.js} +1 -1
- package/dist/chunks/{filesystem-g8d3gcyj.js → command-b27vhd2z.js} +7 -7
- package/dist/chunks/{filesystem-ra67jj04.js → command-bacj9t34.js} +9 -9
- package/dist/chunks/{filesystem-4h1zccz9.js → command-bhfmjk30.js} +19 -19
- package/dist/chunks/{filesystem-2wv0qy41.js → command-bhk6njy6.js} +19 -19
- package/dist/chunks/{filesystem-29qym6xz.js → command-btbmdjwj.js} +4 -4
- package/dist/chunks/{filesystem-bzeyqsqd.js → command-bzeyqsqd.js} +1 -1
- package/dist/chunks/{filesystem-xt7gh04x.js → command-cb62p8s9.js} +24 -24
- package/dist/chunks/{filesystem-z4xmyae6.js → command-ccy38syf.js} +13 -13
- package/dist/chunks/{filesystem-328ypx93.js → command-cemytqje.js} +22 -22
- package/dist/chunks/{filesystem-fwt7vey7.js → command-cng6dfxk.js} +8 -8
- package/dist/chunks/{filesystem-szszjrwy.js → command-cqz7n2wt.js} +4 -4
- package/dist/chunks/{filesystem-cr9hweqv.js → command-cr9hweqv.js} +2 -2
- package/dist/chunks/{filesystem-8b6rm75k.js → command-cvt24va3.js} +45 -45
- package/dist/chunks/{filesystem-pw2zv200.js → command-d1r1vdjn.js} +28 -28
- package/dist/chunks/{filesystem-e71bjph2.js → command-d97f9cxk.js} +14 -14
- package/dist/chunks/{filesystem-bg57z5ae.js → command-dedmnvkb.js} +18 -18
- package/dist/chunks/{filesystem-pez308bj.js → command-deq2yphe.js} +13 -13
- package/dist/chunks/{filesystem-8wy82xn4.js → command-dmn8f3fz.js} +32 -32
- package/dist/chunks/{filesystem-z9r12f9w.js → command-dnkebwy9.js} +11 -11
- package/dist/chunks/{filesystem-chveay43.js → command-drjmd517.js} +21 -21
- package/dist/chunks/{filesystem-r4vchsx7.js → command-dsk8q8my.js} +26 -26
- package/dist/chunks/{filesystem-p4hdtfs4.js → command-dthc0v3v.js} +1 -1
- package/dist/chunks/{filesystem-8w8x3cmh.js → command-dvmztg5v.js} +35 -35
- package/dist/chunks/command-dxj72tfx.js +18 -0
- package/dist/chunks/{filesystem-1sr9fzxh.js → command-dz15z44q.js} +9 -9
- package/dist/chunks/{filesystem-f8h5648v.js → command-dzg2v16h.js} +10 -10
- package/dist/chunks/{filesystem-5qd3pb7m.js → command-e3qxr5gk.js} +2 -2
- package/dist/chunks/{filesystem-eej6y6fw.js → command-eej6y6fw.js} +2 -2
- package/dist/chunks/{filesystem-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-573jag1d.js → command-egvdenqz.js} +4 -4
- package/dist/chunks/{filesystem-qey1j5h6.js → command-ehsy592z.js} +16 -16
- package/dist/chunks/{filesystem-f73rjn58.js → command-embw8kgh.js} +4 -4
- package/dist/chunks/{filesystem-tpv3en06.js → command-epa6at65.js} +26 -26
- package/dist/chunks/{filesystem-5ddxr1dn.js → command-et97578y.js} +24 -24
- package/dist/chunks/{filesystem-5sbgwf3f.js → command-ew199m7p.js} +5 -5
- package/dist/chunks/{filesystem-fcy631f0.js → command-fcy631f0.js} +1 -1
- package/dist/chunks/{filesystem-bhhtdc9d.js → command-fcyg4h47.js} +5 -5
- package/dist/chunks/{filesystem-pz87hs4r.js → command-fmv8kpsp.js} +4 -4
- package/dist/chunks/{filesystem-b2hzfzr1.js → command-ft31182a.js} +8 -8
- package/dist/chunks/command-fwr9p4fy.js +523 -0
- package/dist/chunks/{filesystem-4qfhrk35.js → command-g38g0fz0.js} +14 -14
- package/dist/chunks/{filesystem-bkc947cz.js → command-g69zc3wy.js} +36 -36
- package/dist/chunks/{filesystem-pntdjgj5.js → command-g6x66mca.js} +11 -11
- package/dist/chunks/{filesystem-1z98e4c3.js → command-g970mz3v.js} +33 -33
- package/dist/chunks/{filesystem-8ya1vr8t.js → command-gawvjx7k.js} +13 -13
- package/dist/chunks/{filesystem-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-zgbfmbmk.js → command-gdc5cpct.js} +5 -5
- package/dist/chunks/{filesystem-v1w8mgqr.js → command-gryy9691.js} +11 -11
- package/dist/chunks/{filesystem-fpyn1g9k.js → command-gvpgbncv.js} +18 -18
- package/dist/chunks/{filesystem-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-h8vwnyd8.js → command-h8vwnyd8.js} +1 -1
- package/dist/chunks/{filesystem-mbynq3pt.js → command-he40rdb8.js} +17 -17
- package/dist/chunks/{filesystem-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
- package/dist/chunks/{filesystem-8wyta6jv.js → command-hpkegr1y.js} +10 -10
- package/dist/chunks/command-hqp5gz7t.js +26 -0
- package/dist/chunks/{filesystem-bg1zss7r.js → command-j86wn4pa.js} +34 -34
- package/dist/chunks/{filesystem-kb25sj3q.js → command-jbxhns51.js} +48 -48
- package/dist/chunks/{filesystem-aaf0tqjs.js → command-jr0r6h1g.js} +3 -3
- package/dist/chunks/{filesystem-h2ettege.js → command-jr2eqasw.js} +7 -7
- package/dist/chunks/{filesystem-xfraezgp.js → command-jrvn3mqz.js} +33 -33
- package/dist/chunks/{filesystem-vktwk5kv.js → command-k7myrtme.js} +9 -9
- package/dist/chunks/{filesystem-1sf913kj.js → command-k98r0vz1.js} +24 -24
- package/dist/chunks/{filesystem-6j7dwqsx.js → command-kcme49p2.js} +21 -21
- package/dist/chunks/{filesystem-khmqacep.js → command-khmqacep.js} +1 -1
- package/dist/chunks/{filesystem-vwt6h3tz.js → command-kkyxct86.js} +4 -4
- package/dist/chunks/{filesystem-nc6zk1r7.js → command-kn6pff13.js} +24 -24
- package/dist/chunks/{filesystem-t7a1f2y6.js → command-kv6t07rj.js} +14 -14
- package/dist/chunks/{filesystem-kwb1v3vj.js → command-kwb1v3vj.js} +1 -1
- package/dist/chunks/{filesystem-9893enz5.js → command-kx57zey2.js} +11 -11
- package/dist/chunks/{filesystem-9jabj0jk.js → command-m26n4tkg.js} +4 -4
- package/dist/chunks/{filesystem-zhfa0hft.js → command-m38q3wy3.js} +14 -14
- package/dist/chunks/{filesystem-qx9ba4sp.js → command-m95xgvrp.js} +31 -31
- package/dist/chunks/{filesystem-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-maspj1v3.js → command-maspj1v3.js} +1 -1
- package/dist/chunks/{filesystem-9fjp44j3.js → command-mdwjtjcb.js} +14 -14
- package/dist/chunks/{filesystem-pr4qgnr7.js → command-mdzseb04.js} +23 -23
- package/dist/chunks/{filesystem-bj2d5s9t.js → command-mfj0sxs3.js} +28 -28
- package/dist/chunks/{filesystem-bdbdb37z.js → command-mgym7y53.js} +50 -50
- package/dist/chunks/{filesystem-mvgnf8hp.js → command-mjqjpb51.js} +20 -20
- package/dist/chunks/{filesystem-126zz3q1.js → command-mjzferrs.js} +5 -5
- package/dist/chunks/{filesystem-9yvejhhv.js → command-mvnn9g24.js} +20 -20
- package/dist/chunks/{filesystem-x661k3y3.js → command-mxvxcxwy.js} +4 -4
- package/dist/chunks/{filesystem-mrb3pdj1.js → command-mybp2pev.js} +1 -1
- package/dist/chunks/{filesystem-93be92en.js → command-n11rvh9p.js} +34 -34
- package/dist/chunks/{filesystem-n6mrmtb3.js → command-n6mrmtb3.js} +1 -1
- package/dist/chunks/{filesystem-wqhwg8sr.js → command-n6s6s5d0.js} +45 -45
- package/dist/chunks/{filesystem-s06pmf3q.js → command-nn416cd4.js} +6 -6
- package/dist/chunks/{filesystem-gb398jef.js → command-npm9b9zb.js} +5 -5
- package/dist/chunks/{filesystem-q17z9dx8.js → command-p3p972wa.js} +5 -5
- package/dist/chunks/{filesystem-vk7a0qve.js → command-p3pg4pyc.js} +15 -15
- package/dist/chunks/{filesystem-82a5zyy8.js → command-p51tpj98.js} +11 -11
- package/dist/chunks/{filesystem-2g49mxwr.js → command-p6d0b62k.js} +12 -12
- package/dist/chunks/{filesystem-eq13jef3.js → command-p820w4f0.js} +21 -21
- package/dist/chunks/{filesystem-y7w5x3t0.js → command-pazb1tph.js} +14 -14
- package/dist/chunks/{filesystem-pc1v25hk.js → command-pc1v25hk.js} +1 -1
- package/dist/chunks/{filesystem-b7c09qga.js → command-pex2677d.js} +5 -5
- package/dist/chunks/{filesystem-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-mr7jwncp.js → command-pk1g9nse.js} +23 -23
- package/dist/chunks/{filesystem-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-a56ettrm.js → command-pkz1gcrh.js} +11 -11
- package/dist/chunks/{filesystem-qdvnf0ks.js → command-psphhya3.js} +7 -7
- package/dist/chunks/{filesystem-7vnmjcnk.js → command-pv4gp5m4.js} +2 -2
- package/dist/chunks/{filesystem-qtvz41fz.js → command-q1y8bwa4.js} +182 -182
- package/dist/chunks/{filesystem-zapavctn.js → command-qakj2yt3.js} +6 -6
- package/dist/chunks/{filesystem-pec85awn.js → command-qc148cpv.js} +21 -21
- package/dist/chunks/{filesystem-qp7m8750.js → command-qp7m8750.js} +3 -3
- package/dist/chunks/{filesystem-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-5bg7ay96.js → command-qsyf62v5.js} +30 -30
- package/dist/chunks/{filesystem-e2z0k8kw.js → command-qxhg3shq.js} +11 -11
- package/dist/chunks/{filesystem-0mjdzdxd.js → command-r57we6b1.js} +5 -5
- package/dist/chunks/{filesystem-cq9vh2fv.js → command-r61qxybf.js} +8 -8
- package/dist/chunks/{filesystem-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-s8d7rejh.js → command-rhjbct0v.js} +4 -4
- package/dist/chunks/{filesystem-8m2msbn3.js → command-rv6zpw67.js} +35 -35
- package/dist/chunks/{filesystem-mctgdp4w.js → command-rxmh8njq.js} +30 -30
- package/dist/chunks/{filesystem-cz5fe6tg.js → command-rzsyqtcs.js} +21 -21
- package/dist/chunks/{filesystem-rb1cnjjp.js → command-s7cy65rz.js} +18 -18
- package/dist/chunks/{filesystem-yv1na398.js → command-sce0r76x.js} +10 -10
- package/dist/chunks/{filesystem-gg68t3hz.js → command-sfd6krag.js} +7 -7
- package/dist/chunks/{filesystem-c35ra91z.js → command-sjs7wga1.js} +26 -26
- package/dist/chunks/{filesystem-dkp7y90n.js → command-smsqhasw.js} +26 -26
- package/dist/chunks/{filesystem-hd48n6ar.js → command-stq6srjr.js} +20 -20
- package/dist/chunks/{filesystem-s5ckyk9d.js → command-svwczm27.js} +8 -8
- package/dist/chunks/{filesystem-r5wxk7rn.js → command-t3e98aec.js} +15 -15
- package/dist/chunks/{filesystem-v2y4kgk1.js → command-t718dtrh.js} +47 -47
- package/dist/chunks/{filesystem-028swf18.js → command-t7bcp663.js} +9 -9
- package/dist/chunks/{filesystem-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-kbhdv85b.js → command-tbjtr317.js} +18 -18
- package/dist/chunks/{filesystem-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{filesystem-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-86qzxe6p.js → command-tfzngn12.js} +4 -4
- package/dist/chunks/{filesystem-8c364tr5.js → command-tp3hq1fz.js} +3 -3
- package/dist/chunks/{filesystem-s73jzx7y.js → command-tw1m0zds.js} +43 -43
- package/dist/chunks/{filesystem-epeyn0qs.js → command-twx1y9b4.js} +26 -26
- package/dist/chunks/{filesystem-4e8vs6eh.js → command-tx9w5tca.js} +8 -8
- package/dist/chunks/{filesystem-tyytaxap.js → command-tyytaxap.js} +1 -1
- package/dist/chunks/{filesystem-cqw872z8.js → command-v2x3p8dx.js} +30 -30
- package/dist/chunks/{filesystem-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
- package/dist/chunks/{filesystem-tegs1ycp.js → command-v8jfbz3g.js} +6 -6
- package/dist/chunks/{filesystem-4m9n96wx.js → command-v9a132p0.js} +18 -18
- package/dist/chunks/{filesystem-gwj0vhyb.js → command-vbamk4ns.js} +35 -35
- package/dist/chunks/{filesystem-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-8g0yt8dy.js → command-vj35nasm.js} +70 -70
- package/dist/chunks/{filesystem-afgz2svm.js → command-vk5kq5j8.js} +13 -13
- package/dist/chunks/{filesystem-gc65y9s2.js → command-vvg7my21.js} +17 -17
- package/dist/chunks/{filesystem-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-w5zzhgd0.js → command-w4axh9wz.js} +6 -6
- package/dist/chunks/{filesystem-400872z1.js → command-w4mk1hws.js} +20 -20
- package/dist/chunks/{filesystem-7fkffz83.js → command-w92k2e0p.js} +6 -6
- package/dist/chunks/{filesystem-nnpwh0my.js → command-wak8pa62.js} +15 -15
- package/dist/chunks/{filesystem-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{filesystem-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-0se0c77j.js → command-web3t9xy.js} +4 -4
- package/dist/chunks/{filesystem-bjx1sjef.js → command-wjr9rjd7.js} +6 -6
- package/dist/chunks/{filesystem-45pdh49v.js → command-wn0xhw32.js} +24 -24
- package/dist/chunks/{filesystem-vc9x991w.js → command-wn13chhe.js} +21 -21
- package/dist/chunks/{filesystem-63zyt423.js → command-wrc6k2zh.js} +13 -13
- package/dist/chunks/{filesystem-k5ggreqd.js → command-wsmpk9jk.js} +5 -5
- package/dist/chunks/{filesystem-qp797tjx.js → command-x0g438en.js} +89 -89
- package/dist/chunks/{filesystem-x08z24be.js → command-x6x33ar5.js} +10 -10
- package/dist/chunks/{filesystem-sxpag4wm.js → command-xdhksg1q.js} +14 -14
- package/dist/chunks/{filesystem-a2dbqtpr.js → command-xdydn0yk.js} +16 -16
- package/dist/chunks/{filesystem-0f67byd1.js → command-xe70zbdz.js} +5 -5
- package/dist/chunks/{filesystem-hsmb96zs.js → command-xewwdcxe.js} +20 -20
- package/dist/chunks/{filesystem-h32rg1s2.js → command-xexx9thr.js} +19 -19
- package/dist/chunks/{filesystem-jp01ts1z.js → command-xhmz0e2c.js} +11 -11
- package/dist/chunks/{filesystem-xrrvmzfg.js → command-xr5vn762.js} +9 -9
- package/dist/chunks/{filesystem-0q608b5f.js → command-xsq7pz40.js} +16 -16
- package/dist/chunks/{filesystem-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-6zhaf8kp.js → command-y4g1qmba.js} +9 -9
- package/dist/chunks/{filesystem-dpkg50ah.js → command-y71avatq.js} +4 -4
- package/dist/chunks/{filesystem-jjfs97vk.js → command-yc2cz67n.js} +32 -32
- package/dist/chunks/{filesystem-1qjvw4y4.js → command-yfxdcy39.js} +7 -7
- package/dist/chunks/{filesystem-ryh741tj.js → command-ymgkxg7n.js} +11 -11
- package/dist/chunks/{filesystem-na6gcdt8.js → command-ysye7j36.js} +20 -20
- package/dist/chunks/{filesystem-xab8tp7k.js → command-yy8p69dz.js} +16 -16
- package/dist/chunks/{filesystem-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-7q4dk8at.js → command-z28rahrh.js} +27 -27
- package/dist/chunks/{filesystem-8myfktms.js → command-z4a4venm.js} +17 -17
- package/dist/chunks/{filesystem-kh6bv03q.js → command-z9pbab2f.js} +13 -13
- package/dist/chunks/{filesystem-mn8trjc8.js → command-zbak8g8s.js} +5 -5
- package/dist/chunks/{filesystem-1waq66yh.js → command-ze3ntbvb.js} +4 -4
- package/dist/chunks/{filesystem-1sqqfm6b.js → command-zhdc5kpb.js} +13 -13
- package/dist/chunks/{filesystem-jmv89t63.js → command-zjr49qxn.js} +44 -44
- package/dist/chunks/{filesystem-6g6nf04w.js → command-zqsad2gs.js} +2 -2
- package/dist/chunks/{filesystem-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-chxb0k6t.js → command-zxn1czyk.js} +23 -23
- package/dist/chunks/{filesystem-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-zn5evjtn.js → command-zxqtx2gp.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +109 -109
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- 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 +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- 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 +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- 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 +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/filesystem-36kqp0j3.js +0 -523
- package/dist/chunks/filesystem-45th5jwr.js +0 -18
- package/dist/chunks/filesystem-btej2qac.js +0 -257
- package/dist/chunks/filesystem-smhs581c.js +0 -26
- /package/dist/chunks/{filesystem-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5fjb7ams.js → command-5fjb7ams.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a058387c.js → command-a058387c.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → command-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wjj7prxr.js → command-wjj7prxr.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node46
|
|
5
|
+
} from "./command-8yr3zrx2.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./command-tx9w5tca.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-jbxhns51.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-psphhya3.js";
|
|
16
16
|
import {
|
|
17
17
|
Error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-wn0xhw32.js";
|
|
19
19
|
import {
|
|
20
20
|
get5
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-54ma36ye.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service30,
|
|
24
|
+
node34
|
|
25
|
+
} from "./command-802megp1.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
make14
|
|
28
|
+
} from "./command-57b9ws8p.js";
|
|
29
29
|
import {
|
|
30
30
|
toLLMMessages2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-zqsad2gs.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/session/model-request.ts
|
|
37
37
|
var exports_model_request = {};
|
|
38
38
|
__export(exports_model_request, {
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service29,
|
|
40
40
|
SessionModelRequest: () => exports_model_request,
|
|
41
41
|
baseTranscript: () => baseTranscript2,
|
|
42
42
|
boundImages: () => boundImages2,
|
|
43
|
-
layer: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
layer: () => layer13,
|
|
44
|
+
node: () => node33,
|
|
45
45
|
outputLimit: () => outputLimit2,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -77,7 +77,7 @@ var baseTranscript2 = (input) => {
|
|
|
77
77
|
return {
|
|
78
78
|
providerMetadataKey,
|
|
79
79
|
system: [
|
|
80
|
-
input.agent.system ? input.agent.system :
|
|
80
|
+
input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
|
|
81
81
|
input.initial
|
|
82
82
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
83
83
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -158,11 +158,11 @@ var boundImages2 = (messages) => {
|
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service29 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const transport = yield*
|
|
163
|
+
var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
164
|
+
const hooks = yield* Service78;
|
|
165
|
+
const transport = yield* Service30;
|
|
166
166
|
const app = yield* Metadata2;
|
|
167
167
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
168
168
|
const session = input.session;
|
|
@@ -264,17 +264,17 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
266
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
267
|
-
return
|
|
267
|
+
return Service29.of({
|
|
268
268
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
269
269
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
270
270
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
271
271
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
276
|
-
layer:
|
|
277
|
-
deps: [
|
|
274
|
+
var node33 = makeLocationNode({
|
|
275
|
+
service: Service29,
|
|
276
|
+
layer: layer13,
|
|
277
|
+
deps: [node82, node34, node46]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service29, layer13, node33, exports_model_request };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./command-cvt24va3.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service76
|
|
13
|
+
} from "./command-et97578y.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service54
|
|
16
|
+
} from "./command-mdwjtjcb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service61
|
|
19
|
+
} from "./command-jbxhns51.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service18,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-3y689znq.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service84,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-8sptrx30.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service65
|
|
37
|
+
} from "./command-t718dtrh.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./command-x0g438en.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./command-ze3ntbvb.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./command-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input11,
|
|
53
|
+
Plugin: () => Plugin47,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name11
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name11 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
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.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input11 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
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."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin47 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service24;
|
|
124
|
+
const jobs = yield* Service54;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service76;
|
|
127
|
+
const access = yield* Service18;
|
|
128
|
+
const shell = yield* Service65;
|
|
129
|
+
const shellSelect = yield* Service84;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service61;
|
|
132
|
+
const config = yield* Service68;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin39 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name11,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin39 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name11,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input11,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin39 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name11,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name11];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin47, exports_shell2 };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service85,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-5kc27ehr.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service9,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer7,
|
|
17
|
+
node: () => node11
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service9 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service85;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service9.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node11 = makeGlobalNode({ service: Service9, layer: layer7, deps: [node89] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service9, layer7, node11, exports_sdk };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info17,
|
|
12
12
|
Object: () => Object2,
|
|
13
|
-
Rule: () =>
|
|
13
|
+
Rule: () => Rule3
|
|
14
14
|
});
|
|
15
15
|
import { Schema, SchemaGetter } from "effect";
|
|
16
16
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
19
19
|
encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
|
|
20
20
|
}));
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
|
-
var
|
|
22
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info17 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info17, exports_permission2 };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service76,
|
|
8
|
+
node79
|
|
9
|
+
} from "./command-et97578y.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./command-yc2cz67n.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-9wev2pgg.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
22
22
|
__export(exports_read_filesystem, {
|
|
23
23
|
BinaryFileError: () => BinaryFileError2,
|
|
24
24
|
FileContent: () => FileContent2,
|
|
25
|
-
ListEntry: () =>
|
|
25
|
+
ListEntry: () => ListEntry3,
|
|
26
26
|
ListPage: () => ListPage2,
|
|
27
27
|
MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
|
|
28
28
|
MAX_READ_BYTES: () => MAX_READ_BYTES2,
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service35,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node38,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
|
101
101
|
next: Schema.optionalKey(PositiveInt2)
|
|
102
102
|
}) {
|
|
103
103
|
}
|
|
104
|
-
var
|
|
104
|
+
var ListEntry3 = Schema.Struct({
|
|
105
105
|
path: RelativePath2,
|
|
106
106
|
type: Schema.Literals(["file", "directory", "symlink"])
|
|
107
107
|
}).annotate({ identifier: "ReadTool.ListEntry" });
|
|
108
108
|
|
|
109
109
|
class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
110
110
|
type: Schema.Literal("list-page"),
|
|
111
|
-
entries: Schema.Array(
|
|
111
|
+
entries: Schema.Array(ListEntry3),
|
|
112
112
|
truncated: Schema.Boolean,
|
|
113
113
|
next: Schema.optionalKey(PositiveInt2)
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service35 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -227,7 +227,7 @@ var list = (items, page) => {
|
|
|
227
227
|
const offset = page.offset || 1;
|
|
228
228
|
const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
|
|
229
229
|
const visible = items.flatMap((item) => item.type === "other" ? [] : [
|
|
230
|
-
|
|
230
|
+
ListEntry3.make({
|
|
231
231
|
path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
|
|
232
232
|
type: item.type
|
|
233
233
|
})
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service76;
|
|
335
|
+
return Service35.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node38 = makeLocationNode({ service: Service35, layer, deps: [node79] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service35, read2, node38, exports_read_filesystem };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-wjr9rjd7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin23,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin23 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin2 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin23, exports_exa };
|