@opencode/core 0.0.0-dev-20553 → 0.0.0-dev-20557
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{app-43e7p76q.js → command-01cdp0v3.js} +11 -11
- package/dist/chunks/{app-eg04xh8w.js → command-02we17gd.js} +24 -24
- package/dist/chunks/{app-9t3w070m.js → command-0381t2qh.js} +146 -146
- package/dist/chunks/{app-xkdq4c0f.js → command-0670md5a.js} +15 -15
- package/dist/chunks/{app-127qqbn7.js → command-06hn525z.js} +35 -35
- package/dist/chunks/{app-5tpxybga.js → command-0b3cfvgq.js} +31 -31
- package/dist/chunks/{app-q0xm7vwc.js → command-0j77ygfz.js} +6 -6
- package/dist/chunks/{app-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-7fw1vb42.js → command-0skwdn09.js} +12 -12
- package/dist/chunks/{app-5t0csz3q.js → command-0teadcmx.js} +19 -19
- package/dist/chunks/{app-0emb60td.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{app-17fwn1r7.js → command-10wq935e.js} +18 -18
- package/dist/chunks/{app-v97jv89r.js → command-133vw470.js} +17 -17
- package/dist/chunks/{app-2frz8dph.js → command-16tzjgec.js} +18 -18
- package/dist/chunks/{app-k73qbsk9.js → command-17jzngre.js} +18 -18
- package/dist/chunks/{app-vrctapba.js → command-18q964k7.js} +4 -4
- package/dist/chunks/{app-1acjjqhc.js → command-1acjjqhc.js} +1 -1
- package/dist/chunks/{app-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-84h8c373.js → command-1dvck2a7.js} +2 -2
- package/dist/chunks/{app-7mk5v0ya.js → command-1n500b33.js} +27 -27
- package/dist/chunks/{app-bsprd9wx.js → command-1z18ck0n.js} +9 -9
- package/dist/chunks/{app-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-ksc9mxxp.js → command-2b8cc78r.js} +8 -8
- package/dist/chunks/{app-4ts7tf6z.js → command-2ccvkpx1.js} +2 -2
- package/dist/chunks/{app-9syrq6y6.js → command-2dzy055r.js} +24 -24
- package/dist/chunks/{app-xfdghtvp.js → command-2v6want2.js} +36 -36
- package/dist/chunks/{app-an2k9t17.js → command-2vybv818.js} +8 -8
- package/dist/chunks/{app-ncnm8wen.js → command-3556dn8t.js} +1 -1
- package/dist/chunks/{app-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-p9yrfee4.js → command-3qqp0k3j.js} +15 -15
- package/dist/chunks/{app-pzpzvd2t.js → command-3s4kvr6z.js} +20 -20
- package/dist/chunks/{app-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-ph3dy5f1.js → command-3we2mweb.js} +8 -8
- package/dist/chunks/{app-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{app-1wad33g8.js → command-442pcgs7.js} +12 -12
- package/dist/chunks/{app-fn9065ma.js → command-45wc6gs6.js} +27 -27
- package/dist/chunks/{app-mhgx8wws.js → command-4eq8w0dz.js} +4 -4
- package/dist/chunks/{app-209p93ab.js → command-4fsbr1hj.js} +13 -13
- package/dist/chunks/{app-x7wj6yze.js → command-4kk4wpc5.js} +7 -7
- package/dist/chunks/{app-e8w9g8j0.js → command-4wap8wpx.js} +8 -8
- package/dist/chunks/{app-zsr4wwhv.js → command-4z58m4b4.js} +4 -4
- package/dist/chunks/{app-vwpcpzep.js → command-52fpbh6z.js} +8 -8
- package/dist/chunks/{app-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{app-56gdpj1q.js → command-56gdpj1q.js} +2 -2
- package/dist/chunks/{app-yn8nj1r6.js → command-5cy4n67n.js} +6 -6
- package/dist/chunks/{app-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{app-4veyd3ak.js → command-5f7m8t27.js} +11 -11
- package/dist/chunks/{app-0g89njvb.js → command-5ggnyshr.js} +5 -5
- package/dist/chunks/{app-5pyjqqve.js → command-5pyjqqve.js} +2 -2
- package/dist/chunks/{app-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-hwpwbwg3.js → command-5vkm6pr7.js} +30 -30
- package/dist/chunks/{app-561w58k2.js → command-5w6ne2rj.js} +10 -10
- package/dist/chunks/{app-w54fwt40.js → command-5yenn1gs.js} +1 -1
- package/dist/chunks/{app-1hty2hxv.js → command-61jz9119.js} +17 -17
- package/dist/chunks/{app-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{app-47tevgnt.js → command-698prn30.js} +35 -35
- package/dist/chunks/{app-d7b0ex47.js → command-6c08fhdk.js} +21 -21
- package/dist/chunks/{app-h79hjbwk.js → command-6kc2kwfx.js} +11 -11
- package/dist/chunks/{app-eprbh5a3.js → command-6vhm1ss8.js} +33 -33
- package/dist/chunks/{app-cr1cyvk7.js → command-6w7ey7g6.js} +1 -1
- package/dist/chunks/{app-f75zav2x.js → command-71az546q.js} +2 -2
- package/dist/chunks/{app-vezvtjyv.js → command-77f241gp.js} +11 -11
- package/dist/chunks/{app-fwwmygte.js → command-792b105c.js} +9 -9
- package/dist/chunks/{app-atk0aryg.js → command-7bc93ez4.js} +5 -5
- package/dist/chunks/{app-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-35ngnhat.js → command-7c08hygz.js} +11 -11
- package/dist/chunks/{app-z1xm8rrg.js → command-7d4y5228.js} +15 -15
- package/dist/chunks/{app-2k8khapm.js → command-7dqw4kz8.js} +5 -5
- package/dist/chunks/{app-mpxe8k3g.js → command-7hy03c00.js} +5 -5
- package/dist/chunks/{app-tcwnpcmx.js → command-7pzdf0kv.js} +9 -9
- package/dist/chunks/{app-y55dd5ke.js → command-7wrx96wc.js} +87 -87
- package/dist/chunks/{app-1bbkgx8g.js → command-7yh4e7ss.js} +3 -3
- package/dist/chunks/{app-w1eejvng.js → command-84txncab.js} +5 -5
- package/dist/chunks/{app-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-rarbs3xg.js → command-8g8kbavv.js} +16 -16
- package/dist/chunks/{app-regw106m.js → command-8gvvezbt.js} +9 -9
- package/dist/chunks/{app-avn2p37b.js → command-8kgc6f8d.js} +1 -1
- package/dist/chunks/{app-cgttfvq8.js → command-8sbdhey5.js} +22 -22
- package/dist/chunks/{app-rjaa4sd9.js → command-99y8wah8.js} +18 -18
- package/dist/chunks/{app-kb9j3d72.js → command-9e5bzkjp.js} +3 -3
- package/dist/chunks/{app-yffr9dtg.js → command-9hyc1rme.js} +21 -21
- package/dist/chunks/{app-4e8vs6eh.js → command-9jbvj98d.js} +8 -8
- package/dist/chunks/{app-0eqakyv9.js → command-9nyp8823.js} +19 -19
- package/dist/chunks/{app-bkvqt9s2.js → command-9qmfnzwh.js} +11 -11
- package/dist/chunks/{app-espax8zg.js → command-a2rpfkac.js} +4 -4
- package/dist/chunks/{app-1gv8rvzf.js → command-a3wrhx52.js} +9 -9
- package/dist/chunks/{app-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{app-addxnjmp.js → command-addxnjmp.js} +1 -1
- package/dist/chunks/{app-dmt0etr1.js → command-akgm1adh.js} +12 -12
- package/dist/chunks/{app-fzfpamp1.js → command-am2r47bs.js} +22 -22
- package/dist/chunks/{app-79g5k6km.js → command-ama4hd1q.js} +37 -37
- package/dist/chunks/{app-89602sqc.js → command-aqfevk6b.js} +31 -31
- package/dist/chunks/{app-rjh7gg55.js → command-ard2gdvt.js} +18 -18
- package/dist/chunks/{app-5r79haxc.js → command-as7cf5zz.js} +4 -4
- package/dist/chunks/{app-00pqadry.js → command-axbr2pfw.js} +15 -15
- package/dist/chunks/{app-72zmgtc4.js → command-ayf3dz6t.js} +20 -20
- package/dist/chunks/{app-e1fyheea.js → command-az7mkngh.js} +58 -58
- package/dist/chunks/{app-8sze2n9a.js → command-b4twkq7r.js} +2 -2
- package/dist/chunks/{app-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-gfhhve88.js → command-b7v4cx43.js} +5 -5
- package/dist/chunks/{app-qhhvr09t.js → command-ba9dmd1r.js} +10 -10
- package/dist/chunks/{app-2hd1kp5j.js → command-bn23jwvg.js} +29 -29
- package/dist/chunks/{app-4hk0hz21.js → command-bq5tb2fn.js} +15 -15
- package/dist/chunks/{app-50mzsvk4.js → command-c20khjev.js} +21 -21
- package/dist/chunks/{app-ttqk4nrk.js → command-c33yzrrm.js} +24 -24
- package/dist/chunks/{app-xq0xqrw8.js → command-c7c674pr.js} +42 -42
- package/dist/chunks/{app-0sdng81j.js → command-cg0qn6vf.js} +4 -4
- package/dist/chunks/{app-eyd7c3sc.js → command-cj2gwqpw.js} +32 -32
- package/dist/chunks/{app-qmqgtz8f.js → command-cwa6csj7.js} +9 -9
- package/dist/chunks/{app-as5bpre7.js → command-cz4jw647.js} +11 -11
- package/dist/chunks/{app-620awpdk.js → command-dcggx883.js} +15 -15
- package/dist/chunks/{app-bhmbf73r.js → command-dncrbkga.js} +12 -12
- package/dist/chunks/{app-dpkg50ah.js → command-dpkg50ah.js} +1 -1
- package/dist/chunks/{app-gh0thtd7.js → command-dpzj6tdt.js} +5 -5
- package/dist/chunks/{app-qqs6yt0x.js → command-dxptp51h.js} +25 -25
- package/dist/chunks/{app-dwec31rz.js → command-dzgakk8a.js} +1 -1
- package/dist/chunks/{app-3t8q6btf.js → command-e063bttt.js} +13 -13
- package/dist/chunks/{app-5qd3pb7m.js → command-e3qxr5gk.js} +2 -2
- package/dist/chunks/{app-d0cczxq1.js → command-e6kkka6h.js} +18 -18
- package/dist/chunks/{app-x0hrekb5.js → command-e76aamdb.js} +6 -6
- package/dist/chunks/{app-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-bk5ryxph.js → command-ejjfd3s4.js} +20 -20
- package/dist/chunks/{app-hkdpn095.js → command-epctnf05.js} +34 -34
- package/dist/chunks/{app-d952nnqc.js → command-eqd5sxw2.js} +4 -4
- package/dist/chunks/{app-pk1ehesx.js → command-err0hz1z.js} +8 -8
- package/dist/chunks/{app-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-t9ew0xaf.js → command-f1vyh6xp.js} +11 -11
- package/dist/chunks/{app-g2xfyzen.js → command-f3r6tdft.js} +23 -23
- package/dist/chunks/{app-k1qrnqst.js → command-f7rj482f.js} +8 -8
- package/dist/chunks/{app-ag4y98vq.js → command-fdhx3fkc.js} +22 -22
- package/dist/chunks/{app-hzx6zxpx.js → command-fe7r1v7c.js} +4 -4
- package/dist/chunks/{app-b866mxm8.js → command-ffx0yjy1.js} +10 -10
- package/dist/chunks/{app-z0fx5gx0.js → command-fqzgbyxx.js} +37 -37
- package/dist/chunks/{app-xa1vrh39.js → command-fsrxrd15.js} +28 -28
- package/dist/chunks/{app-599m2xw1.js → command-fy7htkd5.js} +16 -16
- package/dist/chunks/{app-c7gfppcn.js → command-fzxt6f8m.js} +69 -69
- package/dist/chunks/{app-njcc1ez3.js → command-g2swy422.js} +7 -7
- package/dist/chunks/{app-xfkkasph.js → command-g5w8qwbj.js} +4 -4
- package/dist/chunks/{app-p3hpvtvr.js → command-g75k6dtk.js} +51 -51
- package/dist/chunks/{app-adyzpsam.js → command-gb0da2f9.js} +15 -15
- package/dist/chunks/{app-vpn0ymxa.js → command-gd3jjb21.js} +24 -24
- package/dist/chunks/{app-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-t7k290n8.js → command-gehm4ms6.js} +22 -22
- package/dist/chunks/{app-bfdyam1j.js → command-gfe6ngy7.js} +7 -7
- package/dist/chunks/{app-4shrxzc5.js → command-gpmvb07s.js} +9 -9
- package/dist/chunks/{app-w606ffq6.js → command-gy37mnbx.js} +3 -3
- package/dist/chunks/{app-azfw0vc8.js → command-gyheh41a.js} +85 -85
- package/dist/chunks/{app-ndpjvh3x.js → command-gyrwew5n.js} +11 -11
- package/dist/chunks/{app-n19j8wrj.js → command-gze6pn84.js} +14 -14
- package/dist/chunks/{app-3cegwx68.js → command-h2b79v29.js} +2 -2
- package/dist/chunks/{app-my8kktcc.js → command-h560e691.js} +6 -6
- package/dist/chunks/{app-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-7bpzgkas.js → command-ha607pgt.js} +6 -6
- package/dist/chunks/{app-qzpb3j9m.js → command-hmg1zjtq.js} +23 -23
- package/dist/chunks/{app-pf0jmksz.js → command-hn5dn8nf.js} +10 -10
- package/dist/chunks/{app-tawq54z2.js → command-hncay249.js} +23 -23
- package/dist/chunks/{app-p8jze558.js → command-hyc9nd41.js} +3 -3
- package/dist/chunks/{app-zgfn406m.js → command-j2wb8rqv.js} +34 -34
- package/dist/chunks/{app-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{app-3mqsm5j6.js → command-jb7f9fbg.js} +26 -26
- package/dist/chunks/{app-ryr25ayn.js → command-jfqtm2ew.js} +4 -4
- package/dist/chunks/{app-b06te4ch.js → command-jkg72wry.js} +9 -9
- package/dist/chunks/{app-wvzpvwy9.js → command-jm5y8arx.js} +26 -26
- package/dist/chunks/{app-2gzy96w8.js → command-k2eg95vs.js} +10 -10
- package/dist/chunks/{app-k5n7mtkn.js → command-k39xy76y.js} +9 -9
- package/dist/chunks/{app-zvt5dnpc.js → command-k76fn4kw.js} +4 -4
- package/dist/chunks/{app-e8qyrgb1.js → command-kbqjp078.js} +5 -5
- package/dist/chunks/{app-j1hsk9k3.js → command-kcrarvbt.js} +31 -31
- package/dist/chunks/{app-jewzahs7.js → command-kkp8zx71.js} +4 -4
- package/dist/chunks/{app-m7v9qgpj.js → command-kx0tjg78.js} +20 -20
- package/dist/chunks/{app-ec6s3nk4.js → command-kzh1e4c0.js} +7 -7
- package/dist/chunks/{app-q732d4pp.js → command-m20vhgm3.js} +3 -3
- package/dist/chunks/{app-m3fdjcah.js → command-m3fdjcah.js} +1 -1
- package/dist/chunks/{app-06pwsgja.js → command-m4wmcnzy.js} +56 -56
- package/dist/chunks/{app-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-xc8632zm.js → command-masq385f.js} +9 -9
- package/dist/chunks/{app-h8mpbjha.js → command-mbsm52da.js} +23 -23
- package/dist/chunks/{app-e7710hd6.js → command-mm5kxf07.js} +8 -8
- package/dist/chunks/{app-bepk8tqz.js → command-mn5ewebe.js} +11 -11
- package/dist/chunks/{app-g2prbgy8.js → command-mwckezc6.js} +11 -11
- package/dist/chunks/{app-n359sqf7.js → command-mwqvydg1.js} +1 -1
- package/dist/chunks/{app-nmm3vqbw.js → command-mx21tkte.js} +32 -32
- package/dist/chunks/{app-ge1q9bb7.js → command-n6s91g4w.js} +21 -21
- package/dist/chunks/{app-68vhyseh.js → command-n71tvzfd.js} +30 -30
- package/dist/chunks/command-n95b3jav.js +18 -0
- package/dist/chunks/{app-ndmxeefq.js → command-nardgk59.js} +23 -23
- package/dist/chunks/{app-wd7pktgn.js → command-ndf92shb.js} +26 -26
- package/dist/chunks/{app-15x3adyq.js → command-ne1mz57k.js} +22 -22
- package/dist/chunks/{app-43kg75ww.js → command-nrtwsycd.js} +20 -20
- package/dist/chunks/{app-h0r975nr.js → command-nvw9h1kr.js} +15 -15
- package/dist/chunks/{app-3vr2yzyr.js → command-nvxc2gt2.js} +11 -11
- package/dist/chunks/{app-0x00cgs9.js → command-nz2nwecc.js} +10 -10
- package/dist/chunks/{app-tnnp2ngw.js → command-p2me32zz.js} +13 -13
- package/dist/chunks/{app-aye9ecv5.js → command-p31q7kmk.js} +3 -3
- package/dist/chunks/{app-5az9mes2.js → command-p9gsjnq9.js} +13 -13
- package/dist/chunks/{app-81ctsz2t.js → command-pf7k5tdk.js} +13 -13
- package/dist/chunks/{app-tnjs4r2h.js → command-pfetzwhm.js} +3 -3
- package/dist/chunks/{app-znhd2rt3.js → command-pj1c1pk3.js} +9 -9
- package/dist/chunks/{app-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{app-anbt75kp.js → command-ppmg69pv.js} +2 -2
- package/dist/chunks/{app-9zxrk7k8.js → command-ptzsp81a.js} +3 -3
- package/dist/chunks/{app-n76mmdvs.js → command-py94gk0f.js} +10 -10
- package/dist/chunks/{app-y2qwca5m.js → command-pyydss9x.js} +4 -4
- package/dist/chunks/{app-xhb6bnvb.js → command-qh7aybsz.js} +32 -32
- package/dist/chunks/{app-qnc92qwc.js → command-qnc92qwc.js} +1 -1
- package/dist/chunks/{app-zw2ke1at.js → command-qne3fa44.js} +5 -5
- package/dist/chunks/{app-6qbbyjh1.js → command-qqnbapkp.js} +25 -25
- package/dist/chunks/{app-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{app-gpx3jrtm.js → command-qsz4qh77.js} +15 -15
- package/dist/chunks/{app-qxjc9qry.js → command-qxjc9qry.js} +3 -3
- package/dist/chunks/{app-qp9egh0b.js → command-r41a70fd.js} +3 -3
- package/dist/chunks/{app-ejw4sar8.js → command-r7j38eze.js} +9 -9
- package/dist/chunks/{app-zcm3qgvh.js → command-ra4c5gbn.js} +6 -6
- package/dist/chunks/{app-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{app-ya0zd8mw.js → command-rfg37sv6.js} +8 -8
- package/dist/chunks/{app-n6n2a0vb.js → command-rh1jjh9e.js} +9 -9
- package/dist/chunks/{app-9t7a50xb.js → command-rhjbct0v.js} +4 -4
- package/dist/chunks/{app-gvgmkb1r.js → command-rmvqqtj5.js} +35 -35
- package/dist/chunks/{app-xmvw5gzg.js → command-rnkhex19.js} +27 -27
- package/dist/chunks/{app-cm35g4cv.js → command-rwzsmfev.js} +24 -24
- package/dist/chunks/{app-119gdykg.js → command-s1gmxnwk.js} +16 -16
- package/dist/chunks/{app-epc8471h.js → command-s3ybr6j1.js} +11 -11
- package/dist/chunks/{app-rfrf17aw.js → command-s800pt51.js} +12 -12
- package/dist/chunks/{app-shg0hhw6.js → command-sf9vyvr4.js} +16 -16
- package/dist/chunks/{app-3fpzpwa9.js → command-srkthfyp.js} +10 -10
- package/dist/chunks/{app-w36j0bmk.js → command-srq8z0b0.js} +9 -9
- package/dist/chunks/{app-f8tc66c6.js → command-szkbeypk.js} +37 -37
- package/dist/chunks/{app-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-8h51bdva.js → command-tbmmctgf.js} +3 -3
- package/dist/chunks/{app-qe5yr083.js → command-tbw7bgph.js} +37 -37
- package/dist/chunks/{app-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{app-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{app-cxbh1760.js → command-tk14y25j.js} +5 -5
- package/dist/chunks/{app-f07cbx1f.js → command-tkakx37z.js} +35 -35
- package/dist/chunks/{app-q36raq5y.js → command-tpsj3vqj.js} +9 -9
- package/dist/chunks/{app-cmwkp3r5.js → command-tpw6cwsb.js} +8 -8
- package/dist/chunks/{app-7x0x355c.js → command-tw3ak1wx.js} +2 -2
- package/dist/chunks/{app-axckdsf5.js → command-txy71j19.js} +306 -306
- package/dist/chunks/{app-xecxzrdp.js → command-v0es1rhs.js} +2 -2
- package/dist/chunks/{app-wxgz1mz1.js → command-vbe3v9yb.js} +30 -30
- package/dist/chunks/{app-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{app-bdqj39hy.js → command-vjwkcd0q.js} +3 -3
- package/dist/chunks/{app-hktyk2mm.js → command-vmc16zgv.js} +14 -14
- package/dist/chunks/{app-tmg02xqh.js → command-vmdhrg7n.js} +3 -3
- package/dist/chunks/{app-ndn5nttk.js → command-vynmvp9h.js} +9 -9
- package/dist/chunks/{app-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{app-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{app-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-nh0fz38p.js → command-w68n4ndy.js} +5 -5
- package/dist/chunks/{app-vv3d8hyj.js → command-wb8vnrxj.js} +19 -19
- package/dist/chunks/{app-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{app-zyk1yjk8.js → command-wecqtg5s.js} +5 -5
- package/dist/chunks/{app-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-6mfz7pzx.js → command-xet9w07d.js} +25 -25
- package/dist/chunks/{app-avrbq183.js → command-xjdp6js1.js} +14 -14
- package/dist/chunks/{app-az38zn9v.js → command-xkjdq2cq.js} +2 -2
- package/dist/chunks/{app-xkntkrq7.js → command-xkntkrq7.js} +2 -2
- package/dist/chunks/{app-71abwgpw.js → command-xs7n98fv.js} +11 -11
- package/dist/chunks/command-xtwb32s8.js +253 -0
- package/dist/chunks/{app-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-fwwk8vbp.js → command-y56ehv6b.js} +9 -9
- package/dist/chunks/{app-2a6rn6yr.js → command-yf4jcbx9.js} +6 -6
- package/dist/chunks/{app-efn9spr7.js → command-yvcz9db6.js} +15 -15
- package/dist/chunks/{app-7b6cahxy.js → command-yxn8eat3.js} +21 -21
- package/dist/chunks/{app-sg3a9qd2.js → command-yzs2ct5k.js} +48 -48
- package/dist/chunks/{app-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-1fmrbde1.js → command-z2qvtray.js} +6 -6
- package/dist/chunks/{app-3npbq3xm.js → command-zazrq5bn.js} +11 -11
- package/dist/chunks/{app-rvsg5akq.js → command-zcr4n024.js} +12 -12
- package/dist/chunks/{app-t4bjdndn.js → command-zgajxp8k.js} +43 -43
- package/dist/chunks/{app-61tpjagt.js → command-zj39adwq.js} +8 -8
- package/dist/chunks/{app-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{app-ws5x6xqg.js → command-zxzherh8.js} +43 -43
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +121 -121
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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 +354 -354
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/app-qc068m1q.js +0 -18
- package/dist/chunks/app-xxrc28my.js +0 -253
- /package/dist/chunks/{app-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-34c7v6d4.js → command-34c7v6d4.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-vx3jgdek.js → command-vx3jgdek.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service64
|
|
4
|
+
} from "./command-45wc6gs6.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service74
|
|
8
|
+
} from "./command-kcrarvbt.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./command-c7c674pr.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-vx3jgdek.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service72
|
|
18
|
+
} from "./command-8g8kbavv.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service60
|
|
22
|
+
} from "./command-az7mkngh.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service28
|
|
25
|
+
} from "./command-7wrx96wc.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make5
|
|
31
|
+
} from "./command-nvxc2gt2.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
39
|
Input: () => Input8,
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
40
|
+
Output: () => Output7,
|
|
41
|
+
Plugin: () => Plugin11,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description3,
|
|
44
44
|
name: () => name8
|
|
@@ -72,7 +72,7 @@ var Input8 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output7 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin11 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service28;
|
|
93
|
+
const jobs = yield* Service72;
|
|
94
|
+
const agents = yield* Service64;
|
|
95
|
+
const config = yield* Service66;
|
|
96
|
+
const permission = yield* Service60;
|
|
97
|
+
const models = yield* Service74;
|
|
98
|
+
const subagents = yield* make5;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -119,7 +119,7 @@ var Plugin9 = {
|
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description3,
|
|
121
121
|
input: Input8,
|
|
122
|
-
output:
|
|
122
|
+
output: Output7,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -168,7 +168,7 @@ var Plugin9 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID10.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export { name8, Input8,
|
|
256
|
+
export { name8, Input8, Output7, description3, Plugin11, exports_subagent };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node14, exports_location_watcher_policy };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID6,
|
|
6
|
+
Service42
|
|
7
|
+
} from "./command-qh7aybsz.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-vx3jgdek.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-1z18ck0n.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service42;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID6.make(from),
|
|
91
|
+
to: ID6.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./command-vmc16zgv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service66
|
|
9
|
+
} from "./command-c7c674pr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service20
|
|
12
|
+
} from "./command-yxn8eat3.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin31
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin31 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service66;
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service20;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin28 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin31, exports_worktree };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./command-c7c674pr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./command-f7rj482f.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin20
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin20 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service66;
|
|
29
|
+
const managed = yield* Service70;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin27 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin20, exports_policy };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-az7mkngh.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin41
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin41 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin41, exports_plan };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./command-0skwdn09.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event12,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info14,
|
|
19
|
+
NotFoundError: () => NotFoundError9,
|
|
20
|
+
Service: () => Service65,
|
|
21
|
+
layer: () => layer20,
|
|
22
|
+
node: () => node68
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event12 } from "@opencode/schema/command";
|
|
28
|
+
var Info14 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError9 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service65 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer20 = Layer.effect(Service65, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service82;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info14.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service65.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError9({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node68 = makeLocationNode({
|
|
75
|
+
service: Service65,
|
|
76
|
+
layer: layer20,
|
|
77
|
+
deps: [node86]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info14, NotFoundError9, ExecutionError2, Service65, layer20, node68, exports_command4, Event12 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service49,
|
|
6
|
+
node52
|
|
7
|
+
} from "./command-02we17gd.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service21,
|
|
17
|
+
node: () => node24,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service21 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service49;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service21.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node24 = makeLocationNode({ service: Service21, layer, deps: [node52] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service21, readText2, syncTextBom2, node24, exports_file_mutation };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load5() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load5 };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service49,
|
|
8
|
+
node52
|
|
9
|
+
} from "./command-02we17gd.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service23,
|
|
24
|
+
node: () => node26
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service23 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ 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(Service23, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service49;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service23.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node26 = makeLocationNode({ service: Service23, layer, deps: [node52, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service23, node26, exports_ripgrep };
|