@opencode/core 0.0.0-dev-19683 → 0.0.0-dev-19685
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/agent.js +64 -64
- package/dist/aisdk-native.js +63 -63
- package/dist/aisdk.js +68 -68
- package/dist/app.js +7 -7
- package/dist/bus.js +57 -57
- package/dist/chunks/{aisdk-native-09956swx.js → aisdk-native-05kd0h8n.js} +9 -9
- package/dist/chunks/{aisdk-native-4a0nv7mx.js → aisdk-native-0jfkt8vv.js} +7 -7
- package/dist/chunks/{aisdk-native-az4g7yjb.js → aisdk-native-0kw4t2ss.js} +23 -23
- package/dist/chunks/aisdk-native-0mesazry.js +4 -0
- package/dist/chunks/{aisdk-native-g9kf27qg.js → aisdk-native-0pac4wxy.js} +8 -8
- package/dist/chunks/{aisdk-native-dn7561av.js → aisdk-native-0pffsxzd.js} +24 -24
- package/dist/chunks/{aisdk-native-jhpaar4x.js → aisdk-native-0t9wd588.js} +7 -7
- package/dist/chunks/{aisdk-native-qj07q2eg.js → aisdk-native-0wbaq0z2.js} +29 -29
- package/dist/chunks/{aisdk-native-vd6jm2yd.js → aisdk-native-0xzvcrha.js} +39 -39
- package/dist/chunks/{aisdk-native-pwwerkbj.js → aisdk-native-11na8g8b.js} +18 -18
- package/dist/chunks/{aisdk-native-mza6s6hg.js → aisdk-native-147w0500.js} +88 -88
- package/dist/chunks/{aisdk-native-ht0ph52s.js → aisdk-native-19s7dspw.js} +31 -31
- package/dist/chunks/{aisdk-native-b5j16w9d.js → aisdk-native-1ch5qaya.js} +8 -8
- package/dist/chunks/{aisdk-native-vpv3g2a7.js → aisdk-native-1hznkpae.js} +6 -6
- package/dist/chunks/{aisdk-native-gr1f03ws.js → aisdk-native-2003xh4j.js} +7 -7
- package/dist/chunks/{aisdk-native-nhww9bhn.js → aisdk-native-23vvk4nb.js} +28 -28
- package/dist/chunks/{aisdk-native-j15mfg1p.js → aisdk-native-2d57kztd.js} +5 -5
- package/dist/chunks/{aisdk-native-jc9s7gf6.js → aisdk-native-2gw4gc3t.js} +15 -15
- package/dist/chunks/{aisdk-native-7dqw4kz8.js → aisdk-native-2k8khapm.js} +4 -4
- package/dist/chunks/{aisdk-native-xxy1bhm1.js → aisdk-native-2qvr8c41.js} +17 -17
- package/dist/chunks/{aisdk-native-0a14krkj.js → aisdk-native-2t51sr74.js} +12 -12
- package/dist/chunks/{aisdk-native-yhsb8ghp.js → aisdk-native-2vatgfy6.js} +12 -12
- package/dist/chunks/{aisdk-native-d6h9vrqt.js → aisdk-native-38ky6pb7.js} +5 -5
- package/dist/chunks/{aisdk-native-3zgzsr0q.js → aisdk-native-3ktbe3hf.js} +4 -4
- package/dist/chunks/{aisdk-native-j47mgn54.js → aisdk-native-3n8ee3c4.js} +2 -2
- package/dist/chunks/{aisdk-native-68bdaj6y.js → aisdk-native-3npbngsp.js} +13 -13
- package/dist/chunks/{aisdk-native-qbgpcm8y.js → aisdk-native-3tamtphc.js} +9 -9
- package/dist/chunks/{aisdk-native-n8twdh81.js → aisdk-native-3ved0akr.js} +10 -10
- package/dist/chunks/{aisdk-native-wrabmwcn.js → aisdk-native-42jzvad5.js} +18 -18
- package/dist/chunks/{aisdk-native-h6r3nrb9.js → aisdk-native-44h5tttr.js} +3 -3
- package/dist/chunks/{aisdk-native-k9kj6xed.js → aisdk-native-44ke2mar.js} +4 -4
- package/dist/chunks/{aisdk-native-mnc31gpg.js → aisdk-native-46606ezs.js} +23 -23
- package/dist/chunks/{aisdk-native-pf2e8y0d.js → aisdk-native-48m15pyt.js} +4 -4
- package/dist/chunks/{aisdk-native-yfdx3v3q.js → aisdk-native-4g0ndws3.js} +42 -42
- package/dist/chunks/{aisdk-native-bz85s9hh.js → aisdk-native-4jc5c4h4.js} +1 -1
- package/dist/chunks/{aisdk-native-2gbh0fha.js → aisdk-native-4p35ch0z.js} +23 -23
- package/dist/chunks/{aisdk-native-9wh35tzk.js → aisdk-native-4tzv7a5d.js} +57 -57
- package/dist/chunks/{aisdk-native-rap9a73h.js → aisdk-native-4v7qdvcn.js} +4 -4
- package/dist/chunks/{aisdk-native-1ygqh575.js → aisdk-native-56gdpj1q.js} +7 -7
- package/dist/chunks/{aisdk-native-p8bevgsj.js → aisdk-native-5g290phr.js} +43 -43
- package/dist/chunks/{aisdk-native-6rf7f5jd.js → aisdk-native-5k1e66mg.js} +21 -21
- package/dist/chunks/{aisdk-native-gp1abar7.js → aisdk-native-5m43nnyh.js} +12 -12
- package/dist/chunks/{aisdk-native-j1r486kk.js → aisdk-native-5nfze5by.js} +13 -13
- package/dist/chunks/{aisdk-native-x4bjtptf.js → aisdk-native-5wkvqjct.js} +26 -26
- package/dist/chunks/{aisdk-native-kzc5k3kj.js → aisdk-native-60bxgsbk.js} +7 -7
- package/dist/chunks/aisdk-native-62nepcbt.js +26 -0
- package/dist/chunks/{aisdk-native-md454ze3.js → aisdk-native-6gtvg2dm.js} +28 -28
- package/dist/chunks/{aisdk-native-hw8p7939.js → aisdk-native-6kpcav3z.js} +42 -42
- package/dist/chunks/{aisdk-native-hdthj1pw.js → aisdk-native-6n88yxkj.js} +6 -6
- package/dist/chunks/{aisdk-native-0g09j3nb.js → aisdk-native-6qmp3fby.js} +31 -31
- package/dist/chunks/{aisdk-native-vjhr626e.js → aisdk-native-6sayq1ty.js} +7 -7
- package/dist/chunks/{aisdk-native-tba18gcj.js → aisdk-native-6xb3f695.js} +24 -24
- package/dist/chunks/{aisdk-native-1khh3dgh.js → aisdk-native-78ma53hf.js} +21 -21
- package/dist/chunks/{aisdk-native-88ykc3s8.js → aisdk-native-7q29nmvk.js} +16 -16
- package/dist/chunks/{aisdk-native-kgcyjstq.js → aisdk-native-7wxj7vfh.js} +1 -1
- package/dist/chunks/{aisdk-native-wbtqks6c.js → aisdk-native-80fkzc6b.js} +10 -10
- package/dist/chunks/{aisdk-native-rrgzyjaj.js → aisdk-native-80gct2kr.js} +3 -3
- package/dist/chunks/{aisdk-native-f1h6hjy5.js → aisdk-native-81zfvqqs.js} +27 -27
- package/dist/chunks/{aisdk-native-hqxaqnsz.js → aisdk-native-851r6173.js} +12 -12
- package/dist/chunks/{aisdk-native-2ybfqxjc.js → aisdk-native-88jassm4.js} +17 -17
- package/dist/chunks/{aisdk-native-9sjy1xft.js → aisdk-native-8hac7bq2.js} +17 -17
- package/dist/chunks/{aisdk-native-y6cd6ah2.js → aisdk-native-8jn8c15b.js} +10 -10
- package/dist/chunks/{aisdk-native-gd2xe63m.js → aisdk-native-8xw6hc60.js} +9 -9
- package/dist/chunks/{aisdk-native-00j0dh26.js → aisdk-native-8yvs2ce4.js} +3 -3
- package/dist/chunks/{aisdk-native-fxqcjp4y.js → aisdk-native-9awa2hmg.js} +20 -20
- package/dist/chunks/{aisdk-native-fkv0s007.js → aisdk-native-9d21cdfk.js} +36 -36
- package/dist/chunks/{aisdk-native-ymtrgr5e.js → aisdk-native-9tn75rdf.js} +20 -20
- package/dist/chunks/{aisdk-native-wb3p2xcb.js → aisdk-native-a06m10p5.js} +27 -27
- package/dist/chunks/{aisdk-native-atrw5sbr.js → aisdk-native-a0kfw7rx.js} +30 -30
- package/dist/chunks/{aisdk-native-y6kxd9cb.js → aisdk-native-a5ar9xjj.js} +19 -19
- package/dist/chunks/{aisdk-native-0f9afca0.js → aisdk-native-af04s6ss.js} +3 -3
- package/dist/chunks/{aisdk-native-bnzkcavh.js → aisdk-native-ahrt8s9h.js} +35 -35
- package/dist/chunks/{aisdk-native-qrdq1prv.js → aisdk-native-aqrrw3fx.js} +7 -7
- package/dist/chunks/{aisdk-native-ef88rrmz.js → aisdk-native-ayy16kn2.js} +11 -11
- package/dist/chunks/{aisdk-native-4c02e3a4.js → aisdk-native-ba0pmapb.js} +3 -3
- package/dist/chunks/{aisdk-native-fj40dq2k.js → aisdk-native-bacyadyn.js} +6 -7
- package/dist/chunks/{aisdk-native-cq37gk0t.js → aisdk-native-bha4atvq.js} +1 -1
- package/dist/chunks/{aisdk-native-s86dqrf8.js → aisdk-native-bj66tvz5.js} +7 -7
- package/dist/chunks/{aisdk-native-gfww71ry.js → aisdk-native-bv6943e1.js} +1 -1
- package/dist/chunks/{aisdk-native-a9jcekkd.js → aisdk-native-c2x19npp.js} +11 -11
- package/dist/chunks/{aisdk-native-3w2b2yj4.js → aisdk-native-c78bbtc9.js} +3 -3
- package/dist/chunks/{aisdk-native-wc0j5gyx.js → aisdk-native-cegyzb74.js} +6 -6
- package/dist/chunks/{aisdk-native-8awfgv52.js → aisdk-native-cjq1148t.js} +15 -15
- package/dist/chunks/{aisdk-native-7w3s9kd0.js → aisdk-native-cmbqfntm.js} +5 -5
- package/dist/chunks/{aisdk-native-9hn6k4tm.js → aisdk-native-cmwkp3r5.js} +7 -7
- package/dist/chunks/{aisdk-native-hd6qev3f.js → aisdk-native-ctm3y1hm.js} +16 -16
- package/dist/chunks/{aisdk-native-xbv6w661.js → aisdk-native-d721p5x2.js} +4 -4
- package/dist/chunks/{aisdk-native-68k76m1k.js → aisdk-native-d7ssab97.js} +7 -7
- package/dist/chunks/{aisdk-native-7krekesg.js → aisdk-native-df10g7zh.js} +25 -25
- package/dist/chunks/{aisdk-native-y7nsxf6r.js → aisdk-native-dnsrr8zs.js} +48 -48
- package/dist/chunks/{aisdk-native-y71avatq.js → aisdk-native-dpkg50ah.js} +3 -3
- package/dist/chunks/{aisdk-native-3a7ehprh.js → aisdk-native-dt5w6v9g.js} +3 -3
- package/dist/chunks/{aisdk-native-8hbfdwcy.js → aisdk-native-e0a154fg.js} +5 -5
- package/dist/chunks/{aisdk-native-bym8k2q4.js → aisdk-native-e65aczms.js} +16 -16
- package/dist/chunks/{aisdk-native-hnr5yq9h.js → aisdk-native-e6hmchc5.js} +3 -3
- package/dist/chunks/{aisdk-native-rhjbct0v.js → aisdk-native-eaj1djv9.js} +7 -7
- package/dist/chunks/{aisdk-native-sythwh0s.js → aisdk-native-eda3kmbe.js} +4 -4
- package/dist/chunks/{aisdk-native-k44b8f6f.js → aisdk-native-eegh8h7g.js} +5 -5
- package/dist/chunks/{aisdk-native-8m0chse6.js → aisdk-native-ep530p1t.js} +22 -22
- package/dist/chunks/{aisdk-native-yvgpa5e3.js → aisdk-native-eqjmr049.js} +74 -40
- package/dist/chunks/{aisdk-native-g17fnnhe.js → aisdk-native-erx5yvxc.js} +17 -17
- package/dist/chunks/{aisdk-native-96x7zdnn.js → aisdk-native-f7pkc454.js} +20 -20
- package/dist/chunks/{aisdk-native-zdr1f95n.js → aisdk-native-fakctfgg.js} +18 -18
- package/dist/chunks/{aisdk-native-tkjpgj67.js → aisdk-native-fd43cwvv.js} +8 -8
- package/dist/chunks/{aisdk-native-9gt9xvgh.js → aisdk-native-fgqcvsfv.js} +10 -10
- package/dist/chunks/{aisdk-native-ydehfash.js → aisdk-native-fj424p4s.js} +30 -30
- package/dist/chunks/{aisdk-native-115hbv0n.js → aisdk-native-fkd6bfp6.js} +12 -12
- package/dist/chunks/aisdk-native-fkft4cnq.js +478 -0
- package/dist/chunks/{aisdk-native-b6dhfaq6.js → aisdk-native-g2nffjee.js} +11 -11
- package/dist/chunks/{aisdk-native-16hwt5r8.js → aisdk-native-g4bm5adv.js} +55 -55
- package/dist/chunks/{aisdk-native-h16eh2cg.js → aisdk-native-g8bbjj5w.js} +14 -14
- package/dist/chunks/{aisdk-native-0yv7vnxb.js → aisdk-native-gkjg0s4y.js} +32 -32
- package/dist/chunks/{aisdk-native-cjks21kp.js → aisdk-native-gmnht6d3.js} +5 -5
- package/dist/chunks/{aisdk-native-swmbf78h.js → aisdk-native-h53656fs.js} +8 -8
- package/dist/chunks/{aisdk-native-x0511brf.js → aisdk-native-h6jr292a.js} +3 -3
- package/dist/chunks/{aisdk-native-b3w3f3fm.js → aisdk-native-h7c2rqcj.js} +19 -19
- package/dist/chunks/{aisdk-native-s4k2cmb5.js → aisdk-native-hcvc3emd.js} +19 -19
- package/dist/chunks/{aisdk-native-tcay1cqt.js → aisdk-native-hq8zt1th.js} +5 -5
- package/dist/chunks/{aisdk-native-tc6qcdy5.js → aisdk-native-hr5bc81f.js} +4 -4
- package/dist/chunks/{aisdk-native-r81gss8s.js → aisdk-native-j06qwx11.js} +6 -6
- package/dist/chunks/{aisdk-native-kwy4afdt.js → aisdk-native-j0j97596.js} +6 -6
- package/dist/chunks/{aisdk-native-esp4ax25.js → aisdk-native-j6gqw2pj.js} +4 -4
- package/dist/chunks/{aisdk-native-9jwxq161.js → aisdk-native-jca4demv.js} +1 -1
- package/dist/chunks/{aisdk-native-y3cfv4n4.js → aisdk-native-jwnrs5dp.js} +33 -33
- package/dist/chunks/{aisdk-native-f3ngv102.js → aisdk-native-k2h4r4s0.js} +3 -3
- package/dist/chunks/{aisdk-native-hejrs7ps.js → aisdk-native-k31mpn09.js} +1 -1
- package/dist/chunks/{aisdk-native-jppvw2tx.js → aisdk-native-k3gnzxs0.js} +3 -3
- package/dist/chunks/{aisdk-native-hw5w4egb.js → aisdk-native-knccs335.js} +24 -24
- package/dist/chunks/{aisdk-native-mtax4y4w.js → aisdk-native-kyngf2ah.js} +5 -5
- package/dist/chunks/{aisdk-native-pnv527nz.js → aisdk-native-m2d0j7c0.js} +7 -7
- package/dist/chunks/{aisdk-native-6n56vpse.js → aisdk-native-mr0hx204.js} +25 -25
- package/dist/chunks/{aisdk-native-d9cxwk5k.js → aisdk-native-mw4vczt2.js} +90 -90
- package/dist/chunks/{aisdk-native-8y1b1xx2.js → aisdk-native-n9v815xf.js} +10 -10
- package/dist/chunks/{aisdk-native-ba3991h0.js → aisdk-native-nb07dary.js} +30 -30
- package/dist/chunks/{aisdk-native-zgth59m1.js → aisdk-native-nc1k99g3.js} +5 -5
- package/dist/chunks/{aisdk-native-7e0n63vf.js → aisdk-native-ne1gzv55.js} +9 -9
- package/dist/chunks/{aisdk-native-em3f3zkt.js → aisdk-native-nm9w1vfn.js} +25 -25
- package/dist/chunks/{aisdk-native-d6er668x.js → aisdk-native-nz76xpbf.js} +14 -14
- package/dist/chunks/{aisdk-native-9abfm80s.js → aisdk-native-p1p0zqxa.js} +16 -16
- package/dist/chunks/aisdk-native-p26stxcb.js +164 -0
- package/dist/chunks/{aisdk-native-6z7z12yj.js → aisdk-native-p8hercg3.js} +27 -27
- package/dist/chunks/{aisdk-native-ttkvv5bq.js → aisdk-native-pakx3g0a.js} +9 -9
- package/dist/chunks/{aisdk-native-21fjxxq6.js → aisdk-native-pb231g4a.js} +9 -9
- package/dist/chunks/{aisdk-native-q65r789c.js → aisdk-native-pbcspj05.js} +13 -13
- package/dist/chunks/{aisdk-native-a7csp2mw.js → aisdk-native-pmsv8f6n.js} +1 -1
- package/dist/chunks/{aisdk-native-zeh8ztgw.js → aisdk-native-pts37tz4.js} +8 -8
- package/dist/chunks/{aisdk-native-ggxh3msc.js → aisdk-native-pwndzpcd.js} +20 -20
- package/dist/chunks/{aisdk-native-6480rn39.js → aisdk-native-pynn8zta.js} +9 -9
- package/dist/chunks/{aisdk-native-skyymkrr.js → aisdk-native-q3t37ft6.js} +3 -3
- package/dist/chunks/{aisdk-native-dj7e4mff.js → aisdk-native-q57j3r44.js} +4 -4
- package/dist/chunks/{aisdk-native-bab4jsc6.js → aisdk-native-q6z2rbf3.js} +19 -19
- package/dist/chunks/{aisdk-native-fs4x7456.js → aisdk-native-q8kwzsyt.js} +5 -5
- package/dist/chunks/{aisdk-native-atz937d5.js → aisdk-native-qj4qsxzt.js} +28 -28
- package/dist/chunks/{aisdk-native-cwa6csj7.js → aisdk-native-qmqgtz8f.js} +7 -7
- package/dist/chunks/aisdk-native-qp3ncj1z.js +247 -0
- package/dist/chunks/{aisdk-native-hgqdqc69.js → aisdk-native-qqdrqwz9.js} +4 -4
- package/dist/chunks/{aisdk-native-6w67has8.js → aisdk-native-qvqshg0f.js} +3 -3
- package/dist/chunks/{aisdk-native-cwq8nmtd.js → aisdk-native-qwf746a1.js} +19 -19
- package/dist/chunks/{aisdk-native-32nb2s9m.js → aisdk-native-qze9tj9p.js} +13 -13
- package/dist/chunks/{aisdk-native-2nkaynk5.js → aisdk-native-r391d9tr.js} +39 -39
- package/dist/chunks/{aisdk-native-yp2x3t23.js → aisdk-native-r8xr0va3.js} +3 -3
- package/dist/chunks/{aisdk-native-a46v4e4v.js → aisdk-native-ratrq7cm.js} +3 -3
- package/dist/chunks/{aisdk-native-64121yjq.js → aisdk-native-rehmvjq3.js} +22 -22
- package/dist/chunks/{aisdk-native-tf0wxgc3.js → aisdk-native-rhcmf0p0.js} +14 -14
- package/dist/chunks/{aisdk-native-mgz011jm.js → aisdk-native-rkwasy8q.js} +12 -12
- package/dist/chunks/{aisdk-native-kccbwwm6.js → aisdk-native-rs0s42cj.js} +29 -29
- package/dist/chunks/{aisdk-native-q2024qw3.js → aisdk-native-rvxj2sc4.js} +9 -9
- package/dist/chunks/{aisdk-native-1s1yk029.js → aisdk-native-ry6xxh2r.js} +40 -40
- package/dist/chunks/{aisdk-native-knr6p7a1.js → aisdk-native-rz1w6nds.js} +177 -177
- package/dist/chunks/{aisdk-native-n60s5vft.js → aisdk-native-rzj2cp84.js} +4 -4
- package/dist/chunks/{aisdk-native-wkag27sj.js → aisdk-native-rzmh5fa9.js} +43 -43
- package/dist/chunks/{aisdk-native-0qemd7z6.js → aisdk-native-s0ezpa0w.js} +52 -52
- package/dist/chunks/{aisdk-native-n082d93f.js → aisdk-native-sadjays5.js} +9 -9
- package/dist/chunks/{aisdk-native-yy7hzrx1.js → aisdk-native-sg67pcps.js} +16 -16
- package/dist/chunks/{aisdk-native-6hjx5zpb.js → aisdk-native-sk2hk6tq.js} +8 -8
- package/dist/chunks/{aisdk-native-npjtxnbs.js → aisdk-native-spnx07s7.js} +18 -18
- package/dist/chunks/{aisdk-native-nh7mhm8v.js → aisdk-native-stjqj5dk.js} +4 -4
- package/dist/chunks/{aisdk-native-wsck3bd6.js → aisdk-native-tdmtxyj7.js} +10 -10
- package/dist/chunks/{aisdk-native-fvghqctd.js → aisdk-native-tft2naev.js} +10 -10
- package/dist/chunks/{aisdk-native-c6phvjqp.js → aisdk-native-th2bmv3x.js} +1 -1
- package/dist/chunks/{aisdk-native-xnjb55qs.js → aisdk-native-tjtkz35m.js} +26 -26
- package/dist/chunks/{aisdk-native-m7nbb49h.js → aisdk-native-tmj2byc7.js} +22 -22
- package/dist/chunks/{aisdk-native-gj4qp5ev.js → aisdk-native-tq6snqtp.js} +11 -11
- package/dist/chunks/{aisdk-native-zetf5mxq.js → aisdk-native-var2fxzy.js} +12 -12
- package/dist/chunks/{aisdk-native-h94hje80.js → aisdk-native-vcmf8r39.js} +12 -12
- package/dist/chunks/{aisdk-native-dfe8djrf.js → aisdk-native-ve4pfa0n.js} +3 -3
- package/dist/chunks/{aisdk-native-50t98bj2.js → aisdk-native-vew351ra.js} +19 -19
- package/dist/chunks/{aisdk-native-q6q6aknj.js → aisdk-native-vpwnv2a1.js} +17 -17
- package/dist/chunks/{aisdk-native-eh5yz98j.js → aisdk-native-vqr31nzc.js} +26 -26
- package/dist/chunks/{aisdk-native-er424j15.js → aisdk-native-vv0td2jx.js} +3 -3
- package/dist/chunks/{aisdk-native-kfg3nz9r.js → aisdk-native-w16z4der.js} +21 -21
- package/dist/chunks/{aisdk-native-06dxphr1.js → aisdk-native-w1k39n5e.js} +3 -3
- package/dist/chunks/{aisdk-native-wr33kjtx.js → aisdk-native-wf4pm29n.js} +1 -1
- package/dist/chunks/{aisdk-native-7c30dffs.js → aisdk-native-wjk8h8nm.js} +20 -20
- package/dist/chunks/{aisdk-native-vep9a8b1.js → aisdk-native-wk08kt9e.js} +13 -13
- package/dist/chunks/{aisdk-native-skjgnpnj.js → aisdk-native-wk3ypdaq.js} +13 -13
- package/dist/chunks/{aisdk-native-3jphrg1a.js → aisdk-native-wn2s22d5.js} +30 -30
- package/dist/chunks/{aisdk-native-n08t6ze5.js → aisdk-native-wzys0hxm.js} +12 -12
- package/dist/chunks/{aisdk-native-b9g40zgd.js → aisdk-native-x4wxy4x8.js} +15 -15
- package/dist/chunks/{aisdk-native-e99pjtb3.js → aisdk-native-x8y1nay7.js} +28 -28
- package/dist/chunks/{aisdk-native-jf1jvezk.js → aisdk-native-xc19eb9a.js} +10 -10
- package/dist/chunks/{aisdk-native-dbnsaed8.js → aisdk-native-xe562d2c.js} +23 -23
- package/dist/chunks/{aisdk-native-pm220jya.js → aisdk-native-xfzxdcg1.js} +30 -30
- package/dist/chunks/{aisdk-native-hngy6k3e.js → aisdk-native-xm6fyv27.js} +7 -7
- package/dist/chunks/{aisdk-native-x3sqx4k7.js → aisdk-native-xn9n415p.js} +9 -9
- package/dist/chunks/{aisdk-native-88jxqscj.js → aisdk-native-xv4rd0sf.js} +10 -10
- package/dist/chunks/{aisdk-native-sk3v0q87.js → aisdk-native-y6pfs3xr.js} +13 -13
- package/dist/chunks/{aisdk-native-d101js13.js → aisdk-native-y9senqaw.js} +16 -16
- package/dist/chunks/{aisdk-native-h11rgf29.js → aisdk-native-yecrv0e3.js} +65 -65
- package/dist/chunks/{aisdk-native-t1cbfw6a.js → aisdk-native-yg973644.js} +8 -8
- package/dist/chunks/{aisdk-native-qghhqzkx.js → aisdk-native-ypvayta9.js} +4 -4
- package/dist/chunks/{aisdk-native-dhmh7aw6.js → aisdk-native-zav06jzw.js} +3 -3
- package/dist/chunks/{aisdk-native-1teps6y3.js → aisdk-native-zc1eb274.js} +1 -1
- package/dist/chunks/{aisdk-native-3vdfxtgs.js → aisdk-native-zh1mn9d7.js} +5 -5
- package/dist/chunks/{aisdk-native-76jm940e.js → aisdk-native-zh4wx33z.js} +20 -20
- package/dist/chunks/{aisdk-native-qgcr32z5.js → aisdk-native-zv29ggfk.js} +27 -27
- package/dist/chunks/{aisdk-native-h2f7hf79.js → aisdk-native-zx9dccf2.js} +18 -18
- package/dist/chunks/{aisdk-native-bpwm8rb1.js → aisdk-native-zxeqxg4j.js} +33 -33
- package/dist/chunks/{aisdk-native-87sjyc5f.js → aisdk-native-zy6kjvcy.js} +14 -14
- package/dist/codemode/instructions.js +6 -6
- package/dist/command.js +66 -66
- package/dist/config/discovery.js +59 -59
- package/dist/config/normalize.js +78 -78
- package/dist/config/plugin/agent.js +93 -93
- package/dist/config/plugin/command.js +175 -175
- package/dist/config/plugin/compaction.js +123 -123
- package/dist/config/plugin/compatibility.js +106 -106
- package/dist/config/plugin/formatter.js +92 -92
- package/dist/config/plugin/image.js +91 -91
- package/dist/config/plugin/instruction.js +64 -64
- package/dist/config/plugin/location-watcher.js +91 -91
- package/dist/config/plugin/mcp.js +101 -101
- package/dist/config/plugin/policy.js +91 -91
- package/dist/config/plugin/provider.js +91 -91
- package/dist/config/plugin/reference.js +93 -93
- package/dist/config/plugin/shell.js +93 -93
- package/dist/config/plugin/skill-file.js +73 -73
- package/dist/config/plugin/skill.js +109 -109
- package/dist/config/plugin/snapshot.js +91 -91
- package/dist/config/plugin/source.js +94 -94
- package/dist/config/plugin/tool-output.js +91 -91
- package/dist/config/plugin/websearch.js +92 -92
- package/dist/config/plugin/worktree.js +92 -92
- package/dist/config.js +95 -95
- package/dist/credential.js +67 -67
- package/dist/database/database.js +55 -55
- package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
- package/dist/database/drizzle.js +10 -10
- package/dist/database/migration.gen.js +40 -40
- package/dist/database/migration.js +42 -42
- package/dist/database/v1-migration.bun.js +12 -12
- package/dist/effect/app-node-builder.js +230 -230
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +66 -66
- package/dist/environment/index.js +68 -68
- package/dist/event-logger.js +14 -14
- package/dist/file-access.js +76 -76
- package/dist/file-mutation.js +67 -67
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +186 -186
- package/dist/filesystem/search.js +74 -74
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +75 -75
- package/dist/form.js +68 -68
- package/dist/formatter.js +63 -63
- package/dist/generate.js +77 -77
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +65 -65
- package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +311 -311
- package/dist/instruction-discovery.js +67 -67
- package/dist/instructions/builtins.js +64 -64
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +67 -67
- package/dist/job.js +61 -61
- package/dist/kv.js +56 -56
- package/dist/location-activity.js +56 -56
- package/dist/location-mutation.js +30 -30
- package/dist/location-service-map.js +63 -63
- package/dist/location-services.js +308 -308
- package/dist/location.js +62 -62
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +78 -78
- package/dist/mcp/instructions.js +94 -94
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +63 -63
- package/dist/modal/models.js +65 -65
- package/dist/model-resolver.js +72 -72
- package/dist/model.js +74 -74
- package/dist/models-dev.js +81 -81
- package/dist/permission/saved.js +60 -60
- package/dist/permission.js +85 -85
- package/dist/persistent-pty/index.js +69 -69
- package/dist/persistent-pty.js +55 -55
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +71 -71
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +179 -179
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +284 -284
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +70 -70
- package/dist/plugin/module.js +4 -4
- package/dist/plugin/optimize.js +3 -3
- package/dist/plugin/plan.js +74 -74
- package/dist/plugin/provider/amazon-bedrock.js +64 -64
- package/dist/plugin/provider/azure.js +90 -90
- package/dist/plugin/provider/cloudflare-ai-gateway.js +89 -89
- package/dist/plugin/provider/cloudflare-workers-ai.js +89 -89
- package/dist/plugin/provider/configured.js +88 -88
- package/dist/plugin/provider/digitalocean.js +66 -66
- package/dist/plugin/provider/github-copilot.js +67 -67
- package/dist/plugin/provider/gitlab.js +65 -65
- package/dist/plugin/provider/google-vertex.js +64 -64
- package/dist/plugin/provider/llmgateway.js +58 -58
- package/dist/plugin/provider/lmstudio.js +91 -91
- package/dist/plugin/provider/modal.js +66 -66
- package/dist/plugin/provider/ollama.js +91 -91
- package/dist/plugin/provider/openai.js +67 -67
- package/dist/plugin/provider/opencode.js +67 -67
- package/dist/plugin/provider/openrouter.js +65 -65
- package/dist/plugin/provider/poe.js +58 -58
- package/dist/plugin/provider/prompt-cache-key.js +64 -64
- package/dist/plugin/provider/sap-ai-core.js +64 -64
- package/dist/plugin/provider/snowflake-cortex.js +90 -90
- package/dist/plugin/provider/vercel.js +64 -64
- package/dist/plugin/provider/vllm.js +91 -91
- package/dist/plugin/provider/xai.js +65 -65
- package/dist/plugin/provider.js +122 -122
- package/dist/plugin/sdk.js +60 -60
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +107 -107
- package/dist/plugin/supervisor.js +302 -302
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +62 -62
- package/dist/plugin/vcs/hg.js +62 -62
- package/dist/plugin/warming.js +90 -90
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +5 -5
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +187 -187
- package/dist/project.js +61 -61
- package/dist/provider.js +75 -75
- package/dist/pty/schema.js +3 -3
- package/dist/pty.js +73 -73
- package/dist/reference/instructions.js +66 -66
- package/dist/reference.js +66 -66
- package/dist/repository-cache.js +59 -59
- package/dist/ripgrep.js +69 -69
- package/dist/rpc.js +63 -63
- package/dist/session/command.js +57 -57
- package/dist/session/compaction.js +101 -101
- package/dist/session/context.js +117 -117
- package/dist/session/diff.js +62 -62
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +118 -118
- package/dist/session/execution.js +99 -99
- package/dist/session/generate.js +118 -118
- package/dist/session/history.js +6 -6
- package/dist/session/inbox.js +66 -66
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +57 -57
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +71 -71
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +88 -88
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +100 -100
- package/dist/session/projector.js +63 -63
- package/dist/session/prompt.js +76 -76
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +63 -63
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +188 -188
- package/dist/session/runner/model.js +72 -72
- package/dist/session/runner/retry.js +86 -86
- package/dist/session/runner/step.js +94 -94
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +134 -134
- package/dist/session/shell.js +104 -104
- package/dist/session/skill.js +75 -75
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +63 -63
- package/dist/session/subagent-job.js +171 -171
- package/dist/session/title.js +120 -120
- package/dist/session/to-session-error.js +83 -83
- package/dist/session/transfer.js +118 -118
- package/dist/session.js +180 -180
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +107 -107
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +79 -79
- package/dist/skill.js +82 -82
- package/dist/snapshot.js +69 -69
- package/dist/tool/mcp.js +95 -95
- package/dist/tool/plugin/edit.js +87 -87
- package/dist/tool/plugin/glob.js +84 -84
- package/dist/tool/plugin/grep.js +90 -90
- package/dist/tool/plugin/opencode.js +5 -3
- package/dist/tool/plugin/patch.js +85 -85
- package/dist/tool/plugin/question.js +77 -77
- package/dist/tool/plugin/read.js +91 -91
- package/dist/tool/plugin/shell.js +179 -179
- package/dist/tool/plugin/skill.js +81 -81
- package/dist/tool/plugin/subagent.js +178 -178
- package/dist/tool/plugin/webfetch.js +77 -77
- package/dist/tool/plugin/websearch.js +85 -85
- package/dist/tool/plugin/write.js +89 -89
- package/dist/tool/read-filesystem.js +71 -71
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +9 -9
- package/dist/types/plugin/identity.d.ts +0 -1
- package/dist/types/tool/plugin/opencode.d.ts +7 -0
- package/dist/types/tool/plugin/subagent.d.ts +3 -1
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +65 -65
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +67 -67
- package/dist/vcs.js +65 -65
- package/dist/websearch.js +66 -66
- package/dist/wellknown/plugin.js +59 -59
- package/dist/wellknown.js +62 -62
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +62 -62
- package/dist/worktree/git.js +3 -3
- package/dist/worktree/strategies.js +64 -64
- package/dist/worktree.js +72 -72
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-6kdq0pjd.js +0 -4
- package/dist/chunks/aisdk-native-e576cz19.js +0 -80
- package/dist/chunks/aisdk-native-hcp8xqw6.js +0 -247
- package/dist/chunks/aisdk-native-p0z2qksq.js +0 -478
- package/dist/chunks/aisdk-native-y817ngn0.js +0 -26
- /package/dist/chunks/{aisdk-native-92k45pvj.js → aisdk-native-9nepbqpa.js} +0 -0
- /package/dist/chunks/{aisdk-native-18xw5b3r.js → aisdk-native-fpgyj0nn.js} +0 -0
- /package/dist/chunks/{aisdk-native-2cmv458r.js → aisdk-native-q17z9dx8.js} +0 -0
- /package/dist/chunks/{aisdk-native-hev6f6cv.js → aisdk-native-ssh52gjb.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./aisdk-native-
|
|
2
|
+
Service75,
|
|
3
|
+
node79
|
|
4
|
+
} from "./aisdk-native-wk3ypdaq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key4,
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./aisdk-native-
|
|
9
|
+
} from "./aisdk-native-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./aisdk-native-9rqn6x4v.js";
|
|
@@ -15,21 +15,21 @@ import {
|
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service26,
|
|
19
|
+
node: () => node30
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service26 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service75;
|
|
29
|
+
return Service26.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make21({
|
|
32
|
+
key: Key4.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
53
|
-
key:
|
|
52
|
+
make21({
|
|
53
|
+
key: Key4.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node30 = makeLocationNode({ service: Service26, layer, deps: [Global.node, node79] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service26, node30, exports_builtins };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID15,
|
|
3
|
+
Info30,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./aisdk-native-
|
|
5
|
+
} from "./aisdk-native-q3t37ft6.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
8
|
} from "./aisdk-native-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./aisdk-native-
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./aisdk-native-fgqcvsfv.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
Service80,
|
|
16
|
-
node84
|
|
17
|
-
} from "./aisdk-native-tf0wxgc3.js";
|
|
18
|
-
import {
|
|
19
15
|
Service78,
|
|
20
16
|
node82
|
|
21
|
-
} from "./aisdk-native-
|
|
17
|
+
} from "./aisdk-native-rhcmf0p0.js";
|
|
22
18
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./aisdk-native-
|
|
19
|
+
Service76,
|
|
20
|
+
node80
|
|
21
|
+
} from "./aisdk-native-w16z4der.js";
|
|
22
|
+
import {
|
|
23
|
+
Service50,
|
|
24
|
+
node53
|
|
25
|
+
} from "./aisdk-native-hq8zt1th.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
28
|
} from "./aisdk-native-ec1grn59.js";
|
|
@@ -30,27 +30,27 @@ import {
|
|
|
30
30
|
SessionMessageTable2
|
|
31
31
|
} from "./aisdk-native-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./aisdk-native-
|
|
33
|
+
node52
|
|
34
|
+
} from "./aisdk-native-0pffsxzd.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./aisdk-native-
|
|
37
|
+
} from "./aisdk-native-bha4atvq.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./aisdk-native-
|
|
40
|
+
} from "./aisdk-native-7q29nmvk.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
43
|
} from "./aisdk-native-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./aisdk-native-
|
|
46
|
+
node24
|
|
47
|
+
} from "./aisdk-native-88jassm4.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./aisdk-native-
|
|
50
|
+
node66
|
|
51
|
+
} from "./aisdk-native-pb231g4a.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError10,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,55 +61,55 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./aisdk-native-
|
|
64
|
+
} from "./aisdk-native-3ktbe3hf.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput4,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./aisdk-native-
|
|
67
|
+
Service72,
|
|
68
|
+
node76
|
|
69
|
+
} from "./aisdk-native-qze9tj9p.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./aisdk-native-
|
|
71
|
+
Service53,
|
|
72
|
+
node56
|
|
73
|
+
} from "./aisdk-native-nz76xpbf.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./aisdk-native-
|
|
75
|
+
Service47,
|
|
76
|
+
node51
|
|
77
|
+
} from "./aisdk-native-6kpcav3z.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
80
|
} from "./aisdk-native-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./aisdk-native-
|
|
82
|
+
Service25,
|
|
83
|
+
node29
|
|
84
|
+
} from "./aisdk-native-8xw6hc60.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./aisdk-native-
|
|
87
|
+
} from "./aisdk-native-2qvr8c41.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./aisdk-native-
|
|
90
|
+
} from "./aisdk-native-xm6fyv27.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./aisdk-native-
|
|
92
|
+
Service52,
|
|
93
|
+
node55
|
|
94
|
+
} from "./aisdk-native-bj66tvz5.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./aisdk-native-
|
|
99
|
+
Service19,
|
|
100
|
+
node22
|
|
101
|
+
} from "./aisdk-native-4tzv7a5d.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./aisdk-native-
|
|
103
|
+
Service34,
|
|
104
|
+
node37
|
|
105
|
+
} from "./aisdk-native-0t9wd588.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./aisdk-native-
|
|
108
|
+
} from "./aisdk-native-wn2s22d5.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./aisdk-native-
|
|
112
|
+
} from "./aisdk-native-pts37tz4.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
115
|
} from "./aisdk-native-9rqn6x4v.js";
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID15,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info30,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput2,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError10,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service18,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node21
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput2 = ListInput4;
|
|
152
|
+
class Service18 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
|
-
const database = yield*
|
|
156
|
+
const database = yield* Service79;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service78;
|
|
159
|
+
const projects = yield* Service76;
|
|
160
|
+
const execution = yield* Service47;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service25;
|
|
163
|
+
const store = yield* Service72;
|
|
164
|
+
const instances = yield* Service50;
|
|
165
|
+
const moves = yield* Service19;
|
|
166
|
+
const jobs = yield* Service53;
|
|
167
|
+
const environments = yield* Service34;
|
|
168
|
+
const locations = yield* Service52;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service18.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError10({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service79, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service50, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
326
326
|
});
|
|
327
327
|
return result;
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node21 = Node.makeGlobalNode({
|
|
330
|
+
service: Service18,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
node84,
|
|
333
|
+
node56,
|
|
334
|
+
node37,
|
|
335
|
+
node83,
|
|
337
336
|
node82,
|
|
338
|
-
|
|
339
|
-
|
|
337
|
+
node80,
|
|
338
|
+
node51,
|
|
339
|
+
node29,
|
|
340
340
|
llmClient2,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
node49,
|
|
344
|
-
node32,
|
|
345
|
-
node33,
|
|
341
|
+
node76,
|
|
342
|
+
node53,
|
|
346
343
|
node52,
|
|
344
|
+
node22,
|
|
345
|
+
node24,
|
|
346
|
+
node55,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node66
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
export { ListAnchor2,
|
|
352
|
+
export { ListAnchor2, ListInput2, Service18, node21, exports_session };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./aisdk-native-
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./aisdk-native-rhcmf0p0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./aisdk-native-
|
|
6
|
+
Service30,
|
|
7
|
+
node33
|
|
8
|
+
} from "./aisdk-native-s0ezpa0w.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./aisdk-native-
|
|
10
|
+
Service71,
|
|
11
|
+
node75
|
|
12
|
+
} from "./aisdk-native-g4bm5adv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./aisdk-native-
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./aisdk-native-zx9dccf2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./aisdk-native-9rqn6x4v.js";
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
|
+
layer: () => layer11,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node32
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service28 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service30;
|
|
42
|
+
const tools = yield* Service80;
|
|
43
|
+
const bus = yield* Service78;
|
|
44
|
+
const permission = yield* Service71;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node32 = makeLocationNode({
|
|
124
|
+
service: Service28,
|
|
125
|
+
layer: layer11,
|
|
126
|
+
deps: [node84, node33, node82, node75]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service28, layer11, node32, exports_mcp3 };
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service57,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node60
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service57 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service57.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node60 = makeLocationNode({
|
|
143
|
+
service: Service57,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service57, node60, exports_tool_output2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./aisdk-native-
|
|
2
|
+
Service54
|
|
3
|
+
} from "./aisdk-native-ry6xxh2r.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
6
|
} from "./aisdk-native-y1fvbwt7.js";
|
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin6
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin6 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service54;
|
|
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 Plugin32 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin6, exports_policy };
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service81,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node85
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service81 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service81.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node85 = makeLocationNode({ service: Service81, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service81, node85, exports_image2 };
|