@opencode/core 0.0.0-dev-20541 → 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 +83 -83
- 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/{command-mmq4tvzh.js → project-0g55zwm7.js} +20 -20
- package/dist/chunks/{command-mv87szkv.js → project-0gwx0s3y.js} +7 -7
- package/dist/chunks/{command-kgffmydg.js → project-0jpxnbhq.js} +49 -49
- package/dist/chunks/{command-3sqh8pm2.js → project-0n46sy86.js} +15 -15
- package/dist/chunks/{command-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-7yetp8jc.js → project-0q8sh0th.js} +23 -23
- package/dist/chunks/{command-dzv118g2.js → project-0sdhkc62.js} +7 -7
- package/dist/chunks/{command-0vbcp93d.js → project-0vbcp93d.js} +2 -2
- package/dist/chunks/{command-cs216amt.js → project-0vcy0dqe.js} +9 -9
- package/dist/chunks/{command-rpms11rw.js → project-0vr031ak.js} +19 -19
- package/dist/chunks/{command-dzty4xcq.js → project-0xdtnkn7.js} +66 -66
- package/dist/chunks/{command-c9k10dz7.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/{command-01jzyxk2.js → project-1byfy22e.js} +5 -5
- package/dist/chunks/{command-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-jhk6nqbr.js → project-1g91xc37.js} +33 -33
- package/dist/chunks/{command-tj682e1p.js → project-1krrph0f.js} +8 -8
- package/dist/chunks/{command-1cfb3ja4.js → project-1nwxscpy.js} +5 -5
- package/dist/chunks/{command-cfsekr6v.js → project-1p07q0wb.js} +4 -4
- package/dist/chunks/{command-2gef892y.js → project-1p67y8r3.js} +9 -9
- package/dist/chunks/{command-q7s4p2ws.js → project-211mfykw.js} +11 -11
- package/dist/chunks/{command-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-ztxh1f3e.js → project-2h27yszp.js} +25 -25
- package/dist/chunks/{command-5vyb2hja.js → project-2kh1aj22.js} +5 -5
- package/dist/chunks/{command-4mwpykj0.js → project-321x2wtd.js} +6 -6
- package/dist/chunks/{command-c61jsrw6.js → project-32vkyra5.js} +8 -8
- package/dist/chunks/{command-h2b79v29.js → project-3cegwx68.js} +2 -2
- package/dist/chunks/{command-gqepmfk7.js → project-3eyvdyep.js} +24 -24
- package/dist/chunks/{command-cwbq0mfh.js → project-3fa318h0.js} +33 -33
- package/dist/chunks/{command-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-9hn6k4tm.js → project-3hfr6h8q.js} +8 -8
- package/dist/chunks/{command-75rpacef.js → project-3j19qqn2.js} +20 -20
- package/dist/chunks/{command-t2c2p23z.js → project-3sjtvdbx.js} +32 -32
- package/dist/chunks/{command-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-eaf5gakt.js → project-3sxzqh52.js} +11 -11
- package/dist/chunks/{command-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-3b9mfnb1.js → project-3vm18aej.js} +43 -43
- package/dist/chunks/{command-thnqqb5h.js → project-3xme275p.js} +17 -17
- package/dist/chunks/{command-3zsf4n22.js → project-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-cfy01m6q.js → project-46f73qdr.js} +4 -4
- package/dist/chunks/{command-f9hcp00g.js → project-48rqbhxp.js} +10 -10
- package/dist/chunks/{command-c33q63qa.js → project-49wcxkwy.js} +18 -18
- package/dist/chunks/{command-5t5wrhde.js → project-4a2kvcyx.js} +2 -2
- package/dist/chunks/{command-6rwesznr.js → project-4awpa7dh.js} +15 -15
- package/dist/chunks/{command-d0cgwrbg.js → project-4ertyhh0.js} +13 -13
- package/dist/chunks/{command-8t624zf9.js → project-4evz9yqf.js} +9 -9
- package/dist/chunks/{command-z7s65jz9.js → project-4hd8g1tz.js} +11 -11
- package/dist/chunks/{command-4z58m4b4.js → project-4j4tgtq5.js} +4 -4
- package/dist/chunks/{command-z96ftasq.js → project-4nvv71eh.js} +22 -22
- package/dist/chunks/{command-g3xnrmzn.js → project-4q068m7q.js} +26 -26
- package/dist/chunks/{command-k6yxz2kp.js → project-4qknpms9.js} +28 -28
- package/dist/chunks/{command-dywq9pkt.js → project-4rthrakj.js} +33 -33
- package/dist/chunks/{command-2ccvkpx1.js → project-4ts7tf6z.js} +2 -2
- package/dist/chunks/{command-r9ggpxfb.js → project-4vx6mmp0.js} +61 -61
- package/dist/chunks/{command-7qdef5aj.js → project-51qxj5j9.js} +20 -20
- package/dist/chunks/{command-9qbdnxkb.js → project-5415gst9.js} +22 -22
- package/dist/chunks/{command-g5w8qwbj.js → project-57b9ws8p.js} +7 -7
- package/dist/chunks/{command-zeb7mf4e.js → project-5c22wf1x.js} +12 -12
- package/dist/chunks/{command-79qaa2kf.js → project-5d607bsg.js} +9 -9
- package/dist/chunks/{command-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{command-e3qxr5gk.js → project-5qd3pb7m.js} +2 -2
- package/dist/chunks/{command-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{command-g7xb4ge4.js → project-6p4wgss2.js} +3 -3
- package/dist/chunks/{command-bnymekt2.js → project-6zrpm0bg.js} +15 -15
- package/dist/chunks/{command-7q5hsd78.js → project-72nc6h26.js} +22 -22
- package/dist/chunks/{command-h1ff3r7d.js → project-74v03xk0.js} +13 -13
- package/dist/chunks/{command-8b107kjv.js → project-75ybx9pn.js} +21 -21
- package/dist/chunks/{command-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-kdtk6ytk.js → project-7e51ymmz.js} +21 -21
- package/dist/chunks/{command-w243dze7.js → project-7sx9qfrr.js} +18 -18
- package/dist/chunks/{command-1dvck2a7.js → project-84h8c373.js} +2 -2
- package/dist/chunks/{command-84txncab.js → project-84txncab.js} +1 -1
- package/dist/chunks/{command-tcezcvh9.js → project-89znhe33.js} +4 -4
- package/dist/chunks/{command-wgkw1say.js → project-8b09fejn.js} +3 -3
- package/dist/chunks/{command-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-x1cxff1x.js → project-8hc5cg6f.js} +22 -22
- package/dist/chunks/{command-jpzv3ykh.js → project-94kqdtyn.js} +13 -13
- package/dist/chunks/{command-0jf2y13k.js → project-95fkqa3s.js} +24 -24
- package/dist/chunks/{command-kykbznp4.js → project-9f4s7ma4.js} +15 -15
- package/dist/chunks/{command-f7p9evzq.js → project-9gx9s1ab.js} +37 -37
- package/dist/chunks/{command-7skj7b3t.js → project-9mfnyqzm.js} +11 -11
- package/dist/chunks/{command-1k3q76yn.js → project-9tf8jb29.js} +11 -11
- package/dist/chunks/{command-mdcbxeg1.js → project-9z5pkfrq.js} +4 -4
- package/dist/chunks/{command-6y94d6d5.js → project-a4nv2jhc.js} +5 -5
- package/dist/chunks/{command-nqzan4bx.js → project-aa9qtcsv.js} +6 -6
- package/dist/chunks/{command-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{command-zcrspsvn.js → project-afdssyjb.js} +4 -4
- package/dist/chunks/{command-ywpe0k31.js → project-ajzen2r8.js} +12 -12
- package/dist/chunks/{command-nj45zehw.js → project-akaz640z.js} +8 -8
- package/dist/chunks/{command-74wsvbja.js → project-aten89af.js} +6 -6
- package/dist/chunks/{command-x691ctxc.js → project-atg4533p.js} +1 -1
- package/dist/chunks/{command-pacph0q8.js → project-awk83w3y.js} +14 -14
- package/dist/chunks/{command-3vn5r7fz.js → project-b1cqx2ed.js} +4 -4
- package/dist/chunks/{command-b3f8fkhc.js → project-b3f8fkhc.js} +2 -2
- package/dist/chunks/{command-0n4qmygn.js → project-b3yntd1n.js} +6 -6
- package/dist/chunks/{command-y9bry2a2.js → project-b4p31rnp.js} +22 -22
- package/dist/chunks/{command-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-s2q9yd17.js → project-b7fbchgy.js} +22 -22
- package/dist/chunks/{command-g90rxwkd.js → project-b9jvby5j.js} +15 -15
- package/dist/chunks/{command-yyc39645.js → project-bb65c4mp.js} +20 -20
- package/dist/chunks/{command-c67sz4xq.js → project-bn1j3jpq.js} +52 -52
- package/dist/chunks/{command-vxzh5eqq.js → project-bsqx64w4.js} +4 -4
- package/dist/chunks/{command-way54g3t.js → project-bsv8006t.js} +34 -34
- package/dist/chunks/{command-8wbxkt1z.js → project-btbmdjwj.js} +4 -4
- package/dist/chunks/{command-pds74t41.js → project-btfhnvjh.js} +3 -3
- package/dist/chunks/{command-wbgabvvj.js → project-bx0gyb4h.js} +5 -5
- package/dist/chunks/{command-0qs5s41g.js → project-bx29nwct.js} +11 -11
- package/dist/chunks/{command-qygccx2c.js → project-bxdb0phq.js} +32 -32
- package/dist/chunks/{command-js7ztaqx.js → project-c0rvhg7q.js} +13 -13
- package/dist/chunks/{command-pee00n06.js → project-c7xkkk9f.js} +23 -23
- package/dist/chunks/{command-sfzn7zth.js → project-c9r5xmmk.js} +18 -18
- package/dist/chunks/{command-ezyde299.js → project-casv7ffj.js} +22 -22
- package/dist/chunks/{command-hvaebh52.js → project-cd5v0x55.js} +25 -25
- package/dist/chunks/{command-a881zpfh.js → project-cnb1p1jt.js} +9 -9
- package/dist/chunks/{command-5zqqr9b4.js → project-cp5z20n4.js} +11 -11
- package/dist/chunks/{command-c55dey07.js → project-cxnb4521.js} +24 -24
- package/dist/chunks/{command-d46e2cta.js → project-d48vtfkp.js} +20 -20
- package/dist/chunks/{command-w67z85jj.js → project-dbdmbfdh.js} +14 -14
- package/dist/chunks/{command-1dfrqcjm.js → project-de1wbeth.js} +8 -8
- package/dist/chunks/{command-2336b01z.js → project-dhtadd1m.js} +8 -8
- package/dist/chunks/{command-nxm207yx.js → project-dpkg50ah.js} +4 -4
- package/dist/chunks/{command-6f8r1xek.js → project-dx5xb0f2.js} +14 -14
- package/dist/chunks/{command-zckshxme.js → project-dzcjazgh.js} +20 -20
- package/dist/chunks/{command-2pxx49tn.js → project-e6yhd6h5.js} +18 -18
- package/dist/chunks/{command-9t7a50xb.js → project-eaj1djv9.js} +8 -8
- package/dist/chunks/{command-g9v33ymf.js → project-ecwgt7wy.js} +4 -4
- package/dist/chunks/{command-fm2qvscf.js → project-edrmdtr5.js} +7 -7
- package/dist/chunks/{command-8gt91z3r.js → project-eepsj9xm.js} +44 -44
- package/dist/chunks/{command-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-4n47a3cw.js → project-esq9ahf4.js} +17 -17
- package/dist/chunks/{command-213p2swk.js → project-estj264d.js} +17 -17
- package/dist/chunks/{command-tvpc0ybq.js → project-et6ps8sy.js} +32 -32
- package/dist/chunks/{command-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-d392bjy5.js → project-ezx61htw.js} +13 -13
- package/dist/chunks/{command-71az546q.js → project-f75zav2x.js} +2 -2
- package/dist/chunks/{command-n2rmdmjc.js → project-f7szz835.js} +25 -25
- package/dist/chunks/{command-vv95jtq1.js → project-f9eyz112.js} +11 -11
- package/dist/chunks/{command-4xqwpdwt.js → project-fsp5pbrf.js} +22 -22
- package/dist/chunks/{command-j1a331kd.js → project-g6803b9c.js} +11 -11
- package/dist/chunks/{command-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-2qx5ewc2.js → project-gnhsmmqn.js} +6 -6
- package/dist/chunks/{command-3y377wv9.js → project-gqtdsdt7.js} +4 -4
- package/dist/chunks/{command-eda73v46.js → project-gr6b6mj1.js} +11 -11
- package/dist/chunks/{command-7yfar2g1.js → project-h0esbxhn.js} +8 -8
- package/dist/chunks/{command-sqdwm1my.js → project-h0xaargc.js} +35 -35
- package/dist/chunks/{command-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-5tcm9639.js → project-hb84g3y6.js} +9 -9
- package/dist/chunks/{command-3556dn8t.js → project-hd8vw2pw.js} +1 -1
- package/dist/chunks/{command-b7mjc4a6.js → project-hh2rhyy0.js} +3 -3
- package/dist/chunks/{command-8gdnnedh.js → project-hvq7s315.js} +8 -8
- package/dist/chunks/{command-1g7wkek7.js → project-hvsabrxs.js} +6 -6
- package/dist/chunks/{command-ksk3n4cg.js → project-hwk0dxk3.js} +5 -5
- package/dist/chunks/{command-eq1pz5kg.js → project-j028xdjb.js} +3 -3
- package/dist/chunks/{command-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{command-z5anw93z.js → project-j6y1pw17.js} +88 -88
- package/dist/chunks/{command-as8e1r60.js → project-jd43yt6r.js} +20 -20
- package/dist/chunks/{command-61d0nta3.js → project-jpdz6tyk.js} +95 -95
- package/dist/chunks/{command-rrkmkyg6.js → project-jty7ch9v.js} +6 -6
- package/dist/chunks/{command-9e5bzkjp.js → project-kb9j3d72.js} +3 -3
- package/dist/chunks/{command-y5hk5168.js → project-kcrq884e.js} +18 -18
- package/dist/chunks/{command-578mczcx.js → project-krt29t41.js} +7 -7
- package/dist/chunks/{command-m6eqcf37.js → project-ktbedybp.js} +59 -59
- package/dist/chunks/{command-ag82fysq.js → project-kyck4gt1.js} +9 -9
- package/dist/chunks/{command-hyssag4y.js → project-m0m93c5z.js} +11 -11
- package/dist/chunks/{command-vbfgae2j.js → project-m0r31qfn.js} +4 -4
- package/dist/chunks/{command-ytfp8a9c.js → project-m17jc1za.js} +23 -23
- package/dist/chunks/project-m2xs0gmc.js +253 -0
- package/dist/chunks/{command-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{command-kgf2vxaw.js → project-m6nxe9vm.js} +4 -4
- package/dist/chunks/{command-ntxrry2n.js → project-m7wchrz5.js} +21 -21
- package/dist/chunks/{command-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-h9431wzg.js → project-manc465r.js} +48 -48
- package/dist/chunks/{command-1ygqh575.js → project-mfqp6xfm.js} +6 -6
- package/dist/chunks/{command-yb7z5tge.js → project-mp0emv6a.js} +185 -185
- package/dist/chunks/{command-qy9s2ye0.js → project-mq52pn8m.js} +10 -10
- package/dist/chunks/{command-awttz7et.js → project-n2wa682s.js} +31 -31
- package/dist/chunks/{command-fgvgk3nc.js → project-na6adhag.js} +30 -30
- package/dist/chunks/{command-22t0k3cz.js → project-ndbpsv5z.js} +45 -45
- package/dist/chunks/{command-5n7vjdk6.js → project-nepkptgr.js} +10 -10
- package/dist/chunks/{command-cstxe3ar.js → project-p0d3gpxt.js} +20 -20
- package/dist/chunks/{command-ea26v2e4.js → project-p0yccpp7.js} +12 -12
- package/dist/chunks/{command-6v33vpya.js → project-p56ffcxf.js} +5 -5
- package/dist/chunks/{command-j1tnjqr2.js → project-p79ks9bf.js} +11 -11
- package/dist/chunks/{command-9aqw140n.js → project-pd2rqkja.js} +31 -31
- package/dist/chunks/{command-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-yke0wfjf.js → project-pjwzbkan.js} +38 -38
- package/dist/chunks/{command-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{command-t38tm3cf.js → project-pnvqek79.js} +36 -36
- package/dist/chunks/{command-tc2wd370.js → project-psmsagcw.js} +10 -10
- package/dist/chunks/{command-722cwwxx.js → project-pvp7ht9d.js} +24 -24
- package/dist/chunks/{command-sr0pxs2g.js → project-pyqr1rq6.js} +30 -30
- package/dist/chunks/{command-r897vr76.js → project-q0tgdpjf.js} +8 -8
- package/dist/chunks/{command-0j77ygfz.js → project-q0xm7vwc.js} +6 -6
- package/dist/chunks/{command-re5v1f1h.js → project-q1r0vwt8.js} +12 -12
- package/dist/chunks/{command-xqjr5z5q.js → project-qa0x4vs9.js} +36 -36
- package/dist/chunks/{command-fcrkznn8.js → project-qgn6gcr1.js} +5 -5
- package/dist/chunks/{command-qnc92qwc.js → project-qnc92qwc.js} +1 -1
- package/dist/chunks/{command-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{command-7zk0wn2x.js → project-qsenm5a2.js} +27 -27
- package/dist/chunks/{command-hbyhqfhs.js → project-qvreyy9g.js} +5 -5
- package/dist/chunks/{command-21xha1jy.js → project-qx1bsmcz.js} +35 -35
- package/dist/chunks/{command-v66k9e3r.js → project-qymy68cc.js} +30 -30
- package/dist/chunks/{command-r8xr0va3.js → project-r8xr0va3.js} +1 -1
- package/dist/chunks/{command-54ma36ye.js → project-r94pvvab.js} +4 -4
- package/dist/chunks/{command-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-6y03q21h.js → project-rpvt8072.js} +2 -2
- package/dist/chunks/{command-emvq8ywb.js → project-rth9emc5.js} +3 -3
- package/dist/chunks/{command-b4gp33hv.js → project-rxykwpsa.js} +11 -11
- package/dist/chunks/{command-9basgg3g.js → project-ryzbcfv2.js} +6 -6
- package/dist/chunks/{command-77acw9m0.js → project-s3c8tkpt.js} +3 -3
- package/dist/chunks/{command-6v2t73g4.js → project-s7rb1sc6.js} +27 -27
- package/dist/chunks/{command-f5gy8qwh.js → project-sjjwhc07.js} +8 -8
- package/dist/chunks/{command-15nepkqg.js → project-sm965ndy.js} +8 -8
- package/dist/chunks/{command-6z2jg7m4.js → project-smwxesx6.js} +11 -11
- package/dist/chunks/{command-45vb5exr.js → project-spp41t0w.js} +15 -15
- package/dist/chunks/{command-401cxz9d.js → project-syk7s6gh.js} +11 -11
- package/dist/chunks/{command-g8n6k2e8.js → project-t2n79x7q.js} +11 -11
- package/dist/chunks/{command-h6m8mpqk.js → project-t3yezey5.js} +9 -9
- package/dist/chunks/{command-0wv8zgxx.js → project-t93d9hcd.js} +5 -5
- package/dist/chunks/{command-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-0axee2zp.js → project-tb7t0krf.js} +11 -11
- package/dist/chunks/{command-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{command-392tpz92.js → project-tg285svz.js} +5 -5
- package/dist/chunks/{command-3byrw2k0.js → project-tg7bkhef.js} +9 -9
- package/dist/chunks/{command-ct4faptp.js → project-tgsremw0.js} +7 -7
- package/dist/chunks/{command-ypkf29hv.js → project-tgwdb8hf.js} +44 -44
- package/dist/chunks/project-v1faaxn9.js +18 -0
- package/dist/chunks/{command-5crddx1s.js → project-v21a6nxh.js} +32 -32
- package/dist/chunks/{command-0djpsv8h.js → project-v6h0f511.js} +16 -16
- package/dist/chunks/{command-6nx5bmak.js → project-vczhc39p.js} +11 -11
- package/dist/chunks/{command-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{command-6w9me9g4.js → project-vhxbp6kt.js} +17 -17
- package/dist/chunks/{command-stff7yw3.js → project-vt2rn3s2.js} +40 -40
- package/dist/chunks/{command-fgktf29t.js → project-vxby77fw.js} +8 -8
- package/dist/chunks/{command-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-6yz0wx8n.js → project-w39jehkq.js} +5 -5
- package/dist/chunks/{command-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-jpesrvwe.js → project-wbha35az.js} +24 -24
- package/dist/chunks/{command-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{command-6sr3ve8g.js → project-wdfkj30x.js} +21 -21
- package/dist/chunks/{command-axm04d2k.js → project-wj8m425e.js} +17 -17
- package/dist/chunks/{command-6fd4dcha.js → project-wrecv97f.js} +23 -23
- package/dist/chunks/{command-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-zwas51cn.js → project-x1nh081j.js} +10 -10
- package/dist/chunks/{command-3ndhv5ev.js → project-x1ny9q2p.js} +31 -31
- package/dist/chunks/{command-dympa6h6.js → project-x6pk0ppd.js} +1 -1
- package/dist/chunks/{command-p1et7349.js → project-xa2z8zqt.js} +47 -47
- package/dist/chunks/{command-vn72gsba.js → project-xasyx0as.js} +4 -4
- package/dist/chunks/{command-8wwws4s2.js → project-xj6mph50.js} +32 -32
- package/dist/chunks/{command-dmqcgk4z.js → project-xkntkrq7.js} +5 -5
- package/dist/chunks/{command-bq7b46md.js → project-xsch7tq4.js} +11 -11
- package/dist/chunks/{command-x1bgc40t.js → project-xv1pxtgw.js} +15 -15
- package/dist/chunks/{command-qxjc9qry.js → project-xyafkbt0.js} +3 -3
- package/dist/chunks/{command-n2zgnq50.js → project-xz0c0gzz.js} +38 -38
- package/dist/chunks/{command-trazswah.js → project-xzrrc5b6.js} +17 -17
- package/dist/chunks/{command-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-achynwnm.js → project-y268atyc.js} +26 -26
- package/dist/chunks/{command-tag3ynyp.js → project-y7sqmqar.js} +11 -11
- package/dist/chunks/{command-kzrjs8je.js → project-yfy16hdj.js} +13 -13
- package/dist/chunks/{command-hhdeq4zt.js → project-yhczy8wd.js} +19 -19
- package/dist/chunks/{command-bpfb0a3w.js → project-yhkscg6g.js} +13 -13
- package/dist/chunks/{command-nmdr856g.js → project-yrg3m3zd.js} +5 -5
- package/dist/chunks/{command-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-1q3t7fvn.js → project-ywt3ymsf.js} +41 -41
- package/dist/chunks/{command-rvn3tqg0.js → project-yxngt0st.js} +25 -25
- package/dist/chunks/{command-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-t1ams5g6.js → project-z388e07e.js} +19 -19
- package/dist/chunks/{command-s4jagjf8.js → project-z4ztj7g0.js} +9 -9
- package/dist/chunks/{command-mxmsd58h.js → project-za0j1469.js} +21 -21
- package/dist/chunks/{command-3cve9wcq.js → project-zk972ecj.js} +16 -16
- package/dist/chunks/{command-t1s0jw3q.js → project-zmd4wk0k.js} +28 -28
- package/dist/chunks/{command-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-f3k65vz0.js → project-zr74y7vp.js} +24 -24
- package/dist/chunks/{command-8sqk77t7.js → project-zwvra7ys.js} +11 -11
- package/dist/chunks/{command-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +125 -125
- 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 +116 -116
- 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 +115 -115
- 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 +121 -121
- 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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +3 -3
- package/dist/filesystem/watcher.js +15 -15
- 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 +101 -101
- 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 +99 -99
- 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 +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- 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 +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- 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 +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +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 +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +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 +113 -113
- 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 +93 -93
- 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 +344 -344
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- 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 +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +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 +222 -222
- 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 +2 -2
- package/dist/session/runner/step.js +123 -123
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- 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 +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +202 -202
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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 +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/command-1v328y5z.js +0 -507
- package/dist/chunks/command-by5v678g.js +0 -18
- package/dist/chunks/command-epwxyjh7.js +0 -253
- package/dist/chunks/command-kgw2tax4.js +0 -26
- /package/dist/chunks/{command-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-34c7v6d4.js → project-34c7v6d4.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t0ybcrp.js → project-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node82
|
|
10
|
+
} from "./project-ajzen2r8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service77,
|
|
13
|
+
node80
|
|
14
|
+
} from "./project-estj264d.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID3,
|
|
27
|
+
Service: () => Service31,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node34,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID3 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service31 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service79;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service77;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID3.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service31.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node34 = makeLocationNode({
|
|
144
|
+
service: Service31,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node82, Global.node, node80]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID3, Error3, Service31, node34, noopLayer2, exports_snapshot2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
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
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-3fa318h0.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./project-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID9,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./project-4rthrakj.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
get4
|
|
26
|
+
} from "./project-r94pvvab.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
47
47
|
}));
|
|
48
48
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
49
49
|
var browser = (app) => ({
|
|
50
|
-
integrationID:
|
|
50
|
+
integrationID: ID10.make("openai"),
|
|
51
51
|
method: {
|
|
52
52
|
id: browserMethodID,
|
|
53
53
|
type: "oauth",
|
|
@@ -120,7 +120,7 @@ function addressInUse(error) {
|
|
|
120
120
|
return "code" in error && error.code === "EADDRINUSE";
|
|
121
121
|
}
|
|
122
122
|
var headless = (app) => ({
|
|
123
|
-
integrationID:
|
|
123
|
+
integrationID: ID10.make("openai"),
|
|
124
124
|
method: {
|
|
125
125
|
id: headlessMethodID,
|
|
126
126
|
type: "oauth",
|
|
@@ -181,7 +181,7 @@ var OpenAIPlugin2 = define({
|
|
|
181
181
|
});
|
|
182
182
|
yield* load();
|
|
183
183
|
yield* ctx.provider.transform((providers) => {
|
|
184
|
-
const item = providers.get(
|
|
184
|
+
const item = providers.get(ID9.openai);
|
|
185
185
|
if (!item)
|
|
186
186
|
return;
|
|
187
187
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -200,7 +200,7 @@ var OpenAIPlugin2 = define({
|
|
|
200
200
|
});
|
|
201
201
|
});
|
|
202
202
|
yield* ctx.model.transform((models) => {
|
|
203
|
-
for (const model of models.list(
|
|
203
|
+
for (const model of models.list(ID9.openai)) {
|
|
204
204
|
models.update(model.providerID, model.id, (draft) => {
|
|
205
205
|
if (!chatgpt)
|
|
206
206
|
return;
|
|
@@ -230,15 +230,15 @@ var OpenAIPlugin2 = define({
|
|
|
230
230
|
return;
|
|
231
231
|
}));
|
|
232
232
|
evt.headers.originator = "opencode";
|
|
233
|
-
evt.headers["session-id"] = session ?
|
|
234
|
-
}), { providerID:
|
|
233
|
+
evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
|
|
234
|
+
}), { providerID: ID9.openai });
|
|
235
235
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
236
236
|
delete evt.options.maxTokens;
|
|
237
237
|
});
|
|
238
238
|
for (const name of ["context", "compaction"])
|
|
239
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
239
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID9.openai });
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
function headers(contentType, app) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service6,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service6 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service6.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node7 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service6, node7, exports_update };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./project-4hd8g1tz.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref4,
|
|
11
|
+
Service77,
|
|
12
|
+
node80
|
|
13
|
+
} from "./project-estj264d.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service43,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node46
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service43 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
44
|
+
const location = yield* Service77;
|
|
45
|
+
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
48
48
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
82
82
|
const event = registered.event;
|
|
83
83
|
const data = yield* encode(event.schema, args[1]);
|
|
84
84
|
return yield* bus.publish(registered.definition, data, {
|
|
85
|
-
location:
|
|
85
|
+
location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
86
86
|
}).pipe(Effect.asVoid);
|
|
87
87
|
})
|
|
88
88
|
}
|
|
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service77, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service43.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node46 = makeLocationNode({ service: Service43, layer, deps: [node86, node80] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
132
132
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
133
|
-
location: optional2(
|
|
133
|
+
location: optional2(Ref4)
|
|
134
134
|
};
|
|
135
135
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
136
136
|
var jsonSchemas = new WeakMap;
|
|
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
206
206
|
...payload,
|
|
207
207
|
type: eventType(definition, name),
|
|
208
208
|
data,
|
|
209
|
-
location:
|
|
209
|
+
location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service43, node46, exports_rpc, define2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./project-cnb1p1jt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./project-321x2wtd.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-v1faaxn9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service75
|
|
15
|
+
} from "./project-vxby77fw.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-t3yezey5.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service55
|
|
23
|
+
} from "./project-wbha35az.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./project-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service61;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service75;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service55;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service56;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node86
|
|
5
|
+
} from "./project-4hd8g1tz.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./project-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./project-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event7,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options4,
|
|
30
|
+
Service: () => Service36,
|
|
31
|
+
configured: () => configured4,
|
|
32
|
+
layer: () => layer15,
|
|
33
|
+
node: () => node39
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event7 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options4 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service36 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer20 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make21({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer20 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service36.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer20 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured4(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service36,
|
|
110
|
+
layer: layer15(options),
|
|
111
|
+
deps: [node86]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node39 = configured4();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event7, Options4, Service36, layer15, configured4, node39, exports_instruction_discovery };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./project-s7rb1sc6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./project-4vx6mmp0.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service32
|
|
14
|
+
} from "./project-75ybx9pn.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input8,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin44,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name8
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name8 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input8 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin44 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service72;
|
|
53
|
+
const forms = yield* Service69;
|
|
54
|
+
const websearch = yield* Service32;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name8,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input8,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name8,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name8];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name8, NO_RESULTS2, description3, Input8, Plugin44, exports_websearch2 };
|