@opencode/core 0.0.0-dev-19561 → 0.0.0-dev-19562
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{app-djhgwtj8.js → model-resolver-00e8a32v.js} +7 -7
- package/dist/chunks/{app-5z426dhq.js → model-resolver-00n9sm3e.js} +11 -11
- package/dist/chunks/{app-2k8khapm.js → model-resolver-0jwsre1p.js} +5 -5
- package/dist/chunks/{app-zc923k6h.js → model-resolver-0mqwdcna.js} +31 -31
- package/dist/chunks/{app-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{app-0zeytkd6.js → model-resolver-0r7yqxbf.js} +5 -5
- package/dist/chunks/{app-j83byb14.js → model-resolver-0v53mg2y.js} +4 -4
- package/dist/chunks/{app-9s9rwn5z.js → model-resolver-13ggeyh8.js} +8 -8
- package/dist/chunks/{app-r1wvay4d.js → model-resolver-14fxtwre.js} +55 -55
- package/dist/chunks/{app-as64xgvx.js → model-resolver-15abmk5b.js} +20 -20
- package/dist/chunks/{app-1bbkgx8g.js → model-resolver-1bbkgx8g.js} +1 -1
- package/dist/chunks/{app-nx7mgqwr.js → model-resolver-1cn8af6j.js} +17 -17
- package/dist/chunks/{app-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-8de9g2wa.js → model-resolver-1xzg4q7f.js} +8 -8
- package/dist/chunks/{app-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{app-6h73sxmp.js → model-resolver-2402vzrj.js} +5 -5
- package/dist/chunks/{app-eymr46he.js → model-resolver-24p1656x.js} +33 -33
- package/dist/chunks/{app-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-rph3zd4r.js → model-resolver-2d57kztd.js} +4 -4
- package/dist/chunks/{app-mew188h6.js → model-resolver-2jb6wffc.js} +32 -32
- package/dist/chunks/{app-xhgrbxjr.js → model-resolver-2ps3j6a4.js} +27 -27
- package/dist/chunks/{app-qkk52kd6.js → model-resolver-2rwb14mb.js} +2 -2
- package/dist/chunks/{app-j92hx5ks.js → model-resolver-390mr0wc.js} +3 -3
- package/dist/chunks/{app-rs3tpxgz.js → model-resolver-3a0pq44c.js} +11 -11
- package/dist/chunks/{app-dx9cm0t0.js → model-resolver-3aa2qh1v.js} +14 -14
- package/dist/chunks/{app-axqjetvy.js → model-resolver-3adkf2hq.js} +28 -28
- package/dist/chunks/{app-k6qndfad.js → model-resolver-3ccz5h33.js} +28 -28
- package/dist/chunks/{app-ds9cym46.js → model-resolver-3f15rfkp.js} +6 -6
- package/dist/chunks/{app-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-21spz6s2.js → model-resolver-472r768p.js} +3 -3
- package/dist/chunks/{app-4c7t2hb3.js → model-resolver-49sc2kz0.js} +9 -9
- package/dist/chunks/{app-vcjpx2p6.js → model-resolver-4cfrandj.js} +61 -61
- package/dist/chunks/{app-e5batswc.js → model-resolver-4hdjqv5n.js} +23 -23
- package/dist/chunks/{app-79by68xe.js → model-resolver-4j4p0yst.js} +9 -9
- package/dist/chunks/{app-9y8671sk.js → model-resolver-4w79hth0.js} +11 -11
- package/dist/chunks/{app-zjxmyx9h.js → model-resolver-4y9xcd5s.js} +18 -18
- package/dist/chunks/{app-3q9crshv.js → model-resolver-50spkatp.js} +1 -1
- package/dist/chunks/{app-kpvyk30t.js → model-resolver-52vrzpkh.js} +9 -9
- package/dist/chunks/{app-56gdpj1q.js → model-resolver-56gdpj1q.js} +2 -2
- package/dist/chunks/{app-btxxvpyy.js → model-resolver-5907cmhj.js} +14 -14
- package/dist/chunks/{app-tf7xy0nv.js → model-resolver-5cneagdz.js} +15 -15
- package/dist/chunks/{app-ymk0y6rr.js → model-resolver-5d9hgq6a.js} +22 -22
- package/dist/chunks/{app-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{app-ebk5y3wp.js → model-resolver-5pqk165g.js} +12 -12
- package/dist/chunks/{app-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-1e7h8b71.js → model-resolver-5w049mzn.js} +17 -17
- package/dist/chunks/{app-b99ewpxx.js → model-resolver-61rt74dg.js} +11 -11
- package/dist/chunks/{app-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{app-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{app-7jf3rx6v.js → model-resolver-6q8410ef.js} +13 -13
- package/dist/chunks/{app-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
- package/dist/chunks/{app-v0vna0hr.js → model-resolver-76wy3d38.js} +25 -25
- package/dist/chunks/{app-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-3n9gdh1k.js → model-resolver-7gwa0hgg.js} +9 -9
- package/dist/chunks/{app-99sec61k.js → model-resolver-7kzjj59j.js} +6 -6
- package/dist/chunks/{app-4tgepgz2.js → model-resolver-7qpx1xb8.js} +46 -46
- package/dist/chunks/{app-v4tagf9s.js → model-resolver-7srvnxx8.js} +4 -4
- package/dist/chunks/{app-kcw8n58a.js → model-resolver-7yhtqe52.js} +6 -6
- package/dist/chunks/{app-xfd3m1ss.js → model-resolver-7z0etnq8.js} +9 -9
- package/dist/chunks/{app-265kqrgy.js → model-resolver-84r56gr5.js} +1 -1
- package/dist/chunks/{app-tcezcvh9.js → model-resolver-89znhe33.js} +4 -4
- package/dist/chunks/{app-bpccfqd3.js → model-resolver-8as59qyc.js} +12 -12
- package/dist/chunks/{app-qs7kc60q.js → model-resolver-8cj6vp2e.js} +8 -8
- package/dist/chunks/{app-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-s0j1fbfd.js → model-resolver-8jnsm5sz.js} +4 -4
- package/dist/chunks/{app-te6cpsjw.js → model-resolver-8nk5pr3x.js} +4 -4
- package/dist/chunks/{app-dj2t23y0.js → model-resolver-8p4f9s12.js} +2 -2
- package/dist/chunks/{app-sgr3arpp.js → model-resolver-8q68r2wm.js} +41 -41
- package/dist/chunks/{app-wmsmh04t.js → model-resolver-8ra0ktpd.js} +1 -1
- package/dist/chunks/{app-j6kg5r8z.js → model-resolver-94jd98dy.js} +11 -11
- package/dist/chunks/{app-wp14g9ps.js → model-resolver-97c56c16.js} +30 -30
- package/dist/chunks/{app-z88hp0aa.js → model-resolver-9anxe710.js} +4 -4
- package/dist/chunks/{app-d1r29v35.js → model-resolver-9gh4k6y6.js} +5 -5
- package/dist/chunks/{app-knb92ksz.js → model-resolver-9qc5egqb.js} +6 -6
- package/dist/chunks/{app-z5ptqwzc.js → model-resolver-9xpp069q.js} +22 -22
- package/dist/chunks/{app-c25j16b6.js → model-resolver-9ynvy50g.js} +17 -17
- package/dist/chunks/{app-6fmew5e2.js → model-resolver-a10qfg7z.js} +13 -13
- package/dist/chunks/{app-5c4hm403.js → model-resolver-a1bz86dw.js} +3 -3
- package/dist/chunks/{app-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{app-cbxv00zf.js → model-resolver-aawxrc71.js} +5 -5
- package/dist/chunks/{app-d9yh24m3.js → model-resolver-ae2xf8y7.js} +41 -41
- package/dist/chunks/{app-k8f4e1q1.js → model-resolver-agnae2h9.js} +15 -15
- package/dist/chunks/{app-79a0b5rg.js → model-resolver-ah1s8aaq.js} +96 -96
- package/dist/chunks/{app-hax2xkfs.js → model-resolver-ajpf6mah.js} +6 -6
- package/dist/chunks/{app-tqkfp8mb.js → model-resolver-b1k5mb32.js} +23 -23
- package/dist/chunks/{app-pkaeh3jp.js → model-resolver-b21wsm0h.js} +11 -11
- package/dist/chunks/{app-2k6rfqm0.js → model-resolver-b4ymjb7p.js} +37 -37
- package/dist/chunks/{app-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-g1ww8e3f.js → model-resolver-b9dtzdzx.js} +15 -15
- package/dist/chunks/{app-7bdqzs13.js → model-resolver-ba05va59.js} +27 -27
- package/dist/chunks/{app-tnpb702e.js → model-resolver-ba67t4eh.js} +18 -18
- package/dist/chunks/{app-t29fdsch.js → model-resolver-baajpyvs.js} +26 -26
- package/dist/chunks/{app-sbvg55hg.js → model-resolver-bh23canw.js} +10 -10
- package/dist/chunks/{app-8mv32mqt.js → model-resolver-bw3m288y.js} +47 -47
- package/dist/chunks/{app-zhmtbbwy.js → model-resolver-c20v218m.js} +21 -21
- package/dist/chunks/{app-4xd8swbf.js → model-resolver-c2nzhxaj.js} +11 -11
- package/dist/chunks/{app-wjbb3v96.js → model-resolver-c7ssnmaj.js} +2 -2
- package/dist/chunks/{app-4ske52ay.js → model-resolver-cdqcdd4q.js} +4 -4
- package/dist/chunks/{app-m0jqrx5p.js → model-resolver-cfpkc3c9.js} +2 -2
- package/dist/chunks/{app-95fq9yxk.js → model-resolver-ck5d9zpy.js} +10 -10
- package/dist/chunks/{app-4vf9gwg8.js → model-resolver-cq37gk0t.js} +4 -4
- package/dist/chunks/{app-jvf3yq6v.js → model-resolver-ctmr8zqa.js} +4 -4
- package/dist/chunks/{app-1mt2ceq3.js → model-resolver-d9hjbqwg.js} +7 -7
- package/dist/chunks/{app-1f9kgyzc.js → model-resolver-d9mtv62x.js} +28 -28
- package/dist/chunks/{app-b3f68z6w.js → model-resolver-dcf7e85t.js} +6 -6
- package/dist/chunks/{app-gpsmm3ta.js → model-resolver-ddj422qv.js} +26 -26
- package/dist/chunks/{app-844ef7ks.js → model-resolver-dgj0dq1g.js} +8 -8
- package/dist/chunks/{app-nk310e7d.js → model-resolver-dhtkj142.js} +10 -10
- package/dist/chunks/{app-ngybnnec.js → model-resolver-dj4cd8g6.js} +41 -41
- package/dist/chunks/{app-5msnf33t.js → model-resolver-drq8acbn.js} +15 -15
- package/dist/chunks/{app-7x2xfc77.js → model-resolver-dsavrnz6.js} +11 -11
- package/dist/chunks/{app-e5nv3ght.js → model-resolver-e5nv3ght.js} +2 -2
- package/dist/chunks/model-resolver-e6q3pz3t.js +76 -0
- package/dist/chunks/{app-qrr9kfam.js → model-resolver-e6qnhjcz.js} +20 -20
- package/dist/chunks/{app-nhy5jxhy.js → model-resolver-e82z9tr0.js} +7 -7
- package/dist/chunks/{app-c5gn303e.js → model-resolver-ec8389mk.js} +4 -4
- package/dist/chunks/{app-kcvdw7hq.js → model-resolver-egap6qp7.js} +25 -25
- package/dist/chunks/{app-xaxvdqwz.js → model-resolver-ehav94k5.js} +19 -19
- package/dist/chunks/{app-ysp9ar34.js → model-resolver-eq6j5b08.js} +41 -41
- package/dist/chunks/{app-t1wwgba0.js → model-resolver-eq724rxw.js} +29 -29
- package/dist/chunks/{app-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-dpcg14ab.js → model-resolver-f2b3pcdc.js} +45 -45
- package/dist/chunks/{app-f2n192rq.js → model-resolver-f2n192rq.js} +1 -1
- package/dist/chunks/{app-qj8eh1ht.js → model-resolver-f3ngv102.js} +4 -4
- package/dist/chunks/{app-hdnk95c8.js → model-resolver-f828m53h.js} +2 -2
- package/dist/chunks/{app-3qamp8r0.js → model-resolver-fbwxg4d7.js} +33 -33
- package/dist/chunks/{app-nfbtqdky.js → model-resolver-fc7q7xy2.js} +30 -30
- package/dist/chunks/{app-962tx2qa.js → model-resolver-fff2ww6r.js} +22 -22
- package/dist/chunks/model-resolver-fj1dxc35.js +466 -0
- package/dist/chunks/{app-4xqwm4r2.js → model-resolver-fke1fcjd.js} +4 -4
- package/dist/chunks/{app-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-sgvj2xz6.js → model-resolver-g1amre2a.js} +22 -22
- package/dist/chunks/model-resolver-ga8867b0.js +26 -0
- package/dist/chunks/{app-0yxmk81s.js → model-resolver-gapn44fz.js} +22 -22
- package/dist/chunks/{app-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-3fc6dm20.js → model-resolver-gdvy8fx6.js} +4 -4
- package/dist/chunks/{app-219neeqh.js → model-resolver-gea7vc3h.js} +5 -5
- package/dist/chunks/{app-gq1a1j0q.js → model-resolver-gfraf4kn.js} +30 -30
- package/dist/chunks/{app-kaph4dp2.js → model-resolver-gh1at4hc.js} +18 -18
- package/dist/chunks/{app-19d3sct9.js → model-resolver-gv6a8nnw.js} +5 -5
- package/dist/chunks/{app-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
- package/dist/chunks/{app-ctzssw83.js → model-resolver-h10s6dah.js} +8 -8
- package/dist/chunks/{app-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-kkgs1rnq.js → model-resolver-h9h2cf90.js} +10 -10
- package/dist/chunks/{app-drhmh129.js → model-resolver-hk2b1w8q.js} +91 -91
- package/dist/chunks/model-resolver-ht5y0zrb.js +18 -0
- package/dist/chunks/{app-dd52qhkk.js → model-resolver-hwt2n11x.js} +25 -25
- package/dist/chunks/{app-h4wmnrav.js → model-resolver-hxnmyzpz.js} +16 -16
- package/dist/chunks/{app-r3ft6425.js → model-resolver-j4h9n0kh.js} +25 -25
- package/dist/chunks/{app-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{app-v2f6dcv3.js → model-resolver-j699j8bt.js} +2 -2
- package/dist/chunks/{app-1wnf822w.js → model-resolver-j8egexsa.js} +4 -4
- package/dist/chunks/{app-q0g9019d.js → model-resolver-jb1x2pah.js} +23 -23
- package/dist/chunks/{app-5fasnjbz.js → model-resolver-jcabrnmj.js} +16 -16
- package/dist/chunks/{app-k91vn9qt.js → model-resolver-jz0gg2wa.js} +13 -13
- package/dist/chunks/{app-2v2p0zkw.js → model-resolver-jzz0khf2.js} +9 -9
- package/dist/chunks/{app-kragzxm7.js → model-resolver-k43t2cp1.js} +8 -8
- package/dist/chunks/{app-qtfeymnv.js → model-resolver-k5z1e6p1.js} +7 -7
- package/dist/chunks/{app-815rpf75.js → model-resolver-kbhm0m0a.js} +20 -20
- package/dist/chunks/{app-6ytr2r1k.js → model-resolver-kdqbr4kj.js} +5 -5
- package/dist/chunks/{app-n863r4pp.js → model-resolver-kenhkcqf.js} +34 -34
- package/dist/chunks/{app-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
- package/dist/chunks/{app-wmwr0kv0.js → model-resolver-kpcpvznn.js} +24 -29
- package/dist/chunks/{app-3z9f67a4.js → model-resolver-m1j7qv8x.js} +27 -27
- package/dist/chunks/{app-qrv0hc0e.js → model-resolver-m1n5w1f6.js} +10 -10
- package/dist/chunks/{app-p1yhy00c.js → model-resolver-m3e6h5hy.js} +12 -12
- package/dist/chunks/{app-2e9kmw2e.js → model-resolver-m60j7x9s.js} +8 -8
- package/dist/chunks/{app-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-s1w7wtw7.js → model-resolver-mbk19yfb.js} +20 -20
- package/dist/chunks/{app-fen7mw99.js → model-resolver-mcrwpmnc.js} +8 -8
- package/dist/chunks/{app-1hc11dc4.js → model-resolver-mfhfdr54.js} +4 -4
- package/dist/chunks/{app-wafhz9z5.js → model-resolver-mp0nztn2.js} +16 -16
- package/dist/chunks/{app-a2re09g1.js → model-resolver-mqz2skd6.js} +22 -22
- package/dist/chunks/{app-m44y384t.js → model-resolver-mx83bqr4.js} +11 -11
- package/dist/chunks/{app-p9bng2jk.js → model-resolver-my4mn6ec.js} +24 -24
- package/dist/chunks/{app-e7eq38wk.js → model-resolver-nfx74p92.js} +9 -9
- package/dist/chunks/{app-q4fmv0xv.js → model-resolver-nrk5vjbf.js} +5 -5
- package/dist/chunks/{app-e5teavnc.js → model-resolver-nv8khyte.js} +9 -9
- package/dist/chunks/{app-2c0gfpva.js → model-resolver-nvbchq6z.js} +11 -11
- package/dist/chunks/{app-70d2s7af.js → model-resolver-p0ydpdje.js} +1 -1
- package/dist/chunks/{app-0artwwxx.js → model-resolver-pbky73a2.js} +3 -3
- package/dist/chunks/{app-3f1qtj92.js → model-resolver-ph0q5yay.js} +6 -6
- package/dist/chunks/{app-mkw2wvv0.js → model-resolver-pjsmk15p.js} +17 -17
- package/dist/chunks/{app-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-9vs0xtad.js → model-resolver-pk2244jm.js} +3 -3
- package/dist/chunks/{app-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{app-3aabf6yx.js → model-resolver-pmqmstmj.js} +24 -24
- package/dist/chunks/{app-4m51zt69.js → model-resolver-pp4zvqwf.js} +9 -9
- package/dist/chunks/{app-z436s2b4.js → model-resolver-prmjvc7r.js} +12 -12
- package/dist/chunks/{app-3p827y1v.js → model-resolver-prw92f66.js} +18 -18
- package/dist/chunks/{app-9wgnr44e.js → model-resolver-ps320bc5.js} +11 -11
- package/dist/chunks/{app-0ayjakrc.js → model-resolver-ptz3r4n8.js} +51 -51
- package/dist/chunks/{app-yt5vak3w.js → model-resolver-pvpa96jk.js} +24 -24
- package/dist/chunks/{app-xg6w0apm.js → model-resolver-qbybakcq.js} +47 -47
- package/dist/chunks/{app-0c36z3qz.js → model-resolver-qff9k35d.js} +11 -11
- package/dist/chunks/{app-4fgsg95c.js → model-resolver-qfw3ezrb.js} +22 -22
- package/dist/chunks/{app-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{app-99xay3p1.js → model-resolver-qvb3nf84.js} +8 -8
- package/dist/chunks/{app-30c1nq7z.js → model-resolver-r01t9b5y.js} +4 -4
- package/dist/chunks/{app-y47n03xn.js → model-resolver-r0jzbrht.js} +19 -19
- package/dist/chunks/{app-3p1t101e.js → model-resolver-r345bmqf.js} +8 -8
- package/dist/chunks/{app-z263g23a.js → model-resolver-r4w7q595.js} +4 -4
- package/dist/chunks/{app-7039s2ae.js → model-resolver-r8mwk7t1.js} +34 -34
- package/dist/chunks/{app-r9mregkx.js → model-resolver-r9mregkx.js} +2 -2
- package/dist/chunks/{app-eaj1djv9.js → model-resolver-rhjbct0v.js} +8 -8
- package/dist/chunks/{app-pezvt5x4.js → model-resolver-rj1enhmn.js} +62 -62
- package/dist/chunks/{app-0nwgmm4h.js → model-resolver-rk0rec3h.js} +9 -9
- package/dist/chunks/{app-2s388hy2.js → model-resolver-rrh3wayh.js} +28 -28
- package/dist/chunks/{app-cvtmmhw6.js → model-resolver-rxjvbk8n.js} +1 -1
- package/dist/chunks/{app-xaq2s33m.js → model-resolver-rzyh5zbg.js} +18 -18
- package/dist/chunks/{app-nyzamb02.js → model-resolver-s04evagd.js} +18 -18
- package/dist/chunks/{app-y598pph1.js → model-resolver-s4vvta73.js} +11 -11
- package/dist/chunks/{app-ysancpsm.js → model-resolver-s6y5cb61.js} +32 -32
- package/dist/chunks/{app-tb89zjsd.js → model-resolver-s8zy8myc.js} +5 -5
- package/dist/chunks/{app-bb47nq2s.js → model-resolver-sn15zvqk.js} +17 -17
- package/dist/chunks/{app-t7scepzc.js → model-resolver-sna6xqnk.js} +29 -29
- package/dist/chunks/{app-ee0f5b90.js → model-resolver-sse3cj1p.js} +11 -11
- package/dist/chunks/{app-13yh26v0.js → model-resolver-ssg4d1r7.js} +23 -23
- package/dist/chunks/{app-v0rnkkan.js → model-resolver-stz44jcx.js} +24 -24
- package/dist/chunks/{app-e3mxans8.js → model-resolver-t0fxg8b9.js} +5 -5
- package/dist/chunks/{app-6hh8tjw2.js → model-resolver-t2fc4mz5.js} +4 -4
- package/dist/chunks/{app-488jmg72.js → model-resolver-t67bqcnn.js} +8 -8
- package/dist/chunks/{app-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{app-7g1vzt8j.js → model-resolver-tknyxa64.js} +35 -35
- package/dist/chunks/{app-f6h44vt5.js → model-resolver-tm5c6145.js} +6 -6
- package/dist/chunks/{app-0bed1fzj.js → model-resolver-tm80w73m.js} +15 -15
- package/dist/chunks/model-resolver-tp0yv4ge.js +247 -0
- package/dist/chunks/{app-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{app-p1wf2k30.js → model-resolver-twy35tz0.js} +9 -9
- package/dist/chunks/{app-j8v4na37.js → model-resolver-v4gzsxzt.js} +174 -174
- package/dist/chunks/{app-y8j74zyv.js → model-resolver-v7xck931.js} +12 -12
- package/dist/chunks/{app-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{app-z01ksdxp.js → model-resolver-vqv17xr0.js} +20 -20
- package/dist/chunks/{app-35wynegs.js → model-resolver-vywwb7xw.js} +2 -2
- package/dist/chunks/{app-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{app-ff0htmxq.js → model-resolver-vzm76b3t.js} +6 -6
- package/dist/chunks/{app-b6tnvp33.js → model-resolver-w39ek3wx.js} +13 -13
- package/dist/chunks/{app-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-h86eetsm.js → model-resolver-wc561s8t.js} +13 -13
- package/dist/chunks/{app-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{app-heqg70k2.js → model-resolver-wht86vv7.js} +23 -23
- package/dist/chunks/{app-7bt1mwkz.js → model-resolver-ws3jmg0w.js} +30 -30
- package/dist/chunks/{app-4s7s6hns.js → model-resolver-wtzjvpyk.js} +13 -13
- package/dist/chunks/{app-nv5vn7qx.js → model-resolver-wvmhx4nb.js} +8 -8
- package/dist/chunks/{app-jhvcngzp.js → model-resolver-ww2jdr25.js} +15 -15
- package/dist/chunks/{app-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-jc17n9gv.js → model-resolver-x60p6768.js} +32 -32
- package/dist/chunks/{app-grskzymy.js → model-resolver-xbwfmkd1.js} +3 -3
- package/dist/chunks/{app-q8qja58b.js → model-resolver-xekzrwwc.js} +9 -9
- package/dist/chunks/{app-33n3bzdy.js → model-resolver-xg954myy.js} +6 -6
- package/dist/chunks/{app-ez7tesda.js → model-resolver-xh8yz4jf.js} +11 -11
- package/dist/chunks/model-resolver-xrsqh21y.js +4 -0
- package/dist/chunks/{app-h9dy7g3k.js → model-resolver-xwqaakv5.js} +25 -25
- package/dist/chunks/{app-mz6ae2yf.js → model-resolver-xxj3pgp3.js} +1 -1
- package/dist/chunks/{app-mc3s7fb4.js → model-resolver-xyrnn15f.js} +47 -47
- package/dist/chunks/{app-1a0mjceb.js → model-resolver-xzqvznr8.js} +22 -22
- package/dist/chunks/{app-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-xrefmav4.js → model-resolver-y1xkgxqn.js} +6 -6
- package/dist/chunks/{app-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{app-d08jv58j.js → model-resolver-y7pd6vgd.js} +17 -17
- package/dist/chunks/{app-zzn8fca5.js → model-resolver-y8104vkb.js} +5 -5
- package/dist/chunks/{app-8am9vma6.js → model-resolver-yecv7nm8.js} +11 -11
- package/dist/chunks/{app-kv3ch0es.js → model-resolver-yef4v0b4.js} +63 -63
- package/dist/chunks/{app-wavq5vqb.js → model-resolver-yqtqx2tb.js} +1 -1
- package/dist/chunks/{app-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{app-0pb75hch.js → model-resolver-yrz8q0k0.js} +5 -5
- package/dist/chunks/{app-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{app-yk9xxxbm.js → model-resolver-yz1rwmdd.js} +16 -16
- package/dist/chunks/{app-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-gnz55c53.js → model-resolver-z0xf8849.js} +35 -35
- package/dist/chunks/{app-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{app-r0mcpz4e.js → model-resolver-ze55z754.js} +10 -10
- package/dist/chunks/{app-rq775frq.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{app-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-pbfzwbsy.js → model-resolver-ztye28yt.js} +13 -13
- package/dist/chunks/{app-9v3m3k6g.js → model-resolver-zwqxr9ac.js} +9 -9
- package/dist/chunks/{app-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{app-ndqtf2h8.js → model-resolver-zxrxjv84.js} +8 -8
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +140 -0
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -363
- 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 +86 -86
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +86 -86
- 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 +73 -73
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +91 -91
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +94 -94
- 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 +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -354
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -135
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -351
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +10 -10
- package/dist/models-dev.js +83 -83
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +119 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +81 -81
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +5 -5
- 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 +86 -86
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +89 -89
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +85 -85
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +9 -9
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +111 -111
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/config/plugin/compatibility.d.ts +5 -0
- package/dist/types/config/plugin/entry-observer.d.ts +1 -1
- package/dist/types/config.d.ts +10 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +3 -3
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +73 -73
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +342 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/app-0mesazry.js +0 -4
- package/dist/chunks/app-by5v678g.js +0 -18
- package/dist/chunks/app-dwkgsnj0.js +0 -462
- package/dist/chunks/app-h6ka0qq8.js +0 -26
- package/dist/chunks/app-se2r9bmm.js +0 -247
- /package/dist/chunks/{app-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{app-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-paphc93g.js → model-resolver-paphc93g.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./model-resolver-yef4v0b4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./model-resolver-4j4p0yst.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin18
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin18 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service46;
|
|
26
|
+
const image = yield* Service51;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin23 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin18, exports_image };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options6,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options6 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options6]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options6, Spec2, exports_plugin3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./model-resolver-yz1rwmdd.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-w39ek3wx.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError10,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service73,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured10,
|
|
25
|
+
layer: () => layer24,
|
|
26
|
+
node: () => node78
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError10 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service73 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service73, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service79;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError10({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service73.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer24 = makeLayer();
|
|
259
|
+
var configured10 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service73,
|
|
261
|
+
layer: options === undefined ? layer24 : makeLayer(options),
|
|
262
|
+
deps: [node84, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node78 = configured10();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError3, NotFoundError10, Service73, layer24, configured10, node78, exports_persistent_pty, Handoff2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info14 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info18 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info14, exports_provider2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info15
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info15 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info15, exports_skills };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info18
|
|
6
|
+
} from "./model-resolver-f3ngv102.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info13
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info18)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info13 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info13, exports_agent3 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./model-resolver-yz1rwmdd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service70,
|
|
7
|
+
node75
|
|
8
|
+
} from "./model-resolver-5w049mzn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service57,
|
|
12
|
+
node61
|
|
13
|
+
} from "./model-resolver-my4mn6ec.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError6
|
|
16
|
+
} from "./model-resolver-3f15rfkp.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service55,
|
|
19
|
+
node59
|
|
20
|
+
} from "./model-resolver-1cn8af6j.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service56,
|
|
26
|
+
node60
|
|
27
|
+
} from "./model-resolver-kbhm0m0a.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service58,
|
|
30
|
+
node62
|
|
31
|
+
} from "./model-resolver-1xzg4q7f.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event12,
|
|
46
|
+
ID: () => ID6,
|
|
47
|
+
NotFoundError: () => NotFoundError5,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service54,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node58
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event12 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID6 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -75,19 +75,19 @@ var RequestFields = {
|
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
|
-
var
|
|
78
|
+
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID6.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID9.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID6,
|
|
86
|
+
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID6,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError5 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID6
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service54 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service79;
|
|
132
|
+
const location = yield* Service70;
|
|
133
|
+
const agents = yield* Service57;
|
|
134
|
+
const sessions = yield* Service55;
|
|
135
|
+
const saved = yield* Service56;
|
|
136
|
+
const hooks = yield* Service58;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError6({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID6.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError5({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service54.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node58 = makeLocationNode({
|
|
289
|
+
service: Service54,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node84, node75, node61, node59, node60, node62]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service54, node58, exports_permission2, Rule3, Ruleset2, Event12 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-paphc93g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event9,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
|
+
Service: () => Service47,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
22
|
layer: () => layer21,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node51,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event9 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load2());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service47 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var layer21 = (options) => Layer.effect(
|
|
65
|
+
var layer21 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service47.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service47.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service47).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service47, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured7(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service47, layer: layer21(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node51 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event9, hasNativeBinding2, Native3, Options7, Service47, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured7, node51, exports_watcher };
|