@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,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID6,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-2fmzxhrb.js";
|
|
8
8
|
import {
|
|
9
9
|
stringify2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-5fjb7ams.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/aisdk.ts
|
|
16
16
|
var exports_aisdk = {};
|
|
17
17
|
__export(exports_aisdk, {
|
|
18
18
|
AISDK: () => exports_aisdk,
|
|
19
19
|
InitError: () => InitError2,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service61,
|
|
21
21
|
locationLayer: () => locationLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node63
|
|
23
23
|
});
|
|
24
24
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
25
25
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -156,7 +156,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
156
156
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
157
157
|
|
|
158
158
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
159
|
-
providerID:
|
|
159
|
+
providerID: ID6,
|
|
160
160
|
cause: Schema.Defect()
|
|
161
161
|
}) {
|
|
162
162
|
}
|
|
@@ -164,9 +164,9 @@ function initError(providerID) {
|
|
|
164
164
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
class
|
|
167
|
+
class Service61 extends Context.Service()("@opencode/AISDK") {
|
|
168
168
|
}
|
|
169
|
-
var locationLayer2 = Layer.effect(
|
|
169
|
+
var locationLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
170
170
|
let sdkHooks = [];
|
|
171
171
|
let languageHooks = [];
|
|
172
172
|
const languages = new Map;
|
|
@@ -204,7 +204,7 @@ var locationLayer2 = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
204
204
|
}
|
|
205
205
|
return event;
|
|
206
206
|
});
|
|
207
|
-
const service =
|
|
207
|
+
const service = Service61.of({
|
|
208
208
|
hook: {
|
|
209
209
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
210
210
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -870,6 +870,6 @@ function providerErrorMessage(error) {
|
|
|
870
870
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
871
871
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
872
872
|
}
|
|
873
|
-
var
|
|
873
|
+
var node63 = makeLocationNode({ service: Service61, layer: locationLayer2, deps: [] });
|
|
874
874
|
|
|
875
|
-
export { InitError2,
|
|
875
|
+
export { InitError2, Service61, locationLayer2, node63, exports_aisdk };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID6,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-2fmzxhrb.js";
|
|
6
6
|
import {
|
|
7
7
|
ID5,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info17
|
|
11
|
+
} from "./rpc-cjszy3qj.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info17.make({
|
|
122
|
+
...Info17.default(ID6.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
124
|
modelID: ID5.make(remote.id),
|
|
125
|
-
providerID:
|
|
125
|
+
providerID: ID6.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./rpc-8s627est.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./rpc-fjqb86s3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service19,
|
|
12
12
|
statements3,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-9909tw4t.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
21
21
|
__export(exports_module, {
|
|
22
22
|
LoadError: () => LoadError2,
|
|
23
23
|
PluginModule: () => exports_module,
|
|
24
|
-
make: () =>
|
|
24
|
+
make: () => make4
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
27
27
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
|
-
var
|
|
34
|
-
const config = yield*
|
|
35
|
-
const managed = yield*
|
|
36
|
-
const watcher = yield*
|
|
33
|
+
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
+
const config = yield* Service58;
|
|
35
|
+
const managed = yield* Service19;
|
|
36
|
+
const watcher = yield* Service59;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { make4, LoadError2, exports_module };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node79
|
|
4
|
+
} from "./rpc-tz4xexj5.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-2qr4rt5k.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
19
|
+
Service: () => Service75,
|
|
20
20
|
make: () => make21,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node78
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service75 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -84,7 +84,7 @@ function decrementSession(input, sessionID) {
|
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
86
|
var make21 = Effect.gen(function* () {
|
|
87
|
-
const kv = yield*
|
|
87
|
+
const kv = yield* Service76;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -343,7 +343,7 @@ var make21 = Effect.gen(function* () {
|
|
|
343
343
|
next.delete(entry[0]);
|
|
344
344
|
return next;
|
|
345
345
|
})));
|
|
346
|
-
return
|
|
346
|
+
return Service75.of({
|
|
347
347
|
get,
|
|
348
348
|
start,
|
|
349
349
|
wait,
|
|
@@ -356,7 +356,7 @@ var make21 = Effect.gen(function* () {
|
|
|
356
356
|
completeBackground
|
|
357
357
|
});
|
|
358
358
|
});
|
|
359
|
-
var layer = Layer.effect(
|
|
360
|
-
var
|
|
359
|
+
var layer = Layer.effect(Service75, make21);
|
|
360
|
+
var node78 = makeGlobalNode({ service: Service75, layer, deps: [node79] });
|
|
361
361
|
|
|
362
|
-
export {
|
|
362
|
+
export { Service75, make21, node78, exports_job };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service82
|
|
4
|
+
} from "./rpc-73m4wzt2.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-n2165afj.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service58
|
|
10
|
+
} from "./rpc-fjqb86s3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service57,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-7p4k3pzp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service22
|
|
17
|
+
} from "./rpc-tkqgr2f8.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service9
|
|
20
|
+
} from "./rpc-zxsnyq32.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-e834z07m.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin13
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -39,10 +39,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
39
39
|
import { ChildProcess } from "effect/process";
|
|
40
40
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
41
41
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
42
|
-
var
|
|
42
|
+
var Plugin13 = define({
|
|
43
43
|
id: "opencode.config.command",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
|
-
const config = yield*
|
|
45
|
+
const config = yield* Service58;
|
|
46
46
|
const fs = yield* FSUtil.Service;
|
|
47
47
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
48
48
|
if (entry.type === "document")
|
|
@@ -54,10 +54,10 @@ var Plugin35 = define({
|
|
|
54
54
|
});
|
|
55
55
|
const location = yield* Service83;
|
|
56
56
|
const processes = yield* AppProcess.Service;
|
|
57
|
-
const shell = yield*
|
|
58
|
-
const sessions = yield*
|
|
59
|
-
const agents = yield*
|
|
60
|
-
const subagents = yield*
|
|
57
|
+
const shell = yield* Service57;
|
|
58
|
+
const sessions = yield* Service22;
|
|
59
|
+
const agents = yield* Service82;
|
|
60
|
+
const subagents = yield* Service9;
|
|
61
61
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
62
62
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
63
63
|
});
|
|
@@ -78,7 +78,7 @@ var Plugin35 = define({
|
|
|
78
78
|
name,
|
|
79
79
|
description: command.description,
|
|
80
80
|
execute: (input) => Effect.gen(function* () {
|
|
81
|
-
const agent = command.agent === undefined ? undefined :
|
|
81
|
+
const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
|
|
82
82
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
83
83
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
84
84
|
id: command.model.model,
|
|
@@ -202,4 +202,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
202
202
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
203
203
|
var shellRegex = /!`([^`]+)`/g;
|
|
204
204
|
|
|
205
|
-
export {
|
|
205
|
+
export { Plugin13, exports_command };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make16,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
13
13
|
var system_default = `You are an AI agent running in OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
|
|
@@ -28,10 +28,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
32
|
-
return
|
|
31
|
+
function make16(tools) {
|
|
32
|
+
return render3(system_default, tools);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function render3(prompt, tools) {
|
|
35
35
|
const instructions = [];
|
|
36
36
|
if (tools.includes("shell")) {
|
|
37
37
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -46,4 +46,4 @@ function render2(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make16, render3, exports_system_prompt };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node88
|
|
7
|
+
} from "./rpc-5erj5q6b.js";
|
|
8
8
|
import {
|
|
9
9
|
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-xd9cc171.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service76,
|
|
16
|
+
node79
|
|
17
|
+
} from "./rpc-tz4xexj5.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_repository_cache, {
|
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
33
|
Service: () => Service71,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node73,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
106
106
|
const git = yield* Service85;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
109
|
+
const kv = yield* Service76;
|
|
110
110
|
return Service71.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
169
169
|
})
|
|
170
170
|
});
|
|
171
171
|
}));
|
|
172
|
-
var
|
|
172
|
+
var node73 = makeGlobalNode({
|
|
173
173
|
service: Service71,
|
|
174
174
|
layer,
|
|
175
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
175
|
+
deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node79]
|
|
176
176
|
});
|
|
177
177
|
function errorMessage(error) {
|
|
178
178
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
181
181
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service71, isError2, validateBranch2,
|
|
184
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service71, isError2, validateBranch2, node73, exports_repository_cache };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node89
|
|
4
|
+
} from "./rpc-0k3jqzf9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service69,
|
|
9
|
+
node71
|
|
10
|
+
} from "./rpc-z7yrh2zw.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-ar2j3j0f.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-6mg7998y.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration2 = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration2, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event13,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID7,
|
|
41
|
+
Info: () => Info19,
|
|
42
42
|
Integration: () => exports_integration2,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
|
-
Ref: () =>
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
47
|
+
Ref: () => Ref3,
|
|
48
|
+
Service: () => Service67,
|
|
49
|
+
node: () => node69
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event13 } from "@opencode/schema/integration";
|
|
72
|
+
var ID7 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info19 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID7,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service67 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service69;
|
|
117
117
|
const bus = yield* Service86;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info19.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service67.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key3.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { metadata: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node69 = makeLocationNode({
|
|
633
|
+
service: Service67,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node71, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID7, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info19, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service67, node69, exports_integration2, Event13 };
|