@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./command-bbw6s51r.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service83
|
|
7
|
+
} from "./command-cfybz2aq.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service79
|
|
11
|
+
} from "./command-1tr3qjrs.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-81hxxa3v.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service63
|
|
17
|
+
} from "./command-n1ajx7pb.js";
|
|
18
18
|
import {
|
|
19
19
|
invocation2,
|
|
20
20
|
evaluate3,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service74
|
|
22
|
+
} from "./command-rmfwkswd.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service27
|
|
25
|
+
} from "./command-er1cyqye.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-0j7gp832.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service11
|
|
31
|
+
} from "./command-6faw1d9j.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input10,
|
|
40
|
+
Output: () => Output7,
|
|
41
|
+
Plugin: () => Plugin29,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description7,
|
|
44
|
+
name: () => name10
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name10 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -57,7 +57,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
57
57
|
].join(`
|
|
58
58
|
`)
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input10 = Schema.Struct({
|
|
61
61
|
agent: Schema.String.annotate({
|
|
62
62
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
63
63
|
}),
|
|
@@ -73,12 +73,12 @@ var Input3 = Schema.Struct({
|
|
|
73
73
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
|
-
var
|
|
76
|
+
var Output7 = Schema.Struct({
|
|
77
77
|
sessionID: SessionSchema2.ID,
|
|
78
78
|
status: Schema.Literals(["completed", "running"]),
|
|
79
79
|
output: Schema.String
|
|
80
80
|
});
|
|
81
|
-
var
|
|
81
|
+
var description7 = [
|
|
82
82
|
"Spawns an agent in a child session to work on the specified task.",
|
|
83
83
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
84
84
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -87,16 +87,16 @@ var description4 = [
|
|
|
87
87
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
88
88
|
].join(`
|
|
89
89
|
`);
|
|
90
|
-
var
|
|
90
|
+
var Plugin29 = {
|
|
91
91
|
id: "opencode.tool.subagent",
|
|
92
92
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
93
|
-
const sessions = yield*
|
|
94
|
-
const jobs = yield*
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const config = yield*
|
|
97
|
-
const permission = yield*
|
|
98
|
-
const models = yield*
|
|
99
|
-
const subagents = yield*
|
|
93
|
+
const sessions = yield* Service27;
|
|
94
|
+
const jobs = yield* Service63;
|
|
95
|
+
const agents = yield* Service77;
|
|
96
|
+
const config = yield* Service79;
|
|
97
|
+
const permission = yield* Service74;
|
|
98
|
+
const models = yield* Service83;
|
|
99
|
+
const subagents = yield* Service11;
|
|
100
100
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
101
101
|
const ref = yield* Effect.try({
|
|
102
102
|
try: () => Ref3.parse(input),
|
|
@@ -118,11 +118,11 @@ var Plugin39 = {
|
|
|
118
118
|
return ref;
|
|
119
119
|
});
|
|
120
120
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
121
|
-
name:
|
|
121
|
+
name: name10,
|
|
122
122
|
options: { codemode: false },
|
|
123
|
-
description:
|
|
124
|
-
input:
|
|
125
|
-
output:
|
|
123
|
+
description: description7,
|
|
124
|
+
input: Input10,
|
|
125
|
+
output: Output7,
|
|
126
126
|
execute: (input, context) => Effect.gen(function* () {
|
|
127
127
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
128
128
|
let current = parent;
|
|
@@ -142,7 +142,7 @@ var Plugin39 = {
|
|
|
142
142
|
if (agent.mode === "primary")
|
|
143
143
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
144
144
|
yield* permission.assert({
|
|
145
|
-
action:
|
|
145
|
+
action: name10,
|
|
146
146
|
resources: [agent.id],
|
|
147
147
|
save: [agent.id],
|
|
148
148
|
...invocation2(context)
|
|
@@ -215,7 +215,7 @@ ${output.output}
|
|
|
215
215
|
})))
|
|
216
216
|
})).pipe(Effect.orDie);
|
|
217
217
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
218
|
-
if (event.tool !==
|
|
218
|
+
if (event.tool !== name10 || !Predicate.isObject(event.input))
|
|
219
219
|
return;
|
|
220
220
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
221
221
|
return;
|
|
@@ -227,13 +227,13 @@ ${output.output}
|
|
|
227
227
|
event.input = input;
|
|
228
228
|
}));
|
|
229
229
|
const hook = (event) => Effect.gen(function* () {
|
|
230
|
-
const tool = event.tools[
|
|
230
|
+
const tool = event.tools[name10];
|
|
231
231
|
if (!tool)
|
|
232
232
|
return;
|
|
233
233
|
const selected = yield* agents.resolve(event.agent);
|
|
234
234
|
if (!selected)
|
|
235
235
|
return;
|
|
236
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
236
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
237
237
|
if (available.length === 0)
|
|
238
238
|
return;
|
|
239
239
|
tool.description = [
|
|
@@ -250,4 +250,4 @@ ${output.output}
|
|
|
250
250
|
})
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
export {
|
|
253
|
+
export { name10, Input10, Output7, description7, Plugin29, exports_subagent };
|
|
@@ -2,32 +2,32 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./command-bh1m2mqb.js";
|
|
7
7
|
import {
|
|
8
8
|
invocation2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service74
|
|
10
|
+
} from "./command-rmfwkswd.js";
|
|
11
11
|
import {
|
|
12
12
|
MEDIA_MIMES2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-rwzm73t1.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/mcp-resource.ts
|
|
19
19
|
var exports_mcp_resource = {};
|
|
20
20
|
__export(exports_mcp_resource, {
|
|
21
21
|
McpResourceTools: () => exports_mcp_resource,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin32
|
|
23
23
|
});
|
|
24
24
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
26
|
-
var
|
|
26
|
+
var Plugin32 = {
|
|
27
27
|
id: "opencode.tools.mcp-resources",
|
|
28
28
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
29
|
-
const mcp = yield*
|
|
30
|
-
const permission = yield*
|
|
29
|
+
const mcp = yield* Service40;
|
|
30
|
+
const permission = yield* Service74;
|
|
31
31
|
yield* ctx.tool.transform((editor) => {
|
|
32
32
|
editor.add({
|
|
33
33
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin52 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin32, exports_mcp_resource };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-zfspbp5e.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-8cg7mtm3.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service91,
|
|
22
22
|
configured: () => configured13,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node94,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -84,13 +84,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
84
84
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
85
85
|
var isDefinition = (input) => !Array.isArray(input);
|
|
86
86
|
|
|
87
|
-
class
|
|
87
|
+
class Service91 extends Context.Service()("@opencode/Bus") {
|
|
88
88
|
}
|
|
89
89
|
function configured13(options) {
|
|
90
90
|
return makeGlobalNode({
|
|
91
|
-
service:
|
|
91
|
+
service: Service91,
|
|
92
92
|
deps: [node95],
|
|
93
|
-
layer: Layer.effect(
|
|
93
|
+
layer: Layer.effect(Service91, Effect.gen(function* () {
|
|
94
94
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
95
95
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
96
96
|
const pubsub = {
|
|
@@ -515,7 +515,7 @@ function configured13(options) {
|
|
|
515
515
|
list.push((event) => projector(event));
|
|
516
516
|
projectors.set(key, list);
|
|
517
517
|
});
|
|
518
|
-
return
|
|
518
|
+
return Service91.of({
|
|
519
519
|
publish,
|
|
520
520
|
publishAll,
|
|
521
521
|
subscribe,
|
|
@@ -529,6 +529,6 @@ function configured13(options) {
|
|
|
529
529
|
}))
|
|
530
530
|
});
|
|
531
531
|
}
|
|
532
|
-
var
|
|
532
|
+
var node94 = configured13();
|
|
533
533
|
|
|
534
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
534
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service91, configured13, node94, exports_bus };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-1kcdp6tz.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make35,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-1e3tbdfn.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-zfspbp5e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./command-cg3fcpn4.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-8x060fmy.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-cac6m2se.js";
|
|
13
13
|
import {
|
|
14
14
|
retry2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-gf11xrvh.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service29
|
|
21
|
+
} from "./command-j89db767.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai/effect";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service49;
|
|
36
36
|
const database = yield* Service92;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service29;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-zfspbp5e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service91,
|
|
7
|
+
node94
|
|
8
|
+
} from "./command-6x6becs7.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID19,
|
|
26
|
+
Info: () => Info28,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service87,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node90
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,26 +37,26 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID19 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
|
-
var
|
|
45
|
+
var Event20 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info28 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID19,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service87 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service92).db;
|
|
59
|
-
const bus = yield*
|
|
59
|
+
const bus = yield* Service91;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
61
61
|
const scope = yield* Effect.scope;
|
|
62
62
|
const pending = new Map;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info28({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -83,7 +83,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
83
83
|
yield* tx.update(CredentialTable2).set({ active: true }).where(eq(CredentialTable2.id, id)).run();
|
|
84
84
|
});
|
|
85
85
|
const logFailure = (message, fields) => (effect) => effect.pipe(Effect.onError((cause) => Effect.logError(message, { ...fields, errors: from2(Cause.squash(cause)) })), Effect.orDie);
|
|
86
|
-
return
|
|
86
|
+
return Service87.of({
|
|
87
87
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
88
88
|
const current = pending.get(id);
|
|
89
89
|
if (current)
|
|
@@ -99,8 +99,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
99
99
|
return row ? stored(row) : undefined;
|
|
100
100
|
}),
|
|
101
101
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
102
|
-
const credential = new
|
|
103
|
-
id: input.id ??
|
|
102
|
+
const credential = new Info28({
|
|
103
|
+
id: input.id ?? ID19.create(),
|
|
104
104
|
integrationID: input.integrationID,
|
|
105
105
|
label: input.label ?? "default",
|
|
106
106
|
value: input.value
|
|
@@ -130,9 +130,9 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
130
130
|
type: credential.value.type,
|
|
131
131
|
active: activated
|
|
132
132
|
});
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
134
134
|
if (activated)
|
|
135
|
-
yield* bus.publish(
|
|
135
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
136
136
|
return credential;
|
|
137
137
|
}),
|
|
138
138
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
148
148
|
})).pipe(logFailure("credential activate failed", { credentialID: id }));
|
|
149
149
|
if (integrationID) {
|
|
150
150
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
151
|
-
yield* bus.publish(
|
|
151
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
152
152
|
}
|
|
153
153
|
}),
|
|
154
154
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
173
173
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
174
174
|
});
|
|
175
175
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
177
177
|
}),
|
|
178
178
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
179
179
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -201,12 +201,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
201
201
|
active: removed.switched,
|
|
202
202
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
203
203
|
});
|
|
204
|
-
yield* bus.publish(
|
|
204
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
205
205
|
if (removed.switched)
|
|
206
|
-
yield* bus.publish(
|
|
206
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
207
207
|
})
|
|
208
208
|
});
|
|
209
209
|
}));
|
|
210
|
-
var
|
|
210
|
+
var node90 = makeGlobalNode({ service: Service87, layer, deps: [node95, node94, EffectFlock.node] });
|
|
211
211
|
|
|
212
|
-
export {
|
|
212
|
+
export { ID19, OAuth3, Key4, External2, Value2, Event20, Info28, Service87, node90, exports_credential };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service88,
|
|
3
|
+
node91
|
|
4
|
+
} from "./command-a00r7tq5.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make32,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-t62dywgn.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service32,
|
|
19
|
+
node: () => node35
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service32 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service88;
|
|
29
|
+
return Service32.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make32({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make32({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node35 = makeLocationNode({ service: Service32, layer, deps: [Global.node, node91] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service32, node35, exports_builtins };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID19,
|
|
3
|
+
Service87
|
|
4
|
+
} from "./command-75kb1dqt.js";
|
|
5
5
|
import {
|
|
6
6
|
onSwitch2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-z6kqfz5m.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/credential-settings.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -16,10 +16,10 @@ var activeCredential2 = Effect.fnUntraced(function* (ctx, integrationID) {
|
|
|
16
16
|
return { connection, credential };
|
|
17
17
|
});
|
|
18
18
|
var credentialSettings2 = Effect.fn("ProviderPlugin.credentialSettings")(function* (ctx, integrationID, select) {
|
|
19
|
-
const credentials = yield*
|
|
19
|
+
const credentials = yield* Service87;
|
|
20
20
|
const load = Effect.fn("ProviderPlugin.credentialSettings.load")(function* () {
|
|
21
21
|
const connection = yield* ctx.integration.connection.active(integrationID);
|
|
22
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
22
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
|
|
23
23
|
return stored ? select(stored.value) : {};
|
|
24
24
|
});
|
|
25
25
|
const current = { settings: yield* load() };
|