@opencode/core 0.0.0-dev-1224 → 0.0.0-dev-1228
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 +90 -90
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +107 -107
- package/dist/app.js +11 -11
- package/dist/artifact.js +254 -252
- package/dist/bus.js +84 -84
- package/dist/chunks/{state-fkkq8w99.js → model-retry-017h64p1.js} +24 -24
- package/dist/chunks/{state-034tev2y.js → model-retry-034tev2y.js} +2 -2
- package/dist/chunks/{state-rp6t20zc.js → model-retry-04whjz6n.js} +9 -9
- package/dist/chunks/{state-fp9bkp4s.js → model-retry-05smcpsa.js} +9 -9
- package/dist/chunks/{state-cse5rjp3.js → model-retry-06czbez7.js} +12 -12
- package/dist/chunks/{state-j4vp8fq6.js → model-retry-0775ra12.js} +11 -11
- package/dist/chunks/{state-yd4vfr0t.js → model-retry-07h2h242.js} +11 -11
- package/dist/chunks/{state-3nft16zg.js → model-retry-0aagcdmq.js} +40 -40
- package/dist/chunks/{state-wjz4g2jq.js → model-retry-0cvdc2hp.js} +21 -20
- package/dist/chunks/{state-ctd3k3x6.js → model-retry-0d9nkyse.js} +4 -4
- package/dist/chunks/{state-7v7sk204.js → model-retry-0dp7pkp4.js} +42 -42
- package/dist/chunks/{state-ttz31trp.js → model-retry-0fvxehme.js} +5 -5
- package/dist/chunks/model-retry-0gdrrj59.js +16 -0
- package/dist/chunks/{state-0ma9gw4f.js → model-retry-0ma9gw4f.js} +2 -2
- package/dist/chunks/{state-rgptf7vs.js → model-retry-0mgcmraf.js} +18 -18
- package/dist/chunks/{state-1cgctss4.js → model-retry-0mkk1a55.js} +38 -38
- package/dist/chunks/{state-cjqsf6bw.js → model-retry-0npmn2an.js} +9 -9
- package/dist/chunks/{state-e30cnwrb.js → model-retry-0wvjh4a5.js} +12 -12
- package/dist/chunks/{state-1zqfq3fa.js → model-retry-0y2evkmt.js} +8 -8
- package/dist/chunks/{state-r932s1aq.js → model-retry-14sh7vvp.js} +26 -26
- package/dist/chunks/{state-87kxp3gn.js → model-retry-18b1hh0p.js} +11 -11
- package/dist/chunks/{state-qvhq5dtp.js → model-retry-18yxzk2x.js} +17 -17
- package/dist/chunks/{state-enbnk4v1.js → model-retry-1adntvrs.js} +20 -20
- package/dist/chunks/{state-1aqsckx4.js → model-retry-1aqsckx4.js} +1 -1
- package/dist/chunks/{state-1aryjtsy.js → model-retry-1aryjtsy.js} +1 -1
- package/dist/chunks/{state-e9embajv.js → model-retry-1bg07a4w.js} +23 -23
- package/dist/chunks/{state-1ep2p91f.js → model-retry-1ep2p91f.js} +2 -2
- package/dist/chunks/{state-wevk3aaq.js → model-retry-1jhp7y1p.js} +26 -26
- package/dist/chunks/{state-phqefw3j.js → model-retry-1kjasx2x.js} +5 -5
- package/dist/chunks/{state-r0wrga32.js → model-retry-1mk73hd7.js} +8 -8
- package/dist/chunks/{state-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
- package/dist/chunks/{state-wr3re1en.js → model-retry-1yped5qa.js} +4 -4
- package/dist/chunks/{state-awc294qn.js → model-retry-205ne5q0.js} +20 -20
- package/dist/chunks/{state-v9wprw03.js → model-retry-24zwqz7x.js} +42 -42
- package/dist/chunks/{state-ba5f9dy2.js → model-retry-26wfx3k0.js} +4 -4
- package/dist/chunks/{state-2fc7eemy.js → model-retry-2fc7eemy.js} +1 -1
- package/dist/chunks/{state-2prt43t7.js → model-retry-2prt43t7.js} +1 -1
- package/dist/chunks/{state-jv28pj5x.js → model-retry-2rxa40t0.js} +43 -43
- package/dist/chunks/{state-rgpq9amq.js → model-retry-2w9vd9yb.js} +12 -12
- package/dist/chunks/{state-kzv3grbw.js → model-retry-2xn2a7gs.js} +22 -22
- package/dist/chunks/{state-n1n71mfr.js → model-retry-30p7g2re.js} +9 -9
- package/dist/chunks/{state-4qxrae77.js → model-retry-36fsej7j.js} +16 -16
- package/dist/chunks/{state-8rapdqzr.js → model-retry-36qzrbfm.js} +4 -4
- package/dist/chunks/{state-sf9y72b7.js → model-retry-38aws4xb.js} +4 -4
- package/dist/chunks/{state-ek8dn5z5.js → model-retry-3dtw2n51.js} +4 -4
- package/dist/chunks/{state-yxb8rzbt.js → model-retry-3ex1ss0s.js} +9 -9
- package/dist/chunks/{state-y7v4rbnm.js → model-retry-3gn5nf8x.js} +27 -27
- package/dist/chunks/{state-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
- package/dist/chunks/{state-0dnk7p9t.js → model-retry-3pnjxbxn.js} +12 -12
- package/dist/chunks/{state-xacrkbdt.js → model-retry-3qgwywyc.js} +4 -4
- package/dist/chunks/{state-36wtp86d.js → model-retry-3ykfc097.js} +4 -4
- package/dist/chunks/{state-40y6dtc2.js → model-retry-40y6dtc2.js} +1 -1
- package/dist/chunks/{state-sktstmq7.js → model-retry-44wsn7a8.js} +16 -16
- package/dist/chunks/{state-aypj46ae.js → model-retry-48fp153q.js} +61 -61
- package/dist/chunks/{state-4dx1dgte.js → model-retry-4dx1dgte.js} +1 -1
- package/dist/chunks/{state-4f25tdd0.js → model-retry-4f25tdd0.js} +1 -1
- package/dist/chunks/{state-4pyp9zr9.js → model-retry-4pyp9zr9.js} +1 -1
- package/dist/chunks/{state-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
- package/dist/chunks/{state-ywxpr5ha.js → model-retry-55rakbxg.js} +18 -18
- package/dist/chunks/{state-s81kawhg.js → model-retry-56q4jy8r.js} +7 -7
- package/dist/chunks/{state-v4qeya6z.js → model-retry-5aet2gp4.js} +12 -12
- package/dist/chunks/{state-eb56k80z.js → model-retry-5bmpv8sd.js} +24 -24
- package/dist/chunks/{state-w2eysc6j.js → model-retry-5enarcya.js} +6 -6
- package/dist/chunks/{state-gnz7qpne.js → model-retry-5g04599y.js} +17 -17
- package/dist/chunks/{state-nd788t6c.js → model-retry-5hxqmjne.js} +7 -7
- package/dist/chunks/{state-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
- package/dist/chunks/{state-4qfnvyqn.js → model-retry-5r27h39g.js} +9 -9
- package/dist/chunks/{state-t8erkws8.js → model-retry-67zhfnr5.js} +5 -5
- package/dist/chunks/{state-f4svtajv.js → model-retry-6885ryxz.js} +1 -1
- package/dist/chunks/{state-wpjpmdpx.js → model-retry-6agft1e9.js} +8 -8
- package/dist/chunks/{state-vngwnm7r.js → model-retry-6dveb54w.js} +32 -32
- package/dist/chunks/{state-q3t09a1r.js → model-retry-6e0f2n9r.js} +21 -21
- package/dist/chunks/{state-xvxdf7j2.js → model-retry-6e8ndm8p.js} +8 -8
- package/dist/chunks/{state-6508jazp.js → model-retry-6fmqn2jp.js} +36 -36
- package/dist/chunks/{state-81d4j08k.js → model-retry-6p093zj9.js} +29 -29
- package/dist/chunks/{state-kkbwffhf.js → model-retry-6p27a4aw.js} +32 -32
- package/dist/chunks/{state-85wm61p0.js → model-retry-6x6v86yv.js} +12 -12
- package/dist/chunks/{state-vf55m751.js → model-retry-6y6x3np2.js} +18 -18
- package/dist/chunks/{state-427haqbe.js → model-retry-71kjr7zt.js} +5 -5
- package/dist/chunks/{state-80mg3ag8.js → model-retry-775hqbnd.js} +3 -3
- package/dist/chunks/{state-1h56tgqc.js → model-retry-7b8z1km1.js} +15 -15
- package/dist/chunks/{state-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-sq2460zj.js → model-retry-7d9xhrrr.js} +5 -5
- package/dist/chunks/{state-wzf5k0ay.js → model-retry-7nbeytcw.js} +5 -5
- package/dist/chunks/{state-v159dwgd.js → model-retry-7r27hdps.js} +18 -18
- package/dist/chunks/{state-a9qdt05j.js → model-retry-7s11eagy.js} +19 -19
- package/dist/chunks/{state-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
- package/dist/chunks/{state-7weczvnd.js → model-retry-7weczvnd.js} +1 -1
- package/dist/chunks/{state-p5memtjr.js → model-retry-7zpefmmn.js} +18 -18
- package/dist/chunks/{state-d390zwf3.js → model-retry-80m5xgxj.js} +11 -11
- package/dist/chunks/{state-80pdk984.js → model-retry-80pdk984.js} +1 -1
- package/dist/chunks/{state-vmwdw956.js → model-retry-829pgtev.js} +24 -24
- package/dist/chunks/{state-v9edw38w.js → model-retry-842xs9ev.js} +8 -8
- package/dist/chunks/{state-85jq8dht.js → model-retry-85jq8dht.js} +1 -1
- package/dist/chunks/{state-qq8nxmq8.js → model-retry-85yc0hq8.js} +12 -12
- package/dist/chunks/{state-ehhg2xcr.js → model-retry-8a135hpr.js} +14 -14
- package/dist/chunks/{state-8b3vzgkx.js → model-retry-8b3vzgkx.js} +1 -1
- package/dist/chunks/{state-fwmxwjyq.js → model-retry-8c2epgrf.js} +19 -19
- package/dist/chunks/{state-djnm8m9y.js → model-retry-8cf0qzhe.js} +19 -19
- package/dist/chunks/{state-9279jmms.js → model-retry-8ctyhwzp.js} +16 -16
- package/dist/chunks/{state-cbat45jb.js → model-retry-8eswvhzm.js} +31 -31
- package/dist/chunks/{state-8c2cgf6e.js → model-retry-8hex9hfh.js} +19 -19
- package/dist/chunks/{state-t1cpgcqv.js → model-retry-8jtp0fba.js} +11 -11
- package/dist/chunks/{state-8kjyvwy5.js → model-retry-8kjyvwy5.js} +1 -1
- package/dist/chunks/{state-8sxe6kv8.js → model-retry-8sxe6kv8.js} +2 -2
- package/dist/chunks/{state-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
- package/dist/chunks/{state-wz7en73q.js → model-retry-8y9tjgy2.js} +24 -24
- package/dist/chunks/{state-emskjcb9.js → model-retry-8yz0jhpn.js} +18 -18
- package/dist/chunks/{state-8zv0xmg5.js → model-retry-8zv0xmg5.js} +1 -1
- package/dist/chunks/{state-2bswbpgz.js → model-retry-93xmyh8q.js} +7 -7
- package/dist/chunks/{state-963hk181.js → model-retry-963hk181.js} +2 -2
- package/dist/chunks/{state-ktck1cjp.js → model-retry-99qapbs9.js} +6 -6
- package/dist/chunks/{state-0hhk97e6.js → model-retry-9ajhsmak.js} +5 -5
- package/dist/chunks/model-retry-9ceax7yg.js +19 -0
- package/dist/chunks/{state-fzattvf9.js → model-retry-9edbf5wj.js} +26 -26
- package/dist/chunks/{state-px6wqt9a.js → model-retry-9es5bg3v.js} +9 -9
- package/dist/chunks/{state-h0scc2f8.js → model-retry-9kw5xz73.js} +5 -5
- package/dist/chunks/{state-2kg89srt.js → model-retry-9q8g9sv8.js} +4 -4
- package/dist/chunks/{state-9khz0wq9.js → model-retry-9rqhy0gk.js} +7 -7
- package/dist/chunks/{state-r5t319e4.js → model-retry-9v3yr0dd.js} +13 -13
- package/dist/chunks/{state-109ycj4d.js → model-retry-9vcnt7gp.js} +7 -7
- package/dist/chunks/{state-eeqr2ezx.js → model-retry-a1sevdk6.js} +8 -8
- package/dist/chunks/{state-6xm9jdbn.js → model-retry-a2m3nwnc.js} +2 -2
- package/dist/chunks/{state-twn0g4c4.js → model-retry-a3nz3ck4.js} +9 -9
- package/dist/chunks/{state-2fqhctvv.js → model-retry-a4hgaa8m.js} +17 -17
- package/dist/chunks/{state-hk7vvr1w.js → model-retry-a8d6xaw0.js} +4 -4
- package/dist/chunks/{state-hct41e8k.js → model-retry-aahpp0ad.js} +18 -18
- package/dist/chunks/{state-qvscvz7g.js → model-retry-acckxf00.js} +31 -31
- package/dist/chunks/model-retry-ade8csyh.js +10 -0
- package/dist/chunks/{state-3efg5d53.js → model-retry-aj8dydnj.js} +14 -14
- package/dist/chunks/{state-h4vx8t2t.js → model-retry-ax7s30a4.js} +4 -4
- package/dist/chunks/{state-ayjs7tqn.js → model-retry-ayjs7tqn.js} +2 -2
- package/dist/chunks/{state-b7nkz392.js → model-retry-b0fy1v2h.js} +1 -1
- package/dist/chunks/{state-5n0rnk8e.js → model-retry-bhfd478d.js} +4 -4
- package/dist/chunks/{state-kqzd954s.js → model-retry-brkxq01e.js} +19 -19
- package/dist/chunks/{state-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
- package/dist/chunks/{state-27fqdypx.js → model-retry-btg7eafc.js} +15 -15
- package/dist/chunks/{state-d1g7k0n1.js → model-retry-bv7r9pcg.js} +6 -6
- package/dist/chunks/{state-y8extacy.js → model-retry-bwgmfgvg.js} +25 -25
- package/dist/chunks/{state-8atgymfb.js → model-retry-byybcfm0.js} +7 -7
- package/dist/chunks/{state-dg5naf6e.js → model-retry-c5zvymhv.js} +4 -4
- package/dist/chunks/{state-4dg21t77.js → model-retry-c9867p5d.js} +45 -45
- package/dist/chunks/{state-52by9wz1.js → model-retry-cd37ehzf.js} +22 -22
- package/dist/chunks/{state-3qw8teq0.js → model-retry-cmnqamdd.js} +39 -39
- package/dist/chunks/{state-rgceh5wf.js → model-retry-cphxwmbb.js} +21 -21
- package/dist/chunks/{state-cwrgdav8.js → model-retry-cwrgdav8.js} +2 -2
- package/dist/chunks/{state-mx3cbz75.js → model-retry-d24yje7t.js} +25 -25
- package/dist/chunks/{state-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
- package/dist/chunks/{state-97d0bxh6.js → model-retry-dgs1ay09.js} +34 -34
- package/dist/chunks/{state-dfpyr7py.js → model-retry-dn1xh1rs.js} +6 -6
- package/dist/chunks/{state-dt77769w.js → model-retry-dt77769w.js} +1 -1
- package/dist/chunks/{state-qtf35215.js → model-retry-dtrrxc61.js} +3 -3
- package/dist/chunks/{state-zhbst51w.js → model-retry-dv49zdb6.js} +31 -31
- package/dist/chunks/{state-6pahazrx.js → model-retry-dw87ag6x.js} +10 -10
- package/dist/chunks/{state-narxvgx9.js → model-retry-dx37v7zm.js} +19 -19
- package/dist/chunks/{state-da44vmvv.js → model-retry-eg252j0s.js} +17 -17
- package/dist/chunks/{state-pgqxr0th.js → model-retry-egte8s1h.js} +4 -4
- package/dist/chunks/{state-eqw4pqj1.js → model-retry-eqw4pqj1.js} +2 -2
- package/dist/chunks/{state-edm37t96.js → model-retry-f65x015p.js} +6 -6
- package/dist/chunks/{state-7khw6ctp.js → model-retry-fapwvgcn.js} +380 -380
- package/dist/chunks/{state-gpz3zcsm.js → model-retry-fb713nv2.js} +19 -19
- package/dist/chunks/{state-egsmxz2f.js → model-retry-fckc8ywy.js} +59 -59
- package/dist/chunks/{state-n320gsn2.js → model-retry-fcrd7kek.js} +4 -4
- package/dist/chunks/{state-gnrnwaff.js → model-retry-fddj29ch.js} +14 -14
- package/dist/chunks/{state-fg9p65nk.js → model-retry-fg9p65nk.js} +2 -2
- package/dist/chunks/{state-e0xk049a.js → model-retry-fgdy0q7j.js} +3 -3
- package/dist/chunks/{state-4gneve8v.js → model-retry-fhb2k50q.js} +37 -37
- package/dist/chunks/{state-jh82ppf8.js → model-retry-fmkb7dtj.js} +37 -37
- package/dist/chunks/{state-a60yvsvr.js → model-retry-fn6nr9y6.js} +16 -16
- package/dist/chunks/{state-r4ey0dp4.js → model-retry-fph2q7fn.js} +9 -9
- package/dist/chunks/{state-fmers9j5.js → model-retry-fxfygywz.js} +9 -9
- package/dist/chunks/{state-v8dnj16f.js → model-retry-fzpq44b5.js} +5 -5
- package/dist/chunks/{state-ebxw5th9.js → model-retry-g3423m7g.js} +15 -15
- package/dist/chunks/{state-3djagcat.js → model-retry-g3gg2kgz.js} +36 -36
- package/dist/chunks/{state-8gc717j2.js → model-retry-g41t17xq.js} +30 -30
- package/dist/chunks/{state-g4txs7zc.js → model-retry-g4txs7zc.js} +4 -4
- package/dist/chunks/{state-5wyjxme5.js → model-retry-g650r2x6.js} +7 -7
- package/dist/chunks/{state-7pf24df8.js → model-retry-g6jvgjwm.js} +39 -39
- package/dist/chunks/{state-3ck5pzsd.js → model-retry-g95tps0q.js} +33 -33
- package/dist/chunks/{state-gbjdnr5j.js → model-retry-gbjdnr5j.js} +2 -2
- package/dist/chunks/{state-ghrv1g9c.js → model-retry-ghrv1g9c.js} +1 -1
- package/dist/chunks/{state-g3v06dfq.js → model-retry-gpy0j4f0.js} +10 -10
- package/dist/chunks/{state-tg7s7b5t.js → model-retry-gxs71cxp.js} +4 -4
- package/dist/chunks/{state-jy6nqey9.js → model-retry-h1hxhh1f.js} +8 -8
- package/dist/chunks/{state-k5pkx81j.js → model-retry-h7swj2ct.js} +3 -3
- package/dist/chunks/{state-627a6t8n.js → model-retry-hffj87vq.js} +16 -16
- package/dist/chunks/{state-hgzwgvze.js → model-retry-hgzwgvze.js} +2 -2
- package/dist/chunks/{state-4bwthz3m.js → model-retry-hmc1gkc2.js} +6 -6
- package/dist/chunks/{state-2fsxdb0d.js → model-retry-hqjn8a4q.js} +23 -23
- package/dist/chunks/{state-j376ae4e.js → model-retry-j376ae4e.js} +1 -1
- package/dist/chunks/{state-eezvz286.js → model-retry-j5smw18m.js} +13 -13
- package/dist/chunks/{state-ze75qvmd.js → model-retry-j9nxzz3g.js} +3 -3
- package/dist/chunks/{state-930967qy.js → model-retry-jctnb33c.js} +11 -11
- package/dist/chunks/{state-nxbnzhh1.js → model-retry-jd2k76th.js} +3 -3
- package/dist/chunks/{state-t65b4mrh.js → model-retry-jd3472bp.js} +3 -3
- package/dist/chunks/{state-x150ncgg.js → model-retry-jh9q4qkg.js} +2 -2
- package/dist/chunks/{state-s1t4haaj.js → model-retry-jkf8ywy2.js} +16 -16
- package/dist/chunks/{state-jm70asfg.js → model-retry-jm70asfg.js} +1 -1
- package/dist/chunks/{state-ydet8tgv.js → model-retry-jprmyt26.js} +34 -34
- package/dist/chunks/{state-cpe35zww.js → model-retry-jwve1gmd.js} +4 -4
- package/dist/chunks/{state-jxd6f16v.js → model-retry-jxd6f16v.js} +2 -2
- package/dist/chunks/model-retry-jzp9axma.js +273 -0
- package/dist/chunks/{state-djkt98xq.js → model-retry-k2m8za3w.js} +21 -21
- package/dist/chunks/{state-15rmc56z.js → model-retry-k6n4wbgb.js} +13 -13
- package/dist/chunks/{state-j3f8hyeg.js → model-retry-k98yejja.js} +7 -7
- package/dist/chunks/{state-6gjb87wc.js → model-retry-kef55kra.js} +8 -8
- package/dist/chunks/{state-nmbew64m.js → model-retry-kfdqexcg.js} +40 -40
- package/dist/chunks/{state-7g1dpkev.js → model-retry-kffbz72f.js} +8 -8
- package/dist/chunks/{state-cv6amnmh.js → model-retry-kj9n5bvh.js} +4 -4
- package/dist/chunks/{state-a0f8fvmt.js → model-retry-kmekj7m2.js} +8 -8
- package/dist/chunks/{state-6d99zds6.js → model-retry-kp9ph64s.js} +13 -13
- package/dist/chunks/{state-15mkcj75.js → model-retry-kpyg76p6.js} +28 -28
- package/dist/chunks/{state-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
- package/dist/chunks/{state-kzczzf4v.js → model-retry-kzczzf4v.js} +1 -1
- package/dist/chunks/{state-m1714858.js → model-retry-m1714858.js} +1 -1
- package/dist/chunks/{state-smk8519c.js → model-retry-m2yay7s6.js} +48 -48
- package/dist/chunks/{state-fc9qhm4k.js → model-retry-m3xv23jc.js} +24 -24
- package/dist/chunks/{state-m4p4r8nc.js → model-retry-m4p4r8nc.js} +1 -1
- package/dist/chunks/{state-wmkrkwan.js → model-retry-m62mbdjb.js} +8 -8
- package/dist/chunks/{state-8vy8myv0.js → model-retry-m8sm4ebg.js} +22 -22
- package/dist/chunks/{state-m90tx7mw.js → model-retry-m90tx7mw.js} +1 -1
- package/dist/chunks/{state-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-mb7mbhnz.js → model-retry-mb7mbhnz.js} +3 -3
- package/dist/chunks/{state-5strrb1w.js → model-retry-mbpw86kt.js} +10 -10
- package/dist/chunks/{state-gnwx4pxd.js → model-retry-mdwjffta.js} +11 -11
- package/dist/chunks/{state-wfyabtyf.js → model-retry-mfevbvrs.js} +100 -100
- package/dist/chunks/model-retry-mgpk6n80.js +35 -0
- package/dist/chunks/{state-00ceerga.js → model-retry-mm2dsn97.js} +36 -36
- package/dist/chunks/{state-fgzhd4f7.js → model-retry-n1hebc3y.js} +29 -29
- package/dist/chunks/{state-mvmm73ke.js → model-retry-n79wpsrs.js} +18 -18
- package/dist/chunks/{state-xxschbft.js → model-retry-nad3qcx8.js} +7 -7
- package/dist/chunks/{state-y5mtf85h.js → model-retry-ne7cd1ha.js} +58 -58
- package/dist/chunks/{state-gpr6mhvd.js → model-retry-nfac8j8b.js} +183 -60
- package/dist/chunks/{state-9evh4g6t.js → model-retry-ngx10khd.js} +15 -15
- package/dist/chunks/{state-chnap7qb.js → model-retry-nxyd0h03.js} +25 -25
- package/dist/chunks/{state-35tpvsnd.js → model-retry-nzaatkzq.js} +30 -30
- package/dist/chunks/{state-10j04twc.js → model-retry-p7kraew4.js} +19 -19
- package/dist/chunks/{state-6a3n96rr.js → model-retry-p9j37s50.js} +49 -49
- package/dist/chunks/{state-yh9adn63.js → model-retry-pf8955xt.js} +26 -26
- package/dist/chunks/{state-pknna89w.js → model-retry-pknna89w.js} +1 -1
- package/dist/chunks/{state-j408af94.js → model-retry-pm3c6s16.js} +17 -17
- package/dist/chunks/{state-ary6xecs.js → model-retry-pmg3ynn9.js} +4 -4
- package/dist/chunks/{state-tye10t2g.js → model-retry-pmmk8bnh.js} +15 -15
- package/dist/chunks/{state-yr4nm0tc.js → model-retry-pnzagfnf.js} +16 -16
- package/dist/chunks/{state-cqwm3s9e.js → model-retry-pwvv35w0.js} +12 -12
- package/dist/chunks/{state-skh0vv1h.js → model-retry-pxknse7s.js} +2 -2
- package/dist/chunks/{state-w0ee2s96.js → model-retry-pymb48n1.js} +5 -5
- package/dist/chunks/{state-e9efqbvz.js → model-retry-q16m5d83.js} +19 -19
- package/dist/chunks/{state-p94p4v4n.js → model-retry-q5bk3gvt.js} +8 -12
- package/dist/chunks/{state-rf2e2mym.js → model-retry-q7xxxqhc.js} +28 -28
- package/dist/chunks/{state-qj27vsmx.js → model-retry-qdqqjg8m.js} +31 -31
- package/dist/chunks/{state-4y5qk8wr.js → model-retry-qjr82zmw.js} +12 -12
- package/dist/chunks/{state-tts1m72y.js → model-retry-qkawq70m.js} +11 -11
- package/dist/chunks/{state-pvh525kc.js → model-retry-qnanx3dd.js} +27 -27
- package/dist/chunks/{state-fjwkbb1x.js → model-retry-qp2996hh.js} +5 -5
- package/dist/chunks/{state-qp7r0hxv.js → model-retry-qp7r0hxv.js} +1 -1
- package/dist/chunks/{state-5nc9cxcx.js → model-retry-r02bwx1r.js} +86 -86
- package/dist/chunks/{state-59r2jq59.js → model-retry-r1w8nv7n.js} +36 -36
- package/dist/chunks/{state-7hm90z9h.js → model-retry-r35w9x31.js} +13 -13
- package/dist/chunks/{state-8c2aw5yp.js → model-retry-rb5d0a2b.js} +11 -11
- package/dist/chunks/{state-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
- package/dist/chunks/{state-13gs6whz.js → model-retry-regkb5hs.js} +84 -84
- package/dist/chunks/{state-rgc9cx3e.js → model-retry-rgc9cx3e.js} +2 -2
- package/dist/chunks/{state-tqnb7fam.js → model-retry-rge3pmcm.js} +15 -15
- package/dist/chunks/{state-cr77hmd1.js → model-retry-rgwq2xe1.js} +37 -37
- package/dist/chunks/{state-4vzr2b15.js → model-retry-rj7jtxy8.js} +3 -3
- package/dist/chunks/{state-29t5ms5a.js → model-retry-rjx5dk1m.js} +3 -3
- package/dist/chunks/{state-7z0rb6fn.js → model-retry-rng172mc.js} +21 -21
- package/dist/chunks/{state-v6atjk4t.js → model-retry-rxzmn0gk.js} +16 -16
- package/dist/chunks/{state-s1ba0vj0.js → model-retry-s1ba0vj0.js} +2 -2
- package/dist/chunks/{state-hd5gh2tq.js → model-retry-s2vht1pw.js} +6 -6
- package/dist/chunks/{state-3nv1v92r.js → model-retry-s3yy3wtm.js} +15 -15
- package/dist/chunks/{state-s47rahr7.js → model-retry-s47rahr7.js} +1 -1
- package/dist/chunks/{state-4p679b5s.js → model-retry-s4sw4556.js} +11 -11
- package/dist/chunks/{state-2asypf8v.js → model-retry-s9p6mhxc.js} +25 -25
- package/dist/chunks/{state-sbya78hr.js → model-retry-sbya78hr.js} +1 -1
- package/dist/chunks/model-retry-secz9mse.js +26 -0
- package/dist/chunks/{state-vjjnj6g4.js → model-retry-sgs702js.js} +21 -21
- package/dist/chunks/{state-w65a8kme.js → model-retry-smx0ae0w.js} +8 -8
- package/dist/chunks/{state-svcy3p9a.js → model-retry-svcy3p9a.js} +1 -1
- package/dist/chunks/{state-ng5phben.js → model-retry-svhbx49m.js} +15 -15
- package/dist/chunks/{state-hmp5x989.js → model-retry-svn6ge3n.js} +5 -5
- package/dist/chunks/{state-6ssbb960.js → model-retry-sykpeafb.js} +20 -20
- package/dist/chunks/{state-w26ydvkj.js → model-retry-sztfd69n.js} +18 -18
- package/dist/chunks/{state-73ff1310.js → model-retry-t48jrnqq.js} +3 -3
- package/dist/chunks/{state-tbpn7jtk.js → model-retry-tbpn7jtk.js} +1 -1
- package/dist/chunks/{state-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
- package/dist/chunks/{state-7r2vp639.js → model-retry-tets3327.js} +47 -47
- package/dist/chunks/{state-s3jahghs.js → model-retry-tm1rwdkz.js} +23 -23
- package/dist/chunks/{state-tvtps2q9.js → model-retry-tvtps2q9.js} +1 -1
- package/dist/chunks/{state-twssxy5n.js → model-retry-twssxy5n.js} +2 -2
- package/dist/chunks/{state-htvtdz3s.js → model-retry-tzghbzrd.js} +35 -35
- package/dist/chunks/{state-hd8w7nxr.js → model-retry-v0ptq8kx.js} +5 -5
- package/dist/chunks/{state-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
- package/dist/chunks/{state-tqx9c315.js → model-retry-v5hpj9dd.js} +8 -8
- package/dist/chunks/{state-dr704ma6.js → model-retry-v5x6a47m.js} +39 -39
- package/dist/chunks/{state-vq1ppevj.js → model-retry-v8vd993n.js} +8 -8
- package/dist/chunks/{state-p7vhpwh8.js → model-retry-v9ez2kgh.js} +5 -5
- package/dist/chunks/{state-p6s20s7v.js → model-retry-vbenvz7q.js} +24 -24
- package/dist/chunks/{state-dsn35pkw.js → model-retry-vbq6wsfa.js} +44 -44
- package/dist/chunks/{state-r3sws3fk.js → model-retry-vfz1f8qw.js} +15 -15
- package/dist/chunks/{state-vjf35v1f.js → model-retry-vjf35v1f.js} +1 -1
- package/dist/chunks/{state-ynzdgah7.js → model-retry-vjhrddsw.js} +5 -5
- package/dist/chunks/{state-evw2hqks.js → model-retry-vp8y8q5k.js} +3 -3
- package/dist/chunks/{state-6v3qw19h.js → model-retry-vrgptqph.js} +10 -10
- package/dist/chunks/{state-jns4gqy7.js → model-retry-vsnnaxjq.js} +4 -4
- package/dist/chunks/{state-vt4r9rmy.js → model-retry-vt4r9rmy.js} +2 -2
- package/dist/chunks/{state-fes325b1.js → model-retry-vw4fppnt.js} +20 -20
- package/dist/chunks/{state-agje4kmn.js → model-retry-vwcz1f45.js} +7 -7
- package/dist/chunks/{state-6ey5hxvm.js → model-retry-vyyswwn4.js} +54 -54
- package/dist/chunks/{state-nd2e51yr.js → model-retry-w206vg3g.js} +1 -1
- package/dist/chunks/{state-zqeyams7.js → model-retry-w3jbjfas.js} +31 -31
- package/dist/chunks/{state-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-cbce2z70.js → model-retry-w42jvh7m.js} +4 -4
- package/dist/chunks/{state-9fgy5dtv.js → model-retry-w48gbg6x.js} +8 -8
- package/dist/chunks/{state-bbytzacy.js → model-retry-w5tzktdd.js} +9 -9
- package/dist/chunks/{state-vzbnr37h.js → model-retry-w60b7bmx.js} +11 -11
- package/dist/chunks/{state-yzyzjx54.js → model-retry-w8t7r7gz.js} +9 -9
- package/dist/chunks/{state-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
- package/dist/chunks/{state-hs7q0dfv.js → model-retry-wcq2yt31.js} +42 -42
- package/dist/chunks/{state-wd87259q.js → model-retry-wd87259q.js} +1 -1
- package/dist/chunks/{state-wegkxhrn.js → model-retry-wegkxhrn.js} +2 -2
- package/dist/chunks/{state-9q00jv0h.js → model-retry-whdvth7n.js} +22 -22
- package/dist/chunks/{state-v291rggy.js → model-retry-wsk3qzh5.js} +35 -35
- package/dist/chunks/{state-r1qh9q3s.js → model-retry-wtzh5vnc.js} +5 -5
- package/dist/chunks/{state-5njhb98r.js → model-retry-wx8t3hee.js} +6 -6
- package/dist/chunks/{state-ksg1ge82.js → model-retry-x5bmpxxv.js} +5 -5
- package/dist/chunks/{state-kqtyt155.js → model-retry-x9mcnj2g.js} +4 -4
- package/dist/chunks/{state-0vaa0e61.js → model-retry-xc0p3naf.js} +27 -27
- package/dist/chunks/{state-wjcg0vp3.js → model-retry-xdce6pj8.js} +3 -3
- package/dist/chunks/{state-1xhvy0a1.js → model-retry-xgpm74pc.js} +28 -28
- package/dist/chunks/{state-brv6mkyx.js → model-retry-xksw6ev0.js} +4 -4
- package/dist/chunks/{state-eqfxx9cj.js → model-retry-xp7jqvb9.js} +8 -8
- package/dist/chunks/{state-t69jc1z4.js → model-retry-xy63rwa2.js} +5 -5
- package/dist/chunks/{state-1a9h65em.js → model-retry-y031kkgx.js} +11 -11
- package/dist/chunks/{state-tnqc7dvm.js → model-retry-yahkkr4p.js} +184 -184
- package/dist/chunks/{state-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
- package/dist/chunks/{state-yr705xyq.js → model-retry-yr705xyq.js} +1 -1
- package/dist/chunks/{state-yvtc2x31.js → model-retry-yvtc2x31.js} +1 -1
- package/dist/chunks/{state-pffxc541.js → model-retry-yz7qshjs.js} +22 -22
- package/dist/chunks/{state-z0wbgq7s.js → model-retry-z0wbgq7s.js} +1 -1
- package/dist/chunks/{state-dkvpwghq.js → model-retry-z2j2y5rk.js} +24 -24
- package/dist/chunks/{state-rmeffpf9.js → model-retry-z6c0s5pf.js} +11 -11
- package/dist/chunks/model-retry-z7bdqmx5.js +18 -0
- package/dist/chunks/{state-s2rw6bpt.js → model-retry-z8yeq6ar.js} +25 -25
- package/dist/chunks/{state-xnvj0mm3.js → model-retry-zmn35q6p.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +150 -149
- package/dist/codemode/instructions.js +12 -11
- package/dist/codemode/tool.js +157 -156
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- 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 +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +247 -245
- package/dist/config/plugin/compaction.js +175 -174
- package/dist/config/plugin/compatibility.js +155 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -131
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +146 -144
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +133 -133
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +151 -150
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +158 -157
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +129 -129
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- 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 +81 -81
- 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 +103 -103
- package/dist/effect/app-node-builder.js +448 -446
- 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 +109 -109
- 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 +162 -161
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -165
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +254 -252
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +136 -136
- package/dist/form.js +95 -95
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +119 -119
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +113 -113
- 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 +441 -439
- package/dist/instruction-discovery.js +90 -89
- package/dist/instructions/builtins.js +101 -100
- package/dist/instructions/index.js +4 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -82
- package/dist/location-activity.js +188 -187
- package/dist/location-lifecycle.js +155 -154
- package/dist/location-service-map.js +97 -97
- package/dist/location-services.js +438 -436
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +165 -160
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +8 -0
- package/dist/mcp/index.js +149 -145
- package/dist/mcp/instructions.js +192 -190
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -160
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +120 -120
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +158 -157
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +146 -144
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -249
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -416
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +151 -150
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
- 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 +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +115 -115
- package/dist/plugin/provider/claude-agent/integration.js +114 -114
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +113 -113
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- 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 +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +142 -142
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +137 -137
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -162
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -241
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +154 -153
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +426 -424
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +5 -5
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +262 -260
- 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 +113 -113
- 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 +100 -99
- package/dist/reference.js +103 -103
- 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 +256 -254
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +264 -262
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -174
- package/dist/session/context.js +208 -206
- 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 +280 -278
- package/dist/session/execution/subagent-report.js +145 -144
- package/dist/session/execution.js +176 -175
- package/dist/session/generate.js +208 -206
- package/dist/session/history.js +141 -140
- package/dist/session/inbox.js +150 -149
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -88
- package/dist/session/instruction-state.js +9 -8
- package/dist/session/instructions.js +148 -147
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -172
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -175
- package/dist/session/projector.js +148 -147
- package/dist/session/prompt.js +153 -152
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -143
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +261 -259
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -154
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -165
- package/dist/session/runner/to-llm-message.js +142 -141
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +196 -195
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -151
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +87 -87
- package/dist/session/store.js +147 -146
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +175 -174
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +206 -204
- package/dist/session/to-session-error.js +154 -153
- package/dist/session/transfer.js +263 -261
- package/dist/session/usage.js +1 -1
- package/dist/session.js +251 -249
- 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 +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -155
- package/dist/skill.js +161 -160
- package/dist/snapshot.js +104 -104
- 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 +191 -189
- package/dist/tool/plugin/artifact.js +246 -244
- package/dist/tool/plugin/edit.js +172 -171
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -175
- package/dist/tool/plugin/grep.js +175 -174
- package/dist/tool/plugin/image-generate.js +257 -255
- package/dist/tool/plugin/mcp-events.js +168 -166
- package/dist/tool/plugin/mcp-resource.js +172 -170
- package/dist/tool/plugin/opencode.js +168 -167
- package/dist/tool/plugin/patch.js +169 -168
- package/dist/tool/plugin/question.js +151 -150
- package/dist/tool/plugin/read.js +177 -176
- package/dist/tool/plugin/schedule.js +262 -260
- package/dist/tool/plugin/shell.js +251 -249
- package/dist/tool/plugin/skill.js +162 -161
- package/dist/tool/plugin/subagent.js +253 -251
- package/dist/tool/plugin/todo.js +158 -157
- package/dist/tool/plugin/webfetch.js +162 -161
- package/dist/tool/plugin/websearch.js +160 -159
- package/dist/tool/plugin/write.js +173 -172
- 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 -164
- package/dist/types/mcp/client.d.ts +7 -16
- package/dist/types/mcp/event-errors.d.ts +25 -0
- package/dist/types/mcp/index.d.ts +40 -0
- package/dist/types/util/canonical-json.d.ts +2 -0
- package/dist/usage-limits.js +96 -96
- package/dist/util/canonical-json.js +6 -0
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- 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 +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +89 -89
- package/dist/wellknown/plugin.js +87 -87
- 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 +111 -111
- package/package.json +9 -9
- package/dist/chunks/state-3k8dzdg4.js +0 -273
- package/dist/chunks/state-5zcyx99g.js +0 -16
- package/dist/chunks/state-9bjnw33a.js +0 -35
- package/dist/chunks/state-ezna1kdx.js +0 -18
- package/dist/chunks/state-hww5z1ja.js +0 -26
- /package/dist/chunks/{state-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kah00gy.js → model-retry-1kah00gy.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4qk9sjk2.js → model-retry-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → model-retry-53557ph1.js} +0 -0
- /package/dist/chunks/{state-5w3e23ze.js → model-retry-5w3e23ze.js} +0 -0
- /package/dist/chunks/{state-6agm2x70.js → model-retry-6agm2x70.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → model-retry-6prwharc.js} +0 -0
- /package/dist/chunks/{state-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-7rvsyqjv.js → model-retry-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → model-retry-822emrt2.js} +0 -0
- /package/dist/chunks/{state-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-beh6qq61.js → model-retry-beh6qq61.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → model-retry-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-ean2d8b5.js → model-retry-ean2d8b5.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fkpq3x5p.js → model-retry-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → model-retry-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → model-retry-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → model-retry-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-m18g726c.js → model-retry-m18g726c.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-nh4v3znn.js → model-retry-nh4v3znn.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-p71gwv9c.js → model-retry-p71gwv9c.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-syrav9an.js → model-retry-syrav9an.js} +0 -0
- /package/dist/chunks/{state-t03h4f5z.js → model-retry-t03h4f5z.js} +0 -0
- /package/dist/chunks/{state-ty7weeps.js → model-retry-ty7weeps.js} +0 -0
- /package/dist/chunks/{state-v2dnd5dt.js → model-retry-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{state-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
- /package/dist/chunks/{state-vtarvj67.js → model-retry-vtarvj67.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x4th4bpe.js → model-retry-x4th4bpe.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
- /package/dist/chunks/{state-zxpyjp51.js → model-retry-zxpyjp51.js} +0 -0
- /package/dist/chunks/{state-zz5vv3aq.js → model-retry-zz5vv3aq.js} +0 -0
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID17,
|
|
3
|
+
Service81,
|
|
4
|
+
node82
|
|
5
|
+
} from "./model-retry-n1hebc3y.js";
|
|
6
6
|
import {
|
|
7
7
|
isAISDK2,
|
|
8
8
|
packageName2,
|
|
9
9
|
mergeOverlay2,
|
|
10
10
|
mergeHeaders2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-m90tx7mw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID16,
|
|
14
14
|
loadPackage2,
|
|
15
15
|
nativeSettings2,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
timeout2,
|
|
18
18
|
timeouts2,
|
|
19
19
|
encoding2,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service80,
|
|
21
|
+
node81
|
|
22
|
+
} from "./model-retry-dgs1ay09.js";
|
|
23
23
|
import {
|
|
24
24
|
Service72,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
node73
|
|
26
|
+
} from "./model-retry-5r27h39g.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
ID15,
|
|
29
29
|
VariantID2,
|
|
30
30
|
Ref3,
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
Service79,
|
|
32
|
+
node80,
|
|
33
33
|
supportsText2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-retry-g3gg2kgz.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/model-resolver.ts
|
|
40
40
|
var exports_model_resolver = {};
|
|
@@ -50,8 +50,8 @@ __export(exports_model_resolver, {
|
|
|
50
50
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
51
51
|
fromCatalogModel: () => fromCatalogModel2,
|
|
52
52
|
hasPackage: () => hasPackage2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer25,
|
|
54
|
+
node: () => node72,
|
|
55
55
|
resolveModel: () => resolveModel3,
|
|
56
56
|
withVariant: () => withVariant2
|
|
57
57
|
});
|
|
@@ -68,8 +68,8 @@ import { Auth, mergeTransport } from "@opencode/ai/route";
|
|
|
68
68
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
69
69
|
import { Npm } from "@opencode/util/npm";
|
|
70
70
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
71
|
-
providerID:
|
|
72
|
-
modelID:
|
|
71
|
+
providerID: ID16,
|
|
72
|
+
modelID: ID15,
|
|
73
73
|
variant: VariantID2
|
|
74
74
|
}) {
|
|
75
75
|
get message() {
|
|
@@ -78,8 +78,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
81
|
-
providerID:
|
|
82
|
-
modelID:
|
|
81
|
+
providerID: ID16,
|
|
82
|
+
modelID: ID15,
|
|
83
83
|
package: Schema.String
|
|
84
84
|
}) {
|
|
85
85
|
get message() {
|
|
@@ -89,8 +89,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
89
89
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
90
90
|
|
|
91
91
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
92
|
-
providerID:
|
|
93
|
-
modelID:
|
|
92
|
+
providerID: ID16,
|
|
93
|
+
modelID: ID15,
|
|
94
94
|
package: Schema.String,
|
|
95
95
|
detail: Schema.String
|
|
96
96
|
}) {
|
|
@@ -100,8 +100,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
103
|
-
providerID:
|
|
104
|
-
modelID:
|
|
103
|
+
providerID: ID16,
|
|
104
|
+
modelID: ID15,
|
|
105
105
|
package: Schema.String,
|
|
106
106
|
phase: InitializationPhase2,
|
|
107
107
|
detail: Schema.String
|
|
@@ -112,8 +112,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
115
|
-
providerID:
|
|
116
|
-
modelID:
|
|
115
|
+
providerID: ID16,
|
|
116
|
+
modelID: ID15,
|
|
117
117
|
variables: Schema.Array(Schema.String)
|
|
118
118
|
}) {
|
|
119
119
|
get message() {
|
|
@@ -122,8 +122,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
125
|
-
providerID:
|
|
126
|
-
modelID:
|
|
125
|
+
providerID: ID16,
|
|
126
|
+
modelID: ID15,
|
|
127
127
|
route: Schema.String
|
|
128
128
|
}) {
|
|
129
129
|
get message() {
|
|
@@ -275,7 +275,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
275
275
|
return tokenSettings(specifier, credential.access);
|
|
276
276
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
277
277
|
return { auth: "sigv4" };
|
|
278
|
-
if (model.providerID ===
|
|
278
|
+
if (model.providerID === ID16.azure)
|
|
279
279
|
return tokenSettings(specifier, "azure-cli");
|
|
280
280
|
return {};
|
|
281
281
|
};
|
|
@@ -310,10 +310,10 @@ var causeMessage = (cause) => {
|
|
|
310
310
|
};
|
|
311
311
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
312
312
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
313
|
-
var
|
|
314
|
-
const providers = yield*
|
|
315
|
-
const models = yield*
|
|
316
|
-
const integrations = yield*
|
|
313
|
+
var layer25 = Layer.effect(Service71, Effect.gen(function* () {
|
|
314
|
+
const providers = yield* Service80;
|
|
315
|
+
const models = yield* Service79;
|
|
316
|
+
const integrations = yield* Service81;
|
|
317
317
|
const npm = yield* Npm.Service;
|
|
318
318
|
const aisdk = yield* Service72;
|
|
319
319
|
const dependencies = {
|
|
@@ -322,7 +322,7 @@ var layer24 = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
322
322
|
};
|
|
323
323
|
const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
|
|
324
324
|
const provider = yield* providers.get(selected.providerID);
|
|
325
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
325
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID17.make(selected.providerID));
|
|
326
326
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
327
327
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
328
328
|
const runtimeInfo = {
|
|
@@ -431,10 +431,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
431
431
|
return false;
|
|
432
432
|
return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
|
|
433
433
|
}
|
|
434
|
-
var
|
|
434
|
+
var node72 = makeLocationNode({
|
|
435
435
|
service: Service71,
|
|
436
|
-
layer:
|
|
437
|
-
deps: [
|
|
436
|
+
layer: layer25,
|
|
437
|
+
deps: [node81, node80, node82, Npm.node, node73]
|
|
438
438
|
});
|
|
439
439
|
|
|
440
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service71, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2,
|
|
440
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service71, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer25, node72, exports_model_resolver };
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCwd2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
make21
|
|
4
|
+
} from "./model-retry-kffbz72f.js";
|
|
5
|
+
import {
|
|
6
|
+
EventStreamRejectedError2,
|
|
7
|
+
EventStreamTerminatedError2
|
|
8
|
+
} from "./model-retry-9ceax7yg.js";
|
|
5
9
|
import {
|
|
6
10
|
__export
|
|
7
|
-
} from "./
|
|
11
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
8
12
|
|
|
9
13
|
// src/mcp/client.ts
|
|
10
14
|
var exports_client = {};
|
|
11
15
|
__export(exports_client, {
|
|
12
16
|
ConnectError: () => ConnectError2,
|
|
17
|
+
EventStreamRejectedError: () => EventStreamRejectedError2,
|
|
13
18
|
EventStreamTerminatedError: () => EventStreamTerminatedError2,
|
|
14
19
|
McpClient: () => exports_client,
|
|
15
20
|
NeedsAuthError: () => NeedsAuthError2,
|
|
@@ -57,7 +62,7 @@ var EventType = Schema.Struct({
|
|
|
57
62
|
inputSchema: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
58
63
|
payloadSchema: Schema.optional(Schema.Record(Schema.String, Schema.Unknown))
|
|
59
64
|
});
|
|
60
|
-
var EventError = Schema.Struct({ code: Schema.Number, message: Schema.String, data: Schema.optional(Schema.
|
|
65
|
+
var EventError = Schema.Struct({ code: Schema.Number, message: Schema.String, data: Schema.optional(Schema.Json) });
|
|
61
66
|
var Cursor = Schema.optional(Schema.NullOr(Schema.String));
|
|
62
67
|
var Subscribed = { _meta: Schema.Struct({ [SUBSCRIPTION_ID]: Schema.Union([Schema.String, Schema.Number]) }) };
|
|
63
68
|
var EventList = Schema.toStandardSchemaV1(Schema.Struct({ events: Schema.Array(EventType), nextCursor: Schema.optional(Schema.String) }));
|
|
@@ -67,20 +72,13 @@ var EventNotification = Schema.toStandardSchemaV1(Schema.Struct({
|
|
|
67
72
|
eventId: Schema.String,
|
|
68
73
|
name: Schema.String,
|
|
69
74
|
timestamp: Schema.String,
|
|
70
|
-
data: Schema.
|
|
75
|
+
data: Schema.Json,
|
|
71
76
|
cursor: Cursor,
|
|
72
77
|
...Subscribed
|
|
73
78
|
}));
|
|
74
79
|
var HeartbeatNotification = Schema.toStandardSchemaV1(Schema.Struct({ cursor: Cursor, ...Subscribed }));
|
|
75
80
|
var ErrorNotification = Schema.toStandardSchemaV1(Schema.Struct({ error: EventError, ...Subscribed }));
|
|
76
|
-
|
|
77
|
-
class EventStreamTerminatedError2 extends Schema.TaggedError()("MCP.EventStreamTerminatedError", {
|
|
78
|
-
server: Schema.String,
|
|
79
|
-
code: Schema.Number,
|
|
80
|
-
message: Schema.String,
|
|
81
|
-
data: Schema.optional(Schema.Unknown)
|
|
82
|
-
}) {
|
|
83
|
-
}
|
|
81
|
+
var EVENT_STREAM_REJECTED = new Set([-32601, -32602, -32023, -32024, -32026]);
|
|
84
82
|
|
|
85
83
|
class NeedsAuthError2 extends Schema.TaggedError()("MCP.NeedsAuthError", {
|
|
86
84
|
server: Schema.String,
|
|
@@ -224,7 +222,7 @@ var connect2 = Effect.fnUntraced(function* (options) {
|
|
|
224
222
|
return yield* initialize(config.transport);
|
|
225
223
|
if (config.type === "local") {
|
|
226
224
|
const [command, ...args] = config.command;
|
|
227
|
-
const transport = yield*
|
|
225
|
+
const transport = yield* make21({
|
|
228
226
|
server,
|
|
229
227
|
command,
|
|
230
228
|
args,
|
|
@@ -303,11 +301,14 @@ var connect2 = Effect.fnUntraced(function* (options) {
|
|
|
303
301
|
if (open === queue)
|
|
304
302
|
streams.delete(id);
|
|
305
303
|
}));
|
|
306
|
-
yield*
|
|
307
|
-
signal,
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
304
|
+
yield* Effect.tryPromise({
|
|
305
|
+
try: (signal) => client.request({ method: "events/stream", params: input }, StreamResult, {
|
|
306
|
+
signal,
|
|
307
|
+
timeout: Infinity,
|
|
308
|
+
onRequestId: (id) => streams.set(String(id), queue)
|
|
309
|
+
}),
|
|
310
|
+
catch: (error) => error instanceof ProtocolError && EVENT_STREAM_REJECTED.has(error.code) ? new EventStreamRejectedError2({ server, code: error.code, message: error.message }) : failure(error)
|
|
311
|
+
}).pipe(Effect.tapError((error) => Effect.logWarning("failed to stream MCP events", { server, error: error.message })), Effect.matchEffect({
|
|
311
312
|
onFailure: (error) => Queue.fail(queue, error),
|
|
312
313
|
onSuccess: () => Queue.end(queue)
|
|
313
314
|
}), Effect.forkScoped);
|
|
@@ -454,4 +455,4 @@ function toCallToolResult(result) {
|
|
|
454
455
|
};
|
|
455
456
|
}
|
|
456
457
|
|
|
457
|
-
export {
|
|
458
|
+
export { NeedsAuthError2, ConnectError2, SessionExpiredError2, connect2, exports_client };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
connectionEnv2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-9rqhy0gk.js";
|
|
4
4
|
import {
|
|
5
5
|
Model2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-a1sevdk6.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3,
|
|
9
9
|
PACKAGE2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-vbenvz7q.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/claude-agent/aisdk.ts
|
|
16
16
|
var exports_aisdk = {};
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./model-retry-dx37v7zm.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./model-retry-g3gg2kgz.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service65
|
|
11
|
+
} from "./model-retry-vyyswwn4.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-retry-dtrrxc61.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service57
|
|
17
|
+
} from "./model-retry-rxzmn0gk.js";
|
|
18
18
|
import {
|
|
19
19
|
invocation2,
|
|
20
20
|
evaluate3,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service60
|
|
22
|
+
} from "./model-retry-m2yay7s6.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service25
|
|
25
|
+
} from "./model-retry-mfevbvrs.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Service9
|
|
28
|
+
} from "./model-retry-cd37ehzf.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/tool/plugin/subagent.ts
|
|
34
34
|
var exports_subagent = {};
|
|
35
35
|
__export(exports_subagent, {
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
36
|
+
Input: () => Input4,
|
|
37
|
+
Output: () => Output3,
|
|
38
|
+
Plugin: () => Plugin44,
|
|
39
39
|
SubagentTool: () => exports_subagent,
|
|
40
|
-
description: () =>
|
|
41
|
-
name: () =>
|
|
40
|
+
description: () => description3,
|
|
41
|
+
name: () => name4
|
|
42
42
|
});
|
|
43
43
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
44
44
|
import { Effect, Predicate, Schema } from "effect";
|
|
45
|
-
var
|
|
45
|
+
var name4 = "subagent";
|
|
46
46
|
var backgroundResult = (sessionID) => ({
|
|
47
47
|
sessionID,
|
|
48
48
|
status: "running",
|
|
@@ -54,7 +54,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
54
54
|
].join(`
|
|
55
55
|
`)
|
|
56
56
|
});
|
|
57
|
-
var
|
|
57
|
+
var Input4 = Schema.Struct({
|
|
58
58
|
agent: Schema.String.annotate({
|
|
59
59
|
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."
|
|
60
60
|
}),
|
|
@@ -67,12 +67,12 @@ var Input12 = Schema.Struct({
|
|
|
67
67
|
description: "Send a follow-up to an existing subagent, running or finished. Omit to start a new one."
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var
|
|
70
|
+
var Output3 = Schema.Struct({
|
|
71
71
|
sessionID: SessionSchema2.ID,
|
|
72
72
|
status: Schema.Literal("running"),
|
|
73
73
|
output: Schema.String
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var description3 = [
|
|
76
76
|
"Spawns an agent in a child session to work on the specified task.",
|
|
77
77
|
"Subagents always run in the background: the call returns immediately with a sessionID, and you receive a `<subagent>` message each time the child goes idle, including after later work.",
|
|
78
78
|
"Keep working on non-overlapping tasks, or briefly tell the user what you launched and end your response. Do not sleep, poll for progress, or ask the child for status.",
|
|
@@ -80,16 +80,16 @@ var description6 = [
|
|
|
80
80
|
"Pass the returned sessionID to continue that specific child conversation. A follow-up to a running child joins its current run."
|
|
81
81
|
].join(`
|
|
82
82
|
`);
|
|
83
|
-
var
|
|
83
|
+
var Plugin44 = {
|
|
84
84
|
id: "opencode.tool.subagent",
|
|
85
85
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
86
|
-
const sessions = yield*
|
|
87
|
-
const jobs = yield*
|
|
88
|
-
const agents = yield*
|
|
89
|
-
const config = yield*
|
|
90
|
-
const permission = yield*
|
|
91
|
-
const models = yield*
|
|
92
|
-
const subagents = yield*
|
|
86
|
+
const sessions = yield* Service25;
|
|
87
|
+
const jobs = yield* Service57;
|
|
88
|
+
const agents = yield* Service69;
|
|
89
|
+
const config = yield* Service65;
|
|
90
|
+
const permission = yield* Service60;
|
|
91
|
+
const models = yield* Service79;
|
|
92
|
+
const subagents = yield* Service9;
|
|
93
93
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
94
94
|
const ref = yield* Effect.try({
|
|
95
95
|
try: () => Ref3.parse(input),
|
|
@@ -111,11 +111,11 @@ var Plugin18 = {
|
|
|
111
111
|
return ref;
|
|
112
112
|
});
|
|
113
113
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
114
|
-
name:
|
|
114
|
+
name: name4,
|
|
115
115
|
options: { codemode: false },
|
|
116
|
-
description:
|
|
117
|
-
input:
|
|
118
|
-
output:
|
|
116
|
+
description: description3,
|
|
117
|
+
input: Input4,
|
|
118
|
+
output: Output3,
|
|
119
119
|
execute: (input, context) => Effect.gen(function* () {
|
|
120
120
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
121
121
|
let current = parent;
|
|
@@ -135,7 +135,7 @@ var Plugin18 = {
|
|
|
135
135
|
if (agent.mode === "primary")
|
|
136
136
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
137
137
|
yield* permission.assert({
|
|
138
|
-
action:
|
|
138
|
+
action: name4,
|
|
139
139
|
resources: [agent.id],
|
|
140
140
|
save: [agent.id],
|
|
141
141
|
...invocation2(context)
|
|
@@ -185,7 +185,7 @@ var Plugin18 = {
|
|
|
185
185
|
})))
|
|
186
186
|
})).pipe(Effect.orDie);
|
|
187
187
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
188
|
-
if (event.tool !==
|
|
188
|
+
if (event.tool !== name4 || !Predicate.isObject(event.input))
|
|
189
189
|
return;
|
|
190
190
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
191
191
|
return;
|
|
@@ -197,13 +197,13 @@ var Plugin18 = {
|
|
|
197
197
|
event.input = input;
|
|
198
198
|
}));
|
|
199
199
|
const hook = (event) => Effect.gen(function* () {
|
|
200
|
-
const tool = event.tools[
|
|
200
|
+
const tool = event.tools[name4];
|
|
201
201
|
if (!tool)
|
|
202
202
|
return;
|
|
203
203
|
const selected = yield* agents.resolve(event.agent);
|
|
204
204
|
if (!selected)
|
|
205
205
|
return;
|
|
206
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
206
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
207
207
|
if (available.length === 0)
|
|
208
208
|
return;
|
|
209
209
|
tool.description = [
|
|
@@ -220,4 +220,4 @@ var Plugin18 = {
|
|
|
220
220
|
})
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
export {
|
|
223
|
+
export { name4, Input4, Output3, description3, Plugin44, exports_subagent };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update2
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -22,7 +22,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
22
22
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
function
|
|
25
|
+
function update2(adapter, event) {
|
|
26
26
|
const created = DateTime.makeUnsafe(event.created);
|
|
27
27
|
const updateOwnedAssistant = (messageID, recipe) => Effect.gen(function* () {
|
|
28
28
|
const assistant = yield* adapter.getAssistant(messageID);
|
|
@@ -386,4 +386,4 @@ function update3(adapter, event) {
|
|
|
386
386
|
return project(event);
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
-
export {
|
|
389
|
+
export { update2, exports_message_updater };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/codemode/execution.ts
|
|
6
|
+
var exports_execution = {};
|
|
7
|
+
__export(exports_execution, {
|
|
8
|
+
CodeModeExecution: () => exports_execution,
|
|
9
|
+
Service: () => Service50
|
|
10
|
+
});
|
|
11
|
+
import { Context } from "effect";
|
|
12
|
+
|
|
13
|
+
class Service50 extends Context.Service()("@opencode/CodeModeExecution") {
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { Service50, exports_execution };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-syrav9an.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service91,
|
|
6
|
+
node93
|
|
7
|
+
} from "./model-retry-85yc0hq8.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
15
|
Service84,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node85
|
|
17
|
+
} from "./model-retry-9es5bg3v.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service74,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node75,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service74 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
var isError2 = Schema.is(Schema.Union([
|
|
96
96
|
InvalidBranchError2,
|
|
@@ -107,13 +107,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
107
107
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
108
108
|
});
|
|
109
109
|
});
|
|
110
|
-
var layer = Layer.effect(
|
|
110
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
111
111
|
const fs = yield* FSUtil.Service;
|
|
112
|
-
const git = yield*
|
|
112
|
+
const git = yield* Service91;
|
|
113
113
|
const flock = yield* EffectFlock.Service;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const kv = yield* Service84;
|
|
116
|
-
return
|
|
116
|
+
return Service74.of({
|
|
117
117
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
118
118
|
if (input.branch)
|
|
119
119
|
yield* validateBranch2(input.branch);
|
|
@@ -175,10 +175,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
175
175
|
})
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
179
|
-
service:
|
|
178
|
+
var node75 = makeGlobalNode({
|
|
179
|
+
service: Service74,
|
|
180
180
|
layer,
|
|
181
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
181
|
+
deps: [EffectFlock.node, FSUtil.node, node93, Global.node, node85]
|
|
182
182
|
});
|
|
183
183
|
function errorMessage(error) {
|
|
184
184
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -187,4 +187,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
187
187
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
190
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service74, isError2, validateBranch2, node75, exports_repository_cache };
|