@opencode/core 0.0.0-dev-20372 → 0.0.0-dev-20373
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 +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{variant-jn1epm73.js → form-02yk86n3.js} +5 -5
- package/dist/chunks/{variant-8w90ht67.js → form-0339q5d8.js} +3 -3
- package/dist/chunks/{variant-axp4ehpq.js → form-07770t2t.js} +6 -6
- package/dist/chunks/{variant-79zts6nw.js → form-0exzyrpk.js} +18 -18
- package/dist/chunks/{variant-2n1gmqe4.js → form-0fmf346c.js} +82 -82
- package/dist/chunks/{variant-wr6gs73f.js → form-0n16x0fb.js} +48 -48
- package/dist/chunks/{variant-0paq2nw3.js → form-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-teab454v.js → form-0rr4xv3e.js} +25 -25
- package/dist/chunks/{variant-zd5rdewp.js → form-0scwa2te.js} +8 -8
- package/dist/chunks/{variant-2a7wdg4v.js → form-0t0sfdk6.js} +4 -4
- package/dist/chunks/{variant-8mtsche6.js → form-0zrf8vmx.js} +15 -15
- package/dist/chunks/{variant-te4w73y0.js → form-12kcv6pe.js} +23 -23
- package/dist/chunks/{variant-nbxc6t3j.js → form-139zgem4.js} +19 -19
- package/dist/chunks/{variant-gax48ajh.js → form-160znxah.js} +11 -11
- package/dist/chunks/{variant-1dazxqgg.js → form-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-gj2s89ez.js → form-1v1cq01j.js} +35 -35
- package/dist/chunks/{variant-21r38tys.js → form-21r38tys.js} +1 -1
- package/dist/chunks/{variant-wxbsw7ds.js → form-22wq7m11.js} +32 -32
- package/dist/chunks/{variant-pvjkbgva.js → form-244fnn6t.js} +42 -42
- package/dist/chunks/{variant-29x78va6.js → form-29x78va6.js} +2 -2
- package/dist/chunks/{variant-2a5m3afh.js → form-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-m5wffc3v.js → form-2fbw650d.js} +324 -324
- package/dist/chunks/{variant-7dqw4kz8.js → form-2k8khapm.js} +5 -5
- package/dist/chunks/{variant-xe0jn6g3.js → form-2p8k3371.js} +5 -5
- package/dist/chunks/{variant-70yg6272.js → form-2r1eb10n.js} +4 -4
- package/dist/chunks/{variant-zt2gqgtv.js → form-2rcqz2b9.js} +5 -5
- package/dist/chunks/{variant-cpneeje0.js → form-2sejkfem.js} +9 -9
- package/dist/chunks/{variant-p122ev2q.js → form-2zj5f6xj.js} +14 -14
- package/dist/chunks/{variant-h5w29vws.js → form-3556dn8t.js} +1 -1
- package/dist/chunks/{variant-e30mydyk.js → form-3cvhxgkj.js} +12 -12
- package/dist/chunks/{variant-jz6w6egg.js → form-3cycx1z3.js} +21 -21
- package/dist/chunks/{variant-8tsdq50x.js → form-3ewed21c.js} +4 -4
- package/dist/chunks/{variant-3fc6dm20.js → form-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-ywycrh15.js → form-3k9mq6vf.js} +6 -6
- package/dist/chunks/{variant-kbv97wp6.js → form-3rakevcf.js} +8 -8
- package/dist/chunks/{variant-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-wctyn1yd.js → form-41pa3y4j.js} +10 -10
- package/dist/chunks/{variant-8j3davhc.js → form-44apgern.js} +18 -18
- package/dist/chunks/{variant-08c80brh.js → form-48ksmdey.js} +36 -36
- package/dist/chunks/{variant-b3a8kszw.js → form-48zm7mez.js} +17 -17
- package/dist/chunks/{variant-n2cj49gr.js → form-4acqjqp7.js} +22 -22
- package/dist/chunks/{variant-7w7akywm.js → form-4b4wdvgp.js} +1 -1
- package/dist/chunks/{variant-5dkn69vz.js → form-4z58m4b4.js} +4 -4
- package/dist/chunks/{variant-kmtcrghh.js → form-51t12d4a.js} +3 -3
- package/dist/chunks/{variant-r94pvvab.js → form-54ma36ye.js} +4 -4
- package/dist/chunks/{variant-56gdpj1q.js → form-56gdpj1q.js} +2 -2
- package/dist/chunks/{variant-3nxb9rvh.js → form-57ez7d0k.js} +9 -9
- package/dist/chunks/{variant-5daktx2q.js → form-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-5t3nmthw.js → form-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-za6spyn2.js → form-5zjm69ec.js} +11 -11
- package/dist/chunks/{variant-vsv7sdmx.js → form-602bew0p.js} +20 -20
- package/dist/chunks/{variant-669tq793.js → form-669tq793.js} +1 -1
- package/dist/chunks/{variant-ddsdkq46.js → form-66pdsr6q.js} +10 -10
- package/dist/chunks/{variant-ey2hrnnb.js → form-6bhj1fw1.js} +27 -27
- package/dist/chunks/{variant-65p8m1k1.js → form-6cn3qrsc.js} +3 -3
- package/dist/chunks/{variant-3pggvt0j.js → form-6ctz1c4g.js} +56 -56
- package/dist/chunks/{variant-kyktj0vd.js → form-6kgc56n8.js} +6 -6
- package/dist/chunks/{variant-vmre2jg4.js → form-6mgxyaa6.js} +48 -48
- package/dist/chunks/{variant-6msgmcgs.js → form-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-r6ydwrf4.js → form-6s9ydwck.js} +11 -11
- package/dist/chunks/{variant-0kspwvnw.js → form-6xzpna54.js} +11 -11
- package/dist/chunks/{variant-9jbvj98d.js → form-73kdj4zj.js} +8 -8
- package/dist/chunks/{variant-j8fzfpja.js → form-75hqwwjx.js} +30 -30
- package/dist/chunks/{variant-bnce5nyz.js → form-761730s6.js} +3 -3
- package/dist/chunks/{variant-h2ajgn1n.js → form-76da7qqd.js} +2 -2
- package/dist/chunks/{variant-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-85q4aepn.js → form-7k5zn8d5.js} +15 -15
- package/dist/chunks/{variant-4hvdhbnx.js → form-7n9ev2d1.js} +23 -23
- package/dist/chunks/{variant-9zwz4k1k.js → form-7qcep57x.js} +28 -28
- package/dist/chunks/{variant-w3x9v1nk.js → form-7rwqf82v.js} +8 -8
- package/dist/chunks/{variant-5epte933.js → form-7w99qc9d.js} +2 -2
- package/dist/chunks/{variant-2d57kztd.js → form-7yqjxrmz.js} +6 -6
- package/dist/chunks/{variant-fjdcedvq.js → form-82sancw2.js} +8 -8
- package/dist/chunks/{variant-84txncab.js → form-84txncab.js} +1 -1
- package/dist/chunks/{variant-7b0gcq8y.js → form-85988eff.js} +6 -6
- package/dist/chunks/{variant-rt57yxy9.js → form-8a0fr1s9.js} +22 -22
- package/dist/chunks/{variant-8d7r5vzw.js → form-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-fqdyy6sm.js → form-8k3v299y.js} +46 -46
- package/dist/chunks/{variant-emq7ekq3.js → form-8sf90wcv.js} +11 -11
- package/dist/chunks/form-8ss63hyg.js +26 -0
- package/dist/chunks/{variant-h896pcm5.js → form-909p1r3q.js} +6 -6
- package/dist/chunks/{variant-3kgztc6t.js → form-93fen3hn.js} +11 -11
- package/dist/chunks/{variant-gfvb90ym.js → form-94ek1h2f.js} +2 -2
- package/dist/chunks/{variant-8jven2n2.js → form-9cngawad.js} +36 -36
- package/dist/chunks/{variant-275yxcth.js → form-9m56axn9.js} +10 -10
- package/dist/chunks/{variant-9sdmmrsv.js → form-9qfr4zqn.js} +14 -14
- package/dist/chunks/{variant-e48dy59j.js → form-9vrcr8ys.js} +10 -10
- package/dist/chunks/{variant-1gejjmw3.js → form-a5ymbw8e.js} +12 -12
- package/dist/chunks/{variant-4ndrgjke.js → form-a77gbpbh.js} +1 -1
- package/dist/chunks/{variant-aaet6srn.js → form-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-qy29ctvg.js → form-aeze5qt5.js} +8 -8
- package/dist/chunks/{variant-edat5bw1.js → form-ar0htngx.js} +20 -20
- package/dist/chunks/{variant-mtft99cd.js → form-avm8jn6n.js} +5 -5
- package/dist/chunks/{variant-vz1m17xn.js → form-awm2tyv5.js} +24 -24
- package/dist/chunks/{variant-2p623br6.js → form-axs6pdy0.js} +5 -5
- package/dist/chunks/{variant-48tzm2ph.js → form-b2zkwwh4.js} +9 -9
- package/dist/chunks/{variant-g5agzp2h.js → form-b4p19tx4.js} +5 -5
- package/dist/chunks/{variant-b6gygkdw.js → form-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-bf0ztrs3.js → form-bct739vz.js} +4 -4
- package/dist/chunks/{variant-zbxm9jeh.js → form-bf2vpf8r.js} +3 -3
- package/dist/chunks/{variant-62km8dxc.js → form-bfb84pvd.js} +16 -16
- package/dist/chunks/{variant-y5rf7nzv.js → form-bgc5ggmx.js} +4 -4
- package/dist/chunks/{variant-h6grdpx5.js → form-bnkess9s.js} +1 -1
- package/dist/chunks/{variant-2vp5pa6w.js → form-bs0283m0.js} +9 -9
- package/dist/chunks/{variant-697fm79x.js → form-c651xxjb.js} +4 -4
- package/dist/chunks/{variant-9v2ypmcd.js → form-c8qf0ee6.js} +26 -26
- package/dist/chunks/{variant-p89spsbb.js → form-c9hewx58.js} +20 -20
- package/dist/chunks/{variant-v4ese7a1.js → form-cbgfx3nz.js} +9 -9
- package/dist/chunks/{variant-5yn6bn5k.js → form-cgb9bjm6.js} +7 -7
- package/dist/chunks/{variant-54tcyq79.js → form-ckecvw8r.js} +2 -2
- package/dist/chunks/{variant-g0445xdp.js → form-cmwkp3r5.js} +4 -4
- package/dist/chunks/{variant-ae0mvr76.js → form-csgd14vy.js} +12 -12
- package/dist/chunks/{variant-f73ybjh7.js → form-czryp6xt.js} +17 -17
- package/dist/chunks/{variant-6mcca16d.js → form-d3mgsjv1.js} +32 -32
- package/dist/chunks/{variant-hc44n39y.js → form-d413vceq.js} +4 -4
- package/dist/chunks/{variant-e8ebx0kr.js → form-d75fgnkf.js} +89 -89
- package/dist/chunks/{variant-wnrjzy9x.js → form-daz9d9f7.js} +30 -30
- package/dist/chunks/{variant-g1zq6c5t.js → form-dhwr7h25.js} +8 -8
- package/dist/chunks/{variant-068serwz.js → form-dnxkq42g.js} +4 -4
- package/dist/chunks/{variant-h2g7v9ne.js → form-dz2yheya.js} +11 -11
- package/dist/chunks/{variant-2g5jhghd.js → form-e3f3m51x.js} +19 -19
- package/dist/chunks/{variant-d6ckxx69.js → form-e7fwp3mw.js} +23 -23
- package/dist/chunks/{variant-et7kz6tz.js → form-e946v8ac.js} +4 -4
- package/dist/chunks/{variant-andkbq7d.js → form-eb9jgat3.js} +13 -13
- package/dist/chunks/{variant-ecfe7b91.js → form-ecfe7b91.js} +2 -2
- package/dist/chunks/{variant-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-d8jbe81d.js → form-ek3103ga.js} +32 -32
- package/dist/chunks/{variant-j9x8xygm.js → form-etpg0q6n.js} +15 -15
- package/dist/chunks/{variant-etq0c3wd.js → form-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-60zc7yxp.js → form-f0mrbrre.js} +41 -41
- package/dist/chunks/{variant-xxb5yp2r.js → form-f0stqscw.js} +17 -17
- package/dist/chunks/{variant-8qw5y3w0.js → form-f315rm9z.js} +27 -27
- package/dist/chunks/{variant-wn98xdrf.js → form-fc7nxygs.js} +9 -9
- package/dist/chunks/{variant-9p0j5mea.js → form-fctq283n.js} +1 -1
- package/dist/chunks/{variant-engkm2d6.js → form-fegk541e.js} +5 -5
- package/dist/chunks/form-fgz0mhyf.js +252 -0
- package/dist/chunks/{variant-jbjr1a4g.js → form-fjvydvzm.js} +6 -6
- package/dist/chunks/{variant-es91h3me.js → form-fp15ewvn.js} +5 -5
- package/dist/chunks/{variant-n4kxjyck.js → form-fq6n6ras.js} +11 -11
- package/dist/chunks/{variant-kwj1jsh6.js → form-fv776sqb.js} +3 -3
- package/dist/chunks/{variant-jt0cdax9.js → form-fw4ydny3.js} +19 -19
- package/dist/chunks/{variant-4fy5w545.js → form-g72g10d5.js} +35 -35
- package/dist/chunks/{variant-pr5z6zw1.js → form-ga8av92n.js} +16 -16
- package/dist/chunks/{variant-0gd94zzm.js → form-gah3tgw2.js} +30 -30
- package/dist/chunks/{variant-87yf3k10.js → form-gbw1510g.js} +17 -17
- package/dist/chunks/{variant-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-7gna5c8n.js → form-gn5kgtdn.js} +6 -6
- package/dist/chunks/{variant-5qvzk1yj.js → form-gq26sc8a.js} +12 -12
- package/dist/chunks/{variant-4zhd1ccs.js → form-gr52wc2v.js} +14 -14
- package/dist/chunks/{variant-gv6a8nnw.js → form-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-2ty7hvph.js → form-gxx0jenw.js} +13 -13
- package/dist/chunks/{variant-ke4mst4x.js → form-gyzq5ent.js} +15 -15
- package/dist/chunks/{variant-ap6gk3nq.js → form-h61ywpar.js} +7 -7
- package/dist/chunks/{variant-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-6hjx5zpb.js → form-h71w788e.js} +9 -9
- package/dist/chunks/{variant-87w9rjbs.js → form-hbzdjm7q.js} +13 -13
- package/dist/chunks/{variant-x2pzmghr.js → form-hwd1wnz5.js} +20 -20
- package/dist/chunks/{variant-jzmgtvpv.js → form-j0epgshb.js} +1 -1
- package/dist/chunks/{variant-ny80v0e5.js → form-j0q2k7rn.js} +30 -30
- package/dist/chunks/{variant-11645kck.js → form-j45wjzs0.js} +9 -9
- package/dist/chunks/{variant-j56e64zr.js → form-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-szcd57v4.js → form-jpdc1s1a.js} +12 -12
- package/dist/chunks/{variant-ezt1fayp.js → form-jsyyaypq.js} +11 -11
- package/dist/chunks/{variant-fvsyg6qk.js → form-jv01nqvq.js} +5 -5
- package/dist/chunks/{variant-5k7kxryx.js → form-k0yrzbjy.js} +17 -17
- package/dist/chunks/{variant-5b84avn1.js → form-k1qrnqst.js} +8 -8
- package/dist/chunks/{variant-nzks3jc8.js → form-k3c624dm.js} +3 -3
- package/dist/chunks/{variant-y4pjytj4.js → form-kcgkppbz.js} +17 -17
- package/dist/chunks/{variant-embw8kgh.js → form-kne8f3cn.js} +4 -4
- package/dist/chunks/{variant-q46ssf5j.js → form-kntqpqc2.js} +28 -28
- package/dist/chunks/{variant-n5g413rf.js → form-ks6r0cpv.js} +26 -26
- package/dist/chunks/{variant-tdmq10p9.js → form-kysehscz.js} +9 -9
- package/dist/chunks/{variant-j7291mwb.js → form-m1vd7a13.js} +28 -28
- package/dist/chunks/{variant-m3fdjcah.js → form-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-6c98k2s5.js → form-mawhtjq6.js} +25 -25
- package/dist/chunks/{variant-qc8sb4rh.js → form-mba6q51k.js} +11 -11
- package/dist/chunks/{variant-51ypgpaw.js → form-mknn1sqp.js} +14 -14
- package/dist/chunks/{variant-q7azfttr.js → form-n1ka8r9d.js} +4 -4
- package/dist/chunks/{variant-x8a6wpb1.js → form-n8vja0c5.js} +42 -42
- package/dist/chunks/{variant-e6ffm9n6.js → form-naw7tact.js} +34 -34
- package/dist/chunks/{variant-kkzg2ynw.js → form-ncjnfg9s.js} +10 -10
- package/dist/chunks/{variant-ap33jxad.js → form-ndsy99bw.js} +24 -24
- package/dist/chunks/{variant-brt9jah9.js → form-nebvfc7j.js} +5 -5
- package/dist/chunks/{variant-t2kk3g7x.js → form-nn09hs9h.js} +8 -8
- package/dist/chunks/{variant-g97bb4fb.js → form-nng2ktcm.js} +2 -2
- package/dist/chunks/{variant-eazaj8zm.js → form-ns56p14k.js} +3 -3
- package/dist/chunks/{variant-mn20a28a.js → form-ntd6gjv7.js} +11 -11
- package/dist/chunks/{variant-wfwvgfrn.js → form-p61r46ey.js} +11 -11
- package/dist/chunks/{variant-47rn6gb0.js → form-p7gq9vf8.js} +6 -6
- package/dist/chunks/{variant-3x92tbk7.js → form-pe37ces2.js} +18 -18
- package/dist/chunks/{variant-h05g6xe8.js → form-pf6pbe00.js} +8 -8
- package/dist/chunks/{variant-vfj7nq5d.js → form-phjxpegt.js} +1 -1
- package/dist/chunks/{variant-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{variant-rkprpv83.js → form-py3kkmfq.js} +2 -2
- package/dist/chunks/{variant-f7gyqvt0.js → form-q4d45mga.js} +30 -30
- package/dist/chunks/form-qc068m1q.js +18 -0
- package/dist/chunks/{variant-xk747vep.js → form-qg0jgkcp.js} +9 -9
- package/dist/chunks/{variant-nsh6bg9r.js → form-qq5t9gdb.js} +32 -32
- package/dist/chunks/{variant-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-71rmpdgn.js → form-qv68ke0p.js} +20 -20
- package/dist/chunks/{variant-67b3z620.js → form-qvrwx2r4.js} +13 -13
- package/dist/chunks/{variant-1bbkgx8g.js → form-r5x6zcsm.js} +3 -3
- package/dist/chunks/{variant-806j49yq.js → form-ratrq7cm.js} +4 -4
- package/dist/chunks/{variant-was7srj9.js → form-rc1dmyce.js} +8 -8
- package/dist/chunks/{variant-bdz95zvh.js → form-rcw3cxg2.js} +2 -2
- package/dist/chunks/{variant-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-kpn9nq0z.js → form-rpxg4286.js} +11 -11
- package/dist/chunks/{variant-hgnbbj2y.js → form-rqrkd3p8.js} +17 -17
- package/dist/chunks/{variant-w0b2a3fm.js → form-rshxtfk2.js} +160 -160
- package/dist/chunks/{variant-kx3pckx9.js → form-rvfkg51x.js} +35 -35
- package/dist/chunks/{variant-tfc387bw.js → form-rxpjjrnb.js} +2 -2
- package/dist/chunks/{variant-trc9xpfd.js → form-s0dfxk4w.js} +6 -6
- package/dist/chunks/{variant-exa0km9v.js → form-s2m0jny8.js} +24 -24
- package/dist/chunks/{variant-s4enseaf.js → form-s4enseaf.js} +2 -2
- package/dist/chunks/{variant-4yg4w68r.js → form-snk8cyh0.js} +49 -49
- package/dist/chunks/{variant-73m34ham.js → form-sqmzwr9m.js} +9 -9
- package/dist/chunks/{variant-y36wtsda.js → form-svzrc6xx.js} +20 -20
- package/dist/chunks/{variant-mx3q4n3q.js → form-sy055p64.js} +30 -30
- package/dist/chunks/{variant-nmpvqmkz.js → form-t3rnnpb6.js} +22 -22
- package/dist/chunks/{variant-eaj1djv9.js → form-t550f9t1.js} +8 -8
- package/dist/chunks/{variant-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-tcezcvh9.js → form-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{variant-zp0aa941.js → form-tjnbn6ea.js} +20 -20
- package/dist/chunks/{variant-hregzj16.js → form-tq319883.js} +6 -6
- package/dist/chunks/{variant-s0yyypsy.js → form-tq5sm029.js} +11 -11
- package/dist/chunks/{variant-tvtrv512.js → form-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-t5drd2as.js → form-v26eq9k6.js} +35 -35
- package/dist/chunks/{variant-ykheapvx.js → form-v43nrg7k.js} +30 -30
- package/dist/chunks/{variant-k529zw3j.js → form-v8fdf9ab.js} +8 -8
- package/dist/chunks/{variant-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-hg1zgbhz.js → form-vn7btz48.js} +17 -17
- package/dist/chunks/{variant-6zt0h112.js → form-vpy676fj.js} +3 -3
- package/dist/chunks/{variant-kk00bynn.js → form-vsp1fds9.js} +4 -4
- package/dist/chunks/{variant-3jj8c89y.js → form-vwawqe49.js} +29 -29
- package/dist/chunks/{variant-0z6w7vfv.js → form-vy4zg7qh.js} +12 -12
- package/dist/chunks/{variant-vzcthcp8.js → form-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
- package/dist/chunks/{variant-atkta16k.js → form-w1v2c3mz.js} +10 -10
- package/dist/chunks/{variant-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-n1847pdh.js → form-w7xa31tj.js} +38 -38
- package/dist/chunks/{variant-psazpmmj.js → form-wd3x2cqz.js} +2 -2
- package/dist/chunks/{variant-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{variant-jyjh2bke.js → form-wmsft2d9.js} +20 -20
- package/dist/chunks/{variant-hbq9f6js.js → form-wnwksz37.js} +18 -18
- package/dist/chunks/{variant-4k6n9g4c.js → form-wrzdggb8.js} +15 -15
- package/dist/chunks/{variant-egdcwvah.js → form-wz2d58xk.js} +11 -11
- package/dist/chunks/{variant-x1ezjp6w.js → form-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-nb1p4pag.js → form-x8ez01b9.js} +22 -22
- package/dist/chunks/{variant-drwq78ky.js → form-xfkkasph.js} +4 -4
- package/dist/chunks/{variant-dmqcgk4z.js → form-xkntkrq7.js} +5 -5
- package/dist/chunks/{variant-d0jg236h.js → form-xnhp834s.js} +18 -18
- package/dist/chunks/{variant-xf88zca5.js → form-xq3xxv31.js} +8 -8
- package/dist/chunks/{variant-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-y71avatq.js → form-y71avatq.js} +1 -1
- package/dist/chunks/{variant-n573qmgj.js → form-yc23ytnm.js} +27 -27
- package/dist/chunks/{variant-6dsagjs4.js → form-ygm66hq9.js} +70 -70
- package/dist/chunks/{variant-zfhqb797.js → form-yhyr3q2q.js} +18 -18
- package/dist/chunks/{variant-yp2x3t23.js → form-yp2x3t23.js} +1 -1
- package/dist/chunks/{variant-mymamrwc.js → form-yp44jjvn.js} +23 -23
- package/dist/chunks/{variant-ra28fh9c.js → form-yq1cty02.js} +30 -30
- package/dist/chunks/{variant-yrhqyw5v.js → form-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-8633vvkx.js → form-ytkrr4sz.js} +21 -21
- package/dist/chunks/{variant-hsqkyegz.js → form-yttcfxr3.js} +4 -4
- package/dist/chunks/{variant-7ctqryvn.js → form-yv41x1zd.js} +19 -19
- package/dist/chunks/{variant-rnme59tr.js → form-z07k6xgv.js} +13 -13
- package/dist/chunks/{variant-bjtzbw4r.js → form-z07pqspn.js} +3 -3
- package/dist/chunks/{variant-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-3w2b2yj4.js → form-z3pw5915.js} +5 -5
- package/dist/chunks/{variant-4j831yny.js → form-z4xdwvw3.js} +8 -8
- package/dist/chunks/{variant-f9tc059h.js → form-z4ytqg16.js} +10 -10
- package/dist/chunks/{variant-kad49353.js → form-z5crsmww.js} +16 -16
- package/dist/chunks/{variant-1fj499mb.js → form-z9dm0r0z.js} +26 -26
- package/dist/chunks/{variant-2zw9n7tq.js → form-zef9ymh5.js} +5 -5
- package/dist/chunks/{variant-zeh9ct20.js → form-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-v29r5dxh.js → form-zg96dn46.js} +8 -8
- package/dist/chunks/{variant-5vwnyvt3.js → form-zqpwcf9e.js} +46 -46
- package/dist/chunks/{variant-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-d4smwwym.js → form-zr4rqm6c.js} +15 -15
- package/dist/chunks/{variant-4z00c8em.js → form-zwwapt5c.js} +35 -35
- package/dist/chunks/{variant-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- 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 +83 -83
- 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 +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +121 -121
- 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 +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +372 -372
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +335 -335
- 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/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- 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 +79 -79
- 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 +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +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 +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- 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 +16 -16
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/variant-3hycacbp.js +0 -252
- package/dist/chunks/variant-dwmtzppg.js +0 -26
- package/dist/chunks/variant-f81tjggh.js +0 -18
- /package/dist/chunks/{variant-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-34c7v6d4.js → form-34c7v6d4.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → form-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → form-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e3qxr5gk.js → form-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → form-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → form-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → form-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → form-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-yp44jjvn.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-tq319883.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-fq6n6ras.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin42,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
16
|
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin42 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -73,4 +73,4 @@ var Plugin40 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export { endpoint6,
|
|
76
|
+
export { endpoint6, Plugin42, exports_tinyfish };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-e946v8ac.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info31,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service79,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node83,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info31 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service79 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer24 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service79.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node83 = makeLocationNode({ service: Service79, layer: layer25, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer25, node83, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-e946v8ac.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./form-v43nrg7k.js";
|
|
13
13
|
import {
|
|
14
|
-
Service75,
|
|
15
|
-
node79
|
|
16
|
-
} from "./variant-b3a8kszw.js";
|
|
17
|
-
import {
|
|
18
|
-
Service66,
|
|
19
|
-
node69
|
|
20
|
-
} from "./variant-ap33jxad.js";
|
|
21
|
-
import {
|
|
22
|
-
ID17,
|
|
23
14
|
Service80,
|
|
24
15
|
node84
|
|
25
|
-
} from "./
|
|
16
|
+
} from "./form-48zm7mez.js";
|
|
26
17
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
18
|
+
Service71,
|
|
19
|
+
node74
|
|
20
|
+
} from "./form-ndsy99bw.js";
|
|
30
21
|
import {
|
|
31
22
|
ID16,
|
|
32
|
-
MethodID2,
|
|
33
23
|
Service79,
|
|
34
24
|
node83
|
|
35
|
-
} from "./
|
|
25
|
+
} from "./form-s2m0jny8.js";
|
|
26
|
+
import {
|
|
27
|
+
reconcile2,
|
|
28
|
+
create3
|
|
29
|
+
} from "./form-rdw6cm16.js";
|
|
30
|
+
import {
|
|
31
|
+
ID14,
|
|
32
|
+
MethodID2,
|
|
33
|
+
Service77,
|
|
34
|
+
node81
|
|
35
|
+
} from "./form-75hqwwjx.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./form-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service36,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
56
|
layer: () => layer14,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node40
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service36 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var layer14 = (options) => Layer.effect(
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const environment = yield* Service71;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service79;
|
|
119
|
+
const integration = yield* Service77;
|
|
120
|
+
const credentials = yield* Service78;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID14.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError3({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID16.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service71, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service36.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured3(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
535
|
+
service: Service36,
|
|
536
536
|
layer: layer14(options),
|
|
537
|
-
deps: [
|
|
537
|
+
deps: [node84, node74, node87, node83, node81, node82]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node40 = configured3();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service36, Options3, layer14, configured3, node40, exports_mcp4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-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: () => Service56,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node58
|
|
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 Service56 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service56.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node58 = makeLocationNode({ service: Service56, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service56, node58, exports_image2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-e946v8ac.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./form-q4d45mga.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./form-mawhtjq6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./form-3cvhxgkj.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-p7gq9vf8.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-zef9ymh5.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./form-ecfe7b91.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./form-b4p19tx4.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./form-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service50;
|
|
58
|
+
const toolOutput = yield* Service66;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make8 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -216,4 +216,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
216
216
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
217
217
|
};
|
|
218
218
|
|
|
219
|
-
export { Outcome2,
|
|
219
|
+
export { Outcome2, make3, exports_step };
|