@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,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node90
|
|
4
|
+
} from "./rpc-5ra5vjeh.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info25,
|
|
18
|
+
NotFoundError: () => NotFoundError10,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service79,
|
|
21
|
+
node: () => node82
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info25 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError10 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID14
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID14,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service79 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service87).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID14.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError10({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError10({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service79.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node82 = makeGlobalNode({ service: Service79, layer, deps: [node90] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID14, Info25, NotFoundError10, ConflictError2, Service79, node82, exports_saved };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node89
|
|
4
|
+
} from "./rpc-0k3jqzf9.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node88
|
|
8
|
+
} from "./rpc-5erj5q6b.js";
|
|
9
9
|
import {
|
|
10
10
|
Service83,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node86
|
|
12
|
+
} from "./rpc-n2165afj.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-ezna1kdx.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service59,
|
|
18
|
+
node61
|
|
19
|
+
} from "./rpc-8s627est.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node24
|
|
22
|
+
} from "./rpc-x57zdktr.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service7,
|
|
25
|
+
node9
|
|
26
|
+
} from "./rpc-3mgb105e.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service83;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service59;
|
|
48
48
|
const bus = yield* Service86;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service85;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service7;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node61, FSUtil.node, node86, node88, node89, node24, node9]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-wakvkjy4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./rpc-fjqb86s3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service56
|
|
7
|
+
} from "./rpc-963r0pdn.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin2
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin2 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service58;
|
|
27
|
+
const output = yield* Service56;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin34 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin2, exports_tool_output };
|
|
@@ -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/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-cd50e0wg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-0k3jqzf9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service69
|
|
11
|
+
} from "./rpc-z7yrh2zw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID7,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./rpc-hrskdsrs.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-yb20nhc3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./rpc-2fmzxhrb.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-fsv9b7rr.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID6.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID7.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service69;
|
|
57
|
+
const integrations = yield* Service67;
|
|
58
58
|
const bus = yield* Service86;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-73m4wzt2.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent2 = {};
|
|
12
|
+
__export(exports_agent2, {
|
|
13
|
+
AgentPlugin: () => exports_agent2,
|
|
14
|
+
Plugin: () => Plugin47
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin47 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin28 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID15.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID15.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID15.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID15.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID15.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin28 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin47, exports_agent2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9cx9sm2q.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make6,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make11 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make6, exports_retry };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service86,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node89
|
|
5
|
+
} from "./rpc-0k3jqzf9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make22,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-jnwx2kg9.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-vd3b3yk9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
24
|
-
File: () =>
|
|
23
|
+
Event: () => Event6,
|
|
24
|
+
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
26
|
+
Options: () => Options4,
|
|
27
|
+
Service: () => Service43,
|
|
28
|
+
configured: () => configured5,
|
|
29
|
+
layer: () => layer20,
|
|
30
|
+
node: () => node45
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { createPatch } from "diff";
|
|
35
|
-
class
|
|
35
|
+
class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
36
36
|
path: Schema.String,
|
|
37
37
|
content: Schema.String
|
|
38
38
|
}) {
|
|
39
39
|
}
|
|
40
|
-
var Files = Schema.Array(
|
|
41
|
-
var key =
|
|
42
|
-
var
|
|
40
|
+
var Files = Schema.Array(File2);
|
|
41
|
+
var key = Key4.make("core/instructions");
|
|
42
|
+
var Event6 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options4 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
52
|
+
var layer20 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service86;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
57
57
|
editor: (editor) => ({
|
|
58
58
|
list: () => Array.from(editor.files.values()),
|
|
59
|
-
add: (file) => editor.files.set(file.path, new
|
|
59
|
+
add: (file) => editor.files.set(file.path, new File2(file)),
|
|
60
60
|
update: (path, update) => {
|
|
61
61
|
const current = editor.files.get(path);
|
|
62
62
|
if (!current)
|
|
@@ -69,9 +69,9 @@ var layer27 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make22({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer27 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service43.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer27 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured5(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
108
|
-
deps: [
|
|
106
|
+
service: Service43,
|
|
107
|
+
layer: layer20(options),
|
|
108
|
+
deps: [node89]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node45 = configured5();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export {
|
|
142
|
+
export { File2, Event6, Options4, Service43, layer20, configured5, node45, exports_instruction_discovery };
|