@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,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-bjhzkqyk.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-b5sxz6p8.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./model-retry-cxy24jbt.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-retry-gs55zvzx.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service78
|
|
20
|
+
} from "./model-retry-hks9h3jz.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./model-retry-ng3brtr7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./model-retry-nhqzsk2y.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-7zhd4cey.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID11
|
|
33
|
+
} from "./model-retry-wcbhfjrd.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
get4
|
|
36
|
+
} from "./model-retry-tmc7xdjs.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
@@ -164,7 +164,7 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
167
|
+
const providers = yield* Service78;
|
|
168
168
|
const bus = yield* Service86;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
@@ -183,7 +183,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
184
|
const provider = yield* providers.get(ID13.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
|
-
try: () =>
|
|
186
|
+
try: () => load2(url, {
|
|
187
187
|
...provider?.headers,
|
|
188
188
|
Authorization: `Bearer ${credential.refresh}`,
|
|
189
189
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -209,7 +209,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
209
209
|
if (loaded.models) {
|
|
210
210
|
evt.add({
|
|
211
211
|
info: item.provider,
|
|
212
|
-
models: Array.from(
|
|
212
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
213
213
|
sourceConnection: loaded.connection
|
|
214
214
|
});
|
|
215
215
|
return;
|
|
@@ -231,14 +231,14 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(ID13.githubCopilot,
|
|
235
|
-
models.update(ID13.githubCopilot,
|
|
234
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
244
|
if (evt.model.providerID !== ID13.githubCopilot)
|
|
@@ -257,7 +257,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
257
257
|
}));
|
|
258
258
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
259
259
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
260
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
260
|
+
evt.headers["X-Interaction-Id"] = session ? get4(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
263
|
}), { providerID: ID13.githubCopilot });
|
|
@@ -266,7 +266,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service46,
|
|
8
|
+
node49
|
|
9
|
+
} from "./model-retry-cyyydscs.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./model-retry-3vz2yars.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-retry-2z1j29yd.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service26,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node30,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service26 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service46;
|
|
335
|
+
return Service26.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node30 = makeLocationNode({ service: Service26, layer, deps: [node49] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service26, read2, node30, exports_read_filesystem };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native3,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service69,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer27,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node73,
|
|
23
23
|
testLayer: () => testLayer3
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
49
49
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service69 extends Context.Service()("@opencode/Watcher") {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var layer27 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
58
58
|
if (options?.enabled === false) {
|
|
59
|
-
return
|
|
59
|
+
return Service69.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
60
60
|
}
|
|
61
61
|
const native = yield* Native3;
|
|
62
62
|
const watchers = yield* RcMap.make({
|
|
@@ -97,7 +97,7 @@ var layer26 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
97
97
|
return Stream.fromSubscription(subscription);
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service69.of({ subscribe });
|
|
101
101
|
}));
|
|
102
102
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
103
103
|
const subscriptions = [];
|
|
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
121
121
|
};
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
|
-
const context = yield* Layer.build(
|
|
124
|
+
const context = yield* Layer.build(layer27().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
125
125
|
const test = Test3.of({
|
|
126
|
-
subscribe: Context.get(context,
|
|
126
|
+
subscribe: Context.get(context, Service69).subscribe,
|
|
127
127
|
emit: (update) => Effect.sync(() => {
|
|
128
128
|
const target = path.resolve(update.path);
|
|
129
129
|
active.forEach((matches, publish) => {
|
|
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
133
133
|
}),
|
|
134
134
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
135
135
|
});
|
|
136
|
-
return Context.empty().pipe(Context.add(
|
|
136
|
+
return Context.empty().pipe(Context.add(Service69, test), Context.add(Test3, test));
|
|
137
137
|
}));
|
|
138
138
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
139
139
|
subscribe: (input) => {
|
|
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
156
156
|
}
|
|
157
157
|
}));
|
|
158
158
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
159
|
-
function
|
|
160
|
-
return makeGlobalNode({ service:
|
|
159
|
+
function configured11(options) {
|
|
160
|
+
return makeGlobalNode({ service: Service69, layer: layer27(options), deps: [nativeNode] });
|
|
161
161
|
}
|
|
162
|
-
var
|
|
162
|
+
var node73 = configured11();
|
|
163
163
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
164
164
|
if (!native || !backend) {
|
|
165
165
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
179
179
|
}).pipe(Effect.as(undefined))));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { hasNativeBinding2, Native3,
|
|
182
|
+
export { hasNativeBinding2, Native3, Service69, Test3, layer27, testLayer3, nativeLayer2, configured11, node73, exports_watcher };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
10
|
+
configured: () => configured7,
|
|
11
11
|
layer: () => layer19,
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
make: () => make17,
|
|
13
|
+
node: () => node52,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make17()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make17(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make15(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var layer19 = (input) => Layer.succeed(Metadata2,
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer19 = (input) => Layer.succeed(Metadata2, make17(input));
|
|
32
|
+
var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
|
|
33
|
+
var node52 = configured7();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make17, useragent2, layer19, configured7, node52, exports_app };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-7zhd4cey.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-b5sxz6p8.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service80
|
|
11
|
+
} from "./model-retry-cxy24jbt.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-retry-gs55zvzx.js";
|
|
16
16
|
import {
|
|
17
17
|
ID13,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-retry-hks9h3jz.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID12,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info21
|
|
24
|
+
} from "./model-retry-ng3brtr7.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-retry-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
get4
|
|
31
|
+
} from "./model-retry-tmc7xdjs.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-retry-ynqg5bhp.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service86;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service80;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -224,7 +224,7 @@ var ChatGPTPlugin2 = define({
|
|
|
224
224
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
225
225
|
return;
|
|
226
226
|
}));
|
|
227
|
-
evt.headers["session-id"] = session ?
|
|
227
|
+
evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
|
|
228
228
|
evt.headers["thread-id"] = evt.sessionID;
|
|
229
229
|
evt.headers["x-client-request-id"] = evt.sessionID;
|
|
230
230
|
}), { providerID });
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID13.openai, ID12.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin44
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin44 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin5 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin44, exports_mcp_codemode_defaults };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-jneg3k74.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
17
|
+
var exports_instructions4 = {};
|
|
18
|
+
__export(exports_instructions4, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions4,
|
|
20
20
|
make: () => make13,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -43,7 +43,7 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update2(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
49
|
${render2(current)}`;
|
|
@@ -113,16 +113,16 @@ var key = Key3.make("core/codemode");
|
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
114
|
var make13 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
121
|
initial: render2,
|
|
122
|
-
changed:
|
|
122
|
+
changed: update2,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2,
|
|
128
|
+
export { render2, update2, make13, exports_instructions4 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-retry-wcbhfjrd.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent2 = {};
|
|
12
|
+
__export(exports_agent2, {
|
|
13
|
+
AgentPlugin: () => exports_agent2,
|
|
14
|
+
Plugin: () => Plugin43
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin43 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin17 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID11.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID11.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID11.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID11.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID11.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin17 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin43, exports_agent2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service39,
|
|
3
3
|
node42
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-4xkwq58b.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-jneg3k74.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions3 = {};
|
|
17
17
|
__export(exports_instructions3, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service23,
|
|
20
|
+
node: () => node27
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,18 +61,18 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service23 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
66
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
67
67
|
const references = yield* Service39;
|
|
68
|
-
return
|
|
68
|
+
return Service23.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
75
|
+
return make21({
|
|
76
76
|
key: Key3.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node27 = makeLocationNode({ service: Service23, layer, deps: [node42] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service23, node27, exports_instructions3 };
|