@opencode/core 0.0.0-dev-900 → 0.0.0-dev-913
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +246 -246
- package/dist/bus.js +84 -84
- package/dist/chunks/{filesystem-kssh28p5.js → command-00trpnhe.js} +5 -5
- package/dist/chunks/{filesystem-1a5bb6as.js → command-013mzpwz.js} +6 -6
- package/dist/chunks/{filesystem-034tev2y.js → command-034tev2y.js} +2 -2
- package/dist/chunks/{filesystem-y7k285qd.js → command-06zmwrsh.js} +33 -33
- package/dist/chunks/{filesystem-02z2ds17.js → command-0cvmjxzj.js} +8 -8
- package/dist/chunks/{filesystem-0j7gp832.js → command-0j7gp832.js} +1 -1
- package/dist/chunks/{filesystem-0ma9gw4f.js → command-0ma9gw4f.js} +2 -2
- package/dist/chunks/{filesystem-46esafq5.js → command-0wgy0kyp.js} +10 -10
- package/dist/chunks/{filesystem-1zez8a6k.js → command-0z31hhpg.js} +9 -9
- package/dist/chunks/{filesystem-nchw3v9s.js → command-10pn4eb5.js} +7 -7
- package/dist/chunks/{filesystem-8es3pha2.js → command-17b8a7h3.js} +9 -9
- package/dist/chunks/{filesystem-1aqsckx4.js → command-1aqsckx4.js} +1 -1
- package/dist/chunks/{filesystem-k4qe4bdb.js → command-1b79wqh4.js} +6 -6
- package/dist/chunks/{filesystem-vhmjqsfk.js → command-1e3tbdfn.js} +3 -3
- package/dist/chunks/{filesystem-1ep2p91f.js → command-1ep2p91f.js} +2 -2
- package/dist/chunks/{filesystem-jy0jnkzv.js → command-1fq0qm8t.js} +5 -5
- package/dist/chunks/{filesystem-gy4928xg.js → command-1g5fh2vm.js} +17 -17
- package/dist/chunks/{filesystem-zaqe5xsm.js → command-1kcdp6tz.js} +1 -1
- package/dist/chunks/{filesystem-zdgre5kj.js → command-1m95t1p1.js} +24 -24
- package/dist/chunks/{filesystem-wzcb695t.js → command-1qf5wgfk.js} +59 -59
- package/dist/chunks/{filesystem-yqhvz5dd.js → command-1tr3qjrs.js} +58 -58
- package/dist/chunks/{filesystem-1v2g13eq.js → command-1v2g13eq.js} +4 -4
- package/dist/chunks/{filesystem-jhsnhsa7.js → command-1w95etyq.js} +37 -37
- package/dist/chunks/{filesystem-1x2knyw4.js → command-1x2knyw4.js} +1 -1
- package/dist/chunks/{filesystem-vcbvzcay.js → command-1xht72s7.js} +3 -3
- package/dist/chunks/{filesystem-p7vhpwh8.js → command-1yq9hg58.js} +5 -5
- package/dist/chunks/{filesystem-48wgh0r5.js → command-228my02x.js} +10 -10
- package/dist/chunks/{filesystem-cdvjn5dz.js → command-26c2jvyw.js} +14 -14
- package/dist/chunks/{filesystem-w0jedvew.js → command-2d7ax4bd.js} +34 -34
- package/dist/chunks/{filesystem-2fc7eemy.js → command-2fc7eemy.js} +1 -1
- package/dist/chunks/{filesystem-2p60zmnr.js → command-2p60zmnr.js} +2 -2
- package/dist/chunks/{filesystem-4d76xdka.js → command-2pa18m2n.js} +32 -32
- package/dist/chunks/{filesystem-0xrhftmq.js → command-2tag6eys.js} +11 -11
- package/dist/chunks/{filesystem-42csrcj6.js → command-33en4btn.js} +7 -7
- package/dist/chunks/{filesystem-3wyhrqfb.js → command-3c7qpzd7.js} +8 -8
- package/dist/chunks/{filesystem-mrzew5a0.js → command-3fxt8nya.js} +5 -5
- package/dist/chunks/{filesystem-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-e070wvce.js → command-3mzz78dd.js} +22 -22
- package/dist/chunks/{filesystem-3nnrz6f6.js → command-3nnrz6f6.js} +1 -1
- package/dist/chunks/{filesystem-gk0cbdm8.js → command-3qywsp38.js} +5 -5
- package/dist/chunks/{filesystem-5tm0nqws.js → command-3tzr3tgk.js} +18 -18
- package/dist/chunks/{filesystem-y9yxqpkb.js → command-3z33vgvx.js} +18 -18
- package/dist/chunks/{filesystem-1dm1rjcg.js → command-40wp8tm1.js} +32 -32
- package/dist/chunks/{filesystem-40y6dtc2.js → command-40y6dtc2.js} +1 -1
- package/dist/chunks/{filesystem-40za9wsf.js → command-40za9wsf.js} +2 -2
- package/dist/chunks/{filesystem-44pmzq9c.js → command-44pmzq9c.js} +2 -2
- package/dist/chunks/{filesystem-55g2q5p5.js → command-4awjamkd.js} +2 -2
- package/dist/chunks/{filesystem-4dx1dgte.js → command-4dx1dgte.js} +1 -1
- package/dist/chunks/{filesystem-s063p80t.js → command-4epkq5p9.js} +22 -22
- package/dist/chunks/{filesystem-4f25tdd0.js → command-4f25tdd0.js} +1 -1
- package/dist/chunks/{filesystem-17vt7wwr.js → command-4hqqc0tb.js} +32 -32
- package/dist/chunks/{filesystem-km4jpkz6.js → command-4j5gbh4z.js} +4 -4
- package/dist/chunks/{filesystem-c1edwwnv.js → command-4mjfmwy3.js} +19 -19
- package/dist/chunks/{filesystem-4pyp9zr9.js → command-4pyp9zr9.js} +1 -1
- package/dist/chunks/{filesystem-4v008n1t.js → command-4v008n1t.js} +1 -1
- package/dist/chunks/{filesystem-czqb1qjr.js → command-4vw59fw4.js} +6 -6
- package/dist/chunks/{filesystem-s41e1wzc.js → command-4wq72d97.js} +9 -9
- package/dist/chunks/{filesystem-cvwe7hsa.js → command-4xcsbp6b.js} +6 -6
- package/dist/chunks/{filesystem-5stch7mz.js → command-50d47a1p.js} +4 -4
- package/dist/chunks/{filesystem-p2tvx8t7.js → command-50emzza2.js} +5 -5
- package/dist/chunks/{filesystem-at088wgp.js → command-580q6ksr.js} +39 -39
- package/dist/chunks/{filesystem-qe76v4mn.js → command-5b45kwht.js} +7 -7
- package/dist/chunks/{filesystem-4tnszcv9.js → command-5dp5p6d0.js} +7 -7
- package/dist/chunks/{filesystem-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-cqv7tc87.js → command-5p9f52kb.js} +33 -33
- package/dist/chunks/{filesystem-fe9jvyxb.js → command-5qk4cnnh.js} +8 -8
- package/dist/chunks/{filesystem-c2shajz4.js → command-5w2qr5pg.js} +25 -25
- package/dist/chunks/{filesystem-kbgs7tyr.js → command-67wwskyb.js} +4 -4
- package/dist/chunks/{filesystem-rdn5fp89.js → command-69nhr23y.js} +9 -9
- package/dist/chunks/{filesystem-718p8p18.js → command-69tpahy1.js} +41 -41
- package/dist/chunks/{filesystem-q6ses74x.js → command-6faw1d9j.js} +19 -19
- package/dist/chunks/{filesystem-kf0dj0r3.js → command-6fjarha2.js} +17 -17
- package/dist/chunks/{filesystem-x1hgtw2f.js → command-6gj63hbd.js} +6 -6
- package/dist/chunks/{filesystem-7zzyr76m.js → command-6j81be6m.js} +35 -35
- package/dist/chunks/{filesystem-zsp4v0js.js → command-6t40r86m.js} +11 -11
- package/dist/chunks/{filesystem-7559cqc2.js → command-6tysf92q.js} +43 -43
- package/dist/chunks/{filesystem-vq0y6bse.js → command-6wzcrn91.js} +11 -11
- package/dist/chunks/{filesystem-v7rmebyy.js → command-6x6becs7.js} +12 -12
- package/dist/chunks/{filesystem-e4cczzb6.js → command-6y1rc5ns.js} +3 -3
- package/dist/chunks/{filesystem-w4zkc3a0.js → command-7229sesc.js} +12 -12
- package/dist/chunks/{filesystem-hx5nh5s3.js → command-75kb1dqt.js} +31 -31
- package/dist/chunks/{filesystem-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-gg7m0nzr.js → command-7n6b9kmv.js} +16 -16
- package/dist/chunks/{filesystem-2t6zpmzs.js → command-7q96cqrd.js} +6 -6
- package/dist/chunks/{filesystem-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
- package/dist/chunks/{filesystem-7weczvnd.js → command-7weczvnd.js} +1 -1
- package/dist/chunks/{filesystem-0ezh5f4m.js → command-7x7zqjfv.js} +11 -11
- package/dist/chunks/{filesystem-e2d6g660.js → command-7xft7tx6.js} +22 -22
- package/dist/chunks/{filesystem-6rgg22fb.js → command-8025sr0h.js} +3 -3
- package/dist/chunks/{filesystem-775hqbnd.js → command-80mg3ag8.js} +3 -3
- package/dist/chunks/{filesystem-weqc7sb9.js → command-81hxxa3v.js} +3 -3
- package/dist/chunks/{filesystem-3adw4bt5.js → command-859w1rtj.js} +9 -9
- package/dist/chunks/{filesystem-r1xy8wjw.js → command-86ptcvb4.js} +46 -46
- package/dist/chunks/{filesystem-89287pr7.js → command-89287pr7.js} +1 -1
- package/dist/chunks/{filesystem-8b3vzgkx.js → command-8b3vzgkx.js} +1 -1
- package/dist/chunks/{filesystem-8cg7mtm3.js → command-8cg7mtm3.js} +1 -1
- package/dist/chunks/{filesystem-kb2t6asd.js → command-8nw4tyrr.js} +43 -43
- package/dist/chunks/{filesystem-8sxe6kv8.js → command-8sxe6kv8.js} +2 -2
- package/dist/chunks/{filesystem-r17fbvme.js → command-8t99kr38.js} +4 -4
- package/dist/chunks/{filesystem-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
- package/dist/chunks/command-8x060fmy.js +18 -0
- package/dist/chunks/{filesystem-epywfnkq.js → command-8zrv9xj3.js} +81 -81
- package/dist/chunks/{filesystem-8zv0xmg5.js → command-8zv0xmg5.js} +1 -1
- package/dist/chunks/{filesystem-xv6av45t.js → command-90ac77gn.js} +8 -8
- package/dist/chunks/{filesystem-z080rjh6.js → command-90ct6wq4.js} +4 -4
- package/dist/chunks/{filesystem-cxab28sr.js → command-93xmyh8q.js} +5 -5
- package/dist/chunks/{filesystem-963hk181.js → command-963hk181.js} +2 -2
- package/dist/chunks/{filesystem-938jxp85.js → command-9k0dwq4f.js} +10 -10
- package/dist/chunks/{filesystem-jmknrr9q.js → command-9n6fb455.js} +16 -16
- package/dist/chunks/{filesystem-nqy8vhw1.js → command-9r5vpkx0.js} +20 -20
- package/dist/chunks/{filesystem-035wadpx.js → command-9rqhy0gk.js} +7 -7
- package/dist/chunks/{filesystem-p10mzfnc.js → command-9s8e5srx.js} +5 -5
- package/dist/chunks/{filesystem-trz3127x.js → command-9vzfckz4.js} +25 -25
- package/dist/chunks/{filesystem-f0mr1pc6.js → command-9y1beaj8.js} +32 -32
- package/dist/chunks/{filesystem-y2jyke39.js → command-a00r7tq5.js} +14 -14
- package/dist/chunks/{filesystem-nqx1ern4.js → command-a2d524wa.js} +9 -9
- package/dist/chunks/{filesystem-7nqkf5r1.js → command-a5fx33f2.js} +6 -6
- package/dist/chunks/{filesystem-2ynhg311.js → command-a85fg51h.js} +23 -23
- package/dist/chunks/{filesystem-wryyvkqn.js → command-aj1vmsda.js} +19 -19
- package/dist/chunks/{filesystem-vsbgvdf0.js → command-aj2q0md3.js} +14 -14
- package/dist/chunks/command-aqczazaa.js +16 -0
- package/dist/chunks/{filesystem-dgb83nsm.js → command-as52851a.js} +7 -7
- package/dist/chunks/{filesystem-bgwzppbt.js → command-avjy05q9.js} +15 -15
- package/dist/chunks/{filesystem-rsdvfnet.js → command-ay06fsmt.js} +11 -11
- package/dist/chunks/{filesystem-ayjs7tqn.js → command-ayjs7tqn.js} +2 -2
- package/dist/chunks/{filesystem-jaed4v45.js → command-b06xh644.js} +4 -4
- package/dist/chunks/{filesystem-b26ddj6h.js → command-b26ddj6h.js} +4 -4
- package/dist/chunks/{filesystem-h0pfp02j.js → command-bbmwqqf1.js} +12 -12
- package/dist/chunks/{filesystem-181902zs.js → command-bbw6s51r.js} +22 -22
- package/dist/chunks/{filesystem-ck7e0r21.js → command-bh1m2mqb.js} +63 -63
- package/dist/chunks/{filesystem-jkdcm5hg.js → command-bhfd478d.js} +4 -4
- package/dist/chunks/{filesystem-tk96nzak.js → command-bpbqk9d0.js} +29 -29
- package/dist/chunks/{filesystem-bstexjd6.js → command-bstexjd6.js} +1 -1
- package/dist/chunks/{filesystem-2wk0sjak.js → command-c36heay8.js} +12 -12
- package/dist/chunks/{filesystem-mpq7brr0.js → command-c46rsbf1.js} +19 -19
- package/dist/chunks/{filesystem-45xfphr3.js → command-c5c4j0d1.js} +4 -4
- package/dist/chunks/{filesystem-6kyk5zwt.js → command-c5hf02hq.js} +14 -14
- package/dist/chunks/{filesystem-v1ps7nwg.js → command-c9zk3e32.js} +8 -8
- package/dist/chunks/{filesystem-jvxqx3e4.js → command-cac6m2se.js} +12 -12
- package/dist/chunks/{filesystem-9936y3jg.js → command-ccrjcj8y.js} +8 -8
- package/dist/chunks/{filesystem-bh17vazq.js → command-cfybz2aq.js} +35 -35
- package/dist/chunks/{filesystem-9yqjp86x.js → command-cg3fcpn4.js} +6 -6
- package/dist/chunks/{filesystem-d0pmvwgf.js → command-cjqsf6bw.js} +9 -9
- package/dist/chunks/{filesystem-ckn0kvtp.js → command-ckn0kvtp.js} +3 -3
- package/dist/chunks/{filesystem-cpvd08na.js → command-cpvd08na.js} +1 -1
- package/dist/chunks/{filesystem-9650aqwr.js → command-cvhx2cky.js} +20 -20
- package/dist/chunks/{filesystem-cwrgdav8.js → command-cwrgdav8.js} +2 -2
- package/dist/chunks/{filesystem-qa3zm6vn.js → command-d0ct107g.js} +11 -11
- package/dist/chunks/{filesystem-3ag897fb.js → command-d26b71we.js} +29 -29
- package/dist/chunks/{filesystem-d2bwycwa.js → command-d3ps5zqb.js} +18 -18
- package/dist/chunks/{filesystem-avz8bhs5.js → command-d3xe1ges.js} +13 -13
- package/dist/chunks/{filesystem-p17589ft.js → command-d4qhqabv.js} +5 -5
- package/dist/chunks/{filesystem-d4v9tmah.js → command-d4v9tmah.js} +2 -2
- package/dist/chunks/{filesystem-nw5eecxx.js → command-d6k65kk8.js} +1 -1
- package/dist/chunks/{filesystem-eq6zysp6.js → command-d92cn63z.js} +6 -6
- package/dist/chunks/{filesystem-wq8rmehe.js → command-d92hqa40.js} +26 -26
- package/dist/chunks/{filesystem-ep6snxvm.js → command-dbwvxspc.js} +5 -5
- package/dist/chunks/{filesystem-kqa1ww29.js → command-dnk6derc.js} +9 -9
- package/dist/chunks/{filesystem-50pr8z8j.js → command-dqdyz552.js} +18 -18
- package/dist/chunks/{filesystem-dt77769w.js → command-dt77769w.js} +1 -1
- package/dist/chunks/{filesystem-9dxkw32d.js → command-dthwqf99.js} +18 -18
- package/dist/chunks/{filesystem-z9cq7218.js → command-e1afhnrj.js} +1 -1
- package/dist/chunks/{filesystem-3nzasfxf.js → command-e1jt5dma.js} +56 -56
- package/dist/chunks/{filesystem-cdnzabwv.js → command-e75vykw5.js} +25 -25
- package/dist/chunks/{filesystem-e834z07m.js → command-e834z07m.js} +1 -1
- package/dist/chunks/{filesystem-8bfbfs0m.js → command-ebr0238v.js} +20 -20
- package/dist/chunks/{filesystem-15z4wtk0.js → command-egpeh0k8.js} +29 -29
- package/dist/chunks/{filesystem-eqw4pqj1.js → command-eqw4pqj1.js} +2 -2
- package/dist/chunks/{filesystem-cmm5btky.js → command-er1cyqye.js} +88 -88
- package/dist/chunks/{filesystem-d390zwf3.js → command-etrnj9s7.js} +8 -8
- package/dist/chunks/{filesystem-th0477r0.js → command-f1g16kct.js} +11 -11
- package/dist/chunks/{filesystem-jb1c1e15.js → command-f2e43cgm.js} +31 -31
- package/dist/chunks/{filesystem-6sfcjb92.js → command-f2g7mmfk.js} +15 -15
- package/dist/chunks/{filesystem-njg3q12r.js → command-f41k03vz.js} +12 -12
- package/dist/chunks/{filesystem-bcjnxnhp.js → command-f831zzye.js} +41 -41
- package/dist/chunks/{filesystem-95chw932.js → command-f96w9a59.js} +26 -26
- package/dist/chunks/{filesystem-921qrkta.js → command-f9anazer.js} +2 -2
- package/dist/chunks/{filesystem-6pgb0c6g.js → command-fb4mvtz0.js} +4 -4
- package/dist/chunks/{filesystem-fffv3p7h.js → command-fffv3p7h.js} +1 -1
- package/dist/chunks/{filesystem-fg9p65nk.js → command-fg9p65nk.js} +2 -2
- package/dist/chunks/{filesystem-c5sns9rs.js → command-fqpe3gxd.js} +51 -51
- package/dist/chunks/{filesystem-a6b3g8hx.js → command-g22qdsb0.js} +28 -28
- package/dist/chunks/{filesystem-9e67kptv.js → command-g80zygtn.js} +28 -28
- package/dist/chunks/{filesystem-gbjdnr5j.js → command-gbjdnr5j.js} +2 -2
- package/dist/chunks/{filesystem-3vcxs8xg.js → command-gf11xrvh.js} +31 -31
- package/dist/chunks/{filesystem-sdt5j0rm.js → command-ghrv1g9c.js} +4 -4
- package/dist/chunks/{filesystem-b1pxs4mx.js → command-gj4hjmj0.js} +11 -11
- package/dist/chunks/{filesystem-17sb9jwz.js → command-gkgh0mmh.js} +18 -18
- package/dist/chunks/{filesystem-8ff7z165.js → command-gqkxq4pr.js} +6 -6
- package/dist/chunks/{filesystem-gxs71cxp.js → command-gxs71cxp.js} +1 -1
- package/dist/chunks/{filesystem-d9qmvhen.js → command-h6hykmtc.js} +50 -50
- package/dist/chunks/{filesystem-0jm1xj0f.js → command-h94eg523.js} +27 -27
- package/dist/chunks/{filesystem-rbebbts0.js → command-hgs9egst.js} +5 -5
- package/dist/chunks/{filesystem-hgzwgvze.js → command-hgzwgvze.js} +2 -2
- package/dist/chunks/{filesystem-hzz3fta6.js → command-hpx4r85s.js} +23 -23
- package/dist/chunks/{filesystem-f2vx8x8a.js → command-hs663xhb.js} +10 -10
- package/dist/chunks/{filesystem-v5hpj9dd.js → command-hy8c1z76.js} +8 -8
- package/dist/chunks/{filesystem-qph9r1p4.js → command-hzw15rf8.js} +13 -13
- package/dist/chunks/{filesystem-7h6anj5r.js → command-j1qhn6xc.js} +5 -5
- package/dist/chunks/{filesystem-n9vcj540.js → command-j4bh57a7.js} +13 -13
- package/dist/chunks/{filesystem-ay4fx4x8.js → command-j6sqcpf2.js} +28 -28
- package/dist/chunks/{filesystem-ec7kz664.js → command-j89db767.js} +83 -83
- package/dist/chunks/{filesystem-7cwg0q3v.js → command-jgtjj2sx.js} +11 -11
- package/dist/chunks/{filesystem-4jcpm909.js → command-jkgs08xq.js} +5 -5
- package/dist/chunks/{filesystem-jm70asfg.js → command-jm70asfg.js} +1 -1
- package/dist/chunks/{filesystem-0f9gmxqb.js → command-jq6tdsen.js} +20 -20
- package/dist/chunks/{filesystem-8xs1szqy.js → command-k1y6wcsj.js} +8 -8
- package/dist/chunks/{filesystem-x7e420mc.js → command-kchst7at.js} +8 -8
- package/dist/chunks/{filesystem-xrf5bdyr.js → command-khf165tz.js} +13 -13
- package/dist/chunks/{filesystem-k46dd5bg.js → command-kj9n5bvh.js} +4 -4
- package/dist/chunks/{filesystem-79bbe8py.js → command-kkgfqycb.js} +20 -20
- package/dist/chunks/{filesystem-6vth7jmw.js → command-knzeqe75.js} +19 -19
- package/dist/chunks/{filesystem-xxphw40g.js → command-kr0x3sn9.js} +8 -8
- package/dist/chunks/{filesystem-5ejp9ww5.js → command-krvz20b8.js} +16 -16
- package/dist/chunks/{filesystem-s6v5r3nd.js → command-kt035rhs.js} +15 -15
- package/dist/chunks/{filesystem-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
- package/dist/chunks/{filesystem-kzczzf4v.js → command-kzczzf4v.js} +1 -1
- package/dist/chunks/{filesystem-x5cd4jne.js → command-m0r9mrhn.js} +3 -3
- package/dist/chunks/{filesystem-m1714858.js → command-m1714858.js} +1 -1
- package/dist/chunks/{filesystem-wk3tvmbz.js → command-m2nw327t.js} +23 -23
- package/dist/chunks/{filesystem-p6mqzsa5.js → command-m990xwvr.js} +6 -6
- package/dist/chunks/{filesystem-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-mb7mbhnz.js → command-mb7mbhnz.js} +3 -3
- package/dist/chunks/{filesystem-g9t47zy8.js → command-mc3jbc04.js} +40 -40
- package/dist/chunks/{filesystem-z1y40jkr.js → command-n1007a44.js} +14 -14
- package/dist/chunks/{filesystem-n084kdnf.js → command-n1ajx7pb.js} +17 -17
- package/dist/chunks/{filesystem-ag6wve2c.js → command-n1n7gd8m.js} +6 -6
- package/dist/chunks/{filesystem-rrcsvc7m.js → command-nafjxc76.js} +35 -35
- package/dist/chunks/{filesystem-648ay51t.js → command-ndvbzvsx.js} +36 -36
- package/dist/chunks/{filesystem-5jp6ksrm.js → command-nk8hrxbx.js} +9 -9
- package/dist/chunks/{filesystem-x9tgsr9g.js → command-nma2f0f2.js} +9 -9
- package/dist/chunks/{filesystem-h5chy42v.js → command-nt907s04.js} +3 -3
- package/dist/chunks/{filesystem-539dw32x.js → command-nyc4jwvb.js} +4 -4
- package/dist/chunks/{filesystem-dr1vsqzj.js → command-p337yctd.js} +5 -5
- package/dist/chunks/{filesystem-1fbngjjy.js → command-p5dn9afy.js} +18 -18
- package/dist/chunks/{filesystem-vp24eq8c.js → command-p9sdyysw.js} +5 -5
- package/dist/chunks/{filesystem-0yhbbq00.js → command-pbhvpg46.js} +10 -10
- package/dist/chunks/{filesystem-kq6p0m63.js → command-pg1pzp6z.js} +32 -32
- package/dist/chunks/{filesystem-rxdvn915.js → command-phtj74ja.js} +6 -6
- package/dist/chunks/{filesystem-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-4qtvx9g1.js → command-pn2d0cya.js} +26 -26
- package/dist/chunks/{filesystem-q1yqs2c4.js → command-psk411ep.js} +5 -5
- package/dist/chunks/{filesystem-px7qpgcn.js → command-px7qpgcn.js} +1 -1
- package/dist/chunks/{filesystem-mskkk8kf.js → command-pyaz3258.js} +13 -13
- package/dist/chunks/{filesystem-25rr9byq.js → command-qbs0tgkw.js} +19 -19
- package/dist/chunks/{filesystem-qp7r0hxv.js → command-qp7r0hxv.js} +1 -1
- package/dist/chunks/{filesystem-qsdghx1p.js → command-qsdghx1p.js} +1 -1
- package/dist/chunks/{filesystem-jwbahhn3.js → command-qyp7wbts.js} +46 -46
- package/dist/chunks/{filesystem-yydqqga9.js → command-r96ere88.js} +4 -4
- package/dist/chunks/{filesystem-kyggev0f.js → command-raa1pp1y.js} +32 -32
- package/dist/chunks/{filesystem-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
- package/dist/chunks/{filesystem-rbg54dp1.js → command-rcbjwvze.js} +4 -4
- package/dist/chunks/{filesystem-rgc9cx3e.js → command-rgc9cx3e.js} +2 -2
- package/dist/chunks/{filesystem-xep6jqgx.js → command-rmfwkswd.js} +48 -48
- package/dist/chunks/{filesystem-g7m0qqq0.js → command-rrx98x4h.js} +22 -22
- package/dist/chunks/{filesystem-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
- package/dist/chunks/{filesystem-ar2hvv65.js → command-rvy88985.js} +28 -28
- package/dist/chunks/{filesystem-vkxtbcsc.js → command-rwzm73t1.js} +17 -17
- package/dist/chunks/{filesystem-vyzkhsyt.js → command-rygtn875.js} +12 -12
- package/dist/chunks/{filesystem-hvj3ek6w.js → command-rzt2zc2n.js} +49 -49
- package/dist/chunks/{filesystem-19aj727q.js → command-s67xaphr.js} +8 -8
- package/dist/chunks/{filesystem-wfxxzfe0.js → command-s6q3rn22.js} +15 -15
- package/dist/chunks/{filesystem-6rkgwr3t.js → command-s83qkgyk.js} +18 -18
- package/dist/chunks/{filesystem-ba9sjspj.js → command-s9rq4s3b.js} +12 -12
- package/dist/chunks/{filesystem-sbya78hr.js → command-sbya78hr.js} +1 -1
- package/dist/chunks/{filesystem-0gwbn6a0.js → command-sbzezcpx.js} +8 -8
- package/dist/chunks/{filesystem-y6psyawz.js → command-scxj1mnc.js} +26 -26
- package/dist/chunks/{filesystem-e851vs6d.js → command-spnhen4n.js} +22 -22
- package/dist/chunks/{filesystem-svcy3p9a.js → command-svcy3p9a.js} +1 -1
- package/dist/chunks/{filesystem-jz2wm8q8.js → command-sxk6dszk.js} +44 -44
- package/dist/chunks/{filesystem-x83082rg.js → command-sy9wp2tg.js} +188 -188
- package/dist/chunks/{filesystem-t48jrnqq.js → command-t48jrnqq.js} +1 -1
- package/dist/chunks/{filesystem-pks4cj27.js → command-t4evkq04.js} +12 -12
- package/dist/chunks/{filesystem-ph2hg484.js → command-t62dywgn.js} +6 -6
- package/dist/chunks/{filesystem-7j2v9es1.js → command-t7100y82.js} +7 -7
- package/dist/chunks/{filesystem-fqshqzv0.js → command-t7e366dh.js} +5 -5
- package/dist/chunks/{filesystem-hxcyyd46.js → command-t8295zw7.js} +31 -31
- package/dist/chunks/{filesystem-t8erkws8.js → command-t8erkws8.js} +2 -2
- package/dist/chunks/command-tah495xq.js +571 -0
- package/dist/chunks/{filesystem-72rhbnyr.js → command-tappgj3r.js} +43 -43
- package/dist/chunks/{filesystem-tb2mrvc9.js → command-tb2mrvc9.js} +1 -1
- package/dist/chunks/{filesystem-tbpn7jtk.js → command-tbpn7jtk.js} +1 -1
- package/dist/chunks/{filesystem-tczq8hjw.js → command-tczq8hjw.js} +1 -1
- package/dist/chunks/{filesystem-skbh59st.js → command-tq5bj24n.js} +33 -33
- package/dist/chunks/{filesystem-tr8x705m.js → command-tr8x705m.js} +1 -1
- package/dist/chunks/{filesystem-tvtps2q9.js → command-tvtps2q9.js} +1 -1
- package/dist/chunks/{filesystem-twssxy5n.js → command-twssxy5n.js} +2 -2
- package/dist/chunks/{filesystem-hpgky7br.js → command-tywzvxnn.js} +17 -17
- package/dist/chunks/{filesystem-0tfj7kb5.js → command-v0g9v9ya.js} +17 -17
- package/dist/chunks/{filesystem-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
- package/dist/chunks/{filesystem-pd5348f3.js → command-vfgdymm7.js} +35 -35
- package/dist/chunks/{filesystem-mf97tfts.js → command-vhaactr6.js} +10 -10
- package/dist/chunks/{filesystem-vjf35v1f.js → command-vjf35v1f.js} +1 -1
- package/dist/chunks/{filesystem-gwv3crrh.js → command-vv7sjkkg.js} +12 -12
- package/dist/chunks/command-vysqytr9.js +265 -0
- package/dist/chunks/{filesystem-hsgagtv4.js → command-vzrcnz7e.js} +12 -12
- package/dist/chunks/{filesystem-scy8vkan.js → command-w3m1wmg0.js} +11 -11
- package/dist/chunks/{filesystem-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-2kg89srt.js → command-w79nt68w.js} +4 -4
- package/dist/chunks/{filesystem-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{filesystem-x6jvqskc.js → command-wcancq3b.js} +27 -27
- package/dist/chunks/{filesystem-cf8mej1f.js → command-wcm2h7g3.js} +12 -12
- package/dist/chunks/{filesystem-3ws7347k.js → command-wd57kq5n.js} +10 -10
- package/dist/chunks/{filesystem-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-wegkxhrn.js → command-wegkxhrn.js} +2 -2
- package/dist/chunks/{filesystem-epsw3z7t.js → command-wk79zm5y.js} +4 -4
- package/dist/chunks/{filesystem-2fk4msj1.js → command-wm9z83mr.js} +8 -8
- package/dist/chunks/{filesystem-w687dnns.js → command-wr3re1en.js} +4 -4
- package/dist/chunks/{filesystem-c7cw818c.js → command-wt99tj4q.js} +5 -5
- package/dist/chunks/{filesystem-wvr8xscb.js → command-wvr8xscb.js} +1 -1
- package/dist/chunks/{filesystem-9bf0jn0y.js → command-wxt7yapv.js} +22 -22
- package/dist/chunks/{filesystem-1k7rps55.js → command-x2yyftaa.js} +13 -13
- package/dist/chunks/{filesystem-z664tc7y.js → command-x5qdmv3a.js} +3 -3
- package/dist/chunks/{filesystem-ft24z9as.js → command-x60a774f.js} +19 -19
- package/dist/chunks/{filesystem-ctmpqb7w.js → command-x7de2wha.js} +9 -9
- package/dist/chunks/{filesystem-taa6ksrb.js → command-xa1ec4eg.js} +3 -3
- package/dist/chunks/{filesystem-ssh841z8.js → command-xahjgwpr.js} +6 -6
- package/dist/chunks/{filesystem-882t1npe.js → command-xbcvjbr6.js} +23 -23
- package/dist/chunks/{filesystem-xjr6c8m4.js → command-xjr6c8m4.js} +1 -1
- package/dist/chunks/{filesystem-c17c5xy0.js → command-xscct7ax.js} +23 -23
- package/dist/chunks/{filesystem-nkphb79f.js → command-xttd6wrv.js} +29 -29
- package/dist/chunks/{filesystem-j181v3gh.js → command-xtwr0ba3.js} +25 -25
- package/dist/chunks/{filesystem-fcrd7kek.js → command-xvn8mnch.js} +4 -4
- package/dist/chunks/{filesystem-4r8hh93p.js → command-y3w3myjr.js} +12 -12
- package/dist/chunks/{filesystem-yb20nhc3.js → command-yb20nhc3.js} +1 -1
- package/dist/chunks/{filesystem-2dfq8ch4.js → command-yb5mamag.js} +18 -18
- package/dist/chunks/{filesystem-yr705xyq.js → command-yr705xyq.js} +1 -1
- package/dist/chunks/{filesystem-ge2z13zp.js → command-yrrscxj1.js} +19 -19
- package/dist/chunks/{filesystem-jtgc3vqj.js → command-yttvs4ek.js} +27 -27
- package/dist/chunks/{filesystem-yvtc2x31.js → command-yvtc2x31.js} +1 -1
- package/dist/chunks/{filesystem-dg5es6ze.js → command-yw9j1nk8.js} +2 -2
- package/dist/chunks/{filesystem-6zj50wfk.js → command-ywg8d4kw.js} +21 -21
- package/dist/chunks/{filesystem-5x1njh48.js → command-yywg802q.js} +23 -23
- package/dist/chunks/{filesystem-1wpz8b97.js → command-z0y3kk74.js} +20 -20
- package/dist/chunks/{filesystem-78jb72c0.js → command-z12eb085.js} +22 -22
- package/dist/chunks/{filesystem-0a2yyxmk.js → command-z3a7xtye.js} +7 -7
- package/dist/chunks/{filesystem-dpj6gsfx.js → command-z6kqfz5m.js} +9 -9
- package/dist/chunks/{filesystem-nv1t5fvd.js → command-zbxg7ead.js} +11 -11
- package/dist/chunks/{filesystem-j9nxzz3g.js → command-ze75qvmd.js} +3 -3
- package/dist/chunks/{filesystem-1na8pg7t.js → command-zfspbp5e.js} +4 -4
- package/dist/chunks/{filesystem-by8ty0bx.js → command-zpdbqgja.js} +4 -4
- package/dist/chunks/{filesystem-nnfhsy33.js → command-zs3paaqc.js} +23 -23
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +438 -438
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +129 -129
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- 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 +112 -112
- 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/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +431 -431
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +183 -183
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +97 -97
- package/dist/location-services.js +428 -428
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +83 -83
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +409 -409
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +97 -97
- package/dist/plugin/vcs/hg.js +97 -97
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +5 -5
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +134 -134
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- 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 +250 -250
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +248 -248
- package/dist/session/usage.js +1 -1
- package/dist/session.js +241 -241
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +100 -100
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +166 -166
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +172 -172
- package/dist/tool/plugin/grep.js +171 -171
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +173 -173
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/types/v1/config/migrate.d.ts +2 -2
- package/dist/types/v1/config/provider.d.ts +4 -4
- package/dist/usage-limits.js +96 -96
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- 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 +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/filesystem-00ve6mdn.js +0 -18
- package/dist/chunks/filesystem-3r13rg9x.js +0 -571
- package/dist/chunks/filesystem-hcv8rxnm.js +0 -265
- package/dist/chunks/filesystem-qwz12hkq.js +0 -16
- /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-108x4f4w.js → command-108x4f4w.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-1kah00gy.js → command-1kah00gy.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-3af0jn4w.js → command-3af0jn4w.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-4qk9sjk2.js → command-4qk9sjk2.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-5w3e23ze.js → command-5w3e23ze.js} +0 -0
- /package/dist/chunks/{filesystem-6agm2x70.js → command-6agm2x70.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-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-beh6qq61.js → command-beh6qq61.js} +0 -0
- /package/dist/chunks/{filesystem-bhmrqjy3.js → command-bhmrqjy3.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-cqv5kn06.js → command-cqv5kn06.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-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-ean2d8b5.js → command-ean2d8b5.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → command-ec1grn59.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-fkpq3x5p.js → command-fkpq3x5p.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-jwr30sdr.js → command-jwr30sdr.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-nh4v3znn.js → command-nh4v3znn.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-p71gwv9c.js → command-p71gwv9c.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-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-syrav9an.js → command-syrav9an.js} +0 -0
- /package/dist/chunks/{filesystem-t03h4f5z.js → command-t03h4f5z.js} +0 -0
- /package/dist/chunks/{filesystem-ty7weeps.js → command-ty7weeps.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-vtarvj67.js → command-vtarvj67.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-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x4th4bpe.js → command-x4th4bpe.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-z0h12gs8.js → command-z0h12gs8.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
- /package/dist/chunks/{filesystem-zxpyjp51.js → command-zxpyjp51.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
load3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-tr8x705m.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/claude/probe.ts
|
|
9
9
|
var exports_probe = {};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-0ma9gw4f.js";
|
|
5
|
+
import {
|
|
6
|
+
Service83,
|
|
7
|
+
node86
|
|
8
|
+
} from "./command-cfybz2aq.js";
|
|
5
9
|
import {
|
|
6
10
|
Service72,
|
|
7
11
|
node74
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service66,
|
|
11
|
-
node68
|
|
12
|
-
} from "./filesystem-jz2wm8q8.js";
|
|
12
|
+
} from "./command-sxk6dszk.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
21
|
var exports_generate = {};
|
|
22
22
|
__export(exports_generate, {
|
|
23
23
|
Generate: () => exports_generate,
|
|
24
|
-
InvalidRequestError: () =>
|
|
24
|
+
InvalidRequestError: () => InvalidRequestError3,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service23,
|
|
29
|
+
UnavailableError: () => UnavailableError4,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer12,
|
|
32
|
+
node: () => node26
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class InvalidRequestError3 extends Schema.TaggedError()("Generate.InvalidRequestError", {
|
|
62
62
|
message: Schema.String,
|
|
63
63
|
field: Schema.optional(Schema.String)
|
|
64
64
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service23 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer12 = Layer.effect(Service23, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service72;
|
|
89
|
+
const models = yield* Service83;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer11 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError4({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError4({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(ai.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer11 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service23.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
|
|
|
176
176
|
if (error._tag === "Integration.Authorization")
|
|
177
177
|
return error;
|
|
178
178
|
if (error._tag === "SessionRunnerModel.VariantUnavailableError")
|
|
179
|
-
return new
|
|
179
|
+
return new InvalidRequestError3({ message: error.message, field: "model.variant" });
|
|
180
180
|
if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
|
|
181
181
|
return new UnsupportedModelError2({
|
|
182
182
|
providerID: ref.providerID,
|
|
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
|
|
|
184
184
|
capability: type,
|
|
185
185
|
message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
|
|
186
186
|
});
|
|
187
|
-
return new
|
|
187
|
+
return new InvalidRequestError3({ message: error.message, field: "model" });
|
|
188
188
|
}
|
|
189
189
|
function providerError(ref, error) {
|
|
190
190
|
const reason = error.reason;
|
|
191
191
|
if (reason._tag === "InvalidRequest" && reason.http === undefined)
|
|
192
|
-
return new
|
|
192
|
+
return new InvalidRequestError3({ message: reason.message });
|
|
193
193
|
if (reason._tag === "UnsupportedOperation")
|
|
194
|
-
return new
|
|
194
|
+
return new InvalidRequestError3({ message: reason.message });
|
|
195
195
|
const status = "http" in reason ? reason.http?.status : undefined;
|
|
196
196
|
const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
|
|
197
197
|
return new ProviderRequestError2({
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node26 = makeLocationNode({
|
|
219
|
+
service: Service23,
|
|
220
|
+
layer: layer12,
|
|
221
|
+
deps: [node74, node86, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service23, layer12, node26, exports_generate };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-d0ct107g.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service87
|
|
7
|
+
} from "./command-75kb1dqt.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID17,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-d26b71we.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID16,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-tq5bj24n.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID16.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID17.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service87;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID17.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./command-rmfwkswd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./command-aqczazaa.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/codemode/fetch.ts
|
|
12
12
|
var exports_fetch = {};
|
|
@@ -27,8 +27,8 @@ var fetch = (input, init = {}) => Effect.gen(function* () {
|
|
|
27
27
|
return yield* Effect.fail(new Error("fetch cannot be used for filesystem access."));
|
|
28
28
|
if (parsed?.username || parsed?.password)
|
|
29
29
|
return yield* Effect.fail(new TypeError("fetch cannot be used with credentials in the URL."));
|
|
30
|
-
const execution = yield*
|
|
31
|
-
const permission = yield*
|
|
30
|
+
const execution = yield* Service69;
|
|
31
|
+
const permission = yield* Service74;
|
|
32
32
|
const source = { type: "tool", messageID: execution.messageID, id: execution.id };
|
|
33
33
|
yield* permission.assert({
|
|
34
34
|
action: "webfetch",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service43,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node46
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service43 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service43, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service43.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service49, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node46 = makeGlobalNode({ service: Service43, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service43, node46, exports_environment };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service90
|
|
3
|
+
} from "./command-y3w3myjr.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make22 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service90;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service91
|
|
3
|
+
} from "./command-6x6becs7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./command-f96w9a59.js";
|
|
7
7
|
import {
|
|
8
8
|
StepFailedError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-4xcsbp6b.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
toSessionError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-1b79wqh4.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error5
|
|
18
|
+
} from "./command-xttd6wrv.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service54
|
|
21
|
+
} from "./command-6t40r86m.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-4f25tdd0.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./command-1xht72s7.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-ckn0kvtp.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make18
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -50,11 +50,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
50
50
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
51
51
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
52
52
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
53
|
-
var
|
|
54
|
-
const bus = yield*
|
|
53
|
+
var make18 = Effect.gen(function* () {
|
|
54
|
+
const bus = yield* Service91;
|
|
55
55
|
const llm = yield* LLMClient.Service;
|
|
56
|
-
const snapshots = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const snapshots = yield* Service46;
|
|
57
|
+
const toolOutput = yield* Service54;
|
|
58
58
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
59
59
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
60
60
|
const started = yield* Clock.currentTimeMillis;
|
|
@@ -76,7 +76,7 @@ var make3 = Effect.gen(function* () {
|
|
|
76
76
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
77
77
|
const executeTool = (call) => {
|
|
78
78
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
79
|
-
return new
|
|
79
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
80
80
|
return input.prepared.executeTool({
|
|
81
81
|
sessionID: input.sessionID,
|
|
82
82
|
agent: input.agent,
|
|
@@ -231,4 +231,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
231
231
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
232
232
|
};
|
|
233
233
|
|
|
234
|
-
export { Outcome2,
|
|
234
|
+
export { Outcome2, make18, exports_step };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./command-tq5bj24n.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-phtj74ja.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-7q96cqrd.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
14
14
|
import { isArrayNonEmpty } from "effect/Array";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Form } from "@opencode/schema/form";
|
|
17
|
-
var providerID =
|
|
17
|
+
var providerID = ID16.make("cloudflare-ai-gateway");
|
|
18
18
|
var accountIdField = Form.StringField.make({
|
|
19
19
|
type: "string",
|
|
20
20
|
key: "accountId",
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./command-bbw6s51r.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info21
|
|
9
|
+
} from "./command-etrnj9s7.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-m990xwvr.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service79
|
|
16
|
+
} from "./command-1tr3qjrs.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
observeSources2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-tvtps2q9.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/config/plugin/agent.ts
|
|
28
28
|
var exports_agent2 = {};
|
|
29
29
|
__export(exports_agent2, {
|
|
30
30
|
ConfigAgentPlugin: () => exports_agent2,
|
|
31
|
-
Plugin: () =>
|
|
31
|
+
Plugin: () => Plugin42
|
|
32
32
|
});
|
|
33
33
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
34
34
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -43,14 +43,14 @@ var legacySources = [
|
|
|
43
43
|
];
|
|
44
44
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
45
45
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
46
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
46
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info21);
|
|
47
47
|
var pathActions = ["external_directory", "read", "edit"];
|
|
48
48
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
49
49
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
50
|
-
var
|
|
50
|
+
var Plugin42 = define({
|
|
51
51
|
id: "opencode.config.agent",
|
|
52
52
|
effect: Effect.fn(function* (ctx) {
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service79;
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -77,13 +77,13 @@ var Plugin28 = define({
|
|
|
77
77
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
78
78
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
79
79
|
if (configuredDefault !== undefined)
|
|
80
|
-
editor.default(
|
|
80
|
+
editor.default(ID14.make(configuredDefault));
|
|
81
81
|
for (const current of editor.list()) {
|
|
82
82
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
83
83
|
}
|
|
84
84
|
for (const document of loaded.documents) {
|
|
85
85
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
86
|
-
const agentID =
|
|
86
|
+
const agentID = ID14.make(id);
|
|
87
87
|
if (item.disabled) {
|
|
88
88
|
editor.remove(agentID);
|
|
89
89
|
continue;
|
|
@@ -161,4 +161,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin42, exports_agent2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-zfspbp5e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./command-cjqsf6bw.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-8x060fmy.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service78
|
|
15
|
+
} from "./command-sbzezcpx.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-4xcsbp6b.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
read4
|
|
26
|
+
} from "./command-t4evkq04.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service55
|
|
30
|
+
} from "./command-a85fg51h.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service78;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
67
67
|
const selected = yield* Effect.gen(function* () {
|
|
68
68
|
if (!requested?.length)
|
|
69
69
|
return;
|
|
70
|
-
const skillService = yield*
|
|
70
|
+
const skillService = yield* Service55;
|
|
71
71
|
const prepared = new Map;
|
|
72
72
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
73
73
|
const name = prepared.get(attachment.id);
|
|
@@ -142,7 +142,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
142
142
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
143
143
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
144
144
|
return { data: Base64.make(data), mime };
|
|
145
|
-
const image = yield*
|
|
145
|
+
const image = yield* Service70;
|
|
146
146
|
const label = attachmentLabel(input);
|
|
147
147
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
148
148
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -150,7 +150,7 @@ var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment
|
|
|
150
150
|
});
|
|
151
151
|
var readBlobAttachment = Effect.fn("SessionPrompt.readBlobAttachment")(function* (uri) {
|
|
152
152
|
const { db } = yield* Service92;
|
|
153
|
-
const blob = yield*
|
|
153
|
+
const blob = yield* read4(db, refHash2(uri));
|
|
154
154
|
if (!blob)
|
|
155
155
|
return yield* new AttachmentError2({ uri, message: `Attachment is no longer stored: ${uri}` });
|
|
156
156
|
return blob;
|