@opencode/core 0.0.0-dev-19911 → 0.0.0-dev-19915
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{snapshot-qxnm76dc.js → generate-006zyfbw.js} +11 -11
- package/dist/chunks/{snapshot-0z1gmn2q.js → generate-020j3mp2.js} +6 -6
- package/dist/chunks/{snapshot-hkedn9gj.js → generate-025avdj6.js} +25 -25
- package/dist/chunks/{snapshot-mgp54d0b.js → generate-05xfxpq7.js} +5 -5
- package/dist/chunks/{snapshot-y2qs1p31.js → generate-08x19res.js} +29 -29
- package/dist/chunks/{snapshot-r9w3djhf.js → generate-0996nyz8.js} +5 -5
- package/dist/chunks/{snapshot-48adanj3.js → generate-0bxbewg9.js} +29 -29
- package/dist/chunks/{snapshot-mh1qkymb.js → generate-0en0hh3r.js} +4 -4
- package/dist/chunks/{snapshot-9etfqcq6.js → generate-0fem12h8.js} +28 -28
- package/dist/chunks/{snapshot-s8d7rejh.js → generate-0gdmqesm.js} +4 -4
- package/dist/chunks/{snapshot-723jqqe8.js → generate-0h7mncab.js} +41 -41
- package/dist/chunks/{snapshot-fcrkznn8.js → generate-0jwsre1p.js} +5 -5
- package/dist/chunks/{snapshot-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{snapshot-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
- package/dist/chunks/{snapshot-km6nrb6d.js → generate-0wd91se4.js} +11 -11
- package/dist/chunks/{snapshot-gf40en4q.js → generate-16f0abez.js} +32 -32
- package/dist/chunks/{snapshot-6d1vy48w.js → generate-17wbgvpj.js} +7 -7
- package/dist/chunks/{snapshot-j0d8z1fm.js → generate-1b1ysvrc.js} +35 -35
- package/dist/chunks/{snapshot-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{snapshot-hzq9xz76.js → generate-1ptm6hmd.js} +47 -47
- package/dist/chunks/{snapshot-26ppr2dg.js → generate-1swhfer2.js} +32 -32
- package/dist/chunks/{snapshot-qwqmmf4f.js → generate-1tsjn6cx.js} +5 -5
- package/dist/chunks/{snapshot-qjnggjk3.js → generate-1w2rgvgc.js} +43 -43
- package/dist/chunks/{snapshot-1ygqh575.js → generate-1ygqh575.js} +2 -2
- package/dist/chunks/{snapshot-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{snapshot-2402vzrj.js → generate-2402vzrj.js} +1 -1
- package/dist/chunks/{snapshot-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{snapshot-vfmbdkmd.js → generate-2gjqtbpb.js} +14 -14
- package/dist/chunks/{snapshot-2twd0hcx.js → generate-2km7m4mh.js} +32 -32
- package/dist/chunks/{snapshot-63kpjth9.js → generate-2q8c0gm7.js} +9 -9
- package/dist/chunks/{snapshot-0cahk45h.js → generate-34k4z2mf.js} +13 -13
- package/dist/chunks/{snapshot-90xjgha7.js → generate-39s7s8pm.js} +15 -15
- package/dist/chunks/{snapshot-dgfmtra8.js → generate-3f4vjzp5.js} +22 -22
- package/dist/chunks/{snapshot-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-b5pkf8k9.js → generate-3sstnap9.js} +15 -15
- package/dist/chunks/{snapshot-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-sfgq3cgq.js → generate-4137199z.js} +29 -29
- package/dist/chunks/{snapshot-nbjpwa4f.js → generate-467s6nxb.js} +11 -11
- package/dist/chunks/{snapshot-nwcwczvr.js → generate-468wfx9w.js} +28 -28
- package/dist/chunks/{snapshot-a37bxjft.js → generate-4bzdzhey.js} +6 -6
- package/dist/chunks/{snapshot-xqnjj423.js → generate-4gya7rk6.js} +15 -15
- package/dist/chunks/{snapshot-w8wkjymx.js → generate-4nqr3vv7.js} +53 -53
- package/dist/chunks/{snapshot-5pqs3yzm.js → generate-4wtgdyea.js} +8 -8
- package/dist/chunks/{snapshot-pj0sjbgk.js → generate-4x1pakvw.js} +25 -25
- package/dist/chunks/{snapshot-624zyddg.js → generate-50xhyj86.js} +18 -18
- package/dist/chunks/{snapshot-45jw24ds.js → generate-52w8ykvs.js} +10 -10
- package/dist/chunks/{snapshot-rdzsqw97.js → generate-537bw0gn.js} +3 -3
- package/dist/chunks/{snapshot-drjxn4mt.js → generate-56c5b5gd.js} +5 -5
- package/dist/chunks/{snapshot-5n8a4f8s.js → generate-5aqxh65v.js} +17 -17
- package/dist/chunks/{snapshot-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{snapshot-65jd754x.js → generate-5dqhbf4t.js} +5 -5
- package/dist/chunks/{snapshot-9epmzyvk.js → generate-5gygmtrp.js} +13 -13
- package/dist/chunks/{snapshot-phc8pspp.js → generate-5k92hdxp.js} +6 -6
- package/dist/chunks/{snapshot-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{snapshot-ma3yc5r6.js → generate-63m47ghd.js} +3 -3
- package/dist/chunks/{snapshot-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{snapshot-yjw22c5c.js → generate-66mcxdya.js} +7 -7
- package/dist/chunks/{snapshot-naw1tbqv.js → generate-67baksp2.js} +19 -19
- package/dist/chunks/{snapshot-q8cgqksh.js → generate-680r6an6.js} +9 -9
- package/dist/chunks/{snapshot-6anwy9fs.js → generate-6anwy9fs.js} +1 -1
- package/dist/chunks/{snapshot-172c54zz.js → generate-6b60be2p.js} +4 -4
- package/dist/chunks/{snapshot-n9hwvdtj.js → generate-6jcx2vqk.js} +5 -5
- package/dist/chunks/{snapshot-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{snapshot-eh6mc15a.js → generate-6vd6cxtp.js} +27 -27
- package/dist/chunks/{snapshot-wakn2wsr.js → generate-6x2rtf6n.js} +7 -7
- package/dist/chunks/{snapshot-a7ww4pt2.js → generate-6z4h7bb7.js} +11 -11
- package/dist/chunks/{snapshot-mhkvc446.js → generate-73tb2d7t.js} +3 -3
- package/dist/chunks/{snapshot-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-cz3v1cej.js → generate-7etmzzkb.js} +22 -22
- package/dist/chunks/{snapshot-tgxkatwb.js → generate-7hwhf7n5.js} +12 -12
- package/dist/chunks/{snapshot-8rryby26.js → generate-7n8gnwtg.js} +10 -10
- package/dist/chunks/{snapshot-nytcgn7j.js → generate-7raq9vyn.js} +58 -58
- package/dist/chunks/{snapshot-aq2wywq2.js → generate-80gttzr5.js} +32 -32
- package/dist/chunks/{snapshot-bzzpeszc.js → generate-81wr8hqp.js} +17 -17
- package/dist/chunks/{snapshot-6sw1ch82.js → generate-88adn62y.js} +20 -20
- package/dist/chunks/{snapshot-tcezcvh9.js → generate-89znhe33.js} +4 -4
- package/dist/chunks/{snapshot-00x4qneg.js → generate-8aaqm6qj.js} +4 -4
- package/dist/chunks/{snapshot-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{snapshot-k7fpbf2n.js → generate-8g6jyz2b.js} +17 -17
- package/dist/chunks/{snapshot-d7j1ga4e.js → generate-8k4wrnk2.js} +6 -6
- package/dist/chunks/{snapshot-mqwxc12a.js → generate-8krsydjn.js} +11 -11
- package/dist/chunks/{snapshot-m9x2k754.js → generate-8mnt8kwt.js} +17 -17
- package/dist/chunks/{snapshot-b8mpq6j4.js → generate-8n32ahfj.js} +27 -27
- package/dist/chunks/{snapshot-8p4f9s12.js → generate-8p4f9s12.js} +2 -2
- package/dist/chunks/{snapshot-h8mnccc2.js → generate-8s3794y9.js} +25 -25
- package/dist/chunks/{snapshot-3nhf0b0f.js → generate-8tqgka7y.js} +24 -24
- package/dist/chunks/{snapshot-r3mw3n99.js → generate-92c128b4.js} +2 -2
- package/dist/chunks/{snapshot-49s0wfnm.js → generate-9a43fp12.js} +17 -17
- package/dist/chunks/{snapshot-8j2p21x9.js → generate-9cck0fs0.js} +3 -3
- package/dist/chunks/{snapshot-0nk9z11r.js → generate-9e6qvnjr.js} +3 -3
- package/dist/chunks/{snapshot-emx3b1zn.js → generate-9f95htjy.js} +6 -6
- package/dist/chunks/{snapshot-mn9sycxr.js → generate-9j0bgnvq.js} +18 -18
- package/dist/chunks/{snapshot-a7mdkq3p.js → generate-9mayah99.js} +28 -28
- package/dist/chunks/{snapshot-j0eqyxyf.js → generate-9np3zvmg.js} +5 -5
- package/dist/chunks/{snapshot-vnpbbx9v.js → generate-9qzpz6ej.js} +11 -11
- package/dist/chunks/{snapshot-mzamgxpq.js → generate-9s7dwqjf.js} +31 -31
- package/dist/chunks/{snapshot-a1bz86dw.js → generate-a1bz86dw.js} +3 -3
- package/dist/chunks/{snapshot-hsnmzj8s.js → generate-a4140sej.js} +43 -43
- package/dist/chunks/{snapshot-dgf8fvr8.js → generate-a5gjdttc.js} +28 -28
- package/dist/chunks/{snapshot-tfch9n9x.js → generate-a725016h.js} +6 -6
- package/dist/chunks/{snapshot-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{snapshot-y070d939.js → generate-aefrgm9z.js} +5 -5
- package/dist/chunks/{snapshot-ad9apwst.js → generate-ahk33sx3.js} +24 -24
- package/dist/chunks/{snapshot-pzd9m7k8.js → generate-b01c3z2q.js} +8 -8
- package/dist/chunks/{snapshot-gcqf8jk1.js → generate-b2jrkcgy.js} +12 -12
- package/dist/chunks/{snapshot-5twwxv4s.js → generate-b4pq521n.js} +27 -27
- package/dist/chunks/{snapshot-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{snapshot-2gbsvbx5.js → generate-ba4w6g48.js} +12 -12
- package/dist/chunks/{snapshot-8fpnzef2.js → generate-bab96271.js} +22 -22
- package/dist/chunks/{snapshot-k2en61s1.js → generate-bcpk7r0m.js} +6 -6
- package/dist/chunks/{snapshot-7s9mzm64.js → generate-bfemdc8w.js} +13 -13
- package/dist/chunks/{snapshot-30g8pqj5.js → generate-bk82wy0q.js} +15 -15
- package/dist/chunks/{snapshot-ff0svapt.js → generate-bry9ga0b.js} +2 -2
- package/dist/chunks/{snapshot-jw80jp6b.js → generate-cavr175a.js} +4 -4
- package/dist/chunks/{snapshot-cfpkc3c9.js → generate-cfpkc3c9.js} +2 -2
- package/dist/chunks/{snapshot-jm7rc1qj.js → generate-cg8mw5ap.js} +19 -19
- package/dist/chunks/{snapshot-607q5haz.js → generate-cnvnzs5z.js} +12 -12
- package/dist/chunks/{snapshot-ebkn7tnf.js → generate-cs075kwz.js} +11 -11
- package/dist/chunks/{snapshot-r4xvkvzr.js → generate-ct9qn75j.js} +16 -16
- package/dist/chunks/{snapshot-zk7hjewm.js → generate-ctwst137.js} +44 -44
- package/dist/chunks/{snapshot-kck1xgk1.js → generate-cwem3g1g.js} +5 -5
- package/dist/chunks/{snapshot-hfm903zf.js → generate-cypq54sk.js} +26 -26
- package/dist/chunks/{snapshot-6bsje7ws.js → generate-czmjnx84.js} +3 -3
- package/dist/chunks/{snapshot-dj9sq318.js → generate-dj9sq318.js} +2 -2
- package/dist/chunks/{snapshot-cwa6csj7.js → generate-djszqvmq.js} +9 -9
- package/dist/chunks/{snapshot-5yzzbxa7.js → generate-dv1qgsyq.js} +8 -8
- package/dist/chunks/{snapshot-pnz7nghh.js → generate-dx7v3b91.js} +15 -15
- package/dist/chunks/{snapshot-x9thrr1w.js → generate-dzpn4m2j.js} +6 -6
- package/dist/chunks/{snapshot-h6r3nrb9.js → generate-ebe9bak5.js} +4 -4
- package/dist/chunks/{snapshot-v4jw97dc.js → generate-ec87kc5z.js} +4 -4
- package/dist/chunks/{snapshot-m5j2kpqk.js → generate-ed737rsr.js} +18 -18
- package/dist/chunks/{snapshot-5j2nex8k.js → generate-eev6jqyc.js} +12 -12
- package/dist/chunks/{snapshot-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-8e1b1gzh.js → generate-eq20ba7x.js} +6 -6
- package/dist/chunks/{snapshot-nedq17xz.js → generate-eqnqgvn0.js} +17 -17
- package/dist/chunks/{snapshot-n04t6nrv.js → generate-er20hz79.js} +33 -33
- package/dist/chunks/{snapshot-erw5rpbs.js → generate-erw5rpbs.js} +2 -2
- package/dist/chunks/{snapshot-7azymjpy.js → generate-et344232.js} +11 -11
- package/dist/chunks/{snapshot-94n8x2pm.js → generate-et8hxw0a.js} +10 -10
- package/dist/chunks/{snapshot-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{snapshot-tt07q8xz.js → generate-ev47vst9.js} +18 -18
- package/dist/chunks/{snapshot-5vvej3cv.js → generate-ewv48zmm.js} +88 -88
- package/dist/chunks/{snapshot-rhraev7y.js → generate-f2n192rq.js} +4 -4
- package/dist/chunks/{snapshot-f828m53h.js → generate-f828m53h.js} +2 -2
- package/dist/chunks/{snapshot-6rybd781.js → generate-fch79rh9.js} +1 -1
- package/dist/chunks/{snapshot-xqwp91h3.js → generate-fdmdcz0h.js} +23 -23
- package/dist/chunks/{snapshot-mgrm5cv4.js → generate-fetmcry8.js} +11 -11
- package/dist/chunks/{snapshot-bg53drgn.js → generate-fgrsbrs2.js} +17 -17
- package/dist/chunks/{snapshot-fhs97t90.js → generate-fhs97t90.js} +2 -2
- package/dist/chunks/{snapshot-hbyhqfhs.js → generate-fhz5gfgy.js} +5 -5
- package/dist/chunks/{snapshot-c39jsbcn.js → generate-fj02ctk5.js} +22 -22
- package/dist/chunks/{snapshot-d2157car.js → generate-fjkt0sjh.js} +93 -93
- package/dist/chunks/{snapshot-svbn7smg.js → generate-fmvs6bfp.js} +1 -1
- package/dist/chunks/{snapshot-r5zgs4xn.js → generate-fnwyw2er.js} +28 -28
- package/dist/chunks/{snapshot-w6fvq6r8.js → generate-fs7vq6tk.js} +10 -10
- package/dist/chunks/{snapshot-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
- package/dist/chunks/{snapshot-46zm72w0.js → generate-fygh9jmr.js} +40 -40
- package/dist/chunks/{snapshot-mksgfzgs.js → generate-fystd85k.js} +8 -8
- package/dist/chunks/{snapshot-m9d03vsf.js → generate-g8jasmdt.js} +8 -8
- package/dist/chunks/{snapshot-1g29fh3f.js → generate-gbf09wq5.js} +16 -16
- package/dist/chunks/{snapshot-fk7pz3cy.js → generate-gc9j7k3x.js} +24 -24
- package/dist/chunks/{snapshot-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{snapshot-y7bkpsz5.js → generate-gtg525qf.js} +23 -23
- package/dist/chunks/{snapshot-vy8smdsx.js → generate-gv35t99p.js} +31 -31
- package/dist/chunks/{snapshot-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
- package/dist/chunks/{snapshot-c8ey3qa9.js → generate-gx16nh21.js} +4 -4
- package/dist/chunks/{snapshot-tzs8kqev.js → generate-gxqczrrk.js} +16 -16
- package/dist/chunks/{snapshot-z4ryv47y.js → generate-gyecctkc.js} +23 -23
- package/dist/chunks/{snapshot-ced6kcvk.js → generate-gzj5kv74.js} +41 -41
- package/dist/chunks/{snapshot-gq7he4kw.js → generate-h3pyx580.js} +32 -32
- package/dist/chunks/{snapshot-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-v24dc41g.js → generate-h8yerwe6.js} +54 -54
- package/dist/chunks/{snapshot-3nz1v3re.js → generate-hjkhkj6y.js} +5 -5
- package/dist/chunks/{snapshot-zee1rnkq.js → generate-hn57h045.js} +4 -4
- package/dist/chunks/{snapshot-ma8rz1b3.js → generate-hym83zep.js} +9 -9
- package/dist/chunks/{snapshot-7ag4nb16.js → generate-j2s4fcjm.js} +37 -37
- package/dist/chunks/{snapshot-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{snapshot-mebkexss.js → generate-je62fjgn.js} +13 -13
- package/dist/chunks/{snapshot-4t78hymw.js → generate-jm843vy5.js} +27 -27
- package/dist/chunks/{snapshot-4e8vs6eh.js → generate-jvnghvnw.js} +8 -8
- package/dist/chunks/{snapshot-pxz7cyvr.js → generate-jw5e50e7.js} +4 -4
- package/dist/chunks/{snapshot-9kfebp52.js → generate-k7zzwya2.js} +26 -26
- package/dist/chunks/{snapshot-fzm81a6m.js → generate-kenng7k5.js} +8 -8
- package/dist/chunks/{snapshot-3hfbp1j6.js → generate-khhfmx5f.js} +11 -11
- package/dist/chunks/{snapshot-7bqvh5f8.js → generate-kjktbwf3.js} +5 -5
- package/dist/chunks/{snapshot-kts1zzak.js → generate-kt71pmwz.js} +41 -41
- package/dist/chunks/{snapshot-q9cq7v4d.js → generate-kwqhvt42.js} +18 -18
- package/dist/chunks/{snapshot-pnxdc0kd.js → generate-m22w3jkd.js} +32 -32
- package/dist/chunks/{snapshot-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{snapshot-bpnypz4k.js → generate-m4p4mhce.js} +18 -18
- package/dist/chunks/{snapshot-a1zeg3jw.js → generate-m5r3e6sc.js} +11 -11
- package/dist/chunks/{snapshot-vvxj9t5p.js → generate-m9k0wbax.js} +37 -37
- package/dist/chunks/{snapshot-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-rsdf2nvv.js → generate-mfhfdr54.js} +4 -4
- package/dist/chunks/{snapshot-r31f3mt7.js → generate-mm9gyng9.js} +25 -25
- package/dist/chunks/{snapshot-5wxpt6m1.js → generate-mtpgkgh0.js} +9 -9
- package/dist/chunks/{snapshot-b3y340z6.js → generate-n4v58wv0.js} +4 -4
- package/dist/chunks/{snapshot-cq6kw089.js → generate-n7cnqe0p.js} +31 -31
- package/dist/chunks/{snapshot-zeyxjqbn.js → generate-ndzcbbvx.js} +8 -8
- package/dist/chunks/{snapshot-57ez7d0k.js → generate-nf3r8qb2.js} +9 -9
- package/dist/chunks/{snapshot-q85hyj5a.js → generate-nqyk3grw.js} +41 -41
- package/dist/chunks/{snapshot-k3c624dm.js → generate-nzks3jc8.js} +3 -3
- package/dist/chunks/{snapshot-vnhmmnjb.js → generate-p261ekdc.js} +21 -21
- package/dist/chunks/{snapshot-p28j5sbe.js → generate-p28j5sbe.js} +2 -2
- package/dist/chunks/{snapshot-n886nese.js → generate-p38k89q1.js} +309 -309
- package/dist/chunks/{snapshot-hmsbh1sb.js → generate-p3nvtprr.js} +33 -33
- package/dist/chunks/{snapshot-kyepgnfb.js → generate-pg7dzk1q.js} +21 -21
- package/dist/chunks/generate-phz3h32g.js +18 -0
- package/dist/chunks/{snapshot-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-d416vsnr.js → generate-pmzfczzx.js} +3 -3
- package/dist/chunks/{snapshot-b2qj0hc5.js → generate-ptjg6r5v.js} +8 -8
- package/dist/chunks/{snapshot-r9de1bmn.js → generate-ptzf6svk.js} +1 -1
- package/dist/chunks/{snapshot-qa3qhgw8.js → generate-qa3qhgw8.js} +1 -1
- package/dist/chunks/{snapshot-q59v9naq.js → generate-qb623j79.js} +20 -20
- package/dist/chunks/{snapshot-cfhxasza.js → generate-qb9204h6.js} +7 -7
- package/dist/chunks/{snapshot-3776p8sw.js → generate-qgsdwrdp.js} +11 -11
- package/dist/chunks/{snapshot-d4h1dsgp.js → generate-qk3skfh1.js} +3 -3
- package/dist/chunks/generate-qp2n6zp9.js +26 -0
- package/dist/chunks/{snapshot-xfkkasph.js → generate-qqeeq2t9.js} +7 -7
- package/dist/chunks/{snapshot-0q3v4fyv.js → generate-qra1vg7x.js} +71 -71
- package/dist/chunks/{snapshot-fzxx1z56.js → generate-qrcs80c4.js} +32 -32
- package/dist/chunks/{snapshot-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-e6hmchc5.js → generate-qte5z7bc.js} +5 -5
- package/dist/chunks/{snapshot-a2pzwxd2.js → generate-qwasgp8v.js} +16 -16
- package/dist/chunks/{snapshot-4sqwj1fj.js → generate-r09kcce2.js} +4 -4
- package/dist/chunks/{snapshot-8a9m2q6m.js → generate-r8572ydm.js} +31 -31
- package/dist/chunks/{snapshot-dzv3kmrh.js → generate-r90t3skp.js} +13 -13
- package/dist/chunks/{snapshot-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{snapshot-hkms5h5a.js → generate-rj4tp187.js} +9 -9
- package/dist/chunks/{snapshot-294av9h5.js → generate-rygtch4c.js} +10 -10
- package/dist/chunks/{snapshot-pvh61k00.js → generate-s1sn43f6.js} +22 -22
- package/dist/chunks/{snapshot-p8hy2xfv.js → generate-s4qtke3p.js} +49 -49
- package/dist/chunks/{snapshot-6bctew4d.js → generate-s6bwzk9r.js} +20 -20
- package/dist/chunks/{snapshot-wavy99wc.js → generate-s9na07f2.js} +11 -11
- package/dist/chunks/{snapshot-apn8f15b.js → generate-spt9fbav.js} +9 -9
- package/dist/chunks/{snapshot-341czked.js → generate-t19r84ws.js} +23 -23
- package/dist/chunks/{snapshot-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-d9wzmzc3.js → generate-tdpndm1c.js} +5 -5
- package/dist/chunks/{snapshot-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{snapshot-7fkrnyxq.js → generate-tjedn1bk.js} +4 -4
- package/dist/chunks/{snapshot-sbcdk7dq.js → generate-ttm1q0kg.js} +9 -9
- package/dist/chunks/{snapshot-m9a8nbc6.js → generate-ttm2705a.js} +12 -12
- package/dist/chunks/{snapshot-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{snapshot-9w0w0c1j.js → generate-txx9st8t.js} +4 -4
- package/dist/chunks/{snapshot-9zw6sq4y.js → generate-va4cvfc3.js} +20 -20
- package/dist/chunks/{snapshot-r98e92ep.js → generate-ve4pfa0n.js} +4 -4
- package/dist/chunks/{snapshot-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-hfdr1yjj.js → generate-vkxpz7g2.js} +4 -4
- package/dist/chunks/{snapshot-v6gb7zv2.js → generate-vqfzq50h.js} +6 -6
- package/dist/chunks/{snapshot-33vh1ta1.js → generate-vtq71d35.js} +36 -36
- package/dist/chunks/{snapshot-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{snapshot-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-hpjjptkf.js → generate-w4pr70gm.js} +11 -11
- package/dist/chunks/{snapshot-jz6s72fr.js → generate-wac2p1pk.js} +44 -44
- package/dist/chunks/{snapshot-xs3zfhx9.js → generate-wc0dzmvn.js} +7 -7
- package/dist/chunks/{snapshot-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-ty7d494y.js → generate-wktdcmn3.js} +15 -15
- package/dist/chunks/{snapshot-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/generate-x90gshdg.js +252 -0
- package/dist/chunks/{snapshot-ypk7b8cy.js → generate-xhyfjham.js} +7 -7
- package/dist/chunks/{snapshot-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-nb4jkd55.js → generate-y2a6ds97.js} +19 -19
- package/dist/chunks/{snapshot-dpkg50ah.js → generate-y71avatq.js} +4 -4
- package/dist/chunks/{snapshot-yb4td6hj.js → generate-y8tj7gpt.js} +34 -34
- package/dist/chunks/{snapshot-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{snapshot-yrznvahk.js → generate-yrznvahk.js} +2 -2
- package/dist/chunks/{snapshot-hkfg6fzm.js → generate-yt0fqk68.js} +5 -5
- package/dist/chunks/{snapshot-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-emp0rw8a.js → generate-z46y8a13.js} +17 -17
- package/dist/chunks/{snapshot-e3geph7p.js → generate-z4snjgfg.js} +22 -22
- package/dist/chunks/{snapshot-z63w68vq.js → generate-z63w68vq.js} +2 -2
- package/dist/chunks/{snapshot-2mzxbbne.js → generate-z78j2g86.js} +13 -13
- package/dist/chunks/{snapshot-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{snapshot-n1g72t29.js → generate-zhsvargz.js} +25 -25
- package/dist/chunks/{snapshot-44ke2mar.js → generate-zqx8wcya.js} +4 -4
- package/dist/chunks/{snapshot-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{snapshot-z88tvqv9.js → generate-zs994txj.js} +184 -184
- package/dist/chunks/{snapshot-q5rhn9x0.js → generate-zsnh4763.js} +13 -13
- package/dist/chunks/{snapshot-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- 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 +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/snapshot-9zdhvgqs.js +0 -18
- package/dist/chunks/snapshot-mvww34c5.js +0 -26
- package/dist/chunks/snapshot-qbk6x2f6.js +0 -252
- /package/dist/chunks/{snapshot-0mesazry.js → generate-0mesazry.js} +0 -0
- /package/dist/chunks/{snapshot-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-twg0f83k.js → generate-twg0f83k.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./generate-ttm2705a.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./generate-et8hxw0a.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event12,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service60,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node62,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service60 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event12 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service80;
|
|
81
|
+
const bus = yield* Service82;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event12.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service60.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event12.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event12.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node62 = makeGlobalNode({ service: Service60, layer, deps: [httpClient, node84, node86] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service60, Event12, inspect2, resolve3, node62, exports_wellknown };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-537bw0gn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./generate-ttm2705a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./generate-5aqxh65v.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service41,
|
|
15
|
+
node43
|
|
16
|
+
} from "./generate-vqfzq50h.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./generate-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service38
|
|
26
|
+
} from "./generate-hn57h045.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-5k92hdxp.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service56,
|
|
32
|
+
node58
|
|
33
|
+
} from "./generate-2gjqtbpb.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./generate-n4v58wv0.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./generate-6vd6cxtp.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./generate-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service37,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer16,
|
|
50
|
+
node: () => node40,
|
|
51
|
+
noopLayer: () => noopLayer2,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service37 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
68
|
+
var layer16 = Layer.effect(Service37, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service56;
|
|
70
|
+
const instances = yield* Service41;
|
|
71
|
+
const bus = yield* Service82;
|
|
72
|
+
const jobs = yield* Service78;
|
|
73
73
|
const db = (yield* Service83).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,14 +82,14 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make15({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service37.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node40 = makeGlobalNode({
|
|
133
|
+
service: Service37,
|
|
134
|
+
layer: layer16,
|
|
135
|
+
deps: [node58, node43, node86, node87, node82]
|
|
136
136
|
});
|
|
137
|
-
var
|
|
137
|
+
var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service59, Service59.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service37, terminal2, layer16, node40, noopLayer2, exports_execution };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node64
|
|
5
|
+
} from "./generate-8krsydjn.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-mfhfdr54.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service59,
|
|
12
|
+
node61
|
|
13
|
+
} from "./generate-jvnghvnw.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-4nqr3vv7.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-fetmcry8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./generate-8s3794y9.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service25,
|
|
25
|
+
node28
|
|
26
|
+
} from "./generate-s9na07f2.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make13
|
|
29
|
+
} from "./generate-qqeeq2t9.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./generate-fch79rh9.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./generate-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service24,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer10,
|
|
45
|
+
node: () => node27,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
|
|
|
66
66
|
return {
|
|
67
67
|
providerMetadataKey,
|
|
68
68
|
system: [
|
|
69
|
-
input.agent.system ? input.agent.system :
|
|
69
|
+
input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
|
|
70
70
|
input.initial
|
|
71
71
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
72
72
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer10 = Layer.effect(Service24, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service59;
|
|
157
|
+
const transport = yield* Service25;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -162,7 +162,7 @@ var layer13 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
162
162
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
163
163
|
const tools = input.tools ?? {
|
|
164
164
|
definitions: [],
|
|
165
|
-
execute: () => new
|
|
165
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
166
166
|
};
|
|
167
167
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
168
168
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -252,17 +252,17 @@ var layer13 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
252
252
|
};
|
|
253
253
|
});
|
|
254
254
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
255
|
-
return
|
|
255
|
+
return Service24.of({
|
|
256
256
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
257
257
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
258
258
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
259
259
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [
|
|
262
|
+
var node27 = makeLocationNode({
|
|
263
|
+
service: Service24,
|
|
264
|
+
layer: layer10,
|
|
265
|
+
deps: [node61, node28, node64]
|
|
266
266
|
});
|
|
267
267
|
|
|
268
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
268
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service24, layer10, node27, exports_model_request };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./generate-ttm2705a.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service68,
|
|
11
|
+
node71
|
|
12
|
+
} from "./generate-9s7dwqjf.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service75,
|
|
15
|
+
node79
|
|
16
|
+
} from "./generate-qwasgp8v.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service72,
|
|
19
|
+
node75
|
|
20
|
+
} from "./generate-ahk33sx3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service81,
|
|
24
|
+
node85
|
|
25
|
+
} from "./generate-cypq54sk.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID11,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service67,
|
|
34
|
+
node70
|
|
35
|
+
} from "./generate-0fem12h8.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./generate-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service28,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured3,
|
|
57
|
+
layer: () => layer13,
|
|
58
|
+
node: () => node31
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service28 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options3 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
104
|
+
var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service75;
|
|
106
|
+
const environment = yield* Service72;
|
|
107
|
+
const bus = yield* Service82;
|
|
108
|
+
const forms = yield* Service81;
|
|
109
|
+
const integration = yield* Service67;
|
|
110
|
+
const credentials = yield* Service68;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID11.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service68, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError4({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service68, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID18.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service72, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service28.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured3(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [
|
|
515
|
+
service: Service28,
|
|
516
|
+
layer: layer13(options),
|
|
517
|
+
deps: [node79, node75, node86, node85, node70, node71]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node31 = configured3();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service28, Options3, layer13, configured3, node31, exports_mcp4 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID11,
|
|
3
|
+
Service67
|
|
4
|
+
} from "./generate-0fem12h8.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service67;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID11.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|