@opencode/core 0.0.0-dev-21856 → 0.0.0-dev-21873
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 +86 -86
- package/dist/aisdk-native.js +95 -95
- package/dist/aisdk.js +101 -101
- package/dist/app.js +9 -9
- package/dist/bus.js +78 -78
- package/dist/chunks/{instruction-discovery-aj7mw0zk.js → rpc-034tev2y.js} +2 -2
- package/dist/chunks/{instruction-discovery-6nb5amhk.js → rpc-04ngwmg9.js} +23 -23
- package/dist/chunks/{instruction-discovery-0fhwjkjb.js → rpc-0bj0j9hv.js} +9 -9
- package/dist/chunks/{instruction-discovery-wr3re1en.js → rpc-0h8y3ex8.js} +4 -4
- package/dist/chunks/{instruction-discovery-0pwrv1px.js → rpc-0k3jqzf9.js} +11 -11
- package/dist/chunks/{instruction-discovery-zkwh13gz.js → rpc-0mwa2cev.js} +33 -33
- package/dist/chunks/{instruction-discovery-xkwgy4cp.js → rpc-0v1855mm.js} +32 -32
- package/dist/chunks/{instruction-discovery-gsf91c57.js → rpc-0xezzd5d.js} +25 -25
- package/dist/chunks/{instruction-discovery-ah33f0p8.js → rpc-0zpmm0s8.js} +38 -38
- package/dist/chunks/{instruction-discovery-tg1vr1qt.js → rpc-160yv0cs.js} +8 -8
- package/dist/chunks/{instruction-discovery-mgn5vsv9.js → rpc-16wvv7z8.js} +18 -18
- package/dist/chunks/{instruction-discovery-7wmap86a.js → rpc-1dv2g4jv.js} +13 -13
- package/dist/chunks/{instruction-discovery-27w5k9zf.js → rpc-1ep2p91f.js} +2 -2
- package/dist/chunks/{instruction-discovery-yb049qzj.js → rpc-1kq7gdh7.js} +9 -9
- package/dist/chunks/{instruction-discovery-y3yaq8m0.js → rpc-1krajzn2.js} +18 -18
- package/dist/chunks/{instruction-discovery-epdzwpp6.js → rpc-1qzzfct3.js} +17 -17
- package/dist/chunks/{instruction-discovery-pdn4k0k5.js → rpc-1rt6s9mf.js} +23 -23
- package/dist/chunks/{instruction-discovery-76xn3a0a.js → rpc-1vbdq4r3.js} +9 -9
- package/dist/chunks/{instruction-discovery-1x2knyw4.js → rpc-1x2knyw4.js} +1 -1
- package/dist/chunks/{instruction-discovery-wqscedq8.js → rpc-1y0wdj51.js} +4 -4
- package/dist/chunks/{instruction-discovery-5zrxpy3q.js → rpc-1yq9hg58.js} +5 -5
- package/dist/chunks/{instruction-discovery-6mx77wfc.js → rpc-1zer9mtc.js} +9 -9
- package/dist/chunks/{instruction-discovery-an558sqv.js → rpc-2azy8kv6.js} +4 -4
- package/dist/chunks/{instruction-discovery-7qgp347e.js → rpc-2e52m8w3.js} +25 -25
- package/dist/chunks/{instruction-discovery-q0xpyrzg.js → rpc-2fmzxhrb.js} +31 -31
- package/dist/chunks/{instruction-discovery-9taragy3.js → rpc-2fqamhmy.js} +45 -45
- package/dist/chunks/{instruction-discovery-gkj1ekva.js → rpc-2pv3z35r.js} +42 -42
- package/dist/chunks/{instruction-discovery-vx3jgdek.js → rpc-2qr4rt5k.js} +3 -3
- package/dist/chunks/{instruction-discovery-2z1j29yd.js → rpc-2z1j29yd.js} +1 -1
- package/dist/chunks/{instruction-discovery-59z74nnh.js → rpc-398tazf9.js} +29 -29
- package/dist/chunks/{instruction-discovery-hq4adp60.js → rpc-3bgazc58.js} +38 -38
- package/dist/chunks/{instruction-discovery-9cw5bcc9.js → rpc-3f2z84v7.js} +6 -6
- package/dist/chunks/{instruction-discovery-fx0r4jew.js → rpc-3f6bgqej.js} +30 -30
- package/dist/chunks/{instruction-discovery-d5kckzmt.js → rpc-3ha882x3.js} +34 -34
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-0421tmwc.js → rpc-3mgb105e.js} +9 -9
- package/dist/chunks/{instruction-discovery-3nnrz6f6.js → rpc-3nnrz6f6.js} +1 -1
- package/dist/chunks/{instruction-discovery-kf4j52hm.js → rpc-3q2vkj4t.js} +21 -21
- package/dist/chunks/{instruction-discovery-pjgfana8.js → rpc-3qayfnz6.js} +24 -24
- package/dist/chunks/{instruction-discovery-c67yf1m4.js → rpc-3rkxfjmv.js} +11 -11
- package/dist/chunks/{instruction-discovery-bser62ex.js → rpc-3rvgssh1.js} +19 -19
- package/dist/chunks/{instruction-discovery-kddwcmfq.js → rpc-3tpaz0rx.js} +6 -6
- package/dist/chunks/{instruction-discovery-trr9ktnj.js → rpc-3x0jq06w.js} +38 -38
- package/dist/chunks/{instruction-discovery-sgqd298e.js → rpc-46astgjy.js} +23 -23
- package/dist/chunks/{instruction-discovery-8kgrggzd.js → rpc-4cnqzyf4.js} +28 -28
- package/dist/chunks/{instruction-discovery-c8f2t8jt.js → rpc-4dvhwzem.js} +8 -8
- package/dist/chunks/{instruction-discovery-6fe8n112.js → rpc-4enm61nh.js} +33 -33
- package/dist/chunks/{instruction-discovery-77va0czz.js → rpc-4ntv0s9s.js} +13 -13
- package/dist/chunks/{instruction-discovery-hdfrs5mg.js → rpc-4pnypb5f.js} +7 -7
- package/dist/chunks/{instruction-discovery-1zj1p2f3.js → rpc-4s8jnsjq.js} +4 -4
- package/dist/chunks/{instruction-discovery-4v008n1t.js → rpc-4v008n1t.js} +1 -1
- package/dist/chunks/{instruction-discovery-4xvmh7wp.js → rpc-4xvmh7wp.js} +3 -3
- package/dist/chunks/{instruction-discovery-fhs2myvw.js → rpc-4zcmvsgg.js} +4 -4
- package/dist/chunks/{instruction-discovery-q2kr01gp.js → rpc-54x0ra2z.js} +26 -26
- package/dist/chunks/{instruction-discovery-xsyke37x.js → rpc-5ccyfjd7.js} +4 -4
- package/dist/chunks/{instruction-discovery-7ezxcv5k.js → rpc-5erj5q6b.js} +8 -8
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-b6vsg801.js → rpc-5nnwax6m.js} +5 -5
- package/dist/chunks/{instruction-discovery-86h3z9z4.js → rpc-5qgyxxk2.js} +19 -19
- package/dist/chunks/{instruction-discovery-ge6wgs05.js → rpc-5ra5vjeh.js} +11 -11
- package/dist/chunks/{instruction-discovery-3b7gyab6.js → rpc-5vnnt37t.js} +13 -13
- package/dist/chunks/{instruction-discovery-x849kq2w.js → rpc-5w6e6t6m.js} +18 -18
- package/dist/chunks/{instruction-discovery-9qcg53ez.js → rpc-64a4dgx4.js} +9 -9
- package/dist/chunks/{instruction-discovery-9e5xv20g.js → rpc-65ep5kwy.js} +68 -68
- package/dist/chunks/{instruction-discovery-sdaxcxz4.js → rpc-6enqd4a4.js} +5 -5
- package/dist/chunks/{instruction-discovery-6esdw8yj.js → rpc-6esdw8yj.js} +1 -1
- package/dist/chunks/{instruction-discovery-2n1gkq6v.js → rpc-6jzdaz5a.js} +5 -5
- package/dist/chunks/{instruction-discovery-n01dw1sy.js → rpc-6m0k75x8.js} +16 -16
- package/dist/chunks/{instruction-discovery-wwr9hj1b.js → rpc-6mg7998y.js} +27 -27
- package/dist/chunks/{instruction-discovery-6pjqjmy2.js → rpc-6pjqjmy2.js} +1 -1
- package/dist/chunks/{instruction-discovery-wp4rg1a9.js → rpc-7193gb3b.js} +5 -5
- package/dist/chunks/{instruction-discovery-qn73fphh.js → rpc-73m4wzt2.js} +20 -20
- package/dist/chunks/{instruction-discovery-w8qtt4th.js → rpc-76cb1hcw.js} +4 -4
- package/dist/chunks/{instruction-discovery-4an0jmbp.js → rpc-79sgxn43.js} +81 -81
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-fdx01m1w.js → rpc-7bnre8yf.js} +20 -20
- package/dist/chunks/{instruction-discovery-zgtcbref.js → rpc-7gn1c7q5.js} +16 -16
- package/dist/chunks/{instruction-discovery-b9mm38pq.js → rpc-7nngkk4m.js} +9 -9
- package/dist/chunks/{instruction-discovery-0376xegq.js → rpc-7nzrcr96.js} +21 -21
- package/dist/chunks/{instruction-discovery-2a7mr38d.js → rpc-7p4k3pzp.js} +19 -19
- package/dist/chunks/{instruction-discovery-c9faan9k.js → rpc-7t4pb3xg.js} +26 -26
- package/dist/chunks/{instruction-discovery-7w2ypzdf.js → rpc-7w2ypzdf.js} +1 -1
- package/dist/chunks/{instruction-discovery-eynt3b8t.js → rpc-80x2hthz.js} +20 -20
- package/dist/chunks/{instruction-discovery-k6tkbc6y.js → rpc-81qd9b8r.js} +22 -22
- package/dist/chunks/{instruction-discovery-0kf7s4qn.js → rpc-85erx67x.js} +27 -27
- package/dist/chunks/rpc-867sn0d9.js +26 -0
- package/dist/chunks/{instruction-discovery-s4f8ct6t.js → rpc-88kypjvy.js} +4 -4
- package/dist/chunks/{instruction-discovery-033a0jkt.js → rpc-8bc2ahr8.js} +3 -3
- package/dist/chunks/{instruction-discovery-dd1b5043.js → rpc-8fwqr86x.js} +4 -4
- package/dist/chunks/{instruction-discovery-11hfp36g.js → rpc-8jztxfpf.js} +4 -4
- package/dist/chunks/{instruction-discovery-vsnw9jjv.js → rpc-8m8ckbnq.js} +38 -38
- package/dist/chunks/{instruction-discovery-3kjng0cn.js → rpc-8s627est.js} +18 -18
- package/dist/chunks/{instruction-discovery-8wtp7s3z.js → rpc-8wtp7s3z.js} +1 -1
- package/dist/chunks/{instruction-discovery-91rj84md.js → rpc-91rj84md.js} +1 -1
- package/dist/chunks/{instruction-discovery-hckw3xdg.js → rpc-94neassx.js} +7 -7
- package/dist/chunks/{instruction-discovery-am41y27b.js → rpc-963r0pdn.js} +11 -11
- package/dist/chunks/{instruction-discovery-38adaqc0.js → rpc-96te9d4b.js} +5 -5
- package/dist/chunks/{instruction-discovery-pjwfm23k.js → rpc-9909tw4t.js} +11 -11
- package/dist/chunks/{instruction-discovery-hvqa3p38.js → rpc-99vsxt4e.js} +32 -32
- package/dist/chunks/{instruction-discovery-9cx9sm2q.js → rpc-9cx9sm2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-sa5jcsah.js → rpc-9cym0b72.js} +10 -10
- package/dist/chunks/{instruction-discovery-kv8jnsbb.js → rpc-9fqb62wa.js} +35 -35
- package/dist/chunks/{instruction-discovery-t4dm2043.js → rpc-9q3aj0x8.js} +4 -4
- package/dist/chunks/{instruction-discovery-txnzry6p.js → rpc-9x964ny6.js} +18 -18
- package/dist/chunks/{instruction-discovery-gx0r2313.js → rpc-9xnq3n9q.js} +6 -6
- package/dist/chunks/{instruction-discovery-hgv00ze4.js → rpc-a24rd9w3.js} +3 -3
- package/dist/chunks/{instruction-discovery-j18x68xg.js → rpc-a48xdxv5.js} +5 -5
- package/dist/chunks/{instruction-discovery-dcg2s03j.js → rpc-a6hdfaqp.js} +7 -7
- package/dist/chunks/{instruction-discovery-jj9caqwr.js → rpc-a7hcemwv.js} +8 -8
- package/dist/chunks/{instruction-discovery-z2gcn5m8.js → rpc-actym6sp.js} +6 -6
- package/dist/chunks/{instruction-discovery-szcgc7h4.js → rpc-afmnpta1.js} +5 -5
- package/dist/chunks/{instruction-discovery-65d0br2h.js → rpc-ampftf2x.js} +22 -22
- package/dist/chunks/{instruction-discovery-bjhzkqyk.js → rpc-ar2j3j0f.js} +4 -4
- package/dist/chunks/{instruction-discovery-cwbk6kgm.js → rpc-asj9x96b.js} +22 -22
- package/dist/chunks/{instruction-discovery-4e181ey7.js → rpc-axtaqyfz.js} +30 -30
- package/dist/chunks/{instruction-discovery-3cbjf1nt.js → rpc-ayjs7tqn.js} +2 -2
- package/dist/chunks/{instruction-discovery-wcqnm0th.js → rpc-aywybv3t.js} +11 -11
- package/dist/chunks/{instruction-discovery-b0mv4wxm.js → rpc-b0mv4wxm.js} +2 -2
- package/dist/chunks/{instruction-discovery-60cg3xth.js → rpc-b93v3z3c.js} +17 -17
- package/dist/chunks/{instruction-discovery-2xag3f1q.js → rpc-bfp6p8p6.js} +14 -14
- package/dist/chunks/{instruction-discovery-n66c6y3m.js → rpc-bje4knzw.js} +6 -6
- package/dist/chunks/{instruction-discovery-21k2fbyg.js → rpc-bt3f8k6b.js} +31 -31
- package/dist/chunks/{instruction-discovery-cs91e4mb.js → rpc-bxe79e76.js} +22 -22
- package/dist/chunks/{instruction-discovery-kyx40m29.js → rpc-c66ha81g.js} +13 -13
- package/dist/chunks/{instruction-discovery-2whzz79q.js → rpc-c891t0q5.js} +15 -15
- package/dist/chunks/{instruction-discovery-2a026epw.js → rpc-caw776h6.js} +5 -5
- package/dist/chunks/{instruction-discovery-x9wwpfw9.js → rpc-cd50e0wg.js} +11 -11
- package/dist/chunks/{instruction-discovery-kx4zfn7s.js → rpc-cdkymz2t.js} +8 -8
- package/dist/chunks/{instruction-discovery-5rwvrnjs.js → rpc-cerpfb20.js} +3 -3
- package/dist/chunks/{instruction-discovery-e4mwgxf5.js → rpc-chmmxz1g.js} +12 -12
- package/dist/chunks/{instruction-discovery-abqtacmz.js → rpc-cjszy3qj.js} +28 -28
- package/dist/chunks/{instruction-discovery-78apxg9s.js → rpc-cq2kz1vr.js} +5 -5
- package/dist/chunks/{instruction-discovery-r14veqnk.js → rpc-cqsckrq7.js} +9 -9
- package/dist/chunks/{instruction-discovery-x9jz5q9y.js → rpc-cwp484bj.js} +16 -16
- package/dist/chunks/{instruction-discovery-d4v9tmah.js → rpc-d4v9tmah.js} +2 -2
- package/dist/chunks/{instruction-discovery-zb7rk5jp.js → rpc-dch74nbf.js} +12 -12
- package/dist/chunks/{instruction-discovery-37p9cva5.js → rpc-dnb44sjf.js} +38 -38
- package/dist/chunks/{instruction-discovery-7sdtxe0n.js → rpc-drvbhkez.js} +4 -4
- package/dist/chunks/{instruction-discovery-e07q2w5p.js → rpc-e07q2w5p.js} +1 -1
- package/dist/chunks/{instruction-discovery-102edbh2.js → rpc-e0dtevzy.js} +30 -30
- package/dist/chunks/{instruction-discovery-9fdyqjqc.js → rpc-e738kmdw.js} +6 -6
- package/dist/chunks/{instruction-discovery-e834z07m.js → rpc-e834z07m.js} +1 -1
- package/dist/chunks/{instruction-discovery-pvk4fgqk.js → rpc-ewq3zh3y.js} +19 -19
- package/dist/chunks/rpc-ezna1kdx.js +18 -0
- package/dist/chunks/{instruction-discovery-ekvz5h58.js → rpc-f2ptadf3.js} +6 -6
- package/dist/chunks/{instruction-discovery-qbhpcaah.js → rpc-f3x3s8kp.js} +5 -5
- package/dist/chunks/{instruction-discovery-1hzrtcgn.js → rpc-ff74gtbc.js} +22 -22
- package/dist/chunks/{instruction-discovery-fffv3p7h.js → rpc-fffv3p7h.js} +1 -1
- package/dist/chunks/{instruction-discovery-htsj1ang.js → rpc-fjqb86s3.js} +49 -49
- package/dist/chunks/{instruction-discovery-787swm9c.js → rpc-fsv9b7rr.js} +6 -6
- package/dist/chunks/{instruction-discovery-twdwv45k.js → rpc-fyeq52zw.js} +5 -5
- package/dist/chunks/{instruction-discovery-j3k0pknh.js → rpc-g3cgjwhd.js} +18 -18
- package/dist/chunks/{instruction-discovery-g5h9c0rr.js → rpc-g5h9c0rr.js} +2 -2
- package/dist/chunks/{instruction-discovery-q665vn8y.js → rpc-g661nnma.js} +3 -3
- package/dist/chunks/{instruction-discovery-m442sk3e.js → rpc-g8mj4081.js} +24 -24
- package/dist/chunks/{instruction-discovery-zbje3vb8.js → rpc-ge6kdzsz.js} +17 -17
- package/dist/chunks/{instruction-discovery-v4vn6xq1.js → rpc-gh2awkxf.js} +12 -12
- package/dist/chunks/{instruction-discovery-1at1dets.js → rpc-gr2q1ewy.js} +19 -19
- package/dist/chunks/{instruction-discovery-taxmasjd.js → rpc-grk6sz4n.js} +14 -14
- package/dist/chunks/{instruction-discovery-m2m1xhfw.js → rpc-h9y2z81z.js} +14 -14
- package/dist/chunks/{instruction-discovery-f0we80a8.js → rpc-hf7m31j6.js} +26 -26
- package/dist/chunks/{instruction-discovery-xnh55p1t.js → rpc-hfgk9wzg.js} +7 -7
- package/dist/chunks/{instruction-discovery-z4ee4kj5.js → rpc-hrmm2vh8.js} +13 -13
- package/dist/chunks/{instruction-discovery-41t08jwg.js → rpc-hrskdsrs.js} +33 -33
- package/dist/chunks/{instruction-discovery-j113cymg.js → rpc-j113cymg.js} +1 -1
- package/dist/chunks/rpc-j80rrc5p.js +517 -0
- package/dist/chunks/{instruction-discovery-jt4crtef.js → rpc-jacwe7hq.js} +33 -33
- package/dist/chunks/{instruction-discovery-etbajbke.js → rpc-jartwg2v.js} +8 -8
- package/dist/chunks/{instruction-discovery-5635a4dp.js → rpc-jh64gpxz.js} +23 -23
- package/dist/chunks/{instruction-discovery-v8vd993n.js → rpc-jjx6aha5.js} +8 -8
- package/dist/chunks/{instruction-discovery-r9afhevh.js → rpc-jnnydgw3.js} +11 -11
- package/dist/chunks/{instruction-discovery-jefw9j3y.js → rpc-jnwx2kg9.js} +8 -8
- package/dist/chunks/{instruction-discovery-953mc539.js → rpc-jw86xtr6.js} +55 -55
- package/dist/chunks/{instruction-discovery-6ek8yrc4.js → rpc-k1jg2ba5.js} +30 -30
- package/dist/chunks/{instruction-discovery-gwedrbay.js → rpc-k7mchm5d.js} +7 -7
- package/dist/chunks/{instruction-discovery-k814nvkf.js → rpc-k814nvkf.js} +1 -1
- package/dist/chunks/{instruction-discovery-nptsc9d0.js → rpc-kbq8ed69.js} +30 -30
- package/dist/chunks/{instruction-discovery-tnrberjk.js → rpc-kftcb4df.js} +11 -11
- package/dist/chunks/{instruction-discovery-1td35j7c.js → rpc-ks6g0x1g.js} +10 -10
- package/dist/chunks/{instruction-discovery-ef03wrw5.js → rpc-ksbfgvv1.js} +2 -2
- package/dist/chunks/{instruction-discovery-kt3bjfbg.js → rpc-kt3bjfbg.js} +1 -1
- package/dist/chunks/{instruction-discovery-p2waepnj.js → rpc-kzt3m1e7.js} +18 -18
- package/dist/chunks/{instruction-discovery-m1714858.js → rpc-m1714858.js} +1 -1
- package/dist/chunks/{instruction-discovery-s26v1fhy.js → rpc-m46pxzbq.js} +20 -20
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-zdn46m04.js → rpc-m9xapfg3.js} +8 -8
- package/dist/chunks/{instruction-discovery-maspj1v3.js → rpc-maspj1v3.js} +1 -1
- package/dist/chunks/{instruction-discovery-hvtc9nr8.js → rpc-medmgz4w.js} +33 -33
- package/dist/chunks/{instruction-discovery-nfkqfv71.js → rpc-mjsq6pzz.js} +4 -4
- package/dist/chunks/{instruction-discovery-jd0c8nhx.js → rpc-mwsc4vcv.js} +29 -29
- package/dist/chunks/{instruction-discovery-dhh45h7t.js → rpc-n1ayqdm4.js} +33 -33
- package/dist/chunks/{instruction-discovery-kwwzj9vh.js → rpc-n2165afj.js} +9 -9
- package/dist/chunks/{instruction-discovery-9kf0vz67.js → rpc-n57zrvc2.js} +9 -9
- package/dist/chunks/{instruction-discovery-6qx0tzjw.js → rpc-n7twsc79.js} +48 -48
- package/dist/chunks/{instruction-discovery-022n3vkv.js → rpc-n8znjy9k.js} +17 -17
- package/dist/chunks/{instruction-discovery-nah043kf.js → rpc-nah043kf.js} +1 -1
- package/dist/chunks/{instruction-discovery-8e3kbr0h.js → rpc-negk2hya.js} +8 -8
- package/dist/chunks/{instruction-discovery-p015t6z3.js → rpc-p015t6z3.js} +2 -2
- package/dist/chunks/{instruction-discovery-ecr3e0ye.js → rpc-p7g1837s.js} +24 -24
- package/dist/chunks/{instruction-discovery-vqkw0r40.js → rpc-p8xrwawc.js} +15 -15
- package/dist/chunks/{instruction-discovery-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-48aqrqf8.js → rpc-pp5kzkp6.js} +15 -15
- package/dist/chunks/{instruction-discovery-zxds5g97.js → rpc-prcm84f8.js} +4 -4
- package/dist/chunks/{instruction-discovery-6tpjd6jw.js → rpc-py69nrmv.js} +32 -32
- package/dist/chunks/{instruction-discovery-bsaevn98.js → rpc-pzz2ws5k.js} +2 -2
- package/dist/chunks/{instruction-discovery-4d42373m.js → rpc-q1tppxga.js} +30 -30
- package/dist/chunks/{instruction-discovery-pab4qvhq.js → rpc-q5z0rzsk.js} +1 -1
- package/dist/chunks/{instruction-discovery-mqpx0pnx.js → rpc-qb4xeqeg.js} +18 -18
- package/dist/chunks/{instruction-discovery-sc1ejmap.js → rpc-qeb2jzk6.js} +20 -20
- package/dist/chunks/{instruction-discovery-5r5fyt21.js → rpc-qes58p1f.js} +14 -14
- package/dist/chunks/{instruction-discovery-27bs79w9.js → rpc-qj0f10hy.js} +2 -2
- package/dist/chunks/{instruction-discovery-famkmqnc.js → rpc-qmb9yqdb.js} +11 -11
- package/dist/chunks/{instruction-discovery-r0yr0wbs.js → rpc-r0yr0wbs.js} +1 -1
- package/dist/chunks/{instruction-discovery-155gq7f2.js → rpc-r2j4ww2r.js} +21 -21
- package/dist/chunks/{instruction-discovery-r542h3bh.js → rpc-r542h3bh.js} +1 -1
- package/dist/chunks/{instruction-discovery-rb9dy4dg.js → rpc-rb9dy4dg.js} +1 -1
- package/dist/chunks/{instruction-discovery-d5x916ad.js → rpc-rgzmrh02.js} +16 -16
- package/dist/chunks/rpc-rkjq1912.js +257 -0
- package/dist/chunks/{instruction-discovery-rt5dr6hb.js → rpc-rt5dr6hb.js} +1 -1
- package/dist/chunks/{instruction-discovery-2nm1jq1n.js → rpc-rwe75qc8.js} +6 -6
- package/dist/chunks/{instruction-discovery-5xpq01xn.js → rpc-s05tnvks.js} +17 -17
- package/dist/chunks/{instruction-discovery-gwn12nzh.js → rpc-s1gefd7a.js} +13 -13
- package/dist/chunks/{instruction-discovery-sa3fpqfw.js → rpc-sa3fpqfw.js} +2 -2
- package/dist/chunks/{instruction-discovery-k3cw2t6y.js → rpc-sbegqkxp.js} +6 -6
- package/dist/chunks/{instruction-discovery-ekaass4j.js → rpc-sjptd64y.js} +19 -19
- package/dist/chunks/{instruction-discovery-kxtse1qm.js → rpc-sm3m7ev9.js} +25 -25
- package/dist/chunks/{instruction-discovery-jcqm84fr.js → rpc-smfcvx02.js} +5 -5
- package/dist/chunks/{instruction-discovery-c21pq9gz.js → rpc-smk9ards.js} +10 -10
- package/dist/chunks/{instruction-discovery-sqjzf8x2.js → rpc-sqjzf8x2.js} +1 -1
- package/dist/chunks/{instruction-discovery-7f47qj7q.js → rpc-sr8e16az.js} +21 -21
- package/dist/chunks/{instruction-discovery-d2887f8n.js → rpc-ssfehs1z.js} +4 -4
- package/dist/chunks/{instruction-discovery-tyn3bpzc.js → rpc-sss9qfaq.js} +53 -53
- package/dist/chunks/{instruction-discovery-2sdff0wq.js → rpc-t12v43rg.js} +6 -6
- package/dist/chunks/{instruction-discovery-26fr4g6g.js → rpc-t3ggr34t.js} +13 -13
- package/dist/chunks/{instruction-discovery-hs3h4apg.js → rpc-t4knw8fq.js} +21 -21
- package/dist/chunks/{instruction-discovery-9mhsf8fp.js → rpc-t6t5wpsz.js} +46 -46
- package/dist/chunks/{instruction-discovery-8maf53x6.js → rpc-t91wt1xc.js} +7 -7
- package/dist/chunks/{instruction-discovery-mnp40s8y.js → rpc-taacwnvm.js} +5 -5
- package/dist/chunks/{instruction-discovery-tczq8hjw.js → rpc-tczq8hjw.js} +1 -1
- package/dist/chunks/{instruction-discovery-rfn832fb.js → rpc-tdzaayr8.js} +25 -25
- package/dist/chunks/{instruction-discovery-5hf5hqc3.js → rpc-thzzp9tf.js} +1 -1
- package/dist/chunks/{instruction-discovery-j3t6aztb.js → rpc-tkn93vs5.js} +3 -3
- package/dist/chunks/{instruction-discovery-qmy3sz40.js → rpc-tkqgr2f8.js} +88 -88
- package/dist/chunks/{instruction-discovery-kz5za7wj.js → rpc-tmz3gxxq.js} +4 -4
- package/dist/chunks/{instruction-discovery-nsm20kj3.js → rpc-tnytawq1.js} +29 -29
- package/dist/chunks/{instruction-discovery-z9fvm9x8.js → rpc-tnznrj7j.js} +11 -11
- package/dist/chunks/{instruction-discovery-twv2r8f4.js → rpc-twv2r8f4.js} +2 -2
- package/dist/chunks/{instruction-discovery-517ec74p.js → rpc-txbbv18y.js} +11 -11
- package/dist/chunks/{instruction-discovery-c4sx0a9c.js → rpc-tz4xexj5.js} +11 -11
- package/dist/chunks/{instruction-discovery-9r4wwjnf.js → rpc-v0tjrdy5.js} +50 -50
- package/dist/chunks/{instruction-discovery-rvh17fyg.js → rpc-v1a1acs9.js} +8 -8
- package/dist/chunks/{instruction-discovery-v2r1d0zg.js → rpc-v2r1d0zg.js} +1 -1
- package/dist/chunks/{instruction-discovery-vd3b3yk9.js → rpc-vd3b3yk9.js} +1 -1
- package/dist/chunks/{instruction-discovery-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-r41sfy63.js → rpc-w2eysc6j.js} +6 -6
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-ez0126qx.js → rpc-w5e2fj78.js} +20 -20
- package/dist/chunks/{instruction-discovery-s0yhjk23.js → rpc-w5h1wkz0.js} +13 -13
- package/dist/chunks/{instruction-discovery-a9hesjbw.js → rpc-w6f6gw9w.js} +8 -8
- package/dist/chunks/{instruction-discovery-j5djsqge.js → rpc-w8m4y82j.js} +18 -18
- package/dist/chunks/{instruction-discovery-wakvkjy4.js → rpc-wakvkjy4.js} +1 -1
- package/dist/chunks/{instruction-discovery-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-d4eavzpr.js → rpc-wq74a3c7.js} +184 -184
- package/dist/chunks/{instruction-discovery-ngxzfb1c.js → rpc-wrvw4qzg.js} +17 -17
- package/dist/chunks/{instruction-discovery-433qt1rv.js → rpc-x57zdktr.js} +20 -20
- package/dist/chunks/{instruction-discovery-5nbjczge.js → rpc-x5fgfpsq.js} +10 -10
- package/dist/chunks/{instruction-discovery-737zpaxg.js → rpc-x8rzfgrc.js} +12 -12
- package/dist/chunks/{instruction-discovery-xd9cc171.js → rpc-xd9cc171.js} +1 -1
- package/dist/chunks/{instruction-discovery-a8n0dctw.js → rpc-xex4csfj.js} +11 -11
- package/dist/chunks/{instruction-discovery-51d3zpkq.js → rpc-xh0cb3sq.js} +1 -1
- package/dist/chunks/{instruction-discovery-prd8gnhb.js → rpc-xpve62cf.js} +4 -4
- package/dist/chunks/{instruction-discovery-vxscg46q.js → rpc-xrwgzr6g.js} +8 -8
- package/dist/chunks/{instruction-discovery-h5wtt78n.js → rpc-xw5nqs72.js} +4 -4
- package/dist/chunks/{instruction-discovery-7kcfq5w1.js → rpc-xw8kgqa1.js} +5 -5
- package/dist/chunks/{instruction-discovery-3t0j5bvp.js → rpc-y10yae2e.js} +11 -11
- package/dist/chunks/{instruction-discovery-yb20nhc3.js → rpc-yb20nhc3.js} +1 -1
- package/dist/chunks/{instruction-discovery-6qcpqwk1.js → rpc-yf08x4n1.js} +14 -14
- package/dist/chunks/{instruction-discovery-t1113r93.js → rpc-yr9ahj94.js} +13 -13
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-z38nccrw.js → rpc-z38nccrw.js} +1 -1
- package/dist/chunks/{instruction-discovery-vsbgdfbh.js → rpc-z7xfn9z4.js} +10 -10
- package/dist/chunks/{instruction-discovery-jy1vh16h.js → rpc-z7yrh2zw.js} +32 -32
- package/dist/chunks/{instruction-discovery-zkg84ctx.js → rpc-zkg84ctx.js} +1 -1
- package/dist/chunks/{instruction-discovery-9rfntryv.js → rpc-zs4jph50.js} +4 -4
- package/dist/chunks/{instruction-discovery-69qfa8nf.js → rpc-zwcqgr8h.js} +3 -3
- package/dist/chunks/{instruction-discovery-fcxerzst.js → rpc-zwt5mb5d.js} +46 -46
- package/dist/chunks/{instruction-discovery-rgzr2fj7.js → rpc-zxsnyq32.js} +19 -19
- 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 +88 -88
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +119 -119
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +121 -121
- package/dist/config/plugin/provider.js +120 -120
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +110 -110
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +120 -120
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +121 -121
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/database.js +77 -77
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration.gen.js +54 -54
- package/dist/database/migration.js +56 -56
- 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 +96 -96
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +379 -379
- 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 +99 -99
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +77 -77
- package/dist/file-access.js +112 -112
- package/dist/file-mutation.js +100 -100
- 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 +232 -232
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +110 -110
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +93 -93
- package/dist/generate.js +111 -111
- package/dist/git.js +9 -9
- 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 +105 -105
- 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 +370 -370
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +93 -93
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +94 -94
- package/dist/job.js +81 -81
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +78 -78
- package/dist/location-activity.js +162 -162
- package/dist/location-lifecycle.js +115 -115
- package/dist/location-service-map.js +92 -92
- package/dist/location-services.js +367 -367
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +97 -97
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +146 -146
- package/dist/mcp/oauth.js +83 -83
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +96 -96
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -105
- package/dist/model-resolver.js +105 -105
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +87 -87
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +123 -123
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -93
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +80 -80
- package/dist/plugin/agent.js +81 -81
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +223 -223
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +340 -340
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +102 -102
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +110 -110
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +96 -96
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +119 -119
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +99 -99
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +101 -101
- package/dist/plugin/provider/gitlab.js +99 -99
- package/dist/plugin/provider/google-vertex.js +116 -116
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +83 -83
- package/dist/plugin/provider/lmstudio.js +128 -128
- package/dist/plugin/provider/local.js +125 -125
- package/dist/plugin/provider/modal.js +98 -98
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +128 -128
- package/dist/plugin/provider/openai-context-caps.js +96 -96
- package/dist/plugin/provider/openai.js +119 -119
- package/dist/plugin/provider/opencode-legacy.js +106 -106
- package/dist/plugin/provider/opencode.js +125 -125
- package/dist/plugin/provider/openrouter.js +97 -97
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +84 -84
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +97 -97
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/vercel.js +96 -96
- package/dist/plugin/provider/vllm.js +128 -128
- package/dist/plugin/provider/xai.js +97 -97
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +176 -176
- package/dist/plugin/sdk.js +81 -81
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +359 -359
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +92 -92
- package/dist/plugin/vcs/hg.js +92 -92
- package/dist/plugin/verbosity.js +99 -99
- package/dist/plugin/warming.js +117 -117
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +234 -234
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +95 -95
- package/dist/reference.js +97 -97
- package/dist/repository-cache.js +85 -85
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +92 -92
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +8 -8
- package/dist/session/command.js +79 -79
- package/dist/session/compaction.js +140 -140
- package/dist/session/context.js +168 -168
- package/dist/session/diff.js +94 -94
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +227 -227
- package/dist/session/execution.js +134 -134
- package/dist/session/generate.js +170 -170
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +100 -100
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +84 -84
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +105 -105
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +126 -126
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +138 -138
- package/dist/session/projector.js +96 -96
- package/dist/session/prompt.js +113 -113
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +102 -102
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +236 -236
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +106 -106
- package/dist/session/runner/publish-llm-event.js +121 -121
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +134 -134
- package/dist/session/runner/to-llm-message.js +16 -16
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +111 -111
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +78 -78
- package/dist/session/store.js +92 -92
- package/dist/session/stored.js +6 -6
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +217 -217
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +174 -174
- package/dist/session/to-session-error.js +120 -120
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- 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 +135 -135
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +115 -115
- package/dist/skill.js +120 -120
- package/dist/snapshot.js +95 -95
- 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 +143 -143
- package/dist/tool/plugin/edit.js +128 -128
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +132 -132
- package/dist/tool/plugin/grep.js +132 -132
- package/dist/tool/plugin/mcp-resource.js +132 -132
- package/dist/tool/plugin/opencode.js +117 -117
- package/dist/tool/plugin/patch.js +130 -130
- package/dist/tool/plugin/question.js +111 -111
- package/dist/tool/plugin/read.js +133 -133
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +117 -117
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/todo.js +143 -143
- package/dist/tool/plugin/webfetch.js +119 -119
- package/dist/tool/plugin/websearch.js +122 -122
- package/dist/tool/plugin/write.js +130 -130
- package/dist/tool/read-filesystem.js +106 -106
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +94 -94
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +98 -98
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +95 -95
- package/dist/voice.js +91 -91
- package/dist/websearch.js +89 -89
- package/dist/wellknown/plugin.js +81 -81
- package/dist/wellknown.js +86 -86
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +87 -87
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +95 -95
- package/dist/worktree.js +104 -104
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-2hkmxex7.js +0 -26
- package/dist/chunks/instruction-discovery-69mbd1tk.js +0 -517
- package/dist/chunks/instruction-discovery-me0dhgxs.js +0 -18
- package/dist/chunks/instruction-discovery-q0vbkbrh.js +0 -257
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2beny6pf.js → rpc-2beny6pf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → rpc-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5fjb7ams.js → rpc-5fjb7ams.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → rpc-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a058387c.js → rpc-a058387c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cqv5kn06.js → rpc-cqv5kn06.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fkpq3x5p.js → rpc-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwr30sdr.js → rpc-jwr30sdr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jze0r7bz.js → rpc-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → rpc-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wjj7prxr.js → rpc-wjj7prxr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,105 +1,105 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node90
|
|
4
|
+
} from "./rpc-5ra5vjeh.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node89
|
|
8
|
+
} from "./rpc-0k3jqzf9.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-9xnq3n9q.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-tkn93vs5.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-4s8jnsjq.js";
|
|
24
24
|
import {
|
|
25
25
|
decodeMessageRow2,
|
|
26
26
|
preview2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-1zer9mtc.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service80,
|
|
30
|
+
node83
|
|
31
|
+
} from "./rpc-c66ha81g.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service15,
|
|
34
|
+
node17
|
|
35
|
+
} from "./rpc-e0dtevzy.js";
|
|
36
36
|
import {
|
|
37
37
|
llmClient2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./rpc-p015t6z3.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service32,
|
|
41
|
+
node36
|
|
42
|
+
} from "./rpc-cqsckrq7.js";
|
|
43
43
|
import {
|
|
44
44
|
baseTranscript2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./rpc-4cnqzyf4.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
47
|
+
make6
|
|
48
|
+
} from "./rpc-bje4knzw.js";
|
|
49
49
|
import {
|
|
50
50
|
toSessionError2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./rpc-xw8kgqa1.js";
|
|
52
52
|
import {
|
|
53
53
|
Service10,
|
|
54
54
|
node12,
|
|
55
55
|
estimatePrompt2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./rpc-dnb44sjf.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
58
|
+
node58
|
|
59
|
+
} from "./rpc-963r0pdn.js";
|
|
60
60
|
import {
|
|
61
61
|
Service23,
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
node26
|
|
63
|
+
} from "./rpc-79sgxn43.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./rpc-3qayfnz6.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service3,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node4
|
|
73
|
+
} from "./rpc-54x0ra2z.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service39
|
|
77
|
+
} from "./rpc-xpve62cf.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node54
|
|
80
|
+
} from "./rpc-2e52m8w3.js";
|
|
81
81
|
import {
|
|
82
82
|
Outcome2,
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
83
|
+
make3
|
|
84
|
+
} from "./rpc-g3cgjwhd.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
86
|
+
Service34
|
|
87
|
+
} from "./rpc-ezna1kdx.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
node24
|
|
90
|
+
} from "./rpc-x57zdktr.js";
|
|
91
91
|
import {
|
|
92
92
|
MAX_STEPS_PROMPT2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./rpc-y44na4kk.js";
|
|
94
94
|
import {
|
|
95
95
|
__export
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./rpc-9rqn6x4v.js";
|
|
97
97
|
|
|
98
98
|
// src/session/runner/llm.ts
|
|
99
99
|
var exports_llm = {};
|
|
100
100
|
__export(exports_llm, {
|
|
101
101
|
SessionRunnerLLM: () => exports_llm,
|
|
102
|
-
node: () =>
|
|
102
|
+
node: () => node3
|
|
103
103
|
});
|
|
104
104
|
import { Message } from "@opencode/ai/effect";
|
|
105
105
|
import { and, desc, eq, inArray, sql } from "drizzle-orm";
|
|
@@ -107,17 +107,17 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
|
107
107
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
108
108
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
109
109
|
var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
|
|
110
|
-
var layer = Layer.effect(
|
|
110
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
111
111
|
const bus = yield* Service86;
|
|
112
|
-
const lifecycle = yield*
|
|
113
|
-
const store = yield*
|
|
112
|
+
const lifecycle = yield* Service15;
|
|
113
|
+
const store = yield* Service80;
|
|
114
114
|
const context = yield* Service23;
|
|
115
|
-
const modelTransport = yield*
|
|
115
|
+
const modelTransport = yield* Service32;
|
|
116
116
|
const db = (yield* Service87).db;
|
|
117
117
|
const compaction = yield* Service10;
|
|
118
|
-
const plugins = yield*
|
|
119
|
-
const title = yield*
|
|
120
|
-
const steps = yield*
|
|
118
|
+
const plugins = yield* Service34;
|
|
119
|
+
const title = yield* Service3;
|
|
120
|
+
const steps = yield* make3;
|
|
121
121
|
const titles = yield* FiberMap.make();
|
|
122
122
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
123
123
|
const sessionID = input.sessionID;
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make6(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -382,25 +382,25 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
});
|
|
385
|
-
return
|
|
385
|
+
return Service39.of({ drain });
|
|
386
386
|
}));
|
|
387
|
-
var
|
|
388
|
-
service:
|
|
387
|
+
var node3 = makeLocationNode({
|
|
388
|
+
service: Service39,
|
|
389
389
|
layer,
|
|
390
390
|
deps: [
|
|
391
|
-
|
|
392
|
-
|
|
391
|
+
node89,
|
|
392
|
+
node17,
|
|
393
393
|
llmClient2,
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
394
|
+
node26,
|
|
395
|
+
node36,
|
|
396
|
+
node83,
|
|
397
397
|
node12,
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
398
|
+
node24,
|
|
399
|
+
node4,
|
|
400
|
+
node54,
|
|
401
|
+
node58,
|
|
402
|
+
node90
|
|
403
403
|
]
|
|
404
404
|
});
|
|
405
405
|
|
|
406
|
-
export {
|
|
406
|
+
export { node3, exports_llm };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveModel2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-drvbhkez.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/identity.ts
|
|
9
9
|
var exports_identity = {};
|
|
10
10
|
__export(exports_identity, {
|
|
11
11
|
IdentityPlugin: () => exports_identity,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin45,
|
|
13
13
|
identity: () => identity2
|
|
14
14
|
});
|
|
15
15
|
import { SystemPart } from "@opencode/ai/effect";
|
|
@@ -24,7 +24,7 @@ function identity2(model) {
|
|
|
24
24
|
].join(`
|
|
25
25
|
`);
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Plugin45 = define({
|
|
28
28
|
id: "opencode.prompt.identity",
|
|
29
29
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -37,4 +37,4 @@ var Plugin27 = define({
|
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
export { identity2,
|
|
40
|
+
export { identity2, Plugin45, exports_identity };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-v0tjrdy5.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin50
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai/effect";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin50 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin50, exports_plan };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-5ra5vjeh.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-0k3jqzf9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service41
|
|
9
|
+
} from "./rpc-sbegqkxp.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service52
|
|
15
|
+
} from "./rpc-2e52m8w3.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
MessageNotFoundError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-9xnq3n9q.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessageTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-tkn93vs5.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-1zer9mtc.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/session/revert.ts
|
|
33
33
|
var exports_revert = {};
|
|
@@ -40,11 +40,11 @@ __export(exports_revert, {
|
|
|
40
40
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
41
41
|
import { Effect } from "effect";
|
|
42
42
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
43
|
-
const instances = yield*
|
|
43
|
+
const instances = yield* Service41;
|
|
44
44
|
const database = yield* Service87;
|
|
45
45
|
const bus = yield* Service86;
|
|
46
46
|
return yield* Effect.gen(function* () {
|
|
47
|
-
const snapshot = yield*
|
|
47
|
+
const snapshot = yield* Service52;
|
|
48
48
|
const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
|
|
49
49
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
50
50
|
const restore = new Map;
|
|
@@ -72,10 +72,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
72
72
|
}).pipe(instances.provide(input.session));
|
|
73
73
|
});
|
|
74
74
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
75
|
-
const instances = yield*
|
|
75
|
+
const instances = yield* Service41;
|
|
76
76
|
const bus = yield* Service86;
|
|
77
77
|
yield* Effect.gen(function* () {
|
|
78
|
-
const snapshot = yield*
|
|
78
|
+
const snapshot = yield* Service52;
|
|
79
79
|
if (!session.revert)
|
|
80
80
|
return;
|
|
81
81
|
const original = session.revert.snapshot;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node89
|
|
4
|
+
} from "./rpc-0k3jqzf9.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-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: () => Event14,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID8,
|
|
20
|
+
Info: () => Info21,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError8,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service68,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer27,
|
|
29
|
+
node: () => node70,
|
|
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 Event14 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID8 = 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 NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID8
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID8
|
|
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: ID8
|
|
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: ID8,
|
|
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 Service68 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer27 = Layer.effect(Service68, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service86;
|
|
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 NotFoundError8({ 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 ?? ID8.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 layer28 = Layer.effect(Service79, 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 Service68.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node70 = makeLocationNode({ service: Service68, layer: layer27, deps: [node89] });
|
|
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 { ID8, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service68, layer27, node70, validateAnswer2, validateFields2, exports_form, Event14 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-5fjb7ams.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin46,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin46 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin46, exports_tool_input_repair };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node89
|
|
4
|
+
} from "./rpc-0k3jqzf9.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event19,
|
|
18
|
+
ID: () => ID15,
|
|
19
|
+
Info: () => Info26,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service82,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node85
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event19 } from "@opencode/schema/agent";
|
|
29
|
+
var ID15 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID15.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info26 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service82 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service86;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info26.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service82.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID15.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -99,6 +99,6 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
99
99
|
})
|
|
100
100
|
});
|
|
101
101
|
}));
|
|
102
|
-
var
|
|
102
|
+
var node85 = makeLocationNode({ service: Service82, layer, deps: [node89] });
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { ID15, Name3, defaultID2, Color2, Info26, Service82, node85, exports_agent4, Event19 };
|