@opencode/core 0.0.0-dev-189 → 0.0.0-dev-197
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 +88 -88
- package/dist/aisdk-native.js +98 -98
- package/dist/aisdk.js +104 -104
- package/dist/app.js +9 -9
- package/dist/bus.js +76 -76
- package/dist/chunks/{repository-98r3g1tv.js → file-retention-00ay3kdv.js} +21 -21
- package/dist/chunks/{repository-bqh84c2y.js → file-retention-02zav387.js} +9 -9
- package/dist/chunks/{repository-034tev2y.js → file-retention-034tev2y.js} +2 -2
- package/dist/chunks/{repository-0r3ejwj6.js → file-retention-05r0g2r7.js} +3 -3
- package/dist/chunks/{repository-zgd8t41s.js → file-retention-0anyt1n6.js} +9 -9
- package/dist/chunks/{repository-2kzkh518.js → file-retention-0evwtgv8.js} +45 -45
- package/dist/chunks/{repository-w687dnns.js → file-retention-0h8y3ex8.js} +4 -4
- package/dist/chunks/{repository-6pycad06.js → file-retention-0t1gh2k2.js} +12 -12
- package/dist/chunks/{repository-n4zn000z.js → file-retention-1024y9y6.js} +2 -2
- package/dist/chunks/{repository-11hfp36g.js → file-retention-11hfp36g.js} +1 -1
- package/dist/chunks/{repository-w1j2qcct.js → file-retention-13efzyg2.js} +24 -24
- package/dist/chunks/{repository-mkc3d31y.js → file-retention-1apykrxj.js} +44 -43
- package/dist/chunks/{repository-1aypnazc.js → file-retention-1cv2vd66.js} +15 -15
- package/dist/chunks/{repository-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-aar8rcwj.js → file-retention-1kfywa72.js} +4 -4
- package/dist/chunks/{repository-z6y50tdx.js → file-retention-1m8zk9rp.js} +9 -9
- package/dist/chunks/{repository-ydpqsc0x.js → file-retention-1nke647r.js} +15 -15
- package/dist/chunks/{repository-9n4vggc2.js → file-retention-1r7af8ee.js} +3 -3
- package/dist/chunks/{repository-ywm3m9q2.js → file-retention-1vt7zj53.js} +9 -9
- package/dist/chunks/{repository-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-1yq9hg58.js → file-retention-1yq9hg58.js} +1 -1
- package/dist/chunks/{repository-204s3925.js → file-retention-204s3925.js} +1 -1
- package/dist/chunks/{repository-3njy631w.js → file-retention-24xmfd7w.js} +13 -13
- package/dist/chunks/{repository-08rz5a36.js → file-retention-2eskrrsw.js} +14 -14
- package/dist/chunks/{repository-yqveydy6.js → file-retention-2mbjfaxd.js} +4 -4
- package/dist/chunks/{repository-ataenv19.js → file-retention-32hbtqx1.js} +6 -6
- package/dist/chunks/{repository-9nzgnp4r.js → file-retention-36g55jbn.js} +27 -27
- package/dist/chunks/{repository-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-3j1m3tq4.js → file-retention-3j1m3tq4.js} +2 -2
- package/dist/chunks/{repository-cdhs4fq1.js → file-retention-3jemhejf.js} +6 -6
- package/dist/chunks/{repository-kjrf1av9.js → file-retention-3k3wyk17.js} +24 -24
- package/dist/chunks/{repository-qk7rmbj1.js → file-retention-3n9k8ktf.js} +10 -10
- package/dist/chunks/{repository-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-y50d8q8d.js → file-retention-3s7skkh9.js} +5 -5
- package/dist/chunks/{repository-sx391g08.js → file-retention-3vxknmvb.js} +12 -12
- package/dist/chunks/{repository-kex0kwh3.js → file-retention-42x4te7c.js} +10 -10
- package/dist/chunks/{repository-dz5kpwyf.js → file-retention-44bpj4c9.js} +25 -25
- package/dist/chunks/{repository-wde7vnje.js → file-retention-45nyv10h.js} +26 -26
- package/dist/chunks/{repository-nhs8pjpx.js → file-retention-47r66zre.js} +82 -82
- package/dist/chunks/{repository-zqeyh3pg.js → file-retention-481gxrfg.js} +2 -2
- package/dist/chunks/{repository-d96fxdz4.js → file-retention-4n32qr4v.js} +7 -7
- package/dist/chunks/{repository-182gebkv.js → file-retention-4pbrjawp.js} +33 -33
- package/dist/chunks/{repository-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
- package/dist/chunks/{repository-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-tsk01jw9.js → file-retention-4xqce2n5.js} +11 -11
- package/dist/chunks/{repository-rw7j67zp.js → file-retention-527s141c.js} +5 -5
- package/dist/chunks/{repository-72gawy4v.js → file-retention-52hfn8qm.js} +16 -16
- package/dist/chunks/{repository-k1qkeqm0.js → file-retention-55yn0q28.js} +14 -14
- package/dist/chunks/{repository-fcevtanz.js → file-retention-5cwy195j.js} +6 -6
- package/dist/chunks/{repository-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-ce8850xx.js → file-retention-5mm8f81r.js} +5 -5
- package/dist/chunks/{repository-61ennm6n.js → file-retention-61ennm6n.js} +1 -1
- package/dist/chunks/{repository-y624qwvn.js → file-retention-69sb8681.js} +9 -9
- package/dist/chunks/{repository-p16d4jds.js → file-retention-6dzgygyw.js} +47 -47
- package/dist/chunks/{repository-vb2gkw1m.js → file-retention-6e5dkec4.js} +35 -35
- package/dist/chunks/{repository-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
- package/dist/chunks/{repository-we470cqt.js → file-retention-6fkjv1xc.js} +14 -14
- package/dist/chunks/{repository-9n4yzf43.js → file-retention-6kzgetar.js} +7 -7
- package/dist/chunks/{repository-ym290evk.js → file-retention-6qazmz99.js} +12 -12
- package/dist/chunks/{repository-vrcsa8qx.js → file-retention-6twykydk.js} +9 -9
- package/dist/chunks/{repository-se71yjgd.js → file-retention-71ffcwx2.js} +32 -32
- package/dist/chunks/{repository-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
- package/dist/chunks/{repository-j10bffxc.js → file-retention-76z54svf.js} +17 -17
- package/dist/chunks/{repository-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-wrf4qw91.js → file-retention-7d5ng1a2.js} +14 -14
- package/dist/chunks/{repository-x5kjwm05.js → file-retention-7m8d3k8h.js} +18 -18
- package/dist/chunks/{repository-swe5sap9.js → file-retention-7mfyhxd7.js} +33 -33
- package/dist/chunks/{repository-a5jmwq8r.js → file-retention-7qqd2nx3.js} +1 -1
- package/dist/chunks/{repository-037k7tff.js → file-retention-7vher5vz.js} +13 -13
- package/dist/chunks/{repository-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-6pzctp9a.js → file-retention-7yb883t5.js} +45 -45
- package/dist/chunks/{repository-h1rcny21.js → file-retention-81rf7y7z.js} +11 -11
- package/dist/chunks/{repository-bpa6my4e.js → file-retention-81x0z535.js} +23 -23
- package/dist/chunks/{repository-a7jkxg7e.js → file-retention-84hv32w5.js} +22 -22
- package/dist/chunks/{repository-p91eqx64.js → file-retention-8b5hhaf2.js} +7 -7
- package/dist/chunks/{repository-mjyzwzry.js → file-retention-8p4fey4p.js} +11 -11
- package/dist/chunks/{repository-dbmp929s.js → file-retention-8p5baybq.js} +5 -5
- package/dist/chunks/{repository-c2zjjdcb.js → file-retention-8sw03j0e.js} +12 -12
- package/dist/chunks/{repository-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
- package/dist/chunks/file-retention-8x060fmy.js +18 -0
- package/dist/chunks/{repository-90zstvax.js → file-retention-90zstvax.js} +1 -1
- package/dist/chunks/{repository-3v8t9fvp.js → file-retention-97z6p5c2.js} +28 -28
- package/dist/chunks/{repository-tbkdp4xy.js → file-retention-9tsn38wb.js} +21 -21
- package/dist/chunks/{repository-7n5hdcgz.js → file-retention-9xnya6re.js} +9 -9
- package/dist/chunks/{repository-56ae33c2.js → file-retention-9zhqn0tq.js} +27 -27
- package/dist/chunks/{repository-m0hczx0h.js → file-retention-ab1m5rfy.js} +13 -13
- package/dist/chunks/{repository-2ytvyz2d.js → file-retention-ae8yhtn6.js} +25 -25
- package/dist/chunks/{repository-g6dfma3d.js → file-retention-agqd6nxz.js} +6 -6
- package/dist/chunks/{repository-1w79wwhg.js → file-retention-aqgxz88q.js} +31 -31
- package/dist/chunks/{repository-mh6czyn0.js → file-retention-aqwa35rv.js} +30 -30
- package/dist/chunks/file-retention-aqy09njx.js +511 -0
- package/dist/chunks/{repository-ems0zhva.js → file-retention-as3sm64x.js} +6 -6
- package/dist/chunks/{repository-84k97wh8.js → file-retention-asxv01zn.js} +38 -38
- package/dist/chunks/{repository-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
- package/dist/chunks/{repository-esd0f7sy.js → file-retention-b0hsmqv0.js} +23 -23
- package/dist/chunks/{repository-sjnxn81j.js → file-retention-b36ttk86.js} +4 -4
- package/dist/chunks/{repository-qt5bw9qd.js → file-retention-b6gbsyrt.js} +1 -1
- package/dist/chunks/{repository-b6vsg801.js → file-retention-b6vsg801.js} +2 -2
- package/dist/chunks/{repository-xck40x38.js → file-retention-bckyc6k9.js} +6 -6
- package/dist/chunks/{repository-dsk9ctag.js → file-retention-bdzmqtb7.js} +3 -3
- package/dist/chunks/{repository-nwyfjcs7.js → file-retention-bm4gstpq.js} +8 -8
- package/dist/chunks/{repository-qbcktyw0.js → file-retention-bt45xqy1.js} +19 -19
- package/dist/chunks/{repository-bda3vcj5.js → file-retention-byk50ab2.js} +9 -9
- package/dist/chunks/{repository-dsxmp27p.js → file-retention-c0ycfh2w.js} +14 -14
- package/dist/chunks/{repository-qqg9c0kv.js → file-retention-c6x7d2ts.js} +4 -4
- package/dist/chunks/{repository-hez1w8bb.js → file-retention-c7m3737k.js} +37 -37
- package/dist/chunks/{repository-9yvzdddr.js → file-retention-c9re5j8a.js} +18 -18
- package/dist/chunks/{repository-d2887f8n.js → file-retention-c9t2ty9q.js} +4 -4
- package/dist/chunks/{repository-xa7geska.js → file-retention-cebftnbm.js} +26 -26
- package/dist/chunks/{repository-ra34yqmw.js → file-retention-cg3fcpn4.js} +6 -6
- package/dist/chunks/{repository-6z1wc5nc.js → file-retention-ckfzcqz5.js} +3 -3
- package/dist/chunks/{repository-q9z0p7gh.js → file-retention-cm18kf9d.js} +14 -14
- package/dist/chunks/{repository-abs1shnw.js → file-retention-cvv281km.js} +34 -34
- package/dist/chunks/{repository-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-pyv44sw6.js → file-retention-d2rkekdg.js} +14 -14
- package/dist/chunks/{repository-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-6cv4a685.js → file-retention-d76g5cnb.js} +6 -6
- package/dist/chunks/{repository-3fa3xdsy.js → file-retention-d7ezq276.js} +11 -11
- package/dist/chunks/{repository-5w0ghgtj.js → file-retention-dcj312nn.js} +5 -5
- package/dist/chunks/{repository-wmgx0dmg.js → file-retention-dpbhk201.js} +16 -16
- package/dist/chunks/{repository-5kgs3fk1.js → file-retention-drerwy6v.js} +3 -3
- package/dist/chunks/{repository-dt77769w.js → file-retention-dt77769w.js} +1 -1
- package/dist/chunks/{repository-r94gekwm.js → file-retention-e07q2w5p.js} +4 -4
- package/dist/chunks/{repository-gbafzqgw.js → file-retention-e0w63sys.js} +22 -22
- package/dist/chunks/{repository-e834z07m.js → file-retention-e834z07m.js} +1 -1
- package/dist/chunks/{repository-0m9q59s6.js → file-retention-e8pm465n.js} +4 -4
- package/dist/chunks/{repository-r5tkst50.js → file-retention-e8ywph5q.js} +48 -48
- package/dist/chunks/{repository-a44gt5xs.js → file-retention-efer459w.js} +6 -6
- package/dist/chunks/{repository-agwv7dq2.js → file-retention-em4evt6c.js} +11 -11
- package/dist/chunks/{repository-etamvy03.js → file-retention-f4r5xwfc.js} +13 -13
- package/dist/chunks/{repository-p9pswzjx.js → file-retention-f7jjbss4.js} +9 -9
- package/dist/chunks/{repository-aytsh6n6.js → file-retention-fbh8zj85.js} +2 -2
- package/dist/chunks/{repository-5z598wn3.js → file-retention-fc5at3zt.js} +18 -18
- package/dist/chunks/{repository-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-fg9p65nk.js → file-retention-fg9p65nk.js} +2 -2
- package/dist/chunks/{repository-12r92wk3.js → file-retention-ft8xs19g.js} +18 -18
- package/dist/chunks/{repository-fnn8wx3k.js → file-retention-g5swcsby.js} +12 -12
- package/dist/chunks/{repository-yckfh1kh.js → file-retention-g8wyr0p0.js} +13 -13
- package/dist/chunks/{repository-xgv24g03.js → file-retention-g8zf12h5.js} +27 -27
- package/dist/chunks/{repository-jz3hgwrm.js → file-retention-gc8gtep9.js} +4 -4
- package/dist/chunks/{repository-k8sh24kp.js → file-retention-geg17xg0.js} +10 -10
- package/dist/chunks/{repository-za5evj2v.js → file-retention-gexzakpg.js} +3 -3
- package/dist/chunks/{repository-gg8p9cgs.js → file-retention-gg8p9cgs.js} +3 -3
- package/dist/chunks/{repository-97e8yvkm.js → file-retention-gp067yzn.js} +11 -11
- package/dist/chunks/{repository-gvvhvz2q.js → file-retention-gqqeyx1x.js} +16 -16
- package/dist/chunks/{repository-phy9rbgr.js → file-retention-gv60x5cq.js} +77 -77
- package/dist/chunks/{repository-ehfhc1vp.js → file-retention-gw7rtptf.js} +10 -10
- package/dist/chunks/{repository-33ae382d.js → file-retention-h2wv7g1z.js} +27 -27
- package/dist/chunks/{repository-8r2xb3b3.js → file-retention-h3nbc66p.js} +19 -19
- package/dist/chunks/{repository-jcrsb2we.js → file-retention-h6t0znmf.js} +9 -9
- package/dist/chunks/file-retention-hccc1d27.js +26 -0
- package/dist/chunks/{repository-nkwqs6wb.js → file-retention-hcjxzb33.js} +6 -6
- package/dist/chunks/{repository-wdmx20pv.js → file-retention-hdfrs5mg.js} +9 -9
- package/dist/chunks/{repository-hpg1pkwy.js → file-retention-hpg1pkwy.js} +1 -1
- package/dist/chunks/{repository-x62nhpqw.js → file-retention-hr6qbbbj.js} +28 -28
- package/dist/chunks/{repository-hs9b4b47.js → file-retention-hs9b4b47.js} +2 -2
- package/dist/chunks/{repository-vs1fx8n5.js → file-retention-hs9c5tve.js} +32 -32
- package/dist/chunks/{repository-8hrfnhev.js → file-retention-hz6fz10g.js} +18 -18
- package/dist/chunks/{repository-5jv51wq9.js → file-retention-hzs6scc7.js} +10 -10
- package/dist/chunks/{repository-ssv9vbjn.js → file-retention-j1ptedcn.js} +16 -16
- package/dist/chunks/{repository-s0dcwz21.js → file-retention-jd833z4n.js} +3 -3
- package/dist/chunks/{repository-jfaecv01.js → file-retention-jfaecv01.js} +1 -1
- package/dist/chunks/{repository-jtnps1zs.js → file-retention-jtnps1zs.js} +2 -2
- package/dist/chunks/{repository-x9mcs5as.js → file-retention-jvshpvt0.js} +4 -4
- package/dist/chunks/{repository-gadvwfpz.js → file-retention-k09ty2nz.js} +18 -18
- package/dist/chunks/{repository-dvet5ash.js → file-retention-k3rsaqe1.js} +13 -13
- package/dist/chunks/{repository-k814nvkf.js → file-retention-k814nvkf.js} +1 -1
- package/dist/chunks/{repository-0av5441t.js → file-retention-k9ry6nae.js} +18 -18
- package/dist/chunks/{repository-g4wje5yf.js → file-retention-ka9dq9bh.js} +14 -14
- package/dist/chunks/{repository-s5b0caas.js → file-retention-kbs230cz.js} +11 -11
- package/dist/chunks/{repository-qwcynr2z.js → file-retention-kez5w1ys.js} +35 -35
- package/dist/chunks/{repository-1k4zgc1c.js → file-retention-ks3c9cqr.js} +36 -36
- package/dist/chunks/{repository-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
- package/dist/chunks/{repository-m1714858.js → file-retention-m1714858.js} +1 -1
- package/dist/chunks/{repository-m37sd98t.js → file-retention-m37sd98t.js} +1 -1
- package/dist/chunks/{repository-xpx9qcwm.js → file-retention-m4bjc8bw.js} +7 -7
- package/dist/chunks/{repository-sdb8g23r.js → file-retention-m5n42v94.js} +15 -15
- package/dist/chunks/{repository-t6tqz55s.js → file-retention-m80e7yhz.js} +1 -1
- package/dist/chunks/{repository-k93f34r6.js → file-retention-m8210qzt.js} +12 -12
- package/dist/chunks/{repository-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-qdvp98ce.js → file-retention-mjzzxa19.js} +1 -1
- package/dist/chunks/{repository-eag44dyn.js → file-retention-mpppa3sy.js} +1 -1
- package/dist/chunks/{repository-2080gwb7.js → file-retention-n6pb4r7m.js} +3 -3
- package/dist/chunks/{repository-qf65b5pw.js → file-retention-n7xzwjsb.js} +35 -35
- package/dist/chunks/{repository-0hkk56st.js → file-retention-n810xmn2.js} +144 -144
- package/dist/chunks/{repository-770pw0s1.js → file-retention-nah043kf.js} +4 -4
- package/dist/chunks/{repository-pnwsrq7c.js → file-retention-neary136.js} +5 -5
- package/dist/chunks/{repository-ck8hq31j.js → file-retention-njkvgpzw.js} +21 -21
- package/dist/chunks/{repository-qcb8jahv.js → file-retention-nmcr2840.js} +38 -38
- package/dist/chunks/{repository-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
- package/dist/chunks/{repository-1mde9y8f.js → file-retention-p2x3qxk9.js} +11 -11
- package/dist/chunks/{repository-nf3nsvxh.js → file-retention-pbbktnbz.js} +4 -4
- package/dist/chunks/{repository-a792y6s0.js → file-retention-pehfm7w7.js} +17 -17
- package/dist/chunks/{repository-wkjtf16h.js → file-retention-pfayv7n8.js} +21 -21
- package/dist/chunks/{repository-a23yrjc9.js → file-retention-phacckca.js} +13 -13
- package/dist/chunks/{repository-3t74rz0k.js → file-retention-pk1jk6nd.js} +10 -10
- package/dist/chunks/{repository-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{repository-6x6r8n8f.js → file-retention-pntz5nv8.js} +17 -17
- package/dist/chunks/{repository-tgcnwcew.js → file-retention-pq0g1j3r.js} +14 -14
- package/dist/chunks/{repository-c4bknmrm.js → file-retention-q6tw3efa.js} +28 -28
- package/dist/chunks/{repository-0hp4fr82.js → file-retention-q98fvpa3.js} +4 -4
- package/dist/chunks/{repository-werc16xm.js → file-retention-qgfsr1ak.js} +13 -13
- package/dist/chunks/{repository-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-v1vf4bjp.js → file-retention-qqppq1tw.js} +8 -8
- package/dist/chunks/{repository-ts7mkfs9.js → file-retention-qsee9sfb.js} +3 -3
- package/dist/chunks/{repository-g9b1jkrx.js → file-retention-qwpavc5r.js} +32 -32
- package/dist/chunks/{repository-n7wnam13.js → file-retention-qz087kyw.js} +8 -8
- package/dist/chunks/{repository-r0yr0wbs.js → file-retention-r0yr0wbs.js} +1 -1
- package/dist/chunks/{repository-r542h3bh.js → file-retention-r542h3bh.js} +1 -1
- package/dist/chunks/{repository-wvpmhz6e.js → file-retention-r564vpxy.js} +17 -17
- package/dist/chunks/{repository-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-7g779wd2.js → file-retention-rcdgzwjt.js} +20 -20
- package/dist/chunks/{repository-snn1b1cz.js → file-retention-rf0tecrn.js} +12 -12
- package/dist/chunks/{repository-rgzggw2r.js → file-retention-rgzggw2r.js} +2 -2
- package/dist/chunks/{repository-dwmchd07.js → file-retention-rpgqzgsw.js} +13 -13
- package/dist/chunks/{repository-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-0rtm666e.js → file-retention-s52g94eq.js} +12 -12
- package/dist/chunks/{repository-s7gmm2q3.js → file-retention-s7gmm2q3.js} +3 -3
- package/dist/chunks/{repository-d68w9w8c.js → file-retention-s99cgj3z.js} +23 -23
- package/dist/chunks/{repository-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
- package/dist/chunks/{repository-ye2mws6y.js → file-retention-saw0xt7z.js} +25 -25
- package/dist/chunks/{repository-vz9e3ctc.js → file-retention-se016j3a.js} +4 -4
- package/dist/chunks/{repository-y21mv437.js → file-retention-sg08nake.js} +10 -10
- package/dist/chunks/{repository-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
- package/dist/chunks/{repository-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-jgcte78g.js → file-retention-t0yv98de.js} +2 -2
- package/dist/chunks/{repository-3t73xeyv.js → file-retention-t5jqs5j7.js} +2 -2
- package/dist/chunks/{repository-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-rnd635dt.js → file-retention-tmpm4r5r.js} +11 -11
- package/dist/chunks/{repository-nf4jh0jx.js → file-retention-tps1nyr3.js} +21 -21
- package/dist/chunks/{repository-ectwy8nt.js → file-retention-ttqtdfz1.js} +5 -5
- package/dist/chunks/{repository-5q3h0csw.js → file-retention-tvps0thf.js} +7 -7
- package/dist/chunks/{repository-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-9q8g9sv8.js → file-retention-v0t96s7a.js} +4 -4
- package/dist/chunks/{repository-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-7tpyp9vw.js → file-retention-v5hpj9dd.js} +8 -8
- package/dist/chunks/{repository-86g12mv6.js → file-retention-vcyr9zvk.js} +28 -28
- package/dist/chunks/{repository-4esa3dv6.js → file-retention-vfpbkdxj.js} +28 -28
- package/dist/chunks/{repository-a4sx5s4k.js → file-retention-vfxqwymt.js} +47 -47
- package/dist/chunks/{repository-2zp5a6yg.js → file-retention-vg0erq9k.js} +3 -3
- package/dist/chunks/{repository-cbtp3bm0.js → file-retention-vjbmgwyr.js} +55 -55
- package/dist/chunks/{repository-13r1xmr6.js → file-retention-vmrgyahk.js} +18 -18
- package/dist/chunks/{repository-5107fk2n.js → file-retention-vnjwe8gy.js} +3 -3
- package/dist/chunks/{repository-ycywz2xw.js → file-retention-vqe1mp4b.js} +20 -20
- package/dist/chunks/{repository-5vtqq6dj.js → file-retention-vr9ywjng.js} +21 -21
- package/dist/chunks/{repository-vaq1yek0.js → file-retention-vsqvcqta.js} +6 -6
- package/dist/chunks/{repository-xj7pfj7j.js → file-retention-vtm22ma1.js} +21 -21
- package/dist/chunks/{repository-r41sfy63.js → file-retention-w2eysc6j.js} +6 -6
- package/dist/chunks/{repository-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-zw4pk1bw.js → file-retention-w8xr7nv8.js} +5 -5
- package/dist/chunks/{repository-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-ptht14fh.js → file-retention-watjt3p8.js} +19 -19
- package/dist/chunks/{repository-gtbhcp1b.js → file-retention-wbje33cw.js} +4 -4
- package/dist/chunks/{repository-7kehrbx0.js → file-retention-wczydp3b.js} +2 -2
- package/dist/chunks/{repository-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{repository-wnhgecwx.js → file-retention-wnhgecwx.js} +1 -1
- package/dist/chunks/{repository-1apn0a4c.js → file-retention-x592j5n8.js} +23 -23
- package/dist/chunks/{repository-k0h7zcy3.js → file-retention-xcj09269.js} +8 -8
- package/dist/chunks/{repository-bstexjd6.js → file-retention-xd9cc171.js} +5 -5
- package/dist/chunks/{repository-ektnw284.js → file-retention-xq7py0nk.js} +16 -16
- package/dist/chunks/{repository-gtn9c16a.js → file-retention-xt0z8zst.js} +4 -4
- package/dist/chunks/{repository-82zcwhsx.js → file-retention-xt6yj4t6.js} +19 -19
- package/dist/chunks/{repository-3e05p5k6.js → file-retention-xwmq2dcw.js} +18 -18
- package/dist/chunks/{repository-pkvxjntv.js → file-retention-y49ten0s.js} +20 -20
- package/dist/chunks/{repository-yara3q77.js → file-retention-yara3q77.js} +2 -2
- package/dist/chunks/{repository-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-sv3cbmwn.js → file-retention-ycarv14j.js} +3 -3
- package/dist/chunks/{repository-jkfm927m.js → file-retention-yg021pr4.js} +10 -10
- package/dist/chunks/{repository-dpgr420w.js → file-retention-yjdt6y29.js} +8 -8
- package/dist/chunks/{repository-ms02w4bg.js → file-retention-yk6ka46x.js} +5 -5
- package/dist/chunks/{repository-2dv9mwt9.js → file-retention-ysjrjqrd.js} +17 -17
- package/dist/chunks/file-retention-yxdzradw.js +257 -0
- package/dist/chunks/{repository-swv5h1tw.js → file-retention-z2d0yvk9.js} +20 -20
- package/dist/chunks/{repository-z38nccrw.js → file-retention-z38nccrw.js} +1 -1
- package/dist/chunks/{repository-8enexpz6.js → file-retention-z3h17q8g.js} +33 -33
- package/dist/chunks/{repository-0evha2wn.js → file-retention-z4efjq9s.js} +12 -12
- package/dist/chunks/{repository-5r0vxddc.js → file-retention-z79z9k8j.js} +9 -9
- package/dist/chunks/{repository-pg5757gf.js → file-retention-zcd9d9xm.js} +30 -30
- package/dist/chunks/{repository-mpaxnys6.js → file-retention-zf274ksp.js} +21 -21
- package/dist/chunks/{repository-nscwgnf9.js → file-retention-zg0ggtad.js} +59 -59
- package/dist/chunks/{repository-ptkgc041.js → file-retention-zke8k14a.js} +9 -9
- package/dist/chunks/{repository-e8rkqp2f.js → file-retention-zptqqsqr.js} +51 -51
- package/dist/chunks/{repository-2rgppjw0.js → file-retention-zrj29v3f.js} +11 -11
- package/dist/chunks/{repository-4nc3cf8h.js → file-retention-ztw3rrzx.js} +15 -15
- package/dist/chunks/{repository-exd6sskf.js → file-retention-zzhx4wss.js} +11 -11
- package/dist/chunks/{repository-cm490s5r.js → file-retention-zzjadyyc.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +88 -88
- package/dist/config/discovery.js +91 -91
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +108 -108
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +222 -222
- package/dist/config/plugin/compaction.js +163 -163
- package/dist/config/plugin/compatibility.js +143 -143
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +122 -122
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +139 -139
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +146 -146
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/database.js +73 -73
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration.gen.js +56 -56
- package/dist/database/migration.js +58 -58
- 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 +101 -101
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +378 -378
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +102 -102
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +102 -102
- 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 +77 -77
- package/dist/file-access.js +149 -149
- package/dist/file-mutation.js +103 -103
- 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/file-watch.js +84 -84
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +235 -235
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +108 -108
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +113 -113
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +96 -96
- package/dist/generate.js +116 -116
- 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 +108 -108
- 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-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +369 -369
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +96 -96
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +85 -85
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +76 -76
- package/dist/location-activity.js +164 -164
- package/dist/location-lifecycle.js +143 -143
- package/dist/location-service-map.js +95 -95
- package/dist/location-services.js +366 -366
- package/dist/location.js +96 -96
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +100 -100
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +169 -169
- package/dist/mcp/oauth.js +85 -85
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +99 -99
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +108 -108
- package/dist/model-resolver.js +108 -108
- package/dist/model-retry.js +1 -1
- package/dist/model.js +101 -101
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +148 -148
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +82 -82
- package/dist/plugin/agent.js +83 -83
- package/dist/plugin/command.js +111 -111
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +226 -226
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +339 -339
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +106 -106
- package/dist/plugin/module.js +124 -124
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +139 -139
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +99 -99
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +122 -122
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +102 -102
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +104 -104
- package/dist/plugin/provider/gitlab.js +102 -102
- package/dist/plugin/provider/google-vertex.js +119 -119
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +85 -85
- package/dist/plugin/provider/lmstudio.js +129 -129
- package/dist/plugin/provider/local.js +128 -128
- package/dist/plugin/provider/modal.js +101 -101
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +131 -131
- package/dist/plugin/provider/openai-context-caps.js +99 -99
- package/dist/plugin/provider/openai.js +124 -124
- package/dist/plugin/provider/opencode.js +125 -125
- package/dist/plugin/provider/openrouter.js +100 -100
- package/dist/plugin/provider/poe.js +86 -86
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +100 -100
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/vllm.js +131 -131
- package/dist/plugin/provider/xai.js +100 -100
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +172 -172
- package/dist/plugin/sdk.js +83 -83
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +142 -142
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +356 -356
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +95 -95
- package/dist/plugin/vcs/hg.js +95 -95
- package/dist/plugin/verbosity.js +102 -102
- package/dist/plugin/warming.js +120 -120
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +237 -237
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +105 -105
- package/dist/reference/instructions.js +97 -97
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +89 -89
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +106 -106
- package/dist/rpc.js +95 -95
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +228 -228
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +121 -121
- package/dist/session/command.js +81 -81
- package/dist/session/compaction.js +165 -165
- package/dist/session/context.js +189 -189
- package/dist/session/diff.js +97 -97
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +229 -229
- package/dist/session/execution.js +155 -155
- package/dist/session/generate.js +189 -189
- package/dist/session/history.js +128 -128
- package/dist/session/inbox.js +139 -139
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +84 -84
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +133 -133
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +154 -154
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +157 -157
- package/dist/session/projector.js +135 -135
- package/dist/session/prompt.js +141 -141
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +131 -131
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +237 -237
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +109 -109
- package/dist/session/runner/publish-llm-event.js +142 -142
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +153 -153
- package/dist/session/runner/to-llm-message.js +129 -129
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +136 -136
- package/dist/session/skill.js +140 -140
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +80 -80
- package/dist/session/store.js +134 -134
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +220 -220
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +187 -187
- package/dist/session/to-session-error.js +141 -141
- package/dist/session/transfer.js +225 -225
- package/dist/session/usage.js +1 -1
- package/dist/session.js +222 -222
- 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 +9 -9
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +144 -144
- package/dist/skill.js +149 -149
- package/dist/snapshot.js +102 -102
- 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 +168 -168
- package/dist/tool/plugin/edit.js +157 -157
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +161 -161
- package/dist/tool/plugin/grep.js +157 -157
- package/dist/tool/plugin/mcp-resource.js +155 -155
- package/dist/tool/plugin/opencode.js +154 -154
- package/dist/tool/plugin/patch.js +159 -159
- package/dist/tool/plugin/question.js +141 -141
- package/dist/tool/plugin/read.js +160 -160
- package/dist/tool/plugin/shell.js +225 -225
- package/dist/tool/plugin/skill.js +150 -150
- package/dist/tool/plugin/subagent.js +227 -227
- package/dist/tool/plugin/todo.js +146 -146
- package/dist/tool/plugin/webfetch.js +148 -148
- package/dist/tool/plugin/websearch.js +144 -144
- package/dist/tool/plugin/write.js +151 -151
- package/dist/tool/read-filesystem.js +111 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +96 -96
- 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 +2 -2
- package/dist/v1/config/migrate.js +101 -101
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +100 -100
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +96 -96
- package/dist/voice.js +97 -97
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +83 -83
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +87 -87
- 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 +98 -98
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/repository-3ygt5d1v.js +0 -257
- package/dist/chunks/repository-dh9dmr4q.js +0 -511
- package/dist/chunks/repository-dym6dez5.js +0 -26
- package/dist/chunks/repository-z7bdqmx5.js +0 -18
- /package/dist/chunks/{repository-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1jakw16s.js → file-retention-1jakw16s.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a058387c.js → file-retention-a058387c.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-myztnk54.js → file-retention-myztnk54.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-ncqqe42p.js → file-retention-ncqqe42p.js} +0 -0
- /package/dist/chunks/{repository-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-se016j3a.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./file-retention-gqqeyx1x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service57,
|
|
11
|
+
node60
|
|
12
|
+
} from "./file-retention-xt6yj4t6.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFoundError9
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-drerwy6v.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service56,
|
|
18
|
+
node59
|
|
19
|
+
} from "./file-retention-rf0tecrn.js";
|
|
20
20
|
import {
|
|
21
21
|
match2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-z38nccrw.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service55,
|
|
25
|
+
node58
|
|
26
|
+
} from "./file-retention-zf274ksp.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service71,
|
|
29
|
+
node74
|
|
30
|
+
} from "./file-retention-qz087kyw.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -39,29 +39,29 @@ __export(exports_permission, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
Event: () => Event10,
|
|
43
|
+
ID: () => ID7,
|
|
44
|
+
NotFoundError: () => NotFoundError7,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request2,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
51
|
-
Source: () =>
|
|
50
|
+
Service: () => Service54,
|
|
51
|
+
Source: () => Source4,
|
|
52
52
|
evaluate: () => evaluate2,
|
|
53
53
|
merge: () => merge2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node57
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
58
58
|
import { Permission } from "@opencode/schema/permission";
|
|
59
59
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
60
|
-
import { Event as
|
|
60
|
+
import { Event as Event10 } from "@opencode/schema/permission";
|
|
61
61
|
var PermissionEffect = Permission.Effect;
|
|
62
62
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
63
|
-
var
|
|
64
|
-
var
|
|
63
|
+
var ID7 = Permission.ID;
|
|
64
|
+
var Source4 = Permission.Source;
|
|
65
65
|
var Request2 = Permission.Request;
|
|
66
66
|
var Reply2 = Permission.Reply;
|
|
67
67
|
|
|
@@ -84,8 +84,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
class
|
|
88
|
-
requestID:
|
|
87
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
88
|
+
requestID: ID7
|
|
89
89
|
}) {
|
|
90
90
|
}
|
|
91
91
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
|
|
|
99
99
|
return rulesets.flat();
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
class
|
|
102
|
+
class Service54 extends Context.Service()("@opencode/Permission") {
|
|
103
103
|
}
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
105
105
|
const bus = yield* Service85;
|
|
106
|
-
const location = yield*
|
|
107
|
-
const agents = yield*
|
|
108
|
-
const sessions = yield*
|
|
109
|
-
const saved = yield*
|
|
110
|
-
const hooks = yield*
|
|
106
|
+
const location = yield* Service82;
|
|
107
|
+
const agents = yield* Service57;
|
|
108
|
+
const sessions = yield* Service56;
|
|
109
|
+
const saved = yield* Service55;
|
|
110
|
+
const hooks = yield* Service71;
|
|
111
111
|
const pending = new Map;
|
|
112
112
|
let closed = false;
|
|
113
113
|
const close = Effect.gen(function* () {
|
|
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
160
160
|
});
|
|
161
161
|
function request(input, message) {
|
|
162
162
|
return {
|
|
163
|
-
id: input.id ??
|
|
163
|
+
id: input.id ?? ID7.create(),
|
|
164
164
|
sessionID: input.sessionID,
|
|
165
165
|
action: input.action,
|
|
166
166
|
resources: input.resources,
|
|
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
185
185
|
}));
|
|
186
186
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
187
187
|
if (closed)
|
|
188
|
-
return { id: input.id ??
|
|
188
|
+
return { id: input.id ?? ID7.create(), effect: "deny" };
|
|
189
189
|
const result = yield* evaluateInput(input);
|
|
190
190
|
const value = request(input, result.message);
|
|
191
191
|
if (result.effect === "ask")
|
|
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
227
227
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
228
228
|
const existing = pending.get(input.requestID);
|
|
229
229
|
if (!existing)
|
|
230
|
-
return yield* new
|
|
230
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
231
231
|
yield* bus.publish(Permission.Event.Replied, {
|
|
232
232
|
sessionID: existing.request.sessionID,
|
|
233
233
|
requestID: existing.request.id,
|
|
@@ -282,12 +282,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
282
282
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
283
283
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service54.of({ ask, assert, assertNotDenied, reply, get, forSession, list, close });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node57 = makeLocationNode({
|
|
288
|
+
service: Service54,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [node89,
|
|
290
|
+
deps: [node89, node86, node60, node59, node58, node74]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export { PermissionEffect,
|
|
293
|
+
export { PermissionEffect, ID7, Source4, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service54, node57, exports_permission, Rule2, Ruleset2, Event10 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./file-retention-cvv281km.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service7
|
|
7
|
+
} from "./file-retention-asxv01zn.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/compaction.ts
|
|
16
16
|
var exports_compaction = {};
|
|
17
17
|
__export(exports_compaction, {
|
|
18
18
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin18
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin18 = define({
|
|
24
24
|
id: "opencode.config.compaction",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const compaction = yield*
|
|
26
|
+
const config = yield* Service73;
|
|
27
|
+
const compaction = yield* Service7;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
29
29
|
yield* compaction.transform((editor) => {
|
|
30
30
|
editor.configure({ precompute: latest2(loaded.entries, "experimental")?.background_compaction === true });
|
|
@@ -41,4 +41,4 @@ var Plugin39 = define({
|
|
|
41
41
|
})
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { Plugin18, exports_compaction };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-se016j3a.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
evaluate2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-7yb883t5.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/skill.ts
|
|
17
17
|
var exports_skill5 = {};
|
|
18
18
|
__export(exports_skill5, {
|
|
19
19
|
DirectorySource: () => DirectorySource2,
|
|
20
20
|
EmbeddedSource: () => EmbeddedSource2,
|
|
21
|
-
Event: () =>
|
|
22
|
-
ID: () =>
|
|
23
|
-
Info: () =>
|
|
21
|
+
Event: () => Event9,
|
|
22
|
+
ID: () => ID6,
|
|
23
|
+
Info: () => Info10,
|
|
24
24
|
Name: () => Name2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service53,
|
|
26
26
|
Skill: () => exports_skill5,
|
|
27
|
-
Source: () =>
|
|
27
|
+
Source: () => Source3,
|
|
28
28
|
UrlSource: () => UrlSource2,
|
|
29
29
|
available: () => available4,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node56,
|
|
31
31
|
prepare: () => prepare3,
|
|
32
32
|
toModelOutput: () => toModelOutput3
|
|
33
33
|
});
|
|
@@ -36,13 +36,13 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import path from "path";
|
|
37
37
|
import { Context, Effect, Layer } from "effect";
|
|
38
38
|
import { Skill } from "@opencode/schema/skill";
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event9 } from "@opencode/schema/skill";
|
|
40
40
|
var DirectorySource2 = Skill.DirectorySource;
|
|
41
41
|
var UrlSource2 = Skill.UrlSource;
|
|
42
42
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
43
|
+
var Source3 = Skill.Source;
|
|
44
|
+
var Info10 = Skill.Info;
|
|
45
|
+
var ID6 = Skill.ID;
|
|
46
46
|
var Name2 = Skill.Name;
|
|
47
47
|
var available4 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
48
48
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -79,21 +79,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
79
79
|
};
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service53 extends Context.Service()("@opencode/Skill") {
|
|
83
83
|
}
|
|
84
|
-
var layer = Layer.effect(
|
|
84
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service85;
|
|
86
86
|
const state = create3({
|
|
87
87
|
name: "skill",
|
|
88
88
|
initial: () => ({ skills: new Map }),
|
|
89
89
|
editor: (editor) => ({
|
|
90
90
|
list: () => Array.from(editor.skills.values()),
|
|
91
|
-
get: (id) => editor.skills.get(
|
|
91
|
+
get: (id) => editor.skills.get(ID6.make(id)),
|
|
92
92
|
add: (skill) => {
|
|
93
93
|
editor.skills.set(skill.id, { ...skill });
|
|
94
94
|
},
|
|
95
95
|
update: (id, update) => {
|
|
96
|
-
const key =
|
|
96
|
+
const key = ID6.make(id);
|
|
97
97
|
const current = editor.skills.get(key);
|
|
98
98
|
if (!current)
|
|
99
99
|
return;
|
|
@@ -101,12 +101,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
101
101
|
current.id = key;
|
|
102
102
|
},
|
|
103
103
|
remove: (id) => {
|
|
104
|
-
editor.skills.delete(
|
|
104
|
+
editor.skills.delete(ID6.make(id));
|
|
105
105
|
}
|
|
106
106
|
}),
|
|
107
107
|
notify: changes2((data) => Array.from(data.skills.values()), () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
|
|
108
108
|
});
|
|
109
|
-
return
|
|
109
|
+
return Service53.of({
|
|
110
110
|
transform: state.transform,
|
|
111
111
|
reload: state.reload,
|
|
112
112
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -117,10 +117,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
117
117
|
})
|
|
118
118
|
});
|
|
119
119
|
}));
|
|
120
|
-
var
|
|
121
|
-
service:
|
|
120
|
+
var node56 = makeLocationNode({
|
|
121
|
+
service: Service53,
|
|
122
122
|
layer,
|
|
123
123
|
deps: [node89]
|
|
124
124
|
});
|
|
125
125
|
|
|
126
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
126
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info10, ID6, Name2, available4, toModelOutput3, prepare3, Service53, node56, exports_skill5, Event9 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-vnjwe8gy.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-11hfp36g.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-se016j3a.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-gg8p9cgs.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrateInbox2,
|
|
27
27
|
keepInboxRefs2,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
externalizePayload2,
|
|
30
30
|
recordRefs2,
|
|
31
31
|
releaseMessage2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-retention-hcjxzb33.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-retention-1m8zk9rp.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/inbox.ts
|
|
41
41
|
var exports_inbox = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_inbox, {
|
|
|
43
43
|
Compaction: () => Compaction2,
|
|
44
44
|
CompactionPayload: () => CompactionPayload2,
|
|
45
45
|
Delivery: () => Delivery2,
|
|
46
|
-
Info: () =>
|
|
46
|
+
Info: () => Info9,
|
|
47
47
|
Item: () => Item2,
|
|
48
48
|
LifecycleConflict: () => LifecycleConflict2,
|
|
49
49
|
MediaInfo: () => MediaInfo2,
|
|
@@ -51,7 +51,7 @@ __export(exports_inbox, {
|
|
|
51
51
|
MediaUserPayload: () => MediaUserPayload2,
|
|
52
52
|
Move: () => Move2,
|
|
53
53
|
MovePayload: () => MovePayload2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service46,
|
|
55
55
|
SessionInbox: () => exports_inbox,
|
|
56
56
|
Synthetic: () => Synthetic2,
|
|
57
57
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -59,13 +59,13 @@ __export(exports_inbox, {
|
|
|
59
59
|
UserPayload: () => UserPayload2,
|
|
60
60
|
find: () => find2,
|
|
61
61
|
has: () => has2,
|
|
62
|
-
layer: () =>
|
|
62
|
+
layer: () => layer22,
|
|
63
63
|
list: () => list3,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
|
-
make: () =>
|
|
65
|
+
make: () => make17,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node48,
|
|
69
69
|
projectAdmitted: () => projectAdmitted2,
|
|
70
70
|
projectCancelled: () => projectCancelled2,
|
|
71
71
|
projectDelivered: () => projectDelivered2,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
Compaction as Compaction2,
|
|
81
81
|
CompactionPayload as CompactionPayload2,
|
|
82
82
|
Delivery as Delivery2,
|
|
83
|
-
Info as
|
|
83
|
+
Info as Info9,
|
|
84
84
|
Item as Item2,
|
|
85
85
|
MediaInfo as MediaInfo2,
|
|
86
86
|
MediaUser as MediaUser2,
|
|
@@ -184,9 +184,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class Service46 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
|
-
var
|
|
189
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
190
|
const database = yield* Service86;
|
|
191
191
|
const db = database.db;
|
|
192
192
|
const bus = yield* Service85;
|
|
@@ -206,7 +206,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
206
206
|
inboxID: request.id,
|
|
207
207
|
sessionID: request.sessionID,
|
|
208
208
|
item: request.item
|
|
209
|
-
}).pipe(Effect.map((event) =>
|
|
209
|
+
}).pipe(Effect.map((event) => Info9.make({
|
|
210
210
|
id: request.id,
|
|
211
211
|
sessionID: request.sessionID,
|
|
212
212
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -260,8 +260,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var
|
|
264
|
-
var
|
|
263
|
+
var layer22 = Layer.effect(Service46, make17());
|
|
264
|
+
var node48 = makeGlobalNode({ service: Service46, layer: layer22, deps: [node90, node89] });
|
|
265
265
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
266
266
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
267
267
|
if (message !== undefined)
|
|
@@ -385,4 +385,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
385
385
|
return rows;
|
|
386
386
|
}));
|
|
387
387
|
|
|
388
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
388
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info9, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service46, make17, layer22, node48, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./file-retention-vfxqwymt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./file-retention-7yb883t5.js";
|
|
10
10
|
import {
|
|
11
11
|
MEDIA_MIMES2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-vr9ywjng.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/tool/plugin/mcp-resource.ts
|
|
18
18
|
var exports_mcp_resource = {};
|
|
19
19
|
__export(exports_mcp_resource, {
|
|
20
20
|
McpResourceTools: () => exports_mcp_resource,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin22
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin22 = {
|
|
26
26
|
id: "opencode.tools.mcp-resources",
|
|
27
27
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
28
|
-
const mcp = yield*
|
|
29
|
-
const permission = yield*
|
|
28
|
+
const mcp = yield* Service39;
|
|
29
|
+
const permission = yield* Service54;
|
|
30
30
|
yield* ctx.tool.transform((editor) => {
|
|
31
31
|
editor.add({
|
|
32
32
|
name: "list_mcp_resources",
|
|
@@ -96,4 +96,4 @@ var Plugin15 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin22, exports_mcp_resource };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info21,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info21 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info20 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model2,
|
|
94
|
+
export { ModelStatus2, Model2, Info21, exports_provider2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-se016j3a.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-61ennm6n.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./file-retention-vfpbkdxj.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-hzs6scc7.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
15
|
Service78
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-geg17xg0.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./file-retention-7d5ng1a2.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service38,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service38 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service38.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service38, awaitActivation2, exports_service };
|