@opencode/core 0.0.0-dev-20157 → 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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{repository-1bfc10mg.js → model-resolver-00yaqz7j.js} +18 -18
- package/dist/chunks/{repository-54cht2md.js → model-resolver-0706z96g.js} +19 -19
- package/dist/chunks/{repository-2531bb5a.js → model-resolver-0f0kaz2k.js} +11 -11
- package/dist/chunks/{repository-w4arg62q.js → model-resolver-0ft9cg2j.js} +4 -4
- package/dist/chunks/{repository-y14362pj.js → model-resolver-0grg8x1d.js} +15 -15
- package/dist/chunks/{repository-82rhge12.js → model-resolver-0jq9fyba.js} +9 -9
- package/dist/chunks/{repository-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-w3x6xwqj.js → model-resolver-0s2w903j.js} +1 -1
- package/dist/chunks/{repository-akcepp6y.js → model-resolver-0v1pwmed.js} +6 -6
- package/dist/chunks/{repository-qk5kxcbj.js → model-resolver-0vmm7rs7.js} +20 -20
- package/dist/chunks/{repository-cm0f77dr.js → model-resolver-0wvc14eb.js} +7 -7
- package/dist/chunks/{repository-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-y2sxsfvk.js → model-resolver-1kehk7jc.js} +14 -14
- package/dist/chunks/{repository-rkprpv83.js → model-resolver-1p07q0wb.js} +4 -4
- package/dist/chunks/{repository-htpfkpfv.js → model-resolver-206tr2x9.js} +3 -3
- package/dist/chunks/{repository-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{repository-3petje8f.js → model-resolver-22qs65eb.js} +3 -3
- package/dist/chunks/{repository-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
- package/dist/chunks/{repository-kma5cn94.js → model-resolver-24sm1qyr.js} +20 -20
- package/dist/chunks/{repository-p4w1wdw7.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-x5h44zm2.js → model-resolver-2bekqz3a.js} +13 -13
- package/dist/chunks/{repository-9xvq3m7s.js → model-resolver-2f0bjgcj.js} +5 -5
- package/dist/chunks/{repository-76eezes8.js → model-resolver-2htysf3r.js} +3 -3
- package/dist/chunks/{repository-2k8khapm.js → model-resolver-2k8khapm.js} +1 -1
- package/dist/chunks/{repository-4bqx1nme.js → model-resolver-2y80ys67.js} +14 -14
- package/dist/chunks/{repository-sqbb0ctm.js → model-resolver-38ys11y3.js} +5 -5
- package/dist/chunks/{repository-f5fspc7b.js → model-resolver-3918zp65.js} +6 -6
- 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-x4m537wk.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-3x8fysj4.js → model-resolver-3w074pk4.js} +22 -22
- package/dist/chunks/{repository-bm2y31hv.js → model-resolver-3zr4kwp4.js} +13 -13
- package/dist/chunks/{repository-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-ztjbcj90.js → model-resolver-44ykhczy.js} +45 -45
- package/dist/chunks/{repository-gqnw29hq.js → model-resolver-48dv6t9d.js} +13 -13
- package/dist/chunks/{repository-jvzh73h3.js → model-resolver-4arp3q20.js} +20 -20
- package/dist/chunks/{repository-3f66bwfz.js → model-resolver-4c5t4vfv.js} +14 -14
- package/dist/chunks/{repository-2nzc6ac3.js → model-resolver-4cpnk8xd.js} +4 -4
- package/dist/chunks/{repository-h6r3nrb9.js → model-resolver-4dgbcxzg.js} +4 -4
- package/dist/chunks/{repository-4t037ma6.js → model-resolver-4ffdv1a7.js} +13 -13
- package/dist/chunks/{repository-4j5v26y0.js → model-resolver-4g1652p2.js} +5 -5
- package/dist/chunks/{repository-nkcwakxz.js → model-resolver-4gycnsfp.js} +4 -4
- package/dist/chunks/{repository-2fgn2we9.js → model-resolver-4sn99hha.js} +5 -5
- package/dist/chunks/{repository-nz1w7233.js → model-resolver-4wsh9859.js} +22 -22
- package/dist/chunks/{repository-pnpn4wz1.js → model-resolver-4y596e4p.js} +15 -15
- package/dist/chunks/{repository-n4qk2p21.js → model-resolver-50g511xe.js} +5 -5
- package/dist/chunks/{repository-nrdmrqsx.js → model-resolver-50mzsvk4.js} +4 -4
- package/dist/chunks/{repository-6j3j64eb.js → model-resolver-52b8xadt.js} +80 -80
- package/dist/chunks/{repository-jjzf804t.js → model-resolver-56dkfrzf.js} +4 -4
- package/dist/chunks/{repository-drwq78ky.js → model-resolver-57b9ws8p.js} +5 -5
- package/dist/chunks/{repository-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-45g6rp4p.js → model-resolver-5pemj9ar.js} +6 -6
- package/dist/chunks/{repository-qn9vy89p.js → model-resolver-5qn1w087.js} +27 -27
- 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-bx3fq6aw.js → model-resolver-680vfc89.js} +11 -11
- package/dist/chunks/{repository-zxptzjm7.js → model-resolver-68z8xbqp.js} +23 -23
- package/dist/chunks/{repository-n34cz6pc.js → model-resolver-6f8s49am.js} +12 -12
- package/dist/chunks/model-resolver-6kdq0pjd.js +4 -0
- package/dist/chunks/{repository-sae9kgks.js → model-resolver-6ms63ajj.js} +11 -11
- package/dist/chunks/{repository-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-3zz7237p.js → model-resolver-6s4d8484.js} +6 -6
- package/dist/chunks/{repository-smxxsx11.js → model-resolver-6xb8k124.js} +10 -10
- package/dist/chunks/{repository-1xpzac98.js → model-resolver-7a04pq0x.js} +20 -20
- package/dist/chunks/{repository-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-t041a9x4.js → model-resolver-7h056913.js} +22 -22
- package/dist/chunks/{repository-atcwnc5a.js → model-resolver-7h4fmbdk.js} +31 -31
- package/dist/chunks/{repository-jb8f8bdw.js → model-resolver-7jbkg8gb.js} +28 -28
- package/dist/chunks/{repository-asvap28k.js → model-resolver-7jq3dafd.js} +22 -22
- package/dist/chunks/{repository-6t9zdyzr.js → model-resolver-7qygjkb5.js} +10 -10
- package/dist/chunks/{repository-www228tn.js → model-resolver-7re7g1jd.js} +43 -43
- package/dist/chunks/{repository-vsrax324.js → model-resolver-7w8r2k62.js} +24 -24
- package/dist/chunks/{repository-b7b4ctej.js → model-resolver-84zcxbc9.js} +5 -5
- package/dist/chunks/{repository-xm24773m.js → model-resolver-86gv9yex.js} +38 -38
- package/dist/chunks/{repository-mzvn4c0x.js → model-resolver-8c3w0b8b.js} +15 -15
- package/dist/chunks/{repository-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-rpbss5j3.js → model-resolver-8t84k4kw.js} +31 -31
- package/dist/chunks/{repository-rdmyapgx.js → model-resolver-90r4fb4b.js} +15 -15
- package/dist/chunks/{repository-hyyftsxg.js → model-resolver-91g4gbhj.js} +6 -6
- package/dist/chunks/{repository-94ek1h2f.js → model-resolver-94ek1h2f.js} +2 -2
- package/dist/chunks/{repository-yq9bhs5j.js → model-resolver-97fmyryk.js} +3 -3
- package/dist/chunks/{repository-e7ws6ec8.js → model-resolver-9g2t5fv6.js} +43 -43
- package/dist/chunks/{repository-ak8wweg5.js → model-resolver-9kmbd9mt.js} +2 -2
- package/dist/chunks/model-resolver-9sh4wc5j.js +18 -0
- package/dist/chunks/{repository-a8eh5f32.js → model-resolver-a0vyv8yz.js} +18 -18
- package/dist/chunks/{repository-f334w0pg.js → model-resolver-a46d7692.js} +31 -31
- package/dist/chunks/{repository-vrwms5ta.js → model-resolver-a46q39xd.js} +4 -4
- package/dist/chunks/{repository-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-m7byf6m1.js → model-resolver-acvggdgr.js} +28 -28
- package/dist/chunks/{repository-e59tsew2.js → model-resolver-amy9ev3g.js} +14 -14
- package/dist/chunks/{repository-8e412960.js → model-resolver-an4y2yf1.js} +24 -24
- package/dist/chunks/{repository-hx10j1ep.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-vp03n2p3.js → model-resolver-b1gxdpvp.js} +20 -20
- package/dist/chunks/{repository-sm84vfww.js → model-resolver-b2m4v72c.js} +12 -12
- package/dist/chunks/{repository-ftjt2372.js → model-resolver-b33searm.js} +6 -6
- package/dist/chunks/{repository-fp35vcn1.js → model-resolver-b5e2yk6d.js} +50 -50
- package/dist/chunks/{repository-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-21akxfrh.js → model-resolver-b9p5vg71.js} +70 -70
- package/dist/chunks/{repository-j83byb14.js → model-resolver-bct739vz.js} +4 -4
- package/dist/chunks/{repository-eahms454.js → model-resolver-bhfy7g21.js} +40 -40
- package/dist/chunks/{repository-stv887d7.js → model-resolver-bn78pb0y.js} +7 -7
- package/dist/chunks/{repository-580xkvb2.js → model-resolver-bwg4kr2v.js} +23 -23
- package/dist/chunks/{repository-prd1yc4e.js → model-resolver-c57ase6y.js} +26 -26
- package/dist/chunks/{repository-jsknnxm0.js → model-resolver-c6ea9mwp.js} +21 -21
- package/dist/chunks/{repository-ckecvw8r.js → model-resolver-ckecvw8r.js} +2 -2
- package/dist/chunks/{repository-djszqvmq.js → model-resolver-cwa6csj7.js} +9 -9
- package/dist/chunks/{repository-an66nx3z.js → model-resolver-czb8wht1.js} +40 -40
- package/dist/chunks/{repository-4gxz33t2.js → model-resolver-d440cxsn.js} +13 -13
- package/dist/chunks/{repository-hr9sx13n.js → model-resolver-d8p93nrm.js} +18 -18
- package/dist/chunks/{repository-ndz0f2pv.js → model-resolver-d981nn93.js} +14 -14
- package/dist/chunks/{repository-pca6s4fg.js → model-resolver-e0e0xvb3.js} +24 -24
- 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-qbqbaz6q.js → model-resolver-ermxvwhp.js} +4 -4
- package/dist/chunks/{repository-dh4q5s77.js → model-resolver-et83fa73.js} +11 -11
- package/dist/chunks/{repository-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-1z5ysepc.js → model-resolver-eznmshf9.js} +11 -11
- package/dist/chunks/{repository-svv95awx.js → model-resolver-fhbtmvm6.js} +26 -26
- package/dist/chunks/{repository-w6pxqv2r.js → model-resolver-fjzx8x1z.js} +12 -12
- package/dist/chunks/{repository-1khmhcax.js → model-resolver-fmyj3kws.js} +9 -9
- package/dist/chunks/{repository-2j74qy9w.js → model-resolver-fqp7qv4y.js} +4 -4
- package/dist/chunks/{repository-w3zzd7fq.js → model-resolver-ft2qew80.js} +16 -16
- package/dist/chunks/{repository-pa8pe2x7.js → model-resolver-g0445xdp.js} +8 -8
- package/dist/chunks/{repository-eyn5j564.js → model-resolver-g1wask2c.js} +11 -11
- package/dist/chunks/{repository-wtb2nkxw.js → model-resolver-g6szcc3v.js} +4 -4
- package/dist/chunks/{repository-fsbk27r1.js → model-resolver-g762atc6.js} +9 -9
- package/dist/chunks/{repository-sxz6gkc3.js → model-resolver-g8d3gcyj.js} +4 -4
- package/dist/chunks/{repository-v4028cvv.js → model-resolver-gawe0pa8.js} +13 -13
- package/dist/chunks/{repository-wjdksev2.js → model-resolver-gcg1yrj4.js} +43 -43
- package/dist/chunks/{repository-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-xqn8f2xc.js → model-resolver-gfpbexs2.js} +21 -21
- package/dist/chunks/{repository-0dtc7saj.js → model-resolver-gkz061q6.js} +7 -7
- package/dist/chunks/{repository-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-ch64seem.js → model-resolver-gy7dsj4k.js} +27 -27
- package/dist/chunks/{repository-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-21zq8aa1.js → model-resolver-ha607pgt.js} +6 -6
- package/dist/chunks/{repository-az4a6sax.js → model-resolver-havtyyxz.js} +84 -84
- package/dist/chunks/{repository-gwahz6hz.js → model-resolver-hb2fds8x.js} +13 -13
- package/dist/chunks/{repository-geakp29a.js → model-resolver-hbtqa4wz.js} +11 -11
- package/dist/chunks/{repository-mp5r29aw.js → model-resolver-hf3pz0b6.js} +8 -8
- package/dist/chunks/{repository-wbfjc2h1.js → model-resolver-hk1vpbmp.js} +12 -12
- package/dist/chunks/{repository-xkv170v4.js → model-resolver-hps07q8v.js} +19 -19
- package/dist/chunks/{repository-73tb2d7t.js → model-resolver-j028xdjb.js} +3 -3
- package/dist/chunks/{repository-wzvzbcsg.js → model-resolver-j26sntzs.js} +12 -12
- package/dist/chunks/{repository-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-4eq8w0dz.js → model-resolver-j8afcsyc.js} +4 -4
- package/dist/chunks/{repository-5qedxm44.js → model-resolver-jh76kevn.js} +11 -11
- package/dist/chunks/{repository-r1zrj47q.js → model-resolver-jhhqz5ys.js} +32 -32
- package/dist/chunks/{repository-x3gqap9d.js → model-resolver-k0a3z2qz.js} +4 -4
- package/dist/chunks/{repository-kt8nfkp3.js → model-resolver-k10ybmck.js} +31 -31
- package/dist/chunks/{repository-86m00gc1.js → model-resolver-k1qrnqst.js} +8 -8
- package/dist/chunks/{repository-dhkwabp0.js → model-resolver-k5znp5xn.js} +22 -22
- package/dist/chunks/{repository-9t9nwrjp.js → model-resolver-k8e8qrky.js} +7 -7
- package/dist/chunks/{repository-13dgep1z.js → model-resolver-kjesjdjk.js} +18 -18
- package/dist/chunks/{repository-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-n2yeqzr5.js → model-resolver-m5m12nva.js} +3 -3
- package/dist/chunks/{repository-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-fqka1xvk.js → model-resolver-mf9m2v67.js} +3 -3
- package/dist/chunks/{repository-56gdpj1q.js → model-resolver-mfqp6xfm.js} +6 -6
- package/dist/chunks/{repository-50zpe24t.js → model-resolver-mk1jn20m.js} +23 -23
- package/dist/chunks/{repository-0dea7hqg.js → model-resolver-mkthra7k.js} +7 -7
- package/dist/chunks/{repository-a6aff8z8.js → model-resolver-mm5nt2nt.js} +18 -18
- package/dist/chunks/{repository-a70bg6dx.js → model-resolver-mmhjy9tz.js} +8 -8
- package/dist/chunks/{repository-ncvdxrbg.js → model-resolver-mxterfad.js} +17 -17
- package/dist/chunks/{repository-70we0w58.js → model-resolver-mywrbmkg.js} +11 -11
- package/dist/chunks/{repository-hqxxrcsw.js → model-resolver-n01f24md.js} +23 -23
- package/dist/chunks/{repository-was7srj9.js → model-resolver-n2kah95r.js} +8 -8
- package/dist/chunks/{repository-89e14fg5.js → model-resolver-n799s5c3.js} +8 -8
- package/dist/chunks/{repository-p26nknmg.js → model-resolver-nbzsj80d.js} +8 -8
- package/dist/chunks/{repository-b6szjc2b.js → model-resolver-nd15zvwa.js} +5 -5
- package/dist/chunks/model-resolver-nf75hyxw.js +26 -0
- package/dist/chunks/{repository-j64jv97n.js → model-resolver-nqp3avv2.js} +8 -8
- package/dist/chunks/{repository-62gx00z5.js → model-resolver-nyrbevt9.js} +16 -16
- package/dist/chunks/{repository-har18r6r.js → model-resolver-nysns02s.js} +20 -20
- package/dist/chunks/{repository-8g5424td.js → model-resolver-nz34eq69.js} +32 -32
- package/dist/chunks/{repository-k3c624dm.js → model-resolver-nzks3jc8.js} +3 -3
- package/dist/chunks/{repository-zd8hcvy8.js → model-resolver-p1j6bn8g.js} +14 -14
- package/dist/chunks/{repository-hr7nhsg3.js → model-resolver-p4776vvd.js} +2 -2
- package/dist/chunks/{repository-pccq72bz.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-pnv527nz.js → model-resolver-pnv527nz.js} +2 -2
- package/dist/chunks/{repository-w6zk8pbt.js → model-resolver-pnvk1zxf.js} +8 -8
- package/dist/chunks/{repository-y9kjq5j3.js → model-resolver-pv19q001.js} +9 -9
- package/dist/chunks/{repository-jewqmp23.js → model-resolver-pvkbt02t.js} +7 -7
- package/dist/chunks/{repository-h3r85v63.js → model-resolver-q17kn81w.js} +10 -10
- package/dist/chunks/{repository-b57g7gde.js → model-resolver-q5n3bppz.js} +3 -3
- package/dist/chunks/{repository-jdt82a65.js → model-resolver-q62m1k22.js} +7 -7
- package/dist/chunks/{repository-9c7cfx9k.js → model-resolver-q94qa9gk.js} +12 -12
- package/dist/chunks/{repository-5rfaxrsd.js → model-resolver-qh65rry2.js} +22 -22
- package/dist/chunks/{repository-5ke24xg0.js → model-resolver-qqs8gy82.js} +28 -28
- package/dist/chunks/{repository-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-8xdzh0gy.js → model-resolver-qtq8atx0.js} +27 -27
- package/dist/chunks/{repository-zbzxhk8m.js → model-resolver-qy0qk774.js} +22 -22
- package/dist/chunks/{repository-4e5ccp43.js → model-resolver-r20xradg.js} +28 -28
- package/dist/chunks/{repository-50nkx4g5.js → model-resolver-r322q3y6.js} +34 -34
- package/dist/chunks/{repository-pxbjxcby.js → model-resolver-r3tpvskf.js} +30 -30
- package/dist/chunks/{repository-z139kjpf.js → model-resolver-rdfh74de.js} +8 -8
- package/dist/chunks/{repository-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-x3g34f3v.js → model-resolver-rehwyskh.js} +1 -1
- package/dist/chunks/{repository-j4dredde.js → model-resolver-rwqynx0a.js} +11 -11
- package/dist/chunks/{repository-k4xenmvj.js → model-resolver-s0fa4gp7.js} +10 -10
- package/dist/chunks/{repository-ehsk5wsv.js → model-resolver-sc29y7gj.js} +31 -31
- package/dist/chunks/{repository-r040zy0g.js → model-resolver-sf3bhtkb.js} +25 -25
- package/dist/chunks/{repository-pdgybe9w.js → model-resolver-sf66h50n.js} +5 -5
- package/dist/chunks/{repository-32h4nn8p.js → model-resolver-sfntmzm9.js} +1 -1
- package/dist/chunks/{repository-vhyze3e3.js → model-resolver-sk9r5ttv.js} +15 -15
- package/dist/chunks/{repository-5gbgdf63.js → model-resolver-snqzjp2x.js} +26 -26
- package/dist/chunks/{repository-wa5jjdw0.js → model-resolver-sr97vwy6.js} +9 -9
- package/dist/chunks/{repository-y99ygqqg.js → model-resolver-srpj3tpa.js} +48 -48
- package/dist/chunks/{repository-8jyfh64s.js → model-resolver-stn6csqj.js} +23 -23
- package/dist/chunks/{repository-tfzy1df7.js → model-resolver-sv5s01x5.js} +32 -32
- package/dist/chunks/{repository-r6vv5p3m.js → model-resolver-t1gsh4a5.js} +43 -43
- package/dist/chunks/{repository-4tjr6zkn.js → model-resolver-t34y2eq7.js} +43 -43
- package/dist/chunks/{repository-tcj9ww28.js → model-resolver-t3tp408p.js} +7 -7
- package/dist/chunks/{repository-t550f9t1.js → model-resolver-t550f9t1.js} +1 -1
- 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-4f06rze2.js → model-resolver-tj92sfh7.js} +10 -10
- package/dist/chunks/{repository-epfpd7cv.js → model-resolver-tmw06j42.js} +9 -9
- package/dist/chunks/{repository-38nmpqef.js → model-resolver-tstsgrrw.js} +26 -26
- package/dist/chunks/{repository-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-3rbef5jj.js → model-resolver-typghqfk.js} +4 -4
- package/dist/chunks/{repository-t8730cdn.js → model-resolver-tyzdkfdt.js} +15 -15
- package/dist/chunks/{repository-vsfnjfd7.js → model-resolver-v1ykme1f.js} +11 -11
- package/dist/chunks/{repository-92kfgbvy.js → model-resolver-v52chzj3.js} +26 -26
- package/dist/chunks/{repository-1tdtc034.js → model-resolver-v74wxkr3.js} +18 -18
- package/dist/chunks/{repository-zcj9g204.js → model-resolver-vaqs8gs2.js} +5 -5
- package/dist/chunks/{repository-qfdxmfvr.js → model-resolver-vcrm0pnt.js} +6 -6
- package/dist/chunks/{repository-8vn4cfgq.js → model-resolver-vegycmpw.js} +14 -14
- package/dist/chunks/{repository-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-4shp4sr3.js → model-resolver-vj8gdh7j.js} +32 -32
- 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-sdmk119x.js → model-resolver-w7nphhe6.js} +3 -3
- package/dist/chunks/{repository-61b773qj.js → model-resolver-w9tzyeh2.js} +3 -3
- 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-0mp9629n.js → model-resolver-wg2wgzge.js} +29 -29
- package/dist/chunks/{repository-7hrknbh1.js → model-resolver-whmghete.js} +3 -3
- package/dist/chunks/{repository-2cjsxekc.js → model-resolver-wkpvktmd.js} +13 -13
- package/dist/chunks/{repository-cfmzrcj7.js → model-resolver-wpnzqk7a.js} +10 -10
- package/dist/chunks/{repository-4d31bbse.js → model-resolver-wymn1sd1.js} +10 -10
- package/dist/chunks/{repository-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-3nhsj318.js → model-resolver-x206tq9p.js} +28 -28
- package/dist/chunks/{repository-bakxampr.js → model-resolver-x6jzm7sq.js} +10 -10
- package/dist/chunks/{repository-kjjzdt6z.js → model-resolver-xfw9zcsv.js} +23 -23
- package/dist/chunks/{repository-02r4f2yh.js → model-resolver-xhp06ph4.js} +13 -13
- package/dist/chunks/{repository-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
- package/dist/chunks/{repository-hqxn6csc.js → model-resolver-xsym2eej.js} +168 -168
- package/dist/chunks/{repository-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-crsexzag.js → model-resolver-y4838870.js} +30 -30
- package/dist/chunks/{repository-cc2shgt9.js → model-resolver-y6ttb9wj.js} +23 -23
- package/dist/chunks/{repository-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{repository-qvb3nf84.js → model-resolver-y72zmemf.js} +8 -8
- package/dist/chunks/{repository-qernpydw.js → model-resolver-yg5p90v9.js} +5 -5
- package/dist/chunks/{repository-0r7yqxbf.js → model-resolver-yjptyezs.js} +5 -5
- package/dist/chunks/{repository-f2n192rq.js → model-resolver-yp2x3t23.js} +4 -4
- 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-r7t6v39w.js → model-resolver-ytvzg9pg.js} +19 -19
- 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-mnrg3sxj.js → model-resolver-z4px6pj1.js} +25 -25
- package/dist/chunks/{repository-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-h70nwwcc.js → model-resolver-z6b4caet.js} +14 -14
- package/dist/chunks/{repository-tqr3fgz4.js → model-resolver-z85c6j0e.js} +42 -42
- package/dist/chunks/model-resolver-z8ynyk0a.js +511 -0
- package/dist/chunks/{repository-68pety7q.js → model-resolver-zds2rnmv.js} +7 -7
- package/dist/chunks/{repository-g1sxm558.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-jw7mqvhb.js → model-resolver-zv1jk2zx.js} +24 -24
- package/dist/chunks/{repository-y0rg8wwx.js → model-resolver-zv2w3gwr.js} +11 -11
- package/dist/chunks/{repository-t7n9q6bq.js → model-resolver-zvt5dnpc.js} +4 -4
- package/dist/chunks/{repository-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-agv6b8k2.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 +81 -81
- 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 +121 -121
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- 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 +130 -130
- 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 +123 -123
- 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 +124 -124
- 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 +100 -100
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +124 -124
- 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 +96 -96
- package/dist/model.js +98 -98
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- 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 +99 -99
- package/dist/plugin/compaction.js +131 -131
- 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 +2 -2
- 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 +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- 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 +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- 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 +1 -1
- 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 +152 -152
- 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 +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- 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 +130 -130
- package/dist/session/projector.js +86 -86
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- 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 +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +138 -138
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- 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 +123 -123
- 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 +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +93 -93
- 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 +10 -10
- 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-by5v678g.js +0 -18
- package/dist/chunks/repository-d0jzkfbr.js +0 -252
- package/dist/chunks/repository-dbc9r3hj.js +0 -26
- package/dist/chunks/repository-s6k3yhqj.js +0 -511
- /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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-tj92sfh7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./model-resolver-4c5t4vfv.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-68z8xbqp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-fhbtmvm6.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-qtq8atx0.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID13.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID13.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service82;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID12.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -197,7 +197,7 @@ var OpenAIPlugin2 = define({
|
|
|
197
197
|
});
|
|
198
198
|
});
|
|
199
199
|
yield* ctx.model.transform((models) => {
|
|
200
|
-
for (const model of models.list(
|
|
200
|
+
for (const model of models.list(ID12.openai)) {
|
|
201
201
|
models.update(model.providerID, model.id, (draft) => {
|
|
202
202
|
if (!chatgpt)
|
|
203
203
|
return;
|
|
@@ -225,9 +225,9 @@ var OpenAIPlugin2 = define({
|
|
|
225
225
|
evt.baseURL = codexBaseURL;
|
|
226
226
|
evt.headers.originator = "opencode";
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
|
-
}), { providerID:
|
|
228
|
+
}), { providerID: ID12.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
230
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node6
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node6 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node6, bound2, exports_instance2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service53
|
|
4
|
+
} from "./model-resolver-86gv9yex.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin9
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin9 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service53;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin18 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin9, exports_websearch };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./model-resolver-7jq3dafd.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service78;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service76,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node79
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service76 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service76.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node79 = makeLocationNode({ service: Service76, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service76, node79, exports_image2 };
|
|
@@ -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/command.ts
|
|
6
6
|
var exports_command4 = {};
|
|
7
7
|
__export(exports_command4, {
|
|
8
8
|
ConfigCommandV1: () => exports_command4,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info15
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info15 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info13 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info15, exports_command4 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service65,
|
|
6
|
+
node68
|
|
7
|
+
} from "./model-resolver-wymn1sd1.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-mf9m2v67.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
22
|
Service: () => Service50,
|
|
23
|
-
make: () =>
|
|
23
|
+
make: () => make18,
|
|
24
24
|
node: () => node52
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make18 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service65;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -358,7 +358,7 @@ var make17 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(Service50,
|
|
362
|
-
var node52 = makeGlobalNode({ service: Service50, layer, deps: [
|
|
361
|
+
var layer = Layer.effect(Service50, make18);
|
|
362
|
+
var node52 = makeGlobalNode({ service: Service50, layer, deps: [node68] });
|
|
363
363
|
|
|
364
|
-
export { Service50,
|
|
364
|
+
export { Service50, make18, node52, exports_job };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info14
|
|
7
|
+
} from "./model-resolver-50mzsvk4.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info13
|
|
10
|
+
} from "./model-resolver-nbzsj80d.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info18
|
|
13
|
+
} from "./model-resolver-2f0bjgcj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info15
|
|
16
|
+
} from "./model-resolver-g8d3gcyj.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info12
|
|
19
|
+
} from "./model-resolver-4gycnsfp.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-resolver-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info10
|
|
25
|
+
} from "./model-resolver-0ft9cg2j.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info17
|
|
28
|
+
} from "./model-resolver-yt0fqk68.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-2k8khapm.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info11
|
|
34
|
+
} from "./model-resolver-yjptyezs.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./model-resolver-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info16
|
|
40
|
+
} from "./model-resolver-bct739vz.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info9,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info9 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info6 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info15)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info16).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info6 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info13), plan: Schema.optional(Info13) }), [Schema.Record(Schema.String, Info13)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info13),
|
|
119
|
+
build: Schema.optional(Info13),
|
|
120
|
+
general: Schema.optional(Info13),
|
|
121
|
+
explore: Schema.optional(Info13),
|
|
122
|
+
title: Schema.optional(Info13),
|
|
123
|
+
summary: Schema.optional(Info13),
|
|
124
|
+
compaction: Schema.optional(Info13)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info13)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info11)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info17, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info12).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info10).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info14),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info18).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info6 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info9, exports_config2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-tj92sfh7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./model-resolver-4c5t4vfv.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-68z8xbqp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
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
|
-
} from "./
|
|
19
|
+
Service13
|
|
20
|
+
} from "./model-resolver-k1qrnqst.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID12,
|
|
23
23
|
mergeOverlay2,
|
|
24
24
|
mergeHeaders2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-qtq8atx0.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
ID3,
|
|
28
28
|
Input13,
|
|
29
29
|
Response2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-26see1q8.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/opencode.ts
|
|
33
33
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -42,7 +42,7 @@ var methodID = MethodID2.make("device");
|
|
|
42
42
|
var RemoteResponse = Schema.Struct({
|
|
43
43
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
44
44
|
websearch: Schema.Struct({
|
|
45
|
-
providerID:
|
|
45
|
+
providerID: ID3
|
|
46
46
|
}).pipe(Schema.optional),
|
|
47
47
|
experimental: Schema.Struct({
|
|
48
48
|
policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
|
|
@@ -67,7 +67,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
67
67
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
68
68
|
function oauth(http) {
|
|
69
69
|
return {
|
|
70
|
-
integrationID:
|
|
70
|
+
integrationID: ID13.make("opencode"),
|
|
71
71
|
method: {
|
|
72
72
|
id: methodID,
|
|
73
73
|
type: "oauth",
|
|
@@ -121,10 +121,10 @@ function oauth(http) {
|
|
|
121
121
|
var OpencodePlugin2 = define({
|
|
122
122
|
id: "opencode.provider.opencode",
|
|
123
123
|
effect: Effect.fn(function* (ctx) {
|
|
124
|
-
const bus = yield*
|
|
124
|
+
const bus = yield* Service82;
|
|
125
125
|
const client = yield* HttpClient.HttpClient;
|
|
126
126
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
127
|
-
const managed = yield*
|
|
127
|
+
const managed = yield* Service13;
|
|
128
128
|
const loading = Semaphore.makeUnsafe(1);
|
|
129
129
|
let snapshot = { config: undefined, connection: undefined, organization: undefined };
|
|
130
130
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -157,7 +157,7 @@ var OpencodePlugin2 = define({
|
|
|
157
157
|
providers.update(providerID, (provider) => {
|
|
158
158
|
if (source && source.provider !== provider)
|
|
159
159
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
160
|
-
provider.integrationID =
|
|
160
|
+
provider.integrationID = ID13.make("opencode");
|
|
161
161
|
if (item.canonical !== undefined)
|
|
162
162
|
provider.canonical = item.canonical;
|
|
163
163
|
if (item.name !== undefined)
|
|
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
|
|
|
227
227
|
sourceConnection: snapshot.connection
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
|
-
const item = providers.get(
|
|
230
|
+
const item = providers.get(ID12.opencode);
|
|
231
231
|
if (!item)
|
|
232
232
|
return;
|
|
233
233
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -239,7 +239,7 @@ var OpencodePlugin2 = define({
|
|
|
239
239
|
});
|
|
240
240
|
});
|
|
241
241
|
yield* ctx.model.transform((models) => {
|
|
242
|
-
const item = models.provider.get(
|
|
242
|
+
const item = models.provider.get(ID12.opencode);
|
|
243
243
|
if (!item)
|
|
244
244
|
return;
|
|
245
245
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
|
|
|
295
295
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
296
296
|
});
|
|
297
297
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
298
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
298
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
299
299
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
300
300
|
})
|
|
301
301
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service6
|
|
3
|
+
} from "./model-resolver-r20xradg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/compaction.ts
|
|
9
9
|
var exports_compaction2 = {};
|
|
10
10
|
__export(exports_compaction2, {
|
|
11
11
|
NativeCompactionPlugin: () => exports_compaction2,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin31
|
|
13
13
|
});
|
|
14
14
|
import { LLMClient, Message } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect } from "effect";
|
|
17
|
-
var
|
|
17
|
+
var Plugin31 = define({
|
|
18
18
|
id: "opencode.compaction.native",
|
|
19
19
|
effect: Effect.fn("NativeCompactionPlugin")(function* () {
|
|
20
20
|
const llm = yield* LLMClient.Service;
|
|
21
|
-
const compaction = yield*
|
|
21
|
+
const compaction = yield* Service6;
|
|
22
22
|
yield* compaction.transform((editor) => {
|
|
23
23
|
editor.native((input) => {
|
|
24
24
|
const request = input.request;
|
|
@@ -36,4 +36,4 @@ var Plugin46 = define({
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
export {
|
|
39
|
+
export { Plugin31, exports_compaction2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
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/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|