@opencode/core 0.0.0-dev-20376 → 0.0.0-dev-20377
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{websearch-frq7pvnm.js → repository-04atd798.js} +4 -4
- package/dist/chunks/{websearch-qr48efmz.js → repository-0a237mzv.js} +12 -12
- package/dist/chunks/{websearch-q6mczvda.js → repository-0bmz8k31.js} +26 -26
- package/dist/chunks/{websearch-2d3qwdh6.js → repository-0jnnt1bs.js} +20 -20
- package/dist/chunks/{websearch-dtce9ng4.js → repository-0k9hz50x.js} +17 -17
- package/dist/chunks/{websearch-vjkpbawe.js → repository-0magjvjs.js} +17 -17
- package/dist/chunks/{websearch-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-vncycja5.js → repository-0v53mg2y.js} +4 -4
- package/dist/chunks/{websearch-97xdfj3z.js → repository-0xgfsmsc.js} +4 -4
- package/dist/chunks/{websearch-t6hb3mwm.js → repository-0zh0x4h1.js} +20 -20
- package/dist/chunks/{websearch-2wmr47zm.js → repository-0ztvbm79.js} +29 -29
- package/dist/chunks/{websearch-sgrm6qbb.js → repository-10w0r48r.js} +3 -3
- package/dist/chunks/{websearch-r631beyv.js → repository-14v0t5se.js} +71 -71
- package/dist/chunks/{websearch-bns34n6t.js → repository-1dak9s0j.js} +26 -26
- package/dist/chunks/{websearch-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-2k0wj1rn.js → repository-1n9hcfy3.js} +18 -18
- package/dist/chunks/{websearch-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-2yewycp0.js → repository-21y796mf.js} +15 -15
- package/dist/chunks/{websearch-pkb3ghx6.js → repository-23tvs9mh.js} +25 -25
- package/dist/chunks/{websearch-8aaqm6qj.js → repository-25cs5cen.js} +8 -8
- package/dist/chunks/{websearch-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-57ez7d0k.js → repository-2fgn2we9.js} +9 -9
- package/dist/chunks/{websearch-keqpv86m.js → repository-2hkadfk1.js} +20 -20
- package/dist/chunks/{websearch-pwgvkz82.js → repository-2j74qy9w.js} +4 -4
- package/dist/chunks/{websearch-7dqw4kz8.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{websearch-q2df8wfr.js → repository-2rahks1y.js} +32 -32
- package/dist/chunks/{websearch-qrt4amjc.js → repository-3373zw91.js} +11 -11
- package/dist/chunks/{websearch-fxjg84zj.js → repository-36mnffrz.js} +4 -4
- package/dist/chunks/{websearch-tbmac1c7.js → repository-3ewed21c.js} +4 -4
- package/dist/chunks/{websearch-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-0hpe1ejf.js → repository-3kjwbdcf.js} +8 -8
- package/dist/chunks/{websearch-xmd91vvj.js → repository-3sfbkq17.js} +7 -7
- package/dist/chunks/{websearch-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/repository-3snht0cr.js +252 -0
- package/dist/chunks/{websearch-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-5930ym18.js → repository-3xcbwh8b.js} +3 -3
- package/dist/chunks/{websearch-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{websearch-0686hvdh.js → repository-40v6kns3.js} +6 -6
- package/dist/chunks/{websearch-sgqd4326.js → repository-436fakxd.js} +44 -44
- package/dist/chunks/{websearch-8d0p2m37.js → repository-45g6rp4p.js} +8 -8
- package/dist/chunks/{websearch-gsm4wa7c.js → repository-4f06rze2.js} +11 -11
- package/dist/chunks/{websearch-n3hrb858.js → repository-4hzcvfa9.js} +10 -10
- package/dist/chunks/{websearch-vqch1bvm.js → repository-4pq2ykhk.js} +10 -10
- package/dist/chunks/{websearch-vjpyx0rz.js → repository-4xvg8qhq.js} +78 -78
- package/dist/chunks/{websearch-51f5btjf.js → repository-51f5btjf.js} +1 -1
- package/dist/chunks/{websearch-r94pvvab.js → repository-54ma36ye.js} +4 -4
- package/dist/chunks/{websearch-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
- package/dist/chunks/{websearch-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-gbfr1xpe.js → repository-5jr1zcyz.js} +37 -37
- package/dist/chunks/{websearch-xfewvta7.js → repository-5nm3sjh9.js} +11 -11
- package/dist/chunks/{websearch-h7m62bs4.js → repository-5qedxm44.js} +7 -7
- package/dist/chunks/{websearch-hkzm6gsg.js → repository-5rf1rhax.js} +21 -21
- package/dist/chunks/{websearch-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-fehfn2fk.js → repository-5txyz6kk.js} +7 -7
- package/dist/chunks/{websearch-evadcerx.js → repository-60ycj86c.js} +24 -24
- package/dist/chunks/{websearch-5bqgp2yr.js → repository-61d2erc5.js} +23 -23
- package/dist/chunks/{websearch-y3wgyeex.js → repository-667yebj2.js} +46 -46
- package/dist/chunks/{websearch-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{websearch-6hxsqshp.js → repository-6b8mt4qe.js} +18 -18
- package/dist/chunks/{websearch-v3vrcc1n.js → repository-6d58n71n.js} +13 -13
- package/dist/chunks/{websearch-8fvwg6tm.js → repository-6evwh1wj.js} +11 -11
- package/dist/chunks/{websearch-yhd8gra5.js → repository-6gb6ah6k.js} +1 -1
- package/dist/chunks/{websearch-5wd01vfq.js → repository-6mksg9xh.js} +22 -22
- package/dist/chunks/{websearch-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-6pc27hjz.js → repository-6pc27hjz.js} +2 -2
- package/dist/chunks/{websearch-96epns3z.js → repository-6t45mx4g.js} +15 -15
- package/dist/chunks/{websearch-1bbkgx8g.js → repository-73tb2d7t.js} +3 -3
- package/dist/chunks/{websearch-vr8db9cx.js → repository-74m68t1r.js} +17 -17
- package/dist/chunks/{websearch-1nwbcgkz.js → repository-7545v071.js} +5 -5
- package/dist/chunks/{websearch-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-vd7rzxqf.js → repository-7pr2hkwv.js} +5 -5
- package/dist/chunks/{websearch-y1hb4gd0.js → repository-7wv6t35z.js} +11 -11
- package/dist/chunks/{websearch-61qee1wg.js → repository-7ys5ezf5.js} +17 -17
- package/dist/chunks/{websearch-c2kkxaw7.js → repository-7zrv9dtw.js} +32 -32
- package/dist/chunks/{websearch-rxbqg574.js → repository-81ye6pg3.js} +22 -22
- package/dist/chunks/{websearch-2dt33739.js → repository-82gfdtdv.js} +14 -14
- package/dist/chunks/{websearch-x2aynqqh.js → repository-82rhge12.js} +9 -9
- package/dist/chunks/{websearch-0cr0d0zp.js → repository-84npfg6g.js} +16 -16
- package/dist/chunks/{websearch-w1eejvng.js → repository-84txncab.js} +5 -5
- package/dist/chunks/{websearch-qagkqpcw.js → repository-86m00gc1.js} +8 -8
- package/dist/chunks/{websearch-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-n5vnxzpd.js → repository-8e7h0d3g.js} +1 -1
- package/dist/chunks/{websearch-9dkc8ryr.js → repository-8h613fcm.js} +22 -22
- package/dist/chunks/{websearch-p1dcr46p.js → repository-8nbxw31j.js} +9 -9
- package/dist/chunks/{websearch-6cd6tdvt.js → repository-92k45pvj.js} +6 -6
- package/dist/chunks/{websearch-94ek1h2f.js → repository-94ek1h2f.js} +2 -2
- package/dist/chunks/{websearch-c5kn5gnh.js → repository-9cr16z8x.js} +11 -11
- package/dist/chunks/{websearch-05f7yy3w.js → repository-9qrdrmps.js} +27 -27
- package/dist/chunks/{websearch-hekxc47r.js → repository-a4ae1mqs.js} +1 -1
- package/dist/chunks/{websearch-d0arqfyn.js → repository-a6azfam0.js} +2 -2
- package/dist/chunks/{websearch-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-zwmnfc54.js → repository-ah4v29zr.js} +23 -23
- package/dist/chunks/{websearch-2d1e4kmr.js → repository-ahjyxdwj.js} +13 -13
- package/dist/chunks/{websearch-jca4demv.js → repository-ak8wweg5.js} +2 -2
- package/dist/chunks/{websearch-ez5ddhv1.js → repository-apg4ryxk.js} +7 -7
- package/dist/chunks/{websearch-wzz0kxab.js → repository-awaee7qt.js} +9 -9
- package/dist/chunks/{websearch-0g1d8rzs.js → repository-b0v5ywzm.js} +9 -9
- package/dist/chunks/{websearch-edrmdtr5.js → repository-b27vhd2z.js} +7 -7
- package/dist/chunks/{websearch-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-ws7ptmes.js → repository-b7n1errk.js} +308 -308
- package/dist/chunks/{websearch-yxyz6e19.js → repository-b7sdn3j2.js} +11 -11
- package/dist/chunks/{websearch-akrah417.js → repository-b9ek0cs0.js} +9 -9
- package/dist/chunks/{websearch-a3asrnpr.js → repository-bay05q8f.js} +26 -26
- package/dist/chunks/{websearch-qd23x213.js → repository-bhq0jy72.js} +3 -3
- package/dist/chunks/{websearch-5vpvgcp5.js → repository-bk4cztra.js} +6 -6
- package/dist/chunks/{websearch-f4hbbfr5.js → repository-bkgg21ch.js} +8 -8
- package/dist/chunks/{websearch-980tpvrn.js → repository-bt3gm041.js} +21 -21
- package/dist/chunks/{websearch-ca75245c.js → repository-bxcevcrv.js} +13 -13
- package/dist/chunks/{websearch-nvrwq4aw.js → repository-bxg2qx57.js} +4 -4
- package/dist/chunks/{websearch-by5v678g.js → repository-by5v678g.js} +1 -1
- package/dist/chunks/{websearch-n4bgjaqw.js → repository-c87t5eya.js} +32 -32
- package/dist/chunks/{websearch-cavr175a.js → repository-cavr175a.js} +1 -1
- package/dist/chunks/{websearch-jzama03h.js → repository-cegyq325.js} +5 -5
- package/dist/chunks/{websearch-778grbwn.js → repository-cfkxc3zx.js} +14 -14
- package/dist/chunks/{websearch-28xjebav.js → repository-ckb64qrr.js} +19 -19
- package/dist/chunks/{websearch-ckecvw8r.js → repository-ckecvw8r.js} +2 -2
- package/dist/chunks/{websearch-0t0n3s6e.js → repository-csr47hpp.js} +10 -10
- package/dist/chunks/{websearch-799qv44x.js → repository-cxnbdzcm.js} +39 -39
- package/dist/chunks/{websearch-p6wxjpka.js → repository-d2czbp48.js} +4 -4
- package/dist/chunks/{websearch-jdhxar0c.js → repository-d68cj2ze.js} +11 -11
- package/dist/chunks/{websearch-fhkr8061.js → repository-d7fh38br.js} +11 -11
- package/dist/chunks/{websearch-4d72g925.js → repository-db2txphp.js} +19 -19
- package/dist/chunks/{websearch-9qcjx6an.js → repository-ddg1taeb.js} +6 -6
- package/dist/chunks/{websearch-9xvq3m7s.js → repository-dj9sq318.js} +5 -5
- package/dist/chunks/{websearch-cpneeje0.js → repository-djszqvmq.js} +9 -9
- package/dist/chunks/{websearch-mxvxcxwy.js → repository-dnxkq42g.js} +4 -4
- package/dist/chunks/{websearch-f2pgg28z.js → repository-dpja8khg.js} +44 -44
- package/dist/chunks/{websearch-drwq78ky.js → repository-drwq78ky.js} +1 -1
- package/dist/chunks/{websearch-9ebqtw7h.js → repository-dx8av2x7.js} +17 -17
- package/dist/chunks/{websearch-kzxys592.js → repository-e0dagena.js} +17 -17
- package/dist/chunks/{websearch-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
- package/dist/chunks/{websearch-tdamenfq.js → repository-ee7enzjx.js} +3 -3
- package/dist/chunks/{websearch-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-9zv42yjh.js → repository-ef9qytv4.js} +15 -15
- package/dist/chunks/{websearch-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-2gpf5cfx.js → repository-ex6sdzkj.js} +13 -13
- package/dist/chunks/{websearch-g5ygsx2x.js → repository-ez9bk2es.js} +10 -10
- package/dist/chunks/{websearch-v0hmbm1z.js → repository-f1gpw9yy.js} +8 -8
- package/dist/chunks/{websearch-yp2x3t23.js → repository-f2n192rq.js} +4 -4
- package/dist/chunks/{websearch-bepwgrwq.js → repository-f346y1sz.js} +7 -7
- package/dist/chunks/{websearch-vs0es854.js → repository-f3fd7e69.js} +7 -7
- package/dist/chunks/{websearch-x9bqvz0y.js → repository-f58hpvk1.js} +10 -10
- package/dist/chunks/{websearch-5vw2fwjd.js → repository-f6ky630e.js} +40 -40
- package/dist/chunks/{websearch-b1628sq9.js → repository-f75xppwz.js} +63 -63
- package/dist/chunks/{websearch-za9cx4qh.js → repository-fad6j005.js} +6 -6
- package/dist/chunks/{websearch-z2vht0hs.js → repository-fbfxcass.js} +17 -17
- package/dist/chunks/{websearch-caa83g2j.js → repository-fbjrfmj9.js} +23 -23
- package/dist/chunks/{websearch-2c0h5q0f.js → repository-fdw6x2n6.js} +30 -30
- package/dist/chunks/{websearch-05b95ysj.js → repository-fkdqjgjc.js} +23 -23
- package/dist/chunks/{websearch-960c15r8.js → repository-fmqp2bpe.js} +37 -37
- package/dist/chunks/{websearch-q3t37ft6.js → repository-fqka1xvk.js} +3 -3
- package/dist/chunks/{websearch-sqmzwr9m.js → repository-fsbk27r1.js} +9 -9
- package/dist/chunks/{websearch-qsrbjrjk.js → repository-ftnrf378.js} +15 -15
- package/dist/chunks/{websearch-2eegacq4.js → repository-g1sxm558.js} +8 -8
- package/dist/chunks/{websearch-t0hgfzs0.js → repository-g5b01x5v.js} +24 -24
- package/dist/chunks/{websearch-vc9a6ex1.js → repository-g5zdntwf.js} +8 -8
- package/dist/chunks/{websearch-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-csbx25gw.js → repository-gp17yma0.js} +29 -29
- package/dist/chunks/{websearch-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{websearch-k3sjjeke.js → repository-h0j67pyz.js} +10 -10
- package/dist/chunks/{websearch-57gyqrsv.js → repository-h57x98jw.js} +9 -9
- package/dist/chunks/{websearch-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-9x77fmbz.js → repository-hnr8f6ws.js} +4 -4
- package/dist/chunks/{websearch-z2m27cj8.js → repository-hr7n7dfk.js} +42 -42
- package/dist/chunks/{websearch-jr9y5vde.js → repository-hx5mqagm.js} +44 -44
- package/dist/chunks/{websearch-ve1mvx6y.js → repository-j0dca7h1.js} +38 -38
- package/dist/chunks/{websearch-je90e586.js → repository-j290mkxf.js} +27 -27
- package/dist/chunks/{websearch-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-eyz64kwr.js → repository-jj3kxevf.js} +6 -6
- package/dist/chunks/{websearch-zqxgksca.js → repository-js2zbbsy.js} +5 -5
- package/dist/chunks/{websearch-5q1adabg.js → repository-jw7mqvhb.js} +24 -24
- package/dist/chunks/{websearch-nzks3jc8.js → repository-k3c624dm.js} +3 -3
- package/dist/chunks/{websearch-w3fb7tfm.js → repository-k6a913mc.js} +3 -3
- package/dist/chunks/{websearch-d7t2ts3e.js → repository-k91vaj61.js} +4 -4
- package/dist/chunks/{websearch-gnj36zes.js → repository-kc72bagp.js} +5 -5
- package/dist/chunks/{websearch-rgz11k33.js → repository-kg3dqxfj.js} +3 -3
- package/dist/chunks/{websearch-kbpc8md5.js → repository-kjnxwy2q.js} +14 -14
- package/dist/chunks/{websearch-n6b4627x.js → repository-knxfq3yn.js} +13 -13
- package/dist/chunks/{websearch-kyrdd354.js → repository-krswtk6s.js} +6 -6
- package/dist/chunks/{websearch-nx2jwr9z.js → repository-kxgkk26h.js} +15 -15
- package/dist/chunks/{websearch-t9bnvksp.js → repository-kxzsw107.js} +23 -23
- package/dist/chunks/{websearch-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-gvs67340.js → repository-m85aqzgd.js} +39 -39
- package/dist/chunks/{websearch-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-s9e7gx2z.js → repository-mdenj6n2.js} +20 -20
- package/dist/chunks/{websearch-86j0da14.js → repository-mm244bga.js} +22 -22
- package/dist/chunks/{websearch-zvxr3k7q.js → repository-mmsj8dfy.js} +21 -21
- package/dist/chunks/{websearch-tb8yxejg.js → repository-mn05vpar.js} +20 -20
- package/dist/chunks/{websearch-0ryd0fps.js → repository-nz569jqt.js} +5 -5
- package/dist/chunks/{websearch-kef2z2dq.js → repository-p1pf9hx4.js} +20 -20
- package/dist/chunks/{websearch-k0ybdv3m.js → repository-p9qne3wm.js} +57 -57
- package/dist/chunks/{websearch-g0445xdp.js → repository-pa8pe2x7.js} +8 -8
- package/dist/chunks/{websearch-5xpznt2d.js → repository-pccq72bz.js} +4 -4
- package/dist/chunks/{websearch-257anzkt.js → repository-pdbx26ag.js} +10 -10
- package/dist/chunks/{websearch-cpy6gm2a.js → repository-pf2hb43r.js} +6 -6
- package/dist/chunks/{websearch-fbrw26kw.js → repository-pj8e2ttv.js} +48 -48
- package/dist/chunks/{websearch-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-qzcmc6vm.js → repository-pnpn4wz1.js} +13 -13
- package/dist/chunks/{websearch-xk747vep.js → repository-pnv527nz.js} +5 -5
- package/dist/chunks/{websearch-wwx8h3qn.js → repository-pptf5a6z.js} +14 -14
- package/dist/chunks/{websearch-14ae4cgv.js → repository-q82chg0w.js} +37 -37
- package/dist/chunks/{websearch-s81rwkm8.js → repository-qevyghr7.js} +5 -5
- package/dist/chunks/{websearch-rxq801p8.js → repository-qf2587vm.js} +27 -27
- package/dist/chunks/{websearch-psnys6wj.js → repository-qhj864bm.js} +20 -20
- package/dist/chunks/{websearch-qjnxxf51.js → repository-qjnxxf51.js} +2 -2
- package/dist/chunks/{websearch-ednp5hmx.js → repository-qm7jrdpz.js} +8 -8
- package/dist/chunks/{websearch-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-p0kwpzsn.js → repository-rfstt2b7.js} +10 -10
- package/dist/chunks/{websearch-ddmh7828.js → repository-rjkc8qw5.js} +5 -5
- package/dist/chunks/{websearch-4n2wcx67.js → repository-rpt1dgh1.js} +14 -14
- package/dist/chunks/{websearch-qc9721hg.js → repository-rskbfe93.js} +3 -3
- package/dist/chunks/{websearch-ytr3z145.js → repository-rwa9kg8s.js} +12 -12
- package/dist/chunks/{websearch-y6kvk90e.js → repository-rzecepek.js} +10 -10
- package/dist/chunks/{websearch-17xffpm7.js → repository-s6sgn3gb.js} +12 -12
- package/dist/chunks/{websearch-gpk8f5ta.js → repository-s9jd6y68.js} +11 -11
- package/dist/chunks/{websearch-edqj2a2f.js → repository-smzj8rfw.js} +26 -26
- package/dist/chunks/{websearch-bwc6a6xj.js → repository-sqdvw4xb.js} +6 -6
- package/dist/chunks/{websearch-s8d7rejh.js → repository-t550f9t1.js} +4 -4
- package/dist/chunks/{websearch-ac0ayam2.js → repository-t5fcdsyj.js} +8 -8
- package/dist/chunks/{websearch-6ca315f3.js → repository-t8c99pq6.js} +170 -170
- package/dist/chunks/{websearch-hq5z72m5.js → repository-t8cezs0c.js} +5 -5
- package/dist/chunks/{websearch-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{websearch-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-0jeegzsf.js → repository-tea56sn9.js} +32 -32
- package/dist/chunks/{websearch-0kzbc53h.js → repository-tgthxese.js} +5 -5
- package/dist/chunks/{websearch-zgptpah9.js → repository-tj650tt1.js} +20 -20
- package/dist/chunks/{websearch-r92qwnnn.js → repository-tqs9jcf6.js} +20 -20
- package/dist/chunks/{websearch-1wa56esf.js → repository-ts1yq6xm.js} +22 -22
- package/dist/chunks/{websearch-3wd4dfc7.js → repository-tt62nkee.js} +25 -25
- package/dist/chunks/{websearch-1rsa83zn.js → repository-ttqxpwhe.js} +23 -23
- package/dist/chunks/{websearch-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-saeg0r1f.js → repository-v8v68fnp.js} +13 -13
- package/dist/chunks/{websearch-cv7hbm4e.js → repository-ve0yqpdc.js} +18 -18
- package/dist/chunks/{websearch-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-qrt17vy0.js → repository-vjx0011y.js} +17 -17
- package/dist/chunks/{websearch-54gghwtf.js → repository-vspmykee.js} +14 -14
- package/dist/chunks/{websearch-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{websearch-b4kafrxs.js → repository-vzvmbq7x.js} +36 -36
- package/dist/chunks/{websearch-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-w6zk8pbt.js → repository-w6zk8pbt.js} +1 -1
- package/dist/chunks/{websearch-wd3x2cqz.js → repository-wd3x2cqz.js} +2 -2
- package/dist/chunks/{websearch-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-zf8y23pp.js → repository-wgs8hk86.js} +6 -6
- package/dist/chunks/{websearch-fntn2hgv.js → repository-wpzgjbhj.js} +33 -33
- package/dist/chunks/{websearch-x30t6a71.js → repository-wqbbhmw9.js} +26 -26
- package/dist/chunks/{websearch-s47ecn8g.js → repository-ws0hhf19.js} +12 -12
- package/dist/chunks/{websearch-gfhhve88.js → repository-wz5tj16h.js} +5 -5
- package/dist/chunks/{websearch-xy26ekgv.js → repository-wzvzbcsg.js} +12 -12
- package/dist/chunks/{websearch-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-tyvqcb4v.js → repository-x1fz7ram.js} +15 -15
- package/dist/chunks/{websearch-s8e944fn.js → repository-x23wrtd4.js} +16 -16
- package/dist/chunks/{websearch-m4x7pwrx.js → repository-x8e3c47v.js} +26 -26
- package/dist/chunks/{websearch-s6gqes3c.js → repository-xbnvh8b8.js} +18 -18
- package/dist/chunks/{websearch-dmqcgk4z.js → repository-xkntkrq7.js} +5 -5
- package/dist/chunks/{websearch-djp7qhxv.js → repository-xkyyaqys.js} +10 -10
- package/dist/chunks/{websearch-9kh92b6h.js → repository-xr3n93y1.js} +9 -9
- package/dist/chunks/{websearch-wcb8zmgt.js → repository-xts7ca3t.js} +11 -11
- package/dist/chunks/{websearch-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-dq0v80fr.js → repository-y5df08dr.js} +12 -12
- package/dist/chunks/{websearch-d0vt178h.js → repository-y5kv6yf7.js} +29 -29
- package/dist/chunks/{websearch-pg3d8dpb.js → repository-y5rf7nzv.js} +4 -4
- package/dist/chunks/{websearch-y71avatq.js → repository-y71avatq.js} +1 -1
- package/dist/chunks/{websearch-nmj1tt6c.js → repository-y9zw62b3.js} +14 -14
- package/dist/chunks/{websearch-3gvhhwfh.js → repository-yn23vpp6.js} +15 -15
- package/dist/chunks/{websearch-jsxy3kay.js → repository-yqgpt25r.js} +32 -32
- package/dist/chunks/{websearch-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-0qchn2ta.js → repository-ys0z6e7b.js} +28 -28
- package/dist/chunks/{websearch-hkfg6fzm.js → repository-yt0fqk68.js} +5 -5
- package/dist/chunks/{websearch-z07pqspn.js → repository-z07pqspn.js} +3 -3
- package/dist/chunks/{websearch-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-3amp6vpt.js → repository-z0vv805r.js} +35 -35
- package/dist/chunks/{websearch-3cf4nv13.js → repository-z2018skw.js} +12 -12
- package/dist/chunks/{websearch-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{websearch-zcrspsvn.js → repository-zcrspsvn.js} +1 -1
- package/dist/chunks/{websearch-htmh1dwe.js → repository-zdqwn290.js} +33 -33
- package/dist/chunks/{websearch-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-v4hbc6tt.js → repository-zg91g03d.js} +36 -36
- package/dist/chunks/{websearch-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-ckprxe2m.js → repository-zss2mcem.js} +11 -11
- package/dist/chunks/{websearch-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- 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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +130 -130
- 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 +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- 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 +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 +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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +1 -1
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +75 -75
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +129 -129
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +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 +93 -93
- 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 +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +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 +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +84 -84
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -87
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +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 +1 -1
- package/dist/session/runner/llm.js +232 -232
- 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 +4 -4
- package/dist/session/runner/step.js +126 -126
- 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 +105 -105
- 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 +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +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 +118 -118
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/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 +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +92 -92
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +72 -72
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/websearch-swmbq937.js +0 -252
- /package/dist/chunks/{websearch-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-04atd798.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./repository-x23wrtd4.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service76,
|
|
20
|
+
node80,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./repository-c87t5eya.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info26,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service75,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node79,
|
|
44
|
+
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
51
|
+
var ID12 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info26 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service75 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service76;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const location = yield*
|
|
66
|
+
const location = yield* Service79;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service75.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node80, node87, node83] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,12 +225,12 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service75, node79, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-jj3kxevf.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-p9qne3wm.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-mm244bga.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-436fakxd.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-ex6sdzkj.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./repository-p9qne3wm.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-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: () =>
|
|
19
|
+
Input: () => Input10,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin13,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name10
|
|
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
|
|
33
|
+
var name10 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `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 Input10 = 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 Input6 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input10.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin13 = {
|
|
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* Service55;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name10,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input10,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin25 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name10,
|
|
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 { name10, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input10, Plugin13, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-4f06rze2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-04atd798.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID15,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
10
|
+
Event19,
|
|
11
11
|
Service78
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-ts1yq6xm.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-dnxkq42g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-mm244bga.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID13,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-c87t5eya.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID12,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info26
|
|
28
|
+
} from "./repository-tea56sn9.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
|
|
|
41
41
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
|
-
var providerID =
|
|
45
|
-
var integrationID =
|
|
44
|
+
var providerID = ID13.openai;
|
|
45
|
+
var integrationID = ID14.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
194
194
|
yield* ctx.integration.transform((editor) => {
|
|
195
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
196
196
|
});
|
|
197
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
198
198
|
const value = entry.value;
|
|
199
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
200
200
|
return Effect.void;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID15.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info26.default(ID13.openai, ID12.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-10w0r48r.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-04atd798.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
28
|
Service: () => Service78,
|
|
@@ -34,14 +34,14 @@ import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id: input.id ??
|
|
79
|
+
const credential = new Info30({
|
|
80
|
+
id: input.id ?? ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
108
108
|
type: credential.value.type,
|
|
109
109
|
active: activated
|
|
110
110
|
});
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
112
112
|
if (activated)
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
114
114
|
return credential;
|
|
115
115
|
}),
|
|
116
116
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
130
130
|
})), Effect.orDie);
|
|
131
131
|
if (integrationID) {
|
|
132
132
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
134
134
|
}
|
|
135
135
|
}),
|
|
136
136
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
162
162
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
163
163
|
});
|
|
164
164
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
165
|
-
yield* bus.publish(
|
|
165
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
166
166
|
}),
|
|
167
167
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
168
168
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
195
195
|
active: removed.switched,
|
|
196
196
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
197
197
|
});
|
|
198
|
-
yield* bus.publish(
|
|
198
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
199
199
|
if (removed.switched)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}));
|
|
204
204
|
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88, node87] });
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service78, node82, exports_credential };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./repository-x23wrtd4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./repository-5rf1rhax.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service25
|
|
16
|
+
} from "./repository-vspmykee.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-0bmz8k31.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service55
|
|
26
|
+
} from "./repository-p9qne3wm.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service15
|
|
29
|
+
} from "./repository-ve0yqpdc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-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
38
|
Input: () => Input4,
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Output: () => Output3,
|
|
40
|
+
Plugin: () => Plugin6,
|
|
41
41
|
name: () => name4,
|
|
42
42
|
toModelContent: () => toModelContent3
|
|
43
43
|
});
|
|
@@ -65,7 +65,7 @@ var Input4 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var Output3 = Schema.Array(Match2);
|
|
69
69
|
var toModelContent3 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
@@ -83,20 +83,20 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin6 = {
|
|
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* Service62;
|
|
90
|
+
const ripgrep = yield* Service25;
|
|
91
|
+
const location = yield* Service79;
|
|
92
|
+
const access = yield* Service15;
|
|
93
|
+
const permission = yield* Service55;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
95
|
name: name4,
|
|
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
98
|
input: Input4,
|
|
99
|
-
output:
|
|
99
|
+
output: Output3,
|
|
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 ?? "." });
|
|
@@ -154,4 +154,4 @@ var Plugin23 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export { name4, Input4,
|
|
157
|
+
export { name4, Input4, Output3, toModelContent3, Plugin6, exports_grep };
|