@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,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-d0ct107g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID19,
|
|
6
|
+
Service87
|
|
7
|
+
} from "./command-75kb1dqt.js";
|
|
8
8
|
import {
|
|
9
9
|
key3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-xvn8mnch.js";
|
|
11
11
|
import {
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-d26b71we.js";
|
|
14
14
|
import {
|
|
15
15
|
which2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-x4th4bpe.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
ID16,
|
|
19
|
+
Service84
|
|
20
|
+
} from "./command-tq5bj24n.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID15
|
|
23
|
+
} from "./command-cfybz2aq.js";
|
|
24
24
|
import {
|
|
25
25
|
interval2,
|
|
26
|
-
|
|
26
|
+
Service53,
|
|
27
27
|
fingerprint2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-kchst7at.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-phtj74ja.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
switched2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./command-z6kqfz5m.js";
|
|
36
36
|
import {
|
|
37
37
|
activeCredential2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./command-7q96cqrd.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/azure.ts
|
|
41
41
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,18 +70,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
70
70
|
}));
|
|
71
71
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
72
72
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
73
|
-
function
|
|
73
|
+
function make15(endpoints = {
|
|
74
74
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
75
75
|
management: "https://management.azure.com"
|
|
76
76
|
}) {
|
|
77
77
|
return define({
|
|
78
78
|
id: "opencode.provider.azure",
|
|
79
79
|
effect: Effect.fn(function* (ctx) {
|
|
80
|
-
const configured = yield* configuredSettings2(
|
|
80
|
+
const configured = yield* configuredSettings2(ID16.azure);
|
|
81
81
|
const processes = yield* AppProcess.Service;
|
|
82
|
-
const credentials = yield*
|
|
83
|
-
const providers = yield*
|
|
84
|
-
const cache = yield*
|
|
82
|
+
const credentials = yield* Service87;
|
|
83
|
+
const providers = yield* Service84;
|
|
84
|
+
const cache = yield* Service53;
|
|
85
85
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
86
86
|
const tokens = new Map;
|
|
87
87
|
const resourceIDs = new Map;
|
|
@@ -107,11 +107,11 @@ function make17(endpoints = {
|
|
|
107
107
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
108
108
|
yield* ctx.integration.transform((editor) => {
|
|
109
109
|
editor.method.update({
|
|
110
|
-
integrationID:
|
|
110
|
+
integrationID: ID16.azure,
|
|
111
111
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
112
112
|
});
|
|
113
113
|
editor.method.update({
|
|
114
|
-
integrationID:
|
|
114
|
+
integrationID: ID16.azure,
|
|
115
115
|
method: {
|
|
116
116
|
type: "key",
|
|
117
117
|
label: "API key",
|
|
@@ -129,7 +129,7 @@ function make17(endpoints = {
|
|
|
129
129
|
if (!available)
|
|
130
130
|
return;
|
|
131
131
|
editor.method.update({
|
|
132
|
-
integrationID:
|
|
132
|
+
integrationID: ID16.azure,
|
|
133
133
|
method: {
|
|
134
134
|
id: methodID,
|
|
135
135
|
type: "external",
|
|
@@ -149,8 +149,8 @@ function make17(endpoints = {
|
|
|
149
149
|
});
|
|
150
150
|
});
|
|
151
151
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
152
|
-
const connection = yield* ctx.integration.connection.active(
|
|
153
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
152
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
153
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
|
|
154
154
|
return { connection, resource: credentialResource(stored?.value) };
|
|
155
155
|
});
|
|
156
156
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -189,7 +189,7 @@ function make17(endpoints = {
|
|
|
189
189
|
}));
|
|
190
190
|
const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
|
|
191
191
|
const connection = loaded.connection;
|
|
192
|
-
const settings = (yield* providers.get(
|
|
192
|
+
const settings = (yield* providers.get(ID16.azure))?.settings;
|
|
193
193
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
194
194
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
195
195
|
if (loaded.connection !== connection)
|
|
@@ -219,11 +219,11 @@ function make17(endpoints = {
|
|
|
219
219
|
});
|
|
220
220
|
const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
|
|
221
221
|
const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
|
|
222
|
-
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(
|
|
222
|
+
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(ID16.azure)))
|
|
223
223
|
return;
|
|
224
224
|
if (Equal.equals(found, loaded.deployments))
|
|
225
225
|
return;
|
|
226
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
226
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID16.azure)?.models.keys() ?? [], (id) => [
|
|
227
227
|
id.toLowerCase(),
|
|
228
228
|
id
|
|
229
229
|
]));
|
|
@@ -236,7 +236,7 @@ function make17(endpoints = {
|
|
|
236
236
|
yield* ctx.model.reload();
|
|
237
237
|
});
|
|
238
238
|
const refresh = discover({}).pipe(Effect.flatMap(apply));
|
|
239
|
-
const resourceFor = (provider) => provider.id ===
|
|
239
|
+
const resourceFor = (provider) => provider.id === ID16.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
240
240
|
Object.assign(loaded, yield* load());
|
|
241
241
|
yield* ctx.provider.transform((evt) => {
|
|
242
242
|
for (const item of evt.list()) {
|
|
@@ -255,7 +255,7 @@ function make17(endpoints = {
|
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
const item = evt.get(
|
|
258
|
+
const item = evt.get(ID16.azure);
|
|
259
259
|
if (!item)
|
|
260
260
|
return;
|
|
261
261
|
evt.add({
|
|
@@ -285,21 +285,21 @@ function make17(endpoints = {
|
|
|
285
285
|
}
|
|
286
286
|
if (!loaded.deployments)
|
|
287
287
|
return;
|
|
288
|
-
const catalog = models.list(
|
|
288
|
+
const catalog = models.list(ID16.azure);
|
|
289
289
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
290
290
|
for (const model of catalog) {
|
|
291
291
|
if (!deployed.has(model.id))
|
|
292
|
-
models.remove(
|
|
292
|
+
models.remove(ID16.azure, model.id);
|
|
293
293
|
}
|
|
294
294
|
for (const [id, model] of deployed) {
|
|
295
|
-
models.update(
|
|
295
|
+
models.update(ID16.azure, id, (draft) => Object.assign(draft, model));
|
|
296
296
|
}
|
|
297
297
|
});
|
|
298
298
|
yield* onSwitch2("azure", rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply)))));
|
|
299
299
|
yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
|
|
300
300
|
yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
|
|
301
301
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
302
|
-
const { credential } = yield* activeCredential2(ctx,
|
|
302
|
+
const { credential } = yield* activeCredential2(ctx, ID16.azure);
|
|
303
303
|
if (credential?.type !== "external" || credential.methodID !== methodID)
|
|
304
304
|
return;
|
|
305
305
|
const target = new URL(url);
|
|
@@ -315,7 +315,7 @@ function make17(endpoints = {
|
|
|
315
315
|
evt.request.headers.delete("x-api-key");
|
|
316
316
|
evt.request.headers.set("authorization", authorization);
|
|
317
317
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID16.azure });
|
|
319
319
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
320
320
|
const authorization = yield* bearer(evt.url);
|
|
321
321
|
if (!authorization)
|
|
@@ -324,11 +324,11 @@ function make17(endpoints = {
|
|
|
324
324
|
delete evt.headers["x-api-key"];
|
|
325
325
|
evt.headers.authorization = authorization;
|
|
326
326
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
327
|
-
}), { providerID:
|
|
327
|
+
}), { providerID: ID16.azure });
|
|
328
328
|
})
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var AzurePlugin2 =
|
|
331
|
+
var AzurePlugin2 = make15();
|
|
332
332
|
function deploymentsKey(connection, credential, url) {
|
|
333
333
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
334
334
|
return `azure:${key3(connection)}${access}:${url}`;
|
|
@@ -343,7 +343,7 @@ function expandResourceName(baseURL, resourceName) {
|
|
|
343
343
|
return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
|
|
344
344
|
}
|
|
345
345
|
function azureProvider(provider) {
|
|
346
|
-
return provider.id ===
|
|
346
|
+
return provider.id === ID16.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
|
|
347
347
|
}
|
|
348
348
|
function usable(credential) {
|
|
349
349
|
return credential?.type === "key" || credential?.type === "external" && credential.methodID === methodID;
|
|
@@ -368,11 +368,11 @@ function deployedModels(deployments, catalog) {
|
|
|
368
368
|
const model = catalogModel(models, deployment);
|
|
369
369
|
if (!model)
|
|
370
370
|
return [];
|
|
371
|
-
const id =
|
|
371
|
+
const id = ID15.make(deployment.name.toLowerCase());
|
|
372
372
|
const info = {
|
|
373
373
|
...structuredClone(model),
|
|
374
374
|
id,
|
|
375
|
-
modelID:
|
|
375
|
+
modelID: ID15.make(deployment.name),
|
|
376
376
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
377
377
|
};
|
|
378
378
|
return [[id, info]];
|
|
@@ -394,4 +394,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
394
394
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { make15, AzurePlugin2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node94
|
|
4
|
+
} from "./command-6x6becs7.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-xvn8mnch.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID17,
|
|
14
|
+
Service85,
|
|
15
|
+
node88,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./command-d26b71we.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service88,
|
|
20
|
+
node91
|
|
21
|
+
} from "./command-a00r7tq5.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider5 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider5, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event17,
|
|
35
|
+
ID: () => ID16,
|
|
36
|
+
Info: () => Info24,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider5,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service84,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider5, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node87,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -331,8 +331,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
331
331
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
332
332
|
|
|
333
333
|
// src/provider.ts
|
|
334
|
-
import { Event as
|
|
335
|
-
var
|
|
334
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
335
|
+
var ID16 = Provider.ID;
|
|
336
336
|
var AISDK_PREFIX2 = "aisdk:";
|
|
337
337
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
338
338
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -577,9 +577,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
577
577
|
var Cache2 = Provider.Cache;
|
|
578
578
|
var Transport2 = Provider.Transport;
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
|
-
var
|
|
580
|
+
var Info24 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service84 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
584
584
|
var definitions = new WeakMap;
|
|
585
585
|
function index(providerID, models) {
|
|
@@ -592,10 +592,10 @@ function index(providerID, models) {
|
|
|
592
592
|
definitions.set(models, indexes);
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
596
|
-
const bus = yield*
|
|
597
|
-
const integrations = yield*
|
|
598
|
-
const location = yield*
|
|
595
|
+
var layer = Layer.effect(Service84, Effect2.gen(function* () {
|
|
596
|
+
const bus = yield* Service91;
|
|
597
|
+
const integrations = yield* Service85;
|
|
598
|
+
const location = yield* Service88;
|
|
599
599
|
const state = create4({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -606,7 +606,7 @@ var layer = Layer.effect(Service73, Effect2.gen(function* () {
|
|
|
606
606
|
const current = records.get(id);
|
|
607
607
|
if (current)
|
|
608
608
|
return current;
|
|
609
|
-
const added = { provider:
|
|
609
|
+
const added = { provider: Info24.empty(id), models: new Map };
|
|
610
610
|
records.set(id, added);
|
|
611
611
|
maps.add(added.models);
|
|
612
612
|
return added;
|
|
@@ -687,7 +687,7 @@ var layer = Layer.effect(Service73, Effect2.gen(function* () {
|
|
|
687
687
|
const available = Array.from(records.values()).filter((record) => {
|
|
688
688
|
if (record.provider.activation === "disabled")
|
|
689
689
|
return false;
|
|
690
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
690
|
+
const integration = byID.get(record.provider.integrationID ?? ID17.make(record.provider.id));
|
|
691
691
|
if (record.sourceConnection && key3(record.sourceConnection) !== key3(integration?.connections[0]))
|
|
692
692
|
return false;
|
|
693
693
|
if (record.provider.activation === "enabled")
|
|
@@ -713,8 +713,8 @@ var layer = Layer.effect(Service73, Effect2.gen(function* () {
|
|
|
713
713
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
|
-
yield* bus.subscribe([
|
|
717
|
-
return
|
|
716
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
+
return Service84.of({
|
|
718
718
|
transform: state.transform,
|
|
719
719
|
reload: state.reload,
|
|
720
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service73, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node87 = makeLocationNode({ service: Service84, layer, deps: [node94, node88, node91] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24, Service84, node87, exports_provider5, Event17 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node79
|
|
4
|
+
} from "./command-bbw6s51r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node74
|
|
8
|
+
} from "./command-sxk6dszk.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-81hxxa3v.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service71,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node73,
|
|
24
24
|
resolved: () => resolved2
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service71 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
47
47
|
}
|
|
48
48
|
var resolved2 = (model, options) => ({
|
|
49
49
|
model,
|
|
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
|
|
|
58
58
|
compaction: options.compaction,
|
|
59
59
|
transport: options.transport
|
|
60
60
|
});
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const resolver = yield*
|
|
63
|
-
const agents = yield*
|
|
64
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
62
|
+
const resolver = yield* Service72;
|
|
63
|
+
const agents = yield* Service77;
|
|
64
|
+
return Service71.of({
|
|
65
65
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
66
66
|
if (!session.model) {
|
|
67
67
|
const agent = (yield* agents.select(session.agent)).info?.model;
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node73 = makeLocationNode({ service: Service71, layer, deps: [node74, node79] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service71, resolved2, node73, exports_model };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-tq5bj24n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID15,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Family2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info23
|
|
10
|
+
} from "./command-cfybz2aq.js";
|
|
11
11
|
import {
|
|
12
12
|
connectionEnv2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqhy0gk.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/provider/claude-agent/provider.ts
|
|
19
19
|
var exports_provider2 = {};
|
|
@@ -25,7 +25,7 @@ __export(exports_provider2, {
|
|
|
25
25
|
register: () => register7
|
|
26
26
|
});
|
|
27
27
|
import { Effect, Option, Schema, Stream, SubscriptionRef } from "effect";
|
|
28
|
-
var ID3 =
|
|
28
|
+
var ID3 = ID16.claudeAgent;
|
|
29
29
|
var PACKAGE2 = "@opencode/claude-agent";
|
|
30
30
|
var CatalogModel = Schema.Struct({
|
|
31
31
|
id: Schema.String,
|
|
@@ -35,18 +35,18 @@ var CatalogModel = Schema.Struct({
|
|
|
35
35
|
resolvedModel: Schema.optionalKey(Schema.String)
|
|
36
36
|
});
|
|
37
37
|
var Catalog = Schema.Struct({
|
|
38
|
-
priceSource: Schema.optionalKey(
|
|
38
|
+
priceSource: Schema.optionalKey(ID16),
|
|
39
39
|
models: Schema.Array(CatalogModel)
|
|
40
40
|
});
|
|
41
41
|
var CATALOG_KEY = "models";
|
|
42
42
|
var PRICE_SOURCES = {
|
|
43
|
-
firstParty:
|
|
44
|
-
anthropicAws:
|
|
45
|
-
anthropicGoogleCloud:
|
|
46
|
-
mantle:
|
|
47
|
-
bedrock:
|
|
48
|
-
vertex:
|
|
49
|
-
foundry:
|
|
43
|
+
firstParty: ID16.anthropic,
|
|
44
|
+
anthropicAws: ID16.anthropic,
|
|
45
|
+
anthropicGoogleCloud: ID16.anthropic,
|
|
46
|
+
mantle: ID16.anthropic,
|
|
47
|
+
bedrock: ID16.amazonBedrock,
|
|
48
|
+
vertex: ID16.googleVertex,
|
|
49
|
+
foundry: ID16.azure
|
|
50
50
|
};
|
|
51
51
|
var register7 = Effect.fn("ClaudeProvider.register")(function* (ctx, status, io) {
|
|
52
52
|
const saved = Schema.decodeUnknownOption(Catalog)(yield* ctx.storage.get(CATALOG_KEY));
|
|
@@ -117,7 +117,7 @@ function priceSource(account, baseURL) {
|
|
|
117
117
|
return PRICE_SOURCES[account.apiProvider];
|
|
118
118
|
}
|
|
119
119
|
function toModel(model, prices) {
|
|
120
|
-
const defaults =
|
|
120
|
+
const defaults = Info23.default(ID3, ID15.make(model.id));
|
|
121
121
|
const id = (model.resolvedModel ?? model.id).replace(/\[1m\]$/, "");
|
|
122
122
|
const priced = prices?.get(id) ?? prices?.get(id.replace(/^anthropic\./, "")) ?? prices?.get(`${id}@default`);
|
|
123
123
|
return {
|