@opencode/core 0.0.0-dev-329 → 0.0.0-dev-347
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 +76 -76
- package/dist/aisdk-native.js +80 -80
- package/dist/aisdk.js +85 -85
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/chunks/{websearch-1sqct66f.js → websearch-0a1545br.js} +15 -15
- package/dist/chunks/{websearch-ntn1kyat.js → websearch-0d5hegjd.js} +12 -12
- package/dist/chunks/{websearch-exxbh7hn.js → websearch-1744f6td.js} +34 -34
- package/dist/chunks/{websearch-n7bnkb3p.js → websearch-18g90bpv.js} +7 -7
- package/dist/chunks/{websearch-xesqy162.js → websearch-1jah5r1w.js} +22 -22
- package/dist/chunks/{websearch-fcy5scan.js → websearch-1mhmnhef.js} +27 -27
- package/dist/chunks/{websearch-xt0z8zst.js → websearch-1sv9drr7.js} +3 -3
- package/dist/chunks/{websearch-xntjjzbv.js → websearch-1xebvtks.js} +32 -32
- package/dist/chunks/{websearch-v63ad6sj.js → websearch-1zh3k433.js} +12 -12
- package/dist/chunks/{websearch-5sev5bhn.js → websearch-258pzyq1.js} +29 -29
- package/dist/chunks/{websearch-c8fek3cb.js → websearch-2e3wrzp6.js} +11 -11
- package/dist/chunks/{websearch-fhv2xxmr.js → websearch-2g9v0ep3.js} +4 -4
- package/dist/chunks/{websearch-5erp7w2j.js → websearch-2hv59m0q.js} +12 -12
- package/dist/chunks/{websearch-s7kyse9r.js → websearch-2kg89srt.js} +3 -3
- package/dist/chunks/{websearch-vgjkn7gb.js → websearch-2mbz52qm.js} +22 -22
- package/dist/chunks/{websearch-cm79raxa.js → websearch-30ep2pbx.js} +6 -6
- package/dist/chunks/{websearch-anjzen6g.js → websearch-3297hep7.js} +79 -79
- package/dist/chunks/{websearch-jqbem4ax.js → websearch-36kks1a9.js} +30 -30
- package/dist/chunks/{websearch-agqd6nxz.js → websearch-36qx82yz.js} +1 -1
- package/dist/chunks/{websearch-ha7h766f.js → websearch-37mjzwdy.js} +28 -28
- package/dist/chunks/{websearch-eps2nw42.js → websearch-3jrs2g26.js} +23 -23
- package/dist/chunks/{websearch-c1d6cwky.js → websearch-4btqn7nq.js} +17 -17
- package/dist/chunks/{websearch-f370vvdy.js → websearch-4c3f10kp.js} +16 -16
- package/dist/chunks/{websearch-n5da3r9v.js → websearch-4rwevfy6.js} +8 -8
- package/dist/chunks/{websearch-k9xqezxa.js → websearch-4tysrmyz.js} +31 -31
- package/dist/chunks/{websearch-j6ca1eyx.js → websearch-4vyx508x.js} +15 -15
- package/dist/chunks/{websearch-t0v7rh8b.js → websearch-4ykwxwmw.js} +7 -7
- package/dist/chunks/{websearch-y82rcgeg.js → websearch-50yqpbf8.js} +7 -7
- package/dist/chunks/{websearch-1kx98qvq.js → websearch-56wb752r.js} +1 -1
- package/dist/chunks/{websearch-rd77kc48.js → websearch-5hqe3abq.js} +16 -16
- package/dist/chunks/{websearch-7ftfgktx.js → websearch-62bzxby4.js} +16 -16
- package/dist/chunks/{websearch-6te9kxba.js → websearch-62x64pn3.js} +7 -7
- package/dist/chunks/{websearch-8ga40a6a.js → websearch-69vr3bmr.js} +4 -4
- package/dist/chunks/{websearch-hvthv3an.js → websearch-6gv6f0wn.js} +11 -11
- package/dist/chunks/{websearch-ztfj0krh.js → websearch-6pcpjwd2.js} +47 -47
- package/dist/chunks/{websearch-a6t7wj3k.js → websearch-6r36sxsh.js} +62 -62
- package/dist/chunks/{websearch-hpss8xr5.js → websearch-6s5sfkb1.js} +11 -11
- package/dist/chunks/{websearch-ja63h2sr.js → websearch-6xqtcmxs.js} +3 -3
- package/dist/chunks/{websearch-3dgyr4ab.js → websearch-6zmkapgs.js} +19 -19
- package/dist/chunks/{websearch-axsvjzs7.js → websearch-7122eme9.js} +4 -4
- package/dist/chunks/{websearch-cb0vw9jn.js → websearch-7272xw9j.js} +10 -10
- package/dist/chunks/{websearch-w8qtt4th.js → websearch-76cb1hcw.js} +3 -3
- package/dist/chunks/{websearch-rxqyg3qh.js → websearch-7s6vzadc.js} +12 -12
- package/dist/chunks/{websearch-js8kstzt.js → websearch-7syz3ngq.js} +4 -4
- package/dist/chunks/{websearch-es257x3q.js → websearch-7zjy6p28.js} +4 -4
- package/dist/chunks/{websearch-bkpt1p78.js → websearch-8ewha5k5.js} +6 -6
- package/dist/chunks/{websearch-pxv94apm.js → websearch-8pp51b76.js} +19 -19
- package/dist/chunks/{websearch-d529wksv.js → websearch-8q5tw4pq.js} +16 -16
- package/dist/chunks/{websearch-kv38zb04.js → websearch-8szb6ytp.js} +13 -13
- package/dist/chunks/{websearch-wf9zfwe6.js → websearch-8w3p2e92.js} +5 -5
- package/dist/chunks/{websearch-9z9tayqc.js → websearch-8yhc7zrg.js} +7 -7
- package/dist/chunks/{websearch-3bna4jcr.js → websearch-8zj8ha8v.js} +19 -19
- package/dist/chunks/{websearch-8v45rwxr.js → websearch-9makc5xg.js} +3 -3
- package/dist/chunks/{websearch-4qvxhqjk.js → websearch-9qmt3rfg.js} +31 -31
- package/dist/chunks/{websearch-557537gg.js → websearch-9w4n3zkz.js} +4 -4
- package/dist/chunks/{websearch-t0hjt5vr.js → websearch-9wwm5t2q.js} +51 -51
- package/dist/chunks/{websearch-67zhfnr5.js → websearch-9zwexsxs.js} +3 -3
- package/dist/chunks/websearch-a56ph40a.js +257 -0
- package/dist/chunks/{websearch-sdnx44eq.js → websearch-a6b0z51k.js} +10 -10
- package/dist/chunks/{websearch-0bbqvs7k.js → websearch-acbdersv.js} +6 -6
- package/dist/chunks/{websearch-t3gc9rvy.js → websearch-av8m10vw.js} +1 -1
- package/dist/chunks/{websearch-y4da5gg3.js → websearch-b321k266.js} +17 -17
- package/dist/chunks/{websearch-v3xbvhj5.js → websearch-b3efsrjf.js} +15 -15
- package/dist/chunks/{websearch-sem18y2v.js → websearch-b6bdjtfv.js} +25 -25
- package/dist/chunks/{websearch-3wke5hmt.js → websearch-brtbsxkn.js} +8 -8
- package/dist/chunks/{websearch-4ajbjkvh.js → websearch-bsvx5x0h.js} +25 -25
- package/dist/chunks/{websearch-fd89c18j.js → websearch-bw5vtrk1.js} +6 -6
- package/dist/chunks/{websearch-qh2mmm7f.js → websearch-bznf86r0.js} +9 -9
- package/dist/chunks/{websearch-z8ctesq9.js → websearch-c1hc347y.js} +13 -13
- package/dist/chunks/{websearch-sz4f9hgk.js → websearch-c487mvhm.js} +22 -22
- package/dist/chunks/{websearch-3ryz99p0.js → websearch-c6x7d2ts.js} +3 -3
- package/dist/chunks/{websearch-n938yph4.js → websearch-cge737e2.js} +12 -12
- package/dist/chunks/{websearch-mvkxka7a.js → websearch-cjcv1c2q.js} +21 -21
- package/dist/chunks/{websearch-r408tz4r.js → websearch-cky1f1hf.js} +6 -6
- package/dist/chunks/{websearch-decdgbhs.js → websearch-cs73swbh.js} +12 -12
- package/dist/chunks/{websearch-rwabqwx1.js → websearch-czdwf92p.js} +5 -5
- package/dist/chunks/{websearch-esezyxfc.js → websearch-d390zwf3.js} +6 -6
- package/dist/chunks/{websearch-w7p07vyz.js → websearch-d95zdptj.js} +14 -14
- package/dist/chunks/{websearch-cet60sqk.js → websearch-d9z3nv43.js} +14 -14
- package/dist/chunks/{websearch-69nf9nav.js → websearch-drkqmshe.js} +9 -9
- package/dist/chunks/{websearch-qkvepbme.js → websearch-ds0b2y1d.js} +1 -1
- package/dist/chunks/{websearch-hctaejxs.js → websearch-e13g5x1s.js} +31 -31
- package/dist/chunks/{websearch-s40bz38f.js → websearch-e6rp29s1.js} +10 -10
- package/dist/chunks/{websearch-h91vt6m9.js → websearch-ec44vae2.js} +15 -15
- package/dist/chunks/{websearch-6mbr58x5.js → websearch-egrgm9sa.js} +25 -25
- package/dist/chunks/{websearch-tmdtawbd.js → websearch-ehrznf92.js} +28 -28
- package/dist/chunks/{websearch-s0s8b06r.js → websearch-ekzyfxqt.js} +25 -25
- package/dist/chunks/{websearch-k30agw6x.js → websearch-empp5hj9.js} +8 -8
- package/dist/chunks/{websearch-wjr22wj6.js → websearch-enf14z1b.js} +12 -12
- package/dist/chunks/{websearch-x7anyec9.js → websearch-exphrrdn.js} +16 -16
- package/dist/chunks/{websearch-7mzp1cgs.js → websearch-exva2tav.js} +21 -21
- package/dist/chunks/{websearch-8cpz5p5s.js → websearch-ezzzm5zy.js} +16 -16
- package/dist/chunks/{websearch-ry7kp2db.js → websearch-f82w0nba.js} +7 -7
- package/dist/chunks/{websearch-b5wswbrm.js → websearch-f8dx2cf3.js} +47 -47
- package/dist/chunks/{websearch-5bmv79gs.js → websearch-f8fw5j2t.js} +7 -7
- package/dist/chunks/{websearch-2112fxgf.js → websearch-f993y56a.js} +16 -16
- package/dist/chunks/{websearch-mnnh7rc9.js → websearch-fbte303t.js} +9 -9
- package/dist/chunks/{websearch-bj44k2p3.js → websearch-fcectc13.js} +9 -9
- package/dist/chunks/{websearch-j8ry5sc9.js → websearch-fe0367ah.js} +1 -1
- package/dist/chunks/{websearch-prq7xxp2.js → websearch-fg9p65nk.js} +4 -4
- package/dist/chunks/{websearch-81jqhtn8.js → websearch-fh43p91r.js} +9 -9
- package/dist/chunks/{websearch-kxrajph7.js → websearch-fmq1bg7t.js} +4 -4
- package/dist/chunks/{websearch-w49gf5e8.js → websearch-fnxqcwgf.js} +25 -25
- package/dist/chunks/{websearch-01yye9f2.js → websearch-fwgdphtq.js} +7 -7
- package/dist/chunks/{websearch-jpb38nt4.js → websearch-g3ga6tc0.js} +39 -39
- package/dist/chunks/{websearch-51yd88re.js → websearch-g5nbtb8n.js} +17 -17
- package/dist/chunks/{websearch-wvq4p2vf.js → websearch-gchhttn1.js} +6 -6
- package/dist/chunks/{websearch-350e7jny.js → websearch-gctfr74j.js} +14 -5
- package/dist/chunks/{websearch-nm8qr2s2.js → websearch-ged1tqgx.js} +24 -24
- package/dist/chunks/{websearch-16jyx16v.js → websearch-gfs4qavg.js} +32 -32
- package/dist/chunks/{websearch-07hv0a2t.js → websearch-gsnsxgxa.js} +1 -1
- package/dist/chunks/{websearch-805824s0.js → websearch-gt3pr6x5.js} +5 -5
- package/dist/chunks/{websearch-6hmgmx3v.js → websearch-gz10z0zd.js} +34 -34
- package/dist/chunks/{websearch-8fmenyqq.js → websearch-h3qnzdea.js} +7 -7
- package/dist/chunks/{websearch-eahpwh8e.js → websearch-hab39cq4.js} +1 -1
- package/dist/chunks/{websearch-cqx7qe96.js → websearch-hds8qycc.js} +9 -9
- package/dist/chunks/{websearch-37mgh8mf.js → websearch-hfcnjb1t.js} +1 -1
- package/dist/chunks/{websearch-m0w8gjtc.js → websearch-htrj6v80.js} +8 -8
- package/dist/chunks/{websearch-tg1vr1qt.js → websearch-hy8c1z76.js} +7 -7
- package/dist/chunks/{websearch-xbav9adg.js → websearch-hyqx2d6z.js} +5 -5
- package/dist/chunks/{websearch-sp56nfnr.js → websearch-j0yxxg4y.js} +1 -1
- package/dist/chunks/{websearch-r37dw65n.js → websearch-j8563ys9.js} +19 -19
- package/dist/chunks/{websearch-5k5xv22h.js → websearch-jacqe95j.js} +15 -15
- package/dist/chunks/{websearch-8mdse5a9.js → websearch-jd21qj1c.js} +12 -12
- package/dist/chunks/{websearch-4q6zxb9x.js → websearch-jeswnbmw.js} +2 -2
- package/dist/chunks/{websearch-4gp4a51g.js → websearch-jsvw9ebe.js} +2 -2
- package/dist/chunks/{websearch-b4dtgbj0.js → websearch-jt8g3tk4.js} +17 -17
- package/dist/chunks/{websearch-4s0ej1qc.js → websearch-jvb6mem3.js} +329 -329
- package/dist/chunks/{websearch-12xf7z1p.js → websearch-k0093evt.js} +22 -22
- package/dist/chunks/{websearch-afky2m1r.js → websearch-k39t0d7s.js} +9 -9
- package/dist/chunks/websearch-k8s5a6jv.js +72 -0
- package/dist/chunks/{websearch-547arde1.js → websearch-kbz2ftjv.js} +19 -19
- package/dist/chunks/{websearch-yf89mf0m.js → websearch-kd1drhzr.js} +17 -17
- package/dist/chunks/{websearch-yqvckjfp.js → websearch-kdhdtnfh.js} +25 -25
- package/dist/chunks/{websearch-a7acfpr0.js → websearch-kfyqh9ry.js} +2 -2
- package/dist/chunks/{websearch-6xtjqz2m.js → websearch-kh0hrg97.js} +3 -3
- package/dist/chunks/{websearch-sjjzadcb.js → websearch-ksbb71ed.js} +23 -23
- package/dist/chunks/{websearch-yy556f5x.js → websearch-kw50g2ba.js} +7 -7
- package/dist/chunks/{websearch-afwz5ca7.js → websearch-kyb052mw.js} +21 -21
- package/dist/chunks/{websearch-ayazxppv.js → websearch-m0ny4438.js} +1 -1
- package/dist/chunks/{websearch-2yspc50g.js → websearch-m144b9ym.js} +8 -8
- package/dist/chunks/{websearch-bze7nnp8.js → websearch-m91bkzpp.js} +4 -4
- package/dist/chunks/{websearch-b394e4sz.js → websearch-md9bhnwm.js} +80 -80
- package/dist/chunks/{websearch-h5f52kj0.js → websearch-mg4v6ytb.js} +3 -3
- package/dist/chunks/{websearch-4vc00714.js → websearch-mgses094.js} +19 -19
- package/dist/chunks/{websearch-zbbm2e96.js → websearch-mmg8baec.js} +3 -3
- package/dist/chunks/{websearch-17b39pgx.js → websearch-mmtpgtte.js} +22 -22
- package/dist/chunks/websearch-mmzs51g0.js +16 -0
- package/dist/chunks/{websearch-c9t2ty9q.js → websearch-mtkfycnh.js} +3 -3
- package/dist/chunks/{websearch-xgg53m61.js → websearch-mvg96cvx.js} +16 -16
- package/dist/chunks/{websearch-33k02yxh.js → websearch-mvq9xm7y.js} +36 -36
- package/dist/chunks/{websearch-t391rd3g.js → websearch-mx8m8bkx.js} +13 -13
- package/dist/chunks/{websearch-gt9mjs97.js → websearch-my2774fb.js} +10 -10
- package/dist/chunks/{websearch-mctmh0ex.js → websearch-n4c66n2d.js} +7 -7
- package/dist/chunks/{websearch-0msqabxb.js → websearch-n76q4j73.js} +1 -1
- package/dist/chunks/{websearch-60qgg6x4.js → websearch-n9zpx1d9.js} +10 -10
- package/dist/chunks/{websearch-dwx6m9pn.js → websearch-nfvj419n.js} +12 -12
- package/dist/chunks/{websearch-01xb69ev.js → websearch-nxjb403m.js} +1 -1
- package/dist/chunks/{websearch-c00n6d2r.js → websearch-p108ft06.js} +5 -5
- package/dist/chunks/{websearch-9ak394t4.js → websearch-p50fwy42.js} +2 -2
- package/dist/chunks/{websearch-8kx0fqtv.js → websearch-p5mrvaxe.js} +12 -12
- package/dist/chunks/{websearch-4zs95934.js → websearch-p7v23fd6.js} +11 -11
- package/dist/chunks/{websearch-5zrxpy3q.js → websearch-p7vhpwh8.js} +4 -4
- package/dist/chunks/{websearch-cg7m4wmk.js → websearch-pdj5a256.js} +5 -5
- package/dist/chunks/{websearch-xzwjndvp.js → websearch-pprkn22s.js} +7 -7
- package/dist/chunks/{websearch-3qvqwrqv.js → websearch-psp8drt7.js} +15 -15
- package/dist/chunks/{websearch-dmp7nhr3.js → websearch-pww75gt3.js} +26 -26
- package/dist/chunks/{websearch-ennbv05t.js → websearch-py5t4m7x.js} +2 -2
- package/dist/chunks/{websearch-egqmg6zc.js → websearch-pzpg3tvr.js} +10 -10
- package/dist/chunks/{websearch-7cdnexkp.js → websearch-q0vnjhvr.js} +18 -18
- package/dist/chunks/{websearch-8rd378aw.js → websearch-q10wp2s4.js} +4 -4
- package/dist/chunks/{websearch-bbsqf6zc.js → websearch-q4wqpcrk.js} +10 -10
- package/dist/chunks/{websearch-s2tqrscs.js → websearch-q8akx5wk.js} +1 -1
- package/dist/chunks/{websearch-799bn6sb.js → websearch-qcqrs7ry.js} +34 -34
- package/dist/chunks/{websearch-d84g1cdm.js → websearch-qjmre3py.js} +165 -165
- package/dist/chunks/{websearch-y13v0twb.js → websearch-r2s7w9p5.js} +3 -3
- package/dist/chunks/{websearch-fj4pg97n.js → websearch-rcjebwgm.js} +10 -10
- package/dist/chunks/{websearch-1haf6n7w.js → websearch-rfyk3b1f.js} +24 -24
- package/dist/chunks/{websearch-cg0asdpn.js → websearch-rv51a27w.js} +22 -22
- package/dist/chunks/{websearch-v6e9b7k7.js → websearch-s32mnc71.js} +17 -17
- package/dist/chunks/{websearch-zcvfbtr9.js → websearch-s8xdrs61.js} +37 -37
- package/dist/chunks/{websearch-8tbnpqt6.js → websearch-sf35qzjn.js} +18 -18
- package/dist/chunks/{websearch-hhw78a7m.js → websearch-sx2sqvt0.js} +6 -6
- package/dist/chunks/{websearch-0rgnf04f.js → websearch-sxxdanmy.js} +2 -2
- package/dist/chunks/{websearch-q1gdkkzj.js → websearch-t0rcp7xm.js} +46 -46
- package/dist/chunks/{websearch-ch0dnrxm.js → websearch-t1d0z29h.js} +19 -19
- package/dist/chunks/{websearch-4n3gwhnp.js → websearch-t6pjtsxz.js} +14 -14
- package/dist/chunks/{websearch-6pf8eqtx.js → websearch-t7qszmqp.js} +15 -15
- package/dist/chunks/{websearch-sbegqkxp.js → websearch-tet0p4e8.js} +3 -3
- package/dist/chunks/{websearch-3d1y0g83.js → websearch-tkp4jwrt.js} +4 -4
- package/dist/chunks/{websearch-49xmed9t.js → websearch-tn13a12r.js} +13 -13
- package/dist/chunks/{websearch-qzmk9h6g.js → websearch-tp64pspc.js} +6 -6
- package/dist/chunks/{websearch-wem7v335.js → websearch-tva2fzy9.js} +42 -42
- package/dist/chunks/{websearch-evtwgc13.js → websearch-txp6vfxp.js} +2 -2
- package/dist/chunks/{websearch-a5sej8qd.js → websearch-tzmh93yh.js} +23 -23
- package/dist/chunks/{websearch-djm2v0tf.js → websearch-v09g80g2.js} +1 -1
- package/dist/chunks/{websearch-mk1833rf.js → websearch-v2c4z2sa.js} +3 -3
- package/dist/chunks/{websearch-8bt39hgz.js → websearch-v2yw559c.js} +16 -16
- package/dist/chunks/{websearch-18pwxxmr.js → websearch-v9jyvts1.js} +24 -19
- package/dist/chunks/{websearch-grzehpz7.js → websearch-vdh3rgac.js} +4 -4
- package/dist/chunks/{websearch-4tcdce07.js → websearch-vgy9d41n.js} +5 -5
- package/dist/chunks/{websearch-m37sd98t.js → websearch-vmfhgzt5.js} +3 -3
- package/dist/chunks/{websearch-2j78ayj4.js → websearch-vrxnc4gr.js} +13 -13
- package/dist/chunks/{websearch-1njm5cxv.js → websearch-vt2r04xq.js} +16 -16
- package/dist/chunks/{websearch-gynv5cx7.js → websearch-vtgxp655.js} +3 -3
- package/dist/chunks/{websearch-c0mz4e8v.js → websearch-vzd3k5nk.js} +31 -31
- package/dist/chunks/{websearch-xpvy2n9z.js → websearch-w21mrhhg.js} +45 -45
- package/dist/chunks/{websearch-kvvgry96.js → websearch-wc0z5452.js} +9 -9
- package/dist/chunks/{websearch-ckgb0pw7.js → websearch-wqhfsqr1.js} +27 -27
- package/dist/chunks/{websearch-601vjtp6.js → websearch-wrzdnxcv.js} +29 -29
- package/dist/chunks/{websearch-4wffjq55.js → websearch-wvejrbsh.js} +25 -25
- package/dist/chunks/{websearch-kcg78dnn.js → websearch-wwgpyqzb.js} +7 -7
- package/dist/chunks/{websearch-9tx8500w.js → websearch-x8mj7217.js} +24 -24
- package/dist/chunks/{websearch-pgwm13mx.js → websearch-x9maydxg.js} +27 -27
- package/dist/chunks/{websearch-zv5zc9gt.js → websearch-xchnjx2b.js} +40 -40
- package/dist/chunks/{websearch-ew7k5fkp.js → websearch-xfcf0hvp.js} +1 -1
- package/dist/chunks/{websearch-95sp4hdf.js → websearch-xk2zn0cv.js} +3 -3
- package/dist/chunks/{websearch-54wn9wg4.js → websearch-xmeeqggk.js} +12 -12
- package/dist/chunks/{websearch-mam69wf9.js → websearch-xxh0nct8.js} +8 -8
- package/dist/chunks/{websearch-gda836e9.js → websearch-y0a3p9a2.js} +9 -9
- package/dist/chunks/{websearch-jv00a4x0.js → websearch-y90yy0x4.js} +9 -9
- package/dist/chunks/{websearch-h22vpgky.js → websearch-yf5tjpcf.js} +23 -23
- package/dist/chunks/{websearch-8r4pvnw6.js → websearch-yjzqpyxh.js} +27 -27
- package/dist/chunks/{websearch-849yt6mx.js → websearch-ykwrz6sn.js} +7 -7
- package/dist/chunks/{websearch-122fevtz.js → websearch-yn48mmd2.js} +13 -13
- package/dist/chunks/{websearch-mn9ce29r.js → websearch-yr6j2xwe.js} +4 -4
- package/dist/chunks/{websearch-zfyb5tr4.js → websearch-yydqqga9.js} +3 -3
- package/dist/chunks/{websearch-mnapyyeq.js → websearch-z2zjxvjz.js} +7 -7
- package/dist/chunks/{websearch-2f7b0gsd.js → websearch-z32r2mg8.js} +20 -20
- package/dist/chunks/{websearch-tznvtk94.js → websearch-z9bewzk6.js} +30 -30
- package/dist/chunks/{websearch-v256hjtv.js → websearch-zjehbzha.js} +15 -15
- package/dist/codemode/execution.js +8 -0
- package/dist/codemode/fetch.js +153 -0
- package/dist/codemode/instructions.js +6 -6
- package/dist/codemode/tool.js +118 -117
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +75 -75
- package/dist/config/integration.js +3 -3
- package/dist/config/normalize.js +89 -89
- package/dist/config/plugin/agent.js +101 -101
- package/dist/config/plugin/command.js +187 -186
- package/dist/config/plugin/compaction.js +132 -131
- package/dist/config/plugin/compatibility.js +116 -116
- package/dist/config/plugin/formatter.js +101 -101
- package/dist/config/plugin/image.js +101 -101
- package/dist/config/plugin/instruction.js +102 -102
- package/dist/config/plugin/location-watcher.js +101 -101
- package/dist/config/plugin/mcp.js +109 -109
- package/dist/config/plugin/policy.js +101 -101
- package/dist/config/plugin/provider.js +99 -99
- package/dist/config/plugin/reference.js +101 -101
- package/dist/config/plugin/shell.js +101 -101
- package/dist/config/plugin/skill-file.js +113 -113
- package/dist/config/plugin/skill.js +117 -117
- package/dist/config/plugin/snapshot.js +101 -101
- package/dist/config/plugin/source.js +102 -102
- package/dist/config/plugin/tool-output.js +101 -101
- package/dist/config/plugin/websearch.js +100 -100
- package/dist/config/plugin/worktree.js +102 -102
- package/dist/config.js +107 -107
- package/dist/credential.js +79 -79
- package/dist/database/database.js +67 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +8 -8
- package/dist/database/drizzle/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
- package/dist/database/drizzle.js +10 -10
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/v1-migration.bun.js +23 -23
- package/dist/effect/app-node-builder.js +238 -237
- package/dist/environment/environment.js +81 -81
- package/dist/environment/index.js +83 -83
- package/dist/event-logger.js +11 -11
- package/dist/file-access.js +124 -124
- package/dist/file-mutation.js +82 -82
- package/dist/filesystem/file-watch.js +16 -16
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +200 -199
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +86 -86
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +89 -89
- package/dist/form.js +79 -79
- package/dist/formatter.js +78 -78
- package/dist/generate.js +96 -96
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +5 -5
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +82 -82
- package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +2 -2
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +319 -318
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +78 -78
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +74 -74
- package/dist/kv.js +70 -70
- package/dist/location-activity.js +72 -72
- package/dist/location-lifecycle.js +118 -118
- package/dist/location-service-map.js +77 -77
- package/dist/location-services.js +320 -319
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +93 -93
- package/dist/mcp/instructions.js +147 -146
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/stdio.js +78 -78
- package/dist/modal/models.js +82 -82
- package/dist/model-resolver.js +89 -89
- package/dist/model.js +83 -83
- package/dist/models-dev.js +91 -91
- package/dist/permission/saved.js +74 -74
- package/dist/permission.js +121 -121
- package/dist/persistent-pty/index.js +75 -75
- package/dist/persistent-pty.js +69 -69
- package/dist/plugin/agent.js +71 -71
- package/dist/plugin/command.js +88 -88
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +193 -192
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +301 -300
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +86 -86
- package/dist/plugin/module.js +98 -98
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +114 -114
- package/dist/plugin/provider/amazon-bedrock.js +82 -82
- package/dist/plugin/provider/azure.js +100 -100
- package/dist/plugin/provider/chatgpt.js +100 -100
- package/dist/plugin/provider/cloudflare-ai-gateway.js +100 -100
- package/dist/plugin/provider/cloudflare-workers-ai.js +100 -100
- package/dist/plugin/provider/configured.js +98 -98
- package/dist/plugin/provider/credential-settings.js +70 -70
- package/dist/plugin/provider/digitalocean.js +83 -83
- package/dist/plugin/provider/github-copilot.js +85 -85
- package/dist/plugin/provider/gitlab.js +84 -84
- package/dist/plugin/provider/google-vertex.js +99 -99
- package/dist/plugin/provider/llmgateway.js +74 -74
- package/dist/plugin/provider/lmstudio.js +110 -110
- package/dist/plugin/provider/local.js +107 -107
- package/dist/plugin/provider/modal.js +83 -83
- package/dist/plugin/provider/ollama.js +108 -108
- package/dist/plugin/provider/openai-context-caps.js +81 -81
- package/dist/plugin/provider/openai.js +100 -100
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +82 -82
- package/dist/plugin/provider/poe.js +74 -74
- package/dist/plugin/provider/sap-ai-core.js +81 -81
- package/dist/plugin/provider/snowflake-cortex.js +100 -100
- package/dist/plugin/provider/vllm.js +110 -110
- package/dist/plugin/provider/xai.js +82 -82
- package/dist/plugin/provider.js +143 -143
- package/dist/plugin/sdk.js +71 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +115 -115
- package/dist/plugin/supervisor.js +306 -305
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/vcs/git.js +75 -75
- package/dist/plugin/vcs/hg.js +75 -75
- package/dist/plugin/verbosity.js +84 -84
- package/dist/plugin/warming.js +100 -100
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +7 -7
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +203 -202
- package/dist/project/schema.js +7 -7
- package/dist/project.js +81 -81
- package/dist/provider.js +82 -82
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +81 -81
- package/dist/reference.js +83 -83
- package/dist/repository-cache.js +74 -74
- package/dist/ripgrep.js +84 -84
- package/dist/rpc.js +73 -73
- package/dist/schedule/check.js +197 -196
- package/dist/schedule.js +208 -207
- package/dist/session/blob.js +99 -99
- package/dist/session/command.js +71 -71
- package/dist/session/compaction.js +129 -128
- package/dist/session/context.js +161 -160
- package/dist/session/diff.js +77 -77
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +120 -119
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +163 -162
- package/dist/session/history.js +105 -105
- package/dist/session/inbox.js +114 -114
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +3 -3
- package/dist/session/instructions.js +106 -106
- package/dist/session/model-request.js +131 -130
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +111 -111
- package/dist/session/prompt.js +116 -116
- package/dist/session/revert.js +108 -108
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/llm.js +203 -202
- package/dist/session/runner/model.js +90 -90
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/step.js +125 -124
- package/dist/session/runner/to-llm-message.js +106 -106
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +144 -144
- package/dist/session/shell.js +114 -114
- package/dist/session/skill.js +115 -115
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +111 -111
- package/dist/session/stored.js +3 -3
- package/dist/session/subagent-job.js +188 -187
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +162 -161
- package/dist/session/to-session-error.js +115 -115
- package/dist/session/transfer.js +122 -121
- package/dist/session.js +198 -197
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +117 -117
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +119 -119
- package/dist/skill.js +120 -120
- package/dist/snapshot.js +82 -82
- package/dist/tool/mcp.js +144 -143
- package/dist/tool/plugin/edit.js +129 -129
- package/dist/tool/plugin/glob.js +136 -136
- package/dist/tool/plugin/grep.js +130 -130
- package/dist/tool/plugin/image-generate.js +194 -193
- package/dist/tool/plugin/mcp-resource.js +130 -130
- package/dist/tool/plugin/opencode.js +129 -129
- package/dist/tool/plugin/patch.js +131 -131
- package/dist/tool/plugin/question.js +112 -112
- package/dist/tool/plugin/read.js +137 -137
- package/dist/tool/plugin/schedule.js +201 -200
- package/dist/tool/plugin/shell.js +192 -191
- package/dist/tool/plugin/skill.js +123 -123
- package/dist/tool/plugin/subagent.js +195 -194
- package/dist/tool/plugin/todo.js +120 -120
- package/dist/tool/plugin/webfetch.js +122 -122
- package/dist/tool/plugin/websearch.js +121 -121
- package/dist/tool/plugin/write.js +131 -131
- package/dist/tool/read-filesystem.js +89 -89
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +124 -123
- package/dist/types/codemode/execution.d.ts +7 -0
- package/dist/types/codemode/{web.d.ts → fetch.d.ts} +6 -3
- package/dist/types/codemode/tool.d.ts +2 -1
- package/dist/usage-limits.js +84 -84
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +82 -82
- 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/variant.js +82 -82
- package/dist/vcs.js +74 -74
- package/dist/voice.js +84 -84
- package/dist/websearch.js +76 -76
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace.js +78 -78
- package/dist/worktree/git.js +4 -4
- package/dist/worktree/strategies.js +79 -79
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/websearch-7q6zqx37.js +0 -257
- package/dist/chunks/websearch-jfaecv01.js +0 -50
- package/dist/codemode/web.js +0 -10
- /package/dist/chunks/{websearch-wxvzs469.js → websearch-4dmxtz72.js} +0 -0
- /package/dist/chunks/{websearch-766y91jf.js → websearch-e006kk43.js} +0 -0
- /package/dist/chunks/{websearch-cak2hj2r.js → websearch-j990qqn4.js} +0 -0
- /package/dist/chunks/{websearch-r2jew814.js → websearch-r4yqrmdq.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service88,
|
|
3
3
|
node91
|
|
4
|
-
} from "./websearch-
|
|
4
|
+
} from "./websearch-m144b9ym.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service87,
|
|
7
7
|
node90
|
|
8
|
-
} from "./websearch-
|
|
8
|
+
} from "./websearch-wc0z5452.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
11
|
} from "./websearch-pknna89w.js";
|
|
@@ -20,15 +20,15 @@ import {
|
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID18,
|
|
26
|
+
Info: () => Info30,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service85,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node88
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,26 +37,26 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID18 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
|
-
var
|
|
45
|
+
var Event19 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID18,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service85 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const db = (yield*
|
|
59
|
-
const bus = yield*
|
|
57
|
+
var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
58
|
+
const db = (yield* Service88).db;
|
|
59
|
+
const bus = yield* Service87;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
61
61
|
const scope = yield* Effect.scope;
|
|
62
62
|
const pending = new Map;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info30({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
75
75
|
const credential = stored(row);
|
|
76
76
|
return credential ? [credential] : [];
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service85.of({
|
|
79
79
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
80
80
|
const current = pending.get(id);
|
|
81
81
|
if (current)
|
|
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
91
91
|
return row ? stored(row) : undefined;
|
|
92
92
|
}),
|
|
93
93
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
94
|
-
const credential = new
|
|
95
|
-
id: input.id ??
|
|
94
|
+
const credential = new Info30({
|
|
95
|
+
id: input.id ?? ID18.create(),
|
|
96
96
|
integrationID: input.integrationID,
|
|
97
97
|
label: input.label ?? "default",
|
|
98
98
|
value: input.value
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
123
123
|
type: credential.value.type,
|
|
124
124
|
active: activated
|
|
125
125
|
});
|
|
126
|
-
yield* bus.publish(
|
|
126
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
127
127
|
if (activated)
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
129
129
|
return credential;
|
|
130
130
|
}),
|
|
131
131
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
145
145
|
})), Effect.orDie);
|
|
146
146
|
if (integrationID) {
|
|
147
147
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
148
|
-
yield* bus.publish(
|
|
148
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
149
149
|
}
|
|
150
150
|
}),
|
|
151
151
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
177
177
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
178
178
|
});
|
|
179
179
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
180
|
-
yield* bus.publish(
|
|
180
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
181
181
|
}),
|
|
182
182
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
183
183
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
210
210
|
active: removed.switched,
|
|
211
211
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
212
212
|
});
|
|
213
|
-
yield* bus.publish(
|
|
213
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
214
214
|
if (removed.switched)
|
|
215
|
-
yield* bus.publish(
|
|
215
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
216
216
|
})
|
|
217
217
|
});
|
|
218
218
|
}));
|
|
219
|
-
var
|
|
219
|
+
var node88 = makeGlobalNode({ service: Service85, layer, deps: [node91, node90, EffectFlock.node] });
|
|
220
220
|
|
|
221
|
-
export {
|
|
221
|
+
export { ID18, OAuth3, Key4, External2, Value2, Event19, Info30, Service85, node88, exports_credential };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
requestExecutor2
|
|
3
3
|
} from "./websearch-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./websearch-
|
|
5
|
+
ID17,
|
|
6
|
+
Service84,
|
|
7
|
+
node87
|
|
8
|
+
} from "./websearch-37mjzwdy.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
11
|
} from "./websearch-9rqn6x4v.js";
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
|
-
InvalidRequestError: () =>
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
16
|
+
InvalidRequestError: () => InvalidRequestError3,
|
|
17
|
+
Service: () => Service75,
|
|
18
|
+
UnavailableError: () => UnavailableError5,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer24,
|
|
21
|
+
node: () => node77
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -26,23 +26,23 @@ import {
|
|
|
26
26
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
27
27
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
28
28
|
import { Context, Effect, Layer, Redacted, Schema } from "effect";
|
|
29
|
-
class
|
|
29
|
+
class InvalidRequestError3 extends Schema.TaggedError()("Voice.InvalidRequestError", {
|
|
30
30
|
message: Schema.String
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError5 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service75 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer24 = Layer.effect(Service75, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
45
|
-
const findConnection = (provider, methods = ["key"]) => integrations.get(
|
|
44
|
+
const integrations = yield* Service84;
|
|
45
|
+
const findConnection = (provider, methods = ["key"]) => integrations.get(ID17.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
48
48
|
if (connection)
|
|
@@ -65,12 +65,12 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
65
65
|
const session = Effect.fn("Voice.session")(function* (input) {
|
|
66
66
|
const engine = Realtime.engine(input.model);
|
|
67
67
|
if (!engine)
|
|
68
|
-
return yield* new
|
|
68
|
+
return yield* new InvalidRequestError3({ message: `Unsupported voice model: ${input.model}` });
|
|
69
69
|
const found = yield* source(engine);
|
|
70
|
-
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new
|
|
70
|
+
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError5({ service: found.provider, message: error.message }))) : undefined;
|
|
71
71
|
const access = found && credential && sessionAccess(found.provider, credential);
|
|
72
72
|
if (found === undefined || access === undefined)
|
|
73
|
-
return yield* new
|
|
73
|
+
return yield* new UnavailableError5({
|
|
74
74
|
service: engine.provider,
|
|
75
75
|
message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
|
|
76
76
|
});
|
|
@@ -79,14 +79,14 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
79
79
|
session: input.session,
|
|
80
80
|
transport: input.transport,
|
|
81
81
|
...access
|
|
82
|
-
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new
|
|
82
|
+
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError3({ message: error.message }) : new UnavailableError5({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service75.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
88
|
-
layer:
|
|
89
|
-
deps: [
|
|
86
|
+
var node77 = makeLocationNode({
|
|
87
|
+
service: Service75,
|
|
88
|
+
layer: layer24,
|
|
89
|
+
deps: [node87, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
92
92
|
var sessionAccess = (provider, credential) => {
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { InvalidRequestError3, UnavailableError5, Service75, layer24, node77, exports_voice };
|
|
@@ -9,23 +9,23 @@ import {
|
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event17,
|
|
13
|
+
ID: () => ID16,
|
|
14
|
+
Info: () => Info27,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID16 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info27 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event17 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID16, Current3, Info27, UpdateInput4, Event17, Vcs3, exports_schema };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service88,
|
|
3
3
|
node91
|
|
4
|
-
} from "./websearch-
|
|
4
|
+
} from "./websearch-m144b9ym.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
7
|
+
Service87,
|
|
8
8
|
node90
|
|
9
|
-
} from "./websearch-
|
|
9
|
+
} from "./websearch-wc0z5452.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
12
|
} from "./websearch-p015t6z3.js";
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
} from "./websearch-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./websearch-
|
|
18
|
+
} from "./websearch-vgy9d41n.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./websearch-
|
|
20
|
+
Service53,
|
|
21
|
+
node54
|
|
22
|
+
} from "./websearch-0d5hegjd.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./websearch-
|
|
24
|
+
Service26,
|
|
25
|
+
node29
|
|
26
|
+
} from "./websearch-3297hep7.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service11,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
41
|
layer: () => layer7,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node13
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service11 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,12 +72,12 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var layer7 = Layer.effect(
|
|
76
|
-
const bus = yield*
|
|
75
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
76
|
+
const bus = yield* Service87;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
80
|
-
const db = (yield*
|
|
78
|
+
const context = yield* Service26;
|
|
79
|
+
const store = yield* Service53;
|
|
80
|
+
const db = (yield* Service88).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
83
83
|
let failed = false;
|
|
@@ -160,12 +160,12 @@ Recent conversation:
|
|
|
160
160
|
title: truncate(title)
|
|
161
161
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
162
162
|
});
|
|
163
|
-
return
|
|
163
|
+
return Service11.of({ generate });
|
|
164
164
|
}));
|
|
165
|
-
var
|
|
166
|
-
service:
|
|
165
|
+
var node13 = makeLocationNode({
|
|
166
|
+
service: Service11,
|
|
167
167
|
layer: layer7,
|
|
168
|
-
deps: [node90, llmClient2,
|
|
168
|
+
deps: [node90, llmClient2, node29, node54, node91]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { Service11, isUntitled2, layer7, node13, exports_title };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./websearch-
|
|
2
|
+
Service81
|
|
3
|
+
} from "./websearch-exphrrdn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./websearch-
|
|
5
|
+
Service60
|
|
6
|
+
} from "./websearch-j8563ys9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service15,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./websearch-
|
|
11
|
+
} from "./websearch-2e3wrzp6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./websearch-
|
|
13
|
+
Service13
|
|
14
|
+
} from "./websearch-tn13a12r.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./websearch-
|
|
16
|
+
Service51
|
|
17
|
+
} from "./websearch-tva2fzy9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service18,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./websearch-
|
|
21
|
+
} from "./websearch-c487mvhm.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
24
|
} from "./websearch-6prwharc.js";
|
|
@@ -30,17 +30,17 @@ import {
|
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
33
|
+
Input: () => Input12,
|
|
34
34
|
Output: () => Output8,
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
35
|
+
Plugin: () => Plugin32,
|
|
36
|
+
name: () => name12
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name12 = "edit";
|
|
43
|
+
var Input12 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -190,20 +190,20 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin32 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service18;
|
|
197
|
+
const fileMutation = yield* Service15;
|
|
198
|
+
const environment = yield* Service60;
|
|
199
|
+
const formatter = yield* Service13;
|
|
200
|
+
const location = yield* Service81;
|
|
201
|
+
const permission = yield* Service51;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name12,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
206
|
+
input: Input12,
|
|
207
207
|
output: Output8,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
@@ -276,4 +276,4 @@ var Plugin29 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name12, Input12, Output8, Plugin32, exports_edit };
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
} from "./websearch-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./websearch-
|
|
6
|
+
} from "./websearch-62x64pn3.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
9
|
} from "./websearch-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service88,
|
|
12
12
|
node91
|
|
13
|
-
} from "./websearch-
|
|
13
|
+
} from "./websearch-m144b9ym.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service87,
|
|
16
16
|
node90
|
|
17
|
-
} from "./websearch-
|
|
17
|
+
} from "./websearch-wc0z5452.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
20
|
} from "./websearch-034tev2y.js";
|
|
@@ -22,23 +22,23 @@ import {
|
|
|
22
22
|
WorktreeTable2
|
|
23
23
|
} from "./websearch-ayjs7tqn.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./websearch-
|
|
25
|
+
ID15,
|
|
26
|
+
NotFoundError12
|
|
27
|
+
} from "./websearch-6pcpjwd2.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./websearch-
|
|
29
|
+
Ref4
|
|
30
|
+
} from "./websearch-exphrrdn.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./websearch-
|
|
32
|
+
Service67,
|
|
33
|
+
node69
|
|
34
|
+
} from "./websearch-7272xw9j.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
38
|
} from "./websearch-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./websearch-
|
|
40
|
+
Service66
|
|
41
|
+
} from "./websearch-sf35qzjn.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
44
|
} from "./websearch-9rqn6x4v.js";
|
|
@@ -46,22 +46,22 @@ import {
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event10,
|
|
53
|
+
Info: () => Info15,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
|
-
ListEntry: () =>
|
|
56
|
+
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service65,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node67
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,13 +73,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info15 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
|
-
var
|
|
80
|
+
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID15, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event10 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service65 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const database = yield*
|
|
99
|
+
const database = yield* Service88;
|
|
100
100
|
const db = database.db;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service87;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service67;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError12({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service66).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event10.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service65.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node67 = Node.makeGlobalNode({
|
|
260
|
+
service: Service65,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node90, node91, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node90, node91, AppProcess.node, node69]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info15, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event10, Service65, node67, exports_worktree2, OperationError2 };
|