@opencode/core 0.0.0-dev-20203 → 0.0.0-dev-20207
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-services-fwf02z8y.js → skill-017yk54a.js} +25 -25
- package/dist/chunks/{location-services-0gz88f7v.js → skill-01z3gtar.js} +20 -20
- package/dist/chunks/{location-services-5y305m15.js → skill-0269zm6b.js} +33 -33
- package/dist/chunks/{location-services-j7axrqd8.js → skill-02chabd3.js} +29 -29
- package/dist/chunks/{location-services-z8ay4g4r.js → skill-05cj7vxy.js} +32 -32
- package/dist/chunks/{location-services-2s51ny8k.js → skill-06at7z01.js} +3 -3
- package/dist/chunks/{location-services-38j7x2hc.js → skill-06gm914g.js} +44 -44
- package/dist/chunks/{location-services-avm8jn6n.js → skill-0f9afca0.js} +5 -5
- package/dist/chunks/{location-services-h56wjgp5.js → skill-0fab615q.js} +45 -45
- package/dist/chunks/{location-services-5w8x6yjj.js → skill-0fexsbzd.js} +8 -8
- package/dist/chunks/{location-services-5e1npf9a.js → skill-0mc464d2.js} +49 -49
- package/dist/chunks/skill-0mesazry.js +4 -0
- package/dist/chunks/{location-services-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-s4bzt415.js → skill-0vxz8yyr.js} +10 -10
- package/dist/chunks/{location-services-bt483pgf.js → skill-0ws3f0ex.js} +5 -5
- package/dist/chunks/{location-services-jvnghvnw.js → skill-166kng33.js} +8 -8
- package/dist/chunks/{location-services-1hbenywt.js → skill-17jhsav0.js} +6 -6
- package/dist/chunks/{location-services-h9mky73t.js → skill-1813d5zh.js} +13 -13
- package/dist/chunks/{location-services-yp2x3t23.js → skill-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-services-q9hdtabh.js → skill-1ccd6b10.js} +22 -22
- package/dist/chunks/{location-services-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-t6tst13s.js → skill-1f0c6jnf.js} +10 -10
- package/dist/chunks/{location-services-h20z1ya9.js → skill-1hx0cpq7.js} +9 -9
- package/dist/chunks/{location-services-903nybc4.js → skill-1qdsjxzy.js} +18 -18
- package/dist/chunks/{location-services-jm8m12cd.js → skill-1tx4fn90.js} +30 -30
- package/dist/chunks/{location-services-9fbzm6a9.js → skill-1vy1vbr0.js} +8 -8
- package/dist/chunks/{location-services-jqwafpw4.js → skill-1xh3c5c6.js} +23 -23
- package/dist/chunks/{location-services-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-6v2f9cm4.js → skill-29etqs2x.js} +14 -14
- package/dist/chunks/{location-services-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-ba07h9gm.js → skill-2f04pwep.js} +3 -3
- package/dist/chunks/{location-services-qgn6gcr1.js → skill-2k8khapm.js} +5 -5
- package/dist/chunks/{location-services-bw6qjwge.js → skill-2yza5ybg.js} +17 -17
- package/dist/chunks/{location-services-tj0fs0r1.js → skill-31a1n326.js} +13 -13
- package/dist/chunks/{location-services-fej70bpn.js → skill-3409w901.js} +22 -22
- package/dist/chunks/{location-services-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-y0zn2255.js → skill-3q06wn7v.js} +33 -33
- package/dist/chunks/{location-services-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-services-y3eexsj3.js → skill-426gc0d9.js} +12 -12
- package/dist/chunks/{location-services-8rxxwv2n.js → skill-4d3460jv.js} +11 -11
- package/dist/chunks/{location-services-8xd21chy.js → skill-4k0xqdp1.js} +11 -11
- package/dist/chunks/{location-services-xedyykk9.js → skill-4qxv2j2v.js} +20 -20
- package/dist/chunks/{location-services-pq983g12.js → skill-4sg7xgp3.js} +19 -19
- package/dist/chunks/{location-services-hmay1t1j.js → skill-4stjezst.js} +29 -29
- package/dist/chunks/{location-services-c20khjev.js → skill-50mzsvk4.js} +21 -21
- package/dist/chunks/{location-services-5jdch5sh.js → skill-51hvrym2.js} +19 -19
- package/dist/chunks/{location-services-1ygqh575.js → skill-56gdpj1q.js} +9 -9
- package/dist/chunks/{location-services-qfgcszr2.js → skill-59m5ry2k.js} +11 -11
- package/dist/chunks/{location-services-5pezwg1d.js → skill-59zk85bq.js} +37 -37
- package/dist/chunks/{location-services-129hjeyj.js → skill-5b3a1c7c.js} +35 -35
- package/dist/chunks/{location-services-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-c8y3sydt.js → skill-5mca9tyb.js} +43 -43
- package/dist/chunks/{location-services-e3qxr5gk.js → skill-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-services-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-dhtjyx18.js → skill-5y2jknye.js} +16 -16
- package/dist/chunks/{location-services-wfg70ajk.js → skill-61xtdpx5.js} +5 -5
- package/dist/chunks/{location-services-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{location-services-ey7mvkmc.js → skill-682qh0zd.js} +1 -1
- package/dist/chunks/{location-services-mwwxnxty.js → skill-697fm79x.js} +4 -4
- package/dist/chunks/{location-services-n7mjttc7.js → skill-6c7knq90.js} +9 -9
- package/dist/chunks/{location-services-mv9w5stb.js → skill-6fchhapm.js} +95 -95
- package/dist/chunks/{location-services-6h73sxmp.js → skill-6h73sxmp.js} +1 -1
- package/dist/chunks/{location-services-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-pttdfhpz.js → skill-6tb6gx4y.js} +14 -14
- package/dist/chunks/{location-services-ph6sxt2m.js → skill-6typ8tap.js} +52 -52
- package/dist/chunks/{location-services-bz7ff98x.js → skill-6way0tbt.js} +8 -8
- package/dist/chunks/{location-services-d1nz6qw9.js → skill-6yvz6ne1.js} +19 -19
- package/dist/chunks/{location-services-s0kg6ey3.js → skill-7457xe47.js} +13 -13
- package/dist/chunks/{location-services-vzc886ch.js → skill-77djfn49.js} +35 -35
- package/dist/chunks/{location-services-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-7ndtgxtc.js → skill-7radtp4w.js} +12 -12
- package/dist/chunks/{location-services-0gf2cy4k.js → skill-7rx9zbjq.js} +7 -7
- package/dist/chunks/{location-services-tnjf10ex.js → skill-7tyk29va.js} +179 -179
- package/dist/chunks/{location-services-2c48prkg.js → skill-7vegjyzg.js} +43 -43
- package/dist/chunks/{location-services-sdvc1rg6.js → skill-7w1x3s5v.js} +15 -15
- package/dist/chunks/{location-services-0fgcbzg9.js → skill-7y51vbvs.js} +32 -32
- package/dist/chunks/{location-services-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-dajjmxcf.js → skill-8ehyresh.js} +15 -15
- package/dist/chunks/{location-services-1tqghxe1.js → skill-8g3f09g0.js} +3 -3
- package/dist/chunks/{location-services-1pfd5r9f.js → skill-8w9z9ekh.js} +9 -9
- package/dist/chunks/{location-services-1w8sqpqb.js → skill-8x14mnk0.js} +15 -15
- package/dist/chunks/{location-services-gfvb90ym.js → skill-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-services-85sxd0h8.js → skill-9etfnzw3.js} +3 -3
- package/dist/chunks/{location-services-mrvjcs5x.js → skill-9gea571p.js} +6 -6
- package/dist/chunks/{location-services-20x4t0fx.js → skill-9j6qf2nz.js} +25 -25
- package/dist/chunks/{location-services-dyv6jqgc.js → skill-9kv9xk3y.js} +23 -23
- package/dist/chunks/{location-services-bcnfbw3r.js → skill-9pwrs4hy.js} +26 -26
- package/dist/chunks/{location-services-wfe10mpm.js → skill-9rqa1z1z.js} +10 -10
- package/dist/chunks/{location-services-ns8v16m0.js → skill-9swwndym.js} +22 -22
- package/dist/chunks/{location-services-cvjyqy8b.js → skill-9vm3jkw2.js} +17 -17
- package/dist/chunks/{location-services-wk5z6jzv.js → skill-a3ftg8j6.js} +9 -9
- package/dist/chunks/{location-services-hxx0ygc8.js → skill-a519c5k9.js} +16 -16
- package/dist/chunks/{location-services-mntr9wjt.js → skill-a6s71k6e.js} +30 -30
- package/dist/chunks/{location-services-1rn5pcm9.js → skill-a81kfqvn.js} +4 -4
- package/dist/chunks/{location-services-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-h9m1c2w5.js → skill-abmzmmfq.js} +51 -33
- package/dist/chunks/{location-services-f62qkzqr.js → skill-axs6pdy0.js} +5 -5
- package/dist/chunks/{location-services-kwhnaq83.js → skill-azfsw3sd.js} +37 -37
- package/dist/chunks/{location-services-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-fqg394v6.js → skill-b6vqt057.js} +22 -22
- package/dist/chunks/{location-services-zv2tdc3m.js → skill-b6xv7ymq.js} +32 -32
- package/dist/chunks/{location-services-tx7d86r5.js → skill-b7camypd.js} +28 -28
- package/dist/chunks/{location-services-bf0ztrs3.js → skill-bct739vz.js} +4 -4
- package/dist/chunks/{location-services-q34hn4m8.js → skill-bqe2w88k.js} +29 -29
- package/dist/chunks/{location-services-yy7hf67g.js → skill-c9z0jmrs.js} +13 -13
- package/dist/chunks/{location-services-jfb30j9d.js → skill-caxwz85h.js} +1 -1
- package/dist/chunks/{location-services-evd3jqhg.js → skill-cjft4ft8.js} +6 -6
- package/dist/chunks/{location-services-dbtc50z0.js → skill-ck69dtv7.js} +4 -4
- package/dist/chunks/{location-services-54tcyq79.js → skill-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-services-5xtgfte3.js → skill-cmwkp3r5.js} +8 -8
- package/dist/chunks/{location-services-0w62qmxp.js → skill-cr9wy6w1.js} +6 -6
- package/dist/chunks/skill-ctefx7dc.js +18 -0
- package/dist/chunks/{location-services-cwa6csj7.js → skill-cwa6csj7.js} +2 -2
- package/dist/chunks/{location-services-c1pmqqvm.js → skill-d0k4a5wc.js} +4 -4
- package/dist/chunks/{location-services-8s7zrxf3.js → skill-dc99c8rr.js} +28 -28
- package/dist/chunks/{location-services-d9wzmzc3.js → skill-dfzjqex4.js} +5 -5
- package/dist/chunks/{location-services-d1kmb1kz.js → skill-dytb7912.js} +6 -6
- package/dist/chunks/{location-services-ag4rn41e.js → skill-e2hjzebn.js} +4 -4
- package/dist/chunks/{location-services-vh5rvw9s.js → skill-e82fcy7k.js} +9 -9
- package/dist/chunks/{location-services-t550f9t1.js → skill-eaj1djv9.js} +8 -8
- package/dist/chunks/{location-services-ecfe7b91.js → skill-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-services-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-tqqd1wey.js → skill-eppx78dg.js} +19 -19
- package/dist/chunks/{location-services-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-4p9aey09.js → skill-ewts7vfk.js} +10 -10
- package/dist/chunks/{location-services-h0rgcqpm.js → skill-ezs5xvvw.js} +9 -9
- package/dist/chunks/{location-services-xs0sd5xy.js → skill-f0ftzx98.js} +9 -9
- package/dist/chunks/{location-services-94mr9t66.js → skill-f0q3zgp7.js} +3 -3
- package/dist/chunks/{location-services-e7173haz.js → skill-f3yz1pkd.js} +22 -22
- package/dist/chunks/{location-services-xjvaav3g.js → skill-fjpgqswp.js} +11 -11
- package/dist/chunks/{location-services-by36gnm3.js → skill-fk3mqgzt.js} +4 -4
- package/dist/chunks/{location-services-4tdje3y4.js → skill-fkd5x55y.js} +8 -8
- package/dist/chunks/{location-services-rp8jz6x1.js → skill-fng9e0je.js} +4 -4
- package/dist/chunks/{location-services-wqgv35h5.js → skill-fnrzj9xf.js} +33 -33
- package/dist/chunks/{location-services-ytp36fc8.js → skill-g0ez42gr.js} +11 -11
- package/dist/chunks/{location-services-b3za54ys.js → skill-g16crsyf.js} +6 -6
- package/dist/chunks/{location-services-njfyzs8z.js → skill-g7ec6ga3.js} +18 -18
- package/dist/chunks/{location-services-a2ew8a62.js → skill-g8d3gcyj.js} +7 -7
- package/dist/chunks/{location-services-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-xx97hvw2.js → skill-gek21znr.js} +28 -28
- package/dist/chunks/{location-services-xp3fh2h7.js → skill-gg3hnhsj.js} +1 -1
- package/dist/chunks/{location-services-vgacam68.js → skill-gh9bh3wc.js} +16 -16
- package/dist/chunks/{location-services-3j6aw61a.js → skill-ghdz8829.js} +32 -32
- package/dist/chunks/{location-services-kbhmzeq3.js → skill-gm7y8p7g.js} +10 -10
- package/dist/chunks/{location-services-ww3yq57e.js → skill-gqqc8zrm.js} +16 -16
- package/dist/chunks/{location-services-gv6a8nnw.js → skill-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-n2cd4sc1.js → skill-h5c0n38e.js} +3 -3
- package/dist/chunks/{location-services-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-wqtjegkd.js → skill-h7k36nvq.js} +24 -24
- package/dist/chunks/{location-services-p1spfnmp.js → skill-h7mdrc48.js} +32 -32
- package/dist/chunks/{location-services-pe5ggv3d.js → skill-hgtvnj1q.js} +28 -28
- package/dist/chunks/{location-services-930n0wtx.js → skill-hmmnbmcs.js} +37 -37
- package/dist/chunks/{location-services-f3wv10y1.js → skill-hpq22ygf.js} +12 -12
- package/dist/chunks/{location-services-sxz61evh.js → skill-hwpx9scr.js} +17 -17
- package/dist/chunks/{location-services-2wveq407.js → skill-hyax2rhp.js} +37 -37
- package/dist/chunks/{location-services-rf1x1me2.js → skill-j17kqcvt.js} +5 -5
- package/dist/chunks/{location-services-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-3w9hmcr6.js → skill-j63yb23q.js} +4 -4
- package/dist/chunks/{location-services-7p2zmt5w.js → skill-jcjbvb4p.js} +3 -3
- package/dist/chunks/{location-services-ph842b28.js → skill-jewzahs7.js} +4 -4
- package/dist/chunks/{location-services-shgcqddn.js → skill-jn0q4s4g.js} +13 -13
- package/dist/chunks/{location-services-ywv187z9.js → skill-jsvb6vsn.js} +12 -12
- package/dist/chunks/{location-services-7n2xhmm7.js → skill-jz5sxy2v.js} +6 -6
- package/dist/chunks/{location-services-gap9hmaf.js → skill-k1m56zwf.js} +53 -39
- package/dist/chunks/{location-services-k3c624dm.js → skill-k3c624dm.js} +3 -3
- package/dist/chunks/{location-services-e9xwgjwy.js → skill-kbs8t6dd.js} +5 -5
- package/dist/chunks/{location-services-ndwv7bs8.js → skill-kpr1h2gp.js} +17 -17
- package/dist/chunks/{location-services-qzyph8ek.js → skill-kxh1rwc9.js} +10 -10
- package/dist/chunks/{location-services-qg0jgkcp.js → skill-m2d0j7c0.js} +9 -9
- package/dist/chunks/{location-services-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-faxt9yky.js → skill-mbkr92z7.js} +11 -11
- package/dist/chunks/{location-services-xzhjr7c3.js → skill-mcqskrh7.js} +25 -25
- package/dist/chunks/{location-services-b5y4wceh.js → skill-mmwjtbs1.js} +27 -27
- package/dist/chunks/{location-services-73tb2d7t.js → skill-mvfsc1pv.js} +3 -3
- package/dist/chunks/{location-services-mz18n95x.js → skill-nsp0n9r4.js} +27 -20
- package/dist/chunks/{location-services-a7cgx6bn.js → skill-nvm1k45k.js} +20 -20
- package/dist/chunks/{location-services-dyf86r4x.js → skill-nzeq2kax.js} +37 -37
- package/dist/chunks/{location-services-2ynhemhj.js → skill-p7n5kfv3.js} +11 -11
- package/dist/chunks/{location-services-bf54q0vn.js → skill-pbpayjvj.js} +42 -42
- package/dist/chunks/{location-services-7m38xmwt.js → skill-pc537r84.js} +11 -11
- package/dist/chunks/{location-services-g3y93bdq.js → skill-pc9bj7n8.js} +22 -22
- package/dist/chunks/{location-services-81swgkk7.js → skill-pjmw00w1.js} +5 -5
- package/dist/chunks/{location-services-bt39fvn6.js → skill-pjtj674s.js} +5 -5
- package/dist/chunks/{location-services-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-bxnwhgcr.js → skill-pmpj9d72.js} +27 -27
- package/dist/chunks/skill-ps9w8v57.js +507 -0
- package/dist/chunks/{location-services-4h4hnnes.js → skill-ptjakhga.js} +90 -90
- package/dist/chunks/{location-services-g97k7hqe.js → skill-pw2348z2.js} +6 -6
- package/dist/chunks/{location-services-6pc27hjz.js → skill-py3kkmfq.js} +6 -6
- package/dist/chunks/{location-services-ggp883ka.js → skill-q4q6dg6e.js} +9 -9
- package/dist/chunks/{location-services-ms93yq6r.js → skill-qe26s0zb.js} +8 -8
- package/dist/chunks/{location-services-728seb0w.js → skill-qf1yvww3.js} +21 -21
- package/dist/chunks/{location-services-p1nm93x7.js → skill-qjnxxf51.js} +5 -5
- package/dist/chunks/{location-services-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-fg90r6cn.js → skill-qsmm5je1.js} +14 -14
- package/dist/chunks/{location-services-42rf9s8q.js → skill-qtzk0ftm.js} +22 -22
- package/dist/chunks/{location-services-mmtg5wy2.js → skill-qv31cf21.js} +30 -30
- package/dist/chunks/{location-services-jdvpg0be.js → skill-qw2ypprn.js} +36 -36
- package/dist/chunks/{location-services-rs47j036.js → skill-r2stchgs.js} +24 -19
- package/dist/chunks/{location-services-xtsf53gz.js → skill-r4xhx5yy.js} +12 -12
- package/dist/chunks/{location-services-4dgbcxzg.js → skill-r55vasa2.js} +4 -4
- package/dist/chunks/{location-services-kn6v00wg.js → skill-r64yrxvz.js} +20 -20
- package/dist/chunks/{location-services-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-zy883y1h.js → skill-rec3tk6b.js} +41 -41
- package/dist/chunks/{location-services-0zdhcxq1.js → skill-rkred95m.js} +2 -2
- package/dist/chunks/{location-services-dy7h2h1w.js → skill-rp28jgm9.js} +4 -4
- package/dist/chunks/{location-services-yy3gmdz3.js → skill-rtathh62.js} +8 -8
- package/dist/chunks/skill-s4kxdk1d.js +252 -0
- package/dist/chunks/{location-services-cmkj70ft.js → skill-s8610hey.js} +2 -2
- package/dist/chunks/{location-services-44k2838g.js → skill-s89t6pqr.js} +25 -25
- package/dist/chunks/{location-services-ab0n33ds.js → skill-sfrtav9q.js} +22 -22
- package/dist/chunks/{location-services-m12cyjmp.js → skill-szgrrejf.js} +15 -15
- package/dist/chunks/{location-services-z3pw5915.js → skill-t0fxg8b9.js} +5 -5
- package/dist/chunks/{location-services-t8rew5kn.js → skill-t407ycn8.js} +18 -18
- package/dist/chunks/{location-services-dgs4c22x.js → skill-t538pfqr.js} +48 -48
- package/dist/chunks/skill-t5tbcprn.js +26 -0
- package/dist/chunks/{location-services-6hg3r82e.js → skill-tas7yqhd.js} +11 -11
- package/dist/chunks/{location-services-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-89znhe33.js → skill-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-services-ze2qnn7n.js → skill-tdp00414.js} +5 -5
- package/dist/chunks/{location-services-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-an3y63gz.js → skill-tdyr00jb.js} +13 -13
- package/dist/chunks/{location-services-3664e2vt.js → skill-tgak7z6d.js} +11 -11
- package/dist/chunks/{location-services-kbcbk3rc.js → skill-tr58fzqp.js} +26 -26
- package/dist/chunks/{location-services-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-6kbr84ay.js → skill-v3sc2vvt.js} +7 -7
- package/dist/chunks/{location-services-g4r1rkq7.js → skill-ve9yaw7k.js} +19 -19
- package/dist/chunks/{location-services-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-4s6qdf3p.js → skill-vzr7dzny.js} +27 -27
- package/dist/chunks/{location-services-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-services-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-xaaqc030.js → skill-w4ja1ymy.js} +12 -12
- package/dist/chunks/{location-services-3nm0fk8h.js → skill-w8dzjegp.js} +13 -13
- package/dist/chunks/{location-services-a354z5sm.js → skill-w8gags2f.js} +11 -11
- package/dist/chunks/{location-services-frp52m33.js → skill-wa0ghts3.js} +65 -65
- package/dist/chunks/{location-services-ganadfp0.js → skill-wbgaq1vm.js} +23 -23
- package/dist/chunks/{location-services-psazpmmj.js → skill-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-services-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-shd7mr8y.js → skill-wkxc7kdk.js} +12 -12
- package/dist/chunks/{location-services-784hb5j4.js → skill-wq4mmp7m.js} +4 -4
- package/dist/chunks/{location-services-7h7s3rmt.js → skill-wqkncbjv.js} +9 -9
- package/dist/chunks/{location-services-zkdqcrb9.js → skill-wvnar42z.js} +11 -11
- package/dist/chunks/{location-services-96ymsse1.js → skill-wxwmqvdm.js} +8 -8
- package/dist/chunks/{location-services-h8dspmgn.js → skill-wywb33ch.js} +5 -5
- package/dist/chunks/{location-services-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-7rnj5ym9.js → skill-x5n7t7vp.js} +32 -32
- package/dist/chunks/{location-services-5p8spvcz.js → skill-x9q73j05.js} +18 -18
- package/dist/chunks/{location-services-drwq78ky.js → skill-xfkkasph.js} +4 -4
- package/dist/chunks/{location-services-wem8116r.js → skill-xg7n0ckm.js} +9 -9
- package/dist/chunks/{location-services-fn25s999.js → skill-xjvzjxjz.js} +20 -20
- package/dist/chunks/{location-services-xkntkrq7.js → skill-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-services-zwznb21e.js → skill-xskayf5f.js} +3 -3
- package/dist/chunks/{location-services-m9jd0mcb.js → skill-xt5r5489.js} +8 -8
- package/dist/chunks/{location-services-qd16t7pt.js → skill-xywcat6j.js} +27 -27
- package/dist/chunks/{location-services-qxpw477z.js → skill-xz871bm8.js} +17 -17
- package/dist/chunks/{location-services-rwe7vfy4.js → skill-y0mdfkf3.js} +57 -57
- package/dist/chunks/{location-services-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-v7z2bvyd.js → skill-y5rf7nzv.js} +4 -4
- package/dist/chunks/{location-services-y71avatq.js → skill-y71avatq.js} +1 -1
- package/dist/chunks/{location-services-g1ntwptg.js → skill-yf10kn3d.js} +8 -8
- package/dist/chunks/{location-services-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-s4enseaf.js → skill-yrznvahk.js} +2 -2
- package/dist/chunks/{location-services-zsn9zpn8.js → skill-ysnnm9th.js} +11 -11
- package/dist/chunks/{location-services-26arvx1m.js → skill-yywpcc9t.js} +29 -29
- package/dist/chunks/{location-services-bjtzbw4r.js → skill-z07pqspn.js} +3 -3
- package/dist/chunks/{location-services-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-jeqepyqp.js → skill-z1800bf7.js} +75 -73
- package/dist/chunks/{location-services-aryx1f52.js → skill-z3zacvm2.js} +24 -24
- package/dist/chunks/{location-services-29x78va6.js → skill-z63w68vq.js} +6 -6
- package/dist/chunks/{location-services-46je7tbg.js → skill-zbgbht68.js} +24 -24
- package/dist/chunks/{location-services-04j5qzgw.js → skill-zega380a.js} +46 -46
- package/dist/chunks/{location-services-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-k5qdgh99.js → skill-zjmf0026.js} +8 -8
- package/dist/chunks/{location-services-7hhteh4v.js → skill-zk702gbg.js} +3 -3
- package/dist/chunks/{location-services-em10apng.js → skill-zmjya9fy.js} +51 -51
- package/dist/chunks/{location-services-r95crx12.js → skill-znp52nq7.js} +17 -17
- package/dist/chunks/{location-services-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-7s76t0fg.js → skill-zyq8xwgz.js} +24 -24
- package/dist/chunks/{location-services-n3e4gkzn.js → skill-zzdsfqst.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +2 -2
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- 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 +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/session/compaction.d.ts +5 -0
- package/dist/types/session/model-request.d.ts +5 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- 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 +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-services-7edgwqb7.js +0 -26
- package/dist/chunks/location-services-7xa2s11f.js +0 -252
- package/dist/chunks/location-services-c826cjyq.js +0 -507
- package/dist/chunks/location-services-p2h6zvwc.js +0 -18
- package/dist/chunks/location-services-xrsqh21y.js +0 -4
- /package/dist/chunks/{location-services-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./skill-w4ja1ymy.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event18,
|
|
18
|
+
ID: () => ID15,
|
|
19
|
+
Info: () => Info29,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service74,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node78
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event18 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID15 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID15.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info29 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service74 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info29.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID15.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service74.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID15.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID15.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID15, Name3, defaultID2, Color2, Info29, Service74, node78, exports_agent4, Event18 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make4(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make4 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./skill-w4ja1ymy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./skill-a6s71k6e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./skill-mcqskrh7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./skill-r4xhx5yy.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-wqkncbjv.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-d0k4a5wc.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-ecfe7b91.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-17jhsav0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
|
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service45;
|
|
58
|
+
const toolOutput = yield* Service49;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -108,8 +108,15 @@ var make3 = Effect.gen(function* () {
|
|
|
108
108
|
if (Exit.isFailure(joined))
|
|
109
109
|
yield* interruptTools;
|
|
110
110
|
const tools = classifyToolExits(joined, toolRuns);
|
|
111
|
-
|
|
111
|
+
const overflow = overflowFailure ?? streamFailure;
|
|
112
|
+
if (!publisher.record().outputStarted && isContextOverflowFailure(overflow) && (yield* restore(input.recoverOverflow))) {
|
|
113
|
+
yield* Effect.logWarning("provider rejected the request as too long; compacting", {
|
|
114
|
+
sessionID: input.sessionID,
|
|
115
|
+
model: input.model.ref,
|
|
116
|
+
message: overflow?.message
|
|
117
|
+
});
|
|
112
118
|
return Outcome2.Compacted();
|
|
119
|
+
}
|
|
113
120
|
if (overflowFailure)
|
|
114
121
|
yield* publisher.publish(overflowFailure);
|
|
115
122
|
const recorded = publisher.record();
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./skill-wa0ghts3.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input12,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin32,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name12 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input12 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input10 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input12.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin32 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service71;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name12,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description5,
|
|
104
|
-
input:
|
|
104
|
+
input: Input12,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin29 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name12,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name12, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin32, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-r55vasa2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./skill-w4ja1ymy.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./skill-3q06wn7v.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-7y51vbvs.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service65
|
|
20
|
+
} from "./skill-5b3a1c7c.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./skill-0269zm6b.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./skill-f3yz1pkd.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-kxh1rwc9.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID15
|
|
33
|
+
} from "./skill-mmwjtbs1.js";
|
|
34
34
|
|
|
35
35
|
// src/plugin/provider/github-copilot.ts
|
|
36
36
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
62
62
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
63
63
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
64
64
|
var oauth = (app) => ({
|
|
65
|
-
integrationID:
|
|
65
|
+
integrationID: ID9.make("github-copilot"),
|
|
66
66
|
method: {
|
|
67
67
|
id: methodID,
|
|
68
68
|
type: "oauth",
|
|
@@ -160,8 +160,8 @@ var oauth = (app) => ({
|
|
|
160
160
|
var GithubCopilotPlugin2 = define({
|
|
161
161
|
id: "opencode.provider.github.copilot",
|
|
162
162
|
effect: Effect.fn(function* (ctx) {
|
|
163
|
-
const providers = yield*
|
|
164
|
-
const bus = yield*
|
|
163
|
+
const providers = yield* Service65;
|
|
164
|
+
const bus = yield* Service83;
|
|
165
165
|
const loading = Semaphore.makeUnsafe(1);
|
|
166
166
|
const loaded = {};
|
|
167
167
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -177,9 +177,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
179
179
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
180
|
-
const provider = yield* providers.get(
|
|
180
|
+
const provider = yield* providers.get(ID8.githubCopilot);
|
|
181
181
|
const remote = yield* Effect.tryPromise({
|
|
182
|
-
try: () =>
|
|
182
|
+
try: () => load2(url, {
|
|
183
183
|
...provider?.headers,
|
|
184
184
|
Authorization: `Bearer ${credential.refresh}`,
|
|
185
185
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -199,13 +199,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
199
199
|
editor.method.update(oauth(ctx.app));
|
|
200
200
|
});
|
|
201
201
|
yield* ctx.provider.transform((evt) => {
|
|
202
|
-
const item = evt.get(
|
|
202
|
+
const item = evt.get(ID8.githubCopilot);
|
|
203
203
|
if (!item)
|
|
204
204
|
return;
|
|
205
205
|
if (loaded.models) {
|
|
206
206
|
evt.add({
|
|
207
207
|
info: item.provider,
|
|
208
|
-
models: Array.from(
|
|
208
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
209
209
|
sourceConnection: loaded.connection
|
|
210
210
|
});
|
|
211
211
|
return;
|
|
@@ -219,17 +219,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
yield* ctx.model.transform((models) => {
|
|
222
|
-
if (models.get(
|
|
223
|
-
models.update(
|
|
222
|
+
if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
223
|
+
models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
224
224
|
model.enabled = false;
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
});
|
|
228
228
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
229
|
-
yield* bus.subscribe(
|
|
229
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
230
230
|
yield* refresh().pipe(Effect.forkScoped);
|
|
231
231
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
232
|
-
if (evt.model.providerID !==
|
|
232
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
233
233
|
return;
|
|
234
234
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
235
235
|
return;
|
|
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
238
238
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
239
239
|
}));
|
|
240
240
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
244
244
|
return;
|
|
@@ -248,13 +248,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
248
248
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
249
249
|
if (interaction !== "conversation-agent")
|
|
250
250
|
evt.headers["x-initiator"] = "agent";
|
|
251
|
-
}), { providerID:
|
|
251
|
+
}), { providerID: ID8.githubCopilot });
|
|
252
252
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
256
256
|
return;
|
|
257
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
257
|
+
const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
258
258
|
return;
|
|
259
259
|
}));
|
|
260
260
|
if (agent?.data.model)
|
|
@@ -265,9 +265,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
265
265
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
266
266
|
return;
|
|
267
267
|
}));
|
|
268
|
-
}), { providerID:
|
|
268
|
+
}), { providerID: ID8.githubCopilot });
|
|
269
269
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
270
|
-
if (evt.model.providerID !==
|
|
270
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
271
271
|
return;
|
|
272
272
|
const token = evt.request.headers.get("x-api-key");
|
|
273
273
|
if (!token)
|
|
@@ -275,9 +275,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
275
275
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
276
276
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
277
277
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
278
|
-
}), { providerID:
|
|
278
|
+
}), { providerID: ID8.githubCopilot });
|
|
279
279
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
280
|
-
if (evt.model.providerID !==
|
|
280
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
281
281
|
return;
|
|
282
282
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
283
283
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./skill-yywpcc9t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./skill-wa0ghts3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service67;
|
|
57
|
+
const permission = yield* Service71;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name14, description6,
|
|
118
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|