@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
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node87,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node87 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node87, exports_driver };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./model-resolver-gawe0pa8.js";
|
|
4
4
|
import {
|
|
5
5
|
Service30
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-52b8xadt.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
23
|
const sessions = yield* Service30;
|
|
24
|
-
const jobs = yield*
|
|
24
|
+
const jobs = yield* Service50;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make9 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./model-resolver-v52chzj3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./model-resolver-t1gsh4a5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin51 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service74;
|
|
57
|
+
const permission = yield* Service57;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service62,
|
|
3
|
+
node65,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-sr97vwy6.js";
|
|
6
6
|
import {
|
|
7
7
|
Service47,
|
|
8
8
|
node49
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-2a6rn6yr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service16
|
|
12
|
+
} from "./model-resolver-vj8gdh7j.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-as3mn4aa.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service62, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service16);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -58,7 +58,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node65.replace(Layer.succeed(Service62, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-srpj3tpa.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service47
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-2a6rn6yr.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-97fmyryk.js";
|
|
10
10
|
import {
|
|
11
11
|
Service48
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-tstsgrrw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./model-resolver-86gv9yex.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service13
|
|
6
|
+
} from "./model-resolver-k1qrnqst.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin12
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin12 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service53;
|
|
29
|
+
const managed = yield* Service13;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin38 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin12, exports_policy };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./model-resolver-4c5t4vfv.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event13,
|
|
18
|
+
ID: () => ID8,
|
|
19
|
+
Info: () => Info22,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service60,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node62
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event13 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID8 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID8.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info22 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service60 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service82;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info22.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID8.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service60.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID8.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID8.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node62 = makeLocationNode({ service: Service60, layer, deps: [node85, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID8, Name3, defaultID2, Color2, Info22, Service60, node62, exports_agent4, Event13 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./model-resolver-t1gsh4a5.js";
|
|
4
4
|
import {
|
|
5
5
|
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
9
|
Service48
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-tstsgrrw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input5,
|
|
19
|
+
Output: () => Output3,
|
|
20
|
+
Plugin: () => Plugin41,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name5,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name5 = "skill";
|
|
30
|
+
var Input5 = Schema.Struct({
|
|
31
31
|
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output3 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description2 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin41 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const skills = yield* Service48;
|
|
51
|
-
const permission = yield*
|
|
51
|
+
const permission = yield* Service57;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name5,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input5,
|
|
57
|
+
output: Output3,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name5,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin3 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name5, Input5, Output3, description3, toModelOutput2, Plugin41, exports_skill3 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./model-resolver-4c5t4vfv.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
ID13,
|
|
11
|
+
Service72,
|
|
12
|
+
node75,
|
|
13
13
|
Event18
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-fhbtmvm6.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-4dgbcxzg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node82
|
|
21
|
+
} from "./model-resolver-t3tp408p.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
40
|
+
Event: () => Event17,
|
|
41
41
|
ID: () => ID12,
|
|
42
|
-
Info: () =>
|
|
42
|
+
Info: () => Info26,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
45
|
Request: () => Request3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service71,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node74,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,7 +64,7 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
67
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
68
|
var ID12 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -210,9 +210,9 @@ var Request3 = Provider.Request;
|
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info26 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service71 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
229
|
-
const bus = yield*
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
228
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
229
|
+
const bus = yield* Service82;
|
|
230
|
+
const integrations = yield* Service72;
|
|
231
|
+
const location = yield* Service79;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info26.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -347,7 +347,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
349
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
-
return
|
|
350
|
+
return Service71.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node74 = makeLocationNode({ service: Service71, layer, deps: [node85, node75, node82] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info26, Service71, node74, exports_provider3, Event17 };
|