@opencode/core 0.0.0-dev-20542 → 0.0.0-dev-20543
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{vcs-2cawvqkb.js → project-0g55zwm7.js} +15 -15
- package/dist/chunks/{vcs-ssh52gjb.js → project-0gwx0s3y.js} +7 -7
- package/dist/chunks/{vcs-444j15kp.js → project-0jpxnbhq.js} +48 -48
- package/dist/chunks/{vcs-p2r87vr4.js → project-0n46sy86.js} +20 -20
- package/dist/chunks/{vcs-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-hyr7mp4z.js → project-0q8sh0th.js} +27 -27
- package/dist/chunks/{vcs-6rb86tnz.js → project-0sdhkc62.js} +10 -10
- package/dist/chunks/{vcs-0vbcp93d.js → project-0vbcp93d.js} +2 -2
- package/dist/chunks/{vcs-5r69sf90.js → project-0vcy0dqe.js} +9 -9
- package/dist/chunks/{vcs-9hg28wmb.js → project-0vr031ak.js} +22 -22
- package/dist/chunks/{vcs-s2emygws.js → project-0xdtnkn7.js} +74 -74
- package/dist/chunks/{vcs-wc1gtajg.js → project-0y86tmwb.js} +6 -6
- package/dist/chunks/project-15z7v29d.js +507 -0
- package/dist/chunks/project-17rbdkmb.js +26 -0
- package/dist/chunks/{vcs-k7pz3erk.js → project-1byfy22e.js} +5 -5
- package/dist/chunks/{vcs-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-2zavndn1.js → project-1g91xc37.js} +35 -35
- package/dist/chunks/{vcs-qg3b25dp.js → project-1krrph0f.js} +8 -8
- package/dist/chunks/{vcs-bgs9y14h.js → project-1nwxscpy.js} +5 -5
- package/dist/chunks/{vcs-b4twkq7r.js → project-1p07q0wb.js} +8 -8
- package/dist/chunks/{vcs-x639pxmy.js → project-1p67y8r3.js} +9 -9
- package/dist/chunks/{vcs-gc9nvknh.js → project-211mfykw.js} +11 -11
- package/dist/chunks/{vcs-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-bkmkjhmh.js → project-2h27yszp.js} +28 -28
- package/dist/chunks/{vcs-2cf3b2jy.js → project-2kh1aj22.js} +5 -5
- package/dist/chunks/{vcs-r5wgqceq.js → project-321x2wtd.js} +6 -6
- package/dist/chunks/{vcs-v0emqez4.js → project-32vkyra5.js} +11 -11
- package/dist/chunks/{vcs-3cegwx68.js → project-3cegwx68.js} +2 -2
- package/dist/chunks/{vcs-94egvv51.js → project-3eyvdyep.js} +31 -31
- package/dist/chunks/{vcs-18b1etme.js → project-3fa318h0.js} +31 -31
- package/dist/chunks/{vcs-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-8v6pyhej.js → project-3hfr6h8q.js} +8 -8
- package/dist/chunks/{vcs-7nn43tqg.js → project-3j19qqn2.js} +23 -23
- package/dist/chunks/{vcs-nkr3xask.js → project-3sjtvdbx.js} +30 -30
- package/dist/chunks/{vcs-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-kty4dv98.js → project-3sxzqh52.js} +11 -11
- package/dist/chunks/{vcs-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-wrvch3jb.js → project-3vm18aej.js} +39 -39
- package/dist/chunks/{vcs-5vqrxjkm.js → project-3xme275p.js} +17 -17
- package/dist/chunks/{vcs-3zsf4n22.js → project-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-yf4fz14f.js → project-46f73qdr.js} +4 -4
- package/dist/chunks/{vcs-bw6j7p8n.js → project-48rqbhxp.js} +10 -10
- package/dist/chunks/{vcs-tbzahsjw.js → project-49wcxkwy.js} +18 -18
- package/dist/chunks/{vcs-drnf6xwf.js → project-4a2kvcyx.js} +2 -2
- package/dist/chunks/{vcs-m3drsj2y.js → project-4awpa7dh.js} +15 -15
- package/dist/chunks/{vcs-neg4rnba.js → project-4ertyhh0.js} +13 -13
- package/dist/chunks/{vcs-873yzq4y.js → project-4evz9yqf.js} +9 -9
- package/dist/chunks/{vcs-41vvr2y3.js → project-4hd8g1tz.js} +11 -11
- package/dist/chunks/{vcs-n1n192bv.js → project-4j4tgtq5.js} +4 -4
- package/dist/chunks/{vcs-89x1chzy.js → project-4nvv71eh.js} +24 -24
- package/dist/chunks/{vcs-fc6renp4.js → project-4q068m7q.js} +25 -25
- package/dist/chunks/{vcs-m6kqcfab.js → project-4qknpms9.js} +28 -28
- package/dist/chunks/{vcs-gp0zhvse.js → project-4rthrakj.js} +33 -33
- package/dist/chunks/{vcs-4ts7tf6z.js → project-4ts7tf6z.js} +2 -2
- package/dist/chunks/{vcs-633bc7gg.js → project-4vx6mmp0.js} +56 -56
- package/dist/chunks/{vcs-ay68nmfm.js → project-51qxj5j9.js} +17 -17
- package/dist/chunks/{vcs-mg2z0cw8.js → project-5415gst9.js} +24 -24
- package/dist/chunks/{vcs-g5w8qwbj.js → project-57b9ws8p.js} +7 -7
- package/dist/chunks/{vcs-cg8113cm.js → project-5c22wf1x.js} +12 -12
- package/dist/chunks/{vcs-qmqgtz8f.js → project-5d607bsg.js} +9 -9
- package/dist/chunks/{vcs-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{vcs-2namw3xg.js → project-6p4wgss2.js} +3 -3
- package/dist/chunks/{vcs-dfynq9y8.js → project-6zrpm0bg.js} +15 -15
- package/dist/chunks/{vcs-2aqmbtyj.js → project-72nc6h26.js} +27 -27
- package/dist/chunks/{vcs-7m6w379t.js → project-74v03xk0.js} +10 -10
- package/dist/chunks/{vcs-rt8vjvr0.js → project-75ybx9pn.js} +26 -26
- package/dist/chunks/{vcs-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-nw351ncq.js → project-7e51ymmz.js} +16 -16
- package/dist/chunks/{vcs-nqf1a8vv.js → project-7sx9qfrr.js} +16 -16
- package/dist/chunks/{vcs-84h8c373.js → project-84h8c373.js} +2 -2
- package/dist/chunks/{vcs-84txncab.js → project-84txncab.js} +1 -1
- package/dist/chunks/{vcs-tcezcvh9.js → project-89znhe33.js} +4 -4
- package/dist/chunks/{vcs-5mm51762.js → project-8b09fejn.js} +3 -3
- package/dist/chunks/{vcs-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-k1yszdcb.js → project-8hc5cg6f.js} +22 -22
- package/dist/chunks/{vcs-dxbe5etx.js → project-94kqdtyn.js} +13 -13
- package/dist/chunks/{vcs-f85drh53.js → project-95fkqa3s.js} +24 -24
- package/dist/chunks/{vcs-496rqfwn.js → project-9f4s7ma4.js} +12 -12
- package/dist/chunks/{vcs-d27eh3t3.js → project-9gx9s1ab.js} +36 -36
- package/dist/chunks/{vcs-jervv9x6.js → project-9mfnyqzm.js} +8 -8
- package/dist/chunks/{vcs-gwwtdvqe.js → project-9tf8jb29.js} +9 -9
- package/dist/chunks/{vcs-h86m2kqr.js → project-9z5pkfrq.js} +4 -4
- package/dist/chunks/{vcs-1wazn8nx.js → project-a4nv2jhc.js} +5 -5
- package/dist/chunks/{vcs-y4226ey0.js → project-aa9qtcsv.js} +6 -6
- package/dist/chunks/{vcs-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-zee1rnkq.js → project-afdssyjb.js} +4 -4
- package/dist/chunks/{vcs-mjqndqed.js → project-ajzen2r8.js} +12 -12
- package/dist/chunks/{vcs-cxqpwn2x.js → project-akaz640z.js} +8 -8
- package/dist/chunks/{vcs-j33nfkg3.js → project-aten89af.js} +6 -6
- package/dist/chunks/{vcs-bv6943e1.js → project-atg4533p.js} +1 -1
- package/dist/chunks/{vcs-sqz8vfts.js → project-awk83w3y.js} +11 -11
- package/dist/chunks/{vcs-5b5aj4v2.js → project-b1cqx2ed.js} +4 -4
- package/dist/chunks/{vcs-wecqtg5s.js → project-b3f8fkhc.js} +5 -5
- package/dist/chunks/{vcs-27n8va8w.js → project-b3yntd1n.js} +6 -6
- package/dist/chunks/{vcs-exp1wtcs.js → project-b4p31rnp.js} +11 -11
- package/dist/chunks/{vcs-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-kd8b8z06.js → project-b7fbchgy.js} +27 -27
- package/dist/chunks/{vcs-dv0smdjs.js → project-b9jvby5j.js} +15 -15
- package/dist/chunks/{vcs-h0thcbq2.js → project-bb65c4mp.js} +18 -18
- package/dist/chunks/{vcs-tta527dv.js → project-bn1j3jpq.js} +52 -52
- package/dist/chunks/{vcs-hnr8f6ws.js → project-bsqx64w4.js} +4 -4
- package/dist/chunks/{vcs-anrc0yrh.js → project-bsv8006t.js} +34 -34
- package/dist/chunks/{vcs-x3gqap9d.js → project-btbmdjwj.js} +4 -4
- package/dist/chunks/{vcs-my4zabxr.js → project-btfhnvjh.js} +3 -3
- package/dist/chunks/{vcs-9hwaqfsw.js → project-bx0gyb4h.js} +5 -5
- package/dist/chunks/{vcs-kd3y9bnn.js → project-bx29nwct.js} +11 -11
- package/dist/chunks/{vcs-dpzb953a.js → project-bxdb0phq.js} +32 -32
- package/dist/chunks/{vcs-2mn2xacz.js → project-c0rvhg7q.js} +20 -20
- package/dist/chunks/{vcs-1f73aaze.js → project-c7xkkk9f.js} +27 -27
- package/dist/chunks/{vcs-yrdkt02y.js → project-c9r5xmmk.js} +16 -16
- package/dist/chunks/{vcs-b82ykvfb.js → project-casv7ffj.js} +22 -22
- package/dist/chunks/{vcs-mq44vbk9.js → project-cd5v0x55.js} +21 -21
- package/dist/chunks/{vcs-s9xxw18e.js → project-cnb1p1jt.js} +9 -9
- package/dist/chunks/{vcs-cevjbcfc.js → project-cp5z20n4.js} +11 -11
- package/dist/chunks/{vcs-px4escs4.js → project-cxnb4521.js} +20 -20
- package/dist/chunks/{vcs-p29q1m0x.js → project-d48vtfkp.js} +10 -10
- package/dist/chunks/{vcs-p4mrt67q.js → project-dbdmbfdh.js} +18 -18
- package/dist/chunks/{vcs-krrt2pbg.js → project-de1wbeth.js} +8 -8
- package/dist/chunks/{vcs-kjfdeayr.js → project-dhtadd1m.js} +8 -8
- package/dist/chunks/{vcs-dpkg50ah.js → project-dpkg50ah.js} +1 -1
- package/dist/chunks/{vcs-032g16hx.js → project-dx5xb0f2.js} +11 -11
- package/dist/chunks/{vcs-wdmcq2dv.js → project-dzcjazgh.js} +18 -18
- package/dist/chunks/{vcs-0zf2vxyq.js → project-e6yhd6h5.js} +18 -18
- package/dist/chunks/{vcs-s8d7rejh.js → project-eaj1djv9.js} +6 -6
- package/dist/chunks/{vcs-2br74stp.js → project-ecwgt7wy.js} +4 -4
- package/dist/chunks/{vcs-qm0v3jhh.js → project-edrmdtr5.js} +4 -4
- package/dist/chunks/{vcs-egvvc6yq.js → project-eepsj9xm.js} +44 -44
- package/dist/chunks/{vcs-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-f2tpabag.js → project-esq9ahf4.js} +13 -13
- package/dist/chunks/{vcs-zwdj2e8h.js → project-estj264d.js} +16 -16
- package/dist/chunks/{vcs-tv7qhnrz.js → project-et6ps8sy.js} +34 -34
- package/dist/chunks/{vcs-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-78kb7271.js → project-ezx61htw.js} +13 -13
- package/dist/chunks/{vcs-f75zav2x.js → project-f75zav2x.js} +2 -2
- package/dist/chunks/{vcs-q0mxarp9.js → project-f7szz835.js} +22 -22
- package/dist/chunks/{vcs-vsz3x4t5.js → project-f9eyz112.js} +11 -11
- package/dist/chunks/{vcs-n7v4a6zs.js → project-fsp5pbrf.js} +22 -22
- package/dist/chunks/{vcs-m7b1awws.js → project-g6803b9c.js} +17 -17
- package/dist/chunks/{vcs-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-kyktj0vd.js → project-gnhsmmqn.js} +6 -6
- package/dist/chunks/{vcs-addxnjmp.js → project-gqtdsdt7.js} +4 -4
- package/dist/chunks/{vcs-5w6ne2rj.js → project-gr6b6mj1.js} +11 -11
- package/dist/chunks/{vcs-80ycrk5c.js → project-h0esbxhn.js} +8 -8
- package/dist/chunks/{vcs-sabta156.js → project-h0xaargc.js} +29 -29
- package/dist/chunks/{vcs-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-g31erja1.js → project-hb84g3y6.js} +9 -9
- package/dist/chunks/{vcs-ns3eape4.js → project-hd8vw2pw.js} +1 -1
- package/dist/chunks/{vcs-r7hw61av.js → project-hh2rhyy0.js} +3 -3
- package/dist/chunks/{vcs-gn3vc2fg.js → project-hvq7s315.js} +11 -11
- package/dist/chunks/{vcs-ta961bqk.js → project-hvsabrxs.js} +6 -6
- package/dist/chunks/{vcs-my9jbn68.js → project-hwk0dxk3.js} +5 -5
- package/dist/chunks/{vcs-r5x6zcsm.js → project-j028xdjb.js} +3 -3
- package/dist/chunks/{vcs-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-spf5hfz2.js → project-j6y1pw17.js} +86 -86
- package/dist/chunks/{vcs-76n77kwq.js → project-jd43yt6r.js} +20 -20
- package/dist/chunks/{vcs-26b9v9sx.js → project-jpdz6tyk.js} +93 -93
- package/dist/chunks/{vcs-mprmhdhs.js → project-jty7ch9v.js} +6 -6
- package/dist/chunks/{vcs-kb9j3d72.js → project-kb9j3d72.js} +3 -3
- package/dist/chunks/{vcs-zdkwvzrd.js → project-kcrq884e.js} +18 -18
- package/dist/chunks/{vcs-cevyjb4d.js → project-krt29t41.js} +7 -7
- package/dist/chunks/{vcs-ghsygkbs.js → project-ktbedybp.js} +56 -56
- package/dist/chunks/{vcs-8rr00yh2.js → project-kyck4gt1.js} +9 -9
- package/dist/chunks/{vcs-psc03azy.js → project-m0m93c5z.js} +11 -11
- package/dist/chunks/{vcs-1y283654.js → project-m0r31qfn.js} +4 -4
- package/dist/chunks/{vcs-aay714yp.js → project-m17jc1za.js} +12 -12
- package/dist/chunks/project-m2xs0gmc.js +253 -0
- package/dist/chunks/{vcs-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-2xxdjjs3.js → project-m6nxe9vm.js} +4 -4
- package/dist/chunks/{vcs-4a1ejpw3.js → project-m7wchrz5.js} +21 -21
- package/dist/chunks/{vcs-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-rez1pkj2.js → project-manc465r.js} +48 -48
- package/dist/chunks/{vcs-56gdpj1q.js → project-mfqp6xfm.js} +6 -6
- package/dist/chunks/{vcs-s3k1ghfx.js → project-mp0emv6a.js} +187 -187
- package/dist/chunks/{vcs-pm8f24c6.js → project-mq52pn8m.js} +8 -8
- package/dist/chunks/{vcs-wama9jpe.js → project-n2wa682s.js} +31 -31
- package/dist/chunks/{vcs-hk12qhj6.js → project-na6adhag.js} +30 -30
- package/dist/chunks/{vcs-5yz6eqax.js → project-ndbpsv5z.js} +45 -45
- package/dist/chunks/{vcs-gxft1d9m.js → project-nepkptgr.js} +10 -10
- package/dist/chunks/{vcs-v5xzwmgq.js → project-p0d3gpxt.js} +20 -20
- package/dist/chunks/{vcs-ygrdr60h.js → project-p0yccpp7.js} +16 -16
- package/dist/chunks/{vcs-k0zzshk0.js → project-p56ffcxf.js} +5 -5
- package/dist/chunks/{vcs-z2x2d8nb.js → project-p79ks9bf.js} +11 -11
- package/dist/chunks/{vcs-4k1naajh.js → project-pd2rqkja.js} +31 -31
- package/dist/chunks/{vcs-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-7e8sen0c.js → project-pjwzbkan.js} +34 -34
- package/dist/chunks/{vcs-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-w92r2f21.js → project-pnvqek79.js} +24 -24
- package/dist/chunks/{vcs-3t78edg3.js → project-psmsagcw.js} +10 -10
- package/dist/chunks/{vcs-zrayvwax.js → project-pvp7ht9d.js} +25 -25
- package/dist/chunks/{vcs-qk4ehg30.js → project-pyqr1rq6.js} +35 -35
- package/dist/chunks/{vcs-w5ystqj3.js → project-q0tgdpjf.js} +8 -8
- package/dist/chunks/{vcs-q0xm7vwc.js → project-q0xm7vwc.js} +2 -2
- package/dist/chunks/{vcs-1sjf069y.js → project-q1r0vwt8.js} +12 -12
- package/dist/chunks/{vcs-3maw4159.js → project-qa0x4vs9.js} +34 -34
- package/dist/chunks/{vcs-0jwsre1p.js → project-qgn6gcr1.js} +5 -5
- package/dist/chunks/{vcs-qnc92qwc.js → project-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-d2e4n0dz.js → project-qsenm5a2.js} +27 -27
- package/dist/chunks/{vcs-0ryd0fps.js → project-qvreyy9g.js} +5 -5
- package/dist/chunks/{vcs-3pvr2b0s.js → project-qx1bsmcz.js} +22 -22
- package/dist/chunks/{vcs-jq1ee2ph.js → project-qymy68cc.js} +26 -26
- package/dist/chunks/{vcs-r8xr0va3.js → project-r8xr0va3.js} +1 -1
- package/dist/chunks/{vcs-54ma36ye.js → project-r94pvvab.js} +4 -4
- package/dist/chunks/{vcs-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-pmsv8f6n.js → project-rpvt8072.js} +2 -2
- package/dist/chunks/{vcs-n3bbtbf3.js → project-rth9emc5.js} +3 -3
- package/dist/chunks/{vcs-akk93w6q.js → project-rxykwpsa.js} +8 -8
- package/dist/chunks/{vcs-tcy7k4rn.js → project-ryzbcfv2.js} +6 -6
- package/dist/chunks/{vcs-ea462v4r.js → project-s3c8tkpt.js} +3 -3
- package/dist/chunks/{vcs-05y52jq2.js → project-s7rb1sc6.js} +27 -27
- package/dist/chunks/{vcs-yf10kn3d.js → project-sjjwhc07.js} +8 -8
- package/dist/chunks/{vcs-eeaf82dq.js → project-sm965ndy.js} +8 -8
- package/dist/chunks/{vcs-chkwe70y.js → project-smwxesx6.js} +11 -11
- package/dist/chunks/{vcs-xrstanqz.js → project-spp41t0w.js} +20 -20
- package/dist/chunks/{vcs-68vs7jp0.js → project-syk7s6gh.js} +11 -11
- package/dist/chunks/{vcs-f1g2race.js → project-t2n79x7q.js} +11 -11
- package/dist/chunks/{vcs-1gpb38yh.js → project-t3yezey5.js} +6 -6
- package/dist/chunks/{vcs-ez1vvzrg.js → project-t93d9hcd.js} +5 -5
- package/dist/chunks/{vcs-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-avv5f6bw.js → project-tb7t0krf.js} +11 -11
- package/dist/chunks/{vcs-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-4bpbtp0a.js → project-tg285svz.js} +5 -5
- package/dist/chunks/{vcs-v0es1rhs.js → project-tg7bkhef.js} +7 -7
- package/dist/chunks/{vcs-jgytgpzc.js → project-tgsremw0.js} +10 -10
- package/dist/chunks/{vcs-jg28bfy1.js → project-tgwdb8hf.js} +32 -32
- package/dist/chunks/project-v1faaxn9.js +18 -0
- package/dist/chunks/{vcs-6qcw2y52.js → project-v21a6nxh.js} +32 -32
- package/dist/chunks/{vcs-1g4209et.js → project-v6h0f511.js} +14 -14
- package/dist/chunks/{vcs-s5cbn5gv.js → project-vczhc39p.js} +11 -11
- package/dist/chunks/{vcs-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-bjb10bhf.js → project-vhxbp6kt.js} +25 -25
- package/dist/chunks/{vcs-eyttazzr.js → project-vt2rn3s2.js} +38 -38
- package/dist/chunks/{vcs-gs3s1a1g.js → project-vxby77fw.js} +8 -8
- package/dist/chunks/{vcs-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-wh6zw745.js → project-w39jehkq.js} +5 -5
- package/dist/chunks/{vcs-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-sk6f6663.js → project-wbha35az.js} +28 -28
- package/dist/chunks/{vcs-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-nrdmrqsx.js → project-wdfkj30x.js} +4 -4
- package/dist/chunks/{vcs-4k5ht055.js → project-wj8m425e.js} +13 -13
- package/dist/chunks/{vcs-xtvkrcq6.js → project-wrecv97f.js} +32 -32
- package/dist/chunks/{vcs-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-d49dmxja.js → project-x1nh081j.js} +10 -10
- package/dist/chunks/{vcs-rx68spbt.js → project-x1ny9q2p.js} +46 -46
- package/dist/chunks/{vcs-dpa7r3sp.js → project-x6pk0ppd.js} +1 -1
- package/dist/chunks/{vcs-cdw9nh7g.js → project-xa2z8zqt.js} +43 -43
- package/dist/chunks/{vcs-rx9ava5n.js → project-xasyx0as.js} +4 -4
- package/dist/chunks/{vcs-k8kt8k0g.js → project-xj6mph50.js} +32 -32
- package/dist/chunks/{vcs-xkntkrq7.js → project-xkntkrq7.js} +2 -2
- package/dist/chunks/{vcs-bh2h312c.js → project-xsch7tq4.js} +11 -11
- package/dist/chunks/{vcs-mnqvabpf.js → project-xv1pxtgw.js} +15 -15
- package/dist/chunks/{vcs-qxjc9qry.js → project-xyafkbt0.js} +3 -3
- package/dist/chunks/{vcs-1dq79xpa.js → project-xz0c0gzz.js} +38 -38
- package/dist/chunks/{vcs-7d24rw0e.js → project-xzrrc5b6.js} +17 -17
- package/dist/chunks/{vcs-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-9phv9fdd.js → project-y268atyc.js} +23 -23
- package/dist/chunks/{vcs-vrnerakx.js → project-y7sqmqar.js} +14 -14
- package/dist/chunks/{vcs-me0yaqbt.js → project-yfy16hdj.js} +13 -13
- package/dist/chunks/{vcs-n06f2vwx.js → project-yhczy8wd.js} +16 -16
- package/dist/chunks/{vcs-xy0vq4n8.js → project-yhkscg6g.js} +13 -13
- package/dist/chunks/{vcs-8z91h3sm.js → project-yrg3m3zd.js} +5 -5
- package/dist/chunks/{vcs-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-ybpswvk8.js → project-ywt3ymsf.js} +42 -42
- package/dist/chunks/{vcs-hbsztvnn.js → project-yxngt0st.js} +32 -32
- package/dist/chunks/{vcs-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-qkqy46n6.js → project-z388e07e.js} +21 -21
- package/dist/chunks/{vcs-gngkw3v3.js → project-z4ztj7g0.js} +9 -9
- package/dist/chunks/{vcs-mkjk38wz.js → project-za0j1469.js} +16 -16
- package/dist/chunks/{vcs-dxjr8qb0.js → project-zk972ecj.js} +16 -16
- package/dist/chunks/{vcs-d45s0hm2.js → project-zmd4wk0k.js} +26 -26
- package/dist/chunks/{vcs-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-6tysj855.js → project-zr74y7vp.js} +29 -29
- package/dist/chunks/{vcs-agrc1xj0.js → project-zwvra7ys.js} +11 -11
- package/dist/chunks/{vcs-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- 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 +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +72 -72
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- 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 +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- 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 +352 -352
- package/dist/location.js +87 -87
- 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 +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- 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 +4 -4
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- 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 +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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 +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +125 -125
- 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 +2 -2
- 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 +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- 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 +164 -164
- package/dist/session/shell.js +130 -130
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- 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 +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/vcs-0djvsza3.js +0 -507
- package/dist/chunks/vcs-jqh9b0xq.js +0 -18
- package/dist/chunks/vcs-q6es4t5x.js +0 -26
- package/dist/chunks/vcs-xmbxbqg7.js +0 -253
- /package/dist/chunks/{vcs-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-34c7v6d4.js → project-34c7v6d4.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → project-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
node87
|
|
4
|
-
} from "./vcs-41vvr2y3.js";
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
3
|
node86
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./project-4hd8g1tz.js";
|
|
5
|
+
import {
|
|
6
|
+
Service79,
|
|
7
|
+
node82
|
|
8
|
+
} from "./project-ajzen2r8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node80
|
|
12
|
+
} from "./project-estj264d.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-v1faaxn9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service41,
|
|
18
|
+
node44
|
|
19
|
+
} from "./project-cxnb4521.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node18
|
|
22
|
+
} from "./project-bb65c4mp.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service5,
|
|
25
|
+
node6
|
|
26
|
+
} from "./project-5d607bsg.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./project-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
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 Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service77;
|
|
47
|
+
const watcher = yield* Service41;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service79;
|
|
51
|
+
const policy = yield* Service5;
|
|
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(Service3, 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 Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node44, FSUtil.node, node80, node82, node86, node18, node6]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -2,42 +2,42 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node80
|
|
9
|
+
} from "./project-estj264d.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service51,
|
|
12
|
+
node54
|
|
13
|
+
} from "./project-bxdb0phq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event11,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
|
-
ListInput: () =>
|
|
32
|
+
ListInput: () => ListInput3,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError5,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service50,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node53
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
75
75
|
return `Access denied to directory: ${this.directory}`;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var Content3 = Schema.Struct({
|
|
79
79
|
uri: Schema.String,
|
|
80
80
|
name: Schema.String.pipe(Schema.optional),
|
|
81
81
|
content: Schema.String,
|
|
82
82
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
83
83
|
mime: Schema.String
|
|
84
84
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
85
|
-
var
|
|
85
|
+
var ListInput3 = Schema.Struct({
|
|
86
86
|
path: Schema.String.pipe(Schema.optional)
|
|
87
87
|
});
|
|
88
88
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event11 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service50 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service50, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service77;
|
|
115
|
+
const search = yield* Service51;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -129,15 +129,15 @@ var baseLayer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
129
129
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
130
130
|
return { absolute, real, directory: location.directory };
|
|
131
131
|
});
|
|
132
|
-
return
|
|
132
|
+
return Service50.of({
|
|
133
133
|
find: search.find,
|
|
134
134
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
135
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
136
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
135
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
|
|
136
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
|
|
137
137
|
if (info.type !== "File")
|
|
138
138
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
139
139
|
return {
|
|
140
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
140
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error))),
|
|
141
141
|
mime: FSUtil.mimeType(target.real)
|
|
142
142
|
};
|
|
143
143
|
}),
|
|
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}));
|
|
169
|
-
var
|
|
170
|
-
service:
|
|
169
|
+
var node53 = makeLocationNode({
|
|
170
|
+
service: Service50,
|
|
171
171
|
layer: baseLayer,
|
|
172
|
-
deps: [FSUtil.node,
|
|
172
|
+
deps: [FSUtil.node, node80, node54]
|
|
173
173
|
});
|
|
174
174
|
|
|
175
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
175
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event11, Service50, node53, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-gr6b6mj1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-4hd8g1tz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID11,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event16,
|
|
11
|
+
Service68
|
|
12
|
+
} from "./project-xj6mph50.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-gqtdsdt7.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID10,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-3fa318h0.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./project-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID9,
|
|
25
|
+
Service66
|
|
26
|
+
} from "./project-4rthrakj.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID8
|
|
29
|
+
} from "./project-pd2rqkja.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./project-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./project-hvsabrxs.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make4(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID9.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
79
|
const bus = yield* Service83;
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
80
|
+
const credentials = yield* Service68;
|
|
81
|
+
const providers = yield* Service66;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make10(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID9.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID9.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,8 +152,8 @@ function make10(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID9.azure);
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -192,7 +192,7 @@ function make10(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID9.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make10(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID9.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID9.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make10(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID9.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make10(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID9.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make10(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make10(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID9.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID9.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID9.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID9.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make10(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID9.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make10(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID9.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID9.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,11 +318,11 @@ function make10(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID9.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make4();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
|
|
|
352
352
|
const model = catalogModel(models, deployment);
|
|
353
353
|
if (!model)
|
|
354
354
|
return [];
|
|
355
|
-
const id =
|
|
355
|
+
const id = ID8.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID8.make(deployment.name),
|
|
360
360
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
361
361
|
};
|
|
362
362
|
return [[id, info]];
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make4, AzurePlugin2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./project-estj264d.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service77;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names3, discover3, exports_discovery2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-gr6b6mj1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-4hd8g1tz.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./project-xj6mph50.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-gqtdsdt7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID10,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-3fa318h0.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID9,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service66
|
|
22
|
+
} from "./project-4rthrakj.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID8,
|
|
25
|
+
Info16
|
|
26
|
+
} from "./project-pd2rqkja.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./project-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID9.gitlab;
|
|
39
|
+
var integrationID = ID10.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service66;
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info16.default(providerID, ID8.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID9.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|