@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,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service43,
|
|
3
|
+
node46
|
|
4
|
+
} from "./rpc-fb7qthtr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./rpc-5dht68aa.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service42,
|
|
11
|
+
node45
|
|
12
|
+
} from "./rpc-1xhj1txz.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service4,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node6
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service42;
|
|
40
|
+
const watcher = yield* Service43;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service78;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service4.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node6 = makeLocationNode({
|
|
74
|
+
service: Service4,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node45, FSUtil.node, node46, node82]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service4,
|
|
80
|
+
layer: Layer.succeed(Service4, Service4.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service4, layer5, node6, empty2, exports_source };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-q7dmtnxx.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service42
|
|
8
|
+
} from "./rpc-1xhj1txz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
resolve3
|
|
11
|
+
} from "./rpc-vrffbp44.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin29
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin29 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service42;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -177,7 +177,7 @@ var Plugin12 = define({
|
|
|
177
177
|
if (config.variants === undefined && !source?.base)
|
|
178
178
|
models.update(providerID, id, (model) => {
|
|
179
179
|
model.variants = [
|
|
180
|
-
...
|
|
180
|
+
...resolve3({
|
|
181
181
|
...model,
|
|
182
182
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
183
183
|
})
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin29, exports_provider };
|
|
@@ -1,99 +1,99 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-maff49ax.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-5qz9vfqb.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
ChatGPTPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-r3pyn2sd.js";
|
|
13
13
|
import {
|
|
14
14
|
CloudflareAIGatewayPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-fwgga033.js";
|
|
16
16
|
import {
|
|
17
17
|
CloudflareWorkersAIPlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-5tb8a3cn.js";
|
|
19
19
|
import {
|
|
20
20
|
CoherePlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-z0bkrqjs.js";
|
|
22
22
|
import {
|
|
23
23
|
DigitalOceanPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-q8nwh079.js";
|
|
25
25
|
import {
|
|
26
26
|
DynamicProviderPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-vzcthcp8.js";
|
|
28
28
|
import {
|
|
29
29
|
GatewayPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-669tq793.js";
|
|
31
31
|
import {
|
|
32
32
|
GithubCopilotPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-ctvmbjvv.js";
|
|
34
34
|
import {
|
|
35
35
|
GitLabPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./rpc-w7w2jjhx.js";
|
|
37
37
|
import {
|
|
38
38
|
GoogleVertexPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./rpc-fzk8ehhv.js";
|
|
40
40
|
import {
|
|
41
41
|
KiloPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./rpc-qg3g05ea.js";
|
|
43
43
|
import {
|
|
44
44
|
LLMGatewayPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./rpc-f66bccwn.js";
|
|
46
46
|
import {
|
|
47
47
|
LMStudioPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./rpc-240vvp2b.js";
|
|
49
49
|
import {
|
|
50
50
|
ModalPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./rpc-d4w79z61.js";
|
|
52
52
|
import {
|
|
53
53
|
NvidiaPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./rpc-24dcb14g.js";
|
|
55
55
|
import {
|
|
56
56
|
OllamaPlugin2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./rpc-1vxd76q3.js";
|
|
58
58
|
import {
|
|
59
59
|
OpenAIPlugin3
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./rpc-5fn1j13d.js";
|
|
61
61
|
import {
|
|
62
62
|
SnowflakeCortexPlugin2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./rpc-7537esrs.js";
|
|
64
64
|
import {
|
|
65
65
|
OpencodePlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./rpc-px383m71.js";
|
|
67
67
|
import {
|
|
68
68
|
OpenRouterPlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./rpc-antesb8a.js";
|
|
70
70
|
import {
|
|
71
71
|
PerplexityPlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./rpc-veqvce7d.js";
|
|
73
73
|
import {
|
|
74
74
|
PoePlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./rpc-tw7s424j.js";
|
|
76
76
|
import {
|
|
77
77
|
PromptCacheKeyPlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./rpc-6t37hax9.js";
|
|
79
79
|
import {
|
|
80
80
|
SapAICorePlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./rpc-dytv88em.js";
|
|
82
82
|
import {
|
|
83
83
|
VercelPlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./rpc-wg9j838r.js";
|
|
85
85
|
import {
|
|
86
86
|
VenicePlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./rpc-yrhqyw5v.js";
|
|
88
88
|
import {
|
|
89
89
|
VLLMPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./rpc-w547y7sk.js";
|
|
91
91
|
import {
|
|
92
92
|
XAIPlugin2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./rpc-qf2h8j7x.js";
|
|
94
94
|
import {
|
|
95
95
|
ZenmuxPlugin2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./rpc-jjkms2e6.js";
|
|
97
97
|
|
|
98
98
|
// src/plugin/provider.ts
|
|
99
99
|
var ProviderPlugins2 = [
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service62,
|
|
6
|
+
node66
|
|
7
|
+
} from "./rpc-t43fmngk.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-fvxg17y2.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service51,
|
|
23
23
|
make: () => make18,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node53
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service51 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -87,7 +87,7 @@ function decrementSession(input, sessionID) {
|
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
89
|
var make18 = Effect.gen(function* () {
|
|
90
|
-
const kv = yield*
|
|
90
|
+
const kv = yield* Service62;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make18 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service51.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make18 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service51, make18);
|
|
362
|
+
var node53 = makeGlobalNode({ service: Service51, layer, deps: [node66] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service51, make18, node53, exports_job };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-7kkv30ab.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-hj4aaq0x.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-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: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info26,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service67,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node71
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
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 ID10 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event17 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID10,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service67 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service67.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -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 Info26({
|
|
80
|
+
id: input.id ?? ID10.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(Event17.Updated, {}, { global: true });
|
|
112
112
|
if (activated)
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event17.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(Event17.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(Event17.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(Event17.Updated, {}, { global: true });
|
|
199
199
|
if (removed.switched)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}));
|
|
204
|
-
var
|
|
204
|
+
var node71 = makeGlobalNode({ service: Service67, layer, deps: [node88, node87] });
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { ID10, OAuth3, Key3, Value2, Event17, Info26, Service67, node71, exports_credential };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-hj4aaq0x.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service62,
|
|
7
|
+
node66
|
|
8
|
+
} from "./rpc-t43fmngk.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
|
+
ID: () => ID5,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service38,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node41
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event9 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID5 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID5
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID5,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service38 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service83;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service62;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service38.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node41 = makeLocationNode({
|
|
188
|
+
service: Service38,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node87,
|
|
190
|
+
deps: [node87, node66]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service38, node41, exports_websearch3, Event9 };
|