@opencode/core 0.0.0-dev-21797 → 0.0.0-dev-21798
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 +85 -85
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{aisdk-5vmpvjb2.js → model-retry-050d3ay8.js} +21 -21
- package/dist/chunks/{aisdk-jvyg19hw.js → model-retry-06vpm9gp.js} +5 -5
- package/dist/chunks/{aisdk-0dsw8twb.js → model-retry-0ht9hdz1.js} +18 -18
- package/dist/chunks/{aisdk-2hg4sync.js → model-retry-0jvkxj1w.js} +16 -16
- package/dist/chunks/{aisdk-2ymra49z.js → model-retry-0wwnb14f.js} +22 -22
- package/dist/chunks/{aisdk-k0kgn7e8.js → model-retry-0xhfrmwt.js} +15 -15
- package/dist/chunks/{aisdk-sxxtzq88.js → model-retry-100payr0.js} +14 -14
- package/dist/chunks/{aisdk-4fr4sksd.js → model-retry-10jcw8d8.js} +25 -25
- package/dist/chunks/{aisdk-av8kewvz.js → model-retry-125y49va.js} +11 -11
- package/dist/chunks/{aisdk-k4zhcscr.js → model-retry-17r689qp.js} +32 -32
- package/dist/chunks/{aisdk-nqfawq5a.js → model-retry-17tax46a.js} +18 -18
- package/dist/chunks/{aisdk-98en76th.js → model-retry-1cmbb7v6.js} +28 -28
- package/dist/chunks/{aisdk-a48nt83h.js → model-retry-1v37p8m9.js} +3 -3
- package/dist/chunks/{aisdk-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
- package/dist/chunks/{aisdk-1y0wdj51.js → model-retry-1y0wdj51.js} +1 -1
- package/dist/chunks/{aisdk-5zrxpy3q.js → model-retry-1yq9hg58.js} +5 -5
- package/dist/chunks/{aisdk-1ep2p91f.js → model-retry-27w5k9zf.js} +2 -2
- package/dist/chunks/model-retry-2dkjcnxp.js +18 -0
- package/dist/chunks/{aisdk-62gkc4gb.js → model-retry-2emwncdy.js} +24 -24
- package/dist/chunks/{aisdk-vm09r37m.js → model-retry-2kw25s9z.js} +10 -10
- package/dist/chunks/{aisdk-2z1j29yd.js → model-retry-2z1j29yd.js} +1 -1
- package/dist/chunks/{aisdk-gzyzv5v1.js → model-retry-3459c4aq.js} +17 -17
- package/dist/chunks/{aisdk-36qx82yz.js → model-retry-36qx82yz.js} +2 -2
- package/dist/chunks/{aisdk-g7z288js.js → model-retry-376fvw41.js} +16 -16
- package/dist/chunks/{aisdk-g7s46vzf.js → model-retry-37sdb7g6.js} +26 -26
- package/dist/chunks/{aisdk-ayjs7tqn.js → model-retry-3cbjf1nt.js} +2 -2
- package/dist/chunks/{aisdk-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-sxpkxtx1.js → model-retry-3j5fsnm8.js} +66 -66
- package/dist/chunks/{aisdk-afmnpta1.js → model-retry-3kdbrncp.js} +5 -5
- package/dist/chunks/{aisdk-02q5zzbs.js → model-retry-3m5yrge5.js} +6 -6
- package/dist/chunks/{aisdk-59eyqtvt.js → model-retry-3njs8ewd.js} +5 -5
- package/dist/chunks/{aisdk-dkghk8y5.js → model-retry-3qxfjpzy.js} +17 -17
- package/dist/chunks/{aisdk-0c81bjdp.js → model-retry-3rc6xfjm.js} +7 -7
- package/dist/chunks/{aisdk-3f8g98kp.js → model-retry-3rvfd2p4.js} +33 -33
- package/dist/chunks/{aisdk-5ngfqmek.js → model-retry-3vdwfrk9.js} +5 -5
- package/dist/chunks/{aisdk-ynwbg66k.js → model-retry-3vz2yars.js} +32 -32
- package/dist/chunks/{aisdk-6x9kpmy6.js → model-retry-44kmfwta.js} +15 -15
- package/dist/chunks/{aisdk-q85rya1m.js → model-retry-456hh3yw.js} +6 -6
- package/dist/chunks/model-retry-4eh702yp.js +261 -0
- package/dist/chunks/{aisdk-yh19xnd2.js → model-retry-4nff539t.js} +43 -43
- package/dist/chunks/{aisdk-emcwgekk.js → model-retry-4tpkt9ke.js} +19 -19
- package/dist/chunks/{aisdk-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
- package/dist/chunks/{aisdk-r4dc9gx5.js → model-retry-4xkwq58b.js} +13 -13
- package/dist/chunks/{aisdk-tmgcn98f.js → model-retry-5h6jm490.js} +9 -9
- package/dist/chunks/{aisdk-5j9j26xw.js → model-retry-5j9j26xw.js} +3 -3
- package/dist/chunks/{aisdk-w9ed1a32.js → model-retry-5jzmzpz9.js} +46 -46
- package/dist/chunks/{aisdk-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
- package/dist/chunks/{aisdk-b6vsg801.js → model-retry-5nnwax6m.js} +5 -5
- package/dist/chunks/{aisdk-dk5xnaxx.js → model-retry-5p205wab.js} +4 -4
- package/dist/chunks/{aisdk-zgest3bw.js → model-retry-5snh3nsf.js} +53 -53
- package/dist/chunks/{aisdk-2zfxdhk0.js → model-retry-5v8dvpa5.js} +2 -2
- package/dist/chunks/{aisdk-nvj2w257.js → model-retry-5z33grs6.js} +20 -20
- package/dist/chunks/{aisdk-kcbfy5w6.js → model-retry-61g7nd3s.js} +10 -10
- package/dist/chunks/{aisdk-7mx0thm8.js → model-retry-64t4yar7.js} +9 -9
- package/dist/chunks/{aisdk-0smrea2v.js → model-retry-67q20rmp.js} +3 -3
- package/dist/chunks/{aisdk-bf8vcvhw.js → model-retry-67szgq6z.js} +13 -13
- package/dist/chunks/{aisdk-6esdw8yj.js → model-retry-6esdw8yj.js} +1 -1
- package/dist/chunks/{aisdk-m6sk1fcd.js → model-retry-6g7mppbr.js} +7 -7
- package/dist/chunks/{aisdk-jh7e8tgx.js → model-retry-6nwz34t5.js} +14 -14
- package/dist/chunks/{aisdk-6pjqjmy2.js → model-retry-6pjqjmy2.js} +1 -1
- package/dist/chunks/{aisdk-8nz99emr.js → model-retry-72anbrp0.js} +31 -31
- package/dist/chunks/{aisdk-mhgd2m5e.js → model-retry-72at9y79.js} +15 -15
- package/dist/chunks/{aisdk-svr5s65s.js → model-retry-73rh2vq1.js} +28 -28
- package/dist/chunks/{aisdk-76cb1hcw.js → model-retry-76cb1hcw.js} +1 -1
- package/dist/chunks/{aisdk-vgk61ywp.js → model-retry-799ckdtf.js} +9 -9
- package/dist/chunks/{aisdk-49zxw774.js → model-retry-7bk0syww.js} +11 -11
- package/dist/chunks/{aisdk-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-5w3zb15n.js → model-retry-7emqhgyb.js} +15 -15
- package/dist/chunks/{aisdk-38adaqc0.js → model-retry-7r0r50e5.js} +5 -5
- package/dist/chunks/{aisdk-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
- package/dist/chunks/{aisdk-f9yjbpq8.js → model-retry-7wy00epp.js} +21 -21
- package/dist/chunks/{aisdk-7km63f0q.js → model-retry-7xj3j87d.js} +25 -25
- package/dist/chunks/{aisdk-ncd9wcep.js → model-retry-7yj2t834.js} +17 -17
- package/dist/chunks/{aisdk-n6wmbk3w.js → model-retry-7yp67vww.js} +18 -18
- package/dist/chunks/{aisdk-kmbg8e3n.js → model-retry-7zhd4cey.js} +10 -10
- package/dist/chunks/{aisdk-4kzmxs1g.js → model-retry-856d8532.js} +18 -18
- package/dist/chunks/{aisdk-d77k1mxa.js → model-retry-88kypjvy.js} +4 -4
- package/dist/chunks/{aisdk-rcq2wj92.js → model-retry-8gbe608w.js} +12 -12
- package/dist/chunks/{aisdk-a10a0mgr.js → model-retry-8kcbfhnp.js} +14 -14
- package/dist/chunks/{aisdk-czqz3cds.js → model-retry-8krtskbq.js} +12 -12
- package/dist/chunks/{aisdk-0y4hywk9.js → model-retry-8kw3wj8m.js} +34 -34
- package/dist/chunks/{aisdk-0w58deb0.js → model-retry-8p97zz9p.js} +40 -40
- package/dist/chunks/{aisdk-x9pbrbw3.js → model-retry-8tm9bnq5.js} +9 -9
- package/dist/chunks/{aisdk-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
- package/dist/chunks/{aisdk-91rj84md.js → model-retry-91rj84md.js} +1 -1
- package/dist/chunks/{aisdk-eyh97w0x.js → model-retry-99y4khf1.js} +33 -33
- package/dist/chunks/{aisdk-tgn813b6.js → model-retry-9hn5wjvr.js} +21 -21
- package/dist/chunks/{aisdk-qrkbtddb.js → model-retry-9nn8g4z9.js} +21 -21
- package/dist/chunks/{aisdk-rakzaeyk.js → model-retry-9rm0bcgy.js} +12 -12
- package/dist/chunks/{aisdk-d74ahe1w.js → model-retry-9t2bhtr4.js} +13 -13
- package/dist/chunks/{aisdk-ka20n1eg.js → model-retry-9vfx6p45.js} +36 -36
- package/dist/chunks/{aisdk-rqs00vfm.js → model-retry-a5pdx5y6.js} +32 -32
- package/dist/chunks/{aisdk-a7hcemwv.js → model-retry-a7hcemwv.js} +3 -3
- package/dist/chunks/{aisdk-034tev2y.js → model-retry-aj7mw0zk.js} +2 -2
- package/dist/chunks/{aisdk-5ey37m39.js → model-retry-ajxt18t2.js} +10 -10
- package/dist/chunks/{aisdk-dca38er1.js → model-retry-ayrf2aj2.js} +13 -13
- package/dist/chunks/{aisdk-b0mv4wxm.js → model-retry-b0mv4wxm.js} +2 -2
- package/dist/chunks/{aisdk-d2887f8n.js → model-retry-b1pn0vxn.js} +4 -4
- package/dist/chunks/{aisdk-71p3af2p.js → model-retry-b5sxz6p8.js} +4 -4
- package/dist/chunks/{aisdk-36037t3v.js → model-retry-b8d6cdec.js} +21 -21
- package/dist/chunks/{aisdk-bjhzkqyk.js → model-retry-bjhzkqyk.js} +1 -1
- package/dist/chunks/{aisdk-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
- package/dist/chunks/{aisdk-sgpfryqg.js → model-retry-c361hsxc.js} +28 -28
- package/dist/chunks/{aisdk-bvyweczc.js → model-retry-c5ncm6k8.js} +24 -24
- package/dist/chunks/{aisdk-wdhmf2sf.js → model-retry-cnhc66rt.js} +40 -40
- package/dist/chunks/{aisdk-snk9c1j2.js → model-retry-cxnqxqrv.js} +86 -86
- package/dist/chunks/{aisdk-f755em1p.js → model-retry-cxy24jbt.js} +20 -20
- package/dist/chunks/{aisdk-9m99cfcs.js → model-retry-cyyydscs.js} +24 -24
- package/dist/chunks/{aisdk-6wt5vf0q.js → model-retry-d0pkz9h4.js} +14 -14
- package/dist/chunks/{aisdk-6tk68hrg.js → model-retry-d22k01at.js} +7 -7
- package/dist/chunks/{aisdk-ebpedtaq.js → model-retry-d2p1wmw4.js} +3 -3
- package/dist/chunks/{aisdk-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
- package/dist/chunks/{aisdk-arvebym5.js → model-retry-d51kxexq.js} +2 -2
- package/dist/chunks/{aisdk-756gr6sa.js → model-retry-da6nt20h.js} +10 -10
- package/dist/chunks/{aisdk-pc1v25hk.js → model-retry-dh62xe4r.js} +3 -3
- package/dist/chunks/{aisdk-998yhzzq.js → model-retry-dvj9ct8m.js} +3 -3
- package/dist/chunks/{aisdk-3z1bmmmw.js → model-retry-e207k1f0.js} +10 -10
- package/dist/chunks/{aisdk-famybbvt.js → model-retry-e3fssm85.js} +17 -17
- package/dist/chunks/{aisdk-kya6vn2v.js → model-retry-e4159ryx.js} +8 -8
- package/dist/chunks/{aisdk-e834z07m.js → model-retry-e834z07m.js} +1 -1
- package/dist/chunks/{aisdk-a64zv8wv.js → model-retry-etshtsr8.js} +7 -7
- package/dist/chunks/{aisdk-8ej614zm.js → model-retry-ewr5k9wg.js} +8 -8
- package/dist/chunks/{aisdk-0qmhwf55.js → model-retry-faa8s968.js} +1 -1
- package/dist/chunks/{aisdk-fffv3p7h.js → model-retry-fffv3p7h.js} +1 -1
- package/dist/chunks/{aisdk-8wcdce3v.js → model-retry-fwhyb0gq.js} +15 -15
- package/dist/chunks/{aisdk-w687dnns.js → model-retry-fznmdakp.js} +4 -4
- package/dist/chunks/{aisdk-12wxkg9d.js → model-retry-g211t61s.js} +1 -1
- package/dist/chunks/{aisdk-byr968vy.js → model-retry-g4hhz492.js} +32 -32
- package/dist/chunks/{aisdk-g5h9c0rr.js → model-retry-g5h9c0rr.js} +2 -2
- package/dist/chunks/{aisdk-67qczvzk.js → model-retry-gchkqpys.js} +5 -5
- package/dist/chunks/{aisdk-2jcn6gzw.js → model-retry-gjzc59g1.js} +14 -14
- package/dist/chunks/model-retry-gnv5jhj2.js +517 -0
- package/dist/chunks/{aisdk-vpj6ae5c.js → model-retry-gs55zvzx.js} +20 -20
- package/dist/chunks/{aisdk-f3rkzpzq.js → model-retry-h5yq12sk.js} +3 -3
- package/dist/chunks/{aisdk-a0qbyar6.js → model-retry-hdfrs5mg.js} +5 -5
- package/dist/chunks/{aisdk-x1g7st36.js → model-retry-hgyk1m6z.js} +3 -3
- package/dist/chunks/{aisdk-xac734cv.js → model-retry-hhmywts7.js} +6 -6
- package/dist/chunks/{aisdk-ce7qhydn.js → model-retry-hhnqmbew.js} +142 -142
- package/dist/chunks/{aisdk-gak125b6.js → model-retry-hks9h3jz.js} +23 -23
- package/dist/chunks/{aisdk-5fsd2ftg.js → model-retry-hqdkncv9.js} +8 -8
- package/dist/chunks/{aisdk-tw5xx6m4.js → model-retry-hwdnhv43.js} +29 -29
- package/dist/chunks/{aisdk-ge5qm295.js → model-retry-hyyhzzxx.js} +21 -21
- package/dist/chunks/{aisdk-j113cymg.js → model-retry-j113cymg.js} +1 -1
- package/dist/chunks/{aisdk-d2bw2sk0.js → model-retry-j2pd7159.js} +19 -19
- package/dist/chunks/{aisdk-2nfm98dm.js → model-retry-j8e92swm.js} +43 -43
- package/dist/chunks/{aisdk-rv8304qe.js → model-retry-j9gz35am.js} +20 -20
- package/dist/chunks/{aisdk-18g90bpv.js → model-retry-jcqm84fr.js} +9 -9
- package/dist/chunks/{aisdk-edzv5ecb.js → model-retry-jd2vyc00.js} +16 -16
- package/dist/chunks/{aisdk-b72yn2mp.js → model-retry-jm1rj8kh.js} +40 -40
- package/dist/chunks/{aisdk-jchrqzf6.js → model-retry-jneg3k74.js} +4 -4
- package/dist/chunks/{aisdk-gt1as90c.js → model-retry-jzgdpz6y.js} +35 -35
- package/dist/chunks/{aisdk-4hmgmbe1.js → model-retry-k60f6tvy.js} +17 -17
- package/dist/chunks/{aisdk-k814nvkf.js → model-retry-k814nvkf.js} +1 -1
- package/dist/chunks/{aisdk-zygdaqsc.js → model-retry-kgmyqp0y.js} +4 -4
- package/dist/chunks/{aisdk-za82kj7k.js → model-retry-khgyexzf.js} +30 -30
- package/dist/chunks/{aisdk-2qgwqd73.js → model-retry-kqerj9ke.js} +9 -9
- package/dist/chunks/{aisdk-d6h5t8js.js → model-retry-krw5ejhg.js} +5 -5
- package/dist/chunks/{aisdk-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
- package/dist/chunks/{aisdk-kzhx0mtj.js → model-retry-kvzw13zf.js} +3 -3
- package/dist/chunks/{aisdk-tdpjp9fz.js → model-retry-kzhqem7y.js} +27 -27
- package/dist/chunks/{aisdk-m1714858.js → model-retry-m1714858.js} +1 -1
- package/dist/chunks/{aisdk-dwxn0wjg.js → model-retry-m5vt6my1.js} +1 -1
- package/dist/chunks/{aisdk-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-maspj1v3.js → model-retry-maspj1v3.js} +1 -1
- package/dist/chunks/{aisdk-z58shre5.js → model-retry-mbvs8a24.js} +14 -14
- package/dist/chunks/{aisdk-am5jv14h.js → model-retry-mn4sstjx.js} +4 -4
- package/dist/chunks/{aisdk-cpckz2mc.js → model-retry-mr3sax3v.js} +16 -16
- package/dist/chunks/{aisdk-3m1p7wrf.js → model-retry-msz72xyj.js} +2 -2
- package/dist/chunks/{aisdk-vx3jgdek.js → model-retry-my4zabxr.js} +3 -3
- package/dist/chunks/{aisdk-hpjdmr30.js → model-retry-mya9fhc3.js} +18 -18
- package/dist/chunks/{aisdk-15y1020w.js → model-retry-mykzpx85.js} +6 -6
- package/dist/chunks/{aisdk-n0p0277s.js → model-retry-n0p0277s.js} +1 -1
- package/dist/chunks/{aisdk-8k1g33eb.js → model-retry-n2crsrfc.js} +32 -32
- package/dist/chunks/{aisdk-2nsfz1c1.js → model-retry-n82jt8hg.js} +13 -13
- package/dist/chunks/{aisdk-gj8x1tda.js → model-retry-n9p72mjb.js} +5 -5
- package/dist/chunks/{aisdk-770pw0s1.js → model-retry-nah043kf.js} +4 -4
- package/dist/chunks/{aisdk-180ks4qp.js → model-retry-ng3brtr7.js} +28 -28
- package/dist/chunks/{aisdk-3ykb4cza.js → model-retry-nhe1yga1.js} +21 -21
- package/dist/chunks/{aisdk-5y5psp92.js → model-retry-nhqzsk2y.js} +20 -20
- package/dist/chunks/{aisdk-ksb85bmp.js → model-retry-nkr11kdx.js} +18 -18
- package/dist/chunks/{aisdk-qeyatvjr.js → model-retry-nm0eb3mq.js} +12 -12
- package/dist/chunks/{aisdk-w3ka5cz2.js → model-retry-nrch4egb.js} +25 -25
- package/dist/chunks/{aisdk-p015t6z3.js → model-retry-p015t6z3.js} +2 -2
- package/dist/chunks/{aisdk-x9k0z7ve.js → model-retry-p79cjfbn.js} +19 -19
- package/dist/chunks/{aisdk-5a898gyw.js → model-retry-pbb834xc.js} +9 -9
- package/dist/chunks/{aisdk-5ztj5acv.js → model-retry-pes7pnh1.js} +6 -6
- package/dist/chunks/{aisdk-4ny8434m.js → model-retry-pg8x00ch.js} +1 -1
- package/dist/chunks/{aisdk-k2etewff.js → model-retry-phzadmh4.js} +83 -83
- package/dist/chunks/{aisdk-pknna89w.js → model-retry-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-yrpewa5y.js → model-retry-pkv4aqak.js} +8 -8
- package/dist/chunks/{aisdk-dfxver1e.js → model-retry-pkyxh230.js} +2 -2
- package/dist/chunks/{aisdk-r0s5my84.js → model-retry-pr8acd8t.js} +36 -36
- package/dist/chunks/{aisdk-1nkfmzs1.js → model-retry-q44gb8fn.js} +36 -36
- package/dist/chunks/{aisdk-6wwvna0m.js → model-retry-q9xwq0xc.js} +9 -9
- package/dist/chunks/{aisdk-52h9ms56.js → model-retry-qfdd46e5.js} +41 -41
- package/dist/chunks/{aisdk-8jztxfpf.js → model-retry-qjgzc4b4.js} +4 -4
- package/dist/chunks/{aisdk-ad0mv7as.js → model-retry-qnm4ee5f.js} +6 -6
- package/dist/chunks/{aisdk-2azy8kv6.js → model-retry-qqg9c0kv.js} +4 -4
- package/dist/chunks/{aisdk-2sn0bk39.js → model-retry-qzbrb55n.js} +26 -26
- package/dist/chunks/{aisdk-r0yr0wbs.js → model-retry-r0yr0wbs.js} +1 -1
- package/dist/chunks/{aisdk-fq2mgrcx.js → model-retry-r2r52ss0.js} +8 -8
- package/dist/chunks/{aisdk-r542h3bh.js → model-retry-r542h3bh.js} +1 -1
- package/dist/chunks/{aisdk-yyga2n2q.js → model-retry-r621r93h.js} +6 -6
- package/dist/chunks/{aisdk-qpv0fk31.js → model-retry-r7qbvbca.js} +12 -12
- package/dist/chunks/{aisdk-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
- package/dist/chunks/{aisdk-9hpas660.js → model-retry-rs3s0t58.js} +31 -31
- package/dist/chunks/{aisdk-rt5dr6hb.js → model-retry-rt5dr6hb.js} +1 -1
- package/dist/chunks/{aisdk-eh4tz3fv.js → model-retry-rvbz23xa.js} +13 -13
- package/dist/chunks/{aisdk-1anmhcz0.js → model-retry-s499zzzn.js} +6 -6
- package/dist/chunks/{aisdk-sa3fpqfw.js → model-retry-sa3fpqfw.js} +2 -2
- package/dist/chunks/{aisdk-akgzbrpr.js → model-retry-shbma2nf.js} +14 -14
- package/dist/chunks/{aisdk-adbqrvv2.js → model-retry-sm74gnkv.js} +7 -7
- package/dist/chunks/{aisdk-jqny14jv.js → model-retry-sn0f3s8q.js} +13 -13
- package/dist/chunks/{aisdk-vg28hvbb.js → model-retry-sp6zazaz.js} +25 -25
- package/dist/chunks/{aisdk-sqjzf8x2.js → model-retry-sqjzf8x2.js} +1 -1
- package/dist/chunks/{aisdk-b91ynrg6.js → model-retry-szchc02d.js} +11 -11
- package/dist/chunks/{aisdk-8ngg1rfz.js → model-retry-t08j0hgd.js} +12 -12
- package/dist/chunks/{aisdk-c8666r4c.js → model-retry-tasvem1v.js} +6 -6
- package/dist/chunks/{aisdk-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
- package/dist/chunks/{aisdk-raywp1s8.js → model-retry-tf6tm6wa.js} +11 -11
- package/dist/chunks/{aisdk-160yv0cs.js → model-retry-tg1vr1qt.js} +8 -8
- package/dist/chunks/{aisdk-3nnrz6f6.js → model-retry-tmc7xdjs.js} +4 -4
- package/dist/chunks/{aisdk-wt44avy2.js → model-retry-tvf154dx.js} +14 -14
- package/dist/chunks/{aisdk-m2z8tzff.js → model-retry-twpa8r42.js} +33 -33
- package/dist/chunks/{aisdk-twv2r8f4.js → model-retry-twv2r8f4.js} +2 -2
- package/dist/chunks/{aisdk-zjrkct8x.js → model-retry-v0yxjjsz.js} +52 -52
- package/dist/chunks/{aisdk-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
- package/dist/chunks/{aisdk-45t4pvv9.js → model-retry-v6h5bgwd.js} +8 -8
- package/dist/chunks/{aisdk-vd3b3yk9.js → model-retry-vd3b3yk9.js} +1 -1
- package/dist/chunks/{aisdk-veqvce7d.js → model-retry-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-k6swtnyn.js → model-retry-vewr63hq.js} +16 -16
- package/dist/chunks/{aisdk-4hhtrrhz.js → model-retry-vhqwr51r.js} +11 -11
- package/dist/chunks/{aisdk-vmfhgzt5.js → model-retry-vmfhgzt5.js} +1 -1
- package/dist/chunks/{aisdk-bbbds9w0.js → model-retry-vqbn6xdq.js} +1 -1
- package/dist/chunks/{aisdk-zzmcnah1.js → model-retry-vrsa97jg.js} +27 -27
- package/dist/chunks/{aisdk-40za9wsf.js → model-retry-w2eysc6j.js} +9 -9
- package/dist/chunks/{aisdk-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-v72064w4.js → model-retry-w59prh0j.js} +22 -22
- package/dist/chunks/{aisdk-5f9g8hrq.js → model-retry-w92g60gw.js} +24 -24
- package/dist/chunks/{aisdk-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
- package/dist/chunks/{aisdk-5dt0dt43.js → model-retry-wcbhfjrd.js} +19 -19
- package/dist/chunks/{aisdk-wd87259q.js → model-retry-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-a1cx608m.js → model-retry-wrhwm553.js} +18 -18
- package/dist/chunks/{aisdk-w6zncjjf.js → model-retry-wy6akpvc.js} +7 -7
- package/dist/chunks/{aisdk-669ymte0.js → model-retry-wyzx5psy.js} +18 -18
- package/dist/chunks/{aisdk-z2yn6mcb.js → model-retry-x1q34xva.js} +2 -2
- package/dist/chunks/{aisdk-pz4gfpjg.js → model-retry-x6w9baef.js} +21 -21
- package/dist/chunks/{aisdk-d8zp5f9q.js → model-retry-x7ey6qtv.js} +7 -7
- package/dist/chunks/{aisdk-8nzf7g6n.js → model-retry-xc7j2c4d.js} +15 -15
- package/dist/chunks/{aisdk-ffy3vwvy.js → model-retry-xhywq8xw.js} +19 -19
- package/dist/chunks/{aisdk-3q5am41p.js → model-retry-xj5efqxa.js} +8 -8
- package/dist/chunks/{aisdk-xkfczkpn.js → model-retry-xkfczkpn.js} +3 -3
- package/dist/chunks/{aisdk-xrc3640n.js → model-retry-xrc3640n.js} +1 -1
- package/dist/chunks/{aisdk-vsnnaxjq.js → model-retry-xsact9zs.js} +4 -4
- package/dist/chunks/{aisdk-cxkt8rbv.js → model-retry-xxbj3jbs.js} +4 -4
- package/dist/chunks/{aisdk-mq8nfry9.js → model-retry-xynhjj0h.js} +15 -15
- package/dist/chunks/{aisdk-52jdr4fd.js → model-retry-xzya39d9.js} +11 -11
- package/dist/chunks/{aisdk-j9zbf8k0.js → model-retry-y6haqydp.js} +11 -11
- package/dist/chunks/{aisdk-btr1cb81.js → model-retry-y6s9gp4k.js} +28 -28
- package/dist/chunks/{aisdk-4nbq6g88.js → model-retry-y7qvxgn7.js} +11 -11
- package/dist/chunks/{aisdk-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
- package/dist/chunks/{aisdk-wd3jb90v.js → model-retry-ycqv3yh7.js} +18 -18
- package/dist/chunks/{aisdk-hekhb83a.js → model-retry-yk4w5znd.js} +10 -10
- package/dist/chunks/{aisdk-wa02r8ws.js → model-retry-yk6hg7py.js} +16 -16
- package/dist/chunks/{aisdk-ttxszbw4.js → model-retry-ykrn0qsh.js} +12 -12
- package/dist/chunks/{aisdk-tk031qx4.js → model-retry-ynqg5bhp.js} +6 -6
- package/dist/chunks/{aisdk-7qpg0ghs.js → model-retry-yw1ck7zb.js} +11 -11
- package/dist/chunks/{aisdk-21jxdxe3.js → model-retry-z08m45c2.js} +21 -21
- package/dist/chunks/{aisdk-z0bkrqjs.js → model-retry-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-v1gvf6ph.js → model-retry-z18nf20h.js} +9 -9
- package/dist/chunks/{aisdk-rctm39ar.js → model-retry-z1n0gzr1.js} +14 -14
- package/dist/chunks/{aisdk-w9dtc4rs.js → model-retry-z1ydadez.js} +15 -15
- package/dist/chunks/{aisdk-z38nccrw.js → model-retry-z38nccrw.js} +1 -1
- package/dist/chunks/{aisdk-ftgcjm82.js → model-retry-z7ttk5hb.js} +5 -5
- package/dist/chunks/{aisdk-p67nfw97.js → model-retry-z9x3jvcw.js} +8 -8
- package/dist/chunks/{aisdk-xet73m9x.js → model-retry-zd3qvcwp.js} +14 -14
- package/dist/chunks/model-retry-zd4c8dy4.js +26 -0
- package/dist/chunks/{aisdk-3bp03tr0.js → model-retry-zgphpnk4.js} +8 -8
- package/dist/chunks/{aisdk-v55rabf5.js → model-retry-zhbxds4j.js} +16 -16
- package/dist/chunks/{aisdk-kc6ffxhz.js → model-retry-zjxxcmzt.js} +13 -13
- package/dist/chunks/{aisdk-zkg84ctx.js → model-retry-zkg84ctx.js} +1 -1
- package/dist/chunks/{aisdk-27bs79w9.js → model-retry-zmwx25fz.js} +2 -2
- package/dist/chunks/{aisdk-ztqjkmb7.js → model-retry-zwnm9ync.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +87 -87
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +216 -216
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +92 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +374 -374
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +100 -100
- 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 +74 -74
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- package/dist/file-retention.js +1 -1
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +109 -109
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +112 -112
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +365 -365
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +362 -362
- package/dist/location.js +90 -90
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +143 -143
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +102 -102
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -105
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +107 -107
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +104 -104
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +92 -92
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +102 -102
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +139 -139
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +131 -131
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +102 -102
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -125
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +131 -131
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +110 -110
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +110 -110
- package/dist/skill.js +115 -115
- package/dist/snapshot.js +94 -94
- 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 +140 -140
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +127 -127
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +127 -127
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +118 -118
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +118 -118
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +105 -105
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +3 -3
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +93 -93
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +1 -1
- 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 +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +101 -101
- package/package.json +8 -8
- package/dist/chunks/aisdk-b21k8c1f.js +0 -261
- package/dist/chunks/aisdk-b5mhdncr.js +0 -517
- package/dist/chunks/aisdk-d77dj7jw.js +0 -18
- package/dist/chunks/aisdk-pednzrn6.js +0 -26
- /package/dist/chunks/{aisdk-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
- /package/dist/chunks/{aisdk-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-3asan66x.js → model-retry-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-4vcrnpx2.js → model-retry-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-53557ph1.js → model-retry-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-5qd3pb7m.js → model-retry-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{aisdk-6prwharc.js → model-retry-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{aisdk-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-822emrt2.js → model-retry-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
- /package/dist/chunks/{aisdk-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
- /package/dist/chunks/{aisdk-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-a058387c.js → model-retry-a058387c.js} +0 -0
- /package/dist/chunks/{aisdk-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
- /package/dist/chunks/{aisdk-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-dajrwvna.js → model-retry-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-df08tz66.js → model-retry-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-e73j6tqm.js → model-retry-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-eh3zwz77.js → model-retry-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-g86h250q.js → model-retry-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-gftt206x.js → model-retry-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
- /package/dist/chunks/{aisdk-hk9envan.js → model-retry-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
- /package/dist/chunks/{aisdk-jze0r7bz.js → model-retry-jze0r7bz.js} +0 -0
- /package/dist/chunks/{aisdk-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-m18g726c.js → model-retry-m18g726c.js} +0 -0
- /package/dist/chunks/{aisdk-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-pkyv6v7h.js → model-retry-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{aisdk-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-sjmm3wxa.js → model-retry-sjmm3wxa.js} +0 -0
- /package/dist/chunks/{aisdk-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
- /package/dist/chunks/{aisdk-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-wjj7prxr.js → model-retry-wjj7prxr.js} +0 -0
- /package/dist/chunks/{aisdk-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-x61499pn.js → model-retry-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-ym463w8f.js → model-retry-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{aisdk-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./model-retry-5jzmzpz9.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-zkg84ctx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service46
|
|
13
|
+
} from "./model-retry-cyyydscs.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service55
|
|
16
|
+
} from "./model-retry-0jvkxj1w.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service72
|
|
19
|
+
} from "./model-retry-8p97zz9p.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service63,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-retry-ycqv3yh7.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-retry-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service65,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-retry-j2pd7159.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
NotFoundError6,
|
|
36
36
|
Service36
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./model-retry-q44gb8fn.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./model-retry-phzadmh4.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan3
|
|
43
|
+
} from "./model-retry-x7ey6qtv.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input4,
|
|
53
|
+
Plugin: () => Plugin4,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name4
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name4 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input4 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin4 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service18;
|
|
124
|
+
const jobs = yield* Service55;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
126
|
+
const environment = yield* Service46;
|
|
127
|
+
const access = yield* Service63;
|
|
128
128
|
const shell = yield* Service36;
|
|
129
|
-
const shellSelect = yield*
|
|
129
|
+
const shellSelect = yield* Service65;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service72;
|
|
132
|
+
const config = yield* Service68;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin29 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin29 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name4,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin29 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name4,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input4,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin29 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name4,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name4];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin4, exports_shell };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-b5sxz6p8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./model-retry-mbvs8a24.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service73,
|
|
14
|
+
node77
|
|
15
|
+
} from "./model-retry-ykrn0qsh.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service10,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node12
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service10 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service86;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service73;
|
|
41
|
+
const location = yield* Service83;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service10.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node12 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node90, FSUtil.node,
|
|
101
|
+
deps: [node90, FSUtil.node, node87, node77]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service10, node12, exports_instructions };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-b5sxz6p8.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
16
|
Service40,
|
|
17
17
|
node43
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-retry-nm0eb3mq.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-retry-vd3b3yk9.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event9,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info7,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
34
|
Service: () => Service39,
|
|
@@ -39,11 +39,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event9 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info7 = Reference.Info;
|
|
47
47
|
|
|
48
48
|
class Service39 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info7.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info7.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -118,4 +118,4 @@ var node42 = makeLocationNode({
|
|
|
118
118
|
deps: [Global.node, node90, node43]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info7, Service39, node42, exports_reference2, Event9 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service49,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node54
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service49 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service49.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node54 = makeLocationNode({ service: Service49, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service49, node54, exports_image2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-vd3b3yk9.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 = {};
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-b5sxz6p8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./model-retry-cxy24jbt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service69,
|
|
12
|
+
node73
|
|
13
|
+
} from "./model-retry-7yp67vww.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service83,
|
|
19
|
+
node87
|
|
20
|
+
} from "./model-retry-mbvs8a24.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-retry-7w2ypzdf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-retry-fwhyb0gq.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-retry-z7ttk5hb.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-retry-1x2knyw4.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service70,
|
|
37
|
+
Event12,
|
|
38
|
+
node74
|
|
39
|
+
} from "./model-retry-5z33grs6.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
|
-
Options: () =>
|
|
49
|
-
Service: () =>
|
|
48
|
+
Options: () => Options7,
|
|
49
|
+
Service: () => Service68,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured10,
|
|
52
52
|
latest: () => latest2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer26,
|
|
54
|
+
node: () => node72,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
|
|
|
67
67
|
function latest2(entries, key) {
|
|
68
68
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var Options7 = Schema.Struct({
|
|
71
71
|
project: Schema.optional(Schema.Boolean),
|
|
72
72
|
global: Schema.optional(Schema.Boolean),
|
|
73
73
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -76,7 +76,7 @@ var Options5 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service68 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
94
94
|
setEntries: (next) => Ref.set(entries, next),
|
|
95
95
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
96
96
|
});
|
|
97
|
-
return Context.empty().pipe(Context.add(
|
|
97
|
+
return Context.empty().pipe(Context.add(Service68, service), Context.add(Test2, service));
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var layer26 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const watcher = yield*
|
|
101
|
+
const location = yield* Service83;
|
|
102
|
+
const watcher = yield* Service69;
|
|
103
103
|
const bus = yield* Service86;
|
|
104
|
-
const credentials = yield*
|
|
104
|
+
const credentials = yield* Service80;
|
|
105
105
|
const globalService = yield* Global.Service;
|
|
106
|
-
const wellknown = yield*
|
|
106
|
+
const wellknown = yield* Service70;
|
|
107
107
|
const processes = yield* AppProcess.Service;
|
|
108
108
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
109
109
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
@@ -254,8 +254,8 @@ var layer25 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
254
254
|
}, (effect) => reloadLock.withPermit(effect));
|
|
255
255
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
256
256
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
257
|
-
yield* bus.subscribe(
|
|
258
|
-
yield* bus.subscribe(
|
|
257
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
258
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
259
259
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
260
260
|
if (!wellknown.snapshot().length)
|
|
261
261
|
return Effect.void;
|
|
@@ -283,7 +283,7 @@ var layer25 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
283
283
|
`);
|
|
284
284
|
yield* requestReload;
|
|
285
285
|
}, (effect) => updateLock.withPermit(effect));
|
|
286
|
-
return
|
|
286
|
+
return Service68.of({
|
|
287
287
|
entries: Effect.fnUntraced(function* () {
|
|
288
288
|
return configs;
|
|
289
289
|
}),
|
|
@@ -295,22 +295,22 @@ var layer25 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
295
295
|
update
|
|
296
296
|
});
|
|
297
297
|
}));
|
|
298
|
-
function
|
|
298
|
+
function configured10(options) {
|
|
299
299
|
return makeLocationNode({
|
|
300
|
-
service:
|
|
301
|
-
layer:
|
|
300
|
+
service: Service68,
|
|
301
|
+
layer: layer26(options),
|
|
302
302
|
deps: [
|
|
303
|
-
|
|
303
|
+
node73,
|
|
304
304
|
node90,
|
|
305
305
|
FSUtil.node,
|
|
306
306
|
Global.node,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
node87,
|
|
308
|
+
node84,
|
|
309
|
+
node74,
|
|
310
310
|
AppProcess.node
|
|
311
311
|
]
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var node72 = configured10();
|
|
315
315
|
|
|
316
|
-
export { latest2,
|
|
316
|
+
export { latest2, Options7, Service68, Test2, testLayer2, layer26, configured10, node72, exports_config };
|
|
@@ -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: () => update3
|
|
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 update3(adapter, event) {
|
|
26
26
|
const created = DateTime.makeUnsafe(event.created);
|
|
27
27
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
28
28
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -403,4 +403,4 @@ function update2(adapter, event) {
|
|
|
403
403
|
return project(event);
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
export {
|
|
406
|
+
export { update3, exports_message_updater };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-jneg3k74.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-retry-dvj9ct8m.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|