@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-hj4aaq0x.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service36,
|
|
17
|
+
node39
|
|
18
|
+
} from "./rpc-658hk3ar.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event7,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info8,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service35,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node38
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event7 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info8 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service35 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service36;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info8.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info8.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service35.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node38 = makeLocationNode({
|
|
116
|
+
service: Service35,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node39]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info8, Service35, node38, exports_reference2, Event7 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service52,
|
|
3
|
+
node54
|
|
4
|
+
} from "./rpc-n3s1wep9.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-fvxg17y2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service50,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node52,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service50 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service52;
|
|
59
|
+
return Service50.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node52 = makeLocationNode({ service: Service50, layer, deps: [node54] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service50, resolved2, node52, exports_model };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-3zn4sg2c.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin36
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin36 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin36, exports_plan };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info17
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info17 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info10 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info17, exports_command5 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
4
|
+
var ID14 = Session.ID;
|
|
5
5
|
var Info30 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID14, Info30, SessionSchema2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./rpc-q7dmtnxx.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-zzrx66n5.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID8.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./rpc-1xhj1txz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./rpc-qmx1h8v8.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin18
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin18 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service42;
|
|
29
|
+
const managed = yield* Service39;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin11 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin18, exports_policy };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./rpc-q7dmtnxx.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID8.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-hj4aaq0x.js";
|
|
8
|
+
import {
|
|
9
|
+
Event17,
|
|
10
|
+
Service67,
|
|
11
|
+
node71
|
|
12
|
+
} from "./rpc-jmttzreg.js";
|
|
8
13
|
import {
|
|
9
|
-
Event20,
|
|
10
14
|
Service78,
|
|
11
15
|
node82
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service80,
|
|
15
|
-
node84
|
|
16
|
-
} from "./websearch-s8e944fn.js";
|
|
16
|
+
} from "./rpc-5dht68aa.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service57,
|
|
19
|
+
node59
|
|
20
|
+
} from "./rpc-va7p1h3t.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service76,
|
|
24
|
+
node80
|
|
25
|
+
} from "./rpc-wtcb6vs4.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service66,
|
|
34
|
+
node70
|
|
35
|
+
} from "./rpc-y82bc83e.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./rpc-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -52,8 +52,8 @@ __export(exports_mcp4, {
|
|
|
52
52
|
Service: () => Service30,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
55
|
+
configured: () => configured2,
|
|
56
|
+
layer: () => layer12,
|
|
57
57
|
node: () => node33
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -105,19 +105,19 @@ var cloneConfig = (config) => structuredClone(config);
|
|
|
105
105
|
|
|
106
106
|
class Service30 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options2 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const environment = yield* Service57;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service76;
|
|
119
|
+
const integration = yield* Service66;
|
|
120
|
+
const credentials = yield* Service67;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID9.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service67, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError3({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service67, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID15.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service57, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured2(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
535
|
service: Service30,
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
536
|
+
layer: layer12(options),
|
|
537
|
+
deps: [node82, node59, node87, node80, node70, node71]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var node33 =
|
|
540
|
+
var node33 = configured2();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service30, Options2, layer12, configured2, node33, exports_mcp4 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-hj4aaq0x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service59,
|
|
6
|
+
Event12
|
|
7
|
+
} from "./rpc-nxpjk0n4.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin2,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin2 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service83;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service59;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin49 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin2, exports_plugin };
|