@opencode/core 0.0.0-dev-20075 → 0.0.0-dev-20076
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{variant-3h50d2d8.js → file-retention-013zbbfs.js} +10 -10
- package/dist/chunks/{variant-5mef3xk7.js → file-retention-053cybx6.js} +10 -10
- package/dist/chunks/{variant-8z0v9tpj.js → file-retention-0bftx5a5.js} +85 -85
- package/dist/chunks/{variant-2d57kztd.js → file-retention-0ft9cg2j.js} +4 -4
- package/dist/chunks/{variant-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-nj481gba.js → file-retention-0vdkq15g.js} +5 -5
- package/dist/chunks/{variant-vsysd8s3.js → file-retention-11gyv0qx.js} +11 -11
- package/dist/chunks/{variant-vnkyds17.js → file-retention-136ah40c.js} +8 -8
- package/dist/chunks/{variant-57h5xjj4.js → file-retention-1agwz8aa.js} +38 -38
- package/dist/chunks/{variant-5b64cte8.js → file-retention-1fq49j2d.js} +18 -18
- package/dist/chunks/{variant-b9dsjnj7.js → file-retention-1tmvwee5.js} +8 -8
- package/dist/chunks/file-retention-1x11rq2a.js +18 -0
- package/dist/chunks/{variant-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{variant-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
- package/dist/chunks/{variant-8tpythmx.js → file-retention-28tx5a5b.js} +24 -24
- package/dist/chunks/{variant-8epdgwc0.js → file-retention-29yjzs39.js} +24 -24
- package/dist/chunks/{variant-02av72dv.js → file-retention-2daz2v6c.js} +35 -35
- package/dist/chunks/{variant-6rxwp35s.js → file-retention-2f8p2v54.js} +20 -20
- package/dist/chunks/{variant-ery758hr.js → file-retention-2j7wsrwg.js} +10 -10
- package/dist/chunks/{variant-kzynzy4y.js → file-retention-2nxpygkr.js} +10 -10
- package/dist/chunks/{variant-70htw8qd.js → file-retention-2vqpzfka.js} +33 -33
- package/dist/chunks/{variant-0krcabsn.js → file-retention-31hetm60.js} +6 -6
- package/dist/chunks/{variant-r69mm98a.js → file-retention-3917zmsm.js} +12 -12
- package/dist/chunks/{variant-49exe669.js → file-retention-3bc8czyk.js} +5 -5
- package/dist/chunks/{variant-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-b6gygkdw.js → file-retention-3hwn7j4h.js} +5 -5
- package/dist/chunks/{variant-18x7p8ha.js → file-retention-3p2dz6q4.js} +9 -9
- package/dist/chunks/{variant-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-kad49353.js → file-retention-41wzkj33.js} +12 -12
- package/dist/chunks/{variant-yf5fe4my.js → file-retention-484azhyv.js} +18 -18
- package/dist/chunks/{variant-0kdyx93j.js → file-retention-4b052jb4.js} +20 -20
- package/dist/chunks/{variant-h6r3nrb9.js → file-retention-4dgbcxzg.js} +4 -4
- package/dist/chunks/{variant-r8bjv7hd.js → file-retention-4e3kc42d.js} +15 -15
- package/dist/chunks/file-retention-4egeceed.js +507 -0
- package/dist/chunks/{variant-vrk0cgw0.js → file-retention-4kr5mqj0.js} +24 -24
- package/dist/chunks/{variant-4q2gynnp.js → file-retention-4ptehb38.js} +15 -15
- package/dist/chunks/{variant-2g7pkq9k.js → file-retention-4qrxzr33.js} +20 -20
- package/dist/chunks/{variant-5rmj6wcp.js → file-retention-4v7r6s0x.js} +26 -26
- package/dist/chunks/{variant-0xezjjjn.js → file-retention-4w5f3qm5.js} +8 -8
- package/dist/chunks/{variant-2ptfhmaq.js → file-retention-4xzzvc1x.js} +16 -16
- package/dist/chunks/{variant-pef6k0gg.js → file-retention-57ez7d0k.js} +9 -9
- package/dist/chunks/{variant-dngx6zgq.js → file-retention-5carfvj1.js} +2 -2
- package/dist/chunks/{variant-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-5ekn9679.js → file-retention-5ekn9679.js} +1 -1
- package/dist/chunks/{variant-e3qxr5gk.js → file-retention-5qd3pb7m.js} +2 -2
- package/dist/chunks/{variant-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-q7azfttr.js → file-retention-5xpznt2d.js} +4 -4
- package/dist/chunks/{variant-nydghdxw.js → file-retention-60kb57hy.js} +22 -22
- package/dist/chunks/{variant-a6x7shte.js → file-retention-6477640v.js} +3 -3
- package/dist/chunks/{variant-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{variant-0z6w7vfv.js → file-retention-68y7phbn.js} +12 -12
- package/dist/chunks/{variant-z16bdfpw.js → file-retention-691kgrwj.js} +9 -9
- package/dist/chunks/{variant-6w0aczmv.js → file-retention-6a3zafpc.js} +11 -11
- package/dist/chunks/{variant-d90713ew.js → file-retention-6jq4c9x7.js} +10 -10
- package/dist/chunks/file-retention-6kdq0pjd.js +4 -0
- package/dist/chunks/{variant-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-rkprpv83.js → file-retention-6pc27hjz.js} +6 -6
- package/dist/chunks/{variant-engkm2d6.js → file-retention-6xw3seg4.js} +5 -5
- package/dist/chunks/{variant-qbyce0vv.js → file-retention-739g7xpm.js} +170 -170
- package/dist/chunks/{variant-8q94mjap.js → file-retention-76j44xz4.js} +31 -31
- package/dist/chunks/{variant-0bzevza6.js → file-retention-7aqpe3z3.js} +18 -18
- package/dist/chunks/{variant-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-y67gsgy6.js → file-retention-7e2yy7bx.js} +4 -4
- package/dist/chunks/{variant-ehd2w0yp.js → file-retention-7exmdcvp.js} +17 -17
- package/dist/chunks/{variant-9f1seg8j.js → file-retention-7g57k9pp.js} +19 -19
- package/dist/chunks/{variant-2jadfhe8.js → file-retention-7h93y3jd.js} +11 -11
- package/dist/chunks/{variant-af7j52hr.js → file-retention-7ma666fp.js} +4 -4
- package/dist/chunks/{variant-0f3fkebw.js → file-retention-7sk5kyxr.js} +4 -4
- package/dist/chunks/{variant-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-84sj45vf.js → file-retention-8gsbz1zp.js} +15 -15
- package/dist/chunks/{variant-ngjw7veb.js → file-retention-8hddrz6y.js} +6 -6
- package/dist/chunks/{variant-mph8mpeq.js → file-retention-8rse1bz0.js} +23 -23
- package/dist/chunks/{variant-39j5cs0s.js → file-retention-8rvbch5b.js} +7 -7
- package/dist/chunks/{variant-gfvb90ym.js → file-retention-94ek1h2f.js} +2 -2
- package/dist/chunks/{variant-ccjjc20y.js → file-retention-98dhkg4b.js} +20 -20
- package/dist/chunks/{variant-nq3y9q1m.js → file-retention-9dz39q6x.js} +11 -11
- package/dist/chunks/{variant-q7mj73f6.js → file-retention-9kbs75gn.js} +21 -21
- package/dist/chunks/{variant-nk7804dj.js → file-retention-9q2dq694.js} +11 -11
- package/dist/chunks/{variant-2eyvmpqy.js → file-retention-9xsfwcg4.js} +32 -32
- package/dist/chunks/{variant-aaet6srn.js → file-retention-a28va38p.js} +8 -8
- package/dist/chunks/{variant-zd5rdewp.js → file-retention-a54wp4v4.js} +8 -8
- package/dist/chunks/{variant-m91qzb25.js → file-retention-aj2111eg.js} +44 -44
- package/dist/chunks/{variant-j55501wg.js → file-retention-amcfr32s.js} +6 -6
- package/dist/chunks/{variant-mjncxbbh.js → file-retention-awaee7qt.js} +4 -4
- package/dist/chunks/{variant-bjn6skbd.js → file-retention-awnng6aw.js} +5 -5
- package/dist/chunks/{variant-06mym1h5.js → file-retention-az5wxh9j.js} +8 -8
- package/dist/chunks/{variant-ajk3nktm.js → file-retention-azms3gmy.js} +25 -25
- package/dist/chunks/{variant-j35dsqtt.js → file-retention-b3rc9xq5.js} +10 -10
- package/dist/chunks/{variant-ab2nxame.js → file-retention-b7vm23fg.js} +25 -25
- package/dist/chunks/{variant-gxsbq66b.js → file-retention-b8hpyb2b.js} +13 -13
- package/dist/chunks/{variant-rk5vk321.js → file-retention-b971s22s.js} +4 -4
- package/dist/chunks/{variant-znt9c390.js → file-retention-bbr0ecrm.js} +11 -11
- package/dist/chunks/{variant-73x22xcw.js → file-retention-brcqjxp1.js} +12 -12
- package/dist/chunks/{variant-fzhdr1mx.js → file-retention-bv6943e1.js} +1 -1
- package/dist/chunks/{variant-1j4qs2dp.js → file-retention-bwz5vyq0.js} +13 -13
- package/dist/chunks/{variant-2e1azfp0.js → file-retention-cfvy20zr.js} +9 -9
- package/dist/chunks/{variant-54tcyq79.js → file-retention-ckecvw8r.js} +2 -2
- package/dist/chunks/{variant-1xcw6xjf.js → file-retention-cqdgmx8n.js} +23 -23
- package/dist/chunks/{variant-3cz8rj72.js → file-retention-cr07tj7n.js} +5 -5
- package/dist/chunks/{variant-qydm3dy6.js → file-retention-css2w393.js} +7 -7
- package/dist/chunks/{variant-amv7sxhe.js → file-retention-cy9y9za1.js} +30 -30
- package/dist/chunks/{variant-rt8yt3bf.js → file-retention-cybbce78.js} +17 -17
- package/dist/chunks/{variant-3g33scay.js → file-retention-dg2cj1yd.js} +4 -4
- package/dist/chunks/{variant-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
- package/dist/chunks/{variant-drwq78ky.js → file-retention-drwq78ky.js} +1 -1
- package/dist/chunks/{variant-nmvjxe16.js → file-retention-e0vnyvwh.js} +10 -10
- package/dist/chunks/{variant-hcz3zddy.js → file-retention-e6hmchc5.js} +5 -5
- package/dist/chunks/{variant-stas9bdh.js → file-retention-e981czdn.js} +9 -9
- package/dist/chunks/{variant-zxbrzaq9.js → file-retention-e9zqkyac.js} +10 -10
- package/dist/chunks/{variant-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-erw5rpbs.js → file-retention-erw5rpbs.js} +2 -2
- package/dist/chunks/{variant-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-8qdtva9t.js → file-retention-ew6xy3kj.js} +13 -13
- package/dist/chunks/{variant-hpfrvn9v.js → file-retention-ewkprqrz.js} +16 -16
- package/dist/chunks/{variant-6zedfc54.js → file-retention-ezwgvxy6.js} +27 -27
- package/dist/chunks/{variant-xz8dbhge.js → file-retention-f96ctyse.js} +9 -9
- package/dist/chunks/{variant-qe45xzp3.js → file-retention-fc8s73xt.js} +23 -23
- package/dist/chunks/file-retention-fes7pmbs.js +252 -0
- package/dist/chunks/{variant-rjfg6bza.js → file-retention-fqmzt9nn.js} +26 -26
- package/dist/chunks/{variant-fm0yt94d.js → file-retention-g07zt90z.js} +35 -35
- package/dist/chunks/{variant-kns7re6s.js → file-retention-g58k0yz2.js} +15 -15
- package/dist/chunks/{variant-r2m716tb.js → file-retention-g6q9qykm.js} +8 -8
- package/dist/chunks/{variant-chfqe63q.js → file-retention-g9kevcwd.js} +10 -10
- package/dist/chunks/{variant-xycc92pn.js → file-retention-gajvcqmf.js} +24 -24
- package/dist/chunks/{variant-dbdtaeh3.js → file-retention-gar1kgy6.js} +42 -42
- package/dist/chunks/{variant-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-fmfh291e.js → file-retention-gjy9kcm5.js} +11 -11
- package/dist/chunks/{variant-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-zzexawz9.js → file-retention-gv7n655z.js} +26 -26
- package/dist/chunks/{variant-21xkm9mw.js → file-retention-gx3bsgbr.js} +28 -28
- package/dist/chunks/{variant-ppxpc5nv.js → file-retention-gyc1mqyt.js} +3 -3
- package/dist/chunks/{variant-n7hwxzgv.js → file-retention-gzjk9fnj.js} +24 -24
- package/dist/chunks/{variant-6p55r51m.js → file-retention-h0n36h3s.js} +1 -1
- package/dist/chunks/{variant-9ccjze4x.js → file-retention-h27jqpzg.js} +19 -19
- package/dist/chunks/{variant-17j9h1rv.js → file-retention-h2r7bbkd.js} +11 -11
- package/dist/chunks/{variant-hdkqes0b.js → file-retention-h38jpad5.js} +13 -13
- package/dist/chunks/{variant-v7eyjk8c.js → file-retention-h63arcwz.js} +38 -38
- package/dist/chunks/{variant-5hwa0061.js → file-retention-h6kzzfz4.js} +2 -2
- package/dist/chunks/{variant-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-3d4xjzsg.js → file-retention-hfb3twc5.js} +29 -29
- package/dist/chunks/{variant-2a5m3afh.js → file-retention-hgz4x7wa.js} +4 -4
- package/dist/chunks/{variant-zqy8ejrp.js → file-retention-hv1rr3m3.js} +9 -9
- package/dist/chunks/{variant-wtm3ybk1.js → file-retention-hvb7b1k8.js} +3 -3
- package/dist/chunks/{variant-fbc9vsj2.js → file-retention-hvgp7k47.js} +20 -20
- package/dist/chunks/{variant-5jf3agd7.js → file-retention-hya5ekxn.js} +1 -1
- package/dist/chunks/{variant-557d9c8t.js → file-retention-j1x1sn3n.js} +20 -20
- package/dist/chunks/{variant-kqbmdx55.js → file-retention-j31v3zf1.js} +29 -29
- package/dist/chunks/{variant-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-g20tdqpk.js → file-retention-j67eyxhk.js} +34 -34
- package/dist/chunks/{variant-9esb0m0p.js → file-retention-jcmwmbwz.js} +1 -1
- package/dist/chunks/{variant-jfmkgsry.js → file-retention-jh4dq78w.js} +16 -16
- package/dist/chunks/{variant-6sr3ve8g.js → file-retention-jw80jp6b.js} +21 -21
- package/dist/chunks/{variant-dvc89yjx.js → file-retention-k1qrnqst.js} +8 -8
- package/dist/chunks/{variant-e6y173sj.js → file-retention-k2egtdaq.js} +9 -9
- package/dist/chunks/{variant-nzks3jc8.js → file-retention-k3c624dm.js} +3 -3
- package/dist/chunks/{variant-vtd2qwnf.js → file-retention-k53npxr2.js} +1 -1
- package/dist/chunks/{variant-75x4dgvy.js → file-retention-k75f346z.js} +10 -10
- package/dist/chunks/{variant-83xz4qq9.js → file-retention-kf2ta3ye.js} +20 -20
- package/dist/chunks/{variant-nh3rsggm.js → file-retention-kkr60pt3.js} +6 -6
- package/dist/chunks/{variant-r6cdbtvh.js → file-retention-kmssrs7f.js} +4 -4
- package/dist/chunks/{variant-vya4f7hk.js → file-retention-krmp0vwn.js} +11 -11
- package/dist/chunks/{variant-tp7bfm6k.js → file-retention-ksp53khy.js} +28 -28
- package/dist/chunks/{variant-fjeqa7jj.js → file-retention-kwagda8j.js} +7 -7
- package/dist/chunks/{variant-g2yz86wh.js → file-retention-ky3seynh.js} +2 -2
- package/dist/chunks/{variant-8fz7s7fk.js → file-retention-kyngf2ah.js} +6 -6
- package/dist/chunks/{variant-hkafdcbz.js → file-retention-m16z5xgj.js} +1 -1
- package/dist/chunks/{variant-b51jbz85.js → file-retention-m3ebeh4f.js} +5 -5
- package/dist/chunks/{variant-m3fdjcah.js → file-retention-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-avrnkb01.js → file-retention-m5xa4xm2.js} +41 -41
- package/dist/chunks/{variant-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-e1e0rbzc.js → file-retention-ma0e9v7m.js} +40 -40
- package/dist/chunks/{variant-s41dxx30.js → file-retention-ma37n9mc.js} +3 -3
- package/dist/chunks/{variant-56gdpj1q.js → file-retention-mfqp6xfm.js} +6 -6
- package/dist/chunks/{variant-1bbkgx8g.js → file-retention-mhkvc446.js} +3 -3
- package/dist/chunks/{variant-3t9ng3w8.js → file-retention-mjm950tt.js} +34 -34
- package/dist/chunks/{variant-tgt20m8a.js → file-retention-mp0x0ve6.js} +13 -13
- package/dist/chunks/{variant-4n6z1r8s.js → file-retention-mrkjr00d.js} +26 -26
- package/dist/chunks/{variant-ngwyp1sx.js → file-retention-msnvgge2.js} +11 -11
- package/dist/chunks/{variant-gbdr24b9.js → file-retention-mvr5bn4j.js} +12 -12
- package/dist/chunks/{variant-wj76ss2k.js → file-retention-n2srvep7.js} +4 -4
- package/dist/chunks/{variant-rhafb4aa.js → file-retention-nq7qbqzc.js} +9 -9
- package/dist/chunks/{variant-m74j5n8t.js → file-retention-nwzjzhhc.js} +50 -50
- package/dist/chunks/{variant-gs5afy8f.js → file-retention-p10hfn84.js} +16 -16
- package/dist/chunks/{variant-s7h606h9.js → file-retention-p6j5c0dx.js} +25 -25
- package/dist/chunks/{variant-8b6wz1s2.js → file-retention-pc4b88sv.js} +4 -4
- package/dist/chunks/{variant-1dazxqgg.js → file-retention-ph5whc14.js} +5 -5
- package/dist/chunks/{variant-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-b4fyfyab.js → file-retention-pjzp5jm9.js} +32 -32
- package/dist/chunks/{variant-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{variant-1wyzf5g7.js → file-retention-pmsv8f6n.js} +2 -2
- package/dist/chunks/{variant-na0h3a6c.js → file-retention-q9xx8pp8.js} +12 -12
- package/dist/chunks/{variant-7dqw4kz8.js → file-retention-qgn6gcr1.js} +5 -5
- package/dist/chunks/{variant-9byqxeta.js → file-retention-qmhwq76t.js} +12 -12
- package/dist/chunks/{variant-5e6ck4tr.js → file-retention-qq9k8xwf.js} +49 -49
- package/dist/chunks/{variant-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-5mvsdnr7.js → file-retention-r4aa4m0k.js} +4 -4
- package/dist/chunks/{variant-75vzfbx5.js → file-retention-r4m6sj2t.js} +43 -43
- package/dist/chunks/{variant-yp2x3t23.js → file-retention-r8xr0va3.js} +4 -4
- package/dist/chunks/{variant-xb02k0wq.js → file-retention-ratrq7cm.js} +4 -4
- package/dist/chunks/{variant-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-fzgxakwn.js → file-retention-repb58am.js} +6 -6
- package/dist/chunks/{variant-4ydd0s85.js → file-retention-rg4p5e11.js} +39 -39
- package/dist/chunks/{variant-xe0jn6g3.js → file-retention-rgkm1ghw.js} +8 -8
- package/dist/chunks/{variant-yq6sxka3.js → file-retention-rjkx1558.js} +48 -48
- package/dist/chunks/{variant-e42jp6kc.js → file-retention-rnzy20mt.js} +17 -17
- package/dist/chunks/{variant-55bea18v.js → file-retention-rp4daw2c.js} +84 -84
- package/dist/chunks/{variant-2e5jpznv.js → file-retention-rqdsjm6x.js} +29 -29
- package/dist/chunks/{variant-b8y4420x.js → file-retention-rty2yphq.js} +43 -43
- package/dist/chunks/{variant-sdmtvvxy.js → file-retention-s76c0ttp.js} +17 -17
- package/dist/chunks/{variant-eaj1djv9.js → file-retention-s8d7rejh.js} +6 -6
- package/dist/chunks/file-retention-s958vy2b.js +26 -0
- package/dist/chunks/{variant-p8djes8h.js → file-retention-s9h1avrm.js} +21 -21
- package/dist/chunks/{variant-59d32q4x.js → file-retention-savsd166.js} +54 -54
- package/dist/chunks/{variant-a5t4p5xt.js → file-retention-sc7mjsx7.js} +24 -24
- package/dist/chunks/{variant-6tb4xv4d.js → file-retention-scw2ekxw.js} +11 -11
- package/dist/chunks/{variant-04egpzyt.js → file-retention-sfn2jqx5.js} +36 -36
- package/dist/chunks/{variant-dh75pk8w.js → file-retention-sgwh5nyn.js} +8 -8
- package/dist/chunks/{variant-bz7588dj.js → file-retention-sh5cyp0z.js} +26 -26
- package/dist/chunks/{variant-3tqzctrg.js → file-retention-sn2197kq.js} +23 -23
- package/dist/chunks/{variant-6wjad31y.js → file-retention-ssh52gjb.js} +7 -7
- package/dist/chunks/{variant-8pagagwq.js → file-retention-sw1mxqw6.js} +8 -8
- package/dist/chunks/{variant-qmkkft71.js → file-retention-sx1yqcbh.js} +24 -24
- package/dist/chunks/{variant-z3pw5915.js → file-retention-t0fxg8b9.js} +5 -5
- package/dist/chunks/{variant-wnsqmkbm.js → file-retention-t2f6sps2.js} +22 -22
- package/dist/chunks/{variant-n2cj49gr.js → file-retention-t5ymyahf.js} +22 -22
- package/dist/chunks/{variant-1a6p2twq.js → file-retention-t9zs3egg.js} +4 -4
- package/dist/chunks/{variant-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{variant-e37stjd8.js → file-retention-tfg9eqy2.js} +11 -11
- package/dist/chunks/{variant-8eh51za7.js → file-retention-tn0keqwc.js} +9 -9
- package/dist/chunks/{variant-4hz2mmtn.js → file-retention-tnyz8ww6.js} +6 -6
- package/dist/chunks/{variant-ds9k8dwt.js → file-retention-tp2f02fq.js} +18 -18
- package/dist/chunks/{variant-p37cw4rj.js → file-retention-tpw6cwsb.js} +8 -8
- package/dist/chunks/{variant-7xgrqf4n.js → file-retention-tq0ny4gr.js} +18 -18
- package/dist/chunks/{variant-w5q6wzvx.js → file-retention-ttt144n2.js} +25 -25
- package/dist/chunks/{variant-fx8cm3j5.js → file-retention-tv6fr57g.js} +11 -11
- package/dist/chunks/{variant-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-jk953tft.js → file-retention-tyd90661.js} +4 -4
- package/dist/chunks/{variant-zncf754x.js → file-retention-v155ndty.js} +9 -9
- package/dist/chunks/{variant-2a6rn6yr.js → file-retention-v6gb7zv2.js} +6 -6
- package/dist/chunks/{variant-fhpv401t.js → file-retention-v9vsdr5e.js} +46 -46
- package/dist/chunks/{variant-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-r9684t3a.js → file-retention-vjgtykma.js} +10 -10
- package/dist/chunks/{variant-naagfrme.js → file-retention-vp54qpx1.js} +16 -16
- package/dist/chunks/{variant-s07fdbeq.js → file-retention-vrssy5kh.js} +16 -16
- package/dist/chunks/{variant-cetrwbmx.js → file-retention-vtbecytz.js} +14 -14
- package/dist/chunks/{variant-qrbkb0m8.js → file-retention-vtg6dttc.js} +11 -11
- package/dist/chunks/{variant-9cyfspf3.js → file-retention-vtxr0yy2.js} +5 -5
- package/dist/chunks/{variant-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-6sd32h80.js → file-retention-w5bfhdvm.js} +6 -6
- package/dist/chunks/{variant-dfjemdtf.js → file-retention-wa8jxbkg.js} +32 -32
- package/dist/chunks/{variant-psazpmmj.js → file-retention-wd3x2cqz.js} +2 -2
- package/dist/chunks/{variant-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{variant-8zds6rzg.js → file-retention-ws1m066q.js} +15 -15
- package/dist/chunks/{variant-cmh4zy5x.js → file-retention-wt002vfw.js} +12 -12
- package/dist/chunks/{variant-834a0b17.js → file-retention-wxffcvth.js} +7 -7
- package/dist/chunks/{variant-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-qc5e3rnt.js → file-retention-x7c67s47.js} +5 -5
- package/dist/chunks/{variant-apg24jar.js → file-retention-xk5yp3rz.js} +22 -22
- package/dist/chunks/{variant-y1ra24rz.js → file-retention-xkzzg3p1.js} +18 -18
- package/dist/chunks/{variant-xkhfjrgz.js → file-retention-xxynqx5z.js} +2 -2
- package/dist/chunks/{variant-yh7kjdpc.js → file-retention-y0mc46pw.js} +9 -9
- package/dist/chunks/{variant-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-s5d9hk7s.js → file-retention-y56ehv6b.js} +9 -9
- package/dist/chunks/{variant-62m7qsdd.js → file-retention-y8x91hrb.js} +3 -3
- package/dist/chunks/{variant-whz31wrj.js → file-retention-yer1ws18.js} +11 -11
- package/dist/chunks/{variant-f747t98r.js → file-retention-yk950sz5.js} +14 -14
- package/dist/chunks/{variant-k5y748ge.js → file-retention-ypvayta9.js} +5 -5
- package/dist/chunks/{variant-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-g1er0jf5.js → file-retention-yrxt8wb8.js} +70 -70
- package/dist/chunks/{variant-s4enseaf.js → file-retention-yrznvahk.js} +2 -2
- package/dist/chunks/{variant-2hr5nhwa.js → file-retention-yvvvp4gn.js} +8 -8
- package/dist/chunks/{variant-bjtzbw4r.js → file-retention-z07pqspn.js} +3 -3
- package/dist/chunks/{variant-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-29x78va6.js → file-retention-z63w68vq.js} +6 -6
- package/dist/chunks/{variant-zvt5dnpc.js → file-retention-zee1rnkq.js} +4 -4
- package/dist/chunks/{variant-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-sjgae2xy.js → file-retention-zfjgpsdd.js} +24 -24
- package/dist/chunks/{variant-rkg5m5ng.js → file-retention-zm2y9yb3.js} +9 -9
- package/dist/chunks/{variant-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- 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 +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +3 -3
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- 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 +91 -91
- 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/id/id.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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/variant-3c0cjr72.js +0 -26
- package/dist/chunks/variant-cdqw8pv3.js +0 -252
- package/dist/chunks/variant-ctefx7dc.js +0 -18
- package/dist/chunks/variant-qapv375x.js +0 -4
- package/dist/chunks/variant-r5ha4mwf.js +0 -507
- /package/dist/chunks/{variant-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-34c7v6d4.js → file-retention-34c7v6d4.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-7sk5kyxr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service50,
|
|
6
|
+
Event11
|
|
7
|
+
} from "./file-retention-mjm950tt.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service50;
|
|
33
33
|
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event11.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./file-retention-mrkjr00d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-bwz5vyq0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service40
|
|
11
|
+
} from "./file-retention-g58k0yz2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service69
|
|
14
|
+
} from "./file-retention-nwzjzhhc.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service55
|
|
17
|
+
} from "./file-retention-484azhyv.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input12,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin49,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name12,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name12 = "write";
|
|
39
|
+
var Input12 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin49 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service55;
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service57;
|
|
58
|
+
const formatter = yield* Service40;
|
|
59
|
+
const permission = yield* Service69;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name12,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input12,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name12, Input12, Output8, toModelContent6, Plugin49, exports_write };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./file-retention-t5ymyahf.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service33
|
|
13
|
+
} from "./file-retention-28tx5a5b.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service80
|
|
16
|
+
} from "./file-retention-7exmdcvp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin6
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin6 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service33;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service80;
|
|
42
|
+
const watcher = yield* Service45;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin6, exports_instruction };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-tv6fr57g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-7sk5kyxr.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-xk5yp3rz.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-j31v3zf1.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-gv7n655z.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID14.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service83;
|
|
@@ -227,7 +227,7 @@ var OpenAIPlugin2 = define({
|
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
228
|
}), { providerID: ID13.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
230
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|
|
@@ -318,4 +318,4 @@ function claim(token) {
|
|
|
318
318
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
export {
|
|
321
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-xxynqx5z.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error2 = {};
|
|
13
|
+
__export(exports_error2, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -21,7 +21,7 @@ __export(exports_error, {
|
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
22
|
NotFoundError: () => NotFoundError9,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
|
-
SessionErrors: () =>
|
|
24
|
+
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
27
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2,
|
|
126
|
+
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-nwzjzhhc.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin24
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin24 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin24, exports_plan };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-hvb7b1k8.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-7sk5kyxr.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
23
|
Event: () => Event20,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info30,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service78,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node82
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
41
|
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service78.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info30({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -193,6 +193,6 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event20, Info30, Service78, node82, exports_credential };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info6,
|
|
6
|
+
ID3,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-t2f6sps2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service44
|
|
11
|
+
} from "./file-retention-m5xa4xm2.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin30,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin30 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info6.make({
|
|
434
|
+
id: ID3.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info6.make({
|
|
441
|
+
id: ID3.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service44;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin30, exports_skill2 };
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
4
|
var ID11 = Session.ID;
|
|
5
|
-
var
|
|
5
|
+
var Info24 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export { ID11,
|
|
7
|
+
export { ID11, Info24, SessionSchema2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-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: () => Service39,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node42
|
|
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 Service39 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service39.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node42 = makeLocationNode({ service: Service39, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service39, node42, exports_image2 };
|