@opencode/core 0.0.0-dev-19300 → 0.0.0-dev-19305
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{repository-m52vhm9w.js → kv-06zq0e3e.js} +10 -10
- package/dist/chunks/{repository-mtgx628c.js → kv-0d8k8whk.js} +16 -16
- package/dist/chunks/kv-0kwcw7fy.js +4 -0
- package/dist/chunks/{repository-1rw8y3qp.js → kv-0nddvemt.js} +23 -23
- package/dist/chunks/{repository-g32rby1q.js → kv-0pa87wdg.js} +16 -16
- package/dist/chunks/{repository-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-2qw4fg5j.js → kv-0yjrx829.js} +26 -26
- package/dist/chunks/{repository-ng1cxp70.js → kv-0yz71n10.js} +15 -15
- package/dist/chunks/{repository-p5ym65ek.js → kv-12v07r08.js} +12 -12
- package/dist/chunks/kv-18nhnycp.js +22 -0
- package/dist/chunks/{repository-ve4pfa0n.js → kv-1a6p2twq.js} +4 -4
- package/dist/chunks/{repository-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-1dfhrqqs.js → kv-1dfhrqqs.js} +2 -2
- package/dist/chunks/{repository-0y360m9h.js → kv-1g7qrdvj.js} +20 -20
- package/dist/chunks/{repository-fcx00w1h.js → kv-1pgaj36c.js} +9 -9
- package/dist/chunks/{repository-pjw4mgws.js → kv-1qtzcvag.js} +15 -15
- package/dist/chunks/{repository-svz4xhyh.js → kv-1r2zdtkd.js} +17 -17
- package/dist/chunks/{repository-23ys1acm.js → kv-1rwkxv71.js} +22 -22
- package/dist/chunks/{repository-2p2ash1s.js → kv-1x79khn6.js} +6 -6
- package/dist/chunks/{repository-np2wt734.js → kv-1y13kvtj.js} +64 -64
- package/dist/chunks/{repository-f19mrtp6.js → kv-205hyhp5.js} +24 -24
- package/dist/chunks/{repository-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{repository-5hk4b2g6.js → kv-23279rje.js} +8 -8
- package/dist/chunks/{repository-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-pzqj8cz9.js → kv-2fa0tcff.js} +11 -11
- package/dist/chunks/{repository-2jd3nfvw.js → kv-2m7h6g0w.js} +26 -26
- package/dist/chunks/{repository-jc87ns02.js → kv-2sswhhhj.js} +29 -29
- package/dist/chunks/{repository-xn4600q8.js → kv-2tavq0r4.js} +4 -4
- package/dist/chunks/{repository-mqypt7zj.js → kv-2v31gz2r.js} +10 -10
- package/dist/chunks/{repository-2ke5dpvq.js → kv-2z2smmkn.js} +16 -16
- package/dist/chunks/{repository-28bdjpwd.js → kv-2zc5egdh.js} +20 -20
- package/dist/chunks/{repository-56gdpj1q.js → kv-33w4ejhs.js} +6 -6
- package/dist/chunks/{repository-bs5pepmy.js → kv-385btzpz.js} +24 -24
- package/dist/chunks/{repository-vm3tqwqk.js → kv-386yacj4.js} +4 -4
- package/dist/chunks/{repository-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-pz6kvv0a.js → kv-3ydrj0e1.js} +11 -11
- package/dist/chunks/{repository-z4vx8zth.js → kv-45hb7f83.js} +26 -26
- package/dist/chunks/{repository-fygdb7h7.js → kv-47r3zz0x.js} +3 -3
- package/dist/chunks/{repository-bk1bf212.js → kv-4dekfvbj.js} +32 -32
- package/dist/chunks/{repository-96yt6zt0.js → kv-4whayx0s.js} +1 -1
- package/dist/chunks/{repository-qxc8wz53.js → kv-4wz9d7kc.js} +20 -20
- package/dist/chunks/{repository-zapem284.js → kv-4zhbjfra.js} +20 -20
- package/dist/chunks/{repository-65tew8e9.js → kv-54993ev7.js} +32 -32
- package/dist/chunks/{repository-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-4ftw1z01.js → kv-5fmfe22g.js} +15 -15
- package/dist/chunks/{repository-hc0r56wb.js → kv-5h3nb936.js} +41 -41
- package/dist/chunks/{repository-qe2326jn.js → kv-5jrfr8a0.js} +6 -6
- package/dist/chunks/{repository-nyfsa3d4.js → kv-5mgj9z2s.js} +15 -15
- package/dist/chunks/kv-5mv3qnn6.js +247 -0
- package/dist/chunks/{repository-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-nw0w9xts.js → kv-5zhnrkq5.js} +18 -18
- package/dist/chunks/{repository-sf673xhe.js → kv-60mz5h67.js} +13 -13
- package/dist/chunks/{repository-wvp8ne5c.js → kv-631qzpxd.js} +14 -14
- package/dist/chunks/{repository-ppg2pkc4.js → kv-654ce46n.js} +7 -7
- package/dist/chunks/{repository-669tq793.js → kv-669tq793.js} +1 -1
- package/dist/chunks/{repository-6h73sxmp.js → kv-6h73sxmp.js} +1 -1
- package/dist/chunks/{repository-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-6s9eyz9r.js → kv-6s9eyz9r.js} +4 -4
- package/dist/chunks/{repository-fvkyxybn.js → kv-6wswrqax.js} +23 -23
- package/dist/chunks/{repository-71q4at8m.js → kv-71q4at8m.js} +1 -1
- package/dist/chunks/{repository-mvfsc1pv.js → kv-73tb2d7t.js} +3 -3
- package/dist/chunks/{repository-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-qgn6gcr1.js → kv-7dqw4kz8.js} +5 -5
- package/dist/chunks/{repository-d3p1g0v9.js → kv-7jz404f1.js} +81 -81
- package/dist/chunks/{repository-h9xzymfq.js → kv-7rr4f4n7.js} +4 -4
- package/dist/chunks/{repository-3faemfqa.js → kv-7tr6s30h.js} +15 -15
- package/dist/chunks/{repository-n77pyy8y.js → kv-7wdy64v3.js} +4 -4
- package/dist/chunks/{repository-qth74v4j.js → kv-818pfwc9.js} +11 -11
- package/dist/chunks/{repository-bksjv0kp.js → kv-83p1geyf.js} +14 -14
- package/dist/chunks/{repository-1235z6h5.js → kv-8d2c4t5g.js} +9 -9
- package/dist/chunks/{repository-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-hbhp39pa.js → kv-8kxdp5sm.js} +23 -23
- package/dist/chunks/{repository-8p4f9s12.js → kv-8p4f9s12.js} +2 -2
- package/dist/chunks/{repository-t9azvbfb.js → kv-8ydwgjmc.js} +17 -17
- package/dist/chunks/{repository-vxzf7v58.js → kv-979jzsrn.js} +3 -3
- package/dist/chunks/{repository-drx0v7dc.js → kv-992nrvv2.js} +15 -15
- package/dist/chunks/{repository-w86n12pv.js → kv-9ft914dh.js} +41 -41
- package/dist/chunks/{repository-tysrnn2h.js → kv-9g1by0bf.js} +11 -11
- package/dist/chunks/{repository-0ms83wsr.js → kv-9j856hay.js} +12 -12
- package/dist/chunks/{repository-g1nak0bc.js → kv-9nnkqgar.js} +18 -18
- package/dist/chunks/{repository-v33xfvcj.js → kv-9pv0dm11.js} +9 -9
- package/dist/chunks/{repository-a1bz86dw.js → kv-a1bz86dw.js} +3 -3
- package/dist/chunks/{repository-806j49yq.js → kv-a2ew8a62.js} +4 -4
- package/dist/chunks/{repository-eppyg65b.js → kv-a91jrmzy.js} +25 -25
- package/dist/chunks/{repository-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-4rq8jptq.js → kv-akzgzmy5.js} +13 -13
- package/dist/chunks/{repository-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-98h7z1dp.js → kv-b7xbmwj9.js} +5 -5
- package/dist/chunks/{repository-j7rmzkqc.js → kv-bchv7rjf.js} +16 -16
- package/dist/chunks/{repository-p40ajvra.js → kv-bp5q4kjs.js} +46 -46
- package/dist/chunks/{repository-42x6g9em.js → kv-btdv9ryv.js} +20 -20
- package/dist/chunks/{repository-20d5ynpz.js → kv-c700j0vg.js} +20 -20
- package/dist/chunks/{repository-rad6g3ft.js → kv-cbys0e10.js} +6 -6
- package/dist/chunks/{repository-cfpkc3c9.js → kv-cfpkc3c9.js} +2 -2
- package/dist/chunks/{repository-s702d5fa.js → kv-cm67pz5m.js} +44 -44
- package/dist/chunks/{repository-j0er744w.js → kv-csw7rs6s.js} +8 -8
- package/dist/chunks/{repository-1s7e6phh.js → kv-cz7fd6ea.js} +9 -9
- package/dist/chunks/{repository-ehg1nygq.js → kv-czntfx8t.js} +6 -6
- package/dist/chunks/{repository-fy9dm37w.js → kv-d0acbv0h.js} +44 -44
- package/dist/chunks/{repository-2nxb55e9.js → kv-d1z2e9b7.js} +11 -11
- package/dist/chunks/{repository-v4t0dn9g.js → kv-d9sn21bc.js} +2 -2
- package/dist/chunks/{repository-gg4p3dxp.js → kv-dvvjdwja.js} +39 -39
- package/dist/chunks/{repository-5kh3zgw0.js → kv-e0j10c9k.js} +15 -15
- package/dist/chunks/{repository-r034twb5.js → kv-e7sgzf74.js} +18 -18
- package/dist/chunks/{repository-af04s6ss.js → kv-ead3g9p8.js} +5 -5
- package/dist/chunks/{repository-eaj1djv9.js → kv-eaj1djv9.js} +1 -1
- package/dist/chunks/{repository-f2wm6whm.js → kv-edhs40p9.js} +10 -10
- package/dist/chunks/{repository-65k3vztb.js → kv-ej5hckht.js} +54 -54
- package/dist/chunks/{repository-gasa05ya.js → kv-ekcx5as7.js} +35 -35
- package/dist/chunks/{repository-qegb081p.js → kv-erqeev50.js} +15 -15
- package/dist/chunks/{repository-g5qy6dee.js → kv-esvgtq8n.js} +13 -13
- package/dist/chunks/{repository-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-r9babyk8.js → kv-ezn8zr4k.js} +1 -1
- package/dist/chunks/{repository-1xb5wcr4.js → kv-f0gm38sp.js} +13 -13
- package/dist/chunks/{repository-42t63d0v.js → kv-f3xjqa4w.js} +9 -9
- package/dist/chunks/{repository-f828m53h.js → kv-f828m53h.js} +2 -2
- package/dist/chunks/{repository-5ck9wg8w.js → kv-fafk78t6.js} +8 -8
- package/dist/chunks/{repository-pnean495.js → kv-ff8r9ysp.js} +5 -5
- package/dist/chunks/{repository-12gb8myc.js → kv-ffr714k0.js} +17 -17
- package/dist/chunks/{repository-nayt11ps.js → kv-fj3qsqhh.js} +3 -3
- package/dist/chunks/{repository-5m82w98f.js → kv-fs7g862w.js} +36 -36
- package/dist/chunks/{repository-mvdnynp8.js → kv-fts5bq5k.js} +4 -4
- package/dist/chunks/{repository-rpxwpx2g.js → kv-fx2zdwtr.js} +13 -13
- package/dist/chunks/{repository-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-bz3n39rt.js → kv-fyfhjpam.js} +59 -59
- package/dist/chunks/{repository-6m42r3np.js → kv-g190xswt.js} +21 -21
- package/dist/chunks/{repository-twcs75va.js → kv-g3tb9zt0.js} +20 -20
- package/dist/chunks/{repository-k16ay38w.js → kv-g6ew7cqr.js} +1 -1
- package/dist/chunks/{repository-f8q7mv7a.js → kv-g9245y80.js} +1 -1
- package/dist/chunks/{repository-cfhyqxd5.js → kv-g98bfr3c.js} +24 -24
- package/dist/chunks/{repository-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-z69s9t6b.js → kv-gey3b743.js} +5 -5
- package/dist/chunks/{repository-e7710hd6.js → kv-gqawmzqm.js} +8 -8
- package/dist/chunks/{repository-06x8he3q.js → kv-gst7axd9.js} +4 -4
- package/dist/chunks/{repository-g52x9ads.js → kv-gvp0w9xb.js} +10 -10
- package/dist/chunks/{repository-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
- package/dist/chunks/{repository-5p36ytzk.js → kv-h11jv7vh.js} +28 -28
- package/dist/chunks/{repository-acr4esdf.js → kv-h1qq3dsd.js} +26 -26
- package/dist/chunks/{repository-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-1080qp6z.js → kv-h6z8d5tn.js} +4 -4
- package/dist/chunks/{repository-a3xfqne5.js → kv-hg4g3nha.js} +19 -19
- package/dist/chunks/{repository-83m7jv2c.js → kv-hghep4wy.js} +6 -6
- package/dist/chunks/{repository-ec018mz5.js → kv-hm622x1n.js} +8 -8
- package/dist/chunks/{repository-b0q3gy5e.js → kv-hw39y2t2.js} +10 -10
- package/dist/chunks/{repository-fgh0kbhd.js → kv-hx55d56e.js} +1 -1
- package/dist/chunks/{repository-q5zafh14.js → kv-hy7dp2k3.js} +6 -6
- package/dist/chunks/{repository-eddb1hsm.js → kv-j235te6d.js} +3 -3
- package/dist/chunks/{repository-pgyxckf0.js → kv-j41a475f.js} +11 -11
- package/dist/chunks/{repository-756ftpmv.js → kv-j438vazm.js} +4 -4
- package/dist/chunks/{repository-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-ndmv45hp.js → kv-j7wq2tw5.js} +2 -2
- package/dist/chunks/{repository-3da9a2rq.js → kv-j8vakhm6.js} +41 -41
- package/dist/chunks/{repository-s9teexy3.js → kv-jkvd5y7z.js} +13 -13
- package/dist/chunks/{repository-gw75b7xp.js → kv-jwa4fmm9.js} +37 -37
- package/dist/chunks/{repository-kg06axw8.js → kv-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-21505my7.js → kv-kx3d0pr1.js} +32 -32
- package/dist/chunks/{repository-81rrwt6s.js → kv-kzd68pqg.js} +6 -6
- package/dist/chunks/{repository-crptryd9.js → kv-m2d0j7c0.js} +8 -8
- package/dist/chunks/{repository-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-24jpa85g.js → kv-maaqrbhp.js} +11 -11
- package/dist/chunks/{repository-mkcjrzeh.js → kv-mkcjrzeh.js} +1 -1
- package/dist/chunks/{repository-ksz0h0wp.js → kv-mp045f7j.js} +1 -1
- package/dist/chunks/{repository-x8pybnqb.js → kv-mrn7qyex.js} +9 -9
- package/dist/chunks/{repository-ygab95pb.js → kv-n3fvjmy7.js} +11 -11
- package/dist/chunks/{repository-9e0shq8y.js → kv-n91raeq2.js} +2 -2
- package/dist/chunks/{repository-3tey5e4w.js → kv-nbddwgy7.js} +10 -10
- package/dist/chunks/{repository-0sb7r7z8.js → kv-nce8p23g.js} +164 -164
- package/dist/chunks/{repository-gj9xpvv3.js → kv-nhvhf6q8.js} +6 -6
- package/dist/chunks/{repository-nhy5jxhy.js → kv-nhy5jxhy.js} +1 -1
- package/dist/chunks/{repository-n76fdqym.js → kv-njyck951.js} +5 -5
- package/dist/chunks/{repository-nxrh5nrb.js → kv-nksescck.js} +10 -10
- package/dist/chunks/{repository-bccb6npm.js → kv-paegk39x.js} +4 -4
- package/dist/chunks/{repository-d971jd90.js → kv-pagkjc3y.js} +19 -19
- package/dist/chunks/{repository-j935v87r.js → kv-paphc93g.js} +2 -2
- package/dist/chunks/{repository-n8gkpbkd.js → kv-pepqf6ga.js} +21 -21
- package/dist/chunks/{repository-zhxw6mnd.js → kv-pf07gewk.js} +2 -2
- package/dist/chunks/kv-pf31ssb9.js +18 -0
- package/dist/chunks/{repository-pjedbq3k.js → kv-pjedbq3k.js} +1 -1
- package/dist/chunks/{repository-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{repository-a7ya2t55.js → kv-pmk1pqd6.js} +4 -4
- package/dist/chunks/{repository-farzb5ty.js → kv-pq2fa145.js} +15 -15
- package/dist/chunks/{repository-yyyn8rfv.js → kv-pytnpz35.js} +5 -5
- package/dist/chunks/{repository-m9wjgnng.js → kv-q0me2p8d.js} +9 -9
- package/dist/chunks/{repository-2hyh68ab.js → kv-q26tgv94.js} +8 -8
- package/dist/chunks/{repository-8brhm2ma.js → kv-qa0xdzs2.js} +35 -35
- package/dist/chunks/{repository-0rvwym2w.js → kv-qeh09qy1.js} +4 -4
- package/dist/chunks/{repository-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-njtrby3g.js → kv-qta1thjb.js} +14 -14
- package/dist/chunks/{repository-25dt1yg9.js → kv-qy03xt3s.js} +41 -41
- package/dist/chunks/{repository-7yqjxrmz.js → kv-qz49fwgp.js} +4 -4
- package/dist/chunks/{repository-sqc84shp.js → kv-rentfk4q.js} +33 -33
- package/dist/chunks/{repository-t0sqncza.js → kv-rmk2c50f.js} +5 -5
- package/dist/chunks/{repository-1d1r455x.js → kv-rs0jkqyn.js} +15 -15
- package/dist/chunks/{repository-m1jtpm13.js → kv-rwtq93ad.js} +4 -4
- package/dist/chunks/{repository-5ta6a5m3.js → kv-s30wkzvp.js} +12 -12
- package/dist/chunks/{repository-egdp0v7k.js → kv-s3r3b7q0.js} +11 -11
- package/dist/chunks/{repository-twkbfbpv.js → kv-s5k7vegs.js} +23 -23
- package/dist/chunks/{repository-7yscfpph.js → kv-s6awdsy0.js} +7 -7
- package/dist/chunks/{repository-wsax0zm4.js → kv-sgdmzdqa.js} +20 -20
- package/dist/chunks/{repository-ja76sygq.js → kv-strj3zkw.js} +9 -9
- package/dist/chunks/{repository-t97t2t7r.js → kv-swe4yj3v.js} +9 -9
- package/dist/chunks/{repository-zqn7tw4w.js → kv-sz3a1ten.js} +16 -16
- package/dist/chunks/{repository-8w9tvb25.js → kv-t0x5rdq8.js} +9 -9
- package/dist/chunks/{repository-5ndbzdej.js → kv-t6yvnw0e.js} +41 -41
- package/dist/chunks/{repository-hd29wc17.js → kv-t8bhz2vr.js} +8 -8
- package/dist/chunks/{repository-z6dtt623.js → kv-t9ke5tbg.js} +37 -37
- package/dist/chunks/{repository-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-vc1a951d.js → kv-tdsjmbek.js} +35 -35
- package/dist/chunks/{repository-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{repository-pt9hhbjv.js → kv-temcajp8.js} +23 -23
- package/dist/chunks/{repository-tf1axwb0.js → kv-tgcgw25p.js} +27 -27
- package/dist/chunks/{repository-gv6a8nnw.js → kv-th5km1p3.js} +5 -5
- package/dist/chunks/{repository-p3cr5m8k.js → kv-tmxsk5ay.js} +11 -11
- package/dist/chunks/{repository-tn0aqsam.js → kv-tn0aqsam.js} +2 -2
- package/dist/chunks/{repository-h77e4z6a.js → kv-tph2fk4h.js} +9 -9
- package/dist/chunks/{repository-tvtrv512.js → kv-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-t430gn4d.js → kv-ve1enffa.js} +24 -24
- package/dist/chunks/{repository-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-bey7x3zt.js → kv-vk1ne14n.js} +24 -24
- package/dist/chunks/{repository-hcz3zddy.js → kv-vmq7ehpy.js} +5 -5
- package/dist/chunks/{repository-trjbg8c1.js → kv-vn5xh55y.js} +16 -16
- package/dist/chunks/{repository-6nyfbssk.js → kv-vrx6ppv4.js} +22 -22
- package/dist/chunks/{repository-rsvmvhbp.js → kv-vt44rdpy.js} +8 -8
- package/dist/chunks/{repository-ee84hvhb.js → kv-vx7ccse2.js} +13 -13
- package/dist/chunks/{repository-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-11tcp5y8.js → kv-vze96k0n.js} +4 -4
- package/dist/chunks/{repository-hhnggr0y.js → kv-w12rp218.js} +9 -9
- package/dist/chunks/{repository-2gqxkbxa.js → kv-w2bv7fed.js} +20 -20
- package/dist/chunks/{repository-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-t23qze4t.js → kv-w79zsp0s.js} +1 -1
- package/dist/chunks/{repository-ct5ygdvv.js → kv-wb7ykpge.js} +32 -32
- package/dist/chunks/{repository-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{repository-esj243wz.js → kv-wk5z6jzv.js} +9 -9
- package/dist/chunks/{repository-tetdjcv5.js → kv-wrvngkj1.js} +11 -11
- package/dist/chunks/{repository-7fh28bch.js → kv-wvssgkrf.js} +30 -30
- package/dist/chunks/{repository-byvwwxkk.js → kv-wzcjkfks.js} +30 -30
- package/dist/chunks/{repository-f9dnc6qb.js → kv-wzq4pq7r.js} +9 -9
- package/dist/chunks/{repository-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-z9czcytr.js → kv-x2xe7v1f.js} +28 -28
- package/dist/chunks/{repository-x43y2vfs.js → kv-x43y2vfs.js} +2 -2
- package/dist/chunks/{repository-dcmk5z6d.js → kv-x62ywaz6.js} +11 -11
- package/dist/chunks/{repository-y1p12sez.js → kv-x636v8jx.js} +27 -27
- package/dist/chunks/{repository-3sy2qy7n.js → kv-x82mgsnk.js} +1 -1
- package/dist/chunks/{repository-q7v1pqah.js → kv-xebmnhc4.js} +10 -10
- package/dist/chunks/{repository-5wz9f6t6.js → kv-xeyrsf3e.js} +16 -16
- package/dist/chunks/{repository-nf52vkfc.js → kv-xgr9hw2t.js} +11 -11
- package/dist/chunks/{repository-2zm9r2mq.js → kv-xjmjzbm2.js} +33 -33
- package/dist/chunks/{repository-mhwnn3nh.js → kv-xp20cf23.js} +7 -7
- package/dist/chunks/{repository-99xeyytz.js → kv-xrw35cq0.js} +22 -22
- package/dist/chunks/{repository-n6fqsy4a.js → kv-xxwv7ftt.js} +9 -9
- package/dist/chunks/{repository-xwdv5ax5.js → kv-y1ebma8p.js} +11 -11
- package/dist/chunks/{repository-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-fk4ccpbg.js → kv-y30c2c2s.js} +17 -17
- package/dist/chunks/{repository-b3mzkn50.js → kv-y45g446j.js} +17 -17
- package/dist/chunks/{repository-y71avatq.js → kv-y71avatq.js} +1 -1
- package/dist/chunks/{repository-bn9sxrbg.js → kv-ygcyspqj.js} +28 -28
- package/dist/chunks/{repository-1acjjqhc.js → kv-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-s4enseaf.js → kv-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-xxrmh4kw.js → kv-ys4qthf1.js} +37 -37
- package/dist/chunks/{repository-m27pyyd3.js → kv-yt2qvb82.js} +8 -8
- package/dist/chunks/{repository-488yfy34.js → kv-yyqejxk6.js} +16 -16
- package/dist/chunks/{repository-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-9nps6jxk.js → kv-z0jk54k5.js} +87 -87
- package/dist/chunks/{repository-cqz2c9ze.js → kv-z1xgx1q6.js} +14 -14
- package/dist/chunks/{repository-s784my9g.js → kv-z3t3b1t8.js} +18 -18
- package/dist/chunks/{repository-29x78va6.js → kv-z63w68vq.js} +6 -6
- package/dist/chunks/{repository-hj52cskm.js → kv-z7k2beek.js} +3 -3
- package/dist/chunks/kv-z99gdnr1.js +462 -0
- package/dist/chunks/{repository-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-5c74bejr.js → kv-zg1cw4cj.js} +13 -13
- package/dist/chunks/{repository-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-0f776x05.js → kv-zvd5jbwb.js} +15 -15
- package/dist/chunks/{repository-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-8g0ywzr5.js → kv-zyj2twks.js} +18 -18
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +77 -77
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +77 -77
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- 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 +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +133 -133
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +101 -101
- package/dist/snapshot.js +86 -86
- 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 +117 -117
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +1 -1
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/repository-dxj72tfx.js +0 -18
- package/dist/chunks/repository-gjn7zjnk.js +0 -247
- package/dist/chunks/repository-h47he10w.js +0 -4
- package/dist/chunks/repository-jn0ab61b.js +0 -22
- package/dist/chunks/repository-pe1hnp5n.js +0 -462
- /package/dist/chunks/{repository-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → kv-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a1tpkmh4.js → kv-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-hrnqkpcd.js → kv-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-fts5bq5k.js";
|
|
5
5
|
import {
|
|
6
6
|
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-6h73sxmp.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service66,
|
|
17
|
+
node71
|
|
18
|
+
} from "./kv-c700j0vg.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./kv-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event4,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info4,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service31,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node35
|
|
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 Event4 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info4 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service31 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service79;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service66;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info4.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info4.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(Service36, 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 Service31.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(Service36, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node35 = makeLocationNode({
|
|
116
|
+
service: Service31,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node84,
|
|
118
|
+
deps: [Global.node, node84, node71]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info4, Service31, node35, exports_reference2, Event4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./kv-yt2qvb82.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID11.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID11.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-33w4ejhs.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin19,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin19 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin37 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint5);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint5, Plugin19, exports_exa };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service37,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service37 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service37, exports_runner };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./kv-hw39y2t2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./kv-9ft914dh.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-xp20cf23.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service60;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
catalog.model.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID9.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make6();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-z7k2beek.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-fts5bq5k.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./kv-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event14,
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info25,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service62,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node67
|
|
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
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event14 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info25 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 Service62 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
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 Info25({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service62.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(Service75, 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:
|
|
79
|
+
const credential = new Info25({
|
|
80
|
+
id: ID10.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node67 = makeGlobalNode({ service: Service62, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID10, OAuth3, Key3, Value2, Event14, Info25, Service62, node67, exports_credential };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-fts5bq5k.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event8,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID6,
|
|
20
|
+
Info: () => Info8,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError5,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service46,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer20,
|
|
29
|
+
node: () => node50,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event8 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID6 = Form.ID;
|
|
39
|
+
var Info8 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError5 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID6
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID6
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID6
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID6,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service46 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer20 = Layer.effect(Service46, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service79;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError5({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID6.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer24 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service46.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node50 = makeLocationNode({ service: Service46, layer: layer20, deps: [node84] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID6, Info8, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError5, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service46, layer20, node50, validateAnswer2, validateFields2, exports_form, Event8 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin25
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin25 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin34 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin25, exports_mcp_codemode_exclusion };
|