@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,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./rpc-v0tjrdy5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service77
|
|
10
|
+
} from "./rpc-tdzaayr8.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
|
+
Input: () => Input11,
|
|
19
19
|
Output: () => Output8,
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
20
|
+
Plugin: () => Plugin29,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
22
|
description: () => description5,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name11,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name11 = "skill";
|
|
30
|
+
var Input11 = Schema.Struct({
|
|
31
|
+
id: ID12.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
33
|
var Output8 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
@@ -43,17 +43,17 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin29 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service77;
|
|
51
|
+
const permission = yield* Service78;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name11,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description5,
|
|
56
|
-
input:
|
|
56
|
+
input: Input11,
|
|
57
57
|
output: Output8,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
@@ -61,7 +61,7 @@ var Plugin14 = {
|
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name11,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin14 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name11, Input11, Output8, description5, toModelOutput2, Plugin29, exports_skill2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node89
|
|
4
|
+
} from "./rpc-0k3jqzf9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event15,
|
|
7
|
+
Service69,
|
|
8
|
+
node71
|
|
9
|
+
} from "./rpc-z7yrh2zw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service59,
|
|
12
|
+
node61
|
|
13
|
+
} from "./rpc-8s627est.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service83,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node86
|
|
20
|
+
} from "./rpc-n2165afj.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-7w2ypzdf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-16wvv7z8.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./rpc-w6f6gw9w.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./rpc-1x2knyw4.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service60,
|
|
37
|
+
Event9,
|
|
38
|
+
node62
|
|
39
|
+
} from "./rpc-7nzrcr96.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./rpc-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
|
-
Options: () =>
|
|
49
|
-
Service: () =>
|
|
48
|
+
Options: () => Options7,
|
|
49
|
+
Service: () => Service58,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured8,
|
|
52
52
|
latest: () => latest2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer25,
|
|
54
|
+
node: () => node60,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
|
|
|
67
67
|
function latest2(entries, key) {
|
|
68
68
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var Options7 = Schema.Struct({
|
|
71
71
|
project: Schema.optional(Schema.Boolean),
|
|
72
72
|
global: Schema.optional(Schema.Boolean),
|
|
73
73
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -76,7 +76,7 @@ var Options5 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service58 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -100,16 +100,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
100
100
|
return document ? next.set(integrationID, document) : next;
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
|
-
return Context.empty().pipe(Context.add(
|
|
103
|
+
return Context.empty().pipe(Context.add(Service58, service), Context.add(Test2, service));
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
105
|
+
var layer25 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
107
|
const location = yield* Service83;
|
|
108
|
-
const watcher = yield*
|
|
108
|
+
const watcher = yield* Service59;
|
|
109
109
|
const bus = yield* Service86;
|
|
110
|
-
const credentials = yield*
|
|
110
|
+
const credentials = yield* Service69;
|
|
111
111
|
const globalService = yield* Global.Service;
|
|
112
|
-
const wellknown = yield*
|
|
112
|
+
const wellknown = yield* Service60;
|
|
113
113
|
const processes = yield* AppProcess.Service;
|
|
114
114
|
const integrations = new Map;
|
|
115
115
|
const context = yield* Effect.context();
|
|
@@ -194,7 +194,7 @@ var layer22 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
194
194
|
});
|
|
195
195
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
196
196
|
return [
|
|
197
|
-
...yield* Effect.forEach(
|
|
197
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
198
198
|
new Directory({ type: "directory", path: directory })
|
|
199
199
|
];
|
|
200
200
|
});
|
|
@@ -263,8 +263,8 @@ var layer22 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
263
263
|
}, (effect) => reloadLock.withPermit(effect));
|
|
264
264
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
265
265
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
266
|
-
yield* bus.subscribe(
|
|
267
|
-
yield* bus.subscribe(
|
|
266
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
267
|
+
yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
268
268
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
269
269
|
if (!wellknown.snapshot().length)
|
|
270
270
|
return Effect.void;
|
|
@@ -277,7 +277,7 @@ var layer22 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
277
277
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
278
278
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
279
279
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
280
|
-
const candidates =
|
|
280
|
+
const candidates = names4.map((name) => path.join(directory, name));
|
|
281
281
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
282
282
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
283
283
|
`;
|
|
@@ -292,7 +292,7 @@ var layer22 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
292
292
|
`);
|
|
293
293
|
yield* requestReload;
|
|
294
294
|
}, (effect) => updateLock.withPermit(effect));
|
|
295
|
-
return
|
|
295
|
+
return Service58.of({
|
|
296
296
|
entries: Effect.fnUntraced(function* () {
|
|
297
297
|
return configs;
|
|
298
298
|
}),
|
|
@@ -312,22 +312,22 @@ var layer22 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}));
|
|
315
|
-
function
|
|
315
|
+
function configured8(options) {
|
|
316
316
|
return makeLocationNode({
|
|
317
|
-
service:
|
|
318
|
-
layer:
|
|
317
|
+
service: Service58,
|
|
318
|
+
layer: layer25(options),
|
|
319
319
|
deps: [
|
|
320
|
-
|
|
321
|
-
|
|
320
|
+
node61,
|
|
321
|
+
node89,
|
|
322
322
|
FSUtil.node,
|
|
323
323
|
Global.node,
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
324
|
+
node86,
|
|
325
|
+
node71,
|
|
326
|
+
node62,
|
|
327
327
|
AppProcess.node
|
|
328
328
|
]
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var
|
|
331
|
+
var node60 = configured8();
|
|
332
332
|
|
|
333
|
-
export { latest2,
|
|
333
|
+
export { latest2, Options7, Service58, Test2, testLayer2, layer25, configured8, node60, exports_config };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./rpc-2fmzxhrb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./rpc-fjqb86s3.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service66;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service58);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z7yrh2zw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID7,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-hrskdsrs.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-yb20nhc3.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID7.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-0k3jqzf9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./rpc-2e52m8w3.js";
|
|
7
7
|
import {
|
|
8
8
|
Error2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-p7g1837s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service56
|
|
12
|
+
} from "./rpc-963r0pdn.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-9xnq3n9q.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-xw8kgqa1.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-r542h3bh.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-cerpfb20.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-bje4knzw.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service86;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service52;
|
|
58
|
+
const toolOutput = yield* Service56;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -223,4 +223,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
223
223
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
224
224
|
};
|
|
225
225
|
|
|
226
|
-
export { Outcome2,
|
|
226
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlobTable2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-tkn93vs5.js";
|
|
4
4
|
import {
|
|
5
5
|
refHash2,
|
|
6
6
|
FileRef2,
|
|
7
7
|
ToolFileRef2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-ks6g0x1g.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/session/blob.ts
|
|
14
14
|
var exports_blob = {};
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./rpc-8s627est.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service83
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-n2165afj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./rpc-fjqb86s3.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./rpc-tdzaayr8.js";
|
|
18
18
|
import {
|
|
19
19
|
Service6
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-smfcvx02.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-t12v43rg.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
26
|
scan2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-nah043kf.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
|
-
var
|
|
34
|
-
__export(
|
|
35
|
-
ConfigSkillPlugin: () =>
|
|
36
|
-
Plugin: () =>
|
|
33
|
+
var exports_skill = {};
|
|
34
|
+
__export(exports_skill, {
|
|
35
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
36
|
+
Plugin: () => Plugin16
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin16 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
46
|
+
const config = yield* Service58;
|
|
47
47
|
const discovery = yield* Service6;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
50
|
const location = yield* Service83;
|
|
51
|
-
const watcher = yield*
|
|
51
|
+
const watcher = yield* Service59;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -91,7 +91,7 @@ var Plugin44 = define({
|
|
|
91
91
|
const sources = () => {
|
|
92
92
|
const result = [];
|
|
93
93
|
const add = (source) => {
|
|
94
|
-
if (result.some((item) =>
|
|
94
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
95
95
|
return;
|
|
96
96
|
result.push(source);
|
|
97
97
|
};
|
|
@@ -116,7 +116,7 @@ var Plugin44 = define({
|
|
|
116
116
|
};
|
|
117
117
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
118
118
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
119
|
-
source:
|
|
119
|
+
source: Source4.key(source),
|
|
120
120
|
cause
|
|
121
121
|
}).pipe(Effect.as([]))));
|
|
122
122
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -144,7 +144,7 @@ var Plugin44 = define({
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
yield* Effect.logDebug("skill source loaded", {
|
|
147
|
-
source:
|
|
147
|
+
source: Source4.key(source),
|
|
148
148
|
type: source.type,
|
|
149
149
|
directories,
|
|
150
150
|
skills: skills.map((skill) => skill.id)
|
|
@@ -163,7 +163,7 @@ var Plugin44 = define({
|
|
|
163
163
|
if (file) {
|
|
164
164
|
yield* Effect.logInfo("skills rescanned", {
|
|
165
165
|
file,
|
|
166
|
-
sources: current.map(
|
|
166
|
+
sources: current.map(Source4.key),
|
|
167
167
|
skills: loaded.skills.map((skill) => skill.id)
|
|
168
168
|
});
|
|
169
169
|
}
|
|
@@ -179,4 +179,4 @@ var Plugin44 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin16, exports_skill };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service70,
|
|
8
|
+
node72
|
|
9
|
+
} from "./rpc-ampftf2x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./rpc-3f6bgqej.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-2z1j29yd.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service27,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node30,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service27 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service70;
|
|
335
|
+
return Service27.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node30 = makeLocationNode({ service: Service27, layer, deps: [node72] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service27, read2, node30, exports_read_filesystem };
|