@opencode/core 0.0.0-dev-19975 → 0.0.0-dev-19976
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{location-services-598rh06g.js → workspace-00jp707z.js} +34 -34
- package/dist/chunks/{location-services-hj81kgmb.js → workspace-05jrxfe9.js} +18 -18
- package/dist/chunks/{location-services-v2kc4m29.js → workspace-0jrsc0d0.js} +24 -24
- package/dist/chunks/workspace-0mesazry.js +4 -0
- package/dist/chunks/{location-services-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-2a33v3px.js → workspace-0rvp7ahq.js} +20 -20
- package/dist/chunks/{location-services-63kpjth9.js → workspace-0tmgye68.js} +9 -9
- package/dist/chunks/{location-services-y16x9bsh.js → workspace-0x0c0f3f.js} +10 -10
- package/dist/chunks/{location-services-e6pjtdvq.js → workspace-0z7rzftk.js} +6 -6
- package/dist/chunks/{location-services-n5a93a7r.js → workspace-1407x5yq.js} +4 -4
- package/dist/chunks/{location-services-r8xr0va3.js → workspace-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-services-mvfsc1pv.js → workspace-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-services-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-tnr69bnh.js → workspace-1kzq6qnm.js} +6 -6
- package/dist/chunks/{location-services-3qj11n1s.js → workspace-1y9dt3g7.js} +54 -54
- package/dist/chunks/{location-services-mfqp6xfm.js → workspace-1ygqh575.js} +6 -6
- package/dist/chunks/{location-services-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-s26hbv8p.js → workspace-277eer69.js} +4 -4
- package/dist/chunks/{location-services-z63w68vq.js → workspace-29x78va6.js} +6 -6
- package/dist/chunks/{location-services-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/workspace-2a7ewa7q.js +26 -0
- package/dist/chunks/{location-services-698t161c.js → workspace-2aftd3a2.js} +3 -3
- package/dist/chunks/{location-services-35gsk47f.js → workspace-2cmnwcq0.js} +7 -7
- package/dist/chunks/{location-services-b7fx4td0.js → workspace-2qmapw28.js} +6 -6
- package/dist/chunks/{location-services-bmepjbt2.js → workspace-33k257v5.js} +14 -14
- package/dist/chunks/{location-services-gk4m79v4.js → workspace-37sfe3bm.js} +11 -11
- package/dist/chunks/{location-services-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-gpf1akt4.js → workspace-3nenj1by.js} +11 -11
- package/dist/chunks/{location-services-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-t0fxg8b9.js → workspace-3w2b2yj4.js} +5 -5
- package/dist/chunks/{location-services-vkwyn1a3.js → workspace-42em1327.js} +28 -28
- package/dist/chunks/{location-services-jspdrsne.js → workspace-438fgj0f.js} +15 -15
- package/dist/chunks/{location-services-6hjx5zpb.js → workspace-4nj4bn9q.js} +9 -9
- package/dist/chunks/{location-services-zpjh97gf.js → workspace-4t3xng2k.js} +35 -35
- package/dist/chunks/{location-services-y12xfdj2.js → workspace-4vv2c1zf.js} +11 -11
- package/dist/chunks/{location-services-w0rp7m49.js → workspace-4zvygart.js} +11 -11
- package/dist/chunks/{location-services-57ez7d0k.js → workspace-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-services-kw0g404m.js → workspace-57sydnee.js} +15 -15
- package/dist/chunks/{location-services-ak1c3jvj.js → workspace-5bkw2dcb.js} +9 -9
- package/dist/chunks/{location-services-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-7w99qc9d.js → workspace-5epte933.js} +2 -2
- package/dist/chunks/{location-services-t6gvky2f.js → workspace-5nzaa539.js} +46 -46
- package/dist/chunks/{location-services-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-aqnpacrp.js → workspace-5yyt2gzp.js} +1 -1
- package/dist/chunks/{location-services-vy4zg7qh.js → workspace-607q5haz.js} +5 -5
- package/dist/chunks/{location-services-4t3gmr2n.js → workspace-61fvg6ge.js} +3 -3
- package/dist/chunks/{location-services-3yzsbtk5.js → workspace-64prggvs.js} +33 -33
- package/dist/chunks/{location-services-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{location-services-9ez4xn4m.js → workspace-6878ajz3.js} +20 -20
- package/dist/chunks/{location-services-nkydbpf6.js → workspace-68arvhxb.js} +7 -7
- package/dist/chunks/{location-services-t84b0cnn.js → workspace-6bstxtt3.js} +15 -15
- package/dist/chunks/{location-services-2402vzrj.js → workspace-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-services-mckr61m4.js → workspace-6ky7efr6.js} +67 -67
- package/dist/chunks/{location-services-bt5qab31.js → workspace-6m0tgnv5.js} +29 -29
- package/dist/chunks/{location-services-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-c95gceag.js → workspace-6qa9hb0h.js} +26 -26
- package/dist/chunks/{location-services-7bx6fbd3.js → workspace-6r6sqe9n.js} +8 -8
- package/dist/chunks/{location-services-t2g29g87.js → workspace-6y1vxjf5.js} +18 -18
- package/dist/chunks/{location-services-xmfmtq35.js → workspace-724bb6xm.js} +24 -24
- package/dist/chunks/{location-services-srek7m3q.js → workspace-77g3a63m.js} +13 -13
- package/dist/chunks/{location-services-jbh1cmae.js → workspace-7b0gpmec.js} +18 -18
- package/dist/chunks/{location-services-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-qgn6gcr1.js → workspace-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-services-2s3mnh9j.js → workspace-7h57f7d7.js} +34 -34
- package/dist/chunks/{location-services-0916jsyy.js → workspace-7rce4ag1.js} +11 -11
- package/dist/chunks/{location-services-0t9wd588.js → workspace-7s2tn799.js} +8 -8
- package/dist/chunks/{location-services-ygx0r1a5.js → workspace-7yg3y2sd.js} +9 -9
- package/dist/chunks/{location-services-9yvjr51e.js → workspace-89ad7fzy.js} +9 -9
- package/dist/chunks/{location-services-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-dvh6p90y.js → workspace-8hyqnzhe.js} +50 -50
- package/dist/chunks/{location-services-9jgkxjne.js → workspace-8j6z6d32.js} +24 -24
- package/dist/chunks/{location-services-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-services-hfhbff15.js → workspace-8vabvz82.js} +13 -13
- package/dist/chunks/{location-services-61twgykx.js → workspace-8ykdne12.js} +12 -12
- package/dist/chunks/{location-services-4qf6cv5v.js → workspace-8z45c87w.js} +12 -12
- package/dist/chunks/{location-services-0akatdbs.js → workspace-915kganc.js} +27 -27
- package/dist/chunks/{location-services-z34bqxfp.js → workspace-9403nfm7.js} +32 -32
- package/dist/chunks/{location-services-702grjpm.js → workspace-95aphakr.js} +5 -5
- package/dist/chunks/{location-services-qhebqpkw.js → workspace-9bkpwrqx.js} +43 -43
- package/dist/chunks/{location-services-jqnpsya4.js → workspace-9fc3v4re.js} +4 -4
- package/dist/chunks/{location-services-g0445xdp.js → workspace-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-services-rf80fxgj.js → workspace-9pkkzrmj.js} +5 -5
- package/dist/chunks/{location-services-w3zm2e9m.js → workspace-9rcspwcs.js} +44 -44
- package/dist/chunks/{location-services-1391s5qk.js → workspace-9t3w81t2.js} +20 -20
- package/dist/chunks/{location-services-260rstwk.js → workspace-9v1v9bph.js} +4 -4
- package/dist/chunks/{location-services-zzxgczqy.js → workspace-9zdcna1n.js} +24 -24
- package/dist/chunks/{location-services-0673vfe6.js → workspace-9zmsvm50.js} +13 -13
- package/dist/chunks/{location-services-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-services-ze3x53x4.js → workspace-a3afvmqg.js} +7 -7
- package/dist/chunks/{location-services-g8d3gcyj.js → workspace-a46v4e4v.js} +7 -7
- package/dist/chunks/{location-services-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-8c5kjqks.js → workspace-axm728m5.js} +33 -33
- package/dist/chunks/{location-services-g190xswt.js → workspace-axmvebxj.js} +21 -21
- package/dist/chunks/{location-services-jkdaszze.js → workspace-ay0gn1a8.js} +43 -43
- package/dist/chunks/{location-services-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-7w3s9kd0.js → workspace-bdqrk2vk.js} +4 -4
- package/dist/chunks/workspace-bh6xnkn8.js +503 -0
- package/dist/chunks/{location-services-19ppwr7v.js → workspace-brpd6fv5.js} +24 -24
- package/dist/chunks/{location-services-z568v2bz.js → workspace-bsfgxy3a.js} +10 -10
- package/dist/chunks/{location-services-a12vw9wn.js → workspace-c05v4fnx.js} +31 -31
- package/dist/chunks/{location-services-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-services-5nbw05k5.js → workspace-cm5z7ssw.js} +13 -13
- package/dist/chunks/{location-services-kg04d60s.js → workspace-cq01mcjf.js} +85 -85
- package/dist/chunks/{location-services-hfdr1yjj.js → workspace-cq37gk0t.js} +4 -4
- package/dist/chunks/{location-services-2r6cz3cw.js → workspace-crf141y6.js} +24 -24
- package/dist/chunks/{location-services-dkt3kj3m.js → workspace-cs700ddv.js} +17 -17
- package/dist/chunks/{location-services-5c0f1prt.js → workspace-csf2jhsg.js} +4 -4
- package/dist/chunks/{location-services-4kqqwhxe.js → workspace-cskcxkdr.js} +13 -13
- package/dist/chunks/{location-services-ay0drwcf.js → workspace-cwp5p4t3.js} +26 -26
- package/dist/chunks/{location-services-yt0fqk68.js → workspace-d2aac7k2.js} +5 -5
- package/dist/chunks/{location-services-pmr4s4kc.js → workspace-dfe8djrf.js} +4 -4
- package/dist/chunks/{location-services-z8t3qsap.js → workspace-dj97z1h1.js} +11 -11
- package/dist/chunks/{location-services-0bsrjas3.js → workspace-dkkf29sp.js} +12 -12
- package/dist/chunks/{location-services-f2313ze9.js → workspace-dn1jy3t2.js} +9 -9
- package/dist/chunks/{location-services-xv5dzxpm.js → workspace-dnk3rzs1.js} +27 -27
- package/dist/chunks/{location-services-tjfve502.js → workspace-dnq79vah.js} +10 -10
- package/dist/chunks/{location-services-y71avatq.js → workspace-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-services-c2zb4129.js → workspace-drkc87kz.js} +11 -11
- package/dist/chunks/{location-services-5qd3pb7m.js → workspace-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-services-txem1jx5.js → workspace-eatsc6yh.js} +3 -3
- package/dist/chunks/{location-services-ehbx4wzj.js → workspace-ed6ewr6r.js} +8 -8
- package/dist/chunks/{location-services-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-maj04dgt.js → workspace-egm44ayq.js} +15 -15
- package/dist/chunks/{location-services-e3e8kjz0.js → workspace-egmeyekh.js} +17 -17
- package/dist/chunks/{location-services-b7cs46qb.js → workspace-ehe4wzqm.js} +11 -11
- package/dist/chunks/{location-services-z6489t8s.js → workspace-en40pvpc.js} +25 -25
- package/dist/chunks/{location-services-kfkn95kh.js → workspace-en5ms791.js} +18 -18
- package/dist/chunks/{location-services-d4q3eqbp.js → workspace-ersf5sn4.js} +10 -10
- package/dist/chunks/{location-services-erw5rpbs.js → workspace-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-services-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-ba72fspk.js → workspace-evstn2e1.js} +20 -20
- package/dist/chunks/{location-services-089kk14c.js → workspace-ex4wm9dq.js} +27 -27
- package/dist/chunks/{location-services-dttg7nxd.js → workspace-ezqe822v.js} +43 -43
- package/dist/chunks/{location-services-ckfwh0ft.js → workspace-f32czd11.js} +11 -11
- package/dist/chunks/{location-services-nz5501ch.js → workspace-f7djnycc.js} +15 -15
- package/dist/chunks/{location-services-f828m53h.js → workspace-f828m53h.js} +2 -2
- package/dist/chunks/{location-services-shas0zdn.js → workspace-fb08vzds.js} +41 -41
- package/dist/chunks/{location-services-yy7ajxpj.js → workspace-fnxvy9mq.js} +27 -27
- package/dist/chunks/{location-services-ttg22typ.js → workspace-frq37dj9.js} +21 -21
- package/dist/chunks/{location-services-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-kffet6q6.js → workspace-g652nsve.js} +24 -24
- package/dist/chunks/{location-services-nng2ktcm.js → workspace-g97bb4fb.js} +2 -2
- package/dist/chunks/{location-services-vk0b90t9.js → workspace-g9avfrxv.js} +11 -11
- package/dist/chunks/{location-services-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-7nqrqxkr.js → workspace-gfrjm2xz.js} +25 -25
- package/dist/chunks/{location-services-bw9zjykr.js → workspace-gjmk74th.js} +6 -6
- package/dist/chunks/{location-services-z811gd5h.js → workspace-gmqh62m1.js} +16 -16
- package/dist/chunks/{location-services-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-f5qy5xjn.js → workspace-gy8jtxss.js} +19 -19
- package/dist/chunks/{location-services-t60gdekx.js → workspace-h05xe26f.js} +2 -2
- package/dist/chunks/{location-services-h6r3nrb9.js → workspace-h6r3nrb9.js} +1 -1
- package/dist/chunks/{location-services-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-r9eq9xg7.js → workspace-hby81b9r.js} +5 -5
- package/dist/chunks/{location-services-npwy0cf6.js → workspace-hbyhqfhs.js} +5 -5
- package/dist/chunks/{location-services-1t2khamf.js → workspace-hc5h1fwz.js} +11 -11
- package/dist/chunks/{location-services-p7we1hrz.js → workspace-hcpextjt.js} +13 -13
- package/dist/chunks/{location-services-qjnxxf51.js → workspace-hnr5yq9h.js} +5 -5
- package/dist/chunks/{location-services-jejs7rer.js → workspace-hpew3xwe.js} +1 -1
- package/dist/chunks/{location-services-j9pw51p3.js → workspace-hq9c8xrb.js} +24 -24
- package/dist/chunks/{location-services-88y1fzsq.js → workspace-hsg668p1.js} +12 -12
- package/dist/chunks/{location-services-3tsvntwc.js → workspace-j04hx8st.js} +2 -2
- package/dist/chunks/{location-services-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-w4b82h60.js → workspace-j71eb661.js} +14 -14
- package/dist/chunks/{location-services-cq67rvxm.js → workspace-jbnhwg68.js} +3 -3
- package/dist/chunks/{location-services-hfmbhb0v.js → workspace-jck03djw.js} +31 -31
- package/dist/chunks/{location-services-r2tsv3wg.js → workspace-jd2q17ad.js} +11 -11
- package/dist/chunks/{location-services-xh40qn80.js → workspace-jdhqnsv9.js} +24 -24
- package/dist/chunks/{location-services-jymg4yzt.js → workspace-jn6zj5k7.js} +23 -23
- package/dist/chunks/{location-services-e09tse5t.js → workspace-jprse0xe.js} +22 -22
- package/dist/chunks/{location-services-177v4jr3.js → workspace-jttm2z5k.js} +135 -135
- package/dist/chunks/{location-services-dcbj84cq.js → workspace-jy1x85rx.js} +4 -4
- package/dist/chunks/{location-services-y3drazew.js → workspace-jzj5fe77.js} +24 -24
- package/dist/chunks/{location-services-7y0nnkh8.js → workspace-k55f3hcm.js} +10 -10
- package/dist/chunks/{location-services-fkjmw100.js → workspace-k9kj6xed.js} +2 -2
- package/dist/chunks/{location-services-c1hrrqdg.js → workspace-kfpry7jw.js} +30 -30
- package/dist/chunks/{location-services-5mra5t95.js → workspace-kkkjbbh2.js} +6 -6
- package/dist/chunks/{location-services-r1e1bnxz.js → workspace-m1xzdp0d.js} +21 -21
- package/dist/chunks/{location-services-92k45pvj.js → workspace-m2333cga.js} +6 -6
- package/dist/chunks/{location-services-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-m9tmsx7y.js → workspace-m7a66szm.js} +16 -16
- package/dist/chunks/{location-services-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-b9dnjnx2.js → workspace-mbj6r9mg.js} +2 -2
- package/dist/chunks/{location-services-w6dttbvj.js → workspace-mksgfzgs.js} +6 -6
- package/dist/chunks/{location-services-x8cycxf4.js → workspace-mvfdckk2.js} +6 -6
- package/dist/chunks/{location-services-6wqjg4s1.js → workspace-mzkzf2w3.js} +10 -10
- package/dist/chunks/{location-services-sq2tgyxc.js → workspace-n7hq9y22.js} +31 -31
- package/dist/chunks/{location-services-2ewf845r.js → workspace-nhkza4qs.js} +18 -18
- package/dist/chunks/{location-services-nf9mvk43.js → workspace-njpe9gsc.js} +17 -17
- package/dist/chunks/{location-services-d3m1rxj3.js → workspace-ns9v291x.js} +1 -1
- package/dist/chunks/workspace-nt2g1hn6.js +252 -0
- package/dist/chunks/{location-services-49qmw5p2.js → workspace-nz40v0xg.js} +15 -15
- package/dist/chunks/{location-services-k3c624dm.js → workspace-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-services-7hfd3ta9.js → workspace-p0ar7mqv.js} +11 -11
- package/dist/chunks/{location-services-tbz0fdvh.js → workspace-p28j5sbe.js} +5 -5
- package/dist/chunks/{location-services-8vfq8kmg.js → workspace-p7gtrmqp.js} +4 -4
- package/dist/chunks/{location-services-c6vhszhr.js → workspace-phbsj0j2.js} +16 -16
- package/dist/chunks/{location-services-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-1qbned4j.js → workspace-pm8erawn.js} +11 -11
- package/dist/chunks/{location-services-ghqhrgyn.js → workspace-ppygek1b.js} +16 -16
- package/dist/chunks/{location-services-q853cmgp.js → workspace-ptx7r7w6.js} +11 -11
- package/dist/chunks/{location-services-kecwm5gn.js → workspace-q37hvqsc.js} +9 -9
- package/dist/chunks/{location-services-qwjmgwmn.js → workspace-qby9dwvd.js} +8 -8
- package/dist/chunks/{location-services-bh9mdgtf.js → workspace-qft4n94x.js} +6 -6
- package/dist/chunks/{location-services-d1za1ksq.js → workspace-qkp1k0b9.js} +3 -3
- package/dist/chunks/{location-services-pndcjns4.js → workspace-qnye80mc.js} +38 -38
- package/dist/chunks/{location-services-8xea18f0.js → workspace-qqveq5z9.js} +8 -8
- package/dist/chunks/{location-services-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-dv2avwe4.js → workspace-qwv4fpqw.js} +10 -10
- package/dist/chunks/{location-services-3a6re68j.js → workspace-qz49fwgp.js} +6 -6
- package/dist/chunks/{location-services-ns2wmxy1.js → workspace-r02e4wv6.js} +11 -11
- package/dist/chunks/{location-services-r2m716tb.js → workspace-r2m716tb.js} +2 -2
- package/dist/chunks/{location-services-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-s8d7rejh.js → workspace-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-services-hyrz6ndr.js → workspace-rjg5g3rw.js} +12 -12
- package/dist/chunks/{location-services-ae7n2nze.js → workspace-rxxp0mym.js} +1 -1
- package/dist/chunks/{location-services-yrznvahk.js → workspace-s4enseaf.js} +2 -2
- package/dist/chunks/{location-services-5afb82kq.js → workspace-s8ah00f6.js} +4 -4
- package/dist/chunks/{location-services-sej7e0cf.js → workspace-shh6fz4q.js} +4 -4
- package/dist/chunks/{location-services-bx73qnaz.js → workspace-sttw4gkc.js} +35 -35
- package/dist/chunks/{location-services-n54j8dy8.js → workspace-sx7xb6j6.js} +14 -14
- package/dist/chunks/{location-services-7ny34fh5.js → workspace-szgj26xm.js} +2 -2
- package/dist/chunks/{location-services-qjqrezts.js → workspace-t8djmwwn.js} +8 -8
- package/dist/chunks/{location-services-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-89znhe33.js → workspace-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-services-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-ybsvey3q.js → workspace-tjszthyy.js} +8 -8
- package/dist/chunks/{location-services-zhq6vg7a.js → workspace-ts2x07a1.js} +1 -1
- package/dist/chunks/{location-services-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-e0mw0c73.js → workspace-tx1r3w21.js} +13 -13
- package/dist/chunks/{location-services-d0yjwtn3.js → workspace-txw29g1t.js} +4 -4
- package/dist/chunks/{location-services-m5jn93st.js → workspace-v2gb0a2b.js} +1 -1
- package/dist/chunks/{location-services-2csmxjzx.js → workspace-v2mh11m3.js} +22 -22
- package/dist/chunks/{location-services-60vjg1t9.js → workspace-v9bkd1yb.js} +21 -21
- package/dist/chunks/{location-services-67sm614f.js → workspace-vd7ypez6.js} +11 -11
- package/dist/chunks/{location-services-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-1bdsjmsw.js → workspace-vh4jega5.js} +4 -4
- package/dist/chunks/{location-services-8hn3mr47.js → workspace-vhv5xdae.js} +13 -13
- package/dist/chunks/{location-services-czy45c4v.js → workspace-vjz8een3.js} +20 -20
- package/dist/chunks/workspace-vkrew15q.js +18 -0
- package/dist/chunks/{location-services-ch4t865s.js → workspace-vkt5fbj2.js} +8 -8
- package/dist/chunks/{location-services-8yfge7sy.js → workspace-vpv31xpv.js} +4 -4
- package/dist/chunks/{location-services-b92k507q.js → workspace-vrxn6v33.js} +86 -86
- package/dist/chunks/{location-services-kxvn6n2f.js → workspace-vs1j1ez4.js} +11 -11
- package/dist/chunks/{location-services-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-j333e51k.js → workspace-w068zxwj.js} +23 -23
- package/dist/chunks/{location-services-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-fpx7htvs.js → workspace-wc444ph0.js} +15 -15
- package/dist/chunks/{location-services-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-jtrztkj0.js → workspace-whtf8zfp.js} +6 -6
- package/dist/chunks/{location-services-fswwm3e4.js → workspace-wj557cjd.js} +12 -12
- package/dist/chunks/{location-services-nyhmyhfn.js → workspace-wnf5egzc.js} +9 -9
- package/dist/chunks/{location-services-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-4qmfr7sb.js → workspace-x57r3cf8.js} +9 -9
- package/dist/chunks/{location-services-tybbf50r.js → workspace-x9m6b332.js} +5 -5
- package/dist/chunks/{location-services-drwq78ky.js → workspace-xfkkasph.js} +4 -4
- package/dist/chunks/{location-services-rdshk97x.js → workspace-xhxcwzqv.js} +6 -6
- package/dist/chunks/{location-services-rhafb4aa.js → workspace-xk747vep.js} +9 -9
- package/dist/chunks/{location-services-9tadwx83.js → workspace-xqrhjvfz.js} +18 -18
- package/dist/chunks/{location-services-zm85d2ry.js → workspace-xtn5wpmn.js} +14 -14
- package/dist/chunks/{location-services-7m0tw5w3.js → workspace-xygf558z.js} +13 -13
- package/dist/chunks/{location-services-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-ms4tmmwz.js → workspace-y39x7n9b.js} +8 -8
- package/dist/chunks/{location-services-6w1c0kqr.js → workspace-y9c8ds6g.js} +1 -1
- package/dist/chunks/{location-services-g2qbz7ad.js → workspace-y9k1g73x.js} +3 -3
- package/dist/chunks/{location-services-a2ymm1g0.js → workspace-yemygy56.js} +26 -26
- package/dist/chunks/{location-services-p3rd9cb6.js → workspace-yf10kn3d.js} +8 -8
- package/dist/chunks/{location-services-4hcc7af7.js → workspace-yga8c4n1.js} +28 -28
- package/dist/chunks/{location-services-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-k9avtbwf.js → workspace-yv13jgjp.js} +9 -9
- package/dist/chunks/{location-services-h03jhrmm.js → workspace-yx53t0r1.js} +29 -29
- package/dist/chunks/{location-services-qgfymp7z.js → workspace-yz5wbtz1.js} +18 -18
- package/dist/chunks/{location-services-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-pb3rzm1n.js → workspace-za2m9gf5.js} +24 -24
- package/dist/chunks/{location-services-rwm5vee1.js → workspace-zav06jzw.js} +4 -4
- package/dist/chunks/{location-services-6mwdz5rr.js → workspace-zcaw5wve.js} +16 -16
- package/dist/chunks/{location-services-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-104q0bh7.js → workspace-zetnz1cj.js} +3 -3
- package/dist/chunks/{location-services-3q1d996h.js → workspace-zn2rtdne.js} +6 -6
- package/dist/chunks/{location-services-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-710qyn68.js → workspace-zymwz594.js} +47 -47
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +75 -75
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +88 -88
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/location-services-75xmh6z1.js +0 -503
- package/dist/chunks/location-services-gbadjzag.js +0 -4
- package/dist/chunks/location-services-mvtmfmfb.js +0 -26
- package/dist/chunks/location-services-pn6h1b1r.js +0 -252
- package/dist/chunks/location-services-v1faaxn9.js +0 -18
- /package/dist/chunks/{location-services-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service65,
|
|
8
|
+
node68
|
|
9
|
+
} from "./workspace-v9bkd1yb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./workspace-yx53t0r1.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service6,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node7,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service65;
|
|
331
|
+
return Service6.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node7 = makeLocationNode({ service: Service6, layer, deps: [node68] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node7, exports_read_filesystem };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info11,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info11 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
52
52
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
53
53
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Info11, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./workspace-9bkpwrqx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./workspace-fb08vzds.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin32,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin32 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service67;
|
|
28
|
+
const mcp = yield* Service37;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin32, register2, exports_mcp2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-607q5haz.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-j04hx8st.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID9,
|
|
27
|
+
Service: () => Service59,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node62,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID9 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service59 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID9.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service59.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node62 = makeLocationNode({
|
|
144
|
+
service: Service59,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service59, Service59.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error4({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID9, Error4, Service59, node62, noopLayer3, exports_snapshot2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info18,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info18 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info18, exports_mcp5 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info17
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info17 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info13 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info17, exports_skills };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./workspace-9bkpwrqx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service59
|
|
7
|
+
} from "./workspace-cwp5p4t3.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin40
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin40 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service67;
|
|
27
|
+
const snapshot = yield* Service59;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin11 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin40, exports_snapshot };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-p7gtrmqp.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-j04hx8st.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service37
|
|
10
|
+
} from "./workspace-fb08vzds.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin10
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin10 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service80;
|
|
200
|
-
const mcp = yield*
|
|
200
|
+
const mcp = yield* Service37;
|
|
201
201
|
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin10, exports_command };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./workspace-gjmk74th.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-vkrew15q.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-yv13jgjp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service44
|
|
12
|
+
} from "./workspace-en5ms791.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service51;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-p7gtrmqp.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-xqrhjvfz.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service25,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured4,
|
|
25
|
+
layer: () => layer10,
|
|
26
|
+
node: () => node28
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service25 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service25.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer10 = makeLayer();
|
|
259
|
+
var configured4 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service25,
|
|
261
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node28 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError4, Service25, layer10, configured4, node28, exports_persistent_pty, Handoff2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-p7gtrmqp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service69,
|
|
6
|
+
Event14
|
|
7
|
+
} from "./workspace-egmeyekh.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin18,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin18 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service83;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service69;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin20 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin18, exports_plugin };
|