@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,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./model-retry-vyyswwn4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./model-retry-qnanx3dd.js";
|
|
7
7
|
import {
|
|
8
8
|
Content2,
|
|
9
9
|
Event4,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
ID7,
|
|
11
|
+
Info7,
|
|
12
12
|
ProviderID2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./model-retry-c9867p5d.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-retry-tvtps2q9.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/tool/plugin/artifact.ts
|
|
23
23
|
var exports_artifact = {};
|
|
@@ -25,7 +25,7 @@ __export(exports_artifact, {
|
|
|
25
25
|
ArtifactTools: () => exports_artifact,
|
|
26
26
|
CreateToolInput: () => CreateToolInput2,
|
|
27
27
|
DeleteToolInput: () => DeleteToolInput2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin38,
|
|
29
29
|
ReadToolInput: () => ReadToolInput2,
|
|
30
30
|
UpdateToolInput: () => UpdateToolInput2
|
|
31
31
|
});
|
|
@@ -45,10 +45,10 @@ var CreateToolInput2 = Schema.Struct({
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
var ReadToolInput2 = Schema.Struct({
|
|
48
|
-
id:
|
|
48
|
+
id: ID7.annotate({ description: "Artifact ID (art_...) to read." })
|
|
49
49
|
});
|
|
50
50
|
var UpdateToolInput2 = Schema.Struct({
|
|
51
|
-
id:
|
|
51
|
+
id: ID7.annotate({ description: "Artifact ID (art_...) to update." }),
|
|
52
52
|
title: Schema.String.pipe(optional).annotate({ description: "Updated title, or omit to keep the current title." }),
|
|
53
53
|
files: Schema.Record(Schema.String, Schema.String).annotate({
|
|
54
54
|
description: "Replacement UTF-8 file map keyed by relative path."
|
|
@@ -56,17 +56,17 @@ var UpdateToolInput2 = Schema.Struct({
|
|
|
56
56
|
entry: Schema.String.pipe(optional).annotate({ description: "Updated entry file path." })
|
|
57
57
|
});
|
|
58
58
|
var DeleteToolInput2 = Schema.Struct({
|
|
59
|
-
id:
|
|
59
|
+
id: ID7.annotate({ description: "Artifact ID (art_...) to delete." })
|
|
60
60
|
});
|
|
61
61
|
var DeleteToolOutput = Schema.Struct({
|
|
62
|
-
id:
|
|
62
|
+
id: ID7,
|
|
63
63
|
deleted: Schema.Boolean
|
|
64
64
|
});
|
|
65
|
-
var
|
|
65
|
+
var Plugin38 = {
|
|
66
66
|
id: "opencode.tool.artifact",
|
|
67
67
|
effect: Effect.fn("ArtifactTools.Plugin")(function* (ctx) {
|
|
68
|
-
const config = yield*
|
|
69
|
-
const artifacts = yield*
|
|
68
|
+
const config = yield* Service65;
|
|
69
|
+
const artifacts = yield* Service20;
|
|
70
70
|
const promptSnapshot = { text: yield* renderCreateDescription(artifacts) };
|
|
71
71
|
const refreshTools = Effect.gen(function* () {
|
|
72
72
|
promptSnapshot.text = yield* renderCreateDescription(artifacts);
|
|
@@ -74,7 +74,7 @@ var Plugin13 = {
|
|
|
74
74
|
});
|
|
75
75
|
const loaded = yield* observe2(config, ctx.event, refreshTools);
|
|
76
76
|
yield* ctx.event.subscribe({ types: [Event4.Updated.type] }).pipe(Stream.runForEach(() => refreshTools), Effect.forkScoped({ startImmediately: true }));
|
|
77
|
-
const flags = yield*
|
|
77
|
+
const flags = yield* Service63;
|
|
78
78
|
const enabled = () => flags.resolve(loaded.entries).artifacts.enabled;
|
|
79
79
|
const failure = (error) => new ToolFailure({ message: error.message, error });
|
|
80
80
|
yield* ctx.tool.transform((editor) => {
|
|
@@ -84,7 +84,7 @@ var Plugin13 = {
|
|
|
84
84
|
name: "artifact_create",
|
|
85
85
|
description: promptSnapshot.text,
|
|
86
86
|
input: CreateToolInput2,
|
|
87
|
-
output:
|
|
87
|
+
output: Info7,
|
|
88
88
|
options: { namespace: "opencode", codemode: true },
|
|
89
89
|
execute: (input, context) => artifacts.create({
|
|
90
90
|
title: input.title,
|
|
@@ -112,7 +112,7 @@ var Plugin13 = {
|
|
|
112
112
|
name: "artifact_update",
|
|
113
113
|
description: "Replace an existing artifact's files at the same ID and URL.",
|
|
114
114
|
input: UpdateToolInput2,
|
|
115
|
-
output:
|
|
115
|
+
output: Info7,
|
|
116
116
|
options: { namespace: "opencode", codemode: true },
|
|
117
117
|
execute: (input, context) => artifacts.update(input.id, {
|
|
118
118
|
title: input.title,
|
|
@@ -152,4 +152,4 @@ function renderCreateDescription(artifacts) {
|
|
|
152
152
|
}));
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2,
|
|
155
|
+
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2, Plugin38, exports_artifact };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-retry-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-retry-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-034tev2y.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { blob, sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-rb9dy4dg.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-hgzwgvze.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service89
|
|
14
|
+
} from "./model-retry-aj8dydnj.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-retry-5bmpv8sd.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin20,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin20 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service89;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -561,4 +561,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
561
561
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
562
562
|
});
|
|
563
563
|
|
|
564
|
-
export {
|
|
564
|
+
export { Plugin20, exports_git };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-40y6dtc2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service73,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node74
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,7 +32,7 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service73 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
@@ -43,7 +43,7 @@ var describe = (error) => {
|
|
|
43
43
|
return cause instanceof Error ? cause.message.split(`
|
|
44
44
|
`)[0] : error.message;
|
|
45
45
|
};
|
|
46
|
-
var layer = Layer.effect(
|
|
46
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
47
47
|
const fs = yield* FSUtil.Service;
|
|
48
48
|
const global = yield* Global.Service;
|
|
49
49
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -120,7 +120,7 @@ ${item.text}`, "");
|
|
|
120
120
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
121
121
|
return file;
|
|
122
122
|
});
|
|
123
|
-
return
|
|
123
|
+
return Service73.of({
|
|
124
124
|
transform: state.transform,
|
|
125
125
|
reload: state.reload,
|
|
126
126
|
truncate,
|
|
@@ -138,8 +138,8 @@ var cleanupNode = makeGlobalNode({
|
|
|
138
138
|
layer: cleanupLayer,
|
|
139
139
|
deps: [FSUtil.node, Global.node]
|
|
140
140
|
});
|
|
141
|
-
var
|
|
142
|
-
service:
|
|
141
|
+
var node74 = makeLocationNode({
|
|
142
|
+
service: Service73,
|
|
143
143
|
layer,
|
|
144
144
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
145
145
|
});
|
|
@@ -179,4 +179,4 @@ function byteBoundary(text, budget) {
|
|
|
179
179
|
return start + (graphemes.segment(text.slice(start, index + 2)).containing(index - start)?.index ?? index - start);
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
182
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service73, node74, exports_tool_output2 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID13,
|
|
3
|
+
Info20,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-retry-dtrrxc61.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
Service94,
|
|
11
|
-
node96
|
|
12
|
-
} from "./state-0dnk7p9t.js";
|
|
13
|
-
import {
|
|
14
|
-
isSynced2,
|
|
15
10
|
Service93,
|
|
16
11
|
node95
|
|
17
|
-
} from "./
|
|
12
|
+
} from "./model-retry-3pnjxbxn.js";
|
|
13
|
+
import {
|
|
14
|
+
isSynced2,
|
|
15
|
+
Service92,
|
|
16
|
+
node94
|
|
17
|
+
} from "./model-retry-pnzagfnf.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service90,
|
|
20
|
+
node92
|
|
21
|
+
} from "./model-retry-9edbf5wj.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service56,
|
|
24
|
+
node57
|
|
25
|
+
} from "./model-retry-hmc1gkc2.js";
|
|
26
26
|
import {
|
|
27
27
|
awaitActivation2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-retry-z7bdqmx5.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service64
|
|
31
|
+
} from "./model-retry-1mk73hd7.js";
|
|
32
32
|
import {
|
|
33
33
|
SessionEvent2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-retry-ec1grn59.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service78,
|
|
37
|
+
node79
|
|
38
|
+
} from "./model-retry-mgpk6n80.js";
|
|
39
39
|
import {
|
|
40
40
|
SessionMessageTable2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./model-retry-mb7mbhnz.js";
|
|
42
42
|
import {
|
|
43
43
|
enabledFor2,
|
|
44
44
|
ForkMedia2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./model-retry-56q4jy8r.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
47
|
+
NotFoundError9,
|
|
48
48
|
InvalidListCursorError2,
|
|
49
49
|
MessageNotFoundError2,
|
|
50
50
|
ForkEmptyError2,
|
|
@@ -56,76 +56,76 @@ import {
|
|
|
56
56
|
BusyError2,
|
|
57
57
|
InboxConflictError2,
|
|
58
58
|
SkillNotFoundError2
|
|
59
|
-
} from "./
|
|
59
|
+
} from "./model-retry-f65x015p.js";
|
|
60
60
|
import {
|
|
61
61
|
current2
|
|
62
|
-
} from "./
|
|
62
|
+
} from "./model-retry-36qzrbfm.js";
|
|
63
63
|
import {
|
|
64
|
-
|
|
64
|
+
node56,
|
|
65
65
|
listWithRefs2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./model-retry-1jhp7y1p.js";
|
|
67
67
|
import {
|
|
68
68
|
snapshot2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./model-retry-hffj87vq.js";
|
|
70
70
|
import {
|
|
71
71
|
Slug2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./model-retry-gebd4c9n.js";
|
|
73
73
|
import {
|
|
74
74
|
SessionAlreadyProjected2,
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
75
|
+
node30
|
|
76
|
+
} from "./model-retry-w3jbjfas.js";
|
|
77
77
|
import {
|
|
78
78
|
ListInput3,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service61,
|
|
80
|
+
node62
|
|
81
|
+
} from "./model-retry-g3423m7g.js";
|
|
82
|
+
import {
|
|
83
|
+
Service57,
|
|
84
|
+
node58
|
|
85
|
+
} from "./model-retry-rxzmn0gk.js";
|
|
82
86
|
import {
|
|
83
87
|
Service53,
|
|
84
88
|
node55
|
|
85
|
-
} from "./
|
|
86
|
-
import {
|
|
87
|
-
Service40,
|
|
88
|
-
node43
|
|
89
|
-
} from "./state-7r2vp639.js";
|
|
89
|
+
} from "./model-retry-tets3327.js";
|
|
90
90
|
import {
|
|
91
91
|
llmClient2
|
|
92
|
-
} from "./
|
|
92
|
+
} from "./model-retry-0ma9gw4f.js";
|
|
93
93
|
import {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
} from "./
|
|
94
|
+
Service30,
|
|
95
|
+
node34
|
|
96
|
+
} from "./model-retry-z6c0s5pf.js";
|
|
97
97
|
import {
|
|
98
98
|
generate2
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./model-retry-p7kraew4.js";
|
|
100
100
|
import {
|
|
101
101
|
execute2
|
|
102
|
-
} from "./
|
|
102
|
+
} from "./model-retry-6e8ndm8p.js";
|
|
103
103
|
import {
|
|
104
104
|
Service59,
|
|
105
|
-
|
|
105
|
+
node60,
|
|
106
106
|
canonical3
|
|
107
|
-
} from "./
|
|
107
|
+
} from "./model-retry-7nbeytcw.js";
|
|
108
108
|
import {
|
|
109
109
|
DestinationNotFoundError2,
|
|
110
110
|
DestinationNotDirectoryError2,
|
|
111
111
|
DestinationUnavailableError2,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
112
|
+
Service26,
|
|
113
|
+
node29
|
|
114
|
+
} from "./model-retry-ne7cd1ha.js";
|
|
115
115
|
import {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
} from "./
|
|
116
|
+
Service46,
|
|
117
|
+
node49
|
|
118
|
+
} from "./model-retry-v8vd993n.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
120
|
+
make24
|
|
121
|
+
} from "./model-retry-rgwq2xe1.js";
|
|
122
122
|
import {
|
|
123
123
|
TurnRangeError2,
|
|
124
124
|
turn2
|
|
125
|
-
} from "./
|
|
125
|
+
} from "./model-retry-xp7jqvb9.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
|
-
} from "./
|
|
128
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
129
129
|
|
|
130
130
|
// src/session.ts
|
|
131
131
|
var exports_session3 = {};
|
|
@@ -137,24 +137,24 @@ __export(exports_session3, {
|
|
|
137
137
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
138
138
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
139
139
|
ForkEmptyError: () => ForkEmptyError2,
|
|
140
|
-
ID: () =>
|
|
140
|
+
ID: () => ID13,
|
|
141
141
|
InboxConflictError: () => InboxConflictError2,
|
|
142
|
-
Info: () =>
|
|
142
|
+
Info: () => Info20,
|
|
143
143
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
144
144
|
ListAnchor: () => ListAnchor2,
|
|
145
145
|
ListCursor: () => ListCursor2,
|
|
146
146
|
ListInput: () => ListInput2,
|
|
147
147
|
MessageDecodeError: () => MessageDecodeError2,
|
|
148
148
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
149
|
-
NotFoundError: () =>
|
|
149
|
+
NotFoundError: () => NotFoundError9,
|
|
150
150
|
PromptConflictError: () => PromptConflictError2,
|
|
151
|
-
Service: () =>
|
|
151
|
+
Service: () => Service25,
|
|
152
152
|
Session: () => exports_session3,
|
|
153
153
|
SessionSchema: () => SessionSchema2,
|
|
154
154
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
155
155
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
156
156
|
TurnRangeError: () => TurnRangeError2,
|
|
157
|
-
node: () =>
|
|
157
|
+
node: () => node28
|
|
158
158
|
});
|
|
159
159
|
import { DateTime, Effect, Layer, Context, Option, Stream } from "effect";
|
|
160
160
|
import { LLMClient } from "@opencode/ai/effect";
|
|
@@ -165,27 +165,27 @@ import { Node } from "@opencode/util/effect/app-node";
|
|
|
165
165
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
166
166
|
var ListInput2 = ListInput3;
|
|
167
167
|
var DefaultListLimit = 50;
|
|
168
|
-
class
|
|
168
|
+
class Service25 extends Context.Service()("@opencode/Session") {
|
|
169
169
|
}
|
|
170
|
-
var layer = Layer.effect(
|
|
171
|
-
const app = yield*
|
|
172
|
-
const database = yield*
|
|
170
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
171
|
+
const app = yield* Service78;
|
|
172
|
+
const database = yield* Service93;
|
|
173
173
|
const db = database.db;
|
|
174
|
-
const bus = yield*
|
|
175
|
-
const projects = yield*
|
|
176
|
-
const execution = yield*
|
|
174
|
+
const bus = yield* Service92;
|
|
175
|
+
const projects = yield* Service90;
|
|
176
|
+
const execution = yield* Service53;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const transport = yield*
|
|
179
|
-
const store = yield*
|
|
180
|
-
const instances = yield*
|
|
181
|
-
const moves = yield*
|
|
182
|
-
const jobs = yield*
|
|
183
|
-
const environments = yield*
|
|
178
|
+
const transport = yield* Service30;
|
|
179
|
+
const store = yield* Service61;
|
|
180
|
+
const instances = yield* Service56;
|
|
181
|
+
const moves = yield* Service26;
|
|
182
|
+
const jobs = yield* Service57;
|
|
183
|
+
const environments = yield* Service46;
|
|
184
184
|
const locations = yield* Service59;
|
|
185
|
-
const sessions = yield*
|
|
185
|
+
const sessions = yield* make24();
|
|
186
186
|
const mediaBlob = (session) => enabledFor2(instances, session);
|
|
187
187
|
const isDurableSessionEvent = (item) => Object.hasOwn(SessionEvent2.Durable.cases, item.type);
|
|
188
|
-
const result =
|
|
188
|
+
const result = Service25.of({
|
|
189
189
|
create: Effect.fn("Session.create")(function* (input) {
|
|
190
190
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
191
191
|
const recorded = yield* store.get(sessionID);
|
|
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
193
193
|
return recorded;
|
|
194
194
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
195
195
|
if (input.parentID && parent === undefined)
|
|
196
|
-
return yield* new
|
|
196
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
197
197
|
const location = parent?.location ?? (input.location && canonical3(input.location));
|
|
198
198
|
if (location === undefined)
|
|
199
199
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
246
246
|
const forked = yield* result.get(sessionID).pipe(Effect.orDie);
|
|
247
247
|
yield* Effect.gen(function* () {
|
|
248
248
|
yield* awaitActivation2;
|
|
249
|
-
const hooks = yield*
|
|
249
|
+
const hooks = yield* Service64;
|
|
250
250
|
yield* hooks.trigger("session", "fork", { sessionID });
|
|
251
251
|
}).pipe(instances.provide(forked), Effect.catchCause((cause) => Effect.logWarning("fork hook failed", { sessionID, cause })));
|
|
252
252
|
return forked;
|
|
@@ -339,11 +339,11 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
339
339
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
340
340
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
341
341
|
const session = yield* result.get(input.sessionID);
|
|
342
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
342
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service93, database), Effect.provideService(LLMClient.Service, llm), Effect.provideService(Service92, bus));
|
|
343
343
|
}),
|
|
344
344
|
command: Effect.fn("Session.command")(function* (input) {
|
|
345
345
|
const session = yield* result.get(input.sessionID);
|
|
346
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
346
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service56, instances));
|
|
347
347
|
}),
|
|
348
348
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
349
349
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -387,27 +387,27 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
387
387
|
});
|
|
388
388
|
return result;
|
|
389
389
|
}));
|
|
390
|
-
var
|
|
391
|
-
service:
|
|
390
|
+
var node28 = Node.makeGlobalNode({
|
|
391
|
+
service: Service25,
|
|
392
392
|
layer,
|
|
393
393
|
deps: [
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
node96,
|
|
394
|
+
node58,
|
|
395
|
+
node49,
|
|
397
396
|
node95,
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
397
|
+
node94,
|
|
398
|
+
node92,
|
|
399
|
+
node55,
|
|
400
|
+
node34,
|
|
401
401
|
llmClient2,
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
402
|
+
node62,
|
|
403
|
+
node57,
|
|
404
|
+
node56,
|
|
405
|
+
node29,
|
|
406
|
+
node30,
|
|
407
|
+
node60,
|
|
408
408
|
FSUtil.node,
|
|
409
|
-
|
|
409
|
+
node79
|
|
410
410
|
]
|
|
411
411
|
});
|
|
412
412
|
|
|
413
|
-
export { ListAnchor2, ListCursor2, ListInput2,
|
|
413
|
+
export { ListAnchor2, ListCursor2, ListInput2, Service25, node28, exports_session3 };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/app.ts
|
|
6
|
+
var exports_app = {};
|
|
7
|
+
__export(exports_app, {
|
|
8
|
+
App: () => exports_app,
|
|
9
|
+
Service: () => Service78,
|
|
10
|
+
configured: () => configured10,
|
|
11
|
+
layer: () => layer28,
|
|
12
|
+
make: () => make34,
|
|
13
|
+
node: () => node79,
|
|
14
|
+
useragent: () => useragent2
|
|
15
|
+
});
|
|
16
|
+
import { Context, Layer } from "effect";
|
|
17
|
+
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
|
+
|
|
19
|
+
class Service78 extends Context.Service()("@opencode/App") {
|
|
20
|
+
}
|
|
21
|
+
function make34(input = {}) {
|
|
22
|
+
return {
|
|
23
|
+
name: input.name ?? "opencode",
|
|
24
|
+
version: input.version ?? "unknown",
|
|
25
|
+
channel: input.channel ?? "unknown"
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function useragent2(app) {
|
|
29
|
+
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
|
+
}
|
|
31
|
+
var layer28 = (input) => Layer.succeed(Service78, make34(input));
|
|
32
|
+
var configured10 = (input) => makeGlobalNode({ service: Service78, layer: layer28(input), deps: [] });
|
|
33
|
+
var node79 = configured10();
|
|
34
|
+
|
|
35
|
+
export { Service78, make34, useragent2, layer28, configured10, node79, exports_app };
|