@opencode/core 0.0.0-dev-20376 → 0.0.0-dev-20381
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 +77 -77
- 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-vs0es854.js → rpc-02jj188d.js} +7 -7
- package/dist/chunks/{websearch-w6zk8pbt.js → rpc-0ejd5hp1.js} +8 -8
- package/dist/chunks/{websearch-7dqw4kz8.js → rpc-0jwsre1p.js} +5 -5
- package/dist/chunks/{websearch-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-nmj1tt6c.js → rpc-0qnwgxcx.js} +16 -16
- package/dist/chunks/{websearch-z2vht0hs.js → rpc-0veeyvfm.js} +13 -13
- package/dist/chunks/{websearch-2eegacq4.js → rpc-166kng33.js} +8 -8
- package/dist/chunks/{websearch-qsrbjrjk.js → rpc-1cpck8gv.js} +15 -15
- package/dist/chunks/{websearch-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-980tpvrn.js → rpc-1g5vmb1j.js} +16 -16
- package/dist/chunks/{websearch-2d3qwdh6.js → rpc-1pk1jfmd.js} +20 -20
- package/dist/chunks/{websearch-k3sjjeke.js → rpc-1vxd76q3.js} +10 -10
- package/dist/chunks/{websearch-54gghwtf.js → rpc-1wzyakj1.js} +14 -14
- package/dist/chunks/{websearch-b4kafrxs.js → rpc-1xhj1txz.js} +46 -46
- package/dist/chunks/{websearch-gfhhve88.js → rpc-207ajt2h.js} +5 -5
- package/dist/chunks/{websearch-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-0t0n3s6e.js → rpc-240vvp2b.js} +10 -10
- package/dist/chunks/{websearch-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-xfewvta7.js → rpc-2kfagwra.js} +11 -11
- package/dist/chunks/rpc-2q4d7yj3.js +252 -0
- package/dist/chunks/{websearch-psnys6wj.js → rpc-2rbsv4j1.js} +25 -25
- package/dist/chunks/{websearch-wzz0kxab.js → rpc-2y34zzjz.js} +7 -7
- package/dist/chunks/{websearch-d0vt178h.js → rpc-37gzdae6.js} +20 -20
- package/dist/chunks/{websearch-9xvq3m7s.js → rpc-3cfzdc8e.js} +5 -5
- package/dist/chunks/{websearch-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-8d0p2m37.js → rpc-3ky9a5f7.js} +8 -8
- package/dist/chunks/{websearch-ca75245c.js → rpc-3sj2hmhn.js} +13 -13
- package/dist/chunks/{websearch-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-k0ybdv3m.js → rpc-3zn4sg2c.js} +51 -51
- package/dist/chunks/{websearch-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
- package/dist/chunks/{websearch-akrah417.js → rpc-411radew.js} +9 -9
- package/dist/chunks/{websearch-tbmac1c7.js → rpc-4bm5ja14.js} +4 -4
- package/dist/chunks/{websearch-6cd6tdvt.js → rpc-4pwxaf10.js} +6 -6
- package/dist/chunks/{websearch-61qee1wg.js → rpc-4qr0emt2.js} +17 -17
- package/dist/chunks/{websearch-0hpe1ejf.js → rpc-4rh22bex.js} +8 -8
- package/dist/chunks/{websearch-0jeegzsf.js → rpc-5146pxbw.js} +32 -32
- package/dist/chunks/{websearch-ednp5hmx.js → rpc-533t3k18.js} +8 -8
- package/dist/chunks/{websearch-r94pvvab.js → rpc-54ma36ye.js} +4 -4
- package/dist/chunks/{websearch-5vpvgcp5.js → rpc-54sgfqm0.js} +6 -6
- package/dist/chunks/{websearch-56gdpj1q.js → rpc-56gdpj1q.js} +2 -2
- package/dist/chunks/{websearch-v3vrcc1n.js → rpc-56sbpqpy.js} +18 -18
- package/dist/chunks/{websearch-57ez7d0k.js → rpc-57ez7d0k.js} +2 -2
- package/dist/chunks/{websearch-gvs67340.js → rpc-59sqkgcz.js} +41 -41
- package/dist/chunks/{websearch-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-s8e944fn.js → rpc-5dht68aa.js} +14 -14
- package/dist/chunks/{websearch-4d72g925.js → rpc-5fn1j13d.js} +19 -19
- package/dist/chunks/{websearch-t9bnvksp.js → rpc-5qz9vfqb.js} +23 -23
- package/dist/chunks/{websearch-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-ddmh7828.js → rpc-5tb8a3cn.js} +5 -5
- package/dist/chunks/{websearch-ckprxe2m.js → rpc-5w0ma60y.js} +11 -11
- package/dist/chunks/{websearch-fbrw26kw.js → rpc-61p2gn3c.js} +48 -48
- package/dist/chunks/{websearch-caa83g2j.js → rpc-658hk3ar.js} +23 -23
- package/dist/chunks/{websearch-669tq793.js → rpc-669tq793.js} +1 -1
- package/dist/chunks/{websearch-vjpyx0rz.js → rpc-682rjw8a.js} +82 -82
- package/dist/chunks/{websearch-14ae4cgv.js → rpc-692kj7w3.js} +37 -37
- package/dist/chunks/{websearch-b1628sq9.js → rpc-6d2xvp2z.js} +70 -70
- package/dist/chunks/{websearch-9kh92b6h.js → rpc-6g45nwks.js} +9 -9
- package/dist/chunks/{websearch-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-saeg0r1f.js → rpc-6p67gzpn.js} +13 -13
- package/dist/chunks/{websearch-6pc27hjz.js → rpc-6pc27hjz.js} +2 -2
- package/dist/chunks/{websearch-q6mczvda.js → rpc-6q90rzng.js} +30 -30
- package/dist/chunks/{websearch-qd23x213.js → rpc-6t37hax9.js} +3 -3
- package/dist/chunks/{websearch-3gvhhwfh.js → rpc-7537esrs.js} +17 -17
- package/dist/chunks/{websearch-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-9dkc8ryr.js → rpc-7e96yn50.js} +11 -11
- package/dist/chunks/{websearch-sgrm6qbb.js → rpc-7kkv30ab.js} +3 -3
- package/dist/chunks/{websearch-vc9a6ex1.js → rpc-7yhnk20z.js} +12 -12
- package/dist/chunks/{websearch-w1eejvng.js → rpc-84txncab.js} +5 -5
- package/dist/chunks/{websearch-tcezcvh9.js → rpc-89znhe33.js} +4 -4
- package/dist/chunks/{websearch-zqxgksca.js → rpc-8d5kb0gn.js} +10 -10
- package/dist/chunks/{websearch-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-9zv42yjh.js → rpc-8d8c4s3b.js} +15 -15
- package/dist/chunks/{websearch-778grbwn.js → rpc-8fn17prt.js} +12 -12
- package/dist/chunks/{websearch-5bqgp2yr.js → rpc-8smk45yf.js} +25 -25
- package/dist/chunks/{websearch-ws7ptmes.js → rpc-8ytx492z.js} +325 -325
- package/dist/chunks/{websearch-fxjg84zj.js → rpc-8zn2na59.js} +4 -4
- package/dist/chunks/{websearch-vqch1bvm.js → rpc-91a17qdz.js} +10 -10
- package/dist/chunks/{websearch-n3hrb858.js → rpc-946svjry.js} +16 -16
- package/dist/chunks/{websearch-94ek1h2f.js → rpc-94ek1h2f.js} +2 -2
- package/dist/chunks/{websearch-9x77fmbz.js → rpc-96ctqc5x.js} +4 -4
- package/dist/chunks/{websearch-wwx8h3qn.js → rpc-9cememrc.js} +11 -11
- package/dist/chunks/{websearch-ac0ayam2.js → rpc-9fwpadhv.js} +8 -8
- package/dist/chunks/{websearch-pwgvkz82.js → rpc-9gc7vjkx.js} +4 -4
- package/dist/chunks/{websearch-gpk8f5ta.js → rpc-9gwfnzdc.js} +11 -11
- package/dist/chunks/{websearch-zwmnfc54.js → rpc-9vgxsr0f.js} +12 -12
- package/dist/chunks/{websearch-pg3d8dpb.js → rpc-a2rpfkac.js} +4 -4
- package/dist/chunks/{websearch-zf8y23pp.js → rpc-a3e33rv8.js} +8 -8
- package/dist/chunks/{websearch-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-csbx25gw.js → rpc-aafym81k.js} +29 -29
- package/dist/chunks/{websearch-kbpc8md5.js → rpc-aaz57tz5.js} +14 -14
- package/dist/chunks/{websearch-qc9721hg.js → rpc-ahtncqw7.js} +3 -3
- package/dist/chunks/{websearch-za9cx4qh.js → rpc-akrnn5pm.js} +8 -8
- package/dist/chunks/{websearch-qzcmc6vm.js → rpc-amzhydp5.js} +17 -17
- package/dist/chunks/{websearch-w3fb7tfm.js → rpc-antesb8a.js} +3 -3
- package/dist/chunks/{websearch-rxbqg574.js → rpc-b18k1zs2.js} +24 -24
- package/dist/chunks/{websearch-y3wgyeex.js → rpc-b38j3whv.js} +47 -47
- package/dist/chunks/{websearch-vd7rzxqf.js → rpc-b4p19tx4.js} +5 -5
- package/dist/chunks/{websearch-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-vr8db9cx.js → rpc-bg7q500h.js} +17 -17
- package/dist/chunks/{websearch-g5ygsx2x.js → rpc-bgepzekk.js} +8 -8
- package/dist/chunks/{websearch-97xdfj3z.js → rpc-bh4mgjf3.js} +4 -4
- package/dist/chunks/{websearch-6ca315f3.js → rpc-bnae1mpp.js} +179 -179
- package/dist/chunks/{websearch-htmh1dwe.js → rpc-by4ebpdc.js} +32 -32
- package/dist/chunks/{websearch-51f5btjf.js → rpc-c8bydgjz.js} +6 -6
- package/dist/chunks/{websearch-p1dcr46p.js → rpc-cezp6vxa.js} +6 -6
- package/dist/chunks/{websearch-ckecvw8r.js → rpc-ckecvw8r.js} +2 -2
- package/dist/chunks/{websearch-cpy6gm2a.js → rpc-cqg8v4c7.js} +6 -6
- package/dist/chunks/{websearch-fntn2hgv.js → rpc-cryfzwrd.js} +33 -33
- package/dist/chunks/{websearch-ve1mvx6y.js → rpc-ctvmbjvv.js} +34 -34
- package/dist/chunks/{websearch-9qcjx6an.js → rpc-czpmk66h.js} +4 -4
- package/dist/chunks/{websearch-ytr3z145.js → rpc-d0vm0wq8.js} +16 -16
- package/dist/chunks/{websearch-jca4demv.js → rpc-d2anxpr8.js} +2 -2
- package/dist/chunks/{websearch-2k0wj1rn.js → rpc-d3zp2qn8.js} +18 -18
- package/dist/chunks/{websearch-qrt17vy0.js → rpc-d4w79z61.js} +13 -13
- package/dist/chunks/{websearch-je90e586.js → rpc-dhqze9vc.js} +27 -27
- package/dist/chunks/{websearch-cpneeje0.js → rpc-djszqvmq.js} +9 -9
- package/dist/chunks/{websearch-dmqcgk4z.js → rpc-dmqcgk4z.js} +2 -2
- package/dist/chunks/{websearch-drwq78ky.js → rpc-drwq78ky.js} +1 -1
- package/dist/chunks/{websearch-m4x7pwrx.js → rpc-dwevmsma.js} +34 -34
- package/dist/chunks/{websearch-1nwbcgkz.js → rpc-dytv88em.js} +5 -5
- package/dist/chunks/{websearch-s8d7rejh.js → rpc-eaj1djv9.js} +6 -6
- package/dist/chunks/{websearch-5wd01vfq.js → rpc-eb4na3fv.js} +27 -27
- package/dist/chunks/{websearch-ecfe7b91.js → rpc-ecfe7b91.js} +2 -2
- package/dist/chunks/{websearch-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-t0hgfzs0.js → rpc-ekyy2mhv.js} +32 -32
- package/dist/chunks/{websearch-zcrspsvn.js → rpc-embw8kgh.js} +4 -4
- package/dist/chunks/{websearch-r631beyv.js → rpc-en2dwfny.js} +89 -89
- package/dist/chunks/{websearch-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-hq5z72m5.js → rpc-f66bccwn.js} +5 -5
- package/dist/chunks/{websearch-s9e7gx2z.js → rpc-fb7qthtr.js} +22 -22
- package/dist/chunks/{websearch-0qchn2ta.js → rpc-fcvmnj0r.js} +28 -28
- package/dist/chunks/{websearch-2gpf5cfx.js → rpc-fd0e9ebd.js} +13 -13
- package/dist/chunks/{websearch-s81rwkm8.js → rpc-fdv9msya.js} +5 -5
- package/dist/chunks/{websearch-edrmdtr5.js → rpc-fm2qvscf.js} +7 -7
- package/dist/chunks/{websearch-q3t37ft6.js → rpc-fvxg17y2.js} +2 -2
- package/dist/chunks/{websearch-d7t2ts3e.js → rpc-fwgga033.js} +4 -4
- package/dist/chunks/{websearch-s47ecn8g.js → rpc-fxtmaxyj.js} +12 -12
- package/dist/chunks/{websearch-gnj36zes.js → rpc-fzk8ehhv.js} +5 -5
- package/dist/chunks/{websearch-799qv44x.js → rpc-g3ntd4xd.js} +45 -45
- package/dist/chunks/{websearch-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-p0kwpzsn.js → rpc-gmjnk6ep.js} +10 -10
- package/dist/chunks/{websearch-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
- package/dist/chunks/{websearch-t6hb3mwm.js → rpc-h2jp4waz.js} +27 -27
- package/dist/chunks/{websearch-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-c2kkxaw7.js → rpc-hcqe9dg4.js} +30 -30
- package/dist/chunks/{websearch-hekxc47r.js → rpc-hekxc47r.js} +1 -1
- package/dist/chunks/{websearch-frq7pvnm.js → rpc-hj4aaq0x.js} +4 -4
- package/dist/chunks/{websearch-jr9y5vde.js → rpc-hk4xp7sk.js} +54 -54
- package/dist/chunks/{websearch-eyz64kwr.js → rpc-hp8gp39b.js} +6 -6
- package/dist/chunks/{websearch-tb8yxejg.js → rpc-hvajpj5a.js} +20 -20
- package/dist/chunks/{websearch-dq0v80fr.js → rpc-hx5ww8wt.js} +12 -12
- package/dist/chunks/{websearch-05f7yy3w.js → rpc-j2hgmjn3.js} +27 -27
- package/dist/chunks/{websearch-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-qr48efmz.js → rpc-jbega7th.js} +12 -12
- package/dist/chunks/{websearch-jsxy3kay.js → rpc-jbkjygfb.js} +32 -32
- package/dist/chunks/{websearch-vjkpbawe.js → rpc-jc9759m4.js} +15 -15
- package/dist/chunks/{websearch-1wa56esf.js → rpc-jmttzreg.js} +30 -30
- package/dist/chunks/{websearch-pkb3ghx6.js → rpc-jrv9zaag.js} +23 -23
- package/dist/chunks/{websearch-3wd4dfc7.js → rpc-k14mz5r3.js} +34 -34
- package/dist/chunks/{websearch-nzks3jc8.js → rpc-k3c624dm.js} +3 -3
- package/dist/chunks/{websearch-fehfn2fk.js → rpc-k8m084bz.js} +9 -9
- package/dist/chunks/{websearch-0ryd0fps.js → rpc-kbqjp078.js} +5 -5
- package/dist/chunks/{websearch-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-5930ym18.js → rpc-maff49ax.js} +3 -3
- package/dist/chunks/{websearch-3amp6vpt.js → rpc-mcbtmp24.js} +37 -37
- package/dist/chunks/{websearch-wcb8zmgt.js → rpc-mdpssxg0.js} +9 -9
- package/dist/chunks/rpc-mhrcjgnb.js +26 -0
- package/dist/chunks/{websearch-9ebqtw7h.js → rpc-mjrfwaps.js} +17 -17
- package/dist/chunks/{websearch-tdamenfq.js → rpc-mkeasgba.js} +3 -3
- package/dist/chunks/{websearch-ez5ddhv1.js → rpc-mkya1vkq.js} +7 -7
- package/dist/chunks/{websearch-kzxys592.js → rpc-n1bpmmce.js} +20 -20
- package/dist/chunks/{websearch-57gyqrsv.js → rpc-n2pdwfck.js} +11 -11
- package/dist/chunks/{websearch-sgqd4326.js → rpc-n3s1wep9.js} +42 -42
- package/dist/chunks/{websearch-dtce9ng4.js → rpc-ndd4s1hb.js} +18 -18
- package/dist/chunks/{websearch-rxq801p8.js → rpc-njhxfh55.js} +33 -33
- package/dist/chunks/{websearch-xk747vep.js → rpc-nq7qbqzc.js} +9 -9
- package/dist/chunks/{websearch-kef2z2dq.js → rpc-nxpjk0n4.js} +20 -20
- package/dist/chunks/{websearch-nvrwq4aw.js → rpc-p1p7yams.js} +4 -4
- package/dist/chunks/{websearch-p6wxjpka.js → rpc-p6wxjpka.js} +1 -1
- package/dist/chunks/{websearch-zgptpah9.js → rpc-p9sy75vy.js} +20 -20
- package/dist/chunks/rpc-pf31ssb9.js +18 -0
- package/dist/chunks/{websearch-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-05b95ysj.js → rpc-px383m71.js} +21 -21
- package/dist/chunks/{websearch-xmd91vvj.js → rpc-q6zw89mm.js} +9 -9
- package/dist/chunks/{websearch-n4bgjaqw.js → rpc-q7dmtnxx.js} +30 -30
- package/dist/chunks/{websearch-5q1adabg.js → rpc-q83t8ykt.js} +24 -24
- package/dist/chunks/{websearch-2yewycp0.js → rpc-q8nwh079.js} +15 -15
- package/dist/chunks/{websearch-jdhxar0c.js → rpc-q95fwmf1.js} +24 -24
- package/dist/chunks/{websearch-0kzbc53h.js → rpc-qbmejtr1.js} +5 -5
- package/dist/chunks/{websearch-a3asrnpr.js → rpc-qdwhejxn.js} +26 -26
- package/dist/chunks/{websearch-0g1d8rzs.js → rpc-qf2h8j7x.js} +11 -11
- package/dist/chunks/{websearch-n6b4627x.js → rpc-qhhddrhx.js} +7 -7
- package/dist/chunks/{websearch-c5kn5gnh.js → rpc-qhke4dz0.js} +11 -11
- package/dist/chunks/{websearch-cavr175a.js → rpc-qj8eh1ht.js} +4 -4
- package/dist/chunks/{websearch-qagkqpcw.js → rpc-qmx1h8v8.js} +8 -8
- package/dist/chunks/{websearch-d0arqfyn.js → rpc-qpbm3ztw.js} +2 -2
- package/dist/chunks/{websearch-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-5vw2fwjd.js → rpc-qtsqcjpr.js} +35 -35
- package/dist/chunks/{websearch-8aaqm6qj.js → rpc-qvb3nf84.js} +8 -8
- package/dist/chunks/{websearch-x30t6a71.js → rpc-r11hkjk4.js} +28 -28
- package/dist/chunks/{websearch-r92qwnnn.js → rpc-r3pyn2sd.js} +22 -22
- package/dist/chunks/{websearch-1bbkgx8g.js → rpc-r5x6zcsm.js} +3 -3
- package/dist/chunks/{websearch-3cf4nv13.js → rpc-rdg24yab.js} +9 -9
- package/dist/chunks/{websearch-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-zvxr3k7q.js → rpc-rm7hx2h9.js} +21 -21
- package/dist/chunks/{websearch-f2pgg28z.js → rpc-rsp3dmjs.js} +46 -46
- package/dist/chunks/{websearch-v0hmbm1z.js → rpc-rtzzq57v.js} +8 -8
- package/dist/chunks/{websearch-2wmr47zm.js → rpc-rz9de3a5.js} +30 -30
- package/dist/chunks/{websearch-960c15r8.js → rpc-s02jbxs5.js} +37 -37
- package/dist/chunks/{websearch-gsm4wa7c.js → rpc-s2csw21s.js} +11 -11
- package/dist/chunks/{websearch-hkfg6fzm.js → rpc-s8zy8myc.js} +5 -5
- package/dist/chunks/{websearch-bepwgrwq.js → rpc-sn70db0p.js} +10 -10
- package/dist/chunks/{websearch-96epns3z.js → rpc-snf13aa5.js} +18 -18
- package/dist/chunks/{websearch-0686hvdh.js → rpc-syaeh5dc.js} +9 -9
- package/dist/chunks/{websearch-17xffpm7.js → rpc-sz63pebb.js} +26 -26
- package/dist/chunks/{websearch-6hxsqshp.js → rpc-t1jms00y.js} +16 -16
- package/dist/chunks/{websearch-y6kvk90e.js → rpc-t43fmngk.js} +10 -10
- package/dist/chunks/{websearch-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-0cr0d0zp.js → rpc-tbdvezg6.js} +25 -25
- package/dist/chunks/{websearch-4n2wcx67.js → rpc-tbwm0nt3.js} +11 -11
- package/dist/chunks/{websearch-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-g0445xdp.js → rpc-tpw6cwsb.js} +8 -8
- package/dist/chunks/{websearch-tvtrv512.js → rpc-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-jzama03h.js → rpc-tw7s424j.js} +5 -5
- package/dist/chunks/{websearch-edqj2a2f.js → rpc-tznb5qaq.js} +26 -26
- package/dist/chunks/{websearch-z2m27cj8.js → rpc-v2b68ckw.js} +23 -23
- package/dist/chunks/{websearch-cv7hbm4e.js → rpc-v9achbqy.js} +18 -18
- package/dist/chunks/{websearch-hkzm6gsg.js → rpc-va7p1h3t.js} +24 -24
- package/dist/chunks/{websearch-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-vncycja5.js → rpc-vncycja5.js} +1 -1
- package/dist/chunks/{websearch-rgz11k33.js → rpc-vnx05bne.js} +3 -3
- package/dist/chunks/{websearch-kyrdd354.js → rpc-vrffbp44.js} +6 -6
- package/dist/chunks/{websearch-yxyz6e19.js → rpc-vvdghh7g.js} +11 -11
- package/dist/chunks/{websearch-nx2jwr9z.js → rpc-vw19fjw8.js} +12 -12
- package/dist/chunks/{websearch-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
- package/dist/chunks/{websearch-1rsa83zn.js → rpc-w1xvrbj5.js} +16 -16
- package/dist/chunks/{websearch-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-257anzkt.js → rpc-w547y7sk.js} +10 -10
- package/dist/chunks/{websearch-x9bqvz0y.js → rpc-w6gfe054.js} +8 -8
- package/dist/chunks/{websearch-keqpv86m.js → rpc-w7w2jjhx.js} +20 -20
- package/dist/chunks/{websearch-sqmzwr9m.js → rpc-w9vf9qqj.js} +9 -9
- package/dist/chunks/{websearch-qjnxxf51.js → rpc-wbkyxrgf.js} +5 -5
- package/dist/chunks/{websearch-wd3x2cqz.js → rpc-wd3x2cqz.js} +2 -2
- package/dist/chunks/{websearch-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-q2df8wfr.js → rpc-wdr62gh7.js} +23 -23
- package/dist/chunks/{websearch-2dt33739.js → rpc-wee23531.js} +14 -14
- package/dist/chunks/{websearch-yhd8gra5.js → rpc-wg9j838r.js} +1 -1
- package/dist/chunks/{websearch-2c0h5q0f.js → rpc-wgq3tw2n.js} +32 -32
- package/dist/chunks/{websearch-x2aynqqh.js → rpc-wk5z6jzv.js} +8 -8
- package/dist/chunks/{websearch-2d1e4kmr.js → rpc-wnzb6xvf.js} +15 -15
- package/dist/chunks/{websearch-5xpznt2d.js → rpc-wq4mmp7m.js} +4 -4
- package/dist/chunks/{websearch-bns34n6t.js → rpc-wtcb6vs4.js} +25 -25
- package/dist/chunks/{websearch-evadcerx.js → rpc-wxfc6s8g.js} +24 -24
- package/dist/chunks/{websearch-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-xy26ekgv.js → rpc-x6p7tmnf.js} +12 -12
- package/dist/chunks/{websearch-n5vnxzpd.js → rpc-xe1rq30m.js} +1 -1
- package/dist/chunks/{websearch-v4hbc6tt.js → rpc-xef3vhss.js} +34 -34
- package/dist/chunks/{websearch-s6gqes3c.js → rpc-xmhzgq26.js} +18 -18
- package/dist/chunks/{websearch-qrt4amjc.js → rpc-xvwyzs5x.js} +11 -11
- package/dist/chunks/{websearch-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-mxvxcxwy.js → rpc-y6bex35g.js} +4 -4
- package/dist/chunks/{websearch-y71avatq.js → rpc-y71avatq.js} +1 -1
- package/dist/chunks/{websearch-86j0da14.js → rpc-y82bc83e.js} +30 -30
- package/dist/chunks/{websearch-tyvqcb4v.js → rpc-y9x49r01.js} +15 -15
- package/dist/chunks/{websearch-gbfr1xpe.js → rpc-yc3z08e9.js} +45 -45
- package/dist/chunks/{websearch-djp7qhxv.js → rpc-ydkeg25k.js} +13 -13
- package/dist/chunks/{websearch-fhkr8061.js → rpc-ygpp3mx7.js} +11 -11
- package/dist/chunks/{websearch-28xjebav.js → rpc-ynpc68wq.js} +19 -19
- package/dist/chunks/{websearch-yp2x3t23.js → rpc-yp2x3t23.js} +1 -1
- package/dist/chunks/{websearch-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-yrznvahk.js → rpc-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-y1hb4gd0.js → rpc-yv1rk2qz.js} +11 -11
- package/dist/chunks/{websearch-z07pqspn.js → rpc-z07pqspn.js} +3 -3
- package/dist/chunks/{websearch-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-f4hbbfr5.js → rpc-z1q79rtb.js} +8 -8
- package/dist/chunks/{websearch-z63w68vq.js → rpc-z63w68vq.js} +2 -2
- package/dist/chunks/{websearch-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{websearch-h7m62bs4.js → rpc-zyyvvwzg.js} +11 -11
- package/dist/chunks/{websearch-bwc6a6xj.js → rpc-zzrx66n5.js} +6 -6
- 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 +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 +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 +372 -372
- 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 +90 -90
- 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 +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +125 -125
- 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 +91 -91
- package/dist/model-resolver.js +96 -96
- 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 +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +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 +3 -3
- 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 +4 -4
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- 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 +222 -222
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- 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 +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +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 +3 -3
- 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 +85 -85
- 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 +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +11 -11
- 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 +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- 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 +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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- 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 +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +94 -94
- package/package.json +8 -8
- package/dist/chunks/websearch-8fvwg6tm.js +0 -26
- package/dist/chunks/websearch-by5v678g.js +0 -18
- package/dist/chunks/websearch-swmbq937.js +0 -252
- /package/dist/chunks/{websearch-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-34c7v6d4.js → rpc-34c7v6d4.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → rpc-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service42
|
|
7
|
+
} from "./rpc-1xhj1txz.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service57
|
|
13
|
+
} from "./rpc-va7p1h3t.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./rpc-jc9759m4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service70
|
|
19
|
+
} from "./rpc-3zn4sg2c.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service14,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-v9achbqy.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service82,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-amzhydp5.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service40
|
|
37
|
+
} from "./rpc-b38j3whv.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./rpc-en2dwfny.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./rpc-9gc7vjkx.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./rpc-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input8,
|
|
53
|
+
Plugin: () => Plugin11,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name8
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name8 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input8 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin11 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service18;
|
|
123
|
+
const jobs = yield* Service51;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service57;
|
|
126
|
+
const access = yield* Service14;
|
|
127
|
+
const shell = yield* Service40;
|
|
128
|
+
const shellSelect = yield* Service82;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service70;
|
|
131
|
+
const config = yield* Service42;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin27 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name8,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin27 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name8,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input8,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin27 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name8,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name8];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin11, exports_shell };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-s2csw21s.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin41,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin41 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin34 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin34 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin41, exports_tavily };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./rpc-va7p1h3t.js";
|
|
4
4
|
import {
|
|
5
5
|
Service16,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-qhhddrhx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./rpc-d3zp2qn8.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service70
|
|
14
|
+
} from "./rpc-3zn4sg2c.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./rpc-v9achbqy.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input12,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin15,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name12,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name12 = "write";
|
|
39
|
+
var Input12 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin15 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
55
|
+
const access = yield* Service14;
|
|
56
56
|
const fileMutation = yield* Service16;
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
57
|
+
const environment = yield* Service57;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service70;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name12,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input12,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name12, Input12, Output8, toModelContent6, Plugin15, exports_write };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-hj4aaq0x.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node46
|
|
7
|
+
} from "./rpc-fb7qthtr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service4,
|
|
10
|
+
node6
|
|
11
|
+
} from "./rpc-j2hgmjn3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service26
|
|
14
|
+
} from "./rpc-pf31ssb9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node19,
|
|
17
17
|
ID3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-56sbpqpy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service7,
|
|
21
|
+
node9
|
|
22
|
+
} from "./rpc-tpw6cwsb.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-8ytx492z.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make4,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./rpc-9fwpadhv.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
Service4,
|
|
35
|
-
node5
|
|
36
|
-
} from "./websearch-vqch1bvm.js";
|
|
37
|
-
import {
|
|
38
34
|
Service6,
|
|
35
|
+
node8
|
|
36
|
+
} from "./rpc-91a17qdz.js";
|
|
37
|
+
import {
|
|
38
|
+
Service5,
|
|
39
39
|
node7
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./rpc-wk5z6jzv.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./rpc-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer4,
|
|
50
|
+
node: () => node5
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
pending: [...pending]
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
|
-
var
|
|
129
|
-
const registry = yield*
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
128
|
+
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
+
const registry = yield* Service26;
|
|
130
|
+
const sdk = yield* Service6;
|
|
131
|
+
const instance = yield* Service7;
|
|
132
|
+
const sources = yield* Service4;
|
|
133
|
+
const modules = yield* make4();
|
|
134
134
|
const bus = yield* Service83;
|
|
135
|
-
const updates = yield*
|
|
135
|
+
const updates = yield* Service5;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
node19,
|
|
211
|
+
node8,
|
|
212
|
+
node9,
|
|
212
213
|
node6,
|
|
213
|
-
node3,
|
|
214
214
|
node7,
|
|
215
215
|
node87,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node46,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export {
|
|
227
|
+
export { layer4, node5, exports_supervisor };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured9,
|
|
11
|
+
layer: () => layer23,
|
|
12
|
+
make: () => make20,
|
|
13
|
+
node: () => node64,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make20()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make20(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer23 = (input) => Layer.succeed(Metadata2, make20(input));
|
|
32
|
+
var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
|
|
33
|
+
var node64 = configured9();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make20, useragent2, layer23, configured9, node64, exports_app };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info11,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info11 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info11, exports_mcp5 };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./rpc-5dht68aa.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-1pk1jfmd.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin35,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin35 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service78;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin35, exports_git };
|