@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node94
|
|
4
|
+
} from "./command-6x6becs7.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-aj1vmsda.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-bhmrqjy3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
InvalidCwdError: () => InvalidCwdError2,
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Options: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError4,
|
|
21
|
+
Options: () => Options3,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service25,
|
|
24
24
|
UnavailableError: () => UnavailableError5,
|
|
25
25
|
UnsupportedError: () => UnsupportedError2,
|
|
26
|
-
available: () =>
|
|
27
|
-
configured: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
26
|
+
available: () => available3,
|
|
27
|
+
configured: () => configured3,
|
|
28
|
+
layer: () => layer13,
|
|
29
|
+
node: () => node28
|
|
30
30
|
});
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import path from "node:path";
|
|
@@ -44,8 +44,8 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
44
44
|
import { Global } from "@opencode/util/global";
|
|
45
45
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
46
46
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
47
|
-
import { available as
|
|
48
|
-
var
|
|
47
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
48
|
+
var Options3 = Schema.Struct({
|
|
49
49
|
handoff: Schema.optional(Handoff),
|
|
50
50
|
root: Schema.optional(Schema.String)
|
|
51
51
|
});
|
|
@@ -55,7 +55,7 @@ class UnavailableError5 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
59
59
|
ptyID: Pty.ID
|
|
60
60
|
}) {
|
|
61
61
|
}
|
|
@@ -71,10 +71,10 @@ class UnsupportedError2 extends Schema.TaggedError()("PersistentPty.UnsupportedE
|
|
|
71
71
|
}) {
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service25 extends Context.Service()("@opencode/PersistentPty") {
|
|
75
75
|
}
|
|
76
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service91;
|
|
78
78
|
const global = yield* Global.Service;
|
|
79
79
|
const context = yield* Effect.context();
|
|
80
80
|
const runFork = Effect.runForkWith(context);
|
|
@@ -96,7 +96,7 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
|
|
|
96
96
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
97
97
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
98
98
|
if (!found)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
100
100
|
return found;
|
|
101
101
|
});
|
|
102
102
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -244,7 +244,7 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
|
|
|
244
244
|
detach: attachment.detach
|
|
245
245
|
};
|
|
246
246
|
});
|
|
247
|
-
return
|
|
247
|
+
return Service25.of({
|
|
248
248
|
list,
|
|
249
249
|
get,
|
|
250
250
|
create,
|
|
@@ -261,13 +261,13 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
|
|
|
261
261
|
attach
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
267
|
-
layer: options === undefined ?
|
|
268
|
-
deps: [
|
|
264
|
+
var layer13 = makeLayer();
|
|
265
|
+
var configured3 = (options) => makeGlobalNode({
|
|
266
|
+
service: Service25,
|
|
267
|
+
layer: options === undefined ? layer13 : makeLayer(options),
|
|
268
|
+
deps: [node94, Global.node]
|
|
269
269
|
});
|
|
270
|
-
var
|
|
270
|
+
var node28 = configured3();
|
|
271
271
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
272
272
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
273
273
|
var unexpected = (response) => Effect.fail(new UnavailableError5({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -304,4 +304,4 @@ function fromID(value) {
|
|
|
304
304
|
return parsed;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
export {
|
|
307
|
+
export { Options3, UnavailableError5, NotFoundError4, InvalidCwdError2, UnsupportedError2, Service25, layer13, configured3, node28, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
groups2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-vjf35v1f.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/sync/decide.ts
|
|
9
9
|
var exports_decide = {};
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node84
|
|
5
|
+
} from "./command-d0ct107g.js";
|
|
6
6
|
import {
|
|
7
7
|
join2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-t62dywgn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node80
|
|
12
|
+
} from "./command-sbzezcpx.js";
|
|
13
13
|
import {
|
|
14
14
|
DeclinedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-rmfwkswd.js";
|
|
16
16
|
import {
|
|
17
17
|
CancelledError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-as52851a.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Error5
|
|
21
|
+
} from "./command-xttd6wrv.js";
|
|
22
22
|
import {
|
|
23
23
|
get5
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-3nnrz6f6.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service34,
|
|
27
|
+
node37
|
|
28
|
+
} from "./command-7x7zqjfv.js";
|
|
29
29
|
import {
|
|
30
30
|
make25
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-wvr8xscb.js";
|
|
32
32
|
import {
|
|
33
33
|
toLLMMessages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-f9anazer.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./command-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/model-request.ts
|
|
40
40
|
var exports_model_request = {};
|
|
41
41
|
__export(exports_model_request, {
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service33,
|
|
43
43
|
SessionModelRequest: () => exports_model_request,
|
|
44
44
|
baseTranscript: () => baseTranscript2,
|
|
45
45
|
boundImages: () => boundImages2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer14,
|
|
47
|
+
node: () => node36,
|
|
48
48
|
outputLimit: () => outputLimit2,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
@@ -187,11 +187,11 @@ var boundImages2 = (messages) => {
|
|
|
187
187
|
});
|
|
188
188
|
};
|
|
189
189
|
|
|
190
|
-
class
|
|
190
|
+
class Service33 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
191
191
|
}
|
|
192
|
-
var
|
|
193
|
-
const hooks = yield*
|
|
194
|
-
const transport = yield*
|
|
192
|
+
var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
193
|
+
const hooks = yield* Service78;
|
|
194
|
+
const transport = yield* Service34;
|
|
195
195
|
const app = yield* Metadata2;
|
|
196
196
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
197
197
|
const session = input.session;
|
|
@@ -199,7 +199,7 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
199
199
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
200
200
|
const tools = input.tools ?? {
|
|
201
201
|
definitions: [],
|
|
202
|
-
execute: () => new
|
|
202
|
+
execute: () => new Error5({ message: "Tools are not available for this request" })
|
|
203
203
|
};
|
|
204
204
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: JSON.parse(JSON.stringify(t.inputSchema)) }, t]));
|
|
205
205
|
const shaped = yield* shape({
|
|
@@ -286,17 +286,17 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
286
286
|
};
|
|
287
287
|
});
|
|
288
288
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
289
|
-
return
|
|
289
|
+
return Service33.of({
|
|
290
290
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
291
291
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
292
292
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
293
293
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
294
294
|
});
|
|
295
295
|
}));
|
|
296
|
-
var
|
|
297
|
-
service:
|
|
298
|
-
layer:
|
|
299
|
-
deps: [
|
|
296
|
+
var node36 = makeLocationNode({
|
|
297
|
+
service: Service33,
|
|
298
|
+
layer: layer14,
|
|
299
|
+
deps: [node80, node37, node84]
|
|
300
300
|
});
|
|
301
301
|
|
|
302
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
302
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service33, layer14, node36, exports_model_request };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names3
|
|
11
11
|
});
|
|
12
12
|
import os from "os";
|
|
13
13
|
import path from "path";
|
|
@@ -27,7 +27,7 @@ var DARWIN_HOME = [
|
|
|
27
27
|
"Library"
|
|
28
28
|
];
|
|
29
29
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
30
|
-
function
|
|
30
|
+
function names3() {
|
|
31
31
|
if (process.platform === "darwin")
|
|
32
32
|
return new Set(DARWIN_HOME);
|
|
33
33
|
if (process.platform === "win32")
|
|
@@ -35,4 +35,4 @@ function names4() {
|
|
|
35
35
|
return new Set;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
export { isHome2,
|
|
38
|
+
export { isHome2, names3, exports_protected };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service79
|
|
4
|
+
} from "./command-1tr3qjrs.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-tvtps2q9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin44
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin44 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service79;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin29 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin44, exports_websearch2 };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-d0ct107g.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-75kb1dqt.js";
|
|
7
7
|
import {
|
|
8
8
|
key3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-xvn8mnch.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID17,
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-d26b71we.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
ID16
|
|
16
|
+
} from "./command-tq5bj24n.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID15,
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-cfybz2aq.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-yb20nhc3.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service53
|
|
26
|
+
} from "./command-kchst7at.js";
|
|
27
27
|
import {
|
|
28
28
|
start3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-z6kqfz5m.js";
|
|
30
30
|
import {
|
|
31
31
|
activeCredential2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./command-7q96cqrd.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/digitalocean.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
36
36
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
37
37
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID16.make("digitalocean");
|
|
39
|
+
var integrationID = ID17.make("digitalocean");
|
|
40
40
|
var methodID = MethodID2.make("browser");
|
|
41
41
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
42
42
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -124,7 +124,7 @@ var oauth = {
|
|
|
124
124
|
var DigitalOceanPlugin2 = define({
|
|
125
125
|
id: "opencode.provider.digitalocean",
|
|
126
126
|
effect: Effect.fn(function* (ctx) {
|
|
127
|
-
const cache = yield*
|
|
127
|
+
const cache = yield* Service53;
|
|
128
128
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
129
129
|
const discovered = yield* start3({
|
|
130
130
|
integrationID,
|
|
@@ -160,7 +160,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
160
160
|
return;
|
|
161
161
|
for (const router of discovered.current.routers) {
|
|
162
162
|
const id = `router:${router.name}`;
|
|
163
|
-
if (evt.get(providerID)?.models.has(
|
|
163
|
+
if (evt.get(providerID)?.models.has(ID15.make(id)))
|
|
164
164
|
continue;
|
|
165
165
|
evt.models.update(providerID, id, (draft) => {
|
|
166
166
|
draft.name = router.name;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-e834z07m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID9,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-a85fg51h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID9.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
node84
|
|
3
|
+
} from "./command-d0ct107g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service91,
|
|
6
|
+
node94
|
|
7
|
+
} from "./command-6x6becs7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service88,
|
|
10
|
+
node91
|
|
11
|
+
} from "./command-a00r7tq5.js";
|
|
12
12
|
import {
|
|
13
13
|
changes2,
|
|
14
14
|
create4
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-40y6dtc2.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service82,
|
|
18
|
+
node85
|
|
19
|
+
} from "./command-pbhvpg46.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service79,
|
|
22
|
+
node81
|
|
23
|
+
} from "./command-1tr3qjrs.js";
|
|
24
24
|
import {
|
|
25
25
|
resolver2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-0z31hhpg.js";
|
|
27
27
|
import {
|
|
28
28
|
detect2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-4pyp9zr9.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service27,
|
|
32
|
+
node30
|
|
33
|
+
} from "./command-er1cyqye.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./command-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/artifact.ts
|
|
39
39
|
var exports_artifact2 = {};
|
|
@@ -41,23 +41,23 @@ __export(exports_artifact2, {
|
|
|
41
41
|
Artifact: () => exports_artifact2,
|
|
42
42
|
Capability: () => Capability2,
|
|
43
43
|
Content: () => Content2,
|
|
44
|
-
CreateInput: () =>
|
|
44
|
+
CreateInput: () => CreateInput5,
|
|
45
45
|
DisabledError: () => DisabledError3,
|
|
46
|
-
Event: () =>
|
|
46
|
+
Event: () => Event6,
|
|
47
47
|
FileMissingError: () => FileMissingError2,
|
|
48
|
-
ID: () =>
|
|
48
|
+
ID: () => ID7,
|
|
49
49
|
Info: () => Info8,
|
|
50
50
|
InvalidError: () => InvalidError3,
|
|
51
51
|
LocalProviderID: () => LocalProviderID2,
|
|
52
|
-
NotFoundError: () =>
|
|
52
|
+
NotFoundError: () => NotFoundError5,
|
|
53
53
|
Provider: () => Provider2,
|
|
54
54
|
ProviderError: () => ProviderError2,
|
|
55
55
|
ProviderID: () => ProviderID2,
|
|
56
56
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
57
|
-
Service: () =>
|
|
58
|
-
UpdateInput: () =>
|
|
57
|
+
Service: () => Service26,
|
|
58
|
+
UpdateInput: () => UpdateInput3,
|
|
59
59
|
locate: () => locate2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node29
|
|
61
61
|
});
|
|
62
62
|
import { randomUUID } from "node:crypto";
|
|
63
63
|
import fs from "node:fs/promises";
|
|
@@ -66,13 +66,13 @@ import { lookup } from "mime-types";
|
|
|
66
66
|
import {
|
|
67
67
|
Capability as Capability2,
|
|
68
68
|
Content as Content2,
|
|
69
|
-
CreateInput as
|
|
70
|
-
Event as
|
|
71
|
-
ID as
|
|
69
|
+
CreateInput as CreateInput5,
|
|
70
|
+
Event as Event6,
|
|
71
|
+
ID as ID7,
|
|
72
72
|
Info as Info8,
|
|
73
73
|
Provider as Provider2,
|
|
74
74
|
ProviderID as ProviderID2,
|
|
75
|
-
UpdateInput as
|
|
75
|
+
UpdateInput as UpdateInput3
|
|
76
76
|
} from "@opencode/schema/artifact";
|
|
77
77
|
import { Global } from "@opencode/util/global";
|
|
78
78
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -86,8 +86,8 @@ class DisabledError3 extends Schema.TaggedError()("Artifact.DisabledError", {})
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
class
|
|
90
|
-
artifactID:
|
|
89
|
+
class NotFoundError5 extends Schema.TaggedError()("Artifact.NotFoundError", {
|
|
90
|
+
artifactID: ID7
|
|
91
91
|
}) {
|
|
92
92
|
get message() {
|
|
93
93
|
return `Artifact not found: ${this.artifactID}`;
|
|
@@ -95,7 +95,7 @@ class NotFoundError3 extends Schema.TaggedError()("Artifact.NotFoundError", {
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError", {
|
|
98
|
-
artifactID:
|
|
98
|
+
artifactID: ID7,
|
|
99
99
|
path: Schema.String
|
|
100
100
|
}) {
|
|
101
101
|
get message() {
|
|
@@ -129,7 +129,7 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
class
|
|
132
|
+
class Service26 extends Context.Service()("@opencode/Artifact") {
|
|
133
133
|
}
|
|
134
134
|
var StoredRecord = Schema.Struct({
|
|
135
135
|
info: Info8,
|
|
@@ -145,17 +145,17 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
|
|
|
145
145
|
const decoded = decodeStoredRecord(stored);
|
|
146
146
|
return Option.isSome(decoded) ? decoded.value.directory : undefined;
|
|
147
147
|
}));
|
|
148
|
-
var layer = Layer.effect(
|
|
149
|
-
const bus = yield*
|
|
150
|
-
const config = yield*
|
|
148
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
149
|
+
const bus = yield* Service91;
|
|
150
|
+
const config = yield* Service79;
|
|
151
151
|
const global = yield* Global.Service;
|
|
152
|
-
const kv = yield*
|
|
153
|
-
const location = yield*
|
|
154
|
-
const sessions = yield*
|
|
152
|
+
const kv = yield* Service82;
|
|
153
|
+
const location = yield* Service88;
|
|
154
|
+
const sessions = yield* Service27;
|
|
155
155
|
const flags = yield* resolver2;
|
|
156
156
|
const rootDir = path.join(global.data, "artifacts");
|
|
157
157
|
const itemDir = (id) => path.join(rootDir, id);
|
|
158
|
-
const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new
|
|
158
|
+
const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError5({ artifactID: id }))));
|
|
159
159
|
const localProvider = {
|
|
160
160
|
id: LocalProviderID2,
|
|
161
161
|
name: "Local",
|
|
@@ -194,7 +194,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
}),
|
|
197
|
-
notify: changes2(snapshotProviders, () => bus.publish(
|
|
197
|
+
notify: changes2(snapshotProviders, () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid))
|
|
198
198
|
});
|
|
199
199
|
const isEnabled = Effect.fn("Artifact.enabled")(function* () {
|
|
200
200
|
const entries = yield* config.entries();
|
|
@@ -212,7 +212,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
212
212
|
return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError2({ providerID: target }));
|
|
213
213
|
};
|
|
214
214
|
const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
|
|
215
|
-
return
|
|
215
|
+
return Service26.of({
|
|
216
216
|
transform: state.transform,
|
|
217
217
|
reload: state.reload,
|
|
218
218
|
enabled: isEnabled,
|
|
@@ -256,7 +256,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
256
256
|
const files = yield* normalizeFiles(encodeStringFiles(input.files));
|
|
257
257
|
const entry = yield* resolveEntry(files, input.entry);
|
|
258
258
|
const provider = yield* resolveProvider(input.provider);
|
|
259
|
-
const id =
|
|
259
|
+
const id = ID7.create();
|
|
260
260
|
const now = yield* Clock.currentTimeMillis;
|
|
261
261
|
const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
262
262
|
const info = Info8.make({
|
|
@@ -347,10 +347,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
347
347
|
})
|
|
348
348
|
});
|
|
349
349
|
}));
|
|
350
|
-
var
|
|
351
|
-
service:
|
|
350
|
+
var node29 = makeLocationNode({
|
|
351
|
+
service: Service26,
|
|
352
352
|
layer,
|
|
353
|
-
deps: [
|
|
353
|
+
deps: [node84, node94, node81, Global.node, node85, node91, node30]
|
|
354
354
|
});
|
|
355
355
|
function encodeStringFiles(files) {
|
|
356
356
|
return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
|
|
@@ -491,4 +491,4 @@ function readDirectoryFiles(baseDir) {
|
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
|
|
494
|
-
export { Capability2, Content2,
|
|
494
|
+
export { Capability2, Content2, CreateInput5, Event6, ID7, Info8, Provider2, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError3, NotFoundError5, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service26, locate2, node29, exports_artifact2 };
|