@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,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event9,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
|
+
Service: () => Service50,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured6,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer19,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node52,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event9 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service50 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service50.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service50.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service50).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service50, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured6(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service50, layer: layer19(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node52 = configured6();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event9, hasNativeBinding2, Native3, Options7, Service50, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured6, node52, exports_watcher };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./generate-ttm2705a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service60,
|
|
6
|
+
Event12
|
|
7
|
+
} from "./generate-gyecctkc.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin2,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin2 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service82;
|
|
24
|
+
const wellknown = yield* Service60;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin48 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin2, exports_plugin };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./generate-gv35t99p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./generate-s4qtke3p.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-a725016h.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service49;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make3(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID9.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make7();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make7, VLLMPlugin2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
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
|
+
Service41,
|
|
11
|
+
node43
|
|
12
|
+
} from "./generate-vqfzq50h.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node80
|
|
20
|
+
} from "./generate-1w2rgvgc.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-qwasgp8v.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service44,
|
|
26
|
+
node46
|
|
27
|
+
} from "./generate-rj4tp187.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError8
|
|
33
|
+
} from "./generate-5k92hdxp.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./generate-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service38
|
|
39
|
+
} from "./generate-hn57h045.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service56,
|
|
42
|
+
node58
|
|
43
|
+
} from "./generate-2gjqtbpb.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service39,
|
|
48
|
+
node41,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./generate-6vd6cxtp.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service37,
|
|
53
|
+
node40
|
|
54
|
+
} from "./generate-gzj5kv74.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node22
|
|
57
|
+
} from "./generate-cg8mw5ap.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./generate-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service18,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node21
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service18 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service76;
|
|
92
|
+
const locations = yield* Service44;
|
|
93
|
+
const store = yield* Service56;
|
|
94
|
+
const execution = yield* Service37;
|
|
95
|
+
const instances = yield* Service41;
|
|
96
|
+
const admission = yield* Service39;
|
|
97
97
|
const database = yield* Service83;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service82;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError8({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service38.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service18.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node21 = makeGlobalNode({
|
|
167
|
+
service: Service18,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node80,
|
|
173
|
+
node46,
|
|
174
|
+
node58,
|
|
175
|
+
node40,
|
|
176
|
+
node43,
|
|
177
|
+
node41,
|
|
178
178
|
node87,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
node86,
|
|
180
|
+
node22
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service18, node21, exports_move };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service81,
|
|
3
|
-
node85
|
|
4
|
-
} from "./snapshot-m9a8nbc6.js";
|
|
5
1
|
import {
|
|
6
2
|
Service82,
|
|
7
3
|
node86
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./generate-ttm2705a.js";
|
|
5
|
+
import {
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./generate-cnvnzs5z.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node79
|
|
12
|
+
} from "./generate-qwasgp8v.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-phz3h32g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service50,
|
|
18
|
+
node52
|
|
19
|
+
} from "./generate-7etmzzkb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node18
|
|
22
|
+
} from "./generate-qb623j79.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service10,
|
|
25
|
+
node12
|
|
26
|
+
} from "./generate-djszqvmq.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher2 = {};
|
|
33
33
|
__export(exports_location_watcher2, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service9,
|
|
36
|
+
node: () => node11
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service75;
|
|
47
|
+
const watcher = yield* Service50;
|
|
48
|
+
const bus = yield* Service82;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service77;
|
|
51
|
+
const policy = yield* Service10;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service9.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node11 = makeLocationNode({
|
|
106
|
+
service: Service9,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node52, FSUtil.node, node79, node81, node86, node18, node12]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service9, node11, exports_location_watcher2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-8krsydjn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./generate-ttm2705a.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./generate-9s7dwqjf.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID11,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-0fem12h8.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID10,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-p3nvtprr.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID11.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID11.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service82;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID10.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -197,7 +197,7 @@ var OpenAIPlugin2 = define({
|
|
|
197
197
|
});
|
|
198
198
|
});
|
|
199
199
|
yield* ctx.model.transform((models) => {
|
|
200
|
-
for (const model of models.list(
|
|
200
|
+
for (const model of models.list(ID10.openai)) {
|
|
201
201
|
models.update(model.providerID, model.id, (draft) => {
|
|
202
202
|
if (!chatgpt)
|
|
203
203
|
return;
|
|
@@ -225,9 +225,9 @@ var OpenAIPlugin2 = define({
|
|
|
225
225
|
evt.baseURL = codexBaseURL;
|
|
226
226
|
evt.headers.originator = "opencode";
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
|
-
}), { providerID:
|
|
228
|
+
}), { providerID: ID10.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(
|
|
230
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|