@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./project-4hd8g1tz.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-4vx6mmp0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event12,
|
|
21
|
+
ID: () => ID7,
|
|
22
|
+
Info: () => Info14,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service55,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available2,
|
|
29
|
+
node: () => node59,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,15 +34,15 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event12 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info14 = Skill.Info;
|
|
43
|
+
var ID7 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
|
-
var
|
|
45
|
+
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
47
47
|
const directory = path.dirname(skill.path);
|
|
48
48
|
return [
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service55 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID7.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID7.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID7.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID7.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service55.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node59 = makeLocationNode({
|
|
112
|
+
service: Service55,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node86]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info14, ID7, Name2, available2, toModelOutput3, prepare3, Service55, node59, exports_skill5, Event12 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info7,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info7 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info7, exports_permission };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-4hd8g1tz.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-gqtdsdt7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event16
|
|
9
|
+
} from "./project-xj6mph50.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID10
|
|
12
|
+
} from "./project-3fa318h0.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service66
|
|
16
|
+
} from "./project-4rthrakj.js";
|
|
17
17
|
import {
|
|
18
18
|
load2,
|
|
19
19
|
derive2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-m17jc1za.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.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* Service66;
|
|
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(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./project-95fkqa3s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service15,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-yfy16hdj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./project-6zrpm0bg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service72
|
|
14
|
+
} from "./project-4vx6mmp0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service49
|
|
17
|
+
} from "./project-kcrq884e.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./project-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input6,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin42,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name6,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name6 = "write";
|
|
39
|
+
var Input6 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin42 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service49;
|
|
56
|
+
const fileMutation = yield* Service15;
|
|
57
|
+
const environment = yield* Service53;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service72;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name6,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input6,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name6, Input6, Output4, toModelContent3, Plugin42, exports_write };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-pd2rqkja.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service40
|
|
7
|
+
} from "./project-xa2z8zqt.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-hvsabrxs.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service40;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make11(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID8.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make11(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make6();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make6, OllamaPlugin2 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service40
|
|
7
|
+
} from "./project-xa2z8zqt.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service53
|
|
13
|
+
} from "./project-95fkqa3s.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service62
|
|
16
|
+
} from "./project-v6h0f511.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service72
|
|
19
|
+
} from "./project-4vx6mmp0.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service49,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./project-kcrq884e.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./project-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service82,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./project-0vr031ak.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError4,
|
|
36
|
+
Service37
|
|
37
|
+
} from "./project-0jpxnbhq.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service17
|
|
40
|
+
} from "./project-jpdz6tyk.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./project-ecwgt7wy.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./project-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input4,
|
|
53
|
+
Plugin: () => Plugin39,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name4
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name4 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input4 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin39 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service17;
|
|
123
|
+
const jobs = yield* Service62;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service53;
|
|
126
|
+
const access = yield* Service49;
|
|
127
|
+
const shell = yield* Service37;
|
|
128
|
+
const shellSelect = yield* Service82;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service72;
|
|
131
|
+
const config = yield* Service40;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin14 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name4,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin14 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name4,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input4,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin14 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name4,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name4];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin39, exports_shell2 };
|