@opencode/core 0.0.0-dev-19870 → 0.0.0-dev-19873
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{variant-797prdqw.js → workspace-0065dgqy.js} +31 -31
- package/dist/chunks/{variant-baasw9zs.js → workspace-036p5t1s.js} +4 -4
- package/dist/chunks/{variant-rj9ftj0p.js → workspace-0fz4zz3n.js} +13 -13
- package/dist/chunks/{variant-0jq9fyba.js → workspace-0jq9fyba.js} +2 -2
- package/dist/chunks/{variant-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{variant-h48hzw2b.js → workspace-0sq7pbe4.js} +10 -10
- package/dist/chunks/{variant-fhz5gfgy.js → workspace-150yg2gd.js} +5 -5
- package/dist/chunks/{variant-rvh4km1y.js → workspace-17qtn851.js} +20 -20
- package/dist/chunks/{variant-1bbkgx8g.js → workspace-1bbkgx8g.js} +1 -1
- package/dist/chunks/{variant-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-w666pgwc.js → workspace-1jnm4jdm.js} +43 -43
- package/dist/chunks/{variant-h1cw8hcp.js → workspace-1zs4mem0.js} +26 -26
- package/dist/chunks/{variant-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{variant-w1kyw1wm.js → workspace-22sm3a33.js} +6 -6
- package/dist/chunks/{variant-6h73sxmp.js → workspace-2402vzrj.js} +5 -5
- package/dist/chunks/{variant-t44e5ekz.js → workspace-299n82gd.js} +6 -6
- package/dist/chunks/{variant-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-mrvjcs5x.js → workspace-2myva995.js} +6 -6
- package/dist/chunks/{variant-ytn5d3vs.js → workspace-2nysdb6c.js} +15 -15
- package/dist/chunks/{variant-kfmyqsf5.js → workspace-2r5z2msy.js} +9 -9
- package/dist/chunks/{variant-drds58r6.js → workspace-2vpqkgyn.js} +32 -32
- package/dist/chunks/{variant-smbnzawa.js → workspace-30gjtdfv.js} +8 -8
- package/dist/chunks/{variant-hs28tab5.js → workspace-31hf238s.js} +8 -8
- package/dist/chunks/{variant-teqxcq05.js → workspace-34wh5bj8.js} +9 -9
- package/dist/chunks/{variant-66f6bbr7.js → workspace-366sgdxg.js} +14 -14
- package/dist/chunks/{variant-p4qdj091.js → workspace-3bnmr0bq.js} +27 -27
- package/dist/chunks/{variant-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-tz84jmpd.js → workspace-3gkgte7t.js} +13 -13
- package/dist/chunks/{variant-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-gxbfjqcv.js → workspace-3npj8t1e.js} +8 -8
- package/dist/chunks/{variant-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-txhgrjp2.js → workspace-3tj000pn.js} +15 -15
- package/dist/chunks/{variant-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-pe9k0hgm.js → workspace-41esmdat.js} +18 -18
- package/dist/chunks/{variant-3kj23qd9.js → workspace-4b85tpxd.js} +22 -22
- package/dist/chunks/{variant-kefnbk3p.js → workspace-4d7v841x.js} +9 -9
- package/dist/chunks/{variant-7d77z8qn.js → workspace-4henhz1c.js} +28 -28
- package/dist/chunks/{variant-1rndcnww.js → workspace-4njxjgm5.js} +14 -14
- package/dist/chunks/{variant-9hfpfwmp.js → workspace-4xk002vj.js} +25 -25
- package/dist/chunks/{variant-gg7pg1rj.js → workspace-510m7gjw.js} +5 -5
- package/dist/chunks/{variant-81swgkk7.js → workspace-57ez7d0k.js} +7 -7
- package/dist/chunks/{variant-msq0jde0.js → workspace-5c0f1prt.js} +4 -4
- package/dist/chunks/{variant-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-4x868fka.js → workspace-5e7dwadz.js} +16 -16
- package/dist/chunks/{variant-pm0pb3r2.js → workspace-5pq41k6y.js} +8 -8
- package/dist/chunks/{variant-4bwdz5w5.js → workspace-5qp4g9kd.js} +24 -24
- package/dist/chunks/{variant-78rnjdtr.js → workspace-5t10t3wy.js} +22 -22
- package/dist/chunks/{variant-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-g18gr89e.js → workspace-61fxnknp.js} +49 -49
- package/dist/chunks/{variant-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{variant-r558ape6.js → workspace-6a1dxhbz.js} +10 -10
- package/dist/chunks/{variant-kjk9sg2v.js → workspace-6b4ymytp.js} +16 -16
- package/dist/chunks/{variant-6wz2mwbh.js → workspace-6j725dzc.js} +13 -6
- package/dist/chunks/{variant-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-38xgq6ts.js → workspace-6rwaq330.js} +1 -1
- package/dist/chunks/{variant-9pkkzrmj.js → workspace-6vq97qmv.js} +5 -5
- package/dist/chunks/{variant-mpgyntzp.js → workspace-6yt6hxry.js} +6 -6
- package/dist/chunks/{variant-1fp8qf5t.js → workspace-6zf41970.js} +16 -16
- package/dist/chunks/{variant-595ycqh3.js → workspace-709xpvx9.js} +12 -12
- package/dist/chunks/{variant-tn764by2.js → workspace-728mcprz.js} +6 -6
- package/dist/chunks/{variant-qnk3s0sd.js → workspace-76mtqfdb.js} +21 -21
- package/dist/chunks/{variant-x9x1wca8.js → workspace-7bf9vhv9.js} +81 -81
- package/dist/chunks/{variant-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-bcnj3jcy.js → workspace-7c97fsd3.js} +2 -2
- package/dist/chunks/{variant-85ka1n07.js → workspace-7r0jg88s.js} +4 -4
- package/dist/chunks/{variant-3a83a0n4.js → workspace-7s451enq.js} +8 -8
- package/dist/chunks/{variant-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/workspace-8ks0wbke.js +26 -0
- package/dist/chunks/{variant-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
- package/dist/chunks/{variant-tfn5j0a9.js → workspace-8qkm32xa.js} +13 -13
- package/dist/chunks/{variant-erzb7j7f.js → workspace-92k45pvj.js} +6 -6
- package/dist/chunks/{variant-mrb3fjvr.js → workspace-9am0prd5.js} +11 -11
- package/dist/chunks/{variant-j5029czd.js → workspace-9gntjbfz.js} +31 -31
- package/dist/chunks/{variant-wsr5pxgw.js → workspace-9ke4xx6d.js} +17 -17
- package/dist/chunks/{variant-hv4mpymf.js → workspace-9q3zqkhg.js} +10 -10
- package/dist/chunks/{variant-zmfbpthp.js → workspace-9v85pz74.js} +15 -15
- package/dist/chunks/{variant-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
- package/dist/chunks/{variant-t6vsspdg.js → workspace-a2ew8a62.js} +7 -7
- package/dist/chunks/{variant-b09hzw3k.js → workspace-a3r4dcrj.js} +2 -2
- package/dist/chunks/{variant-sh98p1a6.js → workspace-a823bscf.js} +4 -4
- package/dist/chunks/{variant-699ehe3v.js → workspace-a9x56jpx.js} +20 -20
- package/dist/chunks/{variant-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-xq2nfj3p.js → workspace-ac130235.js} +30 -30
- package/dist/chunks/{variant-5n7wdh8h.js → workspace-ag0051rk.js} +46 -46
- package/dist/chunks/{variant-hfz6vx2t.js → workspace-aj0pcar2.js} +23 -23
- package/dist/chunks/{variant-7dn399d2.js → workspace-ak9t2d76.js} +18 -18
- package/dist/chunks/{variant-pkgc53va.js → workspace-amzgw2q1.js} +25 -25
- package/dist/chunks/{variant-mhk04qte.js → workspace-arzy6qnm.js} +15 -15
- package/dist/chunks/{variant-k5m7dxb4.js → workspace-b0qpzj5b.js} +31 -31
- package/dist/chunks/{variant-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-wv44f8tc.js → workspace-b9q4a9vz.js} +22 -22
- package/dist/chunks/{variant-fka5ga8d.js → workspace-b9x402gy.js} +15 -15
- package/dist/chunks/{variant-e5j09evz.js → workspace-batje1zt.js} +12 -12
- package/dist/chunks/{variant-69apea2v.js → workspace-be7qvw84.js} +8 -8
- package/dist/chunks/{variant-sghfg077.js → workspace-bwckxjxx.js} +11 -11
- package/dist/chunks/{variant-52mty8jq.js → workspace-bwrt7pzn.js} +13 -13
- package/dist/chunks/{variant-rjhkz1w2.js → workspace-c29k628a.js} +20 -20
- package/dist/chunks/{variant-qxxgnsfr.js → workspace-c4fbdzkc.js} +24 -24
- package/dist/chunks/{variant-dj9sq318.js → workspace-c78bbtc9.js} +5 -5
- package/dist/chunks/{variant-2336b01z.js → workspace-cd11xdjc.js} +8 -8
- package/dist/chunks/{variant-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
- package/dist/chunks/{variant-sqjsdc8q.js → workspace-ck6bgcwy.js} +10 -10
- package/dist/chunks/{variant-h99nf0kn.js → workspace-cms0fkmz.js} +1 -1
- package/dist/chunks/{variant-23pqda6t.js → workspace-cpy6gm2a.js} +6 -6
- package/dist/chunks/{variant-bajakh74.js → workspace-cq37gk0t.js} +4 -4
- package/dist/chunks/{variant-mbjhvwvw.js → workspace-d34adfd3.js} +8 -8
- package/dist/chunks/{variant-95mg8qdk.js → workspace-d3s61q16.js} +40 -40
- package/dist/chunks/{variant-79qaa2kf.js → workspace-d4he2qe1.js} +9 -9
- package/dist/chunks/{variant-jk0hetf2.js → workspace-dn7ft6sh.js} +3 -3
- package/dist/chunks/{variant-57b9ws8p.js → workspace-drwq78ky.js} +5 -5
- package/dist/chunks/{variant-5td0dyr7.js → workspace-e3jfww1d.js} +1 -1
- package/dist/chunks/{variant-grt0tkrz.js → workspace-e9y2m1k9.js} +11 -11
- package/dist/chunks/{variant-aa2dfqx3.js → workspace-ea3stwpk.js} +9 -9
- package/dist/chunks/{variant-mxra0cmd.js → workspace-ecemc3e9.js} +35 -35
- package/dist/chunks/{variant-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-63t418ew.js → workspace-ehxvdgv8.js} +7 -7
- package/dist/chunks/{variant-4b9121e6.js → workspace-ejb8p0fe.js} +47 -47
- package/dist/chunks/{variant-j79n6wxr.js → workspace-ekqe8bgq.js} +25 -25
- package/dist/chunks/{variant-erw5rpbs.js → workspace-erw5rpbs.js} +2 -2
- package/dist/chunks/{variant-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-enghe46c.js → workspace-evp5cbst.js} +9 -9
- package/dist/chunks/{variant-ck31s172.js → workspace-ez1k2efz.js} +13 -13
- package/dist/chunks/{variant-s305wbyz.js → workspace-f0cggr8e.js} +142 -142
- package/dist/chunks/{variant-tgbn9x0e.js → workspace-f46kx12j.js} +32 -32
- package/dist/chunks/{variant-f828m53h.js → workspace-f828m53h.js} +2 -2
- package/dist/chunks/{variant-3nxmjfv1.js → workspace-f870ndqn.js} +7 -7
- package/dist/chunks/{variant-szh1cwdh.js → workspace-fee2r8da.js} +7 -7
- package/dist/chunks/{variant-3tq5qxbk.js → workspace-fkjmw100.js} +4 -4
- package/dist/chunks/{variant-cpf2vz9x.js → workspace-fq0zj7p6.js} +5 -5
- package/dist/chunks/{variant-0n363b86.js → workspace-fqqtw36s.js} +18 -18
- package/dist/chunks/{variant-5mzeg4hj.js → workspace-fsx0v75m.js} +9 -9
- package/dist/chunks/{variant-8qh6anns.js → workspace-ftdzjz2b.js} +6 -6
- package/dist/chunks/{variant-hsj07s21.js → workspace-fwyfeg68.js} +12 -12
- package/dist/chunks/{variant-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{variant-p37cw4rj.js → workspace-g0445xdp.js} +8 -8
- package/dist/chunks/{variant-e6aynt16.js → workspace-g64y4927.js} +3 -3
- package/dist/chunks/{variant-s2y5anze.js → workspace-g9snjwbm.js} +3 -3
- package/dist/chunks/{variant-p8mhfpfb.js → workspace-gat4z9ax.js} +9 -9
- package/dist/chunks/{variant-hmmkxdzd.js → workspace-gbt3acfc.js} +26 -26
- package/dist/chunks/{variant-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-zghmsxd1.js → workspace-gdm1m1nd.js} +27 -27
- package/dist/chunks/{variant-h2bgjhkt.js → workspace-gdzrvykb.js} +20 -20
- package/dist/chunks/{variant-ghwq1jbs.js → workspace-gqdw07cd.js} +39 -39
- package/dist/chunks/{variant-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-79dhzyk4.js → workspace-h33b861t.js} +37 -37
- package/dist/chunks/{variant-4dgbcxzg.js → workspace-h6r3nrb9.js} +4 -4
- package/dist/chunks/{variant-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-tjedn1bk.js → workspace-h90v2x9d.js} +4 -4
- package/dist/chunks/{variant-2p6dchyf.js → workspace-h9fjvtgb.js} +22 -22
- package/dist/chunks/{variant-5c64zym4.js → workspace-h9kkq3gw.js} +23 -23
- package/dist/chunks/{variant-avssftjx.js → workspace-habg3xh9.js} +24 -24
- package/dist/chunks/{variant-nxhqveyz.js → workspace-hkfg6fzm.js} +5 -5
- package/dist/chunks/{variant-426fnjcx.js → workspace-hqxy7w3z.js} +25 -25
- package/dist/chunks/{variant-27f6pddp.js → workspace-htw1ycyk.js} +15 -15
- package/dist/chunks/{variant-hs7hr3sk.js → workspace-hvse0yze.js} +1 -1
- package/dist/chunks/{variant-x76vnk27.js → workspace-hyetwb3r.js} +26 -26
- package/dist/chunks/{variant-wjjn3hja.js → workspace-j1tmabxy.js} +4 -4
- package/dist/chunks/{variant-rhafb4aa.js → workspace-j3s2z371.js} +9 -9
- package/dist/chunks/{variant-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-3sg1857t.js → workspace-j5jgtn81.js} +1 -1
- package/dist/chunks/{variant-brs92t9y.js → workspace-j7apm612.js} +1 -1
- package/dist/chunks/{variant-j0kmkqfz.js → workspace-j7vmjvz2.js} +11 -11
- package/dist/chunks/{variant-z8m6gbkd.js → workspace-j9hsr5q7.js} +12 -12
- package/dist/chunks/{variant-y6f0p4jw.js → workspace-jexxy024.js} +3 -3
- package/dist/chunks/{variant-h9v43k74.js → workspace-jhw3tax7.js} +6 -6
- package/dist/chunks/{variant-rkyj0vr4.js → workspace-jsq6a141.js} +24 -24
- package/dist/chunks/{variant-csbme2kj.js → workspace-jv6grhmz.js} +32 -32
- package/dist/chunks/{variant-5ekhjdzd.js → workspace-k2y3et8s.js} +47 -47
- package/dist/chunks/{variant-k3c624dm.js → workspace-k3c624dm.js} +3 -3
- package/dist/chunks/{variant-mxw0tdhe.js → workspace-kmxpeyjb.js} +8 -8
- package/dist/chunks/{variant-q0t2e31h.js → workspace-kyat6mcg.js} +10 -10
- package/dist/chunks/{variant-3sh56xx4.js → workspace-kz0hyxfv.js} +18 -18
- package/dist/chunks/{variant-htkg1ped.js → workspace-m0884n7j.js} +42 -42
- package/dist/chunks/{variant-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-22hvkk3a.js → workspace-m8mrc67f.js} +12 -12
- package/dist/chunks/{variant-v0qc0xfw.js → workspace-m8r6z6zn.js} +6 -6
- package/dist/chunks/{variant-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-69f6zjgr.js → workspace-mc4fxygv.js} +24 -24
- package/dist/chunks/{variant-1ygqh575.js → workspace-mfqp6xfm.js} +6 -6
- package/dist/chunks/{variant-nrdmrqsx.js → workspace-mjymc32g.js} +4 -4
- package/dist/chunks/{variant-2v626tz4.js → workspace-mmtx9bta.js} +21 -21
- package/dist/chunks/{variant-vdkvxh6g.js → workspace-mtmnqesv.js} +28 -28
- package/dist/chunks/{variant-d58cxt6j.js → workspace-mvmfaxqs.js} +13 -13
- package/dist/chunks/{variant-hcy87vkc.js → workspace-mzkfzb9e.js} +11 -11
- package/dist/chunks/{variant-bya9q4dt.js → workspace-n01n2rer.js} +9 -9
- package/dist/chunks/{variant-fknkhxqq.js → workspace-n624v759.js} +11 -11
- package/dist/chunks/{variant-gsgspxn5.js → workspace-n8xbtczc.js} +27 -27
- package/dist/chunks/{variant-akz62yx4.js → workspace-nmxvyzm3.js} +26 -26
- package/dist/chunks/{variant-t1vey1sx.js → workspace-p1c58hcx.js} +3 -3
- package/dist/chunks/{variant-p28j5sbe.js → workspace-p28j5sbe.js} +2 -2
- package/dist/chunks/workspace-p2h6zvwc.js +18 -0
- package/dist/chunks/{variant-jkz8cxnn.js → workspace-p3dn7th8.js} +22 -22
- package/dist/chunks/{variant-2bq490qs.js → workspace-p4tc3cb6.js} +4 -4
- package/dist/chunks/{variant-nmgvgfpr.js → workspace-p76fyj4y.js} +13 -13
- package/dist/chunks/{variant-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{variant-jc42g46n.js → workspace-pmjbhseb.js} +15 -15
- package/dist/chunks/{variant-j83byb14.js → workspace-pmr4s4kc.js} +4 -4
- package/dist/chunks/{variant-n23fqgkg.js → workspace-pp7vavzt.js} +4 -4
- package/dist/chunks/{variant-vtd3ynzc.js → workspace-ptjqpx56.js} +3 -3
- package/dist/chunks/{variant-6qact9tb.js → workspace-q3xw2crg.js} +18 -18
- package/dist/chunks/{variant-0jwsre1p.js → workspace-qgn6gcr1.js} +5 -5
- package/dist/chunks/{variant-ye3jx5n8.js → workspace-qnkbfq4a.js} +11 -11
- package/dist/chunks/{variant-d60c54a9.js → workspace-qpnhjb69.js} +9 -9
- package/dist/chunks/{variant-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-hgyz5sh6.js → workspace-r03g5xpg.js} +11 -11
- package/dist/chunks/{variant-kmg4jv2q.js → workspace-r43562hj.js} +12 -12
- package/dist/chunks/{variant-sg4rfxht.js → workspace-r4wezeg5.js} +10 -10
- package/dist/chunks/{variant-nwqme974.js → workspace-r9ytktpp.js} +9 -9
- package/dist/chunks/{variant-t3mnpksc.js → workspace-rd906qww.js} +8 -8
- package/dist/chunks/{variant-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-t550f9t1.js → workspace-rhjbct0v.js} +4 -4
- package/dist/chunks/{variant-nrjct5b1.js → workspace-rtcmmca7.js} +3 -3
- package/dist/chunks/{variant-8s8mxddj.js → workspace-s0hza5ac.js} +4 -4
- package/dist/chunks/{variant-knws4kq8.js → workspace-s121vsj8.js} +9 -9
- package/dist/chunks/workspace-s43a7vsr.js +252 -0
- package/dist/chunks/{variant-p9bjh04g.js → workspace-sdsrhnhg.js} +4 -4
- package/dist/chunks/{variant-wnnqbafk.js → workspace-sk9ksbs2.js} +12 -12
- package/dist/chunks/{variant-xw0r27ex.js → workspace-t2az9yje.js} +4 -4
- package/dist/chunks/{variant-9x9g2km1.js → workspace-t78sbhk0.js} +9 -9
- package/dist/chunks/{variant-c2fs7f6w.js → workspace-t85sgt19.js} +24 -24
- package/dist/chunks/{variant-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-geb11jcd.js → workspace-tb34wgbf.js} +20 -20
- package/dist/chunks/{variant-89znhe33.js → workspace-tcezcvh9.js} +4 -4
- package/dist/chunks/{variant-cd5s39xc.js → workspace-tch7kx0e.js} +15 -15
- package/dist/chunks/{variant-p26nknmg.js → workspace-tdhe5xga.js} +8 -8
- package/dist/chunks/{variant-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{variant-d5d87h16.js → workspace-tfxyxzq3.js} +28 -28
- package/dist/chunks/{variant-hzb4nw6c.js → workspace-tn5jqbt1.js} +2 -2
- package/dist/chunks/{variant-2wse4pe0.js → workspace-tpgy2yy7.js} +16 -16
- package/dist/chunks/{variant-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-jz1pp4jz.js → workspace-v0dk4zmw.js} +13 -13
- package/dist/chunks/{variant-b80rxd7q.js → workspace-v1pfr9ds.js} +18 -18
- package/dist/chunks/{variant-x52p01ey.js → workspace-v1spkxxj.js} +17 -17
- package/dist/chunks/{variant-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-aes001kk.js → workspace-vjbbtvxb.js} +8 -8
- package/dist/chunks/{variant-nm9hpb8x.js → workspace-vjpz43gy.js} +32 -32
- package/dist/chunks/{variant-5hbhpyan.js → workspace-vn84xtv1.js} +3 -3
- package/dist/chunks/{variant-mmacmsvk.js → workspace-vw3vmw4j.js} +14 -14
- package/dist/chunks/{variant-ewxykczn.js → workspace-vwbfz043.js} +17 -17
- package/dist/chunks/{variant-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-gjt2phrg.js → workspace-w6mrc2hv.js} +5 -5
- package/dist/chunks/{variant-sg1qr0px.js → workspace-w8hedpe6.js} +20 -20
- package/dist/chunks/{variant-tabeb9mm.js → workspace-w8jkwtgt.js} +63 -63
- package/dist/chunks/{variant-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{variant-j88pc17k.js → workspace-wzd35x4r.js} +2 -2
- package/dist/chunks/{variant-whmjp8hh.js → workspace-wzz0kxab.js} +6 -6
- package/dist/chunks/{variant-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-eq85q6rd.js → workspace-xa3hwzcs.js} +28 -28
- package/dist/chunks/{variant-6npfsxfv.js → workspace-xc23dxn4.js} +3 -3
- package/dist/chunks/{variant-59skmtgb.js → workspace-xf7akdj3.js} +9 -9
- package/dist/chunks/{variant-hhjr1295.js → workspace-xfbvawkv.js} +30 -30
- package/dist/chunks/{variant-kj4zctnd.js → workspace-xtxqqyyy.js} +36 -36
- package/dist/chunks/{variant-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-rhebeh0n.js → workspace-y3gpcn7q.js} +20 -20
- package/dist/chunks/{variant-cn5pa7p4.js → workspace-y4n65h4x.js} +7 -7
- package/dist/chunks/{variant-c488s98d.js → workspace-y5df08dr.js} +5 -5
- package/dist/chunks/{variant-xdjtnqtw.js → workspace-y60ttyad.js} +43 -43
- package/dist/chunks/{variant-6mvzryz6.js → workspace-y6hmj301.js} +6 -6
- package/dist/chunks/{variant-y71avatq.js → workspace-y71avatq.js} +1 -1
- package/dist/chunks/{variant-m59xe4a8.js → workspace-y7q3kmd2.js} +10 -10
- package/dist/chunks/{variant-984xje6x.js → workspace-ybhbtxjg.js} +3 -3
- package/dist/chunks/{variant-qd8pq7fc.js → workspace-ybjzvgkv.js} +3 -3
- package/dist/chunks/{variant-z4dwdpe4.js → workspace-ycrpfg4y.js} +75 -75
- package/dist/chunks/{variant-yp2x3t23.js → workspace-yp2x3t23.js} +1 -1
- package/dist/chunks/{variant-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{variant-b28k5m4e.js → workspace-yv3kt0hr.js} +3 -3
- package/dist/chunks/{variant-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-5g8jbnaq.js → workspace-z3nmskby.js} +36 -36
- package/dist/chunks/{variant-p6keb3nc.js → workspace-z5680xyc.js} +27 -27
- package/dist/chunks/{variant-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{variant-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-pstg3rfm.js → workspace-zhq6vg7a.js} +1 -1
- package/dist/chunks/{variant-jpg1q0jq.js → workspace-zjd4nskf.js} +301 -301
- package/dist/chunks/{variant-ahkqwmsk.js → workspace-zqnq95c4.js} +10 -10
- package/dist/chunks/{variant-9eqcjrtc.js → workspace-zqy44jh8.js} +22 -22
- package/dist/chunks/{variant-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-wzbs3mda.js → workspace-zt9b931x.js} +10 -10
- package/dist/chunks/{variant-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +75 -75
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- package/dist/generate.js +100 -100
- package/dist/git.js +6 -6
- 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 +90 -90
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- 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 +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- 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 +7 -7
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/variant-0x95mqex.js +0 -252
- package/dist/chunks/variant-2sy8xs0p.js +0 -26
- package/dist/chunks/variant-phz3h32g.js +0 -18
- /package/dist/chunks/{variant-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-hxa7m5za.js → workspace-hxa7m5za.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./workspace-tpgy2yy7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service15,
|
|
10
|
+
node17
|
|
11
|
+
} from "./workspace-q3xw2crg.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./workspace-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-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: () => Options2,
|
|
25
|
+
Service: () => Service14,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer8,
|
|
29
|
+
node: () => node16,
|
|
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 Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service14 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(Service14, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const ripgrep = yield* Service15;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service46, 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 Service14.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(Service14, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
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(Service46, 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 Service14.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service14.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(Service46, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service79;
|
|
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 configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service14, layer: layer8(options), deps: [node83, node17] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node16 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service14, ripgrepLayer2, fffLayer2, layer8, configured2, node16, exports_search };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-n8xbtczc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./workspace-ag0051rk.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-jhw3tax7.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* Service55;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service55
|
|
4
|
+
} from "./workspace-ag0051rk.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin8
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin8 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service55;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin34 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin8, exports_websearch };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-bwckxjxx.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin22,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin22 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin3 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin3 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint4, Plugin22, exports_tinyfish };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./workspace-ag0051rk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./workspace-d4he2qe1.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher = {};
|
|
16
|
+
__export(exports_location_watcher, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
+
Plugin: () => Plugin10
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin10 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service55;
|
|
26
|
+
const policy = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin22 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin10, exports_location_watcher };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service56,
|
|
3
|
+
node58
|
|
4
|
+
} from "./workspace-h9fjvtgb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./workspace-tpgy2yy7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service55,
|
|
11
|
+
node57
|
|
12
|
+
} from "./workspace-ag0051rk.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service2,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer4,
|
|
28
|
+
node: () => node3
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service55;
|
|
40
|
+
const watcher = yield* Service56;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service79;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service2.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node3 = makeLocationNode({
|
|
74
|
+
service: Service2,
|
|
75
|
+
layer: layer4,
|
|
76
|
+
deps: [node57, FSUtil.node, node58, node83]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service2,
|
|
80
|
+
layer: Layer.succeed(Service2, Service2.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service2, layer4, node3, empty2, exports_source };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service54,
|
|
6
|
+
node56
|
|
7
|
+
} from "./workspace-jsq6a141.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service53,
|
|
17
|
+
node: () => node55,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service53 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service54;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service53.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node55 = makeLocationNode({ service: Service53, layer, deps: [node56] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service53, readText2, syncTextBom2, node55, exports_file_mutation };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-bwckxjxx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin23,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin23 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin10 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin10 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin23, exports_tavily };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-p1c58hcx.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info22,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
node: () => node71
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info22 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service68 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service83).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID9.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service68.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node71 = makeGlobalNode({ service: Service68, layer, deps: [node87] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID9, Info22, ListInput4, AddInput2, Service68, node71, exports_saved };
|