@opencode/core 0.0.0-dev-19812 → 0.0.0-dev-19814
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{ripgrep-hs2a3b3x.js → aisdk-native-00yvd0x7.js} +9 -9
- package/dist/chunks/{ripgrep-a0pddpcz.js → aisdk-native-07fw2bc3.js} +29 -29
- package/dist/chunks/{ripgrep-7r38cm17.js → aisdk-native-08b8veqf.js} +43 -43
- package/dist/chunks/{ripgrep-p7wr61jb.js → aisdk-native-0bnmk6v2.js} +2 -2
- package/dist/chunks/{ripgrep-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-9fxx88z5.js → aisdk-native-112cr4rm.js} +45 -45
- package/dist/chunks/{ripgrep-qbgzzech.js → aisdk-native-11bbsyb4.js} +74 -74
- package/dist/chunks/{ripgrep-8pk0vt9k.js → aisdk-native-1agxs8qz.js} +15 -15
- package/dist/chunks/{ripgrep-hfmtk0wz.js → aisdk-native-1c56g0tt.js} +1 -1
- package/dist/chunks/{ripgrep-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-1gterc69.js → aisdk-native-1eycq7v0.js} +10 -10
- package/dist/chunks/{ripgrep-pr3r74r8.js → aisdk-native-1eys957h.js} +24 -24
- package/dist/chunks/{ripgrep-1ygqh575.js → aisdk-native-1ygqh575.js} +2 -2
- package/dist/chunks/{ripgrep-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-6h73sxmp.js → aisdk-native-2402vzrj.js} +5 -5
- package/dist/chunks/{ripgrep-z63w68vq.js → aisdk-native-29x78va6.js} +6 -6
- package/dist/chunks/{ripgrep-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-5bydv4zf.js → aisdk-native-2av99hgc.js} +10 -10
- package/dist/chunks/{ripgrep-14p23t01.js → aisdk-native-2d0haajb.js} +46 -46
- package/dist/chunks/{ripgrep-dyagwqbw.js → aisdk-native-2egk0w3r.js} +37 -37
- package/dist/chunks/{ripgrep-q289wsms.js → aisdk-native-2haft7pr.js} +7 -7
- package/dist/chunks/{ripgrep-2f81mqye.js → aisdk-native-2k7w94xe.js} +4 -4
- package/dist/chunks/{ripgrep-54pbzxnk.js → aisdk-native-2nz9yxvz.js} +18 -18
- package/dist/chunks/{ripgrep-djszqvmq.js → aisdk-native-2sejkfem.js} +9 -9
- package/dist/chunks/{ripgrep-xhd2r5mb.js → aisdk-native-2tr6bnzb.js} +8 -8
- package/dist/chunks/{ripgrep-gb7ervf3.js → aisdk-native-35agz59w.js} +6 -6
- package/dist/chunks/{ripgrep-nmq6ymmq.js → aisdk-native-3a9n5gmg.js} +31 -31
- package/dist/chunks/{ripgrep-dg7130wh.js → aisdk-native-3ensn9wd.js} +25 -25
- package/dist/chunks/{ripgrep-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-kjad9j46.js → aisdk-native-3xyfw6wr.js} +3 -3
- package/dist/chunks/aisdk-native-3z6xp169.js +492 -0
- package/dist/chunks/{ripgrep-g9yyzkqa.js → aisdk-native-46q6s1xt.js} +11 -11
- package/dist/chunks/{ripgrep-9cx0nyab.js → aisdk-native-4aphdq12.js} +12 -12
- package/dist/chunks/{ripgrep-1v1e6ee9.js → aisdk-native-4nm3cgsd.js} +297 -297
- package/dist/chunks/{ripgrep-vwwhhmge.js → aisdk-native-4qntw1nx.js} +30 -30
- package/dist/chunks/{ripgrep-vmjkkbv8.js → aisdk-native-4t5hftqh.js} +8 -8
- package/dist/chunks/{ripgrep-n0723yqh.js → aisdk-native-4t6vtd3e.js} +15 -15
- package/dist/chunks/{ripgrep-5frpvc34.js → aisdk-native-4vq28sgd.js} +2 -2
- package/dist/chunks/{ripgrep-y5hpfjhw.js → aisdk-native-4vy3dpyp.js} +32 -32
- package/dist/chunks/{ripgrep-zz1yydc9.js → aisdk-native-4yy7byfr.js} +58 -58
- package/dist/chunks/{ripgrep-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-3bqr18yv.js → aisdk-native-5jma6wsm.js} +16 -16
- package/dist/chunks/{ripgrep-z4swd48g.js → aisdk-native-5qjcaz6d.js} +20 -20
- package/dist/chunks/{ripgrep-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-cky7jn4a.js → aisdk-native-5x835y8k.js} +32 -32
- package/dist/chunks/{ripgrep-pa8pe2x7.js → aisdk-native-5yzzbxa7.js} +8 -8
- package/dist/chunks/{ripgrep-mfhfdr54.js → aisdk-native-64kphnzf.js} +4 -4
- package/dist/chunks/{ripgrep-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-6p659vat.js → aisdk-native-66bpdn03.js} +10 -10
- package/dist/chunks/{ripgrep-3rsmh9bb.js → aisdk-native-66x8nh2j.js} +17 -17
- package/dist/chunks/{ripgrep-ycwh9915.js → aisdk-native-6ma6tmn5.js} +27 -27
- package/dist/chunks/{ripgrep-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-5bssef41.js → aisdk-native-6tkaswsb.js} +3 -3
- package/dist/chunks/{ripgrep-caeeqckt.js → aisdk-native-73gf1wwg.js} +28 -28
- package/dist/chunks/{ripgrep-73tb2d7t.js → aisdk-native-73tb2d7t.js} +1 -1
- package/dist/chunks/{ripgrep-t6msp11s.js → aisdk-native-75my1bc5.js} +6 -6
- package/dist/chunks/{ripgrep-qqy7xhhx.js → aisdk-native-78z3hgz7.js} +5 -5
- package/dist/chunks/{ripgrep-cpd8602d.js → aisdk-native-790tyfjj.js} +27 -27
- package/dist/chunks/{ripgrep-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-t7fksv2z.js → aisdk-native-7fnse62p.js} +11 -11
- package/dist/chunks/{ripgrep-qmhk62hb.js → aisdk-native-7m9x3c92.js} +12 -12
- package/dist/chunks/{ripgrep-1q4danzp.js → aisdk-native-7n1bk2y3.js} +17 -17
- package/dist/chunks/{ripgrep-55ep0f0m.js → aisdk-native-7wh281p0.js} +14 -14
- package/dist/chunks/{ripgrep-yf540f63.js → aisdk-native-7y7cnn6p.js} +12 -12
- package/dist/chunks/{ripgrep-x7cxrgta.js → aisdk-native-81y7m6rg.js} +11 -11
- package/dist/chunks/{ripgrep-47qmnyy5.js → aisdk-native-86kgpshc.js} +16 -16
- package/dist/chunks/{ripgrep-2k71kv7p.js → aisdk-native-86qzxe6p.js} +4 -4
- package/dist/chunks/{ripgrep-afed7ext.js → aisdk-native-893r7tvp.js} +12 -12
- package/dist/chunks/{ripgrep-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-7nvstvty.js → aisdk-native-8p3z1z1q.js} +30 -30
- package/dist/chunks/{ripgrep-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{ripgrep-ngg3x1tr.js → aisdk-native-8xcy80v1.js} +4 -4
- package/dist/chunks/aisdk-native-8zy7n5vr.js +26 -0
- package/dist/chunks/{ripgrep-3ntreqen.js → aisdk-native-90cbbvgp.js} +33 -33
- package/dist/chunks/{ripgrep-kt1f9n97.js → aisdk-native-914fvng1.js} +41 -41
- package/dist/chunks/{ripgrep-0r7yqxbf.js → aisdk-native-92a4ap4w.js} +5 -5
- package/dist/chunks/{ripgrep-wvq10dhv.js → aisdk-native-93geh6gt.js} +5 -5
- package/dist/chunks/{ripgrep-stx8bz6x.js → aisdk-native-9m2snvh5.js} +5 -5
- package/dist/chunks/{ripgrep-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{ripgrep-qx6ay3k3.js → aisdk-native-a25fytbr.js} +25 -25
- package/dist/chunks/{ripgrep-tj1h49fw.js → aisdk-native-a58t5jn9.js} +6 -6
- package/dist/chunks/{ripgrep-zvfnjsma.js → aisdk-native-a8mcjsjd.js} +15 -15
- package/dist/chunks/{ripgrep-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-axvqvry5.js → aisdk-native-aefmpby3.js} +48 -48
- package/dist/chunks/{ripgrep-y0mykrjf.js → aisdk-native-aftgtdfq.js} +5 -5
- package/dist/chunks/{ripgrep-fkv3tvmb.js → aisdk-native-ag13dntn.js} +11 -11
- package/dist/chunks/{ripgrep-37s12vcn.js → aisdk-native-ag9w8cw1.js} +5 -5
- package/dist/chunks/{ripgrep-6n6txemt.js → aisdk-native-ak612zyr.js} +12 -12
- package/dist/chunks/{ripgrep-p0xmwpxx.js → aisdk-native-apqrc77e.js} +20 -20
- package/dist/chunks/{ripgrep-57ez7d0k.js → aisdk-native-atcatw0c.js} +9 -9
- package/dist/chunks/{ripgrep-hkfg6fzm.js → aisdk-native-avm8jn6n.js} +5 -5
- package/dist/chunks/{ripgrep-prnfm6s2.js → aisdk-native-azzxr1zd.js} +4 -4
- package/dist/chunks/{ripgrep-8q7cq0y1.js → aisdk-native-b1a1n7cj.js} +3 -3
- package/dist/chunks/{ripgrep-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-135zn4ta.js → aisdk-native-bak8mr3b.js} +50 -50
- package/dist/chunks/{ripgrep-wwajdw47.js → aisdk-native-be2hac41.js} +9 -9
- package/dist/chunks/{ripgrep-r0x7c0b1.js → aisdk-native-be9tjw7k.js} +17 -17
- package/dist/chunks/{ripgrep-dandedvx.js → aisdk-native-bg2zrr75.js} +1 -1
- package/dist/chunks/{ripgrep-fdbc3gda.js → aisdk-native-bgj4j950.js} +17 -17
- package/dist/chunks/{ripgrep-bj0j6qyc.js → aisdk-native-bk15tzr6.js} +3 -3
- package/dist/chunks/{ripgrep-2hb99qqb.js → aisdk-native-bnzay7e1.js} +33 -33
- package/dist/chunks/{ripgrep-yyf6wefc.js → aisdk-native-c24yqw6p.js} +8 -8
- package/dist/chunks/{ripgrep-wreshrrc.js → aisdk-native-ca6j6eah.js} +27 -27
- package/dist/chunks/{ripgrep-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{ripgrep-bd4r2s1a.js → aisdk-native-cfrmccbd.js} +41 -41
- package/dist/chunks/{ripgrep-3262rvz8.js → aisdk-native-ch95akqm.js} +11 -11
- package/dist/chunks/{ripgrep-rp2wkk18.js → aisdk-native-cndx7de7.js} +12 -12
- package/dist/chunks/{ripgrep-ey6276gs.js → aisdk-native-cxwwdtda.js} +172 -171
- package/dist/chunks/{ripgrep-x0p2edan.js → aisdk-native-d6712et1.js} +19 -19
- package/dist/chunks/{ripgrep-787j17s7.js → aisdk-native-da31v1fa.js} +18 -18
- package/dist/chunks/{ripgrep-paz2y578.js → aisdk-native-ddct6w9p.js} +27 -27
- package/dist/chunks/{ripgrep-pmr4s4kc.js → aisdk-native-dfe8djrf.js} +4 -4
- package/dist/chunks/{ripgrep-y71avatq.js → aisdk-native-dpkg50ah.js} +4 -4
- package/dist/chunks/{ripgrep-3xc0bepy.js → aisdk-native-dqk33esk.js} +9 -9
- package/dist/chunks/{ripgrep-v60wn0qp.js → aisdk-native-dw5z7z4w.js} +20 -20
- package/dist/chunks/{ripgrep-5y91esw8.js → aisdk-native-dy466qfe.js} +18 -18
- package/dist/chunks/{ripgrep-eq20ba7x.js → aisdk-native-e0a154fg.js} +8 -8
- package/dist/chunks/{ripgrep-0anfjktx.js → aisdk-native-e0s4nb43.js} +11 -11
- package/dist/chunks/{ripgrep-5qd3pb7m.js → aisdk-native-e3qxr5gk.js} +2 -2
- package/dist/chunks/{ripgrep-143me7bn.js → aisdk-native-e7angbes.js} +22 -22
- package/dist/chunks/{ripgrep-t41ab7wk.js → aisdk-native-e9abyfmb.js} +9 -9
- package/dist/chunks/{ripgrep-nkrzdj13.js → aisdk-native-e9f2ej98.js} +3 -3
- package/dist/chunks/{ripgrep-3cshwv8b.js → aisdk-native-eb3djvsg.js} +20 -20
- package/dist/chunks/{ripgrep-ejzm5bey.js → aisdk-native-ebsh90pc.js} +2 -2
- package/dist/chunks/{ripgrep-hnstydcq.js → aisdk-native-eby9q55s.js} +24 -24
- package/dist/chunks/{ripgrep-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-mtjk0yh9.js → aisdk-native-eghc6w1b.js} +2 -2
- package/dist/chunks/{ripgrep-2mkxn96z.js → aisdk-native-eh031js9.js} +12 -12
- package/dist/chunks/{ripgrep-egqspz5t.js → aisdk-native-ep9bxrrg.js} +11 -11
- package/dist/chunks/{ripgrep-erw5rpbs.js → aisdk-native-erw5rpbs.js} +2 -2
- package/dist/chunks/{ripgrep-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-e3d6n7ca.js → aisdk-native-f62qkzqr.js} +15 -23
- package/dist/chunks/{ripgrep-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{ripgrep-9gqm56s8.js → aisdk-native-faxym4p7.js} +23 -23
- package/dist/chunks/{ripgrep-7dqw4kz8.js → aisdk-native-fcrkznn8.js} +5 -5
- package/dist/chunks/{ripgrep-17602m8n.js → aisdk-native-ffznjnm2.js} +6 -6
- package/dist/chunks/{ripgrep-hxpmbfxm.js → aisdk-native-fgzz64pf.js} +7 -7
- package/dist/chunks/{ripgrep-d0k1g5nx.js → aisdk-native-fk8xkx28.js} +6 -6
- package/dist/chunks/{ripgrep-05czfhhv.js → aisdk-native-fvfn927n.js} +24 -24
- package/dist/chunks/{ripgrep-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-zyvvry14.js → aisdk-native-fy1zrqyn.js} +29 -29
- package/dist/chunks/{ripgrep-p4ajb0r8.js → aisdk-native-g7tbdc89.js} +1 -1
- package/dist/chunks/{ripgrep-6hh8kjz6.js → aisdk-native-gcg66cf7.js} +8 -8
- package/dist/chunks/{ripgrep-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-skqsy7ey.js → aisdk-native-ge77k9jj.js} +1 -1
- package/dist/chunks/{ripgrep-4nnddwb9.js → aisdk-native-gtwa73tb.js} +26 -26
- package/dist/chunks/{ripgrep-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-s3pw955p.js → aisdk-native-gz8mhd5a.js} +9 -9
- package/dist/chunks/{ripgrep-5mtzsd3b.js → aisdk-native-h6r3nrb9.js} +4 -4
- package/dist/chunks/{ripgrep-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-zcfzy7jy.js → aisdk-native-h78yx8q2.js} +9 -9
- package/dist/chunks/{ripgrep-bajakh74.js → aisdk-native-hfdr1yjj.js} +4 -4
- package/dist/chunks/{ripgrep-j5a0rw3y.js → aisdk-native-hm0evkep.js} +31 -31
- package/dist/chunks/{ripgrep-pg7x47cv.js → aisdk-native-hp33agmj.js} +17 -17
- package/dist/chunks/{ripgrep-ggkags7h.js → aisdk-native-hz16zzfp.js} +9 -9
- package/dist/chunks/{ripgrep-aaj2p223.js → aisdk-native-j21xqhbq.js} +14 -14
- package/dist/chunks/{ripgrep-y2sxgdnx.js → aisdk-native-j49xx98j.js} +30 -30
- package/dist/chunks/{ripgrep-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-r01j3116.js → aisdk-native-jek3y7zv.js} +8 -8
- package/dist/chunks/{ripgrep-ryr25ayn.js → aisdk-native-jfqtm2ew.js} +4 -4
- package/dist/chunks/{ripgrep-71xfkcdx.js → aisdk-native-jmvtxc6a.js} +9 -9
- package/dist/chunks/{ripgrep-s1ayrrqq.js → aisdk-native-jqc73k12.js} +13 -13
- package/dist/chunks/{ripgrep-zdecw2c9.js → aisdk-native-jw132d3y.js} +30 -30
- package/dist/chunks/{ripgrep-yqwasm36.js → aisdk-native-jxf4tgs5.js} +15 -15
- package/dist/chunks/{ripgrep-k3c624dm.js → aisdk-native-k3c624dm.js} +3 -3
- package/dist/chunks/{ripgrep-8srhhjp8.js → aisdk-native-k6sp08p6.js} +25 -25
- package/dist/chunks/{ripgrep-c4k4dnr2.js → aisdk-native-k8ajmdky.js} +32 -32
- package/dist/chunks/{ripgrep-knb7evpn.js → aisdk-native-k9kj6xed.js} +6 -6
- package/dist/chunks/{ripgrep-jvbjhzb9.js → aisdk-native-kdezk8ga.js} +1 -1
- package/dist/chunks/{ripgrep-bf8atwev.js → aisdk-native-kh4seyd8.js} +11 -11
- package/dist/chunks/{ripgrep-n6mzjwwn.js → aisdk-native-kmgmy88r.js} +8 -8
- package/dist/chunks/{ripgrep-vb972p95.js → aisdk-native-kxchnaet.js} +16 -16
- package/dist/chunks/{ripgrep-8cd4z6z0.js → aisdk-native-m214n8z9.js} +42 -42
- package/dist/chunks/{ripgrep-m3fdjcah.js → aisdk-native-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-pjds5a1t.js → aisdk-native-m8tmq85a.js} +23 -23
- package/dist/chunks/{ripgrep-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-0z8vjex2.js → aisdk-native-mjncxbbh.js} +9 -9
- package/dist/chunks/{ripgrep-7qne91zt.js → aisdk-native-mka4rcnv.js} +20 -20
- package/dist/chunks/{ripgrep-w8dfjvzm.js → aisdk-native-mrqg3fqd.js} +20 -20
- package/dist/chunks/{ripgrep-zcyyg4pk.js → aisdk-native-mty1zc95.js} +96 -96
- package/dist/chunks/{ripgrep-2hcfq88c.js → aisdk-native-n3r2v0yx.js} +13 -13
- package/dist/chunks/{ripgrep-5vrw4q23.js → aisdk-native-nc2nfq0c.js} +4 -4
- package/dist/chunks/{ripgrep-ktznxcr1.js → aisdk-native-nehj9kjw.js} +17 -17
- package/dist/chunks/{ripgrep-kqcs6pzm.js → aisdk-native-nhpn0yqv.js} +11 -11
- package/dist/chunks/{ripgrep-9093ft31.js → aisdk-native-p23y0mz8.js} +6 -6
- package/dist/chunks/{ripgrep-mh1qkymb.js → aisdk-native-p26stxcb.js} +4 -4
- package/dist/chunks/{ripgrep-p28j5sbe.js → aisdk-native-p28j5sbe.js} +2 -2
- package/dist/chunks/{ripgrep-ymyt7haz.js → aisdk-native-pdm49dqy.js} +21 -21
- package/dist/chunks/{ripgrep-eatbj8ff.js → aisdk-native-phe6xc55.js} +24 -24
- package/dist/chunks/{ripgrep-7amtwfv5.js → aisdk-native-phzsxtff.js} +25 -24
- package/dist/chunks/{ripgrep-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-764fh7qq.js → aisdk-native-pkj89tdt.js} +18 -18
- package/dist/chunks/{ripgrep-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-vbwt2byz.js → aisdk-native-pm6sdbvh.js} +1 -1
- package/dist/chunks/{ripgrep-tn3fb21q.js → aisdk-native-prbagxsk.js} +53 -53
- package/dist/chunks/{ripgrep-1zkdfxnx.js → aisdk-native-prh8wjy2.js} +11 -11
- package/dist/chunks/{ripgrep-wk5z6jzv.js → aisdk-native-prq7hedt.js} +9 -9
- package/dist/chunks/{ripgrep-vcn0tswg.js → aisdk-native-psfye3yz.js} +12 -12
- package/dist/chunks/{ripgrep-25bf7f5x.js → aisdk-native-pyy7gq1t.js} +5 -5
- package/dist/chunks/{ripgrep-e1enepvt.js → aisdk-native-q3c2jmmf.js} +28 -28
- package/dist/chunks/{ripgrep-m2d0j7c0.js → aisdk-native-qg0jgkcp.js} +9 -9
- package/dist/chunks/{ripgrep-yyn6n238.js → aisdk-native-qgmd0z72.js} +13 -13
- package/dist/chunks/{ripgrep-cn9dh10h.js → aisdk-native-qhj8jn65.js} +27 -27
- package/dist/chunks/{ripgrep-6571xj0k.js → aisdk-native-qkvp0cth.js} +4 -4
- package/dist/chunks/{ripgrep-d5r70txb.js → aisdk-native-qrwrpt8e.js} +10 -10
- package/dist/chunks/{ripgrep-818pfwc9.js → aisdk-native-qs001aqx.js} +11 -11
- package/dist/chunks/{ripgrep-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-fw0n9c34.js → aisdk-native-qzhapjzb.js} +22 -22
- package/dist/chunks/{ripgrep-pm0s3t7d.js → aisdk-native-r3axxf75.js} +23 -23
- package/dist/chunks/aisdk-native-rap9a73h.js +18 -0
- package/dist/chunks/{ripgrep-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-s64k6dbj.js → aisdk-native-rejdk2wv.js} +13 -13
- package/dist/chunks/{ripgrep-sf6ccvgz.js → aisdk-native-rg03pp26.js} +7 -7
- package/dist/chunks/{ripgrep-yp2x3t23.js → aisdk-native-rhraev7y.js} +4 -4
- package/dist/chunks/{ripgrep-k58mf6j0.js → aisdk-native-rkjc101m.js} +17 -17
- package/dist/chunks/{ripgrep-hc3z6ty8.js → aisdk-native-rrzgzpdc.js} +13 -13
- package/dist/chunks/{ripgrep-yrznvahk.js → aisdk-native-s4enseaf.js} +2 -2
- package/dist/chunks/{ripgrep-9z1feey3.js → aisdk-native-s4wkfnry.js} +15 -15
- package/dist/chunks/{ripgrep-hw4xfg24.js → aisdk-native-s76znbf7.js} +14 -14
- package/dist/chunks/{ripgrep-t550f9t1.js → aisdk-native-s8d7rejh.js} +4 -4
- package/dist/chunks/{ripgrep-gmpw826m.js → aisdk-native-s93p5fgj.js} +23 -23
- package/dist/chunks/{ripgrep-19v4a8v1.js → aisdk-native-sejx4042.js} +30 -30
- package/dist/chunks/{ripgrep-207ajt2h.js → aisdk-native-sznyev98.js} +5 -5
- package/dist/chunks/{ripgrep-n9yj8kwm.js → aisdk-native-t15sgqra.js} +15 -15
- package/dist/chunks/{ripgrep-jh6yv6jp.js → aisdk-native-t3dmpghz.js} +17 -17
- package/dist/chunks/{ripgrep-kmh62sce.js → aisdk-native-t3mxyr11.js} +29 -29
- package/dist/chunks/{ripgrep-3bxd3j1q.js → aisdk-native-t52mx0qx.js} +8 -8
- package/dist/chunks/{ripgrep-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-89znhe33.js → aisdk-native-tcezcvh9.js} +4 -4
- package/dist/chunks/{ripgrep-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-19yyczty.js → aisdk-native-te5bmdg3.js} +11 -11
- package/dist/chunks/{ripgrep-rrvdcwb8.js → aisdk-native-tm5b9rdb.js} +31 -31
- package/dist/chunks/{ripgrep-2m6ftvg3.js → aisdk-native-tt6xt5e9.js} +89 -89
- package/dist/chunks/{ripgrep-88v965ed.js → aisdk-native-ttvr5j0k.js} +11 -11
- package/dist/chunks/{ripgrep-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-b2kw7jbn.js → aisdk-native-twj7rfp0.js} +32 -32
- package/dist/chunks/{ripgrep-2yxhe8rz.js → aisdk-native-tz061fqk.js} +23 -23
- package/dist/chunks/{ripgrep-14nch4p9.js → aisdk-native-v1yx87k2.js} +32 -32
- package/dist/chunks/{ripgrep-shh6fz4q.js → aisdk-native-v4jw97dc.js} +4 -4
- package/dist/chunks/aisdk-native-vcgb19sy.js +252 -0
- package/dist/chunks/{ripgrep-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/aisdk-native-vh42dt1g.js +65 -0
- package/dist/chunks/{ripgrep-90xbkf1m.js → aisdk-native-vw9rkfa4.js} +6 -6
- package/dist/chunks/{ripgrep-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-pw9v3g6d.js → aisdk-native-w1ad28wa.js} +8 -8
- package/dist/chunks/{ripgrep-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-gtfpvnfh.js → aisdk-native-w763fc1z.js} +15 -15
- package/dist/chunks/{ripgrep-b0mp8gvf.js → aisdk-native-w7ng0qg3.js} +35 -35
- package/dist/chunks/{ripgrep-dn383c3j.js → aisdk-native-wch3b3hf.js} +15 -15
- package/dist/chunks/{ripgrep-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-t45wd2f1.js → aisdk-native-wef24876.js} +4 -4
- package/dist/chunks/{ripgrep-gryp532t.js → aisdk-native-wf65n15g.js} +32 -32
- package/dist/chunks/{ripgrep-kbtn0gvj.js → aisdk-native-wpah13ae.js} +47 -47
- package/dist/chunks/{ripgrep-fch79rh9.js → aisdk-native-wy8b5sm2.js} +1 -1
- package/dist/chunks/{ripgrep-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-v4djrp1d.js → aisdk-native-x3jj28dr.js} +16 -16
- package/dist/chunks/{ripgrep-zwjrcp72.js → aisdk-native-x7rdhrf2.js} +3 -3
- package/dist/chunks/{ripgrep-g190xswt.js → aisdk-native-xdk9p2qn.js} +21 -21
- package/dist/chunks/{ripgrep-drwq78ky.js → aisdk-native-xfkkasph.js} +4 -4
- package/dist/chunks/{ripgrep-9jbvj98d.js → aisdk-native-xncgd71c.js} +8 -8
- package/dist/chunks/{ripgrep-xs8bgbnm.js → aisdk-native-xt926x41.js} +9 -9
- package/dist/chunks/{ripgrep-4ms8cvn9.js → aisdk-native-xz012fjz.js} +43 -43
- package/dist/chunks/{ripgrep-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-f77kvyx9.js → aisdk-native-y5sbkpav.js} +9 -9
- package/dist/chunks/{ripgrep-ed4jhkrr.js → aisdk-native-y8retmp5.js} +11 -11
- package/dist/chunks/{ripgrep-mhg7kg7t.js → aisdk-native-ycszhq9a.js} +13 -13
- package/dist/chunks/{ripgrep-d17v2seq.js → aisdk-native-yd82269j.js} +24 -24
- package/dist/chunks/{ripgrep-36nh78em.js → aisdk-native-yj9cs6ej.js} +11 -11
- package/dist/chunks/{ripgrep-0t9h8sys.js → aisdk-native-yk07gt9m.js} +25 -25
- package/dist/chunks/{ripgrep-pj7cm4a7.js → aisdk-native-ykdn4ap7.js} +60 -60
- package/dist/chunks/{ripgrep-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-dy30gtq0.js → aisdk-native-ytynsydc.js} +7 -7
- package/dist/chunks/{ripgrep-ahd542yp.js → aisdk-native-yvvvp4gn.js} +8 -8
- package/dist/chunks/{ripgrep-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-kf7s4xja.js → aisdk-native-z761613z.js} +9 -9
- package/dist/chunks/{ripgrep-rpg9c19m.js → aisdk-native-zav06jzw.js} +4 -4
- package/dist/chunks/{ripgrep-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- 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 +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- 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 +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- 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 +124 -124
- 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 +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +3 -3
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +98 -98
- 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 +86 -86
- 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 +68 -68
- package/dist/location-activity.js +134 -134
- 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 +88 -88
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- 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 +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +93 -93
- 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 +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- 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 +91 -91
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- 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 +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- 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 +96 -96
- 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 +129 -129
- package/dist/session/projector.js +85 -85
- 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 +3 -3
- 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 +113 -113
- 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 +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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- 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 +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/tool.d.ts +3 -0
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- 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/ripgrep-959fz07v.js +0 -26
- package/dist/chunks/ripgrep-bpc11pn8.js +0 -65
- package/dist/chunks/ripgrep-cgzmgrgv.js +0 -492
- package/dist/chunks/ripgrep-jyfacthb.js +0 -252
- package/dist/chunks/ripgrep-pf31ssb9.js +0 -18
- /package/dist/chunks/{ripgrep-0mesazry.js → aisdk-native-0mesazry.js} +0 -0
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./aisdk-native-eh031js9.js";
|
|
8
|
+
import {
|
|
9
|
+
Event20,
|
|
5
10
|
Service79,
|
|
6
11
|
node83
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Event17,
|
|
10
|
-
Service67,
|
|
11
|
-
node70
|
|
12
|
-
} from "./ripgrep-nmq6ymmq.js";
|
|
12
|
+
} from "./aisdk-native-3a9n5gmg.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service74,
|
|
15
|
+
node78
|
|
16
|
+
} from "./aisdk-native-rkjc101m.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service45,
|
|
19
|
+
node48
|
|
20
|
+
} from "./aisdk-native-1eys957h.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./aisdk-native-ca6j6eah.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./aisdk-native-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID15,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service77,
|
|
34
|
+
node81
|
|
35
|
+
} from "./aisdk-native-jw132d3y.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service39,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
|
+
layer: () => layer15,
|
|
58
|
+
node: () => node42
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service39 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
104
|
+
var layer15 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service74;
|
|
106
|
+
const environment = yield* Service45;
|
|
107
|
+
const bus = yield* Service82;
|
|
108
|
+
const forms = yield* Service78;
|
|
109
|
+
const integration = yield* Service77;
|
|
110
|
+
const credentials = yield* Service79;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID15.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError4({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID16.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
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(
|
|
243
|
+
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(Service45, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service39.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured4(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [
|
|
515
|
+
service: Service39,
|
|
516
|
+
layer: layer15(options),
|
|
517
|
+
deps: [node78, node48, node86, node82, node81, node83]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node42 = configured4();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service39, Options4, layer15, configured4, node42, exports_mcp4 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./aisdk-native-aefmpby3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./aisdk-native-73gf1wwg.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction2 = {};
|
|
16
16
|
__export(exports_compaction2, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin40
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin40 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service69;
|
|
26
|
+
const compaction = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin22 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin40, exports_compaction2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service3,
|
|
13
|
+
node: () => node4
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service3 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service3.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service3, node4, exports_update };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-4nm3cgsd.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service69
|
|
8
|
+
} from "./aisdk-native-aefmpby3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
resolve2
|
|
11
|
+
} from "./aisdk-native-ffznjnm2.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin46
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin46 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service69;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -177,7 +177,7 @@ var Plugin26 = define({
|
|
|
177
177
|
if (config.variants === undefined && !source?.base)
|
|
178
178
|
models.update(providerID, id, (model) => {
|
|
179
179
|
model.variants = [
|
|
180
|
-
...
|
|
180
|
+
...resolve2({
|
|
181
181
|
...model,
|
|
182
182
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
183
183
|
})
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin46, exports_provider };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./aisdk-native-jw132d3y.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service77;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID15.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./aisdk-native-eh031js9.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-s8d7rejh.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event12,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options7,
|
|
30
|
+
Service: () => Service67,
|
|
31
|
+
configured: () => configured9,
|
|
32
|
+
layer: () => layer22,
|
|
33
|
+
node: () => node71
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event12 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options7 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service67 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer22 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service82;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make21({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service67.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured9(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service67,
|
|
110
|
+
layer: layer22(options),
|
|
111
|
+
deps: [node86]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node71 = configured9();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event12, Options7, Service67, layer22, configured9, node71, exports_instruction_discovery };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node12, exports_discovery };
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service63,
|
|
9
|
+
node67
|
|
10
|
+
} from "./aisdk-native-8p3z1z1q.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-b1a1n7cj.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service51,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node55,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service51 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service63;
|
|
77
|
+
return Service51.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node55 = makeLocationNode({ service: Service51, layer, deps: [node67] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service51, resolved2, node55, exports_model };
|