@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,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./aisdk-native-9gt9xvgh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./aisdk-native-skjgnpnj.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service72,
|
|
13
|
+
node76
|
|
14
|
+
} from "./aisdk-native-0g09j3nb.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID9,
|
|
17
|
+
Service67,
|
|
18
|
+
node70
|
|
19
|
+
} from "./aisdk-native-m7nbb49h.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./aisdk-native-3zgzsr0q.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./aisdk-native-rhjbct0v.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./aisdk-native-06dxphr1.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-native-zgth59m1.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service65,
|
|
34
|
+
node68
|
|
35
|
+
} from "./aisdk-native-32nb2s9m.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./aisdk-native-16hwt5r8.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make14
|
|
41
|
+
} from "./aisdk-native-hqxaqnsz.js";
|
|
42
42
|
import {
|
|
43
43
|
Service41,
|
|
44
44
|
node44
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./aisdk-native-qgcr32z5.js";
|
|
46
46
|
import {
|
|
47
47
|
Service35,
|
|
48
48
|
node38
|
|
49
|
-
} from "./
|
|
50
|
-
import {
|
|
51
|
-
Service60,
|
|
52
|
-
node63
|
|
53
|
-
} from "./persistent-pty-sxwb65hc.js";
|
|
54
|
-
import {
|
|
55
|
-
Service32,
|
|
56
|
-
node35
|
|
57
|
-
} from "./persistent-pty-ehjgfrb8.js";
|
|
49
|
+
} from "./aisdk-native-pwwerkbj.js";
|
|
58
50
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
51
|
+
Service44,
|
|
52
|
+
node47
|
|
53
|
+
} from "./aisdk-native-h2f7hf79.js";
|
|
62
54
|
import {
|
|
63
55
|
Service37,
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
66
|
-
import {
|
|
67
|
-
Service38,
|
|
68
|
-
node42
|
|
69
|
-
} from "./persistent-pty-z8rhdvzk.js";
|
|
56
|
+
node40
|
|
57
|
+
} from "./aisdk-native-ht0ph52s.js";
|
|
70
58
|
import {
|
|
71
59
|
Service36,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
60
|
+
node39
|
|
61
|
+
} from "./aisdk-native-6rf7f5jd.js";
|
|
62
|
+
import {
|
|
63
|
+
Service31,
|
|
64
|
+
node35
|
|
65
|
+
} from "./aisdk-native-y6kxd9cb.js";
|
|
66
|
+
import {
|
|
67
|
+
Service34,
|
|
68
|
+
node37
|
|
69
|
+
} from "./aisdk-native-bab4jsc6.js";
|
|
74
70
|
import {
|
|
75
|
-
|
|
71
|
+
Service32,
|
|
76
72
|
node36
|
|
77
|
-
} from "./
|
|
73
|
+
} from "./aisdk-native-88ykc3s8.js";
|
|
74
|
+
import {
|
|
75
|
+
Service39,
|
|
76
|
+
node42
|
|
77
|
+
} from "./aisdk-native-e99pjtb3.js";
|
|
78
78
|
import {
|
|
79
79
|
Service49,
|
|
80
80
|
node51
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./aisdk-native-mgz011jm.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
89
|
Service: () => Service30,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node34
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
95
|
class Service30 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
97
|
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
98
|
-
const agents = yield*
|
|
98
|
+
const agents = yield* Service67;
|
|
99
99
|
const builtins = yield* Service35;
|
|
100
|
-
const model = yield*
|
|
101
|
-
const db = (yield*
|
|
100
|
+
const model = yield* Service72;
|
|
101
|
+
const db = (yield* Service81).db;
|
|
102
102
|
const discovery = yield* Service41;
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
103
|
+
const entries = yield* Service32;
|
|
104
|
+
const location = yield* Service77;
|
|
105
|
+
const mcpInstructions = yield* Service36;
|
|
106
|
+
const mcpTools = yield* Service37;
|
|
107
107
|
const models = yield* Service49;
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
108
|
+
const request = yield* Service39;
|
|
109
|
+
const referenceInstructions = yield* Service31;
|
|
110
|
+
const skillInstructions = yield* Service34;
|
|
111
|
+
const store = yield* Service65;
|
|
112
|
+
const registry = yield* Service44;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID9.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
165
165
|
agent: { ...agent, info: agent.info },
|
|
166
166
|
instructions: combine2([
|
|
167
167
|
loaded.builtins,
|
|
168
|
-
|
|
168
|
+
make14(loaded.tools.codeModeCatalog),
|
|
169
169
|
loaded.discovery,
|
|
170
170
|
loaded.skills,
|
|
171
171
|
loaded.references,
|
|
@@ -190,26 +190,26 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
190
190
|
return Service30.of({ select, load, resolveModel, selectTitle, request });
|
|
191
191
|
}));
|
|
192
192
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
193
|
-
var
|
|
193
|
+
var node34 = makeLocationNode({
|
|
194
194
|
service: Service30,
|
|
195
195
|
layer,
|
|
196
196
|
deps: [
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
node70,
|
|
198
|
+
node76,
|
|
199
|
+
node85,
|
|
200
200
|
node38,
|
|
201
201
|
node44,
|
|
202
|
+
node36,
|
|
203
|
+
node81,
|
|
204
|
+
node39,
|
|
202
205
|
node40,
|
|
203
|
-
node82,
|
|
204
|
-
node34,
|
|
205
206
|
node35,
|
|
206
|
-
node41,
|
|
207
207
|
node51,
|
|
208
|
-
node36,
|
|
209
|
-
node79,
|
|
210
208
|
node42,
|
|
211
|
-
|
|
209
|
+
node68,
|
|
210
|
+
node37,
|
|
211
|
+
node47
|
|
212
212
|
]
|
|
213
213
|
});
|
|
214
214
|
|
|
215
|
-
export { Service30,
|
|
215
|
+
export { Service30, node34, exports_context };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./aisdk-native-tf0wxgc3.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event11,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info10,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service53,
|
|
21
|
+
layer: () => layer20,
|
|
22
|
+
node: () => node55
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event11 } from "@opencode/schema/command";
|
|
28
|
+
var Info10 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service53 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer20 = Layer.effect(Service53, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service80;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer22 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info10.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service53.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer22 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node55 = makeLocationNode({
|
|
75
|
+
service: Service53,
|
|
76
|
+
layer: layer20,
|
|
77
|
+
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info10, NotFoundError6, ExecutionError2, Service53, layer20, node55, exports_command4, Event11 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info17
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info17 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info19 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info17, exports_skills };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service46,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service46 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service46, exports_runner };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./aisdk-native-bpwm8rb1.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-wc0j5gyx.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
16
16
|
var CloudflareAIGatewayPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./aisdk-native-9gt9xvgh.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-y71avatq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service80,
|
|
10
|
+
node84
|
|
11
|
+
} from "./aisdk-native-tf0wxgc3.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-native-skyymkrr.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-native-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info9,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service47,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -50,7 +50,7 @@ __export(exports_inbox, {
|
|
|
50
50
|
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node49,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info9,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service47 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
-
const database = yield*
|
|
157
|
+
const database = yield* Service81;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service80;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info9.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var layer19 = Layer.effect(
|
|
231
|
-
var
|
|
230
|
+
var layer19 = Layer.effect(Service47, make17());
|
|
231
|
+
var node49 = makeGlobalNode({ service: Service47, layer: layer19, deps: [node85, node84] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info9, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service47, make17, layer19, node49, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin25,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin25 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -77,4 +77,4 @@ var Plugin30 = {
|
|
|
77
77
|
})
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
export { RenameInput2, MoveInput2,
|
|
80
|
+
export { RenameInput2, MoveInput2, Plugin25, exports_opencode };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node72
|
|
5
|
+
} from "./aisdk-native-21fjxxq6.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-06dxphr1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service68,
|
|
12
|
+
node71
|
|
13
|
+
} from "./aisdk-native-4a0nv7mx.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-16hwt5r8.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-native-j1r486kk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error3
|
|
22
|
+
} from "./aisdk-native-h2f7hf79.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service40,
|
|
25
|
+
node43
|
|
26
|
+
} from "./aisdk-native-gd2xe63m.js";
|
|
27
27
|
import {
|
|
28
28
|
make15
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./aisdk-native-xfkkasph.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./aisdk-native-bz85s9hh.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service39,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer15,
|
|
45
|
+
node: () => node42,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service39 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service68;
|
|
157
|
+
const transport = yield* Service40;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -162,7 +162,7 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
162
162
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
163
163
|
const tools = input.tools ?? {
|
|
164
164
|
definitions: [],
|
|
165
|
-
execute: () => new
|
|
165
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
166
166
|
};
|
|
167
167
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
168
168
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -248,17 +248,17 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
248
248
|
};
|
|
249
249
|
});
|
|
250
250
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
251
|
-
return
|
|
251
|
+
return Service39.of({
|
|
252
252
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
253
253
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
254
254
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
255
255
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
service:
|
|
260
|
-
layer:
|
|
261
|
-
deps: [
|
|
258
|
+
var node42 = makeLocationNode({
|
|
259
|
+
service: Service39,
|
|
260
|
+
layer: layer15,
|
|
261
|
+
deps: [node71, node43, node72]
|
|
262
262
|
});
|
|
263
263
|
|
|
264
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
264
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service39, layer15, node42, exports_model_request };
|