@opencode/core 0.0.0-dev-20577 → 0.0.0-dev-20578
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 +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{command-r0wedrkd.js → plugin-04d3ggy7.js} +17 -17
- package/dist/chunks/{command-s3qw8jyq.js → plugin-06fncbhs.js} +18 -18
- package/dist/chunks/{command-afdssyjb.js → plugin-06x8he3q.js} +4 -4
- package/dist/chunks/{command-jyrncrt6.js → plugin-09djgkn9.js} +20 -20
- package/dist/chunks/{command-y6k2xs97.js → plugin-0a04tq27.js} +1 -1
- package/dist/chunks/{command-48cj2z6f.js → plugin-0d0dy0b8.js} +18 -18
- package/dist/chunks/{command-1zc1gz4g.js → plugin-0grfgy22.js} +12 -12
- package/dist/chunks/{command-q0xm7vwc.js → plugin-0j77ygfz.js} +6 -6
- package/dist/chunks/{command-qgn6gcr1.js → plugin-0jwsre1p.js} +5 -5
- package/dist/chunks/{command-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0vbcp93d.js → plugin-0vbcp93d.js} +2 -2
- package/dist/chunks/{command-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-1dvck2a7.js → plugin-1dvck2a7.js} +2 -2
- package/dist/chunks/{command-22qzwdfx.js → plugin-1eznydrh.js} +14 -14
- package/dist/chunks/{command-gh22p3be.js → plugin-1hxtq9m9.js} +24 -24
- package/dist/chunks/{command-hphxefgw.js → plugin-1m06e57m.js} +10 -10
- package/dist/chunks/{command-jaa0b0hs.js → plugin-1x0vprbs.js} +17 -17
- package/dist/chunks/{command-1ygqh575.js → plugin-1ygqh575.js} +2 -2
- package/dist/chunks/{command-ry3ffff2.js → plugin-24creq0d.js} +10 -10
- package/dist/chunks/{command-dfajfnkg.js → plugin-28z24pfh.js} +32 -32
- package/dist/chunks/{command-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-4ts7tf6z.js → plugin-2ccvkpx1.js} +2 -2
- package/dist/chunks/{command-v04mbsyc.js → plugin-2dcw1sfe.js} +7 -7
- package/dist/chunks/{command-43ya1ftk.js → plugin-2ex9tkzb.js} +32 -32
- package/dist/chunks/{command-tet8e841.js → plugin-2m5wdzz9.js} +4 -4
- package/dist/chunks/{command-04jjrec1.js → plugin-2p0jthwz.js} +13 -13
- package/dist/chunks/{command-n0pywpq4.js → plugin-2p5y98w0.js} +6 -6
- package/dist/chunks/{command-mjymc32g.js → plugin-2pnhn36q.js} +21 -21
- package/dist/chunks/{command-h9rj7vgp.js → plugin-30hx8gy4.js} +11 -11
- package/dist/chunks/{command-kp93eabn.js → plugin-34bd8zqa.js} +15 -15
- package/dist/chunks/{command-j34dxvpb.js → plugin-35ng7dkh.js} +5 -5
- package/dist/chunks/{command-yp6aabyp.js → plugin-371g5ft3.js} +22 -22
- package/dist/chunks/{command-mq1114ms.js → plugin-39sy8z68.js} +14 -14
- package/dist/chunks/{command-tfrvwkgh.js → plugin-3ary6tpn.js} +10 -10
- package/dist/chunks/{command-gh3sjhhn.js → plugin-3d32k6hr.js} +11 -11
- package/dist/chunks/{command-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-a03229d4.js → plugin-3g98wrjp.js} +13 -13
- package/dist/chunks/{command-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-62yts832.js → plugin-3n0emgyf.js} +29 -29
- package/dist/chunks/{command-wq97ata3.js → plugin-3r80836k.js} +31 -31
- package/dist/chunks/{command-qkj8hkyk.js → plugin-3rt7qeq2.js} +43 -43
- package/dist/chunks/{command-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-s9de47m6.js → plugin-3x5wnmsa.js} +12 -12
- package/dist/chunks/{command-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-e55nq1dx.js → plugin-41japfwg.js} +19 -19
- package/dist/chunks/{command-zeh40njd.js → plugin-43r5tmwz.js} +167 -167
- package/dist/chunks/{command-m9bwhd6g.js → plugin-4bcaa4pk.js} +23 -23
- package/dist/chunks/{command-1n8tchc4.js → plugin-4fsvs0r5.js} +14 -14
- package/dist/chunks/{command-cb8p8a9z.js → plugin-4hmze3tg.js} +9 -9
- package/dist/chunks/{command-39yjv8hn.js → plugin-4r3ynae4.js} +44 -44
- package/dist/chunks/{command-0sqmrpn2.js → plugin-51nd9ekg.js} +18 -18
- package/dist/chunks/{command-54ma36ye.js → plugin-54ma36ye.js} +1 -1
- package/dist/chunks/{command-gpygzsz4.js → plugin-5anybvrp.js} +15 -15
- package/dist/chunks/{command-5daktx2q.js → plugin-5daktx2q.js} +1 -1
- package/dist/chunks/{command-zsr4wwhv.js → plugin-5dkn69vz.js} +4 -4
- package/dist/chunks/{command-3ac3enw2.js → plugin-5egfvsg2.js} +27 -27
- package/dist/chunks/{command-9xs2qmrx.js → plugin-5g4drkc8.js} +13 -13
- package/dist/chunks/{command-j0gyfj28.js → plugin-5h261f6e.js} +42 -42
- package/dist/chunks/{command-66c3eymz.js → plugin-5kyzh40n.js} +5 -5
- package/dist/chunks/{command-6q6vmr50.js → plugin-5p2w852e.js} +6 -6
- package/dist/chunks/{command-9898pk67.js → plugin-5q82qb79.js} +24 -24
- package/dist/chunks/{command-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-5yzzbxa7.js → plugin-5yzzbxa7.js} +1 -1
- package/dist/chunks/{command-q43fwr5x.js → plugin-61rwkfw7.js} +13 -13
- package/dist/chunks/{command-0vsnxwjm.js → plugin-62kmmg0k.js} +3 -3
- package/dist/chunks/{command-669tq793.js → plugin-669tq793.js} +1 -1
- package/dist/chunks/{command-fp6k91eh.js → plugin-68vrpgj2.js} +29 -29
- package/dist/chunks/{command-s9spdbfy.js → plugin-69hdsgk8.js} +32 -32
- package/dist/chunks/{command-e3ecsdy8.js → plugin-69mqpp93.js} +22 -22
- package/dist/chunks/{command-s1jqa0rv.js → plugin-6arwdhpr.js} +23 -23
- package/dist/chunks/{command-fpecnkgp.js → plugin-6g7e4dd5.js} +5 -5
- package/dist/chunks/{command-6xb47vfp.js → plugin-6xb47vfp.js} +1 -1
- package/dist/chunks/{command-qkr42znk.js → plugin-6zy4stt8.js} +9 -9
- package/dist/chunks/{command-71az546q.js → plugin-71az546q.js} +2 -2
- package/dist/chunks/{command-hbqne9jm.js → plugin-76g71pff.js} +48 -48
- package/dist/chunks/{command-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-srkatn7d.js → plugin-7qgmcsxr.js} +21 -21
- package/dist/chunks/{command-j74e336s.js → plugin-7raxn3d9.js} +13 -13
- package/dist/chunks/{command-6kz41x2h.js → plugin-7t4975xj.js} +5 -5
- package/dist/chunks/{command-03xyy9gs.js → plugin-7y3n75t2.js} +11 -11
- package/dist/chunks/{command-9fn597ry.js → plugin-81vaem42.js} +8 -8
- package/dist/chunks/{command-3haxx6pm.js → plugin-84fx5zbw.js} +22 -22
- package/dist/chunks/{command-84txncab.js → plugin-84txncab.js} +1 -1
- package/dist/chunks/{command-873y03zv.js → plugin-8c8v92hd.js} +17 -17
- package/dist/chunks/{command-4yhhdjvm.js → plugin-8cqakzrt.js} +14 -14
- package/dist/chunks/{command-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-xcng2btc.js → plugin-8dsxej7q.js} +5 -5
- package/dist/chunks/{command-b9xnfexb.js → plugin-8etvpd78.js} +1 -1
- package/dist/chunks/{command-mydvvph4.js → plugin-8mq6ch7h.js} +19 -19
- package/dist/chunks/{command-cmkc9sfw.js → plugin-8q4vwcbd.js} +33 -33
- package/dist/chunks/{command-gs3s1a1g.js → plugin-8s4zq5p9.js} +4 -4
- package/dist/chunks/{command-py3kkmfq.js → plugin-8sze2n9a.js} +6 -6
- package/dist/chunks/{command-yr7n59b3.js → plugin-90wqxygs.js} +11 -11
- package/dist/chunks/{command-swwzfrs7.js → plugin-947pvy6h.js} +3 -3
- package/dist/chunks/{command-124e8td1.js → plugin-9c1yxwsv.js} +11 -11
- package/dist/chunks/{command-9e5bzkjp.js → plugin-9e5bzkjp.js} +3 -3
- package/dist/chunks/{command-4gm9b3mc.js → plugin-9jww82ap.js} +87 -87
- package/dist/chunks/{command-hbj68pgm.js → plugin-9przwesc.js} +37 -37
- package/dist/chunks/{command-ehq1cete.js → plugin-9s85hpde.js} +3 -3
- package/dist/chunks/{command-0y86tmwb.js → plugin-9szwjyee.js} +6 -6
- package/dist/chunks/{command-f3e4f3ew.js → plugin-9tnt1thx.js} +15 -15
- package/dist/chunks/{command-4v7ngy20.js → plugin-a3c7ahw6.js} +4 -4
- package/dist/chunks/{command-aaet6srn.js → plugin-aaet6srn.js} +2 -2
- package/dist/chunks/{command-yvd9mjph.js → plugin-acqz3eas.js} +18 -18
- package/dist/chunks/{command-5w6ne2rj.js → plugin-afc78eap.js} +10 -10
- package/dist/chunks/{command-rscwbd1b.js → plugin-agw9xp4d.js} +18 -18
- package/dist/chunks/{command-jsf24svj.js → plugin-ak7e9zsb.js} +43 -43
- package/dist/chunks/{command-dm4vbrvx.js → plugin-aphb00ew.js} +2 -2
- package/dist/chunks/{command-359sf8pg.js → plugin-aqs4ydsz.js} +26 -26
- package/dist/chunks/{command-69j91c1q.js → plugin-aryyw1nk.js} +8 -8
- package/dist/chunks/{command-364yjtd9.js → plugin-ay3mx084.js} +11 -11
- package/dist/chunks/{command-8rqycdgd.js → plugin-b27vhd2z.js} +7 -7
- package/dist/chunks/{command-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-kfmjg78y.js → plugin-b7fettsd.js} +4 -4
- package/dist/chunks/{command-rawzh9f5.js → plugin-bxq680aw.js} +27 -27
- package/dist/chunks/plugin-by5v678g.js +18 -0
- package/dist/chunks/{command-15nnh4s6.js → plugin-c1gr2zd3.js} +3 -3
- package/dist/chunks/{command-dm5ssyfm.js → plugin-c1vsqjm1.js} +39 -39
- package/dist/chunks/{command-mj9cksj0.js → plugin-c7jwjaks.js} +24 -24
- package/dist/chunks/{command-y6vx5mph.js → plugin-cepe0qf7.js} +39 -39
- package/dist/chunks/{command-sh0fsxwf.js → plugin-cfz5gkc0.js} +11 -11
- package/dist/chunks/{command-79qaa2kf.js → plugin-cpneeje0.js} +9 -9
- package/dist/chunks/{command-xhvk1hh0.js → plugin-cwwytgmc.js} +4 -4
- package/dist/chunks/{command-vqjs8hv7.js → plugin-d10hb995.js} +24 -24
- package/dist/chunks/{command-w9czef0s.js → plugin-da0rp3w3.js} +7 -7
- package/dist/chunks/{command-6etn2fpm.js → plugin-djz46489.js} +15 -15
- package/dist/chunks/{command-5pyjqqve.js → plugin-drnf6xwf.js} +2 -2
- package/dist/chunks/{command-bkwxdpdb.js → plugin-ds421k4t.js} +5 -5
- package/dist/chunks/{command-9p61zhgr.js → plugin-dx92dk9v.js} +13 -13
- package/dist/chunks/{command-759ca8qw.js → plugin-dyrgthp5.js} +11 -11
- package/dist/chunks/{command-5qd3pb7m.js → plugin-e3qxr5gk.js} +2 -2
- package/dist/chunks/{command-rjq8wmvv.js → plugin-e4g6rnfs.js} +9 -9
- package/dist/chunks/{command-zz9x0err.js → plugin-e5nrtag5.js} +25 -25
- package/dist/chunks/{command-ys3m2q03.js → plugin-e6tayz2r.js} +47 -47
- package/dist/chunks/{command-090p1w3a.js → plugin-e9txt9vy.js} +5 -5
- package/dist/chunks/{command-vkfdnwpx.js → plugin-eahhehpg.js} +4 -4
- package/dist/chunks/{command-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-2zqhm02j.js → plugin-ef7p9trg.js} +9 -9
- package/dist/chunks/{command-a1gpj94z.js → plugin-eq1pz5kg.js} +3 -3
- package/dist/chunks/{command-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-4m4650rm.js → plugin-ext61gvm.js} +15 -15
- package/dist/chunks/{command-6gwd6jt4.js → plugin-f8147smy.js} +5 -5
- package/dist/chunks/{command-zytxgpcz.js → plugin-fdf2r7px.js} +24 -24
- package/dist/chunks/{command-wmh05qp9.js → plugin-fnwaevmq.js} +24 -24
- package/dist/chunks/{command-2rx8305r.js → plugin-fq3v9e4w.js} +23 -23
- package/dist/chunks/{command-xbvc458q.js → plugin-fwdyap71.js} +8 -8
- package/dist/chunks/{command-44wsf4p6.js → plugin-fz79dkc7.js} +8 -8
- package/dist/chunks/plugin-g93t3hq1.js +26 -0
- package/dist/chunks/{command-xeqfr83e.js → plugin-gahzhxn8.js} +22 -22
- package/dist/chunks/{command-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-g53c9fq7.js → plugin-gfwqja43.js} +5 -5
- package/dist/chunks/{command-h2b79v29.js → plugin-h2b79v29.js} +2 -2
- package/dist/chunks/{command-tgdgvz5m.js → plugin-h4cyradc.js} +12 -12
- package/dist/chunks/{command-ncnm8wen.js → plugin-h5w29vws.js} +1 -1
- package/dist/chunks/{command-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-14tdwscn.js → plugin-h8ft0m90.js} +17 -17
- package/dist/chunks/{command-13dwg0c6.js → plugin-h92akkf0.js} +137 -137
- package/dist/chunks/{command-qgma0hvn.js → plugin-hahjxtze.js} +7 -7
- package/dist/chunks/{command-s4tt0pef.js → plugin-hcd320rf.js} +3 -3
- package/dist/chunks/{command-1d727dm9.js → plugin-hqe3s9vz.js} +303 -303
- package/dist/chunks/{command-51rych25.js → plugin-hz0mzm96.js} +64 -64
- package/dist/chunks/{command-qh49khd6.js → plugin-j2zjmsnh.js} +6 -6
- package/dist/chunks/{command-j56e64zr.js → plugin-j56e64zr.js} +1 -1
- package/dist/chunks/{command-n71h44cm.js → plugin-j730n9rv.js} +22 -22
- package/dist/chunks/{command-denjr0qg.js → plugin-jav2p7n3.js} +3 -3
- package/dist/chunks/{command-4ampwn7w.js → plugin-jgj04qff.js} +13 -13
- package/dist/chunks/{command-edajgpnh.js → plugin-js9gsb9m.js} +11 -11
- package/dist/chunks/{command-261teatt.js → plugin-k0r5d45h.js} +5 -5
- package/dist/chunks/{command-rt384jmm.js → plugin-k618byr3.js} +19 -19
- package/dist/chunks/{command-en9mxp96.js → plugin-k70p9jzb.js} +9 -9
- package/dist/chunks/{command-kb6vbnxp.js → plugin-kb6vbnxp.js} +1 -1
- package/dist/chunks/{command-9kr67f7m.js → plugin-kem2dng2.js} +33 -33
- package/dist/chunks/{command-43krc4bk.js → plugin-khhk3gee.js} +9 -9
- package/dist/chunks/{command-dssbfrwz.js → plugin-kjdm35cs.js} +5 -5
- package/dist/chunks/{command-k2srk8cp.js → plugin-kk5na4ms.js} +3 -3
- package/dist/chunks/{command-8htcd2rv.js → plugin-kqzb879x.js} +29 -29
- package/dist/chunks/{command-cg85h34c.js → plugin-ksr3qje0.js} +4 -4
- package/dist/chunks/{command-gq98prpa.js → plugin-ktyrkyt5.js} +13 -13
- package/dist/chunks/{command-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
- package/dist/chunks/{command-tj3amwcq.js → plugin-m4wv7hmr.js} +17 -17
- package/dist/chunks/{command-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-kz5zsevx.js → plugin-mccvx0ph.js} +6 -6
- package/dist/chunks/{command-c2qavkps.js → plugin-mdvte9fh.js} +11 -11
- package/dist/chunks/{command-7pjv18ns.js → plugin-mk89bcdm.js} +7 -7
- package/dist/chunks/{command-w7620n11.js → plugin-mmq86yx8.js} +28 -28
- package/dist/chunks/{command-vx3jgdek.js → plugin-my4zabxr.js} +3 -3
- package/dist/chunks/{command-r8ys1pjh.js → plugin-n11bbmz5.js} +4 -4
- package/dist/chunks/{command-k1qrnqst.js → plugin-nj1j17x6.js} +8 -8
- package/dist/chunks/{command-0e74cksd.js → plugin-nnjbqqpn.js} +7 -7
- package/dist/chunks/{command-0xf97k36.js → plugin-nqa2gsff.js} +11 -11
- package/dist/chunks/{command-dpkg50ah.js → plugin-nxm207yx.js} +4 -4
- package/dist/chunks/{command-q36shhmj.js → plugin-nxnchq8r.js} +14 -14
- package/dist/chunks/{command-q1dr63v1.js → plugin-nzh5psd4.js} +9 -9
- package/dist/chunks/{command-m0kkpct9.js → plugin-pcfe7wwq.js} +5 -5
- package/dist/chunks/{command-a2ccr785.js → plugin-pfpr1sg6.js} +15 -15
- package/dist/chunks/{command-f18tyt2v.js → plugin-pfybfzrt.js} +21 -21
- package/dist/chunks/{command-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{command-vps92m75.js → plugin-pnkbpv6t.js} +9 -9
- package/dist/chunks/{command-hwc5fhjs.js → plugin-q41hpyd6.js} +35 -35
- package/dist/chunks/{command-6238m7q1.js → plugin-q5fbr5p5.js} +5 -5
- package/dist/chunks/{command-bgtt2kw4.js → plugin-q9nhy42k.js} +33 -33
- package/dist/chunks/{command-f2hjv5fy.js → plugin-qce0q5sw.js} +5 -5
- package/dist/chunks/{command-f62qkzqr.js → plugin-qdbakdjh.js} +5 -5
- package/dist/chunks/{command-s6grk335.js → plugin-qj2xshqj.js} +36 -36
- package/dist/chunks/{command-hdy9dvcx.js → plugin-qj750ez4.js} +4 -4
- package/dist/chunks/{command-18htcbrq.js → plugin-qkn17avs.js} +9 -9
- package/dist/chunks/{command-qnc92qwc.js → plugin-qnc92qwc.js} +1 -1
- package/dist/chunks/{command-ygdna4kr.js → plugin-qne3fa44.js} +5 -5
- package/dist/chunks/{command-kenkf5s7.js → plugin-qq2xhrb8.js} +55 -55
- package/dist/chunks/{command-zfs8ae4p.js → plugin-qr25pfvb.js} +4 -4
- package/dist/chunks/{command-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{command-qxjc9qry.js → plugin-qxjc9qry.js} +3 -3
- package/dist/chunks/{command-scgrse2b.js → plugin-qygbw77c.js} +5 -5
- package/dist/chunks/{command-jb4r1kxp.js → plugin-r9f8m4wv.js} +16 -16
- package/dist/chunks/{command-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-evpm7vcg.js → plugin-rk6z8b2s.js} +33 -33
- package/dist/chunks/{command-2g0f3sn5.js → plugin-s607qcgc.js} +22 -22
- package/dist/chunks/{command-b1enpsaa.js → plugin-sqhwqkv8.js} +22 -22
- package/dist/chunks/{command-a2w70vx4.js → plugin-sr4k8heh.js} +14 -14
- package/dist/chunks/{command-cb72tr97.js → plugin-svf1j9mj.js} +27 -27
- package/dist/chunks/{command-aaz61dev.js → plugin-sw2ky0ak.js} +21 -21
- package/dist/chunks/{command-93ygb5af.js → plugin-sxzvkvgj.js} +6 -6
- package/dist/chunks/{command-ck8npcm5.js → plugin-t01ewf6t.js} +11 -11
- package/dist/chunks/{command-vmmvzryc.js → plugin-t03g005h.js} +11 -11
- package/dist/chunks/{command-s8d7rejh.js → plugin-t550f9t1.js} +4 -4
- package/dist/chunks/{command-t2pgk753.js → plugin-t5n9kkmz.js} +3 -3
- package/dist/chunks/{command-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-rkrkq154.js → plugin-tc91rda6.js} +9 -9
- package/dist/chunks/{command-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{command-tsjzc549.js → plugin-tefzd8kx.js} +30 -30
- package/dist/chunks/{command-09e69a7b.js → plugin-ty9x2hpf.js} +18 -18
- package/dist/chunks/{command-t18afxp3.js → plugin-v9b8r7m3.js} +12 -12
- package/dist/chunks/{command-h9hcchbf.js → plugin-v9gryrmc.js} +82 -82
- package/dist/chunks/{command-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{command-hndmfkfz.js → plugin-vvr3dw31.js} +10 -10
- package/dist/chunks/{command-j6zg015w.js → plugin-vx4r8km3.js} +35 -35
- package/dist/chunks/{command-nf8njrqz.js → plugin-vynkv33f.js} +13 -13
- package/dist/chunks/{command-vzcthcp8.js → plugin-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-bsprd9wx.js → plugin-w05x0cfw.js} +9 -9
- package/dist/chunks/{command-qp3v07n2.js → plugin-w1ad28wa.js} +5 -5
- package/dist/chunks/{command-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-7rbxqkgq.js → plugin-w7m571bh.js} +32 -32
- package/dist/chunks/{command-qfaf6res.js → plugin-w808e159.js} +20 -20
- package/dist/chunks/{command-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{command-mac87736.js → plugin-wp1hpspq.js} +6 -6
- package/dist/chunks/{command-addxnjmp.js → plugin-x661k3y3.js} +4 -4
- package/dist/chunks/{command-930nf9me.js → plugin-x88jpnpr.js} +18 -18
- package/dist/chunks/{command-xfkkasph.js → plugin-xfkkasph.js} +1 -1
- package/dist/chunks/{command-xkntkrq7.js → plugin-xkntkrq7.js} +2 -2
- package/dist/chunks/{command-nz49q0p3.js → plugin-xkt82cda.js} +22 -22
- package/dist/chunks/{command-max5zner.js → plugin-xqsx1vwf.js} +34 -34
- package/dist/chunks/{command-k5vew2r0.js → plugin-xt0fd68y.js} +19 -19
- package/dist/chunks/{command-krz37b5z.js → plugin-xw9z83sh.js} +55 -55
- package/dist/chunks/{command-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-117ga8q0.js → plugin-y630p9sc.js} +25 -25
- package/dist/chunks/{command-r1g3ttfx.js → plugin-y7nnagj6.js} +32 -32
- package/dist/chunks/{command-fkscjsp5.js → plugin-ydkmjtsm.js} +11 -11
- package/dist/chunks/{command-jfvphnye.js → plugin-ydrgdh5s.js} +22 -22
- package/dist/chunks/{command-8fgecypx.js → plugin-yfh8cgan.js} +9 -9
- package/dist/chunks/{command-agq9zd11.js → plugin-ygkw9vpb.js} +15 -15
- package/dist/chunks/{command-r8xr0va3.js → plugin-yp2x3t23.js} +4 -4
- package/dist/chunks/{command-r9w3djhf.js → plugin-yr715y08.js} +2 -2
- package/dist/chunks/{command-qqdfvssg.js → plugin-yrh23yf8.js} +17 -17
- package/dist/chunks/{command-2avtt150.js → plugin-yrqbh8b0.js} +19 -19
- package/dist/chunks/{command-2y035twn.js → plugin-yt1qgzdm.js} +10 -10
- package/dist/chunks/{command-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-q8ejgrh7.js → plugin-z4ev155g.js} +11 -11
- package/dist/chunks/{command-rkrj05tv.js → plugin-z5rqpkns.js} +35 -35
- package/dist/chunks/{command-kt2w57dr.js → plugin-zdpsxmh8.js} +38 -38
- package/dist/chunks/{command-jkwx8shz.js → plugin-zg6rd06s.js} +11 -11
- package/dist/chunks/{command-1ytwep67.js → plugin-znfvst1a.js} +3 -3
- package/dist/chunks/{command-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-pz4bzxx2.js → plugin-zz5k72w4.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +203 -203
- 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 +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +74 -74
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +92 -87
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +115 -115
- 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 +113 -113
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +113 -113
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +91 -91
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- 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 +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- 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 +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- 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 +209 -209
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +87 -87
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- 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 +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/mcp/oauth.d.ts +1 -10
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/command-1x11rq2a.js +0 -18
- package/dist/chunks/command-bb7jf4d3.js +0 -26
- /package/dist/chunks/{command-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t0ybcrp.js → plugin-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → plugin-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Service79,
|
|
8
8
|
node82
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-js9gsb9m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service16,
|
|
12
|
+
node18
|
|
13
|
+
} from "./plugin-6arwdhpr.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./plugin-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -33,11 +33,11 @@ __export(exports_filesystem, {
|
|
|
33
33
|
Match: () => Match2,
|
|
34
34
|
NotFoundError: () => NotFoundError2,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service15,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node17
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -107,12 +107,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
107
107
|
}
|
|
108
108
|
var Event2 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service15 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service79;
|
|
115
|
+
const search = yield* Service16;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -129,7 +129,7 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
129
129
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
130
130
|
return { absolute, real, directory: location.directory };
|
|
131
131
|
});
|
|
132
|
-
return
|
|
132
|
+
return Service15.of({
|
|
133
133
|
find: search.find,
|
|
134
134
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
135
135
|
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}));
|
|
169
|
-
var
|
|
170
|
-
service:
|
|
169
|
+
var node17 = makeLocationNode({
|
|
170
|
+
service: Service15,
|
|
171
171
|
layer: baseLayer,
|
|
172
|
-
deps: [FSUtil.node, node82,
|
|
172
|
+
deps: [FSUtil.node, node82, node18]
|
|
173
173
|
});
|
|
174
174
|
|
|
175
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2,
|
|
175
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
10
|
+
configured: () => configured10,
|
|
11
11
|
layer: () => layer24,
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
make: () => make21,
|
|
13
|
+
node: () => node75,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make21()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make21(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make22(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var layer24 = (input) => Layer.succeed(Metadata2,
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make21(input));
|
|
32
|
+
var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node75 = configured10();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make21, useragent2, layer24, configured10, node75, exports_app };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-2pnhn36q.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info14
|
|
9
|
+
} from "./plugin-7y3n75t2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info16
|
|
12
|
+
} from "./plugin-b27vhd2z.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./plugin-kjdm35cs.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-0jwsre1p.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info17
|
|
21
|
+
} from "./plugin-qne3fa44.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-2m5wdzz9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./plugin-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
217
217
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const server = decodeValue(
|
|
220
|
+
const server = decodeValue(Info15, value, path, diagnostics);
|
|
221
221
|
if (server !== undefined)
|
|
222
222
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
223
223
|
});
|
|
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
413
413
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
414
414
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
415
415
|
return [];
|
|
416
|
-
const provider = decodeValue(
|
|
416
|
+
const provider = decodeValue(Info17, raw, path, diagnostics);
|
|
417
417
|
if (provider === undefined)
|
|
418
418
|
return [];
|
|
419
419
|
const destination = providerID2(name);
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service57
|
|
4
|
+
} from "./plugin-svf1j9mj.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
7
|
Service74
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-ydrgdh5s.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./plugin-cepe0qf7.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-my4zabxr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service43
|
|
18
|
+
} from "./plugin-r9f8m4wv.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service54
|
|
22
|
+
} from "./plugin-qq2xhrb8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service23
|
|
25
|
+
} from "./plugin-9jww82ap.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./plugin-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make9
|
|
31
|
+
} from "./plugin-zg6rd06s.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./plugin-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input9,
|
|
40
|
+
Output: () => Output6,
|
|
41
|
+
Plugin: () => Plugin44,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name9
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name9 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input9 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input7 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output6 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description4 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin44 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
92
|
+
const sessions = yield* Service23;
|
|
93
|
+
const jobs = yield* Service43;
|
|
94
|
+
const agents = yield* Service57;
|
|
95
|
+
const config = yield* Service66;
|
|
96
|
+
const permission = yield* Service54;
|
|
97
97
|
const models = yield* Service74;
|
|
98
|
-
const subagents = yield*
|
|
98
|
+
const subagents = yield* make9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin43 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name9,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input9,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin43 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name9,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin43 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name9 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name9];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name9, Input9, Output6, description4, Plugin44, exports_subagent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-da0rp3w3.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-kk5na4ms.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-nxm207yx.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node87
|
|
12
|
+
} from "./plugin-9szwjyee.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID18,
|
|
25
|
+
Info: () => Info29,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service83,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured12,
|
|
30
|
+
node: () => node86
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID18 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info29 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID18,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info15 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID18 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID18,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service83 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured12 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service83,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node87]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service83, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info29({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service83.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID18.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node86 = configured12();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID18, Info29, NotFound3, CreateConflict2, Service83, configured12, node86, exports_workspace };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service63,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node65
|
|
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 Service63 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service63, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service63.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(Service33, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node65 = makeGlobalNode({ service: Service63, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service63, node65, exports_environment };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-afc78eap.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./plugin-3r80836k.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-zz5k72w4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID12,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-xkt82cda.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID12.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID13.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service77;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info16
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info16 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info7 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info16, exports_command5 };
|