@opencode/core 0.0.0-dev-19659 → 0.0.0-dev-19661
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 +68 -68
- package/dist/aisdk-native.js +70 -70
- package/dist/aisdk.js +75 -75
- package/dist/app.js +7 -7
- package/dist/bus.js +57 -57
- package/dist/chunks/{aisdk-native-k51e4aw5.js → aisdk-native-023zadcs.js} +26 -26
- package/dist/chunks/{aisdk-native-g2wezmb8.js → aisdk-native-05r0pd4k.js} +22 -22
- package/dist/chunks/{aisdk-native-808kc461.js → aisdk-native-0cmdsdny.js} +4 -4
- package/dist/chunks/{aisdk-native-t550f9t1.js → aisdk-native-0gdmqesm.js} +3 -3
- package/dist/chunks/{aisdk-native-wje5afyb.js → aisdk-native-0n0zwxbt.js} +13 -13
- package/dist/chunks/{aisdk-native-m9rcy9e9.js → aisdk-native-0yxn2y41.js} +22 -22
- package/dist/chunks/{aisdk-native-fgxf6epx.js → aisdk-native-17ev268x.js} +4 -4
- package/dist/chunks/{aisdk-native-af9v6wdb.js → aisdk-native-182gb95e.js} +21 -21
- package/dist/chunks/{aisdk-native-73tb2d7t.js → aisdk-native-1bbkgx8g.js} +2 -2
- package/dist/chunks/{aisdk-native-yy5xejng.js → aisdk-native-1n2wahs4.js} +34 -34
- package/dist/chunks/{aisdk-native-451pjvrk.js → aisdk-native-1sfz7hzv.js} +10 -10
- package/dist/chunks/{aisdk-native-56gdpj1q.js → aisdk-native-1ygqh575.js} +7 -7
- package/dist/chunks/{aisdk-native-0hxaqekr.js → aisdk-native-2379zrkh.js} +16 -16
- package/dist/chunks/{aisdk-native-nfgpg7sz.js → aisdk-native-238t0ktd.js} +7 -7
- package/dist/chunks/{aisdk-native-6h73sxmp.js → aisdk-native-2402vzrj.js} +4 -4
- package/dist/chunks/{aisdk-native-xk747vep.js → aisdk-native-24dd53tp.js} +7 -7
- package/dist/chunks/{aisdk-native-qyknhhpm.js → aisdk-native-254jv3j6.js} +30 -30
- package/dist/chunks/{aisdk-native-nt0hfq1t.js → aisdk-native-297pfj8a.js} +19 -19
- package/dist/chunks/{aisdk-native-erpj0ymn.js → aisdk-native-2nsfm9h9.js} +12 -12
- package/dist/chunks/{aisdk-native-ejzsabnb.js → aisdk-native-2nzzx6r4.js} +22 -22
- package/dist/chunks/{aisdk-native-hd29hty9.js → aisdk-native-2qbt9ft8.js} +7 -7
- package/dist/chunks/{aisdk-native-hyv2nsj8.js → aisdk-native-2rnv70v8.js} +47 -47
- package/dist/chunks/{aisdk-native-kx9pe8v3.js → aisdk-native-344v8r7k.js} +22 -22
- package/dist/chunks/{aisdk-native-yv8wa7ky.js → aisdk-native-347x7wat.js} +36 -36
- package/dist/chunks/{aisdk-native-2f0bjgcj.js → aisdk-native-37s12vcn.js} +3 -3
- package/dist/chunks/{aisdk-native-2x2s87dx.js → aisdk-native-3ge5fqnw.js} +8 -8
- package/dist/chunks/{aisdk-native-wa0ja8bs.js → aisdk-native-3jbc3g36.js} +9 -9
- package/dist/chunks/{aisdk-native-1m0ke9tc.js → aisdk-native-3s810fg1.js} +7 -7
- package/dist/chunks/{aisdk-native-4w5f3qm5.js → aisdk-native-428ep8fh.js} +7 -7
- package/dist/chunks/{aisdk-native-67cjjfz3.js → aisdk-native-434kh90e.js} +20 -20
- package/dist/chunks/{aisdk-native-h6r3nrb9.js → aisdk-native-4dgbcxzg.js} +3 -3
- package/dist/chunks/{aisdk-native-y9ag30cx.js → aisdk-native-4f5m37fg.js} +7 -7
- package/dist/chunks/{aisdk-native-p0dy5qgw.js → aisdk-native-4kqw78yy.js} +177 -175
- package/dist/chunks/{aisdk-native-abbd0srp.js → aisdk-native-4rega36x.js} +30 -30
- package/dist/chunks/{aisdk-native-3kbz71ch.js → aisdk-native-556432ga.js} +3 -3
- package/dist/chunks/{aisdk-native-6x0h2hvg.js → aisdk-native-57ez7d0k.js} +7 -7
- package/dist/chunks/{aisdk-native-ycwrzegc.js → aisdk-native-5c90fea2.js} +3 -3
- package/dist/chunks/{aisdk-native-j4dhk6n6.js → aisdk-native-5cytww3c.js} +16 -16
- package/dist/chunks/{aisdk-native-wbt9zsn3.js → aisdk-native-5e1pzs32.js} +7 -7
- package/dist/chunks/{aisdk-native-3jsa4rg6.js → aisdk-native-5fq5rnmr.js} +16 -16
- package/dist/chunks/{aisdk-native-9kmbd9mt.js → aisdk-native-5frpvc34.js} +1 -1
- package/dist/chunks/{aisdk-native-7jt1dbyr.js → aisdk-native-5g2yzyfh.js} +14 -14
- package/dist/chunks/{aisdk-native-e3qxr5gk.js → aisdk-native-5qd3pb7m.js} +2 -2
- package/dist/chunks/{aisdk-native-ehb2gjf8.js → aisdk-native-5smky6em.js} +11 -11
- package/dist/chunks/{aisdk-native-rgax8w17.js → aisdk-native-5tvsfswc.js} +45 -45
- package/dist/chunks/{aisdk-native-3cx7b8c9.js → aisdk-native-69f01smw.js} +25 -25
- package/dist/chunks/{aisdk-native-s7z13rzp.js → aisdk-native-6k39b1y0.js} +17 -17
- package/dist/chunks/{aisdk-native-wse8x4gb.js → aisdk-native-6mbb5s1t.js} +13 -13
- package/dist/chunks/{aisdk-native-nr3rnpny.js → aisdk-native-6nnym848.js} +10 -10
- package/dist/chunks/{aisdk-native-qdsfqex4.js → aisdk-native-6wqj81eb.js} +15 -15
- package/dist/chunks/{aisdk-native-c0ff335f.js → aisdk-native-6yyyp1at.js} +17 -17
- package/dist/chunks/{aisdk-native-60m4dpxp.js → aisdk-native-706cadxd.js} +14 -14
- package/dist/chunks/{aisdk-native-24xf3npk.js → aisdk-native-70yndaw4.js} +6 -6
- package/dist/chunks/{aisdk-native-8f6haeyf.js → aisdk-native-71anqpyy.js} +26 -26
- package/dist/chunks/{aisdk-native-rdbxvgxv.js → aisdk-native-73wr5j5n.js} +9 -9
- package/dist/chunks/{aisdk-native-7nv2t5e7.js → aisdk-native-74v01gcw.js} +22 -22
- package/dist/chunks/{aisdk-native-wpfw97x8.js → aisdk-native-77gdyk7k.js} +12 -12
- package/dist/chunks/{aisdk-native-nshkq49p.js → aisdk-native-7d579zsz.js} +48 -48
- package/dist/chunks/{aisdk-native-96waysmg.js → aisdk-native-82wqn8fy.js} +11 -11
- package/dist/chunks/{aisdk-native-70kjzvqh.js → aisdk-native-864rq62z.js} +13 -13
- package/dist/chunks/{aisdk-native-baxt3tw0.js → aisdk-native-86tgy61v.js} +26 -26
- package/dist/chunks/{aisdk-native-7bq24f4k.js → aisdk-native-86wxc0s5.js} +13 -13
- package/dist/chunks/{aisdk-native-8v8qk05p.js → aisdk-native-89f3rvt3.js} +1 -1
- package/dist/chunks/{aisdk-native-kmb9ebe8.js → aisdk-native-8b9a1vnb.js} +30 -30
- package/dist/chunks/aisdk-native-8mc8rrk5.js +478 -0
- package/dist/chunks/{aisdk-native-ctzssw83.js → aisdk-native-8mfdap3f.js} +4 -4
- package/dist/chunks/{aisdk-native-0dsywrch.js → aisdk-native-8n473qvc.js} +19 -19
- package/dist/chunks/{aisdk-native-mf9m2v67.js → aisdk-native-8q7cq0y1.js} +2 -2
- package/dist/chunks/{aisdk-native-aydjvc15.js → aisdk-native-9a44ktbt.js} +17 -17
- package/dist/chunks/{aisdk-native-v2cfd9mg.js → aisdk-native-9cn34y8n.js} +16 -16
- package/dist/chunks/{aisdk-native-p37cw4rj.js → aisdk-native-9hn6k4tm.js} +7 -7
- package/dist/chunks/aisdk-native-9tp0xrnc.js +247 -0
- package/dist/chunks/{aisdk-native-kq0bb674.js → aisdk-native-9v9a7nyh.js} +18 -18
- package/dist/chunks/{aisdk-native-thz469sg.js → aisdk-native-9wkb9m04.js} +8 -8
- package/dist/chunks/{aisdk-native-6t298p2h.js → aisdk-native-ab8cnxkj.js} +8 -8
- package/dist/chunks/{aisdk-native-9efavmn1.js → aisdk-native-ahkm7jtq.js} +9 -9
- package/dist/chunks/{aisdk-native-888n06p8.js → aisdk-native-avcdwqa3.js} +7 -7
- package/dist/chunks/{aisdk-native-2gns7qzp.js → aisdk-native-b3fjr4a5.js} +9 -9
- package/dist/chunks/{aisdk-native-wna5sgbh.js → aisdk-native-bghmh87t.js} +19 -19
- package/dist/chunks/{aisdk-native-2cdbads6.js → aisdk-native-bje848qr.js} +6 -6
- package/dist/chunks/{aisdk-native-v30t9zn6.js → aisdk-native-bn6tr5ps.js} +6 -6
- package/dist/chunks/{aisdk-native-gp08z3nw.js → aisdk-native-bn7wsp1y.js} +4 -4
- package/dist/chunks/{aisdk-native-tddjggae.js → aisdk-native-bn8xvxc9.js} +15 -15
- package/dist/chunks/{aisdk-native-bpvf94qg.js → aisdk-native-bqcmh1d5.js} +25 -25
- package/dist/chunks/{aisdk-native-r3jjmetn.js → aisdk-native-bwq9mt9g.js} +6 -6
- package/dist/chunks/{aisdk-native-gwasxxyt.js → aisdk-native-c1a6g7fn.js} +26 -26
- package/dist/chunks/{aisdk-native-ae7djn2q.js → aisdk-native-c24azjc2.js} +12 -12
- package/dist/chunks/{aisdk-native-6jjmcewh.js → aisdk-native-c3g32xz6.js} +22 -22
- package/dist/chunks/{aisdk-native-jz717kwe.js → aisdk-native-c3tze8y7.js} +21 -21
- package/dist/chunks/{aisdk-native-hn0kr74v.js → aisdk-native-ccq8grnq.js} +25 -25
- package/dist/chunks/{aisdk-native-7y4g93zh.js → aisdk-native-cft9s2sz.js} +10 -10
- package/dist/chunks/{aisdk-native-gwqc9hw0.js → aisdk-native-crgeygmk.js} +19 -19
- package/dist/chunks/{aisdk-native-16zmxd5d.js → aisdk-native-czwyyt0b.js} +7 -7
- package/dist/chunks/{aisdk-native-4c2trx4e.js → aisdk-native-d0szqk1h.js} +3 -3
- package/dist/chunks/{aisdk-native-v23ngtav.js → aisdk-native-d295vwqg.js} +81 -81
- package/dist/chunks/{aisdk-native-7m61546t.js → aisdk-native-d70tcw3y.js} +8 -8
- package/dist/chunks/{aisdk-native-5nygbceh.js → aisdk-native-dbgsewpx.js} +7 -7
- package/dist/chunks/{aisdk-native-4fnbdv1x.js → aisdk-native-dfyaxeae.js} +1 -1
- package/dist/chunks/{aisdk-native-k074j3w6.js → aisdk-native-dm4njmma.js} +39 -39
- package/dist/chunks/{aisdk-native-359m9qke.js → aisdk-native-dn2z7ew9.js} +21 -21
- package/dist/chunks/{aisdk-native-y71avatq.js → aisdk-native-dpkg50ah.js} +3 -3
- package/dist/chunks/{aisdk-native-hx2g52bz.js → aisdk-native-dskzymh2.js} +4 -4
- package/dist/chunks/{aisdk-native-hcz3zddy.js → aisdk-native-e6hmchc5.js} +3 -3
- package/dist/chunks/{aisdk-native-byvpkk98.js → aisdk-native-edevpfks.js} +9 -9
- package/dist/chunks/{aisdk-native-9m87xy8c.js → aisdk-native-et90nqeb.js} +6 -6
- package/dist/chunks/{aisdk-native-0hna0z05.js → aisdk-native-evavga5b.js} +83 -83
- package/dist/chunks/{aisdk-native-m3sg1ew5.js → aisdk-native-ewc7fmt2.js} +6 -6
- package/dist/chunks/{aisdk-native-vfmr2m2j.js → aisdk-native-eyy1x1gz.js} +15 -15
- package/dist/chunks/{aisdk-native-4hv83k1t.js → aisdk-native-eztanwtt.js} +22 -22
- package/dist/chunks/{aisdk-native-yp2x3t23.js → aisdk-native-f2n192rq.js} +3 -3
- package/dist/chunks/{aisdk-native-pkkve4e3.js → aisdk-native-f31jkx3n.js} +5 -5
- package/dist/chunks/{aisdk-native-q13p9eja.js → aisdk-native-fakqx81w.js} +7 -7
- package/dist/chunks/{aisdk-native-b27vhd2z.js → aisdk-native-fdv30zvt.js} +6 -6
- package/dist/chunks/{aisdk-native-eswk50af.js → aisdk-native-fp088skr.js} +7 -7
- package/dist/chunks/{aisdk-native-zvfby6ng.js → aisdk-native-fveggg5b.js} +8 -8
- package/dist/chunks/{aisdk-native-nf5c5hdx.js → aisdk-native-g03q4hs5.js} +21 -21
- package/dist/chunks/{aisdk-native-axmvebxj.js → aisdk-native-g190xswt.js} +20 -20
- package/dist/chunks/{aisdk-native-agas1js3.js → aisdk-native-g29ecd2d.js} +5 -5
- package/dist/chunks/{aisdk-native-fc8gtdz2.js → aisdk-native-g6r9s5ra.js} +1 -1
- package/dist/chunks/{aisdk-native-r330a857.js → aisdk-native-ghb1r91n.js} +18 -15
- package/dist/chunks/{aisdk-native-79qaa2kf.js → aisdk-native-gjwgx2c5.js} +7 -7
- package/dist/chunks/aisdk-native-grr7jzxk.js +26 -0
- package/dist/chunks/{aisdk-native-xj33pkwb.js → aisdk-native-gx4b9ghh.js} +24 -24
- package/dist/chunks/{aisdk-native-v4wfwvtq.js → aisdk-native-gxr1dr9e.js} +6 -6
- package/dist/chunks/{aisdk-native-hy20qw0x.js → aisdk-native-gxv64e4w.js} +12 -12
- package/dist/chunks/{aisdk-native-xrjwjpzr.js → aisdk-native-gxv7kf4z.js} +1 -1
- package/dist/chunks/{aisdk-native-ydyy4a51.js → aisdk-native-gym91fzb.js} +7 -7
- package/dist/chunks/{aisdk-native-jp1wq4j5.js → aisdk-native-h6304w3t.js} +4 -4
- package/dist/chunks/{aisdk-native-qskfz9c0.js → aisdk-native-hcveegta.js} +32 -32
- package/dist/chunks/{aisdk-native-f96rndfk.js → aisdk-native-he5mgen4.js} +8 -8
- package/dist/chunks/{aisdk-native-m2e5j58z.js → aisdk-native-hffbynf2.js} +14 -14
- package/dist/chunks/{aisdk-native-e2hdwa5k.js → aisdk-native-hgsgykfd.js} +13 -13
- package/dist/chunks/{aisdk-native-dh7xq6zm.js → aisdk-native-hryj0jt1.js} +3 -3
- package/dist/chunks/{aisdk-native-ahvgrgdh.js → aisdk-native-j161s2v3.js} +17 -17
- package/dist/chunks/{aisdk-native-an7cqtb7.js → aisdk-native-j83byb14.js} +3 -3
- package/dist/chunks/{aisdk-native-23sxaqwc.js → aisdk-native-j8zzr2am.js} +3 -3
- package/dist/chunks/{aisdk-native-9yccxaet.js → aisdk-native-jmyhth9t.js} +50 -50
- package/dist/chunks/{aisdk-native-z45k2q9b.js → aisdk-native-jx560d4n.js} +12 -12
- package/dist/chunks/{aisdk-native-x01x7vs9.js → aisdk-native-k05gtj6k.js} +2 -2
- package/dist/chunks/{aisdk-native-b2da4m4w.js → aisdk-native-k5721584.js} +3 -3
- package/dist/chunks/{aisdk-native-748zbz0t.js → aisdk-native-kaqsmsnp.js} +40 -40
- package/dist/chunks/{aisdk-native-wasmnp9g.js → aisdk-native-kb2qx9e9.js} +2 -2
- package/dist/chunks/{aisdk-native-ywhsgpfh.js → aisdk-native-kbpq3c4q.js} +22 -22
- package/dist/chunks/{aisdk-native-e2335xen.js → aisdk-native-kdjz9kg3.js} +8 -8
- package/dist/chunks/{aisdk-native-6rtfy69a.js → aisdk-native-kg4jxx0b.js} +7 -7
- package/dist/chunks/{aisdk-native-0dxrdgf8.js → aisdk-native-kwhemyxj.js} +6 -6
- package/dist/chunks/{aisdk-native-n11baakf.js → aisdk-native-kz12zc3c.js} +10 -10
- package/dist/chunks/{aisdk-native-n0kdxk8f.js → aisdk-native-kz3knr4j.js} +10 -10
- package/dist/chunks/{aisdk-native-qe4vt3fh.js → aisdk-native-m09t7skk.js} +4 -4
- package/dist/chunks/{aisdk-native-ak2as40b.js → aisdk-native-m2m0mav4.js} +12 -12
- package/dist/chunks/{aisdk-native-rjt1w22v.js → aisdk-native-m3ta9d82.js} +4 -4
- package/dist/chunks/{aisdk-native-hh9m7f5s.js → aisdk-native-m7g9ty3v.js} +31 -31
- package/dist/chunks/{aisdk-native-331hptqa.js → aisdk-native-m7w5bw68.js} +1 -1
- package/dist/chunks/{aisdk-native-pqkjy9pg.js → aisdk-native-m83dfgrj.js} +25 -25
- package/dist/chunks/{aisdk-native-zgfg11tk.js → aisdk-native-m9h2htwt.js} +43 -43
- package/dist/chunks/{aisdk-native-qbxewh6p.js → aisdk-native-md88ay8y.js} +39 -39
- package/dist/chunks/{aisdk-native-t63nzm9r.js → aisdk-native-mq22jzzd.js} +29 -29
- package/dist/chunks/{aisdk-native-88sz8qcd.js → aisdk-native-msq0jde0.js} +3 -3
- package/dist/chunks/{aisdk-native-pbqf8yzy.js → aisdk-native-mzjqrkme.js} +4 -4
- package/dist/chunks/{aisdk-native-f6n9ymec.js → aisdk-native-n6fvx0v7.js} +23 -23
- package/dist/chunks/{aisdk-native-rn5qsgpz.js → aisdk-native-nf10vtm1.js} +1 -1
- package/dist/chunks/{aisdk-native-xf3xt1ha.js → aisdk-native-nntat7jz.js} +2 -2
- package/dist/chunks/{aisdk-native-geznyajv.js → aisdk-native-pb76g505.js} +23 -23
- package/dist/chunks/{aisdk-native-1wabnfeb.js → aisdk-native-pbbas732.js} +3 -3
- package/dist/chunks/{aisdk-native-7bc5tj51.js → aisdk-native-pf5z211q.js} +14 -14
- package/dist/chunks/{aisdk-native-7eexgf6y.js → aisdk-native-pfm0mfps.js} +11 -11
- package/dist/chunks/{aisdk-native-5vzxx5bm.js → aisdk-native-pp8ahakx.js} +16 -16
- package/dist/chunks/{aisdk-native-scq4khx8.js → aisdk-native-pstg3rfm.js} +1 -1
- package/dist/chunks/{aisdk-native-0wafeyhj.js → aisdk-native-q12gc53x.js} +4 -4
- package/dist/chunks/{aisdk-native-ht9hrq0m.js → aisdk-native-q8cmhkcw.js} +21 -21
- package/dist/chunks/{aisdk-native-msfpjnen.js → aisdk-native-qaz9f4ck.js} +21 -21
- package/dist/chunks/{aisdk-native-jcefac6b.js → aisdk-native-qbfny5ar.js} +44 -44
- package/dist/chunks/{aisdk-native-2k8khapm.js → aisdk-native-qgn6gcr1.js} +4 -4
- package/dist/chunks/{aisdk-native-86nf6q4d.js → aisdk-native-qhm3qz41.js} +16 -16
- package/dist/chunks/{aisdk-native-jnzjsk2z.js → aisdk-native-qnqvzbpj.js} +33 -33
- package/dist/chunks/{aisdk-native-9fz2jzqv.js → aisdk-native-r04jyq6d.js} +16 -16
- package/dist/chunks/{aisdk-native-kp8q1t60.js → aisdk-native-r9w3djhf.js} +8 -8
- package/dist/chunks/{aisdk-native-0gj0evhw.js → aisdk-native-rpg6kbz8.js} +9 -9
- package/dist/chunks/{aisdk-native-x16ewxve.js → aisdk-native-rqq8xd54.js} +15 -15
- package/dist/chunks/{aisdk-native-j5x2gm5w.js → aisdk-native-rsjan7rq.js} +3 -3
- package/dist/chunks/{aisdk-native-e248x3jn.js → aisdk-native-rtd6da40.js} +8 -8
- package/dist/chunks/{aisdk-native-mp6d0dty.js → aisdk-native-rzs3gq0x.js} +7 -7
- package/dist/chunks/{aisdk-native-nxhqveyz.js → aisdk-native-s8zy8myc.js} +3 -3
- package/dist/chunks/{aisdk-native-ppegfhjd.js → aisdk-native-sqr3fkms.js} +7 -7
- package/dist/chunks/{aisdk-native-scavptnn.js → aisdk-native-szxaz7kb.js} +19 -19
- package/dist/chunks/{aisdk-native-sxzvkvgj.js → aisdk-native-tcay1cqt.js} +5 -5
- package/dist/chunks/{aisdk-native-jjke4x7z.js → aisdk-native-tm9sbs98.js} +12 -12
- package/dist/chunks/{aisdk-native-nhhcxfy5.js → aisdk-native-tnmp8ffe.js} +23 -23
- package/dist/chunks/{aisdk-native-v7zr17ek.js → aisdk-native-tz3y59f8.js} +3 -3
- package/dist/chunks/{aisdk-native-1x11rq2a.js → aisdk-native-v1faaxn9.js} +4 -4
- package/dist/chunks/{aisdk-native-b1r5pdk4.js → aisdk-native-v1kmkjnd.js} +17 -17
- package/dist/chunks/{aisdk-native-wfszgscg.js → aisdk-native-vfn2zzmw.js} +26 -26
- package/dist/chunks/{aisdk-native-bajakh74.js → aisdk-native-vkxpz7g2.js} +1 -1
- package/dist/chunks/{aisdk-native-50p7p4wm.js → aisdk-native-vnbtwqd9.js} +5 -5
- package/dist/chunks/{aisdk-native-jkv0zw5y.js → aisdk-native-w3sncgk8.js} +24 -24
- package/dist/chunks/{aisdk-native-23pqda6t.js → aisdk-native-w4arg62q.js} +3 -3
- package/dist/chunks/{aisdk-native-e3ayzqwh.js → aisdk-native-w4axh9wz.js} +5 -5
- package/dist/chunks/{aisdk-native-wbghmt8t.js → aisdk-native-we30fdbd.js} +19 -19
- package/dist/chunks/{aisdk-native-xdce8axh.js → aisdk-native-wktpt5qp.js} +5 -5
- package/dist/chunks/{aisdk-native-bjn91642.js → aisdk-native-x0511brf.js} +3 -3
- package/dist/chunks/{aisdk-native-vdd4sn1x.js → aisdk-native-x90pca9b.js} +6 -6
- package/dist/chunks/{aisdk-native-9q3gb9j3.js → aisdk-native-xa98q82c.js} +12 -12
- package/dist/chunks/{aisdk-native-3mhvwx4s.js → aisdk-native-xak7szdq.js} +9 -9
- package/dist/chunks/{aisdk-native-hrywwc1n.js → aisdk-native-xk8kmkj3.js} +12 -12
- package/dist/chunks/{aisdk-native-n4xd5mbw.js → aisdk-native-xs2jpm2x.js} +7 -7
- package/dist/chunks/{aisdk-native-z84mk0fk.js → aisdk-native-yafv6bxz.js} +13 -13
- package/dist/chunks/{aisdk-native-f8pwhm1g.js → aisdk-native-ym5ee435.js} +25 -25
- package/dist/chunks/{aisdk-native-zctbk1s6.js → aisdk-native-ynk1nd5w.js} +36 -36
- package/dist/chunks/{aisdk-native-s4enseaf.js → aisdk-native-yrznvahk.js} +1 -1
- package/dist/chunks/{aisdk-native-4xr2831z.js → aisdk-native-z2x1npkm.js} +8 -8
- package/dist/chunks/{aisdk-native-hh7agjhc.js → aisdk-native-z4305a57.js} +34 -34
- package/dist/chunks/{aisdk-native-6z9sgxqn.js → aisdk-native-z4zm4h76.js} +39 -39
- package/dist/chunks/{aisdk-native-e1pmx1t0.js → aisdk-native-z63k4sg0.js} +13 -13
- package/dist/chunks/{aisdk-native-29x78va6.js → aisdk-native-z63w68vq.js} +4 -4
- package/dist/chunks/{aisdk-native-h0h5wsmg.js → aisdk-native-zdhkzmh8.js} +15 -15
- package/dist/chunks/{aisdk-native-tdbz4xj3.js → aisdk-native-zf7xdvsm.js} +4 -4
- package/dist/chunks/{aisdk-native-h610k8s8.js → aisdk-native-zjcf0rqn.js} +14 -14
- package/dist/chunks/{aisdk-native-28e4y2hv.js → aisdk-native-zjym0m08.js} +10 -10
- package/dist/chunks/{aisdk-native-pfzt5ex6.js → aisdk-native-zrt42jaw.js} +5 -5
- package/dist/chunks/{aisdk-native-34q1q4g3.js → aisdk-native-ztctrtvz.js} +1 -1
- package/dist/chunks/{aisdk-native-0f0361zd.js → aisdk-native-ztm0qtrx.js} +37 -37
- package/dist/chunks/{aisdk-native-2vs2nh1n.js → aisdk-native-zvt5dnpc.js} +3 -3
- package/dist/codemode/instructions.js +4 -4
- package/dist/command.js +72 -72
- package/dist/config/discovery.js +63 -63
- package/dist/config/normalize.js +85 -85
- package/dist/config/plugin/agent.js +100 -100
- package/dist/config/plugin/command.js +181 -181
- package/dist/config/plugin/compaction.js +127 -127
- package/dist/config/plugin/compatibility.js +116 -116
- package/dist/config/plugin/formatter.js +99 -99
- package/dist/config/plugin/image.js +98 -98
- package/dist/config/plugin/instruction.js +70 -70
- package/dist/config/plugin/location-watcher.js +100 -100
- package/dist/config/plugin/mcp.js +106 -106
- package/dist/config/plugin/policy.js +98 -98
- package/dist/config/plugin/provider.js +98 -98
- package/dist/config/plugin/reference.js +100 -100
- package/dist/config/plugin/shell.js +98 -98
- package/dist/config/plugin/skill-file.js +78 -78
- package/dist/config/plugin/skill.js +119 -119
- package/dist/config/plugin/snapshot.js +98 -98
- package/dist/config/plugin/source.js +101 -101
- package/dist/config/plugin/tool-output.js +100 -100
- package/dist/config/plugin/websearch.js +97 -97
- package/dist/config/plugin/worktree.js +100 -100
- package/dist/config/variable.js +2 -2
- package/dist/config.js +104 -104
- package/dist/credential.js +69 -69
- package/dist/database/database.js +55 -55
- package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +11 -11
- package/dist/database/migration.gen.js +39 -39
- package/dist/database/migration.js +40 -40
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +233 -233
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +71 -71
- package/dist/environment/index.js +73 -73
- package/dist/event-logger.js +10 -10
- package/dist/file-access.js +81 -81
- package/dist/file-mutation.js +72 -72
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +194 -194
- package/dist/filesystem/search.js +73 -73
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +78 -78
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +68 -68
- package/dist/generate.js +84 -84
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +80 -80
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- 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 +72 -72
- package/dist/instructions/builtins.js +68 -68
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +70 -70
- package/dist/job.js +63 -63
- package/dist/kv.js +60 -60
- package/dist/location-activity.js +54 -54
- package/dist/location-mutation.js +31 -31
- package/dist/location-service-map.js +67 -67
- package/dist/location-services.js +309 -309
- package/dist/location.js +68 -68
- package/dist/mcp/client.js +18 -18
- package/dist/mcp/index.js +82 -82
- package/dist/mcp/instructions.js +100 -100
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +68 -68
- package/dist/modal/models.js +80 -80
- package/dist/model-resolver.js +79 -79
- package/dist/model.js +81 -81
- package/dist/models-dev.js +87 -87
- package/dist/permission/saved.js +64 -64
- package/dist/permission.js +90 -90
- package/dist/persistent-pty/index.js +70 -70
- package/dist/persistent-pty.js +60 -60
- package/dist/plugin/agent.js +81 -81
- package/dist/plugin/command.js +79 -79
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +185 -185
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +288 -288
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +3 -3
- package/dist/plugin/plan.js +79 -79
- package/dist/plugin/provider/amazon-bedrock.js +71 -71
- package/dist/plugin/provider/azure.js +97 -97
- package/dist/plugin/provider/cloudflare-ai-gateway.js +96 -96
- package/dist/plugin/provider/cloudflare-workers-ai.js +96 -96
- package/dist/plugin/provider/configured.js +95 -95
- package/dist/plugin/provider/digitalocean.js +73 -73
- package/dist/plugin/provider/github-copilot.js +74 -74
- package/dist/plugin/provider/gitlab.js +72 -72
- package/dist/plugin/provider/google-vertex.js +71 -71
- package/dist/plugin/provider/llmgateway.js +63 -63
- package/dist/plugin/provider/lmstudio.js +96 -96
- package/dist/plugin/provider/modal.js +73 -73
- package/dist/plugin/provider/ollama.js +96 -96
- package/dist/plugin/provider/openai.js +72 -72
- package/dist/plugin/provider/opencode.js +73 -73
- package/dist/plugin/provider/openrouter.js +72 -72
- package/dist/plugin/provider/poe.js +63 -63
- package/dist/plugin/provider/prompt-cache-key.js +71 -71
- package/dist/plugin/provider/sap-ai-core.js +71 -71
- package/dist/plugin/provider/snowflake-cortex.js +97 -97
- package/dist/plugin/provider/vercel.js +71 -71
- package/dist/plugin/provider/vllm.js +96 -96
- package/dist/plugin/provider/xai.js +72 -72
- package/dist/plugin/provider.js +129 -129
- package/dist/plugin/sdk.js +64 -64
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +117 -117
- package/dist/plugin/supervisor.js +302 -302
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +67 -67
- package/dist/plugin/vcs/hg.js +67 -67
- package/dist/plugin/warming.js +97 -97
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +5 -5
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +192 -192
- package/dist/project/schema.js +7 -7
- package/dist/project.js +71 -71
- package/dist/provider.js +78 -78
- package/dist/pty.js +73 -73
- package/dist/reference/instructions.js +72 -72
- package/dist/reference.js +74 -74
- package/dist/repository-cache.js +65 -65
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +74 -74
- package/dist/rpc.js +67 -67
- package/dist/session/command.js +61 -61
- package/dist/session/compaction.js +100 -100
- package/dist/session/context.js +124 -124
- package/dist/session/diff.js +67 -67
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -6
- package/dist/session/execution/restart.js +119 -119
- package/dist/session/execution.js +105 -105
- package/dist/session/generate.js +125 -125
- package/dist/session/history.js +8 -8
- package/dist/session/inbox.js +69 -69
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +61 -61
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +71 -71
- package/dist/session/model-request.js +91 -91
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +106 -106
- package/dist/session/projector.js +66 -66
- package/dist/session/prompt.js +81 -81
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +69 -69
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +192 -192
- package/dist/session/runner/model.js +79 -79
- package/dist/session/runner/retry.js +91 -91
- package/dist/session/runner/step.js +99 -99
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +143 -143
- package/dist/session/shell.js +111 -111
- package/dist/session/skill.js +80 -80
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +69 -69
- package/dist/session/subagent-job.js +178 -178
- package/dist/session/title.js +121 -121
- package/dist/session/to-session-error.js +88 -88
- package/dist/session/transfer.js +114 -114
- package/dist/session.js +185 -185
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +10 -10
- package/dist/shell.js +114 -114
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +84 -84
- package/dist/skill.js +87 -87
- package/dist/snapshot.js +72 -72
- package/dist/tool/mcp.js +97 -97
- package/dist/tool/plugin/edit.js +94 -94
- package/dist/tool/plugin/glob.js +98 -98
- package/dist/tool/plugin/grep.js +96 -96
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +96 -96
- package/dist/tool/plugin/question.js +78 -78
- package/dist/tool/plugin/read.js +98 -98
- package/dist/tool/plugin/shell.js +184 -184
- package/dist/tool/plugin/skill.js +90 -90
- package/dist/tool/plugin/subagent.js +187 -187
- package/dist/tool/plugin/webfetch.js +85 -85
- package/dist/tool/plugin/websearch.js +89 -89
- package/dist/tool/plugin/write.js +96 -96
- package/dist/tool/read-filesystem.js +72 -72
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +72 -72
- package/dist/v1/config/permission.js +7 -7
- 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 +74 -74
- package/dist/vcs.js +68 -68
- package/dist/websearch.js +66 -66
- package/dist/wellknown/plugin.js +62 -62
- package/dist/wellknown.js +67 -67
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +66 -66
- package/dist/worktree/git.js +6 -6
- package/dist/worktree/strategies.js +69 -69
- package/dist/worktree.js +75 -75
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-4144tsc8.js +0 -26
- package/dist/chunks/aisdk-native-esph3pet.js +0 -478
- package/dist/chunks/aisdk-native-vy5gba4s.js +0 -247
- /package/dist/chunks/{aisdk-native-gx8hye9g.js → aisdk-native-4vp46et4.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cfb3ja4.js → aisdk-native-94s48bjb.js} +0 -0
- /package/dist/chunks/{aisdk-native-nyvrwfsp.js → aisdk-native-98c88b32.js} +0 -0
- /package/dist/chunks/{aisdk-native-79k2e49w.js → aisdk-native-e6tgtk7f.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./aisdk-native-
|
|
4
|
+
} from "./aisdk-native-nntat7jz.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./aisdk-native-
|
|
8
|
+
} from "./aisdk-native-kb2qx9e9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./aisdk-native-
|
|
10
|
+
Service48,
|
|
11
|
+
node50
|
|
12
|
+
} from "./aisdk-native-tcay1cqt.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
16
|
} from "./aisdk-native-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./aisdk-native-
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./aisdk-native-ztm0qtrx.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./aisdk-native-
|
|
23
|
+
} from "./aisdk-native-bn8xvxc9.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./aisdk-native-
|
|
25
|
+
Service66,
|
|
26
|
+
node68
|
|
27
|
+
} from "./aisdk-native-czwyyt0b.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
30
|
} from "./aisdk-native-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./aisdk-native-
|
|
32
|
+
NotFoundError9
|
|
33
|
+
} from "./aisdk-native-3s810fg1.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
36
|
} from "./aisdk-native-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./aisdk-native-
|
|
38
|
+
Service44
|
|
39
|
+
} from "./aisdk-native-zvt5dnpc.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./aisdk-native-
|
|
41
|
+
Service60,
|
|
42
|
+
node62
|
|
43
|
+
} from "./aisdk-native-hffbynf2.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service45,
|
|
48
|
+
node47,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./aisdk-native-
|
|
50
|
+
} from "./aisdk-native-pp8ahakx.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./aisdk-native-
|
|
52
|
+
Service43,
|
|
53
|
+
node46
|
|
54
|
+
} from "./aisdk-native-ynk1nd5w.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./aisdk-native-
|
|
56
|
+
node27
|
|
57
|
+
} from "./aisdk-native-kdjz9kg3.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
60
|
} from "./aisdk-native-9rqn6x4v.js";
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service23,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node26
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service23 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service79;
|
|
92
|
+
const locations = yield* Service66;
|
|
93
|
+
const store = yield* Service60;
|
|
94
|
+
const execution = yield* Service43;
|
|
95
|
+
const instances = yield* Service48;
|
|
96
|
+
const admission = yield* Service45;
|
|
97
97
|
const database = yield* Service82;
|
|
98
98
|
const bus = yield* Service81;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError9({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service44.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service23.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node26 = makeGlobalNode({
|
|
167
|
+
service: Service23,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node83,
|
|
173
|
+
node68,
|
|
174
|
+
node62,
|
|
175
|
+
node46,
|
|
176
|
+
node50,
|
|
177
|
+
node47,
|
|
178
178
|
node86,
|
|
179
179
|
node85,
|
|
180
|
-
|
|
180
|
+
node27
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service23, node26, exports_move };
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./aisdk-native-
|
|
8
|
+
Service51,
|
|
9
|
+
node53
|
|
10
|
+
} from "./aisdk-native-m9h2htwt.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./aisdk-native-
|
|
13
|
+
} from "./aisdk-native-8q7cq0y1.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./aisdk-native-9rqn6x4v.js";
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service46,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node48,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service46 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service51;
|
|
77
|
+
return Service46.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node48 = makeLocationNode({ service: Service46, layer, deps: [node53] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service46, resolved2, node48, exports_model };
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "./aisdk-native-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./aisdk-native-
|
|
7
|
+
} from "./aisdk-native-gx4b9ghh.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./aisdk-native-
|
|
11
|
+
} from "./aisdk-native-c1a6g7fn.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./aisdk-native-9rqn6x4v.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin12,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin12 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -36,4 +36,4 @@ var Plugin40 = define({
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
export { identity2,
|
|
39
|
+
export { identity2, Plugin12, exports_identity };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./aisdk-native-
|
|
4
|
+
} from "./aisdk-native-kb2qx9e9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./aisdk-native-
|
|
6
|
+
Event19,
|
|
7
|
+
Service72,
|
|
8
|
+
node75
|
|
9
|
+
} from "./aisdk-native-m83dfgrj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./aisdk-native-
|
|
11
|
+
Service41,
|
|
12
|
+
node44
|
|
13
|
+
} from "./aisdk-native-74v01gcw.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
16
|
} from "./aisdk-native-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./aisdk-native-
|
|
18
|
+
Service78,
|
|
19
|
+
node82
|
|
20
|
+
} from "./aisdk-native-bn8xvxc9.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./aisdk-native-
|
|
23
|
+
} from "./aisdk-native-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./aisdk-native-
|
|
26
|
+
} from "./aisdk-native-344v8r7k.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./aisdk-native-
|
|
30
|
+
} from "./aisdk-native-tz3y59f8.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
33
|
} from "./aisdk-native-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./aisdk-native-
|
|
35
|
+
Service42,
|
|
36
|
+
Event8,
|
|
37
|
+
node45
|
|
38
|
+
} from "./aisdk-native-szxaz7kb.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
41
|
} from "./aisdk-native-9rqn6x4v.js";
|
|
@@ -44,13 +44,13 @@ import {
|
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options5,
|
|
48
|
+
Service: () => Service40,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured5,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer16,
|
|
53
|
+
node: () => node43,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options5 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service40 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service40, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service78;
|
|
97
|
+
const watcher = yield* Service41;
|
|
98
98
|
const bus = yield* Service81;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service72;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service42;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer21 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event8.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer21 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service40.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer21 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured5(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service40,
|
|
268
|
+
layer: layer16(options),
|
|
269
|
+
deps: [node44, node85, FSUtil.node, Global.node, node82, node75, node45]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node43 = configured5();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options5, Service40, Test2, testLayer2, layer16, configured5, node43, exports_config };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./aisdk-native-
|
|
4
|
+
} from "./aisdk-native-nntat7jz.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
8
|
} from "./aisdk-native-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./aisdk-native-
|
|
11
|
+
} from "./aisdk-native-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./aisdk-native-9rqn6x4v.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./aisdk-native-
|
|
4
|
+
} from "./aisdk-native-kb2qx9e9.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
7
|
} from "./aisdk-native-rdw6cm16.js";
|
|
@@ -10,24 +10,24 @@ import {
|
|
|
10
10
|
} from "./aisdk-native-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event9,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info18,
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Service: () => Service49,
|
|
21
|
+
layer: () => layer20,
|
|
22
|
+
node: () => node51
|
|
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 Event9 } from "@opencode/schema/command";
|
|
28
|
+
var Info18 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service49 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer20 = Layer.effect(Service49, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service81;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer16 = Layer.effect(Service38, 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) => Info18.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service49.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer16 = Layer.effect(Service38, 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 NotFoundError7({ 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:
|
|
74
|
+
var node51 = makeLocationNode({
|
|
75
|
+
service: Service49,
|
|
76
|
+
layer: layer20,
|
|
77
77
|
deps: [node85]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info18, NotFoundError7, ExecutionError2, Service49, layer20, node51, exports_command5, Event9 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./aisdk-native-
|
|
4
|
+
} from "./aisdk-native-nntat7jz.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service81,
|
|
8
8
|
node85
|
|
9
|
-
} from "./aisdk-native-
|
|
9
|
+
} from "./aisdk-native-kb2qx9e9.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
12
|
} from "./aisdk-native-ec1grn59.js";
|
|
@@ -33,16 +33,16 @@ import {
|
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./aisdk-native-
|
|
36
|
+
} from "./aisdk-native-pp8ahakx.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./aisdk-native-
|
|
42
|
+
} from "./aisdk-native-vkxpz7g2.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./aisdk-native-
|
|
45
|
+
} from "./aisdk-native-82wqn8fy.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
48
|
} from "./aisdk-native-gebd4c9n.js";
|
|
@@ -55,7 +55,7 @@ var exports_projector = {};
|
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node27
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -458,6 +458,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
458
458
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
459
459
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
460
460
|
}));
|
|
461
|
-
var
|
|
461
|
+
var node27 = makeGlobalNode({ name: "session-projector", layer, deps: [node85, node86] });
|
|
462
462
|
|
|
463
|
-
export { SessionAlreadyProjected2,
|
|
463
|
+
export { SessionAlreadyProjected2, node27, exports_projector };
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service34,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node37
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -359,11 +359,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
|
|
|
359
359
|
}, { discard: true });
|
|
360
360
|
});
|
|
361
361
|
yield* Effect.addFinalizer(() => closeAll);
|
|
362
|
-
return
|
|
362
|
+
return Service34.of({ bind, close, closeAll });
|
|
363
363
|
}));
|
|
364
364
|
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
365
365
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
366
366
|
})));
|
|
367
|
-
var
|
|
367
|
+
var node37 = makeGlobalNode({ service: Service34, layer: layer15, deps: [webSocketConstructor2] });
|
|
368
368
|
|
|
369
|
-
export {
|
|
369
|
+
export { Service34, makeLayer2, layer15, node37, exports_model_transport };
|