@opencode/core 0.0.0-dev-20577 → 0.0.0-dev-20579
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{command-hbqne9jm.js → models-dev-00z7knq4.js} +48 -48
- package/dist/chunks/{command-48cj2z6f.js → models-dev-02pnmv3p.js} +22 -22
- package/dist/chunks/{command-kp93eabn.js → models-dev-04sffrgv.js} +15 -15
- package/dist/chunks/{command-tj3amwcq.js → models-dev-065f5jqd.js} +18 -18
- package/dist/chunks/{command-cb8p8a9z.js → models-dev-0fh6f5vp.js} +9 -9
- package/dist/chunks/{command-nz49q0p3.js → models-dev-0hkfhkek.js} +33 -33
- package/dist/chunks/{command-wq97ata3.js → models-dev-0hv6rsw5.js} +31 -31
- package/dist/chunks/{command-0paq2nw3.js → models-dev-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
- package/dist/chunks/{command-vx3jgdek.js → models-dev-143qq2q9.js} +3 -3
- package/dist/chunks/{command-69j91c1q.js → models-dev-15nepkqg.js} +8 -8
- package/dist/chunks/{command-rawzh9f5.js → models-dev-16rafmdt.js} +45 -45
- package/dist/chunks/{command-1dazxqgg.js → models-dev-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-1dvck2a7.js → models-dev-1dvck2a7.js} +2 -2
- package/dist/chunks/{command-dfajfnkg.js → models-dev-1ffrhb6a.js} +23 -23
- package/dist/chunks/{command-b1enpsaa.js → models-dev-21sd2q2p.js} +22 -22
- package/dist/chunks/{command-dm5ssyfm.js → models-dev-23r766dh.js} +38 -38
- package/dist/chunks/{command-yvd9mjph.js → models-dev-28pkm0f9.js} +8 -8
- package/dist/chunks/{command-2a5m3afh.js → models-dev-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-qgn6gcr1.js → models-dev-2k8khapm.js} +5 -5
- package/dist/chunks/{command-gs3s1a1g.js → models-dev-30846h32.js} +8 -8
- package/dist/chunks/{command-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-0sqmrpn2.js → models-dev-3gk6d5bg.js} +33 -33
- package/dist/chunks/{command-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-s9spdbfy.js → models-dev-3pt1f740.js} +38 -38
- package/dist/chunks/{command-tfrvwkgh.js → models-dev-3r0f49pj.js} +10 -10
- package/dist/chunks/{command-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-jyrncrt6.js → models-dev-3wjay3ka.js} +23 -23
- package/dist/chunks/{command-jsf24svj.js → models-dev-3zqzd8hk.js} +42 -42
- package/dist/chunks/{command-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-gh3sjhhn.js → models-dev-414z3zsn.js} +14 -14
- package/dist/chunks/{command-04jjrec1.js → models-dev-44b5mvgm.js} +15 -15
- package/dist/chunks/{command-dm4vbrvx.js → models-dev-4556yem3.js} +2 -2
- package/dist/chunks/{command-6etn2fpm.js → models-dev-47zss2vy.js} +18 -18
- package/dist/chunks/{command-vqjs8hv7.js → models-dev-4bx1eqaf.js} +25 -25
- package/dist/chunks/{command-f18tyt2v.js → models-dev-4d76t1fx.js} +21 -21
- package/dist/chunks/{command-9kr67f7m.js → models-dev-4j1v512x.js} +33 -33
- package/dist/chunks/{command-4ts7tf6z.js → models-dev-4ts7tf6z.js} +2 -2
- package/dist/chunks/{command-54ma36ye.js → models-dev-54ma36ye.js} +1 -1
- package/dist/chunks/{command-1ygqh575.js → models-dev-56gdpj1q.js} +9 -9
- package/dist/chunks/{command-xfkkasph.js → models-dev-57b9ws8p.js} +7 -7
- package/dist/chunks/{command-rt384jmm.js → models-dev-5bmhz7h8.js} +20 -20
- package/dist/chunks/{command-k5vew2r0.js → models-dev-5bsdf67q.js} +20 -20
- package/dist/chunks/{command-ys3m2q03.js → models-dev-5c4z4tyd.js} +47 -47
- package/dist/chunks/{command-5daktx2q.js → models-dev-5daktx2q.js} +1 -1
- package/dist/chunks/{command-kfmjg78y.js → models-dev-5dsr6e61.js} +6 -6
- package/dist/chunks/{command-2y035twn.js → models-dev-5fsrq7yk.js} +13 -13
- package/dist/chunks/{command-4yhhdjvm.js → models-dev-5g2350sa.js} +16 -16
- package/dist/chunks/{command-5t3nmthw.js → models-dev-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-15nnh4s6.js → models-dev-5xmyk187.js} +3 -3
- package/dist/chunks/{command-h9hcchbf.js → models-dev-66376qmm.js} +88 -88
- package/dist/chunks/{command-669tq793.js → models-dev-669tq793.js} +1 -1
- package/dist/chunks/{command-jb4r1kxp.js → models-dev-67bex8mg.js} +16 -16
- package/dist/chunks/{command-h9rj7vgp.js → models-dev-67g972p8.js} +11 -11
- package/dist/chunks/{command-max5zner.js → models-dev-69ae2gc0.js} +33 -33
- package/dist/chunks/{command-q36shhmj.js → models-dev-6b584fx1.js} +12 -12
- package/dist/chunks/{command-759ca8qw.js → models-dev-6fgkgcg0.js} +22 -22
- package/dist/chunks/{command-m0kkpct9.js → models-dev-6g7n6n48.js} +5 -5
- package/dist/chunks/{command-5w6ne2rj.js → models-dev-6q44kjsg.js} +10 -10
- package/dist/chunks/{command-6xb47vfp.js → models-dev-6xb47vfp.js} +1 -1
- package/dist/chunks/{command-qh49khd6.js → models-dev-6xkzja4k.js} +6 -6
- package/dist/chunks/{command-930nf9me.js → models-dev-707t01nb.js} +19 -19
- package/dist/chunks/{command-yr7n59b3.js → models-dev-70z09tsz.js} +11 -11
- package/dist/chunks/{command-71az546q.js → models-dev-71az546q.js} +2 -2
- package/dist/chunks/{command-6238m7q1.js → models-dev-72a3060e.js} +3 -3
- package/dist/chunks/{command-117ga8q0.js → models-dev-75t52x5s.js} +27 -27
- package/dist/chunks/{command-j6zg015w.js → models-dev-777x33ga.js} +43 -43
- package/dist/chunks/{command-hbj68pgm.js → models-dev-77pm2nty.js} +39 -39
- package/dist/chunks/{command-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-qkr42znk.js → models-dev-7qxz1a4h.js} +9 -9
- package/dist/chunks/{command-zeh40njd.js → models-dev-7re3496y.js} +180 -180
- package/dist/chunks/{command-r9w3djhf.js → models-dev-82rhge12.js} +9 -9
- package/dist/chunks/{command-84txncab.js → models-dev-84txncab.js} +1 -1
- package/dist/chunks/{command-w7620n11.js → models-dev-89v4egbf.js} +28 -28
- package/dist/chunks/{command-tsjzc549.js → models-dev-8ct0y6hk.js} +28 -28
- package/dist/chunks/{command-8d7r5vzw.js → models-dev-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-03xyy9gs.js → models-dev-8hkfkb27.js} +5 -5
- package/dist/chunks/{command-vmmvzryc.js → models-dev-8r052h48.js} +8 -8
- package/dist/chunks/{command-b9xnfexb.js → models-dev-8tfctm8b.js} +1 -1
- package/dist/chunks/{command-3haxx6pm.js → models-dev-8wxr6w3c.js} +22 -22
- package/dist/chunks/{command-y6k2xs97.js → models-dev-94ak9ask.js} +1 -1
- package/dist/chunks/{command-a03229d4.js → models-dev-9841pv10.js} +19 -19
- package/dist/chunks/{command-9e5bzkjp.js → models-dev-9e5bzkjp.js} +3 -3
- package/dist/chunks/{command-mydvvph4.js → models-dev-9ecvsxx5.js} +29 -29
- package/dist/chunks/{command-2rx8305r.js → models-dev-9fr4q37e.js} +24 -24
- package/dist/chunks/{command-93ygb5af.js → models-dev-9gea571p.js} +6 -6
- package/dist/chunks/{command-j0gyfj28.js → models-dev-9h1qtdky.js} +47 -47
- package/dist/chunks/{command-m9bwhd6g.js → models-dev-9nccr2nz.js} +24 -24
- package/dist/chunks/{command-5pyjqqve.js → models-dev-9pa8tak9.js} +2 -2
- package/dist/chunks/{command-18htcbrq.js → models-dev-9qx683h5.js} +9 -9
- package/dist/chunks/{command-swwzfrs7.js → models-dev-9xjshrng.js} +3 -3
- package/dist/chunks/{command-v04mbsyc.js → models-dev-a527gmk9.js} +7 -7
- package/dist/chunks/{command-mjymc32g.js → models-dev-a8bn8zg0.js} +4 -4
- package/dist/chunks/{command-aaet6srn.js → models-dev-aaet6srn.js} +2 -2
- package/dist/chunks/{command-1ytwep67.js → models-dev-ah58gg7p.js} +5 -5
- package/dist/chunks/{command-yp6aabyp.js → models-dev-amsd198e.js} +22 -22
- package/dist/chunks/{command-zfs8ae4p.js → models-dev-as7cf5zz.js} +4 -4
- package/dist/chunks/{command-ry3ffff2.js → models-dev-at1jtn93.js} +12 -12
- package/dist/chunks/{command-kenkf5s7.js → models-dev-b0w1x349.js} +48 -48
- package/dist/chunks/{command-cmkc9sfw.js → models-dev-b1tb8gws.js} +36 -36
- package/dist/chunks/{command-b6gygkdw.js → models-dev-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-q1dr63v1.js → models-dev-b76kedzd.js} +11 -11
- package/dist/chunks/{command-1n8tchc4.js → models-dev-b832nfdp.js} +22 -22
- package/dist/chunks/{command-4v7ngy20.js → models-dev-bp8fbaqn.js} +4 -4
- package/dist/chunks/{command-tgdgvz5m.js → models-dev-bw2wjxzg.js} +12 -12
- package/dist/chunks/{command-ygdna4kr.js → models-dev-bx0gyb4h.js} +5 -5
- package/dist/chunks/models-dev-by5v678g.js +18 -0
- package/dist/chunks/{command-c2qavkps.js → models-dev-c26tg910.js} +12 -12
- package/dist/chunks/{command-kz5zsevx.js → models-dev-c43encnq.js} +13 -13
- package/dist/chunks/{command-agq9zd11.js → models-dev-c9m7c5t2.js} +13 -13
- package/dist/chunks/{command-jfvphnye.js → models-dev-cd2ckykk.js} +33 -33
- package/dist/chunks/{command-6kz41x2h.js → models-dev-cdxjqe9v.js} +8 -8
- package/dist/chunks/{command-090p1w3a.js → models-dev-cerphmjy.js} +5 -5
- package/dist/chunks/{command-0e74cksd.js → models-dev-cgz3dhkc.js} +10 -10
- package/dist/chunks/{command-ck8npcm5.js → models-dev-chkwe70y.js} +11 -11
- package/dist/chunks/{command-bkwxdpdb.js → models-dev-ct9q0q83.js} +11 -11
- package/dist/chunks/{command-79qaa2kf.js → models-dev-cwa6csj7.js} +9 -9
- package/dist/chunks/{command-124e8td1.js → models-dev-cyef1244.js} +13 -13
- package/dist/chunks/{command-39yjv8hn.js → models-dev-d9p3jxc1.js} +45 -45
- package/dist/chunks/{command-rkrj05tv.js → models-dev-dpepwdxp.js} +35 -35
- package/dist/chunks/{command-mac87736.js → models-dev-dzd6gt19.js} +8 -8
- package/dist/chunks/{command-rkrkq154.js → models-dev-e1b8dpn9.js} +9 -9
- package/dist/chunks/{command-qp3v07n2.js → models-dev-e7710hd6.js} +5 -5
- package/dist/chunks/{command-w9czef0s.js → models-dev-e7ydkzjj.js} +7 -7
- package/dist/chunks/{command-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-14tdwscn.js → models-dev-enm6tv2q.js} +18 -18
- package/dist/chunks/{command-etq0c3wd.js → models-dev-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-e3ecsdy8.js → models-dev-etz1tp3f.js} +22 -22
- package/dist/chunks/{command-mj9cksj0.js → models-dev-f69hr2t8.js} +24 -24
- package/dist/chunks/{command-afdssyjb.js → models-dev-f73rjn58.js} +4 -4
- package/dist/chunks/{command-j34dxvpb.js → models-dev-fepbnb8j.js} +5 -5
- package/dist/chunks/{command-8rqycdgd.js → models-dev-fqb2p7cx.js} +7 -7
- package/dist/chunks/{command-jkwx8shz.js → models-dev-fszy1g6v.js} +11 -11
- package/dist/chunks/{command-kt2w57dr.js → models-dev-fyfa4fhw.js} +44 -44
- package/dist/chunks/{command-51rych25.js → models-dev-g1r3wepg.js} +75 -75
- package/dist/chunks/{command-6gwd6jt4.js → models-dev-g6xefnek.js} +5 -5
- package/dist/chunks/{command-dssbfrwz.js → models-dev-g6yfr6ja.js} +5 -5
- package/dist/chunks/{command-8htcd2rv.js → models-dev-g80ve2xz.js} +29 -29
- package/dist/chunks/{command-r8ys1pjh.js → models-dev-g9r9zbx9.js} +4 -4
- package/dist/chunks/{command-66c3eymz.js → models-dev-gaky33x9.js} +5 -5
- package/dist/chunks/{command-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-qkj8hkyk.js → models-dev-gvhmaxka.js} +44 -44
- package/dist/chunks/{command-rscwbd1b.js → models-dev-h08prmky.js} +15 -15
- package/dist/chunks/{command-h2b79v29.js → models-dev-h2b79v29.js} +2 -2
- package/dist/chunks/{command-f62qkzqr.js → models-dev-h4z1mxff.js} +5 -5
- package/dist/chunks/{command-e55nq1dx.js → models-dev-h6pyrv6e.js} +19 -19
- package/dist/chunks/{command-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-srkatn7d.js → models-dev-h6vzd6py.js} +28 -28
- package/dist/chunks/{command-hdy9dvcx.js → models-dev-hapxt7b6.js} +4 -4
- package/dist/chunks/{command-7rbxqkgq.js → models-dev-hcstjrnh.js} +32 -32
- package/dist/chunks/{command-fpecnkgp.js → models-dev-hg3614cy.js} +5 -5
- package/dist/chunks/{command-t18afxp3.js → models-dev-hmgc5cz7.js} +12 -12
- package/dist/chunks/{command-j74e336s.js → models-dev-hw0q1v6w.js} +13 -13
- package/dist/chunks/{command-gh22p3be.js → models-dev-hzbfr2zb.js} +29 -29
- package/dist/chunks/{command-j56e64zr.js → models-dev-j56e64zr.js} +1 -1
- package/dist/chunks/{command-hphxefgw.js → models-dev-j69age7f.js} +10 -10
- package/dist/chunks/{command-0vsnxwjm.js → models-dev-j8vmxrd4.js} +3 -3
- package/dist/chunks/{command-y6vx5mph.js → models-dev-jagm7tt7.js} +46 -46
- package/dist/chunks/models-dev-k0b2y79r.js +253 -0
- package/dist/chunks/{command-873y03zv.js → models-dev-k64rxz1r.js} +19 -19
- package/dist/chunks/{command-qqdfvssg.js → models-dev-k9qdemdz.js} +17 -17
- package/dist/chunks/{command-mq1114ms.js → models-dev-kb426ejq.js} +12 -12
- package/dist/chunks/{command-8fgecypx.js → models-dev-kg03ydgp.js} +9 -9
- package/dist/chunks/{command-2avtt150.js → models-dev-kjm0dggs.js} +23 -23
- package/dist/chunks/{command-bsprd9wx.js → models-dev-ktw141zw.js} +3 -3
- package/dist/chunks/{command-sh0fsxwf.js → models-dev-kyr28d2w.js} +11 -11
- package/dist/chunks/{command-cg85h34c.js → models-dev-kz287eh6.js} +4 -4
- package/dist/chunks/{command-m3fdjcah.js → models-dev-m3fdjcah.js} +1 -1
- package/dist/chunks/{command-gpygzsz4.js → models-dev-m69jc7nt.js} +15 -15
- package/dist/chunks/{command-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-scgrse2b.js → models-dev-mha52fg8.js} +5 -5
- package/dist/chunks/{command-kb6vbnxp.js → models-dev-mhgx8wws.js} +4 -4
- package/dist/chunks/{command-qfaf6res.js → models-dev-n0vcjzwx.js} +22 -22
- package/dist/chunks/{command-g53c9fq7.js → models-dev-n8h5s4z5.js} +5 -5
- package/dist/chunks/{command-4m4650rm.js → models-dev-nbr98sng.js} +18 -18
- package/dist/chunks/{command-ncnm8wen.js → models-dev-ncnm8wen.js} +1 -1
- package/dist/chunks/{command-0y86tmwb.js → models-dev-nm4299rz.js} +6 -6
- package/dist/chunks/{command-43krc4bk.js → models-dev-nvxt8qcf.js} +9 -9
- package/dist/chunks/{command-f3e4f3ew.js → models-dev-nzcmq5s7.js} +15 -15
- package/dist/chunks/{command-r0wedrkd.js → models-dev-p3bfjnb3.js} +18 -18
- package/dist/chunks/{command-6q6vmr50.js → models-dev-p4ebz0q2.js} +3 -3
- package/dist/chunks/{command-n0pywpq4.js → models-dev-p5c89f54.js} +6 -6
- package/dist/chunks/{command-1zc1gz4g.js → models-dev-p6g1xawz.js} +23 -23
- package/dist/chunks/{command-5yzzbxa7.js → models-dev-pa8pe2x7.js} +8 -8
- package/dist/chunks/{command-evpm7vcg.js → models-dev-pd7n37kn.js} +33 -33
- package/dist/chunks/{command-denjr0qg.js → models-dev-pfsrde56.js} +3 -3
- package/dist/chunks/{command-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → models-dev-pknna89w.js} +1 -1
- package/dist/chunks/{command-1d727dm9.js → models-dev-pkx2dq04.js} +327 -327
- package/dist/chunks/{command-tet8e841.js → models-dev-pm50wqr4.js} +4 -4
- package/dist/chunks/{command-q0xm7vwc.js → models-dev-q0xm7vwc.js} +2 -2
- package/dist/chunks/{command-q43fwr5x.js → models-dev-q18332b7.js} +13 -13
- package/dist/chunks/{command-261teatt.js → models-dev-q93trqjw.js} +5 -5
- package/dist/chunks/{command-359sf8pg.js → models-dev-q97fzf0b.js} +21 -21
- package/dist/chunks/{command-4gm9b3mc.js → models-dev-qdtb2r9y.js} +88 -88
- package/dist/chunks/{command-7pjv18ns.js → models-dev-qesb4fb2.js} +10 -10
- package/dist/chunks/{command-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
- package/dist/chunks/{command-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
- package/dist/chunks/{command-s6grk335.js → models-dev-qt130byj.js} +37 -37
- package/dist/chunks/{command-zytxgpcz.js → models-dev-qvh9eqkc.js} +24 -24
- package/dist/chunks/{command-pz4bzxx2.js → models-dev-qvna2bbv.js} +29 -29
- package/dist/chunks/{command-a1gpj94z.js → models-dev-r5x6zcsm.js} +3 -3
- package/dist/chunks/{command-r8xr0va3.js → models-dev-r8xr0va3.js} +1 -1
- package/dist/chunks/{command-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-s8d7rejh.js → models-dev-rhjbct0v.js} +4 -4
- package/dist/chunks/{command-krz37b5z.js → models-dev-rkp0d28g.js} +55 -55
- package/dist/chunks/{command-xhvk1hh0.js → models-dev-rt73gy88.js} +4 -4
- package/dist/chunks/{command-fp6k91eh.js → models-dev-rtwceye3.js} +33 -33
- package/dist/chunks/{command-nf8njrqz.js → models-dev-s6yyz18a.js} +13 -13
- package/dist/chunks/{command-9xs2qmrx.js → models-dev-scwth786.js} +13 -13
- package/dist/chunks/{command-aaz61dev.js → models-dev-sk11m9ar.js} +25 -25
- package/dist/chunks/{command-62yts832.js → models-dev-snkpwrj1.js} +32 -32
- package/dist/chunks/{command-fkscjsp5.js → models-dev-sp7ve3f0.js} +11 -11
- package/dist/chunks/{command-en9mxp96.js → models-dev-srq8z0b0.js} +9 -9
- package/dist/chunks/{command-9898pk67.js → models-dev-sxmaz3jq.js} +24 -24
- package/dist/chunks/{command-bgtt2kw4.js → models-dev-t0nr6jrg.js} +31 -31
- package/dist/chunks/{command-44wsf4p6.js → models-dev-t8a4yqen.js} +5 -5
- package/dist/chunks/{command-0xf97k36.js → models-dev-t8kkt2nv.js} +11 -11
- package/dist/chunks/{command-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-tcezcvh9.js → models-dev-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → models-dev-tdstcens.js} +1 -1
- package/dist/chunks/{command-edajgpnh.js → models-dev-tfyyarmg.js} +14 -14
- package/dist/chunks/{command-xcng2btc.js → models-dev-tj0wg4nv.js} +5 -5
- package/dist/chunks/{command-a2w70vx4.js → models-dev-tsnhj991.js} +11 -11
- package/dist/chunks/{command-s9de47m6.js → models-dev-tv1qkmca.js} +20 -25
- package/dist/chunks/{command-43ya1ftk.js → models-dev-tvdvkfya.js} +40 -40
- package/dist/chunks/{command-s1jqa0rv.js → models-dev-tx4w3zvw.js} +14 -14
- package/dist/chunks/{command-s3qw8jyq.js → models-dev-v0t6dd4w.js} +18 -18
- package/dist/chunks/{command-gq98prpa.js → models-dev-v85q2xfv.js} +13 -13
- package/dist/chunks/{command-f2hjv5fy.js → models-dev-ve78naxq.js} +8 -8
- package/dist/chunks/{command-s4tt0pef.js → models-dev-veajjj4z.js} +8 -8
- package/dist/chunks/{command-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
- package/dist/chunks/{command-k2srk8cp.js → models-dev-vjtea3hn.js} +3 -3
- package/dist/chunks/{command-qgma0hvn.js → models-dev-vwgad00t.js} +10 -10
- package/dist/chunks/{command-2zqhm02j.js → models-dev-vxrd0dht.js} +9 -9
- package/dist/chunks/{command-vzcthcp8.js → models-dev-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-xeqfr83e.js → models-dev-vzstn3vw.js} +28 -28
- package/dist/chunks/{command-jaa0b0hs.js → models-dev-w222d1b2.js} +17 -17
- package/dist/chunks/{command-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-n71h44cm.js → models-dev-w8mfq855.js} +13 -13
- package/dist/chunks/{command-py3kkmfq.js → models-dev-w92k2e0p.js} +8 -8
- package/dist/chunks/{command-wd87259q.js → models-dev-wd87259q.js} +1 -1
- package/dist/chunks/{command-ehq1cete.js → models-dev-we3tv5d1.js} +3 -3
- package/dist/chunks/{command-vkfdnwpx.js → models-dev-wj76ss2k.js} +4 -4
- package/dist/chunks/{command-a2ccr785.js → models-dev-wkcrcmm0.js} +16 -16
- package/dist/chunks/{command-wmh05qp9.js → models-dev-wp6ep95q.js} +35 -35
- package/dist/chunks/{command-hwc5fhjs.js → models-dev-wt5nmafz.js} +35 -35
- package/dist/chunks/{command-hndmfkfz.js → models-dev-x2qjtq82.js} +10 -10
- package/dist/chunks/{command-addxnjmp.js → models-dev-x661k3y3.js} +4 -4
- package/dist/chunks/models-dev-x7z75zrq.js +26 -0
- package/dist/chunks/{command-t2pgk753.js → models-dev-xdtzmxbg.js} +6 -6
- package/dist/chunks/{command-q8ejgrh7.js → models-dev-xh27xnk0.js} +11 -11
- package/dist/chunks/{command-xkntkrq7.js → models-dev-xkntkrq7.js} +2 -2
- package/dist/chunks/{command-364yjtd9.js → models-dev-xsqksm9t.js} +11 -11
- package/dist/chunks/{command-cb72tr97.js → models-dev-xx57t6qj.js} +21 -21
- package/dist/chunks/{command-22qzwdfx.js → models-dev-xx8ravma.js} +11 -11
- package/dist/chunks/{command-qxjc9qry.js → models-dev-xyafkbt0.js} +3 -3
- package/dist/chunks/{command-vps92m75.js → models-dev-y16p1w2y.js} +9 -9
- package/dist/chunks/{command-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-9fn597ry.js → models-dev-y5p3mzqv.js} +11 -11
- package/dist/chunks/{command-dpkg50ah.js → models-dev-y71avatq.js} +4 -4
- package/dist/chunks/{command-3ac3enw2.js → models-dev-ydrjdpcc.js} +22 -22
- package/dist/chunks/{command-4ampwn7w.js → models-dev-ydx2zdq6.js} +19 -19
- package/dist/chunks/{command-09e69a7b.js → models-dev-yf0pn2h0.js} +20 -20
- package/dist/chunks/{command-k1qrnqst.js → models-dev-yf10kn3d.js} +8 -8
- package/dist/chunks/{command-2g0f3sn5.js → models-dev-ygrc3zp9.js} +24 -24
- package/dist/chunks/{command-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-zz9x0err.js → models-dev-z2e87qev.js} +25 -25
- package/dist/chunks/{command-r1g3ttfx.js → models-dev-z7hhbxsd.js} +30 -30
- package/dist/chunks/{command-rjq8wmvv.js → models-dev-zfa7ynd8.js} +15 -15
- package/dist/chunks/{command-9p61zhgr.js → models-dev-zff80ehc.js} +16 -16
- package/dist/chunks/{command-xbvc458q.js → models-dev-zghtsczn.js} +8 -8
- package/dist/chunks/{command-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-zsr4wwhv.js → models-dev-zsr4wwhv.js} +1 -1
- package/dist/chunks/{command-zxq2ej10.js → models-dev-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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +97 -97
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +92 -87
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +222 -222
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +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 +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +15 -15
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/mcp/oauth.d.ts +1 -10
- 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 +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/command-13dwg0c6.js +0 -253
- package/dist/chunks/command-1x11rq2a.js +0 -18
- package/dist/chunks/command-bb7jf4d3.js +0 -26
- /package/dist/chunks/{command-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-34c7v6d4.js → models-dev-34c7v6d4.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → models-dev-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t0ybcrp.js → models-dev-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → models-dev-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → models-dev-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5qd3pb7m.js → models-dev-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → models-dev-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → models-dev-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → models-dev-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → models-dev-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → models-dev-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → models-dev-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → models-dev-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → models-dev-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → models-dev-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → models-dev-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./models-dev-jagm7tt7.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin33
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin33 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service47;
|
|
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 Plugin24 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin33, exports_websearch2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node14, exports_location_watcher_policy };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-0hkfhkek.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-cd2ckykk.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service47
|
|
11
|
+
} from "./models-dev-jagm7tt7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
resolve2
|
|
14
|
+
} from "./models-dev-xdtzmxbg.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./models-dev-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin27
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin27 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service47;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -175,7 +175,7 @@ var Plugin28 = define({
|
|
|
175
175
|
if (config.variants === undefined && !source?.base)
|
|
176
176
|
models.update(providerID, id, (model) => {
|
|
177
177
|
model.variants = [
|
|
178
|
-
...
|
|
178
|
+
...resolve2({
|
|
179
179
|
...model,
|
|
180
180
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
181
181
|
})
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin27, exports_provider };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./models-dev-kb426ejq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./models-dev-0hv6rsw5.js";
|
|
13
13
|
import {
|
|
14
|
-
Service78,
|
|
15
|
-
node82
|
|
16
|
-
} from "./command-edajgpnh.js";
|
|
17
|
-
import {
|
|
18
|
-
Service43,
|
|
19
|
-
node46
|
|
20
|
-
} from "./command-m9bwhd6g.js";
|
|
21
|
-
import {
|
|
22
|
-
ID15,
|
|
23
14
|
Service77,
|
|
24
15
|
node81
|
|
25
|
-
} from "./
|
|
16
|
+
} from "./models-dev-tfyyarmg.js";
|
|
17
|
+
import {
|
|
18
|
+
Service54,
|
|
19
|
+
node57
|
|
20
|
+
} from "./models-dev-9nccr2nz.js";
|
|
21
|
+
import {
|
|
22
|
+
ID13,
|
|
23
|
+
Service74,
|
|
24
|
+
node78
|
|
25
|
+
} from "./models-dev-ydx2zdq6.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./models-dev-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID11,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service72,
|
|
34
|
+
node76
|
|
35
|
+
} from "./models-dev-qvna2bbv.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service33,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured4,
|
|
56
56
|
layer: () => layer14,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node37
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service33 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options4 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options4 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var layer14 = (options) => Layer.effect(
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
117
|
-
const bus = yield*
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service77;
|
|
116
|
+
const environment = yield* Service54;
|
|
117
|
+
const bus = yield* Service81;
|
|
118
|
+
const forms = yield* Service74;
|
|
119
|
+
const integration = yield* Service72;
|
|
120
|
+
const credentials = yield* Service73;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID11.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,12 +161,12 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID13.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service54, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service33.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
532
|
}
|
|
533
533
|
function configured4(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
535
|
+
service: Service33,
|
|
536
536
|
layer: layer14(options),
|
|
537
|
-
deps: [
|
|
537
|
+
deps: [node81, node57, node85, node78, node76, node77]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node37 = configured4();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service33, Options4, layer14, configured4, node37, exports_mcp4 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./models-dev-tfyyarmg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service54
|
|
12
|
+
} from "./models-dev-9nccr2nz.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service16
|
|
16
|
+
} from "./models-dev-v0t6dd4w.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./models-dev-28pkm0f9.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service63
|
|
26
|
+
} from "./models-dev-b0w1x349.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service13
|
|
29
|
+
} from "./models-dev-p3bfjnb3.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
|
+
Output: () => Output6,
|
|
40
|
+
Plugin: () => Plugin11,
|
|
41
|
+
name: () => name9,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name9 = "grep";
|
|
48
|
+
var Input9 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input12 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output6 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin11 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service54;
|
|
90
|
+
const ripgrep = yield* Service16;
|
|
91
|
+
const location = yield* Service77;
|
|
92
|
+
const access = yield* Service13;
|
|
93
|
+
const permission = yield* Service63;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name9,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input9,
|
|
99
|
+
output: Output6,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name9,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin49 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin49 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name9, Input9, Output6, toModelContent5, Plugin11, exports_grep };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./models-dev-kb426ejq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service21,
|
|
6
|
+
Event3
|
|
7
|
+
} from "./models-dev-tvdvkfya.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service21;
|
|
33
|
+
const bus = yield* Service81;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-6q44kjsg.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin38,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin38 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin10 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin10 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint4, Plugin38, exports_parallel };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin37,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
13
|
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin37 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { endpoint3,
|
|
83
|
+
export { endpoint3, Plugin37, exports_exa };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./models-dev-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./models-dev-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|