@opencode/core 0.0.0-dev-21023 → 0.0.0-dev-21027
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{permission-sw5a1q9a.js → tool-01t36tg3.js} +42 -42
- package/dist/chunks/{permission-f54vpcxy.js → tool-07fb0sq0.js} +13 -13
- package/dist/chunks/{permission-4vr5rdhf.js → tool-0bjrbxj3.js} +22 -22
- package/dist/chunks/{permission-61rweyp5.js → tool-0fgjfwm5.js} +5 -5
- package/dist/chunks/{permission-7dqw4kz8.js → tool-0jwsre1p.js} +5 -5
- package/dist/chunks/{permission-x7skvj3h.js → tool-0q78z8wc.js} +11 -11
- package/dist/chunks/{permission-c44thn5s.js → tool-0reb07hh.js} +6 -6
- package/dist/chunks/{permission-h5wejvtq.js → tool-0tndnf13.js} +21 -21
- package/dist/chunks/{permission-q1ftaqkm.js → tool-0vakwkee.js} +26 -26
- package/dist/chunks/{permission-tkcrbpkc.js → tool-0vawvjhj.js} +6 -6
- package/dist/chunks/{permission-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
- package/dist/chunks/{permission-fz45jk9b.js → tool-0w6w9fz6.js} +14 -14
- package/dist/chunks/{permission-7q28eq2j.js → tool-12j10hcs.js} +93 -93
- package/dist/chunks/{permission-zrq8kphx.js → tool-166kng33.js} +8 -8
- package/dist/chunks/{permission-shq4beby.js → tool-1bmjn0qh.js} +8 -8
- package/dist/chunks/{permission-t5m9xkgn.js → tool-1gdff4pf.js} +10 -10
- package/dist/chunks/{permission-s6m7wfzt.js → tool-1sn90gb4.js} +19 -19
- package/dist/chunks/{permission-embw8kgh.js → tool-1vezggaq.js} +4 -4
- package/dist/chunks/{permission-x22rbv90.js → tool-20m9xb7p.js} +37 -37
- package/dist/chunks/{permission-d9gevvpm.js → tool-27f0285z.js} +84 -84
- package/dist/chunks/{permission-9sgsjpgv.js → tool-2ggw9qke.js} +11 -11
- package/dist/chunks/{permission-yjxce2nx.js → tool-2jrf0397.js} +23 -23
- package/dist/chunks/{permission-h7s7r6s9.js → tool-31xfzrxg.js} +5 -5
- package/dist/chunks/{permission-3rtxz4nr.js → tool-3cwb9jzf.js} +7 -7
- package/dist/chunks/{permission-e3rhhtj9.js → tool-3djbzr3c.js} +21 -21
- package/dist/chunks/{permission-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
- package/dist/chunks/{permission-nw04411h.js → tool-3n76ftvs.js} +38 -38
- package/dist/chunks/{permission-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-04x4ngvz.js → tool-4020new0.js} +6 -6
- package/dist/chunks/{permission-gfffhgfj.js → tool-436seg2v.js} +1 -1
- package/dist/chunks/{permission-2rehhz5t.js → tool-43fay8tn.js} +11 -11
- package/dist/chunks/{permission-d2jkdthw.js → tool-45teq17z.js} +15 -15
- package/dist/chunks/{permission-xazx5qmq.js → tool-4747cwex.js} +11 -11
- package/dist/chunks/{permission-7ybv8rt8.js → tool-4e5pn4jt.js} +5 -5
- package/dist/chunks/{permission-52cjarja.js → tool-4k8q0s1e.js} +21 -21
- package/dist/chunks/{permission-t5fwpa4s.js → tool-4kj8mwjy.js} +13 -13
- package/dist/chunks/{permission-rc677eqa.js → tool-4m26txwv.js} +26 -26
- package/dist/chunks/{permission-cr3q6dfx.js → tool-4nrp0c99.js} +9 -9
- package/dist/chunks/{permission-tdr6v81y.js → tool-4qb6esnv.js} +24 -24
- package/dist/chunks/{permission-y3pjwe43.js → tool-4zp8myha.js} +20 -20
- package/dist/chunks/{permission-2evnpasp.js → tool-4zs78ha8.js} +4 -4
- package/dist/chunks/{permission-54ma36ye.js → tool-54ma36ye.js} +1 -1
- package/dist/chunks/{permission-62fbspee.js → tool-5627zfvx.js} +20 -20
- package/dist/chunks/{permission-ve8ym7hj.js → tool-5jkej3gj.js} +50 -50
- package/dist/chunks/{permission-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{permission-z23bwpym.js → tool-5nfvqhja.js} +10 -10
- package/dist/chunks/{permission-w40fwtt5.js → tool-5q5nh3sy.js} +6 -6
- package/dist/chunks/{permission-e3qxr5gk.js → tool-5qd3pb7m.js} +2 -2
- package/dist/chunks/{permission-ks04pcd7.js → tool-5rwcywtx.js} +27 -27
- package/dist/chunks/{permission-00apgy02.js → tool-6hgfbb6p.js} +15 -15
- package/dist/chunks/{permission-y56ehv6b.js → tool-6hjx5zpb.js} +9 -9
- package/dist/chunks/{permission-sz143kbc.js → tool-6htb5gr0.js} +11 -11
- package/dist/chunks/{permission-47jkzegy.js → tool-6kzp9tjq.js} +5 -5
- package/dist/chunks/{permission-w92k2e0p.js → tool-6pc27hjz.js} +4 -4
- package/dist/chunks/{permission-59rbqqpw.js → tool-6q8kncxp.js} +5 -5
- package/dist/chunks/{permission-8w2cnjsp.js → tool-6sghnyqr.js} +16 -16
- package/dist/chunks/{permission-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
- package/dist/chunks/{permission-80v8rtq2.js → tool-6yacqn2k.js} +11 -11
- package/dist/chunks/{permission-kkxq1rvg.js → tool-73e552s4.js} +17 -17
- package/dist/chunks/{permission-775gj3j1.js → tool-775gj3j1.js} +2 -2
- package/dist/chunks/{permission-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-kxqnpj86.js → tool-7n3bkkdp.js} +24 -24
- package/dist/chunks/{permission-ft5ccetf.js → tool-7qb04ksq.js} +17 -17
- package/dist/chunks/{permission-k7myrtme.js → tool-7qdpe4cb.js} +9 -9
- package/dist/chunks/{permission-zp7ch8at.js → tool-7qyahes4.js} +29 -29
- package/dist/chunks/{permission-krrwhgcx.js → tool-7tbkgw72.js} +22 -22
- package/dist/chunks/{permission-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{permission-qk3m6f42.js → tool-871668nt.js} +13 -13
- package/dist/chunks/{permission-89znhe33.js → tool-89znhe33.js} +1 -1
- package/dist/chunks/{permission-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
- package/dist/chunks/{permission-j09zfasm.js → tool-91qna3x0.js} +3 -3
- package/dist/chunks/{permission-89sqfr9e.js → tool-96r9dk5h.js} +16 -16
- package/dist/chunks/{permission-8b5wx0er.js → tool-9a94vrwg.js} +39 -39
- package/dist/chunks/{permission-5fk5prd3.js → tool-9hkdgzmv.js} +8 -8
- package/dist/chunks/{permission-c7wy2byy.js → tool-9nr0k19d.js} +1 -1
- package/dist/chunks/{permission-xy8zxf3a.js → tool-9rmtxcny.js} +11 -11
- package/dist/chunks/{permission-53nebdj4.js → tool-9rz0s9vq.js} +9 -9
- package/dist/chunks/{permission-35ja2k0w.js → tool-9y9sk2j9.js} +2 -2
- package/dist/chunks/{permission-k5m01s9x.js → tool-9ydk86ss.js} +58 -58
- package/dist/chunks/{permission-s3cppfsb.js → tool-a7p75jc5.js} +8 -8
- package/dist/chunks/{permission-0xvfz0d9.js → tool-ab5hd1e3.js} +24 -24
- package/dist/chunks/{permission-rbt4m20h.js → tool-abadc73r.js} +14 -14
- package/dist/chunks/{permission-mxvxcxwy.js → tool-addxnjmp.js} +4 -4
- package/dist/chunks/{permission-nb9p6b26.js → tool-afrtgck4.js} +4 -4
- package/dist/chunks/{permission-hf80ks7v.js → tool-aqegtsfq.js} +5 -5
- package/dist/chunks/{permission-nvxqht09.js → tool-axe3mf62.js} +3 -3
- package/dist/chunks/{permission-7dhxgjnh.js → tool-az2ak1fn.js} +27 -27
- package/dist/chunks/{permission-b3f8fkhc.js → tool-b3f8fkhc.js} +2 -2
- package/dist/chunks/{permission-wtedc2ez.js → tool-b6j5xzrd.js} +27 -27
- package/dist/chunks/{permission-fdk5j20n.js → tool-bc7dxhqv.js} +5 -5
- package/dist/chunks/{permission-g5nfb62w.js → tool-bjfh2y0a.js} +35 -35
- package/dist/chunks/{permission-56psxqzf.js → tool-bjzmfjgq.js} +14 -14
- package/dist/chunks/{permission-wnvag7bd.js → tool-bqqze0bz.js} +23 -23
- package/dist/chunks/{permission-ptmeq6fb.js → tool-bsc349qs.js} +330 -330
- package/dist/chunks/{permission-3msvj1np.js → tool-bvr8yq7m.js} +32 -32
- package/dist/chunks/{permission-bjbqwag1.js → tool-bwp6pqna.js} +26 -26
- package/dist/chunks/{permission-nd4tfyg0.js → tool-bx7n6myc.js} +9 -9
- package/dist/chunks/{permission-6cvxkkb7.js → tool-by3f32n0.js} +28 -28
- package/dist/chunks/{permission-es1vcfrp.js → tool-c1fqxshp.js} +3 -3
- package/dist/chunks/{permission-xzmvz71f.js → tool-c1ngfaaf.js} +9 -9
- package/dist/chunks/{permission-b2vdwqgm.js → tool-c3qawk1f.js} +22 -22
- package/dist/chunks/{permission-xnrwq8hx.js → tool-c8cbefa2.js} +4 -4
- package/dist/chunks/{permission-t5e0qftg.js → tool-ccdthk42.js} +20 -20
- package/dist/chunks/{permission-7vs17q0t.js → tool-ccn484d6.js} +3 -3
- package/dist/chunks/{permission-pgp1nwjn.js → tool-cp937pt4.js} +4 -4
- package/dist/chunks/{permission-m9c2yzp8.js → tool-cv7zkw6d.js} +47 -47
- package/dist/chunks/{permission-3w1g5pmr.js → tool-cw03ndct.js} +4 -4
- package/dist/chunks/{permission-fkaf0mbg.js → tool-cz6pgrah.js} +36 -36
- package/dist/chunks/{permission-w9zc1j69.js → tool-d1weh077.js} +2 -2
- package/dist/chunks/{permission-h9wp8z5w.js → tool-d2czbp48.js} +4 -4
- package/dist/chunks/{permission-24js1q9e.js → tool-d4658f60.js} +8 -8
- package/dist/chunks/{permission-86kb2rqt.js → tool-d4843n8f.js} +31 -31
- package/dist/chunks/{permission-dqxsqydv.js → tool-dqxsqydv.js} +1 -1
- package/dist/chunks/{permission-de76y8ke.js → tool-dre3mh8q.js} +5 -5
- package/dist/chunks/{permission-57b9ws8p.js → tool-drwq78ky.js} +5 -5
- package/dist/chunks/{permission-6w011226.js → tool-e0aypp2c.js} +7 -7
- package/dist/chunks/{permission-p6p40emm.js → tool-e9rp6zjw.js} +22 -22
- package/dist/chunks/{permission-b27vhd2z.js → tool-edrmdtr5.js} +7 -7
- package/dist/chunks/{permission-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
- package/dist/chunks/{permission-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-tx3p4c1h.js → tool-efbjw4je.js} +11 -11
- package/dist/chunks/{permission-qhp59fkk.js → tool-erpzfxtv.js} +19 -19
- package/dist/chunks/{permission-e4t4m9wx.js → tool-esxsxdtm.js} +21 -21
- package/dist/chunks/{permission-7z0yjmdb.js → tool-evcnqajx.js} +27 -27
- package/dist/chunks/{permission-q6phcmgv.js → tool-ezy28dwm.js} +11 -11
- package/dist/chunks/{permission-1egd8tfm.js → tool-f124mjt0.js} +19 -19
- package/dist/chunks/{permission-va0v5gef.js → tool-f3cd59m9.js} +1 -1
- package/dist/chunks/{permission-wkr77wxw.js → tool-f5cw550v.js} +23 -23
- package/dist/chunks/{permission-1s9zyj6r.js → tool-fgy4jrac.js} +4 -4
- package/dist/chunks/{permission-rhww208c.js → tool-fqt76dtj.js} +14 -14
- package/dist/chunks/{permission-qmqgtz8f.js → tool-ft3hqk2c.js} +9 -9
- package/dist/chunks/{permission-fxaymqdw.js → tool-fxaymqdw.js} +1 -1
- package/dist/chunks/{permission-5xtgfte3.js → tool-g0445xdp.js} +6 -6
- package/dist/chunks/{permission-sr538j3y.js → tool-g0ebsb7w.js} +16 -16
- package/dist/chunks/{permission-k53yy7pw.js → tool-g5hnex30.js} +33 -33
- package/dist/chunks/{permission-8ewbkqjs.js → tool-g88qc0rs.js} +11 -11
- package/dist/chunks/{permission-z55y8ceb.js → tool-g8p1nq0c.js} +7 -7
- package/dist/chunks/{permission-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-kymaazr1.js → tool-gj7b0stj.js} +4 -4
- package/dist/chunks/{permission-zfa7ynd8.js → tool-gk4m79v4.js} +18 -18
- package/dist/chunks/{permission-g3p48v6a.js → tool-gyn58nzm.js} +17 -17
- package/dist/chunks/{permission-3gv8v2v9.js → tool-gzxvfr9h.js} +25 -25
- package/dist/chunks/{permission-9srxgycv.js → tool-h1mvd9nt.js} +5 -5
- package/dist/chunks/{permission-vzfbn5hk.js → tool-h2n9jjkq.js} +16 -16
- package/dist/chunks/{permission-zggjzm3b.js → tool-h6bky6ca.js} +3 -3
- package/dist/chunks/{permission-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-n86bj756.js → tool-ha6a199g.js} +14 -14
- package/dist/chunks/{permission-a465vq1g.js → tool-hfm3768t.js} +15 -15
- package/dist/chunks/{permission-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
- package/dist/chunks/{permission-2ryng5r3.js → tool-hkffa77z.js} +4 -4
- package/dist/chunks/{permission-xd46p04h.js → tool-hxg485bt.js} +15 -15
- package/dist/chunks/{permission-zst6p8bn.js → tool-j4bzjt4e.js} +6 -6
- package/dist/chunks/{permission-ec8nysdw.js → tool-j60sz84g.js} +29 -29
- package/dist/chunks/{permission-6g107h22.js → tool-jk540des.js} +2 -2
- package/dist/chunks/{permission-gv6wxqss.js → tool-k4z4pfzw.js} +45 -45
- package/dist/chunks/{permission-9m2tpsz1.js → tool-k5m21wex.js} +20 -20
- package/dist/chunks/{permission-4ca9k2k9.js → tool-kfdkvwtq.js} +5 -5
- package/dist/chunks/{permission-0q7h3m0r.js → tool-khbn7h8s.js} +9 -9
- package/dist/chunks/{permission-4ece66pg.js → tool-kjwzqyf2.js} +47 -47
- package/dist/chunks/{permission-z99r91g9.js → tool-kk3ptvrd.js} +42 -42
- package/dist/chunks/{permission-sdymsmch.js → tool-kt2d8jz0.js} +28 -28
- package/dist/chunks/{permission-qrw8efy6.js → tool-m389c5cq.js} +57 -57
- package/dist/chunks/{permission-78s3r0bw.js → tool-m7707mrb.js} +45 -45
- package/dist/chunks/{permission-41qj65tx.js → tool-m8c4x33k.js} +3 -3
- package/dist/chunks/{permission-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-maspj1v3.js → tool-maspj1v3.js} +1 -1
- package/dist/chunks/{permission-6mq77kn0.js → tool-me5fzwjd.js} +13 -13
- package/dist/chunks/{permission-czdnbs3v.js → tool-meza9nwc.js} +43 -43
- package/dist/chunks/{permission-e1w47gxy.js → tool-mkj7w19c.js} +26 -26
- package/dist/chunks/{permission-1h1q22qe.js → tool-mngzetc9.js} +18 -18
- package/dist/chunks/{permission-845dwr63.js → tool-mqf2wszw.js} +24 -24
- package/dist/chunks/{permission-z47mhk4h.js → tool-ms8afdx3.js} +11 -11
- package/dist/chunks/{permission-kqv3x6rj.js → tool-mv3hx7wz.js} +9 -9
- package/dist/chunks/{permission-mb46117y.js → tool-n2seafqy.js} +20 -20
- package/dist/chunks/{permission-q4x97hvd.js → tool-ne0v3mcr.js} +12 -12
- package/dist/chunks/{permission-829m196e.js → tool-neh9qwyn.js} +12 -12
- package/dist/chunks/{permission-zkzq42m7.js → tool-nfq9k2qg.js} +22 -22
- package/dist/chunks/{permission-vxadv7hv.js → tool-njq4v3ck.js} +30 -30
- package/dist/chunks/{permission-becrz2zd.js → tool-nrsgf78h.js} +11 -11
- package/dist/chunks/{permission-c70wgqnt.js → tool-p48tkg4d.js} +12 -12
- package/dist/chunks/{permission-a98p1s0p.js → tool-pa866ny5.js} +11 -11
- package/dist/chunks/{permission-h692q3hg.js → tool-pdw1sk9c.js} +28 -28
- package/dist/chunks/{permission-4z7aqr9p.js → tool-pes0tbvz.js} +15 -15
- package/dist/chunks/{permission-kn8spddv.js → tool-pewbjeww.js} +12 -12
- package/dist/chunks/tool-phpwwk39.js +253 -0
- package/dist/chunks/{permission-3drzayab.js → tool-pje47fk7.js} +14 -14
- package/dist/chunks/{permission-23xej63c.js → tool-pjsqfx9m.js} +9 -9
- package/dist/chunks/{permission-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{permission-tcay1cqt.js → tool-prmgem5b.js} +6 -6
- package/dist/chunks/{permission-6jzanskr.js → tool-ptzgpnc3.js} +27 -27
- package/dist/chunks/{permission-w80p8xjq.js → tool-pz1gbv8g.js} +14 -14
- package/dist/chunks/{permission-0j77ygfz.js → tool-q0xm7vwc.js} +6 -6
- package/dist/chunks/{permission-4dg124c5.js → tool-q4fmv0xv.js} +5 -5
- package/dist/chunks/tool-q509s3k3.js +18 -0
- package/dist/chunks/tool-q9a0p4yb.js +26 -0
- package/dist/chunks/{permission-ydgy0jv4.js → tool-qn56gx0x.js} +6 -6
- package/dist/chunks/{permission-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
- package/dist/chunks/{permission-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-kg0yqcjm.js → tool-r0s4cps9.js} +13 -13
- package/dist/chunks/{permission-yp2x3t23.js → tool-r8xr0va3.js} +4 -4
- package/dist/chunks/{permission-5kb9zkdh.js → tool-r8yr4pbq.js} +19 -19
- package/dist/chunks/{permission-4w212fwn.js → tool-rd6jcjw6.js} +29 -29
- package/dist/chunks/{permission-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-tkb22qbm.js → tool-rert0e01.js} +2 -2
- package/dist/chunks/{permission-c41wscbt.js → tool-rj3eygr5.js} +2 -2
- package/dist/chunks/{permission-xhm4b58r.js → tool-rkea8fjp.js} +22 -22
- package/dist/chunks/{permission-jery7aj9.js → tool-rpdh36zp.js} +24 -24
- package/dist/chunks/{permission-nnmmcjtc.js → tool-rrbf5752.js} +4 -4
- package/dist/chunks/{permission-gvg3qxq8.js → tool-s1mwa3em.js} +17 -17
- package/dist/chunks/{permission-4dzm2vgm.js → tool-s5jbqbt2.js} +4 -4
- package/dist/chunks/{permission-rhjbct0v.js → tool-s8d7rejh.js} +4 -4
- package/dist/chunks/{permission-aq0qtksj.js → tool-s90vv90s.js} +32 -32
- package/dist/chunks/{permission-c8ax2afj.js → tool-sa8ekw3f.js} +2 -2
- package/dist/chunks/{permission-rj13zmb6.js → tool-sbhhmpa1.js} +5 -5
- package/dist/chunks/{permission-092eae9t.js → tool-sexk3xwd.js} +42 -42
- package/dist/chunks/{permission-rmc0d8tn.js → tool-sjs4cgq8.js} +13 -13
- package/dist/chunks/{permission-eaebrh2a.js → tool-swcgf9tw.js} +73 -73
- package/dist/chunks/{permission-7b794baq.js → tool-swg2czr5.js} +30 -30
- package/dist/chunks/{permission-r2z489rp.js → tool-sxcaecc0.js} +3 -3
- package/dist/chunks/{permission-tn9kj30j.js → tool-sxd457kj.js} +20 -20
- package/dist/chunks/{permission-syv4x271.js → tool-syv4x271.js} +1 -1
- package/dist/chunks/{permission-602xwz5w.js → tool-sz25zewp.js} +18 -18
- package/dist/chunks/{permission-5cmbdvrd.js → tool-t25nyb44.js} +18 -18
- package/dist/chunks/{permission-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{permission-tm0kqsz3.js → tool-tm0kqsz3.js} +1 -1
- package/dist/chunks/{permission-99m7qm8b.js → tool-tmdsjbh9.js} +16 -16
- package/dist/chunks/{permission-p2mj82dr.js → tool-tnpc41a5.js} +3 -3
- package/dist/chunks/{permission-j7z3fkjv.js → tool-trhb4xzf.js} +51 -51
- package/dist/chunks/{permission-946k40fp.js → tool-trpqdd18.js} +13 -13
- package/dist/chunks/{permission-tyytaxap.js → tool-tyytaxap.js} +1 -1
- package/dist/chunks/{permission-fpecnkgp.js → tool-v0es1rhs.js} +9 -9
- package/dist/chunks/{permission-9z0dngc7.js → tool-v0hgep7b.js} +17 -17
- package/dist/chunks/{permission-bbn1dcba.js → tool-v703bhdd.js} +30 -30
- package/dist/chunks/{permission-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
- package/dist/chunks/{permission-1h655jtg.js → tool-vcvkpszh.js} +12 -12
- package/dist/chunks/{permission-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-kjdm35cs.js → tool-vrrq7v3g.js} +5 -5
- package/dist/chunks/{permission-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-fvebqfs2.js → tool-w4dca2d6.js} +27 -27
- package/dist/chunks/{permission-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{permission-g6y5maz5.js → tool-wj5c1p6d.js} +50 -50
- package/dist/chunks/{permission-1ffvrpkg.js → tool-wjr9rjd7.js} +9 -9
- package/dist/chunks/{permission-nhpttcny.js → tool-wx95s5vn.js} +26 -26
- package/dist/chunks/{permission-gcgj809c.js → tool-wy6dfgcn.js} +23 -23
- package/dist/chunks/{permission-ftymc9fb.js → tool-x0rtsm8e.js} +183 -183
- package/dist/chunks/{permission-tcz7t3f6.js → tool-x1dvw4cn.js} +13 -13
- package/dist/chunks/{permission-zh17qtwe.js → tool-x3cmp8k1.js} +37 -37
- package/dist/chunks/{permission-7d0ykqmj.js → tool-x988sc1p.js} +17 -17
- package/dist/chunks/{permission-nzw6j1y2.js → tool-xbprrnbe.js} +27 -27
- package/dist/chunks/{permission-vhjr3aps.js → tool-xc0stz1c.js} +35 -35
- package/dist/chunks/{permission-djxpjw65.js → tool-xcwxhh1p.js} +9 -9
- package/dist/chunks/{permission-0cgs9dz5.js → tool-xfemfc1r.js} +14 -14
- package/dist/chunks/{permission-eae131xq.js → tool-xhx94tt7.js} +9 -9
- package/dist/chunks/{permission-a01j9zgm.js → tool-xj1aydcy.js} +5 -5
- package/dist/chunks/{permission-ra99svef.js → tool-xqdej0ab.js} +24 -24
- package/dist/chunks/{permission-yqc6bamn.js → tool-xybefm6f.js} +1 -1
- package/dist/chunks/{permission-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-dpkg50ah.js → tool-y71avatq.js} +4 -4
- package/dist/chunks/{permission-2dryst3t.js → tool-y945vb8n.js} +8 -8
- package/dist/chunks/{permission-jzm320fm.js → tool-yd16xvn4.js} +9 -9
- package/dist/chunks/{permission-2vhphq2x.js → tool-yvqbnyr5.js} +30 -30
- package/dist/chunks/{permission-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-nxy4phdy.js → tool-z3zv6y4t.js} +34 -34
- package/dist/chunks/{permission-ef4d86wb.js → tool-z7bx7nj5.js} +7 -7
- package/dist/chunks/{permission-eect42cy.js → tool-ze6bq4cz.js} +5 -5
- package/dist/chunks/{permission-6q5me1ng.js → tool-zm3rhkfq.js} +11 -11
- package/dist/chunks/{permission-7c9k9v5a.js → tool-zpbcv7tg.js} +3 -3
- package/dist/chunks/{permission-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-p691epkf.js → tool-zrr3y58q.js} +10 -10
- package/dist/chunks/{permission-nhzj3rkj.js → tool-zsf4swtr.js} +15 -15
- package/dist/chunks/{permission-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- 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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +102 -102
- package/dist/file-mutation.js +96 -96
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +101 -101
- 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 +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +15 -15
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/permission-9zdhvgqs.js +0 -18
- package/dist/chunks/permission-khbbrmym.js +0 -253
- package/dist/chunks/permission-wnarkw3d.js +0 -26
- /package/dist/chunks/{permission-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{permission-pyv0edze.js → tool-pyv0edze.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-pewbjeww.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service85,
|
|
12
12
|
node89
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-ccn484d6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service83,
|
|
16
|
+
node87
|
|
17
|
+
} from "./tool-ne0v3mcr.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-rj3eygr5.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-sa8ekw3f.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID17,
|
|
26
26
|
NotFoundError11
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-m7707mrb.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-96r9dk5h.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service70,
|
|
33
|
+
node74
|
|
34
|
+
} from "./tool-c1ngfaaf.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service57
|
|
41
|
+
} from "./tool-3djbzr3c.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./tool-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event13,
|
|
53
|
+
Info: () => Info14,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service56,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node60
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info14 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event13 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service56 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service85;
|
|
100
100
|
const db = database.db;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service83;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service70;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service57).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event13.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service56.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node60 = Node.makeGlobalNode({
|
|
260
|
+
service: Service56,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node,
|
|
262
|
+
deps: [FSUtil.node, node87, node89, AppProcess.node, node74]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info14, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event13, Service56, node60, exports_worktree2, OperationError2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-ccn484d6.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID10,
|
|
17
|
+
Info: () => Info18,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service72,
|
|
21
|
+
node: () => node76
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID10 = PermissionSaved.ID;
|
|
29
|
+
var Info18 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service72 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service85).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID10.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service72.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node76 = makeGlobalNode({ service: Service72, layer, deps: [node89] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID10, Info18, ListInput4, AddInput2, Service72, node76, exports_saved };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./tool-ne0v3mcr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service69,
|
|
7
7
|
node73
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-4nrp0c99.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
|
+
ID: () => ID6,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service33,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node36
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event6 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID6 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID6
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID6,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service33 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service83;
|
|
70
|
+
const kv = yield* Service69;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service33.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node36 = makeLocationNode({
|
|
188
|
+
service: Service33,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node87, node73]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID6, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service33, node36, exports_websearch3, Event6 };
|
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-ccn484d6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./tool-ne0v3mcr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service64
|
|
9
|
+
} from "./tool-prmgem5b.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-pjsqfx9m.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service73
|
|
29
|
+
} from "./tool-tmdsjbh9.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service65
|
|
34
|
+
} from "./tool-evcnqajx.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service61
|
|
37
|
+
} from "./tool-9a94vrwg.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./tool-g0ebsb7w.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./tool-wy6dfgcn.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./tool-xcwxhh1p.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./tool-khbn7h8s.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./tool-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service85;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service73;
|
|
69
|
+
const instances = yield* Service64;
|
|
70
|
+
const execution = yield* Service61;
|
|
71
|
+
const admission = yield* Service65;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError9({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service64, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service64, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service64, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service64, instances), Effect.provideService(Service85, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service64, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make12, exports_session2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./tool-prmgem5b.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-q509s3k3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service34
|
|
9
|
+
} from "./tool-kk3ptvrd.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service64;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service34), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service59,
|
|
8
|
+
node63
|
|
9
|
+
} from "./tool-rpdh36zp.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service58,
|
|
24
|
+
node: () => node62
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service58 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service59;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service58.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node62 = makeLocationNode({ service: Service58, layer, deps: [node63, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service58, node62, exports_ripgrep };
|