@opencode/core 0.0.0-dev-19976 → 0.0.0-dev-19978
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 +76 -76
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{workspace-qz49fwgp.js → shell-0gaj4617.js} +4 -4
- package/dist/chunks/{workspace-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{workspace-qwv4fpqw.js → shell-0yj0eem9.js} +10 -10
- package/dist/chunks/{workspace-shh6fz4q.js → shell-1080qp6z.js} +4 -4
- package/dist/chunks/{workspace-8vabvz82.js → shell-11vtep71.js} +13 -13
- package/dist/chunks/{workspace-6r6sqe9n.js → shell-18fd1sb5.js} +3 -3
- package/dist/chunks/{workspace-g652nsve.js → shell-19ezmb62.js} +22 -22
- package/dist/chunks/{workspace-txw29g1t.js → shell-1crvyphj.js} +4 -4
- package/dist/chunks/{workspace-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-a3afvmqg.js → shell-1kwcskzj.js} +7 -7
- package/dist/chunks/{workspace-phbsj0j2.js → shell-1p0k74td.js} +16 -16
- package/dist/chunks/{workspace-9fc3v4re.js → shell-1rmaqtrx.js} +4 -4
- package/dist/chunks/{workspace-9403nfm7.js → shell-1s2t0np1.js} +32 -32
- package/dist/chunks/{workspace-eatsc6yh.js → shell-1w5344nt.js} +10 -10
- package/dist/chunks/{workspace-bsfgxy3a.js → shell-1yxss9sq.js} +8 -8
- package/dist/chunks/{workspace-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-6h73sxmp.js → shell-2402vzrj.js} +5 -5
- package/dist/chunks/{workspace-89ad7fzy.js → shell-250ht8wz.js} +9 -9
- package/dist/chunks/{workspace-cq01mcjf.js → shell-260cwht4.js} +74 -74
- package/dist/chunks/{workspace-sx7xb6j6.js → shell-2640wgj5.js} +12 -12
- package/dist/chunks/{workspace-7yg3y2sd.js → shell-2976z3d9.js} +11 -11
- package/dist/chunks/{workspace-29x78va6.js → shell-29x78va6.js} +2 -2
- package/dist/chunks/{workspace-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-7h57f7d7.js → shell-2ey0y3b4.js} +35 -35
- package/dist/chunks/{workspace-hbyhqfhs.js → shell-2p623br6.js} +5 -5
- package/dist/chunks/{workspace-bh6xnkn8.js → shell-2srtjxyz.js} +314 -314
- package/dist/chunks/{workspace-rjg5g3rw.js → shell-2vp71rdt.js} +12 -12
- package/dist/chunks/{workspace-wj557cjd.js → shell-387f2ghq.js} +10 -10
- package/dist/chunks/{workspace-xqrhjvfz.js → shell-3abh18r5.js} +13 -13
- package/dist/chunks/{workspace-jd2q17ad.js → shell-3cghyafc.js} +11 -11
- package/dist/chunks/{workspace-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-0x0c0f3f.js → shell-3gh3ew6n.js} +10 -10
- package/dist/chunks/{workspace-en5ms791.js → shell-3h4a5sy3.js} +14 -14
- package/dist/chunks/{workspace-jn6zj5k7.js → shell-3hapsyq9.js} +26 -26
- package/dist/chunks/{workspace-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-dfe8djrf.js → shell-3j8sdtpz.js} +4 -4
- package/dist/chunks/{workspace-kkkjbbh2.js → shell-3kn2wvnz.js} +6 -6
- package/dist/chunks/{workspace-j71eb661.js → shell-3q2rkys7.js} +14 -14
- package/dist/chunks/{workspace-2qmapw28.js → shell-3s7qr6kk.js} +16 -16
- package/dist/chunks/{workspace-1kzq6qnm.js → shell-3sb31twn.js} +6 -6
- package/dist/chunks/{workspace-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-frq37dj9.js → shell-420tzvdn.js} +16 -16
- package/dist/chunks/{workspace-gmqh62m1.js → shell-48698xmq.js} +16 -16
- package/dist/chunks/{workspace-en40pvpc.js → shell-4a5q5w53.js} +20 -20
- package/dist/chunks/{workspace-7b0gpmec.js → shell-4kcqzamp.js} +16 -16
- package/dist/chunks/{workspace-05jrxfe9.js → shell-4r49tv4x.js} +16 -16
- package/dist/chunks/shell-4v7qdvcn.js +18 -0
- package/dist/chunks/{workspace-5yyt2gzp.js → shell-4xnk508k.js} +1 -1
- package/dist/chunks/{workspace-g97bb4fb.js → shell-51jra4mh.js} +2 -2
- package/dist/chunks/{workspace-yv13jgjp.js → shell-53g2xa05.js} +3 -3
- package/dist/chunks/{workspace-m7a66szm.js → shell-561eeawp.js} +20 -20
- package/dist/chunks/{workspace-57ez7d0k.js → shell-57ez7d0k.js} +2 -2
- package/dist/chunks/{workspace-m2333cga.js → shell-5b1f5rf1.js} +6 -6
- package/dist/chunks/{workspace-q37hvqsc.js → shell-5bs0k4xh.js} +9 -9
- package/dist/chunks/{workspace-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-hby81b9r.js → shell-5fs6yg5a.js} +5 -5
- package/dist/chunks/{workspace-tx1r3w21.js → shell-5j5738f4.js} +10 -10
- package/dist/chunks/{workspace-sttw4gkc.js → shell-5ns8eg09.js} +33 -33
- package/dist/chunks/{workspace-brpd6fv5.js → shell-5qc21a3k.js} +26 -26
- package/dist/chunks/{workspace-915kganc.js → shell-5t1mxvsw.js} +19 -19
- package/dist/chunks/{workspace-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-vjz8een3.js → shell-5xmvjqbs.js} +9 -9
- package/dist/chunks/{workspace-64prggvs.js → shell-5y5m0zb6.js} +31 -31
- package/dist/chunks/{workspace-y39x7n9b.js → shell-5zfxgaph.js} +8 -8
- package/dist/chunks/{workspace-1y9dt3g7.js → shell-6134wrt7.js} +38 -38
- package/dist/chunks/{workspace-8ykdne12.js → shell-62hy6yfd.js} +12 -12
- package/dist/chunks/{workspace-t8djmwwn.js → shell-62yfe89d.js} +8 -8
- package/dist/chunks/{workspace-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{workspace-vd7ypez6.js → shell-6a5cyqv6.js} +7 -7
- package/dist/chunks/{workspace-crf141y6.js → shell-6dv6n725.js} +18 -18
- package/dist/chunks/{workspace-vkt5fbj2.js → shell-6f8737q3.js} +8 -8
- package/dist/chunks/{workspace-8z45c87w.js → shell-6gj1ckc8.js} +12 -12
- package/dist/chunks/{workspace-724bb6xm.js → shell-6hr9dd4j.js} +18 -18
- package/dist/chunks/{workspace-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-2aftd3a2.js → shell-6wqzn9nn.js} +3 -3
- package/dist/chunks/{workspace-qkp1k0b9.js → shell-6zdpm8gg.js} +3 -3
- package/dist/chunks/{workspace-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-xhxcwzqv.js → shell-7bt5snpn.js} +9 -9
- package/dist/chunks/{workspace-7dqw4kz8.js → shell-7dqw4kz8.js} +1 -1
- package/dist/chunks/{workspace-nhkza4qs.js → shell-7eg5yrd4.js} +14 -14
- package/dist/chunks/{workspace-5epte933.js → shell-7jdsj2a9.js} +3 -3
- package/dist/chunks/{workspace-k55f3hcm.js → shell-7mv393fz.js} +10 -10
- package/dist/chunks/{workspace-77g3a63m.js → shell-7p1faebm.js} +13 -13
- package/dist/chunks/{workspace-7s2tn799.js → shell-7s2tn799.js} +1 -1
- package/dist/chunks/{workspace-2cmnwcq0.js → shell-7tj6d01t.js} +7 -7
- package/dist/chunks/{workspace-ptx7r7w6.js → shell-7v61v3dm.js} +11 -11
- package/dist/chunks/{workspace-9rcspwcs.js → shell-7vfxn4ds.js} +42 -42
- package/dist/chunks/{workspace-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-5nzaa539.js → shell-8f1yg6p5.js} +40 -40
- package/dist/chunks/{workspace-vpv31xpv.js → shell-8gj0fsd9.js} +4 -4
- package/dist/chunks/{workspace-rxxp0mym.js → shell-8jkt1xn6.js} +1 -1
- package/dist/chunks/{workspace-9zdcna1n.js → shell-8k69atjg.js} +19 -19
- package/dist/chunks/{workspace-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{workspace-9hn6k4tm.js → shell-8v6pyhej.js} +8 -8
- package/dist/chunks/{workspace-0z7rzftk.js → shell-8z7r2bkb.js} +4 -4
- package/dist/chunks/{workspace-s8ah00f6.js → shell-9514k7xd.js} +4 -4
- package/dist/chunks/{workspace-y9k1g73x.js → shell-9eay0pge.js} +3 -3
- package/dist/chunks/{workspace-xtn5wpmn.js → shell-9fvzrgf5.js} +14 -14
- package/dist/chunks/{workspace-4nj4bn9q.js → shell-9jzp6rtr.js} +9 -9
- package/dist/chunks/{workspace-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{workspace-a46v4e4v.js → shell-a2ew8a62.js} +4 -4
- package/dist/chunks/{workspace-r02e4wv6.js → shell-a51z7ksw.js} +9 -9
- package/dist/chunks/{workspace-8j6z6d32.js → shell-a5c1graw.js} +24 -24
- package/dist/chunks/shell-a9zdeeck.js +26 -0
- package/dist/chunks/{workspace-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-jzj5fe77.js → shell-acffanb1.js} +24 -24
- package/dist/chunks/{workspace-607q5haz.js → shell-afed7ext.js} +5 -5
- package/dist/chunks/{workspace-3w2b2yj4.js → shell-ag9w8cw1.js} +5 -5
- package/dist/chunks/{workspace-cs700ddv.js → shell-akjymesb.js} +15 -15
- package/dist/chunks/{workspace-61fvg6ge.js → shell-as7bzewp.js} +3 -3
- package/dist/chunks/shell-aw8ehhwx.js +252 -0
- package/dist/chunks/{workspace-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-6878ajz3.js → shell-b6kpjdeq.js} +9 -9
- package/dist/chunks/{workspace-9t3w81t2.js → shell-b8adnfnt.js} +20 -20
- package/dist/chunks/{workspace-68arvhxb.js → shell-bcdacnkc.js} +7 -7
- package/dist/chunks/{workspace-xygf558z.js → shell-bcdav7a4.js} +13 -13
- package/dist/chunks/{workspace-n7hq9y22.js → shell-bez9vw3c.js} +23 -23
- package/dist/chunks/{workspace-9pkkzrmj.js → shell-bgs9y14h.js} +5 -5
- package/dist/chunks/{workspace-438fgj0f.js → shell-bhsa20q5.js} +18 -18
- package/dist/chunks/{workspace-egm44ayq.js → shell-bpf0162m.js} +13 -13
- package/dist/chunks/{workspace-njpe9gsc.js → shell-c0qnvhxc.js} +17 -17
- package/dist/chunks/{workspace-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{workspace-00jp707z.js → shell-ch7t79yz.js} +31 -31
- package/dist/chunks/{workspace-vrxn6v33.js → shell-ckkgcvab.js} +84 -84
- package/dist/chunks/{workspace-cq37gk0t.js → shell-cq37gk0t.js} +4 -4
- package/dist/chunks/{workspace-qnye80mc.js → shell-cry49m72.js} +34 -34
- package/dist/chunks/{workspace-csf2jhsg.js → shell-csf2jhsg.js} +1 -1
- package/dist/chunks/{workspace-0rvp7ahq.js → shell-cte7fmtx.js} +20 -20
- package/dist/chunks/{workspace-nz40v0xg.js → shell-d3c81gqs.js} +15 -15
- package/dist/chunks/{workspace-zav06jzw.js → shell-ddt2bs9e.js} +4 -4
- package/dist/chunks/{workspace-7rce4ag1.js → shell-dhhwvr0d.js} +10 -10
- package/dist/chunks/{workspace-6bstxtt3.js → shell-dy5t6xhr.js} +13 -13
- package/dist/chunks/{workspace-j04hx8st.js → shell-dykkexkt.js} +2 -2
- package/dist/chunks/{workspace-hq9c8xrb.js → shell-e0tqeget.js} +26 -26
- package/dist/chunks/{workspace-d2aac7k2.js → shell-ead3g9p8.js} +5 -5
- package/dist/chunks/{workspace-yga8c4n1.js → shell-ef00qedp.js} +12 -12
- package/dist/chunks/{workspace-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-erw5rpbs.js → shell-erw5rpbs.js} +2 -2
- package/dist/chunks/{workspace-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-1acjjqhc.js → shell-f2n192rq.js} +4 -4
- package/dist/chunks/{workspace-yemygy56.js → shell-f409aq7x.js} +26 -26
- package/dist/chunks/{workspace-zymwz594.js → shell-f4k8275x.js} +47 -47
- package/dist/chunks/{workspace-yf10kn3d.js → shell-f5gy8qwh.js} +8 -8
- package/dist/chunks/{workspace-f828m53h.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{workspace-mbj6r9mg.js → shell-fdytj4qh.js} +2 -2
- package/dist/chunks/{workspace-evstn2e1.js → shell-fh7gdbkn.js} +20 -20
- package/dist/chunks/{workspace-y9c8ds6g.js → shell-fp7m90ch.js} +1 -1
- package/dist/chunks/{workspace-95aphakr.js → shell-ftjnkh8h.js} +8 -8
- package/dist/chunks/{workspace-hnr5yq9h.js → shell-fvsyg6qk.js} +5 -5
- package/dist/chunks/{workspace-cskcxkdr.js → shell-fwwj4rbr.js} +13 -13
- package/dist/chunks/{workspace-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-vhv5xdae.js → shell-g2b0fmk0.js} +9 -9
- package/dist/chunks/{workspace-gy8jtxss.js → shell-g4e7yzyy.js} +18 -18
- package/dist/chunks/{workspace-r2m716tb.js → shell-g6q9qykm.js} +8 -8
- package/dist/chunks/{workspace-hc5h1fwz.js → shell-g73vfdfa.js} +11 -11
- package/dist/chunks/{workspace-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-c05v4fnx.js → shell-gf6qp9k5.js} +33 -33
- package/dist/chunks/{workspace-jy1x85rx.js → shell-gthdbg3t.js} +4 -4
- package/dist/chunks/{workspace-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-dnq79vah.js → shell-h0ncryma.js} +10 -10
- package/dist/chunks/{workspace-mvfdckk2.js → shell-h5b4kcx3.js} +4 -4
- package/dist/chunks/{workspace-h6r3nrb9.js → shell-h6r3nrb9.js} +1 -1
- package/dist/chunks/{workspace-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-f32czd11.js → shell-h74ge2a2.js} +8 -8
- package/dist/chunks/{workspace-dn1jy3t2.js → shell-h8fbtp05.js} +9 -9
- package/dist/chunks/{workspace-33k257v5.js → shell-hg87j33e.js} +9 -9
- package/dist/chunks/{workspace-v2gb0a2b.js → shell-hk9yfvgj.js} +3 -3
- package/dist/chunks/{workspace-dnk3rzs1.js → shell-hsmsnpd6.js} +22 -22
- package/dist/chunks/{workspace-qqveq5z9.js → shell-hw51ngyv.js} +8 -8
- package/dist/chunks/{workspace-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-zn2rtdne.js → shell-j9frms3x.js} +6 -6
- package/dist/chunks/{workspace-jttm2z5k.js → shell-jh94thfm.js} +133 -133
- package/dist/chunks/{workspace-jdhqnsv9.js → shell-jjqebjeq.js} +22 -22
- package/dist/chunks/{workspace-h05xe26f.js → shell-jt0at99v.js} +2 -2
- package/dist/chunks/{workspace-ed6ewr6r.js → shell-jyh1spmy.js} +8 -8
- package/dist/chunks/{workspace-ex4wm9dq.js → shell-jzqj7kse.js} +30 -30
- package/dist/chunks/{workspace-nzks3jc8.js → shell-k3c624dm.js} +3 -3
- package/dist/chunks/{workspace-axmvebxj.js → shell-kk00bynn.js} +4 -4
- package/dist/chunks/{workspace-57sydnee.js → shell-kmv09gbc.js} +12 -12
- package/dist/chunks/{workspace-6qa9hb0h.js → shell-knzq6194.js} +27 -27
- package/dist/chunks/{workspace-0jrsc0d0.js → shell-kqkf13qm.js} +20 -20
- package/dist/chunks/{workspace-p7gtrmqp.js → shell-kx21j3gp.js} +4 -4
- package/dist/chunks/{workspace-xk747vep.js → shell-m2d0j7c0.js} +9 -9
- package/dist/chunks/{workspace-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
- package/dist/chunks/{workspace-9bkpwrqx.js → shell-m3tsgwa2.js} +34 -34
- package/dist/chunks/{workspace-6y1vxjf5.js → shell-m508k0v5.js} +16 -16
- package/dist/chunks/{workspace-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-yz5wbtz1.js → shell-maa7zwzz.js} +16 -16
- package/dist/chunks/{workspace-fb08vzds.js → shell-magqfpze.js} +40 -40
- package/dist/chunks/{workspace-37sfe3bm.js → shell-magsh8sv.js} +8 -8
- package/dist/chunks/{workspace-1ygqh575.js → shell-mfqp6xfm.js} +6 -6
- package/dist/chunks/{workspace-m1xzdp0d.js → shell-mgezdqvd.js} +21 -21
- package/dist/chunks/{workspace-1bbkgx8g.js → shell-mhkvc446.js} +3 -3
- package/dist/chunks/{workspace-qft4n94x.js → shell-mrtxncf8.js} +3 -3
- package/dist/chunks/{workspace-za2m9gf5.js → shell-mxkxgfdc.js} +16 -16
- package/dist/chunks/{workspace-gfrjm2xz.js → shell-myrc5q0t.js} +22 -22
- package/dist/chunks/{workspace-v2mh11m3.js → shell-myyxex1z.js} +20 -20
- package/dist/chunks/{workspace-277eer69.js → shell-n2srvep7.js} +4 -4
- package/dist/chunks/{workspace-ppygek1b.js → shell-n4v7jv1t.js} +12 -12
- package/dist/chunks/{workspace-fnxvy9mq.js → shell-n7pj9vak.js} +23 -23
- package/dist/chunks/{workspace-jprse0xe.js → shell-nfd8mtse.js} +25 -25
- package/dist/chunks/{workspace-ezqe822v.js → shell-nn0v9drq.js} +43 -43
- package/dist/chunks/{workspace-hsg668p1.js → shell-ns2c2r1h.js} +16 -16
- package/dist/chunks/{workspace-f7djnycc.js → shell-nvra0fyk.js} +15 -15
- package/dist/chunks/{workspace-szgj26xm.js → shell-ny0kgn08.js} +2 -2
- package/dist/chunks/{workspace-6m0tgnv5.js → shell-nz32y6j9.js} +32 -32
- package/dist/chunks/{workspace-p28j5sbe.js → shell-p28j5sbe.js} +2 -2
- package/dist/chunks/{workspace-zcaw5wve.js → shell-p2h430zw.js} +16 -16
- package/dist/chunks/{workspace-gjmk74th.js → shell-p7a39gy5.js} +6 -6
- package/dist/chunks/{workspace-jck03djw.js → shell-p7f48tpq.js} +24 -24
- package/dist/chunks/{workspace-x57r3cf8.js → shell-pe5xq6m6.js} +17 -17
- package/dist/chunks/{workspace-bdqrk2vk.js → shell-pjedbq3k.js} +4 -4
- package/dist/chunks/{workspace-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-g9avfrxv.js → shell-pk1qwwxe.js} +9 -9
- package/dist/chunks/{workspace-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-4zvygart.js → shell-q2dkzkdb.js} +11 -11
- package/dist/chunks/{workspace-axm728m5.js → shell-qea7c352.js} +39 -39
- package/dist/chunks/{workspace-9zmsvm50.js → shell-qp4q688a.js} +23 -23
- package/dist/chunks/{workspace-xfkkasph.js → shell-qqeeq2t9.js} +7 -7
- package/dist/chunks/{workspace-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-ay0gn1a8.js → shell-qzhzzgth.js} +24 -24
- package/dist/chunks/{workspace-wnf5egzc.js → shell-r3n8e044.js} +9 -9
- package/dist/chunks/{workspace-6ky7efr6.js → shell-r562f6qv.js} +69 -69
- package/dist/chunks/{workspace-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-rhjbct0v.js → shell-rhjbct0v.js} +1 -1
- package/dist/chunks/{workspace-jbnhwg68.js → shell-rnw38jw6.js} +3 -3
- package/dist/chunks/{workspace-whtf8zfp.js → shell-rp531hqd.js} +6 -6
- package/dist/chunks/{workspace-0tmgye68.js → shell-rpjgfq5s.js} +5 -5
- package/dist/chunks/{workspace-s4enseaf.js → shell-s4enseaf.js} +2 -2
- package/dist/chunks/{workspace-qby9dwvd.js → shell-s5met55r.js} +4 -4
- package/dist/chunks/{workspace-dj97z1h1.js → shell-s6skgdzw.js} +11 -11
- package/dist/chunks/{workspace-kfpry7jw.js → shell-s8nw8qqp.js} +28 -28
- package/dist/chunks/{workspace-8hyqnzhe.js → shell-s9y92xh6.js} +48 -48
- package/dist/chunks/{workspace-drkc87kz.js → shell-sp1zcgp4.js} +11 -11
- package/dist/chunks/{workspace-vs1j1ez4.js → shell-sz15nke5.js} +9 -9
- package/dist/chunks/{workspace-4t3xng2k.js → shell-szpwe2j4.js} +33 -33
- package/dist/chunks/{workspace-yx53t0r1.js → shell-t673y9ra.js} +23 -23
- package/dist/chunks/{workspace-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-tjszthyy.js → shell-tkeqhyvm.js} +8 -8
- package/dist/chunks/{workspace-ts2x07a1.js → shell-ts2x07a1.js} +1 -1
- package/dist/chunks/{workspace-hcpextjt.js → shell-tvpppgsc.js} +13 -13
- package/dist/chunks/{workspace-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-dkkf29sp.js → shell-v01tkn9z.js} +12 -12
- package/dist/chunks/{workspace-ersf5sn4.js → shell-v27xpbdp.js} +10 -10
- package/dist/chunks/{workspace-v9bkd1yb.js → shell-v5g6m2jr.js} +21 -21
- package/dist/chunks/{workspace-9v1v9bph.js → shell-vb8b7bnb.js} +4 -4
- package/dist/chunks/{workspace-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-egmeyekh.js → shell-vp1et1m5.js} +18 -18
- package/dist/chunks/{workspace-pm8erawn.js → shell-vp53y9j4.js} +11 -11
- package/dist/chunks/{workspace-w068zxwj.js → shell-vrwant47.js} +16 -16
- package/dist/chunks/{workspace-ns9v291x.js → shell-vww8x242.js} +1 -1
- package/dist/chunks/{workspace-cm5z7ssw.js → shell-vxzgcgea.js} +13 -13
- package/dist/chunks/{workspace-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-5bkw2dcb.js → shell-w94jh9ha.js} +7 -7
- package/dist/chunks/{workspace-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-hpew3xwe.js → shell-wxahwc7r.js} +1 -1
- package/dist/chunks/{workspace-mksgfzgs.js → shell-wxe1qfek.js} +6 -6
- package/dist/chunks/{workspace-cwp5p4t3.js → shell-wxrbz6ev.js} +17 -17
- package/dist/chunks/{workspace-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-mzkzf2w3.js → shell-xjf9vqpg.js} +10 -10
- package/dist/chunks/{workspace-wc444ph0.js → shell-xnpkhd7t.js} +15 -15
- package/dist/chunks/{workspace-4vv2c1zf.js → shell-xvvxjgs3.js} +11 -11
- package/dist/chunks/{workspace-x9m6b332.js → shell-xwkvp7ty.js} +5 -5
- package/dist/chunks/{workspace-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-zetnz1cj.js → shell-y1hy686p.js} +3 -3
- package/dist/chunks/{workspace-dpkg50ah.js → shell-y71avatq.js} +4 -4
- package/dist/chunks/{workspace-1407x5yq.js → shell-y844exjz.js} +6 -6
- package/dist/chunks/{workspace-42em1327.js → shell-ychryjdx.js} +26 -26
- package/dist/chunks/{workspace-ehe4wzqm.js → shell-ymshdtr8.js} +11 -11
- package/dist/chunks/{workspace-p0ar7mqv.js → shell-ynhzt9k4.js} +11 -11
- package/dist/chunks/{workspace-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-3nenj1by.js → shell-zftvnttz.js} +8 -8
- package/dist/chunks/{workspace-k9kj6xed.js → shell-zqx8wcya.js} +8 -8
- package/dist/chunks/{workspace-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-vh4jega5.js → shell-ztzrhfw8.js} +4 -4
- package/dist/chunks/{workspace-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- 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 +76 -76
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +101 -101
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- 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 +98 -98
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +72 -72
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +101 -101
- package/dist/models-dev.js +98 -98
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- 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 +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +92 -92
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +3 -3
- 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 +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- 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 +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- 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 +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/workspace-2a7ewa7q.js +0 -26
- package/dist/chunks/workspace-nt2g1hn6.js +0 -252
- package/dist/chunks/workspace-vkrew15q.js +0 -18
- /package/dist/chunks/{workspace-0mesazry.js → shell-0mesazry.js} +0 -0
- /package/dist/chunks/{workspace-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e3qxr5gk.js → shell-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service60
|
|
4
|
+
} from "./shell-mxkxgfdc.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service74
|
|
8
|
+
} from "./shell-nfd8mtse.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service71
|
|
12
|
+
} from "./shell-m3tsgwa2.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-7jdsj2a9.js";
|
|
16
16
|
import {
|
|
17
17
|
Service52
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-hg87j33e.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service57
|
|
22
|
+
} from "./shell-6134wrt7.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service22
|
|
25
|
+
} from "./shell-260cwht4.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./shell-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./shell-a51z7ksw.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./shell-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input10,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin45,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name10
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name10 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input10 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input2 = 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 Output8 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description4 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin45 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
92
|
+
const sessions = yield* Service22;
|
|
93
93
|
const jobs = yield* Service52;
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
94
|
+
const agents = yield* Service60;
|
|
95
|
+
const config = yield* Service71;
|
|
96
|
+
const permission = yield* Service57;
|
|
97
|
+
const models = yield* Service74;
|
|
98
|
+
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin19 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input10,
|
|
122
|
+
output: Output8,
|
|
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;
|
|
@@ -139,7 +139,7 @@ var Plugin19 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name10,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin19 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.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;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name10];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name10, Input10, Output8, description4, Plugin45, exports_subagent };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./shell-m3tsgwa2.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service63
|
|
13
|
+
} from "./shell-v5g6m2jr.js";
|
|
14
14
|
import {
|
|
15
15
|
Service52
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-hg87j33e.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service57
|
|
19
|
+
} from "./shell-6134wrt7.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service53,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-nvra0fyk.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shell-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service65,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shell-3abh18r5.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError9,
|
|
36
36
|
Service61
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./shell-qzhzzgth.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service22
|
|
40
|
+
} from "./shell-260cwht4.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./shell-ztzrhfw8.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./shell-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input11,
|
|
53
|
+
Plugin: () => Plugin47,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name11
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name11 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input11 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin47 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
121
|
+
const sessions = yield* Service22;
|
|
122
122
|
const jobs = yield* Service52;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
124
|
+
const environment = yield* Service63;
|
|
125
|
+
const access = yield* Service53;
|
|
126
126
|
const shell = yield* Service61;
|
|
127
|
-
const shellSelect = yield*
|
|
127
|
+
const shellSelect = yield* Service65;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service57;
|
|
130
|
+
const config = yield* Service71;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin28 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name11,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin28 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name11,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input11,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name11,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name11];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin47, exports_shell2 };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-53g2xa05.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-6134wrt7.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-pe5xq6m6.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-7p1faebm.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -2,23 +2,23 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-kx21j3gp.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
@@ -26,11 +26,11 @@ __export(exports_instruction_discovery, {
|
|
|
26
26
|
Event: () => Event10,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options5,
|
|
30
|
+
Service: () => Service48,
|
|
31
|
+
configured: () => configured6,
|
|
32
|
+
layer: () => layer19,
|
|
33
|
+
node: () => node51
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -45,14 +45,14 @@ var key = Key3.make("core/instructions");
|
|
|
45
45
|
var Event10 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service48 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -90,7 +90,7 @@ var layer21 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service48.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer21 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured6(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service48,
|
|
110
|
+
layer: layer19(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node51 = configured6();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2, Event10,
|
|
145
|
+
export { File2, Event10, Options5, Service48, layer19, configured6, node51, exports_instruction_discovery };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service10,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node12
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service10 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node12 = makeLocationNode({
|
|
19
|
+
service: Service10,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service10, Service10.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service10, node12, bound2, exports_instance2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-kx21j3gp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
Event2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-p7f48tpq.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service13;
|
|
33
33
|
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-3h4a5sy3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-3s7qr6kk.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-y844exjz.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./shell-m3tsgwa2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./shell-3abh18r5.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin14
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin14 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service71;
|
|
27
|
+
const shell = yield* Service65;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin46 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin14, exports_shell };
|