@opencode/core 0.0.0-dev-19711 → 0.0.0-dev-19712
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{worktree-t550f9t1.js → workspace-02nrjc1r.js} +8 -8
- package/dist/chunks/{worktree-kne8f3cn.js → workspace-06x8he3q.js} +4 -4
- package/dist/chunks/{worktree-k5jjawww.js → workspace-070h25cf.js} +4 -4
- package/dist/chunks/{worktree-0en0hh3r.js → workspace-0en0hh3r.js} +1 -1
- package/dist/chunks/{worktree-7k1xdcvp.js → workspace-0g5heksx.js} +17 -17
- package/dist/chunks/{worktree-67tsegz1.js → workspace-0m8nsvy9.js} +8 -8
- package/dist/chunks/{worktree-vpwtksfj.js → workspace-0n5xhwej.js} +21 -21
- package/dist/chunks/{worktree-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-0230e1kb.js → workspace-0wvc14eb.js} +7 -7
- package/dist/chunks/{worktree-2844r4n4.js → workspace-14cf3fnc.js} +9 -9
- package/dist/chunks/{worktree-4nep509d.js → workspace-15wnrfbn.js} +10 -10
- package/dist/chunks/{worktree-kdnytvmd.js → workspace-1d660grq.js} +4 -4
- package/dist/chunks/{worktree-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-h6zkevjm.js → workspace-1k3mj0p1.js} +8 -8
- package/dist/chunks/{worktree-h3jg7y6c.js → workspace-1mcxz0h7.js} +9 -9
- package/dist/chunks/{worktree-6xkw5tt3.js → workspace-1r92jezb.js} +8 -8
- package/dist/chunks/{worktree-rsss4qf7.js → workspace-1znvsqnm.js} +11 -11
- package/dist/chunks/{worktree-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-e70fzpwb.js → workspace-2ah6qvjc.js} +31 -31
- package/dist/chunks/{worktree-m3sr29v9.js → workspace-2dc5062z.js} +26 -26
- package/dist/chunks/{worktree-c8g19qcp.js → workspace-2dza1j1w.js} +27 -27
- package/dist/chunks/{worktree-rrdqyp65.js → workspace-2e42xx7p.js} +17 -17
- package/dist/chunks/{worktree-f8520a7c.js → workspace-2kt8pm2x.js} +9 -9
- package/dist/chunks/{worktree-cwa6csj7.js → workspace-2mq1h16s.js} +9 -9
- package/dist/chunks/{worktree-kkysd6gj.js → workspace-2qdm0n6q.js} +8 -8
- package/dist/chunks/{worktree-3z6f7pb8.js → workspace-2rbdxa0z.js} +30 -30
- package/dist/chunks/{worktree-hfqbnt06.js → workspace-2v8jpvwj.js} +25 -25
- package/dist/chunks/{worktree-qepg3hej.js → workspace-2yz7af4v.js} +19 -19
- package/dist/chunks/{worktree-gcp4fqq7.js → workspace-2zh1a5wq.js} +32 -32
- package/dist/chunks/{worktree-gr1f03ws.js → workspace-2zmfhp2c.js} +9 -9
- package/dist/chunks/{worktree-spnnfxkd.js → workspace-31p7sczw.js} +9 -9
- package/dist/chunks/{worktree-5df007sy.js → workspace-364vn791.js} +24 -24
- package/dist/chunks/{worktree-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-x1a42kg1.js → workspace-3h3k20v7.js} +12 -12
- package/dist/chunks/{worktree-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-npt9980d.js → workspace-3svq1avg.js} +20 -20
- package/dist/chunks/{worktree-knb7evpn.js → workspace-3tq5qxbk.js} +8 -8
- package/dist/chunks/{worktree-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-prvhm99j.js → workspace-3v699w7n.js} +20 -20
- package/dist/chunks/{worktree-cj605r6v.js → workspace-3wwm29st.js} +4 -4
- package/dist/chunks/{worktree-bthbky82.js → workspace-43gyje3p.js} +22 -22
- package/dist/chunks/{worktree-6s7tjjvr.js → workspace-45svxemn.js} +35 -35
- package/dist/chunks/{worktree-thjxzeng.js → workspace-4a0nv7mx.js} +8 -8
- package/dist/chunks/{worktree-34gxdjay.js → workspace-4mz2zdwc.js} +11 -11
- package/dist/chunks/{worktree-vdenjeyk.js → workspace-4n6r91ab.js} +10 -10
- package/dist/chunks/{worktree-kf58x7p8.js → workspace-4y89hhmv.js} +18 -18
- package/dist/chunks/{worktree-qj9fam2n.js → workspace-55f5rt6f.js} +13 -13
- package/dist/chunks/{worktree-drwq78ky.js → workspace-57b9ws8p.js} +5 -5
- package/dist/chunks/{worktree-57ez7d0k.js → workspace-57ez7d0k.js} +2 -2
- package/dist/chunks/{worktree-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-xm1e10md.js → workspace-5f90fjb2.js} +12 -12
- package/dist/chunks/{worktree-9jysh8tn.js → workspace-5g1v3qsj.js} +30 -30
- package/dist/chunks/{worktree-hx07tmjt.js → workspace-5h3g3jk3.js} +23 -23
- package/dist/chunks/{worktree-wvesw99d.js → workspace-5mqe3xfr.js} +4 -4
- package/dist/chunks/{worktree-4mg2myvn.js → workspace-5p5af7k1.js} +24 -24
- package/dist/chunks/{worktree-bfrw9c16.js → workspace-5pgkqyjt.js} +22 -22
- package/dist/chunks/{worktree-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-v057vym3.js → workspace-5xxye2p9.js} +35 -35
- package/dist/chunks/{worktree-43xg0xp9.js → workspace-5ytc8238.js} +3 -3
- package/dist/chunks/{worktree-0jwsre1p.js → workspace-607tc6va.js} +5 -5
- package/dist/chunks/{worktree-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{worktree-y69j51hy.js → workspace-67158q71.js} +13 -13
- package/dist/chunks/{worktree-ksztttm6.js → workspace-6914g88p.js} +4 -4
- package/dist/chunks/{worktree-6h73sxmp.js → workspace-6h73sxmp.js} +1 -1
- package/dist/chunks/{worktree-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-7sp2vdb0.js → workspace-6qeeyg7h.js} +10 -10
- package/dist/chunks/workspace-6tpa31mz.js +252 -0
- package/dist/chunks/{worktree-qc6a7nr8.js → workspace-6v2wypzw.js} +20 -20
- package/dist/chunks/{worktree-2018kd55.js → workspace-784vxkkx.js} +27 -27
- package/dist/chunks/{worktree-1010tx7k.js → workspace-7a5vsxyh.js} +7 -7
- package/dist/chunks/{worktree-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-9qzpdwkp.js → workspace-7c2hbp5a.js} +5 -5
- package/dist/chunks/{worktree-c0szj6gh.js → workspace-7d6njqxm.js} +8 -8
- package/dist/chunks/{worktree-0hpyxh65.js → workspace-7gxvsr6g.js} +20 -20
- package/dist/chunks/{worktree-hptad3cj.js → workspace-7hpp833z.js} +8 -8
- package/dist/chunks/{worktree-24afheyq.js → workspace-7q2jmvad.js} +61 -61
- package/dist/chunks/{worktree-91zq4d2j.js → workspace-7qat4nj7.js} +15 -15
- package/dist/chunks/{worktree-cbsmg7zv.js → workspace-7rbsm7e1.js} +9 -9
- package/dist/chunks/{worktree-zq6stcrg.js → workspace-7tpxex51.js} +8 -8
- package/dist/chunks/{worktree-sfswfqfx.js → workspace-82qyyjsz.js} +22 -22
- package/dist/chunks/{worktree-h55255v8.js → workspace-83y1wrms.js} +21 -21
- package/dist/chunks/{worktree-89znhe33.js → workspace-89znhe33.js} +1 -1
- package/dist/chunks/{worktree-rmdyxgmk.js → workspace-8aaqm6qj.js} +8 -8
- package/dist/chunks/{worktree-2zfaeqj9.js → workspace-8avk9g0x.js} +20 -20
- package/dist/chunks/{worktree-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-3zwsa50c.js → workspace-8kdf092n.js} +11 -11
- package/dist/chunks/{worktree-b7krtsvq.js → workspace-8kwg9t8a.js} +49 -49
- package/dist/chunks/{worktree-qnmg5nvf.js → workspace-8njx4hgd.js} +26 -26
- package/dist/chunks/{worktree-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
- package/dist/chunks/{worktree-cdea582g.js → workspace-8rxwgq24.js} +15 -15
- package/dist/chunks/{worktree-x1k3d8vr.js → workspace-8y1wr0s4.js} +5 -5
- package/dist/chunks/{worktree-v4881naz.js → workspace-8yh5cssx.js} +33 -33
- package/dist/chunks/{worktree-2ecm7k5x.js → workspace-9n3na3w3.js} +16 -16
- package/dist/chunks/workspace-9sh4wc5j.js +18 -0
- package/dist/chunks/{worktree-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
- package/dist/chunks/{worktree-6hk05hg4.js → workspace-a2p8e6yv.js} +56 -56
- package/dist/chunks/{worktree-f5jkzqkr.js → workspace-a2q56496.js} +5 -5
- package/dist/chunks/{worktree-0jq9fyba.js → workspace-a3ftg8j6.js} +9 -9
- package/dist/chunks/{worktree-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-9rqqtf5r.js → workspace-abmd04e3.js} +13 -13
- package/dist/chunks/{worktree-hhv32xm1.js → workspace-abmhzdjp.js} +12 -12
- package/dist/chunks/{worktree-av68cqnf.js → workspace-anabj4qm.js} +33 -33
- package/dist/chunks/{worktree-4zzvgtjt.js → workspace-aspy8tkd.js} +23 -23
- package/dist/chunks/{worktree-1mayy0ne.js → workspace-atxzwzv8.js} +11 -11
- package/dist/chunks/{worktree-c2r7a6ev.js → workspace-aw9te8tx.js} +22 -22
- package/dist/chunks/{worktree-5089mcsz.js → workspace-az8ma4bw.js} +20 -20
- package/dist/chunks/{worktree-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-md16tndp.js → workspace-bepbvaar.js} +5 -5
- package/dist/chunks/{worktree-zrhgkfkj.js → workspace-bga0vpdy.js} +44 -44
- package/dist/chunks/{worktree-grff790k.js → workspace-bs70j26f.js} +13 -13
- package/dist/chunks/{worktree-50mzsvk4.js → workspace-cavr175a.js} +4 -4
- package/dist/chunks/{worktree-2dbhpjrh.js → workspace-ce1w4ye0.js} +9 -9
- package/dist/chunks/{worktree-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
- package/dist/chunks/{worktree-4dgbcxzg.js → workspace-cpj0znwe.js} +4 -4
- package/dist/chunks/{worktree-e6hd9jay.js → workspace-cqg8v4c7.js} +6 -6
- package/dist/chunks/{worktree-ye6h68qm.js → workspace-cz6dvqaq.js} +15 -15
- package/dist/chunks/{worktree-qpz1kkwg.js → workspace-d8h2c2mg.js} +74 -74
- package/dist/chunks/{worktree-37s12vcn.js → workspace-dj9sq318.js} +5 -5
- package/dist/chunks/{worktree-7xmz7frw.js → workspace-dm1py9b3.js} +3 -3
- package/dist/chunks/{worktree-xbkhyrvs.js → workspace-e0059k45.js} +3 -3
- package/dist/chunks/{worktree-4ea00b8w.js → workspace-e0cdamqp.js} +19 -19
- package/dist/chunks/{worktree-bkdff2qy.js → workspace-e27kb02c.js} +12 -12
- package/dist/chunks/workspace-e34x0z4m.js +26 -0
- package/dist/chunks/{worktree-xtzqjyy0.js → workspace-e75t6m7m.js} +6 -6
- package/dist/chunks/{worktree-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-k3fznmea.js → workspace-ejeg4hfb.js} +17 -17
- package/dist/chunks/{worktree-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-58ymd9wj.js → workspace-ewxdb5ec.js} +11 -11
- package/dist/chunks/{worktree-2hn9d9f8.js → workspace-ezrmvp0h.js} +25 -25
- package/dist/chunks/{worktree-b01jnyv4.js → workspace-f49av6tv.js} +29 -29
- package/dist/chunks/{worktree-2hszhs49.js → workspace-f5pcmyht.js} +5 -5
- package/dist/chunks/{worktree-n68akk4h.js → workspace-f7ap9x8s.js} +6 -6
- package/dist/chunks/{worktree-f828m53h.js → workspace-f828m53h.js} +2 -2
- package/dist/chunks/{worktree-nbzsj80d.js → workspace-fad6j005.js} +8 -8
- package/dist/chunks/{worktree-1ezrspvn.js → workspace-fvatnzky.js} +23 -23
- package/dist/chunks/{worktree-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-bajakh74.js → workspace-fxqygnfa.js} +4 -4
- package/dist/chunks/{worktree-63czgv3m.js → workspace-g1rm5mqm.js} +26 -26
- package/dist/chunks/{worktree-90b858qz.js → workspace-g84cjvn9.js} +2 -2
- package/dist/chunks/{worktree-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-d380kj32.js → workspace-ghbw8nrm.js} +11 -11
- package/dist/chunks/{worktree-x7cagxvm.js → workspace-gmbmgzgz.js} +37 -37
- package/dist/chunks/{worktree-7de2s2df.js → workspace-gqyh02e0.js} +11 -11
- package/dist/chunks/{worktree-ad58ka5n.js → workspace-gv4qw5nk.js} +43 -43
- package/dist/chunks/{worktree-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-0y8zxexa.js → workspace-gyxj72yr.js} +6 -6
- package/dist/chunks/{worktree-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
- package/dist/chunks/{worktree-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-kh3vq3v6.js → workspace-hab99yty.js} +28 -28
- package/dist/chunks/{worktree-ezy28dwm.js → workspace-hf1pa3fg.js} +11 -11
- package/dist/chunks/{worktree-19w9qk9n.js → workspace-hqmr0w3b.js} +1 -1
- package/dist/chunks/{worktree-20djd28m.js → workspace-hs38nzf0.js} +24 -24
- package/dist/chunks/{worktree-38a6tnxe.js → workspace-hw0pyphf.js} +28 -28
- package/dist/chunks/{worktree-qsxf26yz.js → workspace-j5208yae.js} +6 -6
- package/dist/chunks/{worktree-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-170wnync.js → workspace-jas3gm5e.js} +9 -9
- package/dist/chunks/{worktree-fhs97t90.js → workspace-jjs74g98.js} +9 -9
- package/dist/chunks/{worktree-k3gnzxs0.js → workspace-jppvw2tx.js} +5 -5
- package/dist/chunks/{worktree-qn4ba14w.js → workspace-jv01nqvq.js} +5 -5
- package/dist/chunks/{worktree-pqkgg4rt.js → workspace-k2yp9qs6.js} +9 -9
- package/dist/chunks/{worktree-k3c624dm.js → workspace-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-rzs6nh5d.js → workspace-k80qa8mn.js} +21 -21
- package/dist/chunks/{worktree-xs2gg3ph.js → workspace-keyazff4.js} +17 -17
- package/dist/chunks/{worktree-efyxdhp4.js → workspace-kf9njbrh.js} +24 -24
- package/dist/chunks/{worktree-w59x44tx.js → workspace-kgrkrx7v.js} +13 -13
- package/dist/chunks/{worktree-f2497b3s.js → workspace-kkjsk8e7.js} +25 -25
- package/dist/chunks/{worktree-2t4v8nsv.js → workspace-km90xjj6.js} +183 -183
- package/dist/chunks/{worktree-3rcc0r2v.js → workspace-kxpywdsa.js} +44 -44
- package/dist/chunks/{worktree-yrb04hz8.js → workspace-kxynz1ng.js} +20 -20
- package/dist/chunks/{worktree-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-n1se7dz6.js → workspace-m8gayzza.js} +5 -5
- package/dist/chunks/{worktree-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-p8ghq9hh.js → workspace-mdf4a9kz.js} +4 -4
- package/dist/chunks/{worktree-mfqp6xfm.js → workspace-mfqp6xfm.js} +2 -2
- package/dist/chunks/{worktree-n2rqx0tz.js → workspace-mh5wyt4r.js} +11 -11
- package/dist/chunks/{worktree-tmmgzrnt.js → workspace-msdd669r.js} +19 -19
- package/dist/chunks/{worktree-mhkvc446.js → workspace-mvfsc1pv.js} +3 -3
- package/dist/chunks/{worktree-d5wtg2df.js → workspace-mvwxevy0.js} +6 -6
- package/dist/chunks/{worktree-s0443v51.js → workspace-n65c7js6.js} +36 -36
- package/dist/chunks/{worktree-h82mr5fe.js → workspace-n6g1ey08.js} +94 -94
- package/dist/chunks/{worktree-7k3pveqf.js → workspace-n8cj6j4g.js} +10 -10
- package/dist/chunks/{worktree-4kb8nfbq.js → workspace-n93hngsq.js} +20 -20
- package/dist/chunks/{worktree-rnx68x6k.js → workspace-nfhdg2sc.js} +4 -4
- package/dist/chunks/{worktree-caaa7gb9.js → workspace-nv5c50a2.js} +13 -13
- package/dist/chunks/{worktree-zjd7s1bk.js → workspace-nwkmrxqa.js} +15 -15
- package/dist/chunks/{worktree-afnx0wnx.js → workspace-nxz4hexq.js} +47 -47
- package/dist/chunks/{worktree-p37cw4rj.js → workspace-p42hj8p8.js} +8 -8
- package/dist/chunks/{worktree-eaerxtz5.js → workspace-p4776vvd.js} +2 -2
- package/dist/chunks/{worktree-g9b0yvmz.js → workspace-pb8ac6tt.js} +14 -14
- package/dist/chunks/{worktree-mc9zg8nb.js → workspace-pjpcywhx.js} +19 -19
- package/dist/chunks/{worktree-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-17996mr8.js → workspace-pkt9pf4t.js} +45 -45
- package/dist/chunks/{worktree-x5sjtarf.js → workspace-pnh9m502.js} +19 -19
- package/dist/chunks/{worktree-t05795gg.js → workspace-q1ktvany.js} +20 -20
- package/dist/chunks/{worktree-x5cfpxw5.js → workspace-q1rhxq0z.js} +42 -42
- package/dist/chunks/{worktree-d6z8az9q.js → workspace-q8sgk7j7.js} +13 -13
- package/dist/chunks/{worktree-caf4s13y.js → workspace-qdyw34ax.js} +6 -6
- package/dist/chunks/{worktree-mjryszr1.js → workspace-qgrbwkje.js} +34 -34
- package/dist/chunks/{worktree-3z1ybf3s.js → workspace-qhbx089k.js} +10 -10
- package/dist/chunks/{worktree-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-7h1yv2z1.js → workspace-qwtbnqst.js} +32 -32
- package/dist/chunks/{worktree-ej2x38fw.js → workspace-qzb1h3va.js} +16 -16
- package/dist/chunks/{worktree-wr7ps67x.js → workspace-r4yqrmdq.js} +5 -5
- package/dist/chunks/{worktree-7sbkp4xb.js → workspace-ratrq7cm.js} +4 -4
- package/dist/chunks/{worktree-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-mpm0nhxe.js → workspace-rehwyskh.js} +1 -1
- package/dist/chunks/{worktree-bfh368mz.js → workspace-rxw762xc.js} +25 -25
- package/dist/chunks/{worktree-qa8hdfea.js → workspace-rxwv643q.js} +8 -8
- package/dist/chunks/{worktree-7j92jdde.js → workspace-s0hza5ac.js} +4 -4
- package/dist/chunks/{worktree-xn2m3856.js → workspace-s111zjc4.js} +5 -5
- package/dist/chunks/{worktree-83dcqrsd.js → workspace-s3mnyrbp.js} +28 -28
- package/dist/chunks/{worktree-sq6g32t3.js → workspace-s59jct75.js} +3 -3
- package/dist/chunks/{worktree-dnepjbkk.js → workspace-s7d4mcxb.js} +17 -17
- package/dist/chunks/{worktree-65h9d7h0.js → workspace-schwyem7.js} +14 -14
- package/dist/chunks/{worktree-mq9b79x9.js → workspace-sp7zepf2.js} +8 -8
- package/dist/chunks/{worktree-phcx6ke7.js → workspace-ssb81s63.js} +26 -26
- package/dist/chunks/{worktree-dnkx6etr.js → workspace-strbydbj.js} +36 -36
- package/dist/chunks/{worktree-xcgm0ws5.js → workspace-svn6bqj8.js} +14 -14
- package/dist/chunks/{worktree-r1zfwvff.js → workspace-sxy19tb0.js} +20 -20
- package/dist/chunks/{worktree-hwe7x4em.js → workspace-sxzvkvgj.js} +6 -6
- package/dist/chunks/{worktree-8zjetqqg.js → workspace-sz6xpjfh.js} +24 -24
- package/dist/chunks/{worktree-7tg4tqbg.js → workspace-t03xfk5d.js} +6 -6
- package/dist/chunks/{worktree-q8y36nbv.js → workspace-t32902ds.js} +32 -32
- package/dist/chunks/{worktree-3v1n839j.js → workspace-t4m3fhjr.js} +27 -27
- package/dist/chunks/{worktree-q980a1ys.js → workspace-t8vry4vd.js} +17 -17
- package/dist/chunks/{worktree-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-ta5sp2nd.js → workspace-tsg4fdf4.js} +12 -12
- package/dist/chunks/{worktree-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-hyp0yes1.js → workspace-tvv0avb7.js} +25 -25
- package/dist/chunks/{worktree-1t3e0y0p.js → workspace-vctwf4mg.js} +26 -26
- package/dist/chunks/{worktree-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-rq8k8p5a.js → workspace-vhmsv5f2.js} +22 -22
- package/dist/chunks/{worktree-81czwxpn.js → workspace-vj81g6vn.js} +4 -4
- package/dist/chunks/{worktree-0v53mg2y.js → workspace-vncycja5.js} +4 -4
- package/dist/chunks/{worktree-hrmdcqyf.js → workspace-vs9zw531.js} +17 -17
- package/dist/chunks/{worktree-rtw8xa1t.js → workspace-vxrq6xqk.js} +1 -1
- package/dist/chunks/{worktree-e11m5cn3.js → workspace-vyq4cd8m.js} +35 -35
- package/dist/chunks/{worktree-e5kbttzp.js → workspace-vys1b9hh.js} +18 -18
- package/dist/chunks/{worktree-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-ebqt6dkv.js → workspace-w1ym5bz3.js} +97 -97
- package/dist/chunks/{worktree-xwyqxccg.js → workspace-w2yh7emw.js} +46 -46
- package/dist/chunks/{worktree-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-8g6scpm2.js → workspace-w7nphhe6.js} +3 -3
- package/dist/chunks/{worktree-qg87rn1s.js → workspace-wb87t0xn.js} +11 -11
- package/dist/chunks/{worktree-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-py26wd2m.js → workspace-wh42m2fm.js} +11 -11
- package/dist/chunks/{worktree-zpqb3spp.js → workspace-wh4msmjz.js} +3 -3
- package/dist/chunks/{worktree-svt8q2xz.js → workspace-wk16t4w5.js} +42 -42
- package/dist/chunks/{worktree-xrv44ghv.js → workspace-wwzs2tx9.js} +10 -10
- package/dist/chunks/{worktree-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-4t2g0ek8.js → workspace-x2mza7yn.js} +42 -42
- package/dist/chunks/{worktree-kwpf6cbb.js → workspace-xdmdpdp3.js} +19 -19
- package/dist/chunks/{worktree-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-0xm04epx.js → workspace-y1tbpqn7.js} +32 -32
- package/dist/chunks/{worktree-vbcd8shf.js → workspace-y6bk66mf.js} +5 -5
- package/dist/chunks/{worktree-z0aj456m.js → workspace-y6mhz57t.js} +4 -4
- package/dist/chunks/{worktree-y71avatq.js → workspace-y71avatq.js} +1 -1
- package/dist/chunks/{worktree-qk0gpxf2.js → workspace-y8p3zjbc.js} +6 -6
- package/dist/chunks/{worktree-0npqrrz9.js → workspace-yebk0wcz.js} +3 -3
- package/dist/chunks/{worktree-g3happs1.js → workspace-yjeheqpk.js} +305 -305
- package/dist/chunks/{worktree-yp2x3t23.js → workspace-yp2x3t23.js} +1 -1
- package/dist/chunks/{worktree-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-af04s6ss.js → workspace-yt0fqk68.js} +5 -5
- package/dist/chunks/{worktree-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-vdrskp9d.js → workspace-z3g3b9h9.js} +18 -18
- package/dist/chunks/{worktree-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-tmqffpxk.js → workspace-zevtesy5.js} +42 -42
- package/dist/chunks/{worktree-kf7vjh8k.js → workspace-zgh6wq4w.js} +27 -27
- package/dist/chunks/{worktree-efswfzpf.js → workspace-zqthbwvw.js} +23 -23
- package/dist/chunks/{worktree-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-d7ehg0cy.js → workspace-zv3r6m93.js} +11 -11
- package/dist/chunks/{worktree-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/chunks/{worktree-5za9a44f.js → workspace-zzqe82vy.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- 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 +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- 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 +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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.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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +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 +73 -73
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +98 -98
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 +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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- 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 +354 -354
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- 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 +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- 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 +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- 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 +328 -328
- 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 +92 -92
- 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 +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- 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 +89 -89
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- 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 +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- 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 +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +7 -7
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- 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 +1 -1
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +113 -113
- 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 +16 -16
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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 +3 -3
- 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 +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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/worktree-9pb540j7.js +0 -26
- package/dist/chunks/worktree-gyce5qg1.js +0 -18
- package/dist/chunks/worktree-rhs8pca3.js +0 -252
- /package/dist/chunks/{worktree-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6r3amyyd.js → workspace-6r3amyyd.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./workspace-9n3na3w3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./workspace-67158q71.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service32,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-9sh4wc5j.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-km90xjj6.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event2,
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service32,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node17
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service82;
|
|
45
|
+
const kv = yield* Service76;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service32.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node17 = Node.makeLocationNode({
|
|
226
|
+
service: Service32,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node17, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-5xxye2p9.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-2ah6qvjc.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-02nrjc1r.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-a2p8e6yv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service35,
|
|
13
|
+
node38
|
|
14
|
+
} from "./workspace-pkt9pf4t.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
17
|
name14
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-g1rm5mqm.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
24
|
+
var exports_instructions4 = {};
|
|
25
|
+
__export(exports_instructions4, {
|
|
26
|
+
McpInstructions: () => exports_instructions4,
|
|
27
|
+
Service: () => Service33,
|
|
28
28
|
layer: () => layer12,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,17 +62,17 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service33 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var layer12 = Layer.effect(
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer12 = Layer.effect(Service33, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service35;
|
|
69
|
+
return Service33.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
75
|
-
key:
|
|
74
|
+
const source = (value) => make20({
|
|
75
|
+
key: Key4.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
78
78
|
render: {
|
|
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node36 = makeLocationNode({ service: Service33, layer: layer12, deps: [node38] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service33, layer12, node36, exports_instructions4 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./workspace-pb8ac6tt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service74
|
|
12
|
+
} from "./workspace-sz6xpjfh.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service73
|
|
16
|
+
} from "./workspace-4y89hhmv.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry4,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-s3mnyrbp.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service64
|
|
26
|
+
} from "./workspace-a2p8e6yv.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service14
|
|
29
|
+
} from "./workspace-vys1b9hh.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./workspace-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin43,
|
|
41
|
+
name: () => name11,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name11 = "grep";
|
|
48
|
+
var Input11 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input4 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin43 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service74;
|
|
90
|
+
const ripgrep = yield* Service73;
|
|
91
|
+
const location = yield* Service79;
|
|
92
|
+
const access = yield* Service14;
|
|
93
|
+
const permission = yield* Service64;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name11,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input11,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name11,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin37 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin37 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name11, Input11, Output7, toModelContent5, Plugin43, exports_grep };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service68,
|
|
10
|
+
node: () => node71
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service68 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service68.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node71 = makeLocationNode({ service: Service68, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service68, node71, exports_hooks };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service49
|
|
4
|
+
} from "./workspace-w2yh7emw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./workspace-e27kb02c.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin10
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin10 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service49;
|
|
27
|
+
const output = yield* Service51;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin3 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin10, exports_tool_output };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./workspace-w2yh7emw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service35
|
|
6
|
+
} from "./workspace-pkt9pf4t.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin16,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin16 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service49;
|
|
28
|
+
const mcp = yield* Service35;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin16, register2, exports_mcp };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node77
|
|
9
|
+
} from "./workspace-sz6xpjfh.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service73,
|
|
24
|
+
node: () => node76
|
|
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 Error4 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 Service73 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service74;
|
|
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(Service63, 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 Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service73.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node76 = makeLocationNode({ service: Service73, layer, deps: [node77, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service73, node76, exports_ripgrep };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service58,
|
|
3
|
+
node60,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-jas3gm5e.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service42,
|
|
8
|
+
node44
|
|
9
|
+
} from "./workspace-sxzvkvgj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service22
|
|
12
|
+
} from "./workspace-2rbdxa0z.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-6tpa31mz.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service58, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service22);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node44.replace(Layer.succeed(Service42, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node60.replace(Layer.succeed(Service58, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
9
|
make: () => make14,
|
|
10
|
-
render: () =>
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
32
|
function make14(tools) {
|
|
33
|
-
return
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export { make14,
|
|
50
|
+
export { make14, render2, exports_system_prompt };
|