@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,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-yt2qvb82.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID9
|
|
8
|
+
} from "./kv-hw39y2t2.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-fts5bq5k.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event14
|
|
15
|
+
} from "./kv-h11jv7vh.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID4,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-45hb7f83.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service42
|
|
22
|
+
} from "./kv-temcajp8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get3
|
|
25
|
+
} from "./kv-1qtzcvag.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./kv-j41a475f.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID4.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
158
|
+
const catalog = yield* Service42;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID11.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID11.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get3(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID11.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID9.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID9.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID9.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID4.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID11.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID11.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service74,
|
|
6
|
+
node79
|
|
7
|
+
} from "./kv-1r2zdtkd.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service51,
|
|
10
|
+
node55
|
|
11
|
+
} from "./kv-z3t3b1t8.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options5,
|
|
25
|
+
Service: () => Service50,
|
|
26
|
+
configured: () => configured6,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer21,
|
|
29
|
+
node: () => node54,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options5 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service50 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service50, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service74;
|
|
63
|
+
const ripgrep = yield* Service51;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service50.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service50, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service74;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service50.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service50.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer21 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service74;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured6(options) {
|
|
186
|
+
return makeLocationNode({ service: Service50, layer: layer21(options), deps: [node79, node55] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node54 = configured6();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options5, Service50, ripgrepLayer2, fffLayer2, layer21, configured6, node54, exports_search };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service65,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node70
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service65 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service65.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node70 = makeLocationNode({ service: Service65, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service65, node70, exports_image2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID18,
|
|
3
|
+
Service78
|
|
4
|
+
} from "./kv-385btzpz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service74
|
|
7
|
+
} from "./kv-1r2zdtkd.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service60
|
|
10
|
+
} from "./kv-9ft914dh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service59,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-0yz71n10.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./kv-7jz404f1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make9
|
|
20
|
+
} from "./kv-y1ebma8p.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./kv-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin39
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin39 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service60;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin18 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service74;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service59;
|
|
60
|
+
const sessions = yield* Service18;
|
|
61
|
+
const agents = yield* Service78;
|
|
62
|
+
const subagents = yield* make9;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin18 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID18.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin39, exports_command2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-j41a475f.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./kv-h11jv7vh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID4,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-45hb7f83.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID11
|
|
14
|
+
} from "./kv-yt2qvb82.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID11.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID4.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service62;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID4.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-fts5bq5k.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./kv-1r2zdtkd.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID8
|
|
11
|
+
} from "./kv-0kwcw7fy.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service59,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node64
|
|
16
|
+
} from "./kv-0yz71n10.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./kv-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
@@ -27,12 +27,12 @@ __export(exports_pty, {
|
|
|
27
27
|
CreateInput: () => CreateInput3,
|
|
28
28
|
Event: () => Event12,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
30
|
+
Info: () => Info13,
|
|
31
31
|
NotFoundError: () => NotFoundError7,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service58,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node63
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -41,26 +41,26 @@ import { Event as Event12 } from "@opencode/schema/pty";
|
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info13 = Pty.Info;
|
|
45
45
|
var CreateInput3 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
48
|
class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
-
ptyID:
|
|
49
|
+
ptyID: ID8
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID8
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service58 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service74;
|
|
63
|
+
const shell = yield* Service59;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID8.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service58.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node63 = makeLocationNode({
|
|
274
|
+
service: Service58,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84,
|
|
276
|
+
deps: [node84, node79, node64]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info13, CreateInput3, UpdateInput2, NotFoundError7, ExitedError2, Service58, node63, exports_pty, Event12 };
|