@opencode/core 0.0.0-dev-20372 → 0.0.0-dev-20374
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 +73 -73
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{variant-d6ckxx69.js → config-0bej2pvz.js} +24 -24
- package/dist/chunks/{variant-y5rf7nzv.js → config-0br3sbwn.js} +4 -4
- package/dist/chunks/{variant-n4kxjyck.js → config-0e5yaj3r.js} +10 -10
- package/dist/chunks/{variant-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-atkta16k.js → config-0wts2k1d.js} +10 -10
- package/dist/chunks/{variant-8mtsche6.js → config-0x16w539.js} +15 -15
- package/dist/chunks/{variant-2g5jhghd.js → config-0xs7r085.js} +19 -19
- package/dist/chunks/{variant-e48dy59j.js → config-122jbwwf.js} +10 -10
- package/dist/chunks/{variant-62km8dxc.js → config-1a6zec11.js} +16 -16
- package/dist/chunks/{variant-7gna5c8n.js → config-1aez1ya5.js} +9 -9
- package/dist/chunks/{variant-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-3pggvt0j.js → config-1esnndwb.js} +55 -55
- package/dist/chunks/{variant-ny80v0e5.js → config-1gdbey34.js} +39 -39
- package/dist/chunks/{variant-85q4aepn.js → config-1mxt4asb.js} +18 -18
- package/dist/chunks/{variant-56gdpj1q.js → config-1ygqh575.js} +9 -9
- package/dist/chunks/{variant-jt0cdax9.js → config-205535w4.js} +19 -19
- package/dist/chunks/{variant-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{variant-wctyn1yd.js → config-289a2xdr.js} +10 -10
- package/dist/chunks/{variant-29x78va6.js → config-29x78va6.js} +2 -2
- package/dist/chunks/{variant-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-g1zq6c5t.js → config-2bmndq8d.js} +8 -8
- package/dist/chunks/{variant-eazaj8zm.js → config-2q08japs.js} +10 -10
- package/dist/chunks/{variant-4fy5w545.js → config-315y6wz2.js} +30 -30
- package/dist/chunks/{variant-2n1gmqe4.js → config-36tt8nd9.js} +83 -83
- package/dist/chunks/{variant-7b0gcq8y.js → config-379kadg6.js} +6 -6
- package/dist/chunks/{variant-xxb5yp2r.js → config-3ad1hg7w.js} +17 -17
- package/dist/chunks/{variant-kyktj0vd.js → config-3c019r4e.js} +6 -6
- package/dist/chunks/{variant-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-ae0mvr76.js → config-3hsebfg3.js} +14 -14
- package/dist/chunks/{variant-nmpvqmkz.js → config-3jjmyz04.js} +19 -19
- package/dist/chunks/{variant-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-3w2b2yj4.js → config-3w0fmcng.js} +5 -5
- package/dist/chunks/{variant-3zsf4n22.js → config-3zsf4n22.js} +1 -1
- package/dist/chunks/config-45th5jwr.js +18 -0
- package/dist/chunks/{variant-70yg6272.js → config-4873453p.js} +4 -4
- package/dist/chunks/{variant-ddsdkq46.js → config-4jbaqm9j.js} +10 -10
- package/dist/chunks/{variant-87yf3k10.js → config-4kbfjken.js} +17 -17
- package/dist/chunks/{variant-n2cj49gr.js → config-4nn6b740.js} +18 -18
- package/dist/chunks/{variant-axp4ehpq.js → config-4ns3h2re.js} +6 -6
- package/dist/chunks/{variant-d4smwwym.js → config-4th2rfym.js} +15 -15
- package/dist/chunks/{variant-pr5z6zw1.js → config-4w6gj20h.js} +20 -20
- package/dist/chunks/{variant-mn20a28a.js → config-4wgjrr7k.js} +11 -11
- package/dist/chunks/{variant-pvjkbgva.js → config-4wygrt13.js} +42 -42
- package/dist/chunks/{variant-2vp5pa6w.js → config-4z5d6mvx.js} +9 -9
- package/dist/chunks/{variant-hregzj16.js → config-50fm6a3e.js} +6 -6
- package/dist/chunks/{variant-2zw9n7tq.js → config-50vwkdew.js} +5 -5
- package/dist/chunks/{variant-y36wtsda.js → config-52tt7m3x.js} +20 -20
- package/dist/chunks/{variant-wxbsw7ds.js → config-53w9s50f.js} +32 -32
- package/dist/chunks/{variant-r94pvvab.js → config-54ma36ye.js} +4 -4
- package/dist/chunks/{variant-54tcyq79.js → config-54tcyq79.js} +2 -2
- package/dist/chunks/{variant-3nxb9rvh.js → config-57ez7d0k.js} +9 -9
- package/dist/chunks/config-583qe7f6.js +26 -0
- package/dist/chunks/{variant-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-5dkn69vz.js → config-5dkn69vz.js} +1 -1
- package/dist/chunks/{variant-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-0z6w7vfv.js → config-607q5haz.js} +12 -12
- package/dist/chunks/{variant-h6grdpx5.js → config-60bkde8e.js} +1 -1
- package/dist/chunks/{variant-n573qmgj.js → config-63k9yk1c.js} +18 -18
- package/dist/chunks/{variant-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{variant-8qw5y3w0.js → config-6ce9hca4.js} +27 -27
- package/dist/chunks/{variant-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-0kspwvnw.js → config-7173vtq7.js} +11 -11
- package/dist/chunks/{variant-9sdmmrsv.js → config-74q11y06.js} +17 -17
- package/dist/chunks/{variant-et7kz6tz.js → config-79mkp39e.js} +4 -4
- package/dist/chunks/{variant-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-rkprpv83.js → config-7fkffz83.js} +4 -4
- package/dist/chunks/{variant-0gd94zzm.js → config-7gm4eydx.js} +32 -32
- package/dist/chunks/{variant-4k6n9g4c.js → config-7jc02y3v.js} +15 -15
- package/dist/chunks/{variant-tdmq10p9.js → config-7naz71zv.js} +9 -9
- package/dist/chunks/{variant-4hvdhbnx.js → config-7pt32xw7.js} +22 -22
- package/dist/chunks/{variant-v4ese7a1.js → config-7vk6skb7.js} +7 -7
- package/dist/chunks/{variant-kx3pckx9.js → config-7wb1x11h.js} +27 -27
- package/dist/chunks/{variant-tcezcvh9.js → config-89znhe33.js} +4 -4
- package/dist/chunks/{variant-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-e6ffm9n6.js → config-967feggt.js} +34 -34
- package/dist/chunks/{variant-4ndrgjke.js → config-9cvftjvp.js} +3 -3
- package/dist/chunks/{variant-brt9jah9.js → config-9h7njw71.js} +10 -10
- package/dist/chunks/{variant-v29r5dxh.js → config-9mcf3g3g.js} +8 -8
- package/dist/chunks/{variant-jbjr1a4g.js → config-9wjnegnz.js} +6 -6
- package/dist/chunks/{variant-806j49yq.js → config-a2ew8a62.js} +4 -4
- package/dist/chunks/{variant-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-8w90ht67.js → config-aeg9cpnc.js} +3 -3
- package/dist/chunks/{variant-7w7akywm.js → config-aewkdnah.js} +1 -1
- package/dist/chunks/{variant-87w9rjbs.js → config-ajpyf72v.js} +13 -13
- package/dist/chunks/{variant-f9tc059h.js → config-an9mbdbq.js} +7 -7
- package/dist/chunks/{variant-bnce5nyz.js → config-ane1wqm5.js} +5 -5
- package/dist/chunks/{variant-9jbvj98d.js → config-aq5y8b9e.js} +8 -8
- package/dist/chunks/{variant-rt57yxy9.js → config-avh7tkx4.js} +30 -30
- package/dist/chunks/{variant-wnrjzy9x.js → config-ay2wwzfh.js} +32 -32
- package/dist/chunks/{variant-hg1zgbhz.js → config-ay6ep6bn.js} +20 -20
- package/dist/chunks/{variant-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-bf0ztrs3.js → config-bct739vz.js} +4 -4
- package/dist/chunks/{variant-j8fzfpja.js → config-bhq44mhz.js} +30 -30
- package/dist/chunks/{variant-bjtzbw4r.js → config-bjtzbw4r.js} +3 -3
- package/dist/chunks/{variant-q7azfttr.js → config-bk7jaeqh.js} +4 -4
- package/dist/chunks/{variant-zbxm9jeh.js → config-bvfjje8r.js} +3 -3
- package/dist/chunks/{variant-1fj499mb.js → config-c13ec2bm.js} +26 -26
- package/dist/chunks/{variant-szcd57v4.js → config-c5yejehj.js} +16 -16
- package/dist/chunks/{variant-vfj7nq5d.js → config-c7nmkvs5.js} +1 -1
- package/dist/chunks/{variant-embw8kgh.js → config-ca7w653e.js} +4 -4
- package/dist/chunks/{variant-hbq9f6js.js → config-cfgvpj2w.js} +18 -18
- package/dist/chunks/{variant-f73ybjh7.js → config-cp5pba35.js} +17 -17
- package/dist/chunks/{variant-2a7wdg4v.js → config-cpt9vg03.js} +4 -4
- package/dist/chunks/{variant-j7291mwb.js → config-csmw9zka.js} +32 -32
- package/dist/chunks/{variant-cpneeje0.js → config-cwa6csj7.js} +9 -9
- package/dist/chunks/{variant-r6ydwrf4.js → config-d18ae5tq.js} +14 -14
- package/dist/chunks/{variant-k529zw3j.js → config-d6fdn63k.js} +10 -10
- package/dist/chunks/{variant-5qvzk1yj.js → config-d9rxkay0.js} +12 -12
- package/dist/chunks/{variant-mx3q4n3q.js → config-dbh1y8gj.js} +32 -32
- package/dist/chunks/{variant-vmre2jg4.js → config-dbsncafn.js} +48 -48
- package/dist/chunks/{variant-p89spsbb.js → config-dgk9wpy7.js} +23 -23
- package/dist/chunks/{variant-068serwz.js → config-dnxkq42g.js} +4 -4
- package/dist/chunks/{variant-71rmpdgn.js → config-dpb1wfzr.js} +20 -20
- package/dist/chunks/{variant-y71avatq.js → config-dpkg50ah.js} +4 -4
- package/dist/chunks/{variant-ywycrh15.js → config-dpmbmm10.js} +6 -6
- package/dist/chunks/{variant-47rn6gb0.js → config-e6q37ddf.js} +6 -6
- package/dist/chunks/{variant-vsv7sdmx.js → config-e8gsefg3.js} +25 -25
- package/dist/chunks/{variant-3kgztc6t.js → config-ebpy8nrc.js} +8 -8
- package/dist/chunks/{variant-ecfe7b91.js → config-ecfe7b91.js} +2 -2
- package/dist/chunks/{variant-4j831yny.js → config-ed5eydsy.js} +10 -10
- package/dist/chunks/{variant-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-es91h3me.js → config-efnfb07c.js} +5 -5
- package/dist/chunks/{variant-6mcca16d.js → config-eh5djfab.js} +29 -29
- package/dist/chunks/{variant-kkzg2ynw.js → config-eheyfjv0.js} +13 -13
- package/dist/chunks/{variant-qc8sb4rh.js → config-endyd21g.js} +11 -11
- package/dist/chunks/{variant-t2kk3g7x.js → config-enfadc74.js} +10 -10
- package/dist/chunks/{variant-h2ajgn1n.js → config-erkdte22.js} +2 -2
- package/dist/chunks/{variant-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-yp2x3t23.js → config-f2n192rq.js} +4 -4
- package/dist/chunks/{variant-5b84avn1.js → config-f5gy8qwh.js} +8 -8
- package/dist/chunks/{variant-q46ssf5j.js → config-fa4y3891.js} +20 -20
- package/dist/chunks/{variant-rnme59tr.js → config-fyk6r02s.js} +13 -13
- package/dist/chunks/{variant-1gejjmw3.js → config-g4c7m3af.js} +12 -12
- package/dist/chunks/{variant-teab454v.js → config-g632r1v4.js} +25 -25
- package/dist/chunks/{variant-g97bb4fb.js → config-gafqwe43.js} +2 -2
- package/dist/chunks/{variant-h05g6xe8.js → config-gay90p96.js} +8 -8
- package/dist/chunks/{variant-fqdyy6sm.js → config-gct7tk6z.js} +44 -44
- package/dist/chunks/{variant-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-48tzm2ph.js → config-gfq6pea7.js} +9 -9
- package/dist/chunks/{variant-gfvb90ym.js → config-gfvb90ym.js} +2 -2
- package/dist/chunks/{variant-gj2s89ez.js → config-gk71qtn2.js} +34 -34
- package/dist/chunks/{variant-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-h5w29vws.js → config-h5w29vws.js} +1 -1
- package/dist/chunks/{variant-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-y4pjytj4.js → config-h8vq1q2v.js} +17 -17
- package/dist/chunks/{variant-kmtcrghh.js → config-hcqwrhkb.js} +9 -9
- package/dist/chunks/{variant-ey2hrnnb.js → config-hmbv37wn.js} +27 -27
- package/dist/chunks/{variant-f7gyqvt0.js → config-hrqezqan.js} +25 -25
- package/dist/chunks/{variant-d0jg236h.js → config-hthy74zy.js} +21 -21
- package/dist/chunks/{variant-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-h896pcm5.js → config-j5w2yx54.js} +6 -6
- package/dist/chunks/{variant-hc44n39y.js → config-jenj01x5.js} +4 -4
- package/dist/chunks/{variant-9zwz4k1k.js → config-jgyxd05d.js} +28 -28
- package/dist/chunks/{variant-65p8m1k1.js → config-jq6565xn.js} +6 -6
- package/dist/chunks/{variant-kpn9nq0z.js → config-jxwmrnwr.js} +14 -14
- package/dist/chunks/{variant-6zt0h112.js → config-k4prt2gq.js} +3 -3
- package/dist/chunks/{variant-nb1p4pag.js → config-ke35bj3e.js} +20 -20
- package/dist/chunks/{variant-2d57kztd.js → config-kmkwybff.js} +4 -4
- package/dist/chunks/{variant-zfhqb797.js → config-kptdj79q.js} +18 -18
- package/dist/chunks/{variant-bdz95zvh.js → config-kypck4da.js} +2 -2
- package/dist/chunks/{variant-kad49353.js → config-m2tcdgpb.js} +20 -20
- package/dist/chunks/{variant-m3fdjcah.js → config-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-7ctqryvn.js → config-m8pkww8z.js} +21 -21
- package/dist/chunks/{variant-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-jzmgtvpv.js → config-mb0btmem.js} +1 -1
- package/dist/chunks/{variant-3x92tbk7.js → config-mcpgndgk.js} +18 -18
- package/dist/chunks/{variant-x8a6wpb1.js → config-mee471n8.js} +43 -43
- package/dist/chunks/{variant-1bbkgx8g.js → config-mhkvc446.js} +3 -3
- package/dist/chunks/{variant-mymamrwc.js → config-mpss729k.js} +23 -23
- package/dist/chunks/{variant-w3x9v1nk.js → config-ms93yq6r.js} +4 -4
- package/dist/chunks/{variant-8jven2n2.js → config-mws1mbkn.js} +35 -35
- package/dist/chunks/{variant-ezt1fayp.js → config-mxfq3xb0.js} +11 -11
- package/dist/chunks/{variant-hgnbbj2y.js → config-n0xbx8qm.js} +17 -17
- package/dist/chunks/{variant-9p0j5mea.js → config-n21gjbtg.js} +1 -1
- package/dist/chunks/{variant-nbxc6t3j.js → config-n2rqx0tz.js} +19 -19
- package/dist/chunks/{variant-08c80brh.js → config-n4ggt751.js} +31 -31
- package/dist/chunks/{variant-nsh6bg9r.js → config-n5qf5bvj.js} +32 -32
- package/dist/chunks/{variant-t5drd2as.js → config-n9cszgdb.js} +37 -37
- package/dist/chunks/{variant-zt2gqgtv.js → config-ne5mnvsh.js} +5 -5
- package/dist/chunks/{variant-kbv97wp6.js → config-nkgqzgmj.js} +11 -11
- package/dist/chunks/{variant-andkbq7d.js → config-nr9xegsg.js} +13 -13
- package/dist/chunks/{variant-nzks3jc8.js → config-nzks3jc8.js} +3 -3
- package/dist/chunks/{variant-6dsagjs4.js → config-p1kbtgj9.js} +69 -69
- package/dist/chunks/{variant-fvsyg6qk.js → config-p1nm93x7.js} +5 -5
- package/dist/chunks/{variant-67b3z620.js → config-p29z10kz.js} +13 -13
- package/dist/chunks/{variant-g0445xdp.js → config-p37cw4rj.js} +8 -8
- package/dist/chunks/{variant-ykheapvx.js → config-p3t2xyfc.js} +30 -30
- package/dist/chunks/{variant-w0b2a3fm.js → config-p42kjche.js} +163 -163
- package/dist/chunks/{variant-za6spyn2.js → config-pfsdbphp.js} +11 -11
- package/dist/chunks/{variant-b3a8kszw.js → config-pgk3wsbp.js} +17 -17
- package/dist/chunks/{variant-8tsdq50x.js → config-ph842b28.js} +4 -4
- package/dist/chunks/{variant-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{variant-kwj1jsh6.js → config-pr1366g1.js} +3 -3
- package/dist/chunks/{variant-6hjx5zpb.js → config-prq7hedt.js} +9 -9
- package/dist/chunks/{variant-psazpmmj.js → config-psazpmmj.js} +2 -2
- package/dist/chunks/{variant-ke4mst4x.js → config-pt6d0629.js} +15 -15
- package/dist/chunks/{variant-was7srj9.js → config-pw9v3g6d.js} +5 -5
- package/dist/chunks/{variant-gax48ajh.js → config-pwyb35gj.js} +11 -11
- package/dist/chunks/{variant-xk747vep.js → config-qg0jgkcp.js} +9 -9
- package/dist/chunks/{variant-7dqw4kz8.js → config-qgn6gcr1.js} +5 -5
- package/dist/chunks/{variant-h2g7v9ne.js → config-qp29vb3y.js} +11 -11
- package/dist/chunks/{variant-drwq78ky.js → config-qqeeq2t9.js} +7 -7
- package/dist/chunks/{variant-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-60zc7yxp.js → config-qzmeer5x.js} +44 -44
- package/dist/chunks/{variant-qy29ctvg.js → config-r4ep2csb.js} +8 -8
- package/dist/chunks/{variant-ap6gk3nq.js → config-r516hjgr.js} +7 -7
- package/dist/chunks/{variant-9v2ypmcd.js → config-r58nh0rd.js} +26 -26
- package/dist/chunks/{variant-6c98k2s5.js → config-r87ntddn.js} +25 -25
- package/dist/chunks/{variant-jyjh2bke.js → config-rcrfp1xj.js} +20 -20
- package/dist/chunks/{variant-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-8j3davhc.js → config-rffx3hs9.js} +20 -20
- package/dist/chunks/{variant-s0yyypsy.js → config-rgjx1tzk.js} +11 -11
- package/dist/chunks/{variant-eaj1djv9.js → config-rhjbct0v.js} +8 -8
- package/dist/chunks/{variant-2p623br6.js → config-rnx2ffb5.js} +5 -5
- package/dist/chunks/{variant-4zhd1ccs.js → config-rq4k5z9y.js} +14 -14
- package/dist/chunks/{variant-zd5rdewp.js → config-rq8hvppm.js} +8 -8
- package/dist/chunks/{variant-4yg4w68r.js → config-rt6edg2v.js} +51 -51
- package/dist/chunks/{variant-ap33jxad.js → config-rt7mzvcd.js} +24 -24
- package/dist/chunks/{variant-wn98xdrf.js → config-rv75ebrf.js} +9 -9
- package/dist/chunks/{variant-emq7ekq3.js → config-s4e7ddyy.js} +11 -11
- package/dist/chunks/{variant-s4enseaf.js → config-s4enseaf.js} +2 -2
- package/dist/chunks/{variant-e8ebx0kr.js → config-scqexk3r.js} +89 -89
- package/dist/chunks/{variant-vz1m17xn.js → config-she2g3s4.js} +24 -24
- package/dist/chunks/{variant-xf88zca5.js → config-sj9x4p0q.js} +8 -8
- package/dist/chunks/{variant-mtft99cd.js → config-sra9araw.js} +5 -5
- package/dist/chunks/{variant-p122ev2q.js → config-stmmdx9f.js} +17 -17
- package/dist/chunks/{variant-4z00c8em.js → config-sw75nab1.js} +35 -35
- package/dist/chunks/{variant-11645kck.js → config-sxe2jfzz.js} +9 -9
- package/dist/chunks/{variant-fjdcedvq.js → config-t7040byj.js} +14 -14
- package/dist/chunks/{variant-79zts6nw.js → config-ta2h439c.js} +16 -16
- package/dist/chunks/{variant-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{variant-edat5bw1.js → config-tfzma13m.js} +17 -17
- package/dist/chunks/{variant-5k7kxryx.js → config-tj2t611y.js} +17 -17
- package/dist/chunks/{variant-ra28fh9c.js → config-tjernm89.js} +37 -37
- package/dist/chunks/{variant-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-egdcwvah.js → config-v282bym9.js} +11 -11
- package/dist/chunks/{variant-5vwnyvt3.js → config-v33c1sxc.js} +39 -39
- package/dist/chunks/{variant-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-trc9xpfd.js → config-vewtf1rp.js} +9 -9
- package/dist/chunks/{variant-697fm79x.js → config-vgepzxbh.js} +4 -4
- package/dist/chunks/{variant-engkm2d6.js → config-vrpz8t5t.js} +5 -5
- package/dist/chunks/{variant-kk00bynn.js → config-vsp1fds9.js} +4 -4
- package/dist/chunks/{variant-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
- package/dist/chunks/{variant-84txncab.js → config-w1eejvng.js} +5 -5
- package/dist/chunks/{variant-2ty7hvph.js → config-w1ekvchw.js} +13 -13
- package/dist/chunks/{variant-73m34ham.js → config-w3nq1sqw.js} +9 -9
- package/dist/chunks/{variant-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-5epte933.js → config-w52wajpr.js} +3 -3
- package/dist/chunks/{variant-wr6gs73f.js → config-w7m0vxy1.js} +43 -43
- package/dist/chunks/{variant-j9x8xygm.js → config-w9789a56.js} +7 -7
- package/dist/chunks/{variant-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/config-ww1w8rs5.js +252 -0
- package/dist/chunks/{variant-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-jn1epm73.js → config-x5fvys69.js} +5 -5
- package/dist/chunks/{variant-x2pzmghr.js → config-x9ekvawh.js} +20 -20
- package/dist/chunks/{variant-n1847pdh.js → config-xbvxcxa7.js} +42 -42
- package/dist/chunks/{variant-dmqcgk4z.js → config-xkntkrq7.js} +5 -5
- package/dist/chunks/{variant-5yn6bn5k.js → config-xnrm019n.js} +7 -7
- package/dist/chunks/{variant-xe0jn6g3.js → config-xsxzmn3v.js} +8 -8
- package/dist/chunks/{variant-e30mydyk.js → config-xtsf53gz.js} +12 -12
- package/dist/chunks/{variant-g5agzp2h.js → config-xvp1j2dc.js} +5 -5
- package/dist/chunks/{variant-51ypgpaw.js → config-xyf6ftr9.js} +14 -14
- package/dist/chunks/{variant-n5g413rf.js → config-y0n5xry2.js} +28 -28
- package/dist/chunks/{variant-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-275yxcth.js → config-y1gyxn3e.js} +10 -10
- package/dist/chunks/{variant-zp0aa941.js → config-y5eyfaps.js} +23 -23
- package/dist/chunks/{variant-hsqkyegz.js → config-y889qgws.js} +4 -4
- package/dist/chunks/{variant-tfc387bw.js → config-y9hsb9xn.js} +2 -2
- package/dist/chunks/{variant-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-jz6w6egg.js → config-yxa19p70.js} +21 -21
- package/dist/chunks/{variant-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-8633vvkx.js → config-z75rat7k.js} +29 -29
- package/dist/chunks/{variant-te4w73y0.js → config-z7mtcp3b.js} +18 -18
- package/dist/chunks/{variant-m5wffc3v.js → config-z8ffer72.js} +317 -317
- package/dist/chunks/{variant-wfwvgfrn.js → config-zefqnety.js} +13 -13
- package/dist/chunks/{variant-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-3jj8c89y.js → config-zm8gmkem.js} +24 -24
- package/dist/chunks/{variant-exa0km9v.js → config-zq6wejh9.js} +24 -24
- package/dist/chunks/{variant-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-d8jbe81d.js → config-zrj607p1.js} +32 -32
- package/dist/chunks/{variant-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- 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 +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- 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 +13 -13
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- 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 +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/variant-3hycacbp.js +0 -252
- package/dist/chunks/variant-dwmtzppg.js +0 -26
- package/dist/chunks/variant-f81tjggh.js +0 -18
- /package/dist/chunks/{variant-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-34c7v6d4.js → config-34c7v6d4.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → config-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e3qxr5gk.js → config-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-79mkp39e.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-dnxkq42g.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ID14,
|
|
14
|
+
Service77,
|
|
15
|
+
node81,
|
|
16
16
|
Event18
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-bhq44mhz.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./config-pgk3wsbp.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./config-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
40
|
+
Event: () => Event17,
|
|
41
41
|
ID: () => ID13,
|
|
42
42
|
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
45
|
Request: () => Request3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service76,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node80,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,7 +64,7 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
67
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
68
|
var ID13 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -212,7 +212,7 @@ var Transport2 = Provider.Transport;
|
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
213
|
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service76 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
230
|
+
const integrations = yield* Service77;
|
|
231
|
+
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -347,7 +347,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
349
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
-
return
|
|
350
|
+
return Service76.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node87, node81, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service76, node80, exports_provider3, Event17 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
8
|
Service: () => Service44,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node46
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service44, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node46 = makeGlobalNode({ service: Service44, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export { Service44,
|
|
31
|
+
export { Service44, node46, exports_environment };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-79mkp39e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node67
|
|
7
|
+
} from "./config-4nn6b740.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service9,
|
|
10
|
+
node11
|
|
11
|
+
} from "./config-hmbv37wn.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./config-45th5jwr.js";
|
|
15
15
|
import {
|
|
16
16
|
node19,
|
|
17
17
|
ID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-ta2h439c.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service4,
|
|
21
|
+
node5
|
|
22
|
+
} from "./config-p37cw4rj.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./config-z8ffer72.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make6,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-rq8hvppm.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service2,
|
|
35
|
+
node3
|
|
36
|
+
} from "./config-4jbaqm9j.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service3,
|
|
39
|
+
node4
|
|
40
|
+
} from "./config-prq7hedt.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
49
|
layer: () => layer3,
|
|
50
|
-
node: () =>
|
|
50
|
+
node: () => node2
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -126,13 +126,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
128
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
-
const registry = yield*
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
129
|
+
const registry = yield* Service20;
|
|
130
|
+
const sdk = yield* Service2;
|
|
131
|
+
const instance = yield* Service4;
|
|
132
|
+
const sources = yield* Service9;
|
|
133
|
+
const modules = yield* make6();
|
|
134
134
|
const bus = yield* Service83;
|
|
135
|
-
const updates = yield*
|
|
135
|
+
const updates = yield* Service3;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -208,13 +208,13 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
210
|
node19,
|
|
211
|
-
|
|
212
|
-
node6,
|
|
213
|
-
node4,
|
|
211
|
+
node3,
|
|
214
212
|
node5,
|
|
213
|
+
node11,
|
|
214
|
+
node4,
|
|
215
215
|
node87,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node67,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export { layer3,
|
|
227
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-79mkp39e.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-dnxkq42g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./config-p3t2xyfc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./config-bhq44mhz.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./config-mpss729k.js";
|
|
17
17
|
import {
|
|
18
18
|
load2,
|
|
19
19
|
derive2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-2q08japs.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,7 +26,7 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service76;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-0e5yaj3r.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-79mkp39e.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./config-p3t2xyfc.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-dnxkq42g.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-bhq44mhz.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service14
|
|
21
|
+
} from "./config-f5gy8qwh.js";
|
|
22
22
|
import {
|
|
23
23
|
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./config-mpss729k.js";
|
|
27
27
|
import {
|
|
28
28
|
ID4,
|
|
29
|
-
|
|
29
|
+
Input14,
|
|
30
30
|
Response2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-z7mtcp3b.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/opencode.ts
|
|
34
34
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -96,7 +96,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
96
96
|
}
|
|
97
97
|
function oauth(http) {
|
|
98
98
|
return {
|
|
99
|
-
integrationID:
|
|
99
|
+
integrationID: ID14.make("opencode"),
|
|
100
100
|
method: {
|
|
101
101
|
id: methodID,
|
|
102
102
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var OpencodePlugin2 = define({
|
|
|
163
163
|
const bus = yield* Service83;
|
|
164
164
|
const client = yield* HttpClient.HttpClient;
|
|
165
165
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
166
|
-
const managed = yield*
|
|
166
|
+
const managed = yield* Service14;
|
|
167
167
|
const scope = yield* Scope.Scope;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -212,7 +212,7 @@ var OpencodePlugin2 = define({
|
|
|
212
212
|
providers.update(providerID, (provider) => {
|
|
213
213
|
if (source && source.provider !== provider)
|
|
214
214
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
215
|
-
provider.integrationID =
|
|
215
|
+
provider.integrationID = ID14.make("opencode");
|
|
216
216
|
if (item.canonical !== undefined)
|
|
217
217
|
provider.canonical = item.canonical;
|
|
218
218
|
if (item.name !== undefined)
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
329
329
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
330
330
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
331
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
331
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
332
332
|
query: input.query,
|
|
333
333
|
providerID: descriptor.providerID
|
|
334
334
|
}));
|
|
@@ -386,7 +386,7 @@ var OpencodePlugin2 = define({
|
|
|
386
386
|
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
387
387
|
});
|
|
388
388
|
yield* guard(snapshot);
|
|
389
|
-
yield* bus.subscribe(
|
|
389
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
390
390
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
391
391
|
})
|
|
392
392
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
|
+
Service: () => Service75,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node79,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service75 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve4(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve4.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service75.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured11(options) {
|
|
210
|
+
return makeLocationNode({ service: Service75, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node79 = configured11();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options10, Service75, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured11, node79, exports_select };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service80
|
|
8
|
+
} from "./config-pgk3wsbp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service72
|
|
11
|
+
} from "./config-rt7mzvcd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./config-4th2rfym.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service16,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-fyk6r02s.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service55
|
|
22
|
+
} from "./config-w7m0vxy1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service13,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./config-mcpgndgk.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./config-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
39
|
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
41
|
Plugin: () => Plugin25,
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
42
|
+
name: () => name8,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name8 = "patch";
|
|
89
|
+
var Input8 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -100,7 +100,7 @@ var Output5 = Schema.Struct({
|
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
@@ -108,17 +108,17 @@ var toModelContent3 = (output) => [
|
|
|
108
108
|
var Plugin25 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service72;
|
|
112
|
+
const access = yield* Service13;
|
|
113
|
+
const fileMutation = yield* Service16;
|
|
114
|
+
const formatter = yield* Service15;
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const permission = yield* Service55;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name8,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
121
|
+
input: Input8,
|
|
122
122
|
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
@@ -266,7 +266,7 @@ var Plugin25 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name8, Input8, Applied2, Output5, toModelContent5, Plugin25, exports_patch };
|