@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,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./project-estj264d.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./project-95fkqa3s.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service52
|
|
15
|
+
} from "./project-dbdmbfdh.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./project-na6adhag.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service72
|
|
24
|
+
} from "./project-4vx6mmp0.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service49
|
|
27
|
+
} from "./project-kcrq884e.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./project-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input7,
|
|
37
|
+
Output: () => Output5,
|
|
38
|
+
Plugin: () => Plugin43,
|
|
39
|
+
name: () => name7,
|
|
40
|
+
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name7 = "glob";
|
|
46
|
+
var Input7 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output5 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin43 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service53;
|
|
70
|
+
const ripgrep = yield* Service52;
|
|
71
|
+
const location = yield* Service77;
|
|
72
|
+
const access = yield* Service49;
|
|
73
|
+
const permission = yield* Service72;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name7,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input7,
|
|
79
|
+
output: Output5,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name7,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin46 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name7, Input7, Output5, toModelContent4, Plugin43, exports_glob };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./project-4hd8g1tz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service29,
|
|
7
|
+
node32
|
|
8
|
+
} from "./project-bn1j3jpq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service72,
|
|
11
|
+
node75
|
|
12
|
+
} from "./project-4vx6mmp0.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service30,
|
|
15
|
+
node33
|
|
16
|
+
} from "./project-pvp7ht9d.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service28 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service28, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service29;
|
|
42
|
+
const tools = yield* Service30;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service72;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node31 = makeLocationNode({
|
|
124
|
+
service: Service28,
|
|
125
|
+
layer: layer12,
|
|
126
|
+
deps: [node33, node32, node86, node75]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service28, layer12, node31, exports_mcp3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/affinity.ts
|
|
6
6
|
var exports_affinity = {};
|
|
7
7
|
__export(exports_affinity, {
|
|
8
8
|
SessionAffinity: () => exports_affinity,
|
|
9
|
-
get: () =>
|
|
9
|
+
get: () => get4
|
|
10
10
|
});
|
|
11
|
-
var
|
|
11
|
+
var get4 = (session) => session.parentID ?? session.fork?.sessionID ?? session.id;
|
|
12
12
|
|
|
13
|
-
export {
|
|
13
|
+
export { get4, exports_affinity };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-0gwx0s3y.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./project-4rthrakj.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID9.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-btfhnvjh.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-t3yezey5.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-eaj1djv9.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-kb9j3d72.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-xasyx0as.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./project-4j4tgtq5.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./project-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load5,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-0gwx0s3y.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-atg4533p.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./project-4rthrakj.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID9.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./project-4hd8g1tz.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event17,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID12,
|
|
20
|
+
Info: () => Info21,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError6,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service69,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer22,
|
|
29
|
+
node: () => node72,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event17 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID12 = Form.ID;
|
|
39
|
+
var Info21 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID12
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID12
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID12
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID12,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service69 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer22 = Layer.effect(Service69, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError6({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID12.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service69.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node72 = makeLocationNode({ service: Service69, layer: layer22, deps: [node86] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID12, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError6, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service69, layer22, node72, validateAnswer2, validateFields2, exports_form, Event17 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service46,
|
|
10
|
+
node: () => node49
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service46 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service46, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service46.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var node49 = makeGlobalNode({ service: Service46, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service46, node49, exports_managed_policy };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service38,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node41
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service38 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service38, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service38.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service39, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node41 = makeGlobalNode({ service: Service38, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service38, node41, exports_environment };
|