@opencode/core 0.0.0-dev-19682 → 0.0.0-dev-19683
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{persistent-pty-n6twqwrr.js → aisdk-native-00j0dh26.js} +3 -3
- package/dist/chunks/{persistent-pty-26k5bknw.js → aisdk-native-06dxphr1.js} +4 -4
- package/dist/chunks/{persistent-pty-ky788973.js → aisdk-native-09956swx.js} +11 -11
- package/dist/chunks/{persistent-pty-7e0b5fpv.js → aisdk-native-0a14krkj.js} +13 -13
- package/dist/chunks/{persistent-pty-0f9afca0.js → aisdk-native-0f9afca0.js} +2 -2
- package/dist/chunks/{persistent-pty-0zbmh4se.js → aisdk-native-0g09j3nb.js} +34 -34
- package/dist/chunks/{persistent-pty-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-v8x5s6qt.js → aisdk-native-0qemd7z6.js} +47 -47
- package/dist/chunks/{persistent-pty-rya04ard.js → aisdk-native-0yv7vnxb.js} +28 -28
- package/dist/chunks/{persistent-pty-wgcwk5gf.js → aisdk-native-115hbv0n.js} +15 -15
- package/dist/chunks/{persistent-pty-gddc0fts.js → aisdk-native-16hwt5r8.js} +57 -57
- package/dist/chunks/{persistent-pty-jt0mfgqw.js → aisdk-native-18xw5b3r.js} +47 -47
- package/dist/chunks/{persistent-pty-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-dase69n4.js → aisdk-native-1khh3dgh.js} +24 -24
- package/dist/chunks/{persistent-pty-tp9yp7n5.js → aisdk-native-1s1yk029.js} +42 -42
- package/dist/chunks/{persistent-pty-gxq6akdt.js → aisdk-native-1teps6y3.js} +4 -4
- package/dist/chunks/{persistent-pty-56gdpj1q.js → aisdk-native-1ygqh575.js} +9 -9
- package/dist/chunks/{persistent-pty-hgehe5qr.js → aisdk-native-21fjxxq6.js} +10 -10
- package/dist/chunks/{persistent-pty-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-2402vzrj.js → aisdk-native-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-4drgpw32.js → aisdk-native-2cmv458r.js} +5 -5
- package/dist/chunks/{persistent-pty-bmqzgjgb.js → aisdk-native-2gbh0fha.js} +25 -25
- package/dist/chunks/{persistent-pty-0xp5hpj0.js → aisdk-native-2nkaynk5.js} +31 -31
- package/dist/chunks/{persistent-pty-ddcn1th9.js → aisdk-native-2ybfqxjc.js} +24 -24
- package/dist/chunks/{persistent-pty-4kzetxh1.js → aisdk-native-32nb2s9m.js} +17 -17
- package/dist/chunks/{persistent-pty-bbctgmqj.js → aisdk-native-3a7ehprh.js} +3 -3
- package/dist/chunks/{persistent-pty-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-pk54j106.js → aisdk-native-3jphrg1a.js} +32 -32
- package/dist/chunks/{persistent-pty-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-xk76jmgb.js → aisdk-native-3vdfxtgs.js} +3 -3
- package/dist/chunks/{persistent-pty-c78bbtc9.js → aisdk-native-3w2b2yj4.js} +5 -5
- package/dist/chunks/{persistent-pty-vmwh049b.js → aisdk-native-3zgzsr0q.js} +6 -6
- package/dist/chunks/{persistent-pty-2eegacq4.js → aisdk-native-4a0nv7mx.js} +8 -8
- package/dist/chunks/{persistent-pty-f6f6yxds.js → aisdk-native-4c02e3a4.js} +3 -3
- package/dist/chunks/{persistent-pty-e3ej8st1.js → aisdk-native-50t98bj2.js} +17 -17
- package/dist/chunks/{persistent-pty-57ez7d0k.js → aisdk-native-57ez7d0k.js} +2 -2
- package/dist/chunks/{persistent-pty-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-rf0ac1nd.js → aisdk-native-64121yjq.js} +19 -19
- package/dist/chunks/{persistent-pty-mnmpf8vs.js → aisdk-native-6480rn39.js} +11 -11
- package/dist/chunks/{persistent-pty-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-g5g08czv.js → aisdk-native-68bdaj6y.js} +10 -10
- package/dist/chunks/{persistent-pty-xz5jgbdk.js → aisdk-native-68k76m1k.js} +9 -9
- package/dist/chunks/{persistent-pty-y56ehv6b.js → aisdk-native-6hjx5zpb.js} +9 -9
- package/dist/chunks/aisdk-native-6kdq0pjd.js +4 -0
- package/dist/chunks/{persistent-pty-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-y3g69tt1.js → aisdk-native-6n56vpse.js} +27 -27
- package/dist/chunks/{persistent-pty-3zc93ghn.js → aisdk-native-6rf7f5jd.js} +22 -22
- package/dist/chunks/{persistent-pty-zwyvjxyb.js → aisdk-native-6w67has8.js} +5 -5
- package/dist/chunks/{persistent-pty-gb7dj5em.js → aisdk-native-6z7z12yj.js} +36 -36
- package/dist/chunks/{persistent-pty-r5x6zcsm.js → aisdk-native-73tb2d7t.js} +3 -3
- package/dist/chunks/{persistent-pty-qq0enmay.js → aisdk-native-76jm940e.js} +20 -20
- package/dist/chunks/{persistent-pty-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-wbyzgfj3.js → aisdk-native-7c30dffs.js} +22 -22
- package/dist/chunks/{persistent-pty-2k8khapm.js → aisdk-native-7dqw4kz8.js} +5 -5
- package/dist/chunks/{persistent-pty-q8dvbymb.js → aisdk-native-7e0n63vf.js} +23 -23
- package/dist/chunks/{persistent-pty-bzhwnh4p.js → aisdk-native-7krekesg.js} +30 -30
- package/dist/chunks/{persistent-pty-bscb95cy.js → aisdk-native-7w3s9kd0.js} +4 -4
- package/dist/chunks/{persistent-pty-9g2dhd49.js → aisdk-native-87sjyc5f.js} +15 -15
- package/dist/chunks/{persistent-pty-0m8ssbne.js → aisdk-native-88jxqscj.js} +10 -10
- package/dist/chunks/{persistent-pty-e550c21h.js → aisdk-native-88ykc3s8.js} +18 -18
- package/dist/chunks/{persistent-pty-8xfqr98k.js → aisdk-native-8awfgv52.js} +14 -14
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-ax36eyar.js → aisdk-native-8hbfdwcy.js} +4 -4
- package/dist/chunks/{persistent-pty-wn348gvk.js → aisdk-native-8m0chse6.js} +35 -35
- package/dist/chunks/{persistent-pty-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-xxg060p8.js → aisdk-native-8y1b1xx2.js} +11 -11
- package/dist/chunks/{persistent-pty-fds3vh5r.js → aisdk-native-92k45pvj.js} +6 -6
- package/dist/chunks/{persistent-pty-kh2xt8yc.js → aisdk-native-96x7zdnn.js} +22 -22
- package/dist/chunks/{persistent-pty-vpy6tv1g.js → aisdk-native-9abfm80s.js} +18 -18
- package/dist/chunks/{persistent-pty-8kf7y4ht.js → aisdk-native-9gt9xvgh.js} +11 -11
- package/dist/chunks/{persistent-pty-tpw6cwsb.js → aisdk-native-9hn6k4tm.js} +8 -8
- package/dist/chunks/{persistent-pty-vmgq4x8b.js → aisdk-native-9jwxq161.js} +2 -2
- package/dist/chunks/{persistent-pty-fr1268wp.js → aisdk-native-9sjy1xft.js} +20 -20
- package/dist/chunks/{persistent-pty-e2ky9s5t.js → aisdk-native-9wh35tzk.js} +47 -47
- package/dist/chunks/{persistent-pty-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-34rkz0x9.js → aisdk-native-a46v4e4v.js} +7 -7
- package/dist/chunks/{persistent-pty-qa0ka09q.js → aisdk-native-a7csp2mw.js} +2 -2
- package/dist/chunks/{persistent-pty-90rrdtsa.js → aisdk-native-a9jcekkd.js} +9 -9
- package/dist/chunks/{persistent-pty-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-1drb93k1.js → aisdk-native-atrw5sbr.js} +32 -32
- package/dist/chunks/{persistent-pty-rdt39d18.js → aisdk-native-atz937d5.js} +30 -30
- package/dist/chunks/{persistent-pty-mz25dwn3.js → aisdk-native-az4g7yjb.js} +26 -26
- package/dist/chunks/{persistent-pty-0tvcf6qn.js → aisdk-native-b3w3f3fm.js} +24 -24
- package/dist/chunks/{persistent-pty-fvy1mc4q.js → aisdk-native-b5j16w9d.js} +12 -12
- package/dist/chunks/{persistent-pty-26bg82qa.js → aisdk-native-b6dhfaq6.js} +11 -11
- package/dist/chunks/{persistent-pty-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-ck5kwbgm.js → aisdk-native-b9g40zgd.js} +16 -16
- package/dist/chunks/{persistent-pty-hpbxecpz.js → aisdk-native-ba3991h0.js} +32 -32
- package/dist/chunks/{persistent-pty-z8rhdvzk.js → aisdk-native-bab4jsc6.js} +20 -20
- package/dist/chunks/{persistent-pty-cw2220fx.js → aisdk-native-bnzkcavh.js} +37 -37
- package/dist/chunks/{persistent-pty-ke2aez33.js → aisdk-native-bpwm8rb1.js} +301 -301
- package/dist/chunks/{persistent-pty-2zmnbmev.js → aisdk-native-bym8k2q4.js} +18 -18
- package/dist/chunks/{persistent-pty-b97cbvw3.js → aisdk-native-bz85s9hh.js} +1 -1
- package/dist/chunks/{persistent-pty-5vb3py7h.js → aisdk-native-c6phvjqp.js} +4 -4
- package/dist/chunks/{persistent-pty-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{persistent-pty-d48be562.js → aisdk-native-cjks21kp.js} +5 -5
- package/dist/chunks/{persistent-pty-bha4atvq.js → aisdk-native-cq37gk0t.js} +4 -4
- package/dist/chunks/{persistent-pty-qmqgtz8f.js → aisdk-native-cwa6csj7.js} +9 -9
- package/dist/chunks/{persistent-pty-83d2wykz.js → aisdk-native-cwq8nmtd.js} +20 -20
- package/dist/chunks/{persistent-pty-tmdzsscp.js → aisdk-native-d101js13.js} +19 -19
- package/dist/chunks/{persistent-pty-a50z0fpr.js → aisdk-native-d6er668x.js} +13 -13
- package/dist/chunks/{persistent-pty-h0b9xjk8.js → aisdk-native-d6h9vrqt.js} +5 -5
- package/dist/chunks/{persistent-pty-771mw8n5.js → aisdk-native-d9cxwk5k.js} +74 -74
- package/dist/chunks/{persistent-pty-9jvshbgc.js → aisdk-native-dbnsaed8.js} +28 -28
- package/dist/chunks/{persistent-pty-r98e92ep.js → aisdk-native-dfe8djrf.js} +4 -4
- package/dist/chunks/{persistent-pty-embw8kgh.js → aisdk-native-dhmh7aw6.js} +4 -4
- package/dist/chunks/{persistent-pty-rgfqswwp.js → aisdk-native-dj7e4mff.js} +5 -5
- package/dist/chunks/{persistent-pty-t2tcessw.js → aisdk-native-dn7561av.js} +23 -23
- package/dist/chunks/{persistent-pty-pt4q81m1.js → aisdk-native-e576cz19.js} +4 -4
- package/dist/chunks/{persistent-pty-r7pgccbm.js → aisdk-native-e99pjtb3.js} +30 -30
- package/dist/chunks/{persistent-pty-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-w8hnngn5.js → aisdk-native-ef88rrmz.js} +12 -12
- package/dist/chunks/{persistent-pty-677phc5j.js → aisdk-native-eh5yz98j.js} +8 -8
- package/dist/chunks/{persistent-pty-v606rqvb.js → aisdk-native-em3f3zkt.js} +27 -27
- package/dist/chunks/{persistent-pty-hsv3rq22.js → aisdk-native-er424j15.js} +4 -4
- package/dist/chunks/{persistent-pty-4n4k0cnh.js → aisdk-native-esp4ax25.js} +4 -4
- package/dist/chunks/{persistent-pty-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-e2wwkkr3.js → aisdk-native-f1h6hjy5.js} +28 -28
- package/dist/chunks/{persistent-pty-magykp64.js → aisdk-native-f3ngv102.js} +4 -4
- package/dist/chunks/{persistent-pty-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-sbrnn11p.js → aisdk-native-fj40dq2k.js} +4 -4
- package/dist/chunks/{persistent-pty-w6sjcj00.js → aisdk-native-fkv0s007.js} +41 -41
- package/dist/chunks/{persistent-pty-ry3rwstb.js → aisdk-native-fs4x7456.js} +9 -9
- package/dist/chunks/{persistent-pty-1atzs1aw.js → aisdk-native-fvghqctd.js} +10 -10
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-bf44fs7q.js → aisdk-native-fxqcjp4y.js} +22 -22
- package/dist/chunks/{persistent-pty-hesrcs9n.js → aisdk-native-g17fnnhe.js} +18 -18
- package/dist/chunks/{persistent-pty-tebckzj7.js → aisdk-native-g9kf27qg.js} +9 -9
- package/dist/chunks/{persistent-pty-kg4jxx0b.js → aisdk-native-gd2xe63m.js} +11 -11
- package/dist/chunks/{persistent-pty-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-6f4jyr9n.js → aisdk-native-gfww71ry.js} +1 -1
- package/dist/chunks/{persistent-pty-7pjh2c00.js → aisdk-native-ggxh3msc.js} +20 -20
- package/dist/chunks/{persistent-pty-8cnzmmsd.js → aisdk-native-gj4qp5ev.js} +23 -23
- package/dist/chunks/{persistent-pty-t68jr2fk.js → aisdk-native-gp1abar7.js} +17 -17
- package/dist/chunks/{persistent-pty-d43tgzm4.js → aisdk-native-gr1f03ws.js} +9 -9
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-x2bhsfx5.js → aisdk-native-h11rgf29.js} +69 -69
- package/dist/chunks/{persistent-pty-1ftd87y6.js → aisdk-native-h16eh2cg.js} +14 -14
- package/dist/chunks/{persistent-pty-sxwb65hc.js → aisdk-native-h2f7hf79.js} +24 -24
- package/dist/chunks/{persistent-pty-44h5tttr.js → aisdk-native-h6r3nrb9.js} +4 -4
- package/dist/chunks/{persistent-pty-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-3a3m4psf.js → aisdk-native-h94hje80.js} +15 -15
- package/dist/chunks/aisdk-native-hcp8xqw6.js +247 -0
- package/dist/chunks/{persistent-pty-cwk6dc0f.js → aisdk-native-hd6qev3f.js} +17 -17
- package/dist/chunks/{persistent-pty-ep6z9mt6.js → aisdk-native-hdthj1pw.js} +5 -5
- package/dist/chunks/{persistent-pty-1fdf6jkm.js → aisdk-native-hejrs7ps.js} +4 -4
- package/dist/chunks/{persistent-pty-5zf9zmc3.js → aisdk-native-hev6f6cv.js} +7 -7
- package/dist/chunks/{persistent-pty-8gyk9vq5.js → aisdk-native-hgqdqc69.js} +4 -4
- package/dist/chunks/{persistent-pty-scr9tq7r.js → aisdk-native-hngy6k3e.js} +6 -6
- package/dist/chunks/{persistent-pty-jv01nqvq.js → aisdk-native-hnr5yq9h.js} +5 -5
- package/dist/chunks/{persistent-pty-m31hrvtp.js → aisdk-native-hqxaqnsz.js} +13 -13
- package/dist/chunks/{persistent-pty-ehjgfrb8.js → aisdk-native-ht0ph52s.js} +26 -26
- package/dist/chunks/{persistent-pty-gg4a0jgp.js → aisdk-native-hw5w4egb.js} +27 -27
- package/dist/chunks/{persistent-pty-18sxed07.js → aisdk-native-hw8p7939.js} +36 -36
- package/dist/chunks/{persistent-pty-cpy6gm2a.js → aisdk-native-j15mfg1p.js} +4 -4
- package/dist/chunks/{persistent-pty-pea6h7py.js → aisdk-native-j1r486kk.js} +7 -7
- package/dist/chunks/{persistent-pty-5by067t8.js → aisdk-native-j47mgn54.js} +4 -4
- package/dist/chunks/{persistent-pty-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-rvayqjwn.js → aisdk-native-jc9s7gf6.js} +19 -19
- package/dist/chunks/{persistent-pty-9cyc6z1w.js → aisdk-native-jf1jvezk.js} +10 -10
- package/dist/chunks/{persistent-pty-7j2qha59.js → aisdk-native-jhpaar4x.js} +8 -8
- package/dist/chunks/{persistent-pty-k3gnzxs0.js → aisdk-native-jppvw2tx.js} +5 -5
- package/dist/chunks/{persistent-pty-afm11xz0.js → aisdk-native-k3c624dm.js} +19 -14
- package/dist/chunks/{persistent-pty-gypqxzd7.js → aisdk-native-k44b8f6f.js} +9 -9
- package/dist/chunks/{persistent-pty-44ke2mar.js → aisdk-native-k9kj6xed.js} +6 -6
- package/dist/chunks/{persistent-pty-jsed32gb.js → aisdk-native-kccbwwm6.js} +26 -26
- package/dist/chunks/{persistent-pty-17es1da5.js → aisdk-native-kfg3nz9r.js} +23 -23
- package/dist/chunks/{persistent-pty-4fpwq1r9.js → aisdk-native-kgcyjstq.js} +3 -3
- package/dist/chunks/{persistent-pty-sf2e06tm.js → aisdk-native-knr6p7a1.js} +169 -169
- package/dist/chunks/{persistent-pty-4vf6h4mv.js → aisdk-native-kwy4afdt.js} +8 -8
- package/dist/chunks/{persistent-pty-f2njkax9.js → aisdk-native-kzc5k3kj.js} +7 -7
- package/dist/chunks/{persistent-pty-m3fdjcah.js → aisdk-native-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-rhzgsha5.js → aisdk-native-m7nbb49h.js} +24 -24
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-vpscksex.js → aisdk-native-md454ze3.js} +32 -32
- package/dist/chunks/{persistent-pty-vhg8gbw9.js → aisdk-native-mgz011jm.js} +7 -7
- package/dist/chunks/{persistent-pty-xbry3q9d.js → aisdk-native-mnc31gpg.js} +7 -7
- package/dist/chunks/{persistent-pty-xy1te82j.js → aisdk-native-mtax4y4w.js} +6 -6
- package/dist/chunks/{persistent-pty-8rx2gh2n.js → aisdk-native-mza6s6hg.js} +81 -81
- package/dist/chunks/{persistent-pty-akan8yn4.js → aisdk-native-n082d93f.js} +11 -11
- package/dist/chunks/{persistent-pty-fzvmjdr3.js → aisdk-native-n08t6ze5.js} +13 -13
- package/dist/chunks/{persistent-pty-xeqcm4dq.js → aisdk-native-n60s5vft.js} +5 -5
- package/dist/chunks/{persistent-pty-kedanpwc.js → aisdk-native-n8twdh81.js} +22 -22
- package/dist/chunks/{persistent-pty-vsrt67qk.js → aisdk-native-nh7mhm8v.js} +5 -5
- package/dist/chunks/{persistent-pty-jak50wjt.js → aisdk-native-nhww9bhn.js} +29 -29
- package/dist/chunks/{persistent-pty-4ttbd9rb.js → aisdk-native-npjtxnbs.js} +19 -19
- package/dist/chunks/{persistent-pty-pcawhjwq.js → aisdk-native-p0z2qksq.js} +295 -295
- package/dist/chunks/{persistent-pty-99jk88nh.js → aisdk-native-p8bevgsj.js} +42 -42
- package/dist/chunks/{persistent-pty-tvysf4y4.js → aisdk-native-pf2e8y0d.js} +5 -5
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-9r4twygd.js → aisdk-native-pm220jya.js} +29 -29
- package/dist/chunks/{persistent-pty-nq7qbqzc.js → aisdk-native-pnv527nz.js} +9 -9
- package/dist/chunks/{persistent-pty-fpfkm27p.js → aisdk-native-pwwerkbj.js} +13 -13
- package/dist/chunks/{persistent-pty-fype0rw8.js → aisdk-native-q2024qw3.js} +11 -11
- package/dist/chunks/{persistent-pty-vbx9nkth.js → aisdk-native-q65r789c.js} +15 -15
- package/dist/chunks/{persistent-pty-y02q0mz5.js → aisdk-native-q6q6aknj.js} +10 -10
- package/dist/chunks/{persistent-pty-e7z9zthm.js → aisdk-native-qbgpcm8y.js} +11 -11
- package/dist/chunks/{persistent-pty-kszyjgag.js → aisdk-native-qgcr32z5.js} +13 -13
- package/dist/chunks/{persistent-pty-65e72azk.js → aisdk-native-qghhqzkx.js} +5 -5
- package/dist/chunks/{persistent-pty-gamcf2tt.js → aisdk-native-qj07q2eg.js} +33 -33
- package/dist/chunks/{persistent-pty-f3a1m4jg.js → aisdk-native-qrdq1prv.js} +10 -10
- package/dist/chunks/{persistent-pty-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-e5gwvkqs.js → aisdk-native-r81gss8s.js} +7 -7
- package/dist/chunks/aisdk-native-rap9a73h.js +18 -0
- package/dist/chunks/{persistent-pty-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-eaj1djv9.js → aisdk-native-rhjbct0v.js} +8 -8
- package/dist/chunks/{persistent-pty-7rqzqf2y.js → aisdk-native-rrgzyjaj.js} +5 -5
- package/dist/chunks/{persistent-pty-0d1bsqa1.js → aisdk-native-s4k2cmb5.js} +13 -13
- package/dist/chunks/{persistent-pty-fp9xmcy3.js → aisdk-native-s86dqrf8.js} +8 -8
- package/dist/chunks/{persistent-pty-ghdbx2at.js → aisdk-native-sk3v0q87.js} +13 -13
- package/dist/chunks/{persistent-pty-p1zb2z5r.js → aisdk-native-skjgnpnj.js} +14 -14
- package/dist/chunks/{persistent-pty-5cmxdwv8.js → aisdk-native-skyymkrr.js} +3 -3
- package/dist/chunks/{persistent-pty-s7cyq3j7.js → aisdk-native-swmbf78h.js} +4 -4
- package/dist/chunks/{persistent-pty-w6tpnshf.js → aisdk-native-sythwh0s.js} +6 -6
- package/dist/chunks/{persistent-pty-p91ayak9.js → aisdk-native-t1cbfw6a.js} +7 -7
- package/dist/chunks/{persistent-pty-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-jbz8x4nc.js → aisdk-native-tba18gcj.js} +33 -33
- package/dist/chunks/{persistent-pty-bw0vgseb.js → aisdk-native-tc6qcdy5.js} +8 -8
- package/dist/chunks/{persistent-pty-tcay1cqt.js → aisdk-native-tcay1cqt.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-n4x3txqd.js → aisdk-native-tf0wxgc3.js} +16 -16
- package/dist/chunks/{persistent-pty-6ng8rhkc.js → aisdk-native-tkjpgj67.js} +12 -12
- package/dist/chunks/{persistent-pty-0457sjwy.js → aisdk-native-ttkvv5bq.js} +11 -11
- package/dist/chunks/{persistent-pty-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-m07kesbd.js → aisdk-native-vd6jm2yd.js} +31 -31
- package/dist/chunks/{persistent-pty-zqew8r2r.js → aisdk-native-vep9a8b1.js} +15 -15
- package/dist/chunks/{persistent-pty-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-npsagvvz.js → aisdk-native-vjhr626e.js} +8 -8
- package/dist/chunks/{persistent-pty-kj36yjv0.js → aisdk-native-vpv3g2a7.js} +9 -9
- package/dist/chunks/{persistent-pty-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-an66st8b.js → aisdk-native-wb3p2xcb.js} +14 -14
- package/dist/chunks/{persistent-pty-egja3w3k.js → aisdk-native-wbtqks6c.js} +11 -11
- package/dist/chunks/{persistent-pty-2ca164mb.js → aisdk-native-wc0j5gyx.js} +6 -6
- package/dist/chunks/{persistent-pty-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-x8d4tdmm.js → aisdk-native-wkag27sj.js} +46 -46
- package/dist/chunks/{persistent-pty-53g11zbg.js → aisdk-native-wr33kjtx.js} +1 -1
- package/dist/chunks/{persistent-pty-4xmqhafq.js → aisdk-native-wrabmwcn.js} +19 -19
- package/dist/chunks/{persistent-pty-mzhzy1pb.js → aisdk-native-wsck3bd6.js} +13 -13
- package/dist/chunks/{persistent-pty-c5gn303e.js → aisdk-native-x0511brf.js} +4 -4
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-e4zvn0y8.js → aisdk-native-x3sqx4k7.js} +9 -9
- package/dist/chunks/{persistent-pty-29ekt46m.js → aisdk-native-x4bjtptf.js} +26 -26
- package/dist/chunks/{persistent-pty-77z07hfr.js → aisdk-native-xbv6w661.js} +5 -5
- package/dist/chunks/{persistent-pty-xfkkasph.js → aisdk-native-xfkkasph.js} +1 -1
- package/dist/chunks/{persistent-pty-1vp2wv45.js → aisdk-native-xnjb55qs.js} +24 -24
- package/dist/chunks/{persistent-pty-5tpy2fbk.js → aisdk-native-xxy1bhm1.js} +10 -10
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-xrzs32wx.js → aisdk-native-y3cfv4n4.js} +35 -35
- package/dist/chunks/{persistent-pty-3gmdw0js.js → aisdk-native-y6cd6ah2.js} +10 -10
- package/dist/chunks/{persistent-pty-709mss9f.js → aisdk-native-y6kxd9cb.js} +20 -20
- package/dist/chunks/{persistent-pty-dpkg50ah.js → aisdk-native-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-erk99hyj.js → aisdk-native-y7nsxf6r.js} +51 -51
- package/dist/chunks/aisdk-native-y817ngn0.js +26 -0
- package/dist/chunks/{persistent-pty-7xnpcceb.js → aisdk-native-ydehfash.js} +32 -32
- package/dist/chunks/{persistent-pty-47bndgm5.js → aisdk-native-yfdx3v3q.js} +42 -42
- package/dist/chunks/{persistent-pty-3chrvcfn.js → aisdk-native-yhsb8ghp.js} +14 -14
- package/dist/chunks/{persistent-pty-nrp0dgk2.js → aisdk-native-ymtrgr5e.js} +19 -19
- package/dist/chunks/{persistent-pty-yp2x3t23.js → aisdk-native-yp2x3t23.js} +1 -1
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → aisdk-native-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-68tr05pn.js → aisdk-native-yvgpa5e3.js} +39 -39
- package/dist/chunks/{persistent-pty-t8tppdbr.js → aisdk-native-yy7hzrx1.js} +20 -20
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-z63w68vq.js → aisdk-native-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-bjff6841.js → aisdk-native-zdr1f95n.js} +22 -22
- package/dist/chunks/{persistent-pty-cacw0tx2.js → aisdk-native-zeh8ztgw.js} +11 -11
- package/dist/chunks/{persistent-pty-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-fxbmv06w.js → aisdk-native-zetf5mxq.js} +13 -13
- package/dist/chunks/{persistent-pty-98s8e1rw.js → aisdk-native-zgth59m1.js} +8 -8
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-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 +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +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 +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +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 +125 -125
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +359 -359
- 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 +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +92 -92
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +93 -93
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +94 -94
- 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 +1 -1
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +70 -70
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +125 -125
- 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 +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- 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 +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/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 +328 -328
- 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 +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/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 +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 +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +83 -83
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +93 -93
- 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 +74 -74
- 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 +1 -1
- 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 +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +119 -119
- 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/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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-0mesazry.js +0 -4
- package/dist/chunks/persistent-pty-c1q333ww.js +0 -26
- package/dist/chunks/persistent-pty-n95b3jav.js +0 -18
- package/dist/chunks/persistent-pty-wyxhhks7.js +0 -247
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → aisdk-native-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node72
|
|
5
|
+
} from "./aisdk-native-21fjxxq6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./aisdk-native-tf0wxgc3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
11
|
+
ID13,
|
|
12
|
+
aisdk2,
|
|
13
|
+
native2
|
|
14
|
+
} from "./aisdk-native-bpwm8rb1.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
Family2,
|
|
18
18
|
compatibility2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-native-0g09j3nb.js";
|
|
20
20
|
import {
|
|
21
21
|
resolve2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./aisdk-native-3vdfxtgs.js";
|
|
23
23
|
import {
|
|
24
24
|
Service62,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
node65
|
|
26
|
+
} from "./aisdk-native-a9jcekkd.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/models-dev.ts
|
|
32
32
|
var exports_models_dev = {};
|
|
@@ -34,11 +34,11 @@ __export(exports_models_dev, {
|
|
|
34
34
|
CatalogModelStatus: () => CatalogModelStatus2,
|
|
35
35
|
Event: () => Event7,
|
|
36
36
|
ModelsDev: () => exports_models_dev,
|
|
37
|
-
Options: () =>
|
|
37
|
+
Options: () => Options4,
|
|
38
38
|
Service: () => Service26,
|
|
39
39
|
bodyDigest: () => bodyDigest2,
|
|
40
|
-
configured: () =>
|
|
41
|
-
layer: () =>
|
|
40
|
+
configured: () => configured4,
|
|
41
|
+
layer: () => layer11,
|
|
42
42
|
node: () => node29
|
|
43
43
|
});
|
|
44
44
|
import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
|
|
@@ -63,7 +63,7 @@ function nativePackage(provider, model) {
|
|
|
63
63
|
function normalize(input) {
|
|
64
64
|
const providers = [];
|
|
65
65
|
for (const item of Object.values(input)) {
|
|
66
|
-
const providerID =
|
|
66
|
+
const providerID = ID13.make(item.id);
|
|
67
67
|
const packageName = nativePackage(item);
|
|
68
68
|
const info = {
|
|
69
69
|
id: providerID,
|
|
@@ -75,12 +75,12 @@ function normalize(input) {
|
|
|
75
75
|
const models = [];
|
|
76
76
|
for (const model of Object.values(item.models)) {
|
|
77
77
|
const baseCost = cost(model.cost);
|
|
78
|
-
const id =
|
|
78
|
+
const id = ID12.make(model.id);
|
|
79
79
|
const base = modelInfo(item, id, model, { cost: baseCost });
|
|
80
80
|
const variants = resolve2({ ...base, package: nativePackage(item, model) }, supports(model));
|
|
81
81
|
models.push({ ...base, variants });
|
|
82
82
|
for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
|
|
83
|
-
const modeID =
|
|
83
|
+
const modeID = ID12.make(`${model.id}-${mode}`);
|
|
84
84
|
models.push(modelInfo(item, modeID, model, {
|
|
85
85
|
name: modeName(model, mode),
|
|
86
86
|
cost: mergeCost(baseCost, options.cost),
|
|
@@ -164,7 +164,7 @@ function supports(model) {
|
|
|
164
164
|
return (model.reasoning_options ?? []).map((option) => option.type === "effort" ? { type: "effort", values: option.values.filter((value) => value !== null && value !== "null") } : option);
|
|
165
165
|
}
|
|
166
166
|
function modelInfo(provider, id, model, input = {}) {
|
|
167
|
-
const providerID =
|
|
167
|
+
const providerID = ID13.make(provider.id);
|
|
168
168
|
const pkg = model.provider?.npm ? nativePackage(provider, model) : undefined;
|
|
169
169
|
const settings = {
|
|
170
170
|
...model.provider?.api ? { baseURL: model.provider.api } : {},
|
|
@@ -172,7 +172,7 @@ function modelInfo(provider, id, model, input = {}) {
|
|
|
172
172
|
};
|
|
173
173
|
return {
|
|
174
174
|
id,
|
|
175
|
-
modelID:
|
|
175
|
+
modelID: ID12.make(model.id),
|
|
176
176
|
providerID,
|
|
177
177
|
name: input.name ?? model.name,
|
|
178
178
|
compatibility: compatibility2(model.interleaved),
|
|
@@ -198,7 +198,7 @@ function modelInfo(provider, id, model, input = {}) {
|
|
|
198
198
|
body: input.request?.body ? { ...input.request.body } : undefined
|
|
199
199
|
};
|
|
200
200
|
}
|
|
201
|
-
var
|
|
201
|
+
var Options4 = Schema.Struct({
|
|
202
202
|
url: Schema.optional(Schema.String),
|
|
203
203
|
file: Schema.optional(Schema.String),
|
|
204
204
|
fetch: Schema.optional(Schema.Boolean),
|
|
@@ -228,9 +228,9 @@ function cacheKey(source) {
|
|
|
228
228
|
function bodyDigest2(text) {
|
|
229
229
|
return Hash.sha256(text);
|
|
230
230
|
}
|
|
231
|
-
var
|
|
231
|
+
var layer11 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
232
232
|
const fs = yield* FSUtil.Service;
|
|
233
|
-
const bus = yield*
|
|
233
|
+
const bus = yield* Service80;
|
|
234
234
|
const app = yield* Metadata2;
|
|
235
235
|
const kv = yield* Service62;
|
|
236
236
|
const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -314,13 +314,13 @@ var layer10 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
314
314
|
}
|
|
315
315
|
return Service26.of({ get, refresh });
|
|
316
316
|
}));
|
|
317
|
-
function
|
|
317
|
+
function configured4(options) {
|
|
318
318
|
return makeGlobalNode({
|
|
319
319
|
service: Service26,
|
|
320
|
-
layer:
|
|
321
|
-
deps: [FSUtil.node,
|
|
320
|
+
layer: layer11(options),
|
|
321
|
+
deps: [FSUtil.node, node84, node72, node65, httpClient]
|
|
322
322
|
});
|
|
323
323
|
}
|
|
324
|
-
var node29 =
|
|
324
|
+
var node29 = configured4();
|
|
325
325
|
|
|
326
|
-
export { CatalogModelStatus2,
|
|
326
|
+
export { CatalogModelStatus2, Options4, Service26, bodyDigest2, layer11, configured4, node29, exports_models_dev, Event7 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Info8,
|
|
6
6
|
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-fxqcjp4y.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service56
|
|
11
|
+
} from "./aisdk-native-1s1yk029.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin12,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -421,19 +421,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
421
421
|
var ReportContent2 = report_default;
|
|
422
422
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
423
423
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
424
|
-
var
|
|
424
|
+
var Plugin12 = define({
|
|
425
425
|
id: "opencode.skill",
|
|
426
426
|
effect: Effect.fn(function* (ctx) {
|
|
427
427
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
428
428
|
yield* ctx.skill.transform((editor) => {
|
|
429
|
-
editor.add(
|
|
429
|
+
editor.add(Info8.make({
|
|
430
430
|
id: ID5.make("opencode"),
|
|
431
431
|
name: Name2.make("OpenCode"),
|
|
432
432
|
description: OpencodeDescription2,
|
|
433
433
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
434
434
|
content: OpencodeContent2
|
|
435
435
|
}));
|
|
436
|
-
editor.add(
|
|
436
|
+
editor.add(Info8.make({
|
|
437
437
|
id: ID5.make("report"),
|
|
438
438
|
name: Name2.make("Report"),
|
|
439
439
|
description: REPORT_DESCRIPTION,
|
|
@@ -462,7 +462,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
462
462
|
`);
|
|
463
463
|
});
|
|
464
464
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
465
|
-
const config = yield*
|
|
465
|
+
const config = yield* Service56;
|
|
466
466
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
467
467
|
});
|
|
468
468
|
function terminal() {
|
|
@@ -476,4 +476,4 @@ function shell() {
|
|
|
476
476
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
479
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin12, exports_skill };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-21fjxxq6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin7,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin7 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin34 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin34 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin7, exports_tavily };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./aisdk-native-1s1yk029.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-y1fvbwt7.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/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin32
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin32 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service56;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
27
27
|
yield* ctx.provider.transform((providers) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin2 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin32, exports_policy };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node81
|
|
7
|
+
} from "./aisdk-native-skjgnpnj.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service24,
|
|
10
|
+
node27
|
|
11
|
+
} from "./aisdk-native-8awfgv52.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
@@ -59,8 +59,8 @@ function search(index, input) {
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
62
|
+
const location = yield* Service77;
|
|
63
|
+
const ripgrep = yield* Service24;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -113,7 +113,7 @@ var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
115
|
var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
116
|
-
const location = yield*
|
|
116
|
+
const location = yield* Service77;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -175,7 +175,7 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
177
|
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
-
const location = yield*
|
|
178
|
+
const location = yield* Service77;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -183,7 +183,7 @@ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured2(options) {
|
|
186
|
-
return makeLocationNode({ service: Service14, layer: layer8(options), deps: [
|
|
186
|
+
return makeLocationNode({ service: Service14, layer: layer8(options), deps: [node81, node27] });
|
|
187
187
|
}
|
|
188
188
|
var node16 = configured2();
|
|
189
189
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-bpwm8rb1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service71,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node75
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID13,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service71 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service71, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service71.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -817,6 +817,6 @@ function providerErrorMessage(error) {
|
|
|
817
817
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
818
818
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
819
819
|
}
|
|
820
|
-
var
|
|
820
|
+
var node75 = makeLocationNode({ service: Service71, layer: locationLayer2, deps: [] });
|
|
821
821
|
|
|
822
|
-
export { InitError2,
|
|
822
|
+
export { InitError2, Service71, locationLayer2, node75, exports_aisdk };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./aisdk-native-bpwm8rb1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service56
|
|
7
|
+
} from "./aisdk-native-1s1yk029.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service73;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service56);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./aisdk-native-tf0wxgc3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node59
|
|
7
|
+
} from "./aisdk-native-cwq8nmtd.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service11,
|
|
10
|
+
node13
|
|
11
|
+
} from "./aisdk-native-em3f3zkt.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service33
|
|
14
|
+
} from "./aisdk-native-rap9a73h.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node17,
|
|
17
|
+
ID2
|
|
18
|
+
} from "./aisdk-native-9sjy1xft.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service3,
|
|
21
|
+
node4
|
|
22
|
+
} from "./aisdk-native-9hn6k4tm.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./aisdk-native-p0z2qksq.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make3,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./aisdk-native-kwy4afdt.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service2,
|
|
34
|
+
node3
|
|
35
|
+
} from "./aisdk-native-0a14krkj.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service4,
|
|
38
|
+
node5
|
|
39
|
+
} from "./aisdk-native-6hjx5zpb.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
46
46
|
__export(exports_supervisor, {
|
|
47
47
|
PluginSupervisor: () => exports_supervisor,
|
|
48
|
-
layer: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
layer: () => layer3,
|
|
49
|
+
node: () => node2
|
|
50
50
|
});
|
|
51
51
|
import { Event } from "@opencode/schema/config";
|
|
52
52
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
115
115
|
failures: [
|
|
116
116
|
...failures.values(),
|
|
117
117
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
118
|
-
id:
|
|
118
|
+
id: ID2.make(plugin.id),
|
|
119
119
|
source: plugin.source ?? { type: "builtin" },
|
|
120
120
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
121
121
|
features: { server: true, ...plugin.features }
|
|
@@ -124,14 +124,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
124
124
|
pending: [...pending]
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
|
-
var
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
130
|
-
const instance = yield*
|
|
131
|
-
const sources = yield*
|
|
132
|
-
const modules = yield*
|
|
133
|
-
const bus = yield*
|
|
134
|
-
const updates = yield*
|
|
127
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
+
const registry = yield* Service33;
|
|
129
|
+
const sdk = yield* Service2;
|
|
130
|
+
const instance = yield* Service3;
|
|
131
|
+
const sources = yield* Service11;
|
|
132
|
+
const modules = yield* make3();
|
|
133
|
+
const bus = yield* Service80;
|
|
134
|
+
const updates = yield* Service4;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
209
|
+
node17,
|
|
210
|
+
node3,
|
|
211
|
+
node4,
|
|
212
|
+
node13,
|
|
213
|
+
node5,
|
|
214
|
+
node84,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node59,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -221,6 +221,6 @@ function pluginSource(target) {
|
|
|
221
221
|
return { type: "local", path: target };
|
|
222
222
|
return { type: "package", target };
|
|
223
223
|
}
|
|
224
|
-
var
|
|
224
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { layer3, node2, exports_supervisor };
|