@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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-geg17xg0.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./file-retention-xt6yj4t6.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Info18
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-neary136.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-1kfywa72.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service73
|
|
16
|
+
} from "./file-retention-cvv281km.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin9
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -44,10 +44,10 @@ var decodeLegacyAgent = Schema.decodeUnknownOption(Info18);
|
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin9 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service73;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin41 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID9.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID9.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin9, exports_agent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/stored.ts
|
|
9
9
|
var exports_stored = {};
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service70,
|
|
8
|
+
node73
|
|
9
|
+
} from "./file-retention-13efzyg2.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-90zstvax.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service51,
|
|
24
|
+
node: () => node53
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -47,7 +47,7 @@ var RawMatch = Schema.Struct({
|
|
|
47
47
|
});
|
|
48
48
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
51
51
|
message: Schema.String,
|
|
52
52
|
cause: Schema.optional(Schema.Defect())
|
|
53
53
|
}) {
|
|
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
59
59
|
}) {
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
class
|
|
62
|
+
class Service51 extends Context.Service()("@opencode/Ripgrep") {
|
|
63
63
|
}
|
|
64
|
-
var failure = (message, cause) => new
|
|
64
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
65
65
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
66
66
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
67
|
-
var layer = Layer.effect(
|
|
68
|
-
const environment = yield*
|
|
67
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
68
|
+
const environment = yield* Service70;
|
|
69
69
|
const binary = yield* RipgrepBinary2.Service;
|
|
70
70
|
const run = (input) => {
|
|
71
71
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -91,9 +91,9 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
91
91
|
return code === 1 ? [] : rows;
|
|
92
92
|
}));
|
|
93
93
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
94
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
94
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
95
95
|
};
|
|
96
|
-
return
|
|
96
|
+
return Service51.of({
|
|
97
97
|
glob: (input) => run({
|
|
98
98
|
cwd: input.cwd,
|
|
99
99
|
limit: input.limit,
|
|
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
179
179
|
}))))
|
|
180
180
|
});
|
|
181
181
|
}));
|
|
182
|
-
var
|
|
182
|
+
var node53 = makeLocationNode({ service: Service51, layer, deps: [node73, RipgrepBinary2.node] });
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Error3, InvalidPatternError2, Service51, node53, exports_ripgrep };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./file-retention-cm18kf9d.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./file-retention-cvv281km.js";
|
|
10
10
|
import {
|
|
11
11
|
statements2,
|
|
12
12
|
decision2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-1r7af8ee.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/module.ts
|
|
19
19
|
var exports_module = {};
|
|
20
20
|
__export(exports_module, {
|
|
21
21
|
LoadError: () => LoadError2,
|
|
22
22
|
PluginModule: () => exports_module,
|
|
23
|
-
make: () =>
|
|
23
|
+
make: () => make10
|
|
24
24
|
});
|
|
25
25
|
import { Host } from "@opencode/plugin/host";
|
|
26
26
|
import { GuiBundle } from "@opencode/schema/plugin";
|
|
@@ -31,9 +31,9 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
31
31
|
import path from "path";
|
|
32
32
|
import { readFile, stat } from "node:fs/promises";
|
|
33
33
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
34
|
-
var
|
|
35
|
-
const config = yield*
|
|
36
|
-
const watcher = yield*
|
|
34
|
+
var make10 = Effect.fn("PluginModule.make")(function* () {
|
|
35
|
+
const config = yield* Service73;
|
|
36
|
+
const watcher = yield* Service74;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -136,4 +136,4 @@ var loadServer = Effect.fn("PluginModule.loadServer")(function* (entrypoint, sou
|
|
|
136
136
|
return { plugin: "effect" in value ? value : fromPromise2(value), version: loaded.version };
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
-
export {
|
|
139
|
+
export { make10, LoadError2, exports_module };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-11hfp36g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
node73
|
|
7
|
+
} from "./file-retention-13efzyg2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service22,
|
|
17
|
+
node: () => node25,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service22 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service70;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service22.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node25 = makeLocationNode({ service: Service22, layer, deps: [node73] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service22, readText2, syncTextBom2, node25, exports_file_mutation };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service74,
|
|
3
|
+
node78
|
|
4
|
+
} from "./file-retention-cm18kf9d.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
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./file-retention-cvv281km.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-6esdw8yj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service4,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node6
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service73;
|
|
40
|
+
const watcher = yield* Service74;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service82;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer8 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service4.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer8 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node6 = makeLocationNode({
|
|
74
|
+
service: Service4,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node77, FSUtil.node, node78, node86]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service4,
|
|
80
|
+
layer: Layer.succeed(Service4, Service4.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -138,4 +138,4 @@ function isPluginSource(entries, file) {
|
|
|
138
138
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { Service4, layer5, node6, empty2, exports_source };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-m8210qzt.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make8 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make6 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make8();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make8, OllamaPlugin2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-se016j3a.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-61ennm6n.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
14
|
Service79,
|
|
15
15
|
node83,
|
|
16
16
|
Event17
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-hzs6scc7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node86
|
|
21
|
+
} from "./file-retention-gqqeyx1x.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -594,7 +594,7 @@ function index(providerID, models) {
|
|
|
594
594
|
var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
595
595
|
const bus = yield* Service85;
|
|
596
596
|
const integrations = yield* Service79;
|
|
597
|
-
const location = yield*
|
|
597
|
+
const location = yield* Service82;
|
|
598
598
|
const state = create3({
|
|
599
599
|
name: "provider",
|
|
600
600
|
initial: () => new Map,
|
|
@@ -722,7 +722,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
722
722
|
snapshot
|
|
723
723
|
});
|
|
724
724
|
}));
|
|
725
|
-
var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83,
|
|
725
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83, node86] });
|
|
726
726
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
727
727
|
const module = yield* Effect2.tryPromise({
|
|
728
728
|
try: () => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-vjbmgwyr.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-myztnk54.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-034tev2y.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { blob, sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-204s3925.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service68,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node71
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service68 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service68.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node71 = makeLocationNode({
|
|
143
|
+
service: Service68,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service68, node71, exports_tool_output2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./file-retention-0evwtgv8.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info28,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref5,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service82,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node86,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info28, Ref as Ref5, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service82 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node86 = LayerNode.unbound(Service82, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service83;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service82.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service82,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node87]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info28, Ref5, response2, Service82, node86, boundNode2, exports_location };
|