@opencode/core 0.0.0-dev-20156 → 0.0.0-dev-20158
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{repository-vwt4a1k1.js → model-resolver-00yaqz7j.js} +16 -16
- package/dist/chunks/{repository-2v0htzv5.js → model-resolver-0706z96g.js} +19 -19
- package/dist/chunks/{repository-erw3g6b6.js → model-resolver-0f0kaz2k.js} +9 -9
- package/dist/chunks/{repository-fvanntqq.js → model-resolver-0ft9cg2j.js} +6 -6
- package/dist/chunks/{repository-e28ag5bw.js → model-resolver-0grg8x1d.js} +17 -17
- package/dist/chunks/{repository-njhqdk9p.js → model-resolver-0jq9fyba.js} +9 -9
- package/dist/chunks/{repository-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-da533g22.js → model-resolver-0s2w903j.js} +1 -1
- package/dist/chunks/{repository-gd2mrfha.js → model-resolver-0v1pwmed.js} +9 -9
- package/dist/chunks/{repository-kst1pkph.js → model-resolver-0vmm7rs7.js} +17 -17
- package/dist/chunks/{repository-n3wcrd3g.js → model-resolver-0wvc14eb.js} +7 -7
- package/dist/chunks/{repository-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-95qqca5m.js → model-resolver-1kehk7jc.js} +10 -10
- package/dist/chunks/{repository-8sze2n9a.js → model-resolver-1p07q0wb.js} +8 -8
- package/dist/chunks/{repository-e912ms8z.js → model-resolver-206tr2x9.js} +1 -1
- package/dist/chunks/{repository-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{repository-ykh5ygyr.js → model-resolver-22qs65eb.js} +5 -5
- package/dist/chunks/{repository-6h73sxmp.js → model-resolver-2402vzrj.js} +5 -5
- package/dist/chunks/{repository-6r6vp6ha.js → model-resolver-24sm1qyr.js} +25 -25
- package/dist/chunks/{repository-79272cb5.js → model-resolver-26see1q8.js} +26 -26
- package/dist/chunks/{repository-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-2a6rn6yr.js → model-resolver-2a6rn6yr.js} +1 -1
- package/dist/chunks/{repository-qz02d4gv.js → model-resolver-2bekqz3a.js} +15 -15
- package/dist/chunks/{repository-3w2b2yj4.js → model-resolver-2f0bjgcj.js} +5 -5
- package/dist/chunks/{repository-jm8vc8yh.js → model-resolver-2htysf3r.js} +3 -3
- package/dist/chunks/{repository-fcrkznn8.js → model-resolver-2k8khapm.js} +5 -5
- package/dist/chunks/{repository-zfjkfzpq.js → model-resolver-2y80ys67.js} +14 -14
- package/dist/chunks/{repository-vnwmzs4a.js → model-resolver-38ys11y3.js} +5 -5
- package/dist/chunks/{repository-mr0mmcj5.js → model-resolver-3918zp65.js} +4 -4
- package/dist/chunks/{repository-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-4b9fhhm9.js → model-resolver-3n5xgdmc.js} +5 -5
- package/dist/chunks/{repository-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-fqgxath9.js → model-resolver-3w074pk4.js} +19 -19
- package/dist/chunks/{repository-05b749yd.js → model-resolver-3zr4kwp4.js} +15 -15
- package/dist/chunks/{repository-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-nmxw05nd.js → model-resolver-44ykhczy.js} +46 -46
- package/dist/chunks/{repository-16j5ke9h.js → model-resolver-48dv6t9d.js} +13 -13
- package/dist/chunks/{repository-6q0ntw2a.js → model-resolver-4arp3q20.js} +22 -22
- package/dist/chunks/{repository-tgey6qrj.js → model-resolver-4c5t4vfv.js} +14 -14
- package/dist/chunks/{repository-kv3csxch.js → model-resolver-4cpnk8xd.js} +4 -4
- package/dist/chunks/{repository-5mtzsd3b.js → model-resolver-4dgbcxzg.js} +4 -4
- package/dist/chunks/{repository-f3tdbywg.js → model-resolver-4ffdv1a7.js} +15 -15
- package/dist/chunks/{repository-x2dtej9w.js → model-resolver-4g1652p2.js} +2 -2
- package/dist/chunks/{repository-7w3s9kd0.js → model-resolver-4gycnsfp.js} +6 -6
- package/dist/chunks/{repository-xxhb4jr7.js → model-resolver-4sn99hha.js} +9 -9
- package/dist/chunks/{repository-9zqrb8fx.js → model-resolver-4wsh9859.js} +30 -30
- package/dist/chunks/{repository-d29nyfm4.js → model-resolver-4y596e4p.js} +19 -19
- package/dist/chunks/{repository-6hbqnsja.js → model-resolver-50g511xe.js} +5 -5
- package/dist/chunks/{repository-jw80jp6b.js → model-resolver-50mzsvk4.js} +4 -4
- package/dist/chunks/{repository-k5p7g1tb.js → model-resolver-52b8xadt.js} +66 -66
- package/dist/chunks/{repository-dg2cj1yd.js → model-resolver-56dkfrzf.js} +4 -4
- package/dist/chunks/{repository-xfkkasph.js → model-resolver-57b9ws8p.js} +7 -7
- package/dist/chunks/{repository-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-gf7f2369.js → model-resolver-5pemj9ar.js} +3 -3
- package/dist/chunks/{repository-scbkt9q8.js → model-resolver-5qn1w087.js} +33 -33
- package/dist/chunks/{repository-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{repository-de275n1f.js → model-resolver-680vfc89.js} +16 -16
- package/dist/chunks/{repository-y3k1g0t3.js → model-resolver-68z8xbqp.js} +23 -23
- package/dist/chunks/{repository-fgg720tk.js → model-resolver-6f8s49am.js} +12 -12
- package/dist/chunks/model-resolver-6kdq0pjd.js +4 -0
- package/dist/chunks/{repository-0hmet0j7.js → model-resolver-6ms63ajj.js} +11 -11
- package/dist/chunks/{repository-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-fvhjkb74.js → model-resolver-6s4d8484.js} +6 -6
- package/dist/chunks/{repository-ffcsw7yh.js → model-resolver-6xb8k124.js} +18 -18
- package/dist/chunks/{repository-dwhtnrsj.js → model-resolver-7a04pq0x.js} +15 -15
- package/dist/chunks/{repository-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-r0p67dnr.js → model-resolver-7h056913.js} +28 -28
- package/dist/chunks/{repository-7jk1t73m.js → model-resolver-7h4fmbdk.js} +31 -31
- package/dist/chunks/{repository-ky1kh8n9.js → model-resolver-7jbkg8gb.js} +32 -32
- package/dist/chunks/{repository-p8tnfkxq.js → model-resolver-7jq3dafd.js} +24 -24
- package/dist/chunks/{repository-wxgegas4.js → model-resolver-7qygjkb5.js} +10 -10
- package/dist/chunks/{repository-384p91kd.js → model-resolver-7re7g1jd.js} +45 -45
- package/dist/chunks/{repository-3gqan0f7.js → model-resolver-7w8r2k62.js} +24 -24
- package/dist/chunks/{repository-705e2ap1.js → model-resolver-84zcxbc9.js} +5 -5
- package/dist/chunks/{repository-kgcknfzw.js → model-resolver-86gv9yex.js} +44 -44
- package/dist/chunks/{repository-929cfnf2.js → model-resolver-8c3w0b8b.js} +21 -21
- package/dist/chunks/{repository-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-6sj6xmv4.js → model-resolver-8t84k4kw.js} +32 -32
- package/dist/chunks/{repository-77wtpmj0.js → model-resolver-90r4fb4b.js} +15 -15
- package/dist/chunks/{repository-qjwr0tpp.js → model-resolver-91g4gbhj.js} +3 -3
- package/dist/chunks/{repository-94ek1h2f.js → model-resolver-94ek1h2f.js} +2 -2
- package/dist/chunks/{repository-gmjjhz4f.js → model-resolver-97fmyryk.js} +3 -3
- package/dist/chunks/{repository-5etm4xsh.js → model-resolver-9g2t5fv6.js} +42 -42
- package/dist/chunks/{repository-jca4demv.js → model-resolver-9kmbd9mt.js} +2 -2
- package/dist/chunks/model-resolver-9sh4wc5j.js +18 -0
- package/dist/chunks/{repository-5v50ez44.js → model-resolver-a0vyv8yz.js} +9 -9
- package/dist/chunks/{repository-fc523kt6.js → model-resolver-a46d7692.js} +28 -28
- package/dist/chunks/{repository-a204ka05.js → model-resolver-a46q39xd.js} +4 -4
- package/dist/chunks/{repository-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-t4vj6rvz.js → model-resolver-acvggdgr.js} +26 -26
- package/dist/chunks/{repository-agjv8c5g.js → model-resolver-amy9ev3g.js} +14 -14
- package/dist/chunks/{repository-qzpey3h0.js → model-resolver-an4y2yf1.js} +26 -26
- package/dist/chunks/{repository-hgbqxczd.js → model-resolver-aqctzznh.js} +11 -11
- package/dist/chunks/model-resolver-as3mn4aa.js +252 -0
- package/dist/chunks/{repository-y5df08dr.js → model-resolver-azeyjv65.js} +8 -8
- package/dist/chunks/{repository-5m4tc1r8.js → model-resolver-b1gxdpvp.js} +20 -20
- package/dist/chunks/{repository-m9144ht3.js → model-resolver-b2m4v72c.js} +14 -14
- package/dist/chunks/{repository-byrrs48t.js → model-resolver-b33searm.js} +6 -6
- package/dist/chunks/{repository-db9prhsp.js → model-resolver-b5e2yk6d.js} +34 -34
- package/dist/chunks/{repository-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-r8x54e6p.js → model-resolver-b9p5vg71.js} +64 -64
- package/dist/chunks/{repository-pmr4s4kc.js → model-resolver-bct739vz.js} +4 -4
- package/dist/chunks/{repository-512hw42y.js → model-resolver-bhfy7g21.js} +42 -42
- package/dist/chunks/{repository-q5dpec9v.js → model-resolver-bn78pb0y.js} +10 -10
- package/dist/chunks/{repository-vhag6pqf.js → model-resolver-bwg4kr2v.js} +12 -12
- package/dist/chunks/{repository-9fcb53ey.js → model-resolver-c57ase6y.js} +29 -29
- package/dist/chunks/{repository-swwpqdcy.js → model-resolver-c6ea9mwp.js} +23 -23
- package/dist/chunks/{repository-ckecvw8r.js → model-resolver-ckecvw8r.js} +2 -2
- package/dist/chunks/{repository-cwa6csj7.js → model-resolver-cwa6csj7.js} +2 -2
- package/dist/chunks/{repository-metfybw1.js → model-resolver-czb8wht1.js} +40 -40
- package/dist/chunks/{repository-jc7dnxay.js → model-resolver-d440cxsn.js} +15 -15
- package/dist/chunks/{repository-zte1js4p.js → model-resolver-d8p93nrm.js} +15 -15
- package/dist/chunks/{repository-xr86ydmg.js → model-resolver-d981nn93.js} +12 -12
- package/dist/chunks/{repository-47bkxv40.js → model-resolver-e0e0xvb3.js} +12 -12
- package/dist/chunks/{repository-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-j5rxtxht.js → model-resolver-ermxvwhp.js} +4 -4
- package/dist/chunks/{repository-3a2j1hjr.js → model-resolver-et83fa73.js} +11 -11
- package/dist/chunks/{repository-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-qq7xvnxm.js → model-resolver-eznmshf9.js} +9 -9
- package/dist/chunks/{repository-kwe5n90t.js → model-resolver-fhbtmvm6.js} +28 -28
- package/dist/chunks/{repository-k07p368a.js → model-resolver-fjzx8x1z.js} +13 -13
- package/dist/chunks/{repository-065k3gj0.js → model-resolver-fmyj3kws.js} +9 -9
- package/dist/chunks/{repository-5ft7x73b.js → model-resolver-fqp7qv4y.js} +4 -4
- package/dist/chunks/{repository-dpsvckea.js → model-resolver-ft2qew80.js} +14 -14
- package/dist/chunks/{repository-czfptnv9.js → model-resolver-g0445xdp.js} +8 -8
- package/dist/chunks/{repository-hq7yghhm.js → model-resolver-g1wask2c.js} +11 -11
- package/dist/chunks/{repository-n953eyzk.js → model-resolver-g6szcc3v.js} +4 -4
- package/dist/chunks/{repository-w9vf9qqj.js → model-resolver-g762atc6.js} +9 -9
- package/dist/chunks/{repository-v5dkyp31.js → model-resolver-g8d3gcyj.js} +7 -7
- package/dist/chunks/{repository-hcd63823.js → model-resolver-gawe0pa8.js} +17 -17
- package/dist/chunks/{repository-tyzy9g51.js → model-resolver-gcg1yrj4.js} +43 -43
- package/dist/chunks/{repository-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-k9p9jwpd.js → model-resolver-gfpbexs2.js} +18 -18
- package/dist/chunks/{repository-3cmt985g.js → model-resolver-gkz061q6.js} +10 -10
- package/dist/chunks/{repository-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-v42zcc13.js → model-resolver-gy7dsj4k.js} +29 -29
- package/dist/chunks/{repository-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-p5c89f54.js → model-resolver-ha607pgt.js} +6 -6
- package/dist/chunks/{repository-8j12t1bv.js → model-resolver-havtyyxz.js} +79 -79
- package/dist/chunks/{repository-y8kkdtzr.js → model-resolver-hb2fds8x.js} +13 -13
- package/dist/chunks/{repository-1vnc4v1d.js → model-resolver-hbtqa4wz.js} +11 -11
- package/dist/chunks/{repository-p9z73tm2.js → model-resolver-hf3pz0b6.js} +8 -8
- package/dist/chunks/{repository-h5qvqr7w.js → model-resolver-hk1vpbmp.js} +10 -10
- package/dist/chunks/{repository-33y1b8yt.js → model-resolver-hps07q8v.js} +17 -17
- package/dist/chunks/{repository-73tb2d7t.js → model-resolver-j028xdjb.js} +3 -3
- package/dist/chunks/{repository-df54n7py.js → model-resolver-j26sntzs.js} +12 -12
- package/dist/chunks/{repository-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-96ctqc5x.js → model-resolver-j8afcsyc.js} +4 -4
- package/dist/chunks/{repository-z2sk8n0r.js → model-resolver-jh76kevn.js} +11 -11
- package/dist/chunks/{repository-6ycw4w1t.js → model-resolver-jhhqz5ys.js} +36 -36
- package/dist/chunks/{repository-pgp1nwjn.js → model-resolver-k0a3z2qz.js} +4 -4
- package/dist/chunks/{repository-kstbhh6a.js → model-resolver-k10ybmck.js} +33 -33
- package/dist/chunks/{repository-hz0q9sdq.js → model-resolver-k1qrnqst.js} +8 -8
- package/dist/chunks/{repository-73yrdnyd.js → model-resolver-k5znp5xn.js} +22 -22
- package/dist/chunks/{repository-77znwksv.js → model-resolver-k8e8qrky.js} +7 -7
- package/dist/chunks/{repository-8t72k94d.js → model-resolver-kjesjdjk.js} +20 -20
- package/dist/chunks/{repository-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-jj202axs.js → model-resolver-m5m12nva.js} +3 -3
- package/dist/chunks/{repository-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-q3t37ft6.js → model-resolver-mf9m2v67.js} +3 -3
- package/dist/chunks/{repository-33w4ejhs.js → model-resolver-mfqp6xfm.js} +9 -9
- package/dist/chunks/{repository-6wkx2yew.js → model-resolver-mk1jn20m.js} +21 -21
- package/dist/chunks/{repository-a4jmhcge.js → model-resolver-mkthra7k.js} +7 -7
- package/dist/chunks/{repository-b34mrygk.js → model-resolver-mm5nt2nt.js} +21 -21
- package/dist/chunks/{repository-zk63fk94.js → model-resolver-mmhjy9tz.js} +10 -10
- package/dist/chunks/{repository-azyzdvnn.js → model-resolver-mxterfad.js} +15 -15
- package/dist/chunks/{repository-bj7255yx.js → model-resolver-mywrbmkg.js} +14 -14
- package/dist/chunks/{repository-thk6jfdx.js → model-resolver-n01f24md.js} +23 -23
- package/dist/chunks/{repository-etzz3kcr.js → model-resolver-n2kah95r.js} +8 -8
- package/dist/chunks/{repository-bce8mqt3.js → model-resolver-n799s5c3.js} +8 -8
- package/dist/chunks/{repository-h2r7bbkd.js → model-resolver-nbzsj80d.js} +8 -8
- package/dist/chunks/{repository-x1c0jm0v.js → model-resolver-nd15zvwa.js} +3 -3
- package/dist/chunks/model-resolver-nf75hyxw.js +26 -0
- package/dist/chunks/{repository-kc96dfb8.js → model-resolver-nqp3avv2.js} +8 -8
- package/dist/chunks/{repository-nr8zx6fk.js → model-resolver-nyrbevt9.js} +18 -18
- package/dist/chunks/{repository-bdz0bbmb.js → model-resolver-nysns02s.js} +22 -22
- package/dist/chunks/{repository-jh3wktsd.js → model-resolver-nz34eq69.js} +34 -34
- package/dist/chunks/{repository-nzks3jc8.js → model-resolver-nzks3jc8.js} +3 -3
- package/dist/chunks/{repository-dsped3ts.js → model-resolver-p1j6bn8g.js} +20 -20
- package/dist/chunks/{repository-1jp2mfrr.js → model-resolver-p4776vvd.js} +2 -2
- package/dist/chunks/{repository-mvksx64m.js → model-resolver-pccq72bz.js} +4 -4
- package/dist/chunks/{repository-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{repository-nscznvay.js → model-resolver-pnv527nz.js} +9 -9
- package/dist/chunks/{repository-8hbfdwcy.js → model-resolver-pnvk1zxf.js} +8 -8
- package/dist/chunks/{repository-9rdt4sv8.js → model-resolver-pv19q001.js} +9 -9
- package/dist/chunks/{repository-hq8qt6ng.js → model-resolver-pvkbt02t.js} +7 -7
- package/dist/chunks/{repository-5ev1zspt.js → model-resolver-q17kn81w.js} +10 -10
- package/dist/chunks/{repository-1cxq3z7p.js → model-resolver-q5n3bppz.js} +3 -3
- package/dist/chunks/{repository-ftm3dexp.js → model-resolver-q62m1k22.js} +5 -5
- package/dist/chunks/{repository-j624rcj2.js → model-resolver-q94qa9gk.js} +12 -12
- package/dist/chunks/{repository-4jztms0b.js → model-resolver-qh65rry2.js} +24 -24
- package/dist/chunks/{repository-n4a7gw4r.js → model-resolver-qqs8gy82.js} +24 -24
- package/dist/chunks/{repository-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-k6pkmzhs.js → model-resolver-qtq8atx0.js} +29 -29
- package/dist/chunks/{repository-8mkxvtcz.js → model-resolver-qy0qk774.js} +20 -20
- package/dist/chunks/{repository-m6jnjmfw.js → model-resolver-r20xradg.js} +28 -28
- package/dist/chunks/{repository-fzxsvrpf.js → model-resolver-r322q3y6.js} +22 -22
- package/dist/chunks/{repository-9v05265v.js → model-resolver-r3tpvskf.js} +32 -32
- package/dist/chunks/{repository-c8xyt3x2.js → model-resolver-rdfh74de.js} +8 -8
- package/dist/chunks/{repository-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-xxv802jd.js → model-resolver-rehwyskh.js} +1 -1
- package/dist/chunks/{repository-5tnkgdfk.js → model-resolver-rwqynx0a.js} +16 -16
- package/dist/chunks/{repository-90g9zkdy.js → model-resolver-s0fa4gp7.js} +13 -13
- package/dist/chunks/{repository-56ky7bs0.js → model-resolver-sc29y7gj.js} +22 -22
- package/dist/chunks/{repository-kpqs54h7.js → model-resolver-sf3bhtkb.js} +27 -27
- package/dist/chunks/{repository-zz37z2qt.js → model-resolver-sf66h50n.js} +3 -3
- package/dist/chunks/{repository-k53npxr2.js → model-resolver-sfntmzm9.js} +1 -1
- package/dist/chunks/{repository-e3z9p67s.js → model-resolver-sk9r5ttv.js} +23 -23
- package/dist/chunks/{repository-st0xa5p1.js → model-resolver-snqzjp2x.js} +26 -26
- package/dist/chunks/{repository-5y4gd2sb.js → model-resolver-sr97vwy6.js} +11 -11
- package/dist/chunks/{repository-6s8c70gj.js → model-resolver-srpj3tpa.js} +48 -48
- package/dist/chunks/{repository-9xfpc63v.js → model-resolver-stn6csqj.js} +20 -20
- package/dist/chunks/{repository-2zy9bvam.js → model-resolver-sv5s01x5.js} +27 -27
- package/dist/chunks/{repository-r5m1ty2t.js → model-resolver-t1gsh4a5.js} +48 -48
- package/dist/chunks/{repository-8pnn1d33.js → model-resolver-t34y2eq7.js} +42 -42
- package/dist/chunks/{repository-ydx1ak1r.js → model-resolver-t3tp408p.js} +17 -17
- package/dist/chunks/{repository-rhjbct0v.js → model-resolver-t550f9t1.js} +4 -4
- package/dist/chunks/{repository-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{repository-w7t1fehg.js → model-resolver-tj92sfh7.js} +11 -11
- package/dist/chunks/{repository-9vrq4vn2.js → model-resolver-tmw06j42.js} +9 -9
- package/dist/chunks/{repository-0z8rxnnb.js → model-resolver-tstsgrrw.js} +8 -8
- package/dist/chunks/{repository-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-1p9j9tg9.js → model-resolver-typghqfk.js} +4 -4
- package/dist/chunks/{repository-2gy1bqwa.js → model-resolver-tyzdkfdt.js} +13 -13
- package/dist/chunks/{repository-tma09pjv.js → model-resolver-v1ykme1f.js} +13 -13
- package/dist/chunks/{repository-8z1vhx7d.js → model-resolver-v52chzj3.js} +24 -24
- package/dist/chunks/{repository-nf73ch59.js → model-resolver-v74wxkr3.js} +22 -22
- package/dist/chunks/{repository-g9apv6nb.js → model-resolver-vaqs8gs2.js} +5 -5
- package/dist/chunks/{repository-r52g2zhe.js → model-resolver-vcrm0pnt.js} +4 -4
- package/dist/chunks/{repository-n96r89fz.js → model-resolver-vegycmpw.js} +17 -17
- package/dist/chunks/{repository-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-fw5xg2y4.js → model-resolver-vj8gdh7j.js} +38 -38
- package/dist/chunks/{repository-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-c4ppv1by.js → model-resolver-w7nphhe6.js} +3 -3
- package/dist/chunks/{repository-apzhk4s8.js → model-resolver-w9tzyeh2.js} +6 -6
- package/dist/chunks/{repository-wd3x2cqz.js → model-resolver-wd3x2cqz.js} +2 -2
- package/dist/chunks/{repository-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{repository-bd71zrs1.js → model-resolver-wg2wgzge.js} +22 -22
- package/dist/chunks/{repository-a4fnzf47.js → model-resolver-whmghete.js} +1 -1
- package/dist/chunks/{repository-42swhqez.js → model-resolver-wkpvktmd.js} +7 -7
- package/dist/chunks/{repository-gfwr3rnv.js → model-resolver-wpnzqk7a.js} +7 -7
- package/dist/chunks/{repository-9rgfjqpd.js → model-resolver-wymn1sd1.js} +10 -10
- package/dist/chunks/{repository-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-rbmmr3kj.js → model-resolver-x206tq9p.js} +24 -24
- package/dist/chunks/{repository-kgj7nn0t.js → model-resolver-x6jzm7sq.js} +10 -10
- package/dist/chunks/{repository-5t7jqs97.js → model-resolver-xfw9zcsv.js} +26 -26
- package/dist/chunks/{repository-0qs0ha18.js → model-resolver-xhp06ph4.js} +13 -13
- package/dist/chunks/{repository-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
- package/dist/chunks/{repository-fsf6v8qm.js → model-resolver-xsym2eej.js} +165 -165
- package/dist/chunks/{repository-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-npg39zw6.js → model-resolver-y4838870.js} +20 -20
- package/dist/chunks/{repository-hkqypw3r.js → model-resolver-y6ttb9wj.js} +43 -43
- package/dist/chunks/{repository-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{repository-qxmaq0sm.js → model-resolver-y72zmemf.js} +8 -8
- package/dist/chunks/{repository-h7gb4ryr.js → model-resolver-yg5p90v9.js} +1 -1
- package/dist/chunks/{repository-hcz3zddy.js → model-resolver-yjptyezs.js} +5 -5
- package/dist/chunks/{repository-yp2x3t23.js → model-resolver-yp2x3t23.js} +1 -1
- package/dist/chunks/{repository-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-nxhqveyz.js → model-resolver-yt0fqk68.js} +5 -5
- package/dist/chunks/{repository-b4vexebs.js → model-resolver-ytvzg9pg.js} +26 -26
- package/dist/chunks/{repository-z07pqspn.js → model-resolver-z07pqspn.js} +3 -3
- package/dist/chunks/{repository-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-0paz3kdb.js → model-resolver-z4px6pj1.js} +17 -17
- package/dist/chunks/{repository-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-2rscg1y3.js → model-resolver-z6b4caet.js} +12 -12
- package/dist/chunks/{repository-dwdeeedv.js → model-resolver-z85c6j0e.js} +37 -37
- package/dist/chunks/model-resolver-z8ynyk0a.js +511 -0
- package/dist/chunks/{repository-a7hkkdqn.js → model-resolver-zds2rnmv.js} +9 -9
- package/dist/chunks/{repository-0xezjjjn.js → model-resolver-ze75yzft.js} +8 -8
- package/dist/chunks/{repository-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-8b72xbs9.js → model-resolver-zv1jk2zx.js} +24 -24
- package/dist/chunks/{repository-3rh9rajd.js → model-resolver-zv2w3gwr.js} +11 -11
- package/dist/chunks/{repository-zvt5dnpc.js → model-resolver-zvt5dnpc.js} +1 -1
- package/dist/chunks/{repository-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-8x661zms.js → model-resolver-zzqe82vy.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +8 -8
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- 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 +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +78 -78
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +94 -94
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +100 -100
- package/dist/snapshot.js +89 -89
- 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 +123 -123
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/repository-0mesazry.js +0 -4
- package/dist/chunks/repository-619r8v3y.js +0 -18
- package/dist/chunks/repository-hbyaebar.js +0 -511
- package/dist/chunks/repository-tewh99a4.js +0 -26
- package/dist/chunks/repository-vgmd07b2.js +0 -252
- /package/dist/chunks/{repository-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service79,
|
|
18
|
+
node82
|
|
19
|
+
} from "./model-resolver-t3tp408p.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service83,
|
|
22
|
+
node86
|
|
23
|
+
} from "./model-resolver-snqzjp2x.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service78,
|
|
33
|
+
node: () => node81
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service78,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node81,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service78 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
|
+
const workspace = yield* Service83;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service78.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node81 = makeLocationNode({
|
|
71
|
+
service: Service78,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node82, node86]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service78, node81, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./model-resolver-9g2t5fv6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./model-resolver-t1gsh4a5.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin42
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin42 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service42;
|
|
26
|
+
const permission = yield* Service57;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin11 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin42, exports_mcp_resource };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node84
|
|
7
|
+
} from "./model-resolver-azeyjv65.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-m5m12nva.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service82,
|
|
17
|
+
node85
|
|
18
|
+
} from "./model-resolver-4c5t4vfv.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-wd3x2cqz.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-94ek1h2f.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
ID16,
|
|
27
|
+
NotFoundError11
|
|
28
|
+
} from "./model-resolver-y6ttb9wj.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Ref4
|
|
31
|
+
} from "./model-resolver-t3tp408p.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service62,
|
|
34
|
+
node65
|
|
35
|
+
} from "./model-resolver-sr97vwy6.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-resolver-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
41
|
make12
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./model-resolver-5pemj9ar.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service24
|
|
45
|
+
} from "./model-resolver-0706z96g.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
52
52
|
__export(exports_worktree2, {
|
|
53
|
-
CreateInput: () =>
|
|
53
|
+
CreateInput: () => CreateInput2,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event5,
|
|
57
|
+
Info: () => Info4,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service23,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node26
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -77,13 +77,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
77
77
|
import { ChildProcess } from "effect/unstable/process";
|
|
78
78
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
|
-
var
|
|
80
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info4 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
86
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
86
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -94,22 +94,22 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event5 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service23 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service82;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
107
|
+
const locations = yield* Service62;
|
|
108
108
|
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
112
|
-
return yield* new
|
|
112
|
+
return yield* new NotFoundError11({ projectID });
|
|
113
113
|
return row;
|
|
114
114
|
});
|
|
115
115
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -118,13 +118,13 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
118
118
|
if (current?.directory === directory)
|
|
119
119
|
return current.get();
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
|
-
const context = yield* locations.contextEffect(
|
|
121
|
+
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service24).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event5.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service23.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node26 = Node.makeGlobalNode({
|
|
265
|
+
service: Service23,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node84, node85, node88, AppProcess.node, node65]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2,
|
|
277
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service23, node26, exports_worktree2, OperationError2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-50mzsvk4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info13
|
|
9
|
+
} from "./model-resolver-nbzsj80d.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Info12
|
|
15
|
-
} from "./repository-v5dkyp31.js";
|
|
11
|
+
Info18
|
|
12
|
+
} from "./model-resolver-2f0bjgcj.js";
|
|
16
13
|
import {
|
|
17
14
|
Info15
|
|
18
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-g8d3gcyj.js";
|
|
19
16
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
17
|
+
Info17
|
|
18
|
+
} from "./model-resolver-yt0fqk68.js";
|
|
22
19
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
20
|
+
Spec2
|
|
21
|
+
} from "./model-resolver-2k8khapm.js";
|
|
25
22
|
import {
|
|
26
23
|
Info11
|
|
27
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-yjptyezs.js";
|
|
25
|
+
import {
|
|
26
|
+
Info9
|
|
27
|
+
} from "./model-resolver-gcg1yrj4.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-resolver-typghqfk.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info18, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info17, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info11, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin32,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin32 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin32, exports_tool_input_repair };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./model-resolver-4c5t4vfv.js";
|
|
5
5
|
import {
|
|
6
6
|
Event19,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service73,
|
|
8
|
+
node76
|
|
9
|
+
} from "./model-resolver-68z8xbqp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service54,
|
|
12
|
+
node56
|
|
13
|
+
} from "./model-resolver-kjesjdjk.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node82
|
|
20
|
+
} from "./model-resolver-t3tp408p.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-7w8r2k62.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-22qs65eb.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service61,
|
|
36
|
+
Event14,
|
|
37
|
+
node64
|
|
38
|
+
} from "./model-resolver-n01f24md.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service53,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer20,
|
|
53
|
+
node: () => node55,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options7 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service53 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service53, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
96
|
+
const location = yield* Service79;
|
|
97
|
+
const watcher = yield* Service54;
|
|
98
|
+
const bus = yield* Service82;
|
|
99
|
+
const credentials = yield* Service73;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service61;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -222,7 +222,7 @@ var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
224
|
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
-
yield* bus.subscribe(
|
|
225
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service53.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured7(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service53,
|
|
268
|
+
layer: layer20(options),
|
|
269
|
+
deps: [node56, node85, FSUtil.node, Global.node, node82, node76, node64]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node55 = configured7();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options7, Service53, Test2, testLayer2, layer20, configured7, node55, exports_config };
|