@opencode/core 0.0.0-dev-20844 → 0.0.0-dev-20845
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{formatter-tmbn7gcx.js → websearch-02ay902v.js} +2 -2
- package/dist/chunks/{formatter-n6x4mcww.js → websearch-02n9afqs.js} +20 -20
- package/dist/chunks/{formatter-d4j44yz6.js → websearch-03c3x67r.js} +7 -7
- package/dist/chunks/{formatter-gdmg7y7w.js → websearch-091j2xph.js} +28 -28
- package/dist/chunks/{formatter-x6zpjsfk.js → websearch-0ccf4gq7.js} +37 -37
- package/dist/chunks/{formatter-21pyz670.js → websearch-0fbhksc1.js} +33 -33
- package/dist/chunks/{formatter-1ynav5f4.js → websearch-0fpcnnbm.js} +46 -46
- package/dist/chunks/{formatter-5fp7te4b.js → websearch-0g226ptp.js} +11 -11
- package/dist/chunks/{formatter-q0xm7vwc.js → websearch-0j77ygfz.js} +6 -6
- package/dist/chunks/{formatter-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{formatter-0vbcp93d.js → websearch-0vbcp93d.js} +2 -2
- package/dist/chunks/{formatter-90j3xnb1.js → websearch-0y7gjjxa.js} +16 -16
- package/dist/chunks/websearch-0zhbjahh.js +253 -0
- package/dist/chunks/{formatter-t0p0w3g9.js → websearch-1kh7kten.js} +18 -18
- package/dist/chunks/{formatter-aptsrnfj.js → websearch-1p1wg8d2.js} +17 -17
- package/dist/chunks/{formatter-c7vpsa26.js → websearch-1t3mepgx.js} +17 -17
- package/dist/chunks/{formatter-k573dvp0.js → websearch-26wtnee4.js} +33 -33
- package/dist/chunks/{formatter-r5h8n489.js → websearch-2bv54bp0.js} +7 -7
- package/dist/chunks/{formatter-4ts7tf6z.js → websearch-2ccvkpx1.js} +2 -2
- package/dist/chunks/{formatter-3nz0bd4c.js → websearch-2d0p9y9z.js} +2 -2
- package/dist/chunks/{formatter-t4pgss7x.js → websearch-2ht1hyxn.js} +32 -32
- package/dist/chunks/{formatter-exsq973e.js → websearch-2nnxwdxf.js} +17 -17
- package/dist/chunks/{formatter-9dekqje7.js → websearch-2ntznan2.js} +23 -23
- package/dist/chunks/{formatter-wte75qjz.js → websearch-2ryng5r3.js} +4 -4
- package/dist/chunks/{formatter-2vvh33eb.js → websearch-2vvh33eb.js} +2 -2
- package/dist/chunks/{formatter-42dw4rvm.js → websearch-34c2xrx6.js} +5 -5
- package/dist/chunks/{formatter-razkkmbj.js → websearch-39w50htg.js} +14 -14
- package/dist/chunks/{formatter-jt9p6a1k.js → websearch-3azd9wzv.js} +5 -5
- package/dist/chunks/{formatter-ryccahdk.js → websearch-3bm72bj4.js} +15 -15
- package/dist/chunks/{formatter-d2x3fvxy.js → websearch-3btaar3f.js} +32 -32
- package/dist/chunks/{formatter-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{formatter-s41hc7hx.js → websearch-3gr7mfrt.js} +20 -20
- package/dist/chunks/{formatter-c8cf3kt2.js → websearch-3gsd6kkn.js} +15 -15
- package/dist/chunks/{formatter-vgx6weyf.js → websearch-3heg1ssy.js} +8 -8
- package/dist/chunks/{formatter-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-8mrxmbmj.js → websearch-3hw8948m.js} +12 -12
- package/dist/chunks/{formatter-3hwn7j4h.js → websearch-3hwn7j4h.js} +2 -2
- package/dist/chunks/{formatter-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-trr7bxs1.js → websearch-3zbwr1r2.js} +13 -13
- package/dist/chunks/{formatter-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
- package/dist/chunks/{formatter-tmvn36x1.js → websearch-463e81q2.js} +6 -6
- package/dist/chunks/{formatter-ah1t0cbz.js → websearch-4drexav4.js} +11 -11
- package/dist/chunks/{formatter-7bvz2z4q.js → websearch-4mdjmm98.js} +3 -3
- package/dist/chunks/{formatter-ccrb4wds.js → websearch-4myehych.js} +4 -4
- package/dist/chunks/{formatter-0tkpsk1a.js → websearch-4pw397dx.js} +14 -14
- package/dist/chunks/{formatter-9npt1895.js → websearch-4txdqmcn.js} +10 -10
- package/dist/chunks/{formatter-4kn8dehn.js → websearch-4x3n9ey5.js} +18 -18
- package/dist/chunks/{formatter-7npw7b4f.js → websearch-4y1ardx2.js} +9 -9
- package/dist/chunks/{formatter-gjmk74th.js → websearch-51f5btjf.js} +6 -6
- package/dist/chunks/{formatter-pxwtvwnd.js → websearch-529c1882.js} +1 -1
- package/dist/chunks/{formatter-tk2nybwj.js → websearch-5346vetp.js} +21 -21
- package/dist/chunks/{formatter-54ma36ye.js → websearch-54ma36ye.js} +1 -1
- package/dist/chunks/{formatter-7khzse4r.js → websearch-58g2rxtj.js} +27 -27
- package/dist/chunks/{formatter-4j4tgtq5.js → websearch-5dkn69vz.js} +4 -4
- package/dist/chunks/{formatter-97aeaand.js → websearch-5fec3t3w.js} +9 -9
- package/dist/chunks/{formatter-wpswfpkw.js → websearch-5m7kxt6n.js} +11 -11
- package/dist/chunks/{formatter-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-h5941s2r.js → websearch-5ng2s7kp.js} +30 -30
- package/dist/chunks/websearch-5qgf7nx2.js +26 -0
- package/dist/chunks/{formatter-xyg64hc1.js → websearch-5tjqd32p.js} +25 -25
- package/dist/chunks/{formatter-6w9p5n85.js → websearch-60x5va7n.js} +12 -12
- package/dist/chunks/{formatter-y6y97je4.js → websearch-69qcfv13.js} +13 -13
- package/dist/chunks/{formatter-304591gr.js → websearch-6b6j0b7q.js} +22 -22
- package/dist/chunks/{formatter-ez1f3vwt.js → websearch-6bre43z2.js} +11 -11
- package/dist/chunks/{formatter-j65a6egm.js → websearch-6jgtgznj.js} +11 -11
- package/dist/chunks/{formatter-btbmdjwj.js → websearch-6rm5yzkt.js} +4 -4
- package/dist/chunks/{formatter-zfcwc1y1.js → websearch-6wg7wrda.js} +8 -8
- package/dist/chunks/{formatter-6xb47vfp.js → websearch-6xb47vfp.js} +1 -1
- package/dist/chunks/{formatter-hy1va3t8.js → websearch-73wr0wn5.js} +11 -11
- package/dist/chunks/{formatter-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-h3wbh357.js → websearch-7dh0d45w.js} +3 -3
- package/dist/chunks/{formatter-wnkeg6nb.js → websearch-7yvkazhd.js} +14 -14
- package/dist/chunks/{formatter-84txncab.js → websearch-84txncab.js} +1 -1
- package/dist/chunks/{formatter-gf1n7vvt.js → websearch-8b0024wb.js} +1 -1
- package/dist/chunks/{formatter-8m6m0r52.js → websearch-8m6m0r52.js} +1 -1
- package/dist/chunks/{formatter-xweqhgzj.js → websearch-8pknc86s.js} +9 -9
- package/dist/chunks/{formatter-63jakaer.js → websearch-8sgx605s.js} +33 -33
- package/dist/chunks/{formatter-jws6fkes.js → websearch-8sze2n9a.js} +4 -4
- package/dist/chunks/{formatter-vn11bvqc.js → websearch-8tzfdcdp.js} +8 -8
- package/dist/chunks/{formatter-n97r6b1p.js → websearch-8xhpb0mm.js} +20 -20
- package/dist/chunks/{formatter-91qna3x0.js → websearch-91qna3x0.js} +3 -3
- package/dist/chunks/{formatter-3n40wvxh.js → websearch-94ca0bep.js} +5 -5
- package/dist/chunks/{formatter-advpk7k7.js → websearch-97m84bsj.js} +20 -20
- package/dist/chunks/{formatter-ae2ebvqc.js → websearch-9hn4sma3.js} +15 -15
- package/dist/chunks/{formatter-zv6nfkan.js → websearch-9kjtg0w1.js} +8 -8
- package/dist/chunks/{formatter-h1fz3f88.js → websearch-a6qeya9w.js} +9 -9
- package/dist/chunks/{formatter-tat11k01.js → websearch-a881zpfh.js} +9 -9
- package/dist/chunks/{formatter-ermxvwhp.js → websearch-a89e0tac.js} +4 -4
- package/dist/chunks/{formatter-zw2hpfmh.js → websearch-addxnjmp.js} +4 -4
- package/dist/chunks/{formatter-mjgetwmq.js → websearch-aea0zttc.js} +45 -45
- package/dist/chunks/{formatter-9n3fm182.js → websearch-ap6mjhv7.js} +72 -72
- package/dist/chunks/{formatter-89e7he8k.js → websearch-asc7erf4.js} +30 -30
- package/dist/chunks/{formatter-b34d37jx.js → websearch-b2ad3jms.js} +11 -11
- package/dist/chunks/{formatter-6q31t9jv.js → websearch-b9mw2aqp.js} +8 -8
- package/dist/chunks/{formatter-1jdt266a.js → websearch-bacj9t34.js} +9 -9
- package/dist/chunks/{formatter-110tzrbd.js → websearch-bb1ydskb.js} +14 -14
- package/dist/chunks/{formatter-gm3mawps.js → websearch-bceny5qf.js} +6 -6
- package/dist/chunks/{formatter-p66tndhm.js → websearch-bd3z6g2t.js} +22 -22
- package/dist/chunks/{formatter-yt20gxxn.js → websearch-bdajaf8t.js} +45 -45
- package/dist/chunks/{formatter-p4qrnvy6.js → websearch-bdmfkcq7.js} +15 -15
- package/dist/chunks/{formatter-2eegacq4.js → websearch-bjmt3h04.js} +8 -8
- package/dist/chunks/{formatter-d55kms0x.js → websearch-bkp6ttkb.js} +24 -24
- package/dist/chunks/{formatter-1bb8svhn.js → websearch-bmqayegw.js} +2 -2
- package/dist/chunks/{formatter-rtxeq7sf.js → websearch-byhh6v23.js} +13 -13
- package/dist/chunks/{formatter-5jvkmg6a.js → websearch-c1v03wcp.js} +4 -4
- package/dist/chunks/{formatter-c41wscbt.js → websearch-c41wscbt.js} +2 -2
- package/dist/chunks/{formatter-170ybnr4.js → websearch-c590j7n0.js} +13 -13
- package/dist/chunks/{formatter-c8ax2afj.js → websearch-c8ax2afj.js} +2 -2
- package/dist/chunks/{formatter-r1cvadwr.js → websearch-cb63dr15.js} +13 -13
- package/dist/chunks/{formatter-4yw1fbgd.js → websearch-cbz1spd4.js} +19 -19
- package/dist/chunks/{formatter-xz2e5smm.js → websearch-cf9c5hgv.js} +16 -16
- package/dist/chunks/{formatter-0gqjtaj7.js → websearch-cm1jr1n4.js} +8 -8
- package/dist/chunks/{formatter-d0da1tm4.js → websearch-cq1n6b1r.js} +5 -5
- package/dist/chunks/{formatter-8pvjw1yk.js → websearch-cv6wkry4.js} +11 -11
- package/dist/chunks/{formatter-1eyvf6d7.js → websearch-d4b9t5sr.js} +5 -5
- package/dist/chunks/{formatter-8kwptkep.js → websearch-dbnj43ps.js} +18 -18
- package/dist/chunks/{formatter-tbycc2hz.js → websearch-dg86z8e6.js} +15 -15
- package/dist/chunks/{formatter-n9a6feh5.js → websearch-dhewa6g3.js} +30 -30
- package/dist/chunks/{formatter-zmrfgz7x.js → websearch-dm603y2d.js} +4 -4
- package/dist/chunks/{formatter-y71avatq.js → websearch-dpkg50ah.js} +4 -4
- package/dist/chunks/{formatter-cyejtnng.js → websearch-dqjpmmqm.js} +59 -59
- package/dist/chunks/{formatter-gfzqzyz0.js → websearch-drmqggy3.js} +6 -6
- package/dist/chunks/{formatter-wrhpknam.js → websearch-dydaqehh.js} +28 -28
- package/dist/chunks/{formatter-wee432v1.js → websearch-e0ewwv29.js} +12 -12
- package/dist/chunks/{formatter-5qd3pb7m.js → websearch-e3qxr5gk.js} +2 -2
- package/dist/chunks/{formatter-sxcaecc0.js → websearch-e80seqcp.js} +3 -3
- package/dist/chunks/{formatter-1v1jz88t.js → websearch-eca5te9y.js} +18 -18
- package/dist/chunks/{formatter-n3zkspvb.js → websearch-edjh399s.js} +8 -8
- package/dist/chunks/{formatter-rvzmyzm1.js → websearch-ee1a8rbf.js} +20 -20
- package/dist/chunks/{formatter-eej6y6fw.js → websearch-eej6y6fw.js} +2 -2
- package/dist/chunks/{formatter-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{formatter-ep1yn424.js → websearch-engj6hqw.js} +5 -5
- package/dist/chunks/{formatter-kx7rxa1b.js → websearch-er035epz.js} +14 -14
- package/dist/chunks/{formatter-es1vcfrp.js → websearch-es1vcfrp.js} +3 -3
- package/dist/chunks/{formatter-j9vw60gp.js → websearch-exzn1zz0.js} +7 -7
- package/dist/chunks/{formatter-jppqdx2t.js → websearch-eye2dsms.js} +9 -9
- package/dist/chunks/{formatter-dwg0wzat.js → websearch-ez4jw3cg.js} +10 -10
- package/dist/chunks/{formatter-ax2n58t8.js → websearch-f56185ew.js} +3 -3
- package/dist/chunks/{formatter-fk8kczgx.js → websearch-ff3eaey1.js} +20 -20
- package/dist/chunks/{formatter-pfzs8f4y.js → websearch-ftfsgypn.js} +9 -9
- package/dist/chunks/{formatter-3vztebqd.js → websearch-g0nh73ae.js} +45 -45
- package/dist/chunks/{formatter-c765mh8b.js → websearch-g6q9qykm.js} +9 -9
- package/dist/chunks/{formatter-wsacapk7.js → websearch-g73pzdn4.js} +6 -6
- package/dist/chunks/{formatter-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-p95p47f2.js → websearch-ggx376j6.js} +33 -33
- package/dist/chunks/{formatter-c1fmzc09.js → websearch-ghp5sgdj.js} +4 -4
- package/dist/chunks/{formatter-gk8qb678.js → websearch-gk8qb678.js} +1 -1
- package/dist/chunks/{formatter-1x7hg506.js → websearch-gpt9y09p.js} +9 -9
- package/dist/chunks/{formatter-3h470ew9.js → websearch-gwva2jq6.js} +5 -5
- package/dist/chunks/{formatter-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-h7s7r6s9.js → websearch-h7s7r6s9.js} +2 -2
- package/dist/chunks/{formatter-hd823ygp.js → websearch-h9nmvtcp.js} +11 -11
- package/dist/chunks/{formatter-jcp3whqs.js → websearch-hcpf260s.js} +4 -4
- package/dist/chunks/{formatter-hgz4x7wa.js → websearch-hgz4x7wa.js} +1 -1
- package/dist/chunks/{formatter-84sp9v26.js → websearch-hh3s84jy.js} +8 -8
- package/dist/chunks/{formatter-tzsvtse1.js → websearch-hmzbt2r1.js} +24 -24
- package/dist/chunks/{formatter-m5rzs9kv.js → websearch-hppc3qez.js} +42 -42
- package/dist/chunks/{formatter-hk61fc81.js → websearch-hwf1xm3p.js} +29 -29
- package/dist/chunks/{formatter-fdmyxeta.js → websearch-hy079qxn.js} +1 -1
- package/dist/chunks/{formatter-wcqpwpqs.js → websearch-j309bc8m.js} +23 -23
- package/dist/chunks/{formatter-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{formatter-xt4njr3s.js → websearch-jhdf29st.js} +1 -1
- package/dist/chunks/{formatter-qhcjrbh9.js → websearch-jmevm6dv.js} +8 -8
- package/dist/chunks/websearch-jqh9b0xq.js +18 -0
- package/dist/chunks/{formatter-zav06jzw.js → websearch-jvf3yq6v.js} +4 -4
- package/dist/chunks/{formatter-zzm694dn.js → websearch-jyn3c76q.js} +9 -9
- package/dist/chunks/{formatter-bj587msa.js → websearch-jz4m0x6v.js} +25 -25
- package/dist/chunks/{formatter-hvnp0mny.js → websearch-k19c7zh8.js} +315 -315
- package/dist/chunks/{formatter-pfw33rzy.js → websearch-kh07k3gv.js} +23 -23
- package/dist/chunks/{formatter-khmqacep.js → websearch-khmqacep.js} +1 -1
- package/dist/chunks/{formatter-7qqs174k.js → websearch-kpca8vw1.js} +9 -9
- package/dist/chunks/{formatter-rk5tjb03.js → websearch-kqb3yzh9.js} +11 -11
- package/dist/chunks/{formatter-s57gzy7f.js → websearch-kqsasazf.js} +4 -4
- package/dist/chunks/{formatter-bpeqk324.js → websearch-ks9yanxs.js} +23 -23
- package/dist/chunks/{formatter-2bzq2pzg.js → websearch-kztj1kw1.js} +16 -16
- package/dist/chunks/{formatter-2r93mh4x.js → websearch-m329mjby.js} +5 -5
- package/dist/chunks/{formatter-c2rqg8ey.js → websearch-m4wxmrpq.js} +17 -17
- package/dist/chunks/{formatter-4g61n2kp.js → websearch-m8hcs5as.js} +3 -3
- package/dist/chunks/{formatter-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-acwtfcp6.js → websearch-mesve3we.js} +9 -9
- package/dist/chunks/{formatter-bjsqrap1.js → websearch-mqcrsfd8.js} +168 -168
- package/dist/chunks/{formatter-fgbx85dz.js → websearch-mtvxtq3d.js} +26 -26
- package/dist/chunks/{formatter-y1zhptrh.js → websearch-mygssqta.js} +8 -8
- package/dist/chunks/{formatter-aa0aqb92.js → websearch-nchek2m9.js} +18 -18
- package/dist/chunks/{formatter-hd88bjr2.js → websearch-ne5cj8vn.js} +17 -17
- package/dist/chunks/{formatter-enarwepj.js → websearch-nf90gmgp.js} +11 -11
- package/dist/chunks/{formatter-t4ngctge.js → websearch-nm9exbtv.js} +36 -36
- package/dist/chunks/{formatter-ta4r65qv.js → websearch-nsb8zy01.js} +5 -5
- package/dist/chunks/{formatter-kb20khyt.js → websearch-p5e5cqbw.js} +44 -44
- package/dist/chunks/{formatter-pwct3qgt.js → websearch-p6e4p3jj.js} +4 -4
- package/dist/chunks/{formatter-3jvh5386.js → websearch-p7yeqdaq.js} +14 -14
- package/dist/chunks/{formatter-x42b0rq9.js → websearch-p9r3dmyw.js} +30 -30
- package/dist/chunks/{formatter-refxa0t0.js → websearch-pax1sq1c.js} +2 -2
- package/dist/chunks/{formatter-jpar7rgf.js → websearch-pfd09dg8.js} +19 -19
- package/dist/chunks/{formatter-bfj99pj9.js → websearch-ph78x2jd.js} +17 -17
- package/dist/chunks/{formatter-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-dn7ywjh2.js → websearch-q43487xb.js} +13 -13
- package/dist/chunks/{formatter-d216944b.js → websearch-qa3qhgw8.js} +7 -7
- package/dist/chunks/{formatter-3kmz1s9n.js → websearch-qet4t08v.js} +15 -15
- package/dist/chunks/{formatter-fcrkznn8.js → websearch-qgn6gcr1.js} +5 -5
- package/dist/chunks/{formatter-dmd4mak0.js → websearch-qkrsb4e9.js} +7 -7
- package/dist/chunks/{formatter-qnc92qwc.js → websearch-qnc92qwc.js} +1 -1
- package/dist/chunks/{formatter-b674v2dg.js → websearch-qne3fa44.js} +5 -5
- package/dist/chunks/{formatter-0r53015b.js → websearch-qrm3t9gm.js} +15 -15
- package/dist/chunks/{formatter-p69x1384.js → websearch-qrrsmycy.js} +19 -19
- package/dist/chunks/{formatter-qb5fy139.js → websearch-qrw28b9v.js} +11 -11
- package/dist/chunks/{formatter-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-yg5tfmeg.js → websearch-qv3czhwy.js} +24 -24
- package/dist/chunks/{formatter-c8hpe9t1.js → websearch-r7kv1bh5.js} +34 -34
- package/dist/chunks/{formatter-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
- package/dist/chunks/{formatter-6v9y8yth.js → websearch-rexg04m1.js} +3 -3
- package/dist/chunks/{formatter-6q1fk26j.js → websearch-rfm1wj6s.js} +16 -16
- package/dist/chunks/{formatter-02nrjc1r.js → websearch-rhjbct0v.js} +6 -6
- package/dist/chunks/{formatter-e3m5w1sy.js → websearch-rvfzqdmm.js} +17 -17
- package/dist/chunks/{formatter-6r6hnsnp.js → websearch-rwyzk1vj.js} +6 -6
- package/dist/chunks/{formatter-kt03xgs8.js → websearch-sbq4x687.js} +40 -40
- package/dist/chunks/{formatter-vtk244ca.js → websearch-sc2ayhna.js} +12 -12
- package/dist/chunks/{formatter-r24bhee7.js → websearch-sjrcjray.js} +24 -24
- package/dist/chunks/{formatter-53c3sv1q.js → websearch-skj7xkre.js} +11 -11
- package/dist/chunks/{formatter-y9g90tep.js → websearch-snp4rkgh.js} +13 -13
- package/dist/chunks/{formatter-syv4x271.js → websearch-syv4x271.js} +1 -1
- package/dist/chunks/{formatter-sfkj0ta1.js → websearch-t0sqncza.js} +5 -5
- package/dist/chunks/{formatter-ngdfe2fc.js → websearch-t64tfqsj.js} +5 -5
- package/dist/chunks/{formatter-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
- package/dist/chunks/{formatter-tc000skt.js → websearch-tdcces3n.js} +18 -18
- package/dist/chunks/{formatter-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-4xpgt2w9.js → websearch-tk14y25j.js} +5 -5
- package/dist/chunks/{formatter-fr7ck4vq.js → websearch-tk7qgmyp.js} +9 -9
- package/dist/chunks/{formatter-tkb22qbm.js → websearch-tkb22qbm.js} +2 -2
- package/dist/chunks/{formatter-cmwkp3r5.js → websearch-tpw6cwsb.js} +8 -8
- package/dist/chunks/{formatter-68vnzynb.js → websearch-tsz26xtv.js} +24 -24
- package/dist/chunks/{formatter-tyytaxap.js → websearch-tyytaxap.js} +1 -1
- package/dist/chunks/{formatter-v0es1rhs.js → websearch-v0es1rhs.js} +2 -2
- package/dist/chunks/{formatter-521cwzmq.js → websearch-v0ezxakm.js} +13 -13
- package/dist/chunks/{formatter-7epx4byg.js → websearch-v1544te7.js} +16 -16
- package/dist/chunks/{formatter-v7p4zvkq.js → websearch-v7p4zvkq.js} +2 -2
- package/dist/chunks/{formatter-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-6bc1jehr.js → websearch-vhr0yf14.js} +4 -4
- package/dist/chunks/{formatter-y3gx830p.js → websearch-vhvqpnxg.js} +11 -11
- package/dist/chunks/{formatter-4pa8nav4.js → websearch-vpm8vpz0.js} +3 -3
- package/dist/chunks/{formatter-mnrb0wvm.js → websearch-vswsbfgz.js} +24 -24
- package/dist/chunks/{formatter-3d4ymmg4.js → websearch-vtt0yr3x.js} +13 -13
- package/dist/chunks/{formatter-x1xxp7pr.js → websearch-vv1q3c5v.js} +65 -65
- package/dist/chunks/{formatter-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
- package/dist/chunks/{formatter-mw6z6saw.js → websearch-w1z493z1.js} +37 -37
- package/dist/chunks/{formatter-jvhh335a.js → websearch-w2q5m1k0.js} +18 -18
- package/dist/chunks/{formatter-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-0n6pyt17.js → websearch-w79y3adg.js} +13 -13
- package/dist/chunks/{formatter-cvavr63d.js → websearch-wavhfayw.js} +24 -24
- package/dist/chunks/{formatter-z0ha1qbj.js → websearch-wbp5y788.js} +7 -7
- package/dist/chunks/{formatter-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-zyk1yjk8.js → websearch-wecqtg5s.js} +5 -5
- package/dist/chunks/{formatter-gc2evk3x.js → websearch-wgrk21zd.js} +5 -5
- package/dist/chunks/{formatter-q253zft2.js → websearch-whaakjyp.js} +25 -25
- package/dist/chunks/{formatter-wjr9rjd7.js → websearch-wjr9rjd7.js} +2 -2
- package/dist/chunks/{formatter-9a161wge.js → websearch-wjwc91bs.js} +78 -78
- package/dist/chunks/{formatter-gzeebjq4.js → websearch-wzq6jsfv.js} +7 -7
- package/dist/chunks/{formatter-9jzp6rtr.js → websearch-xf8yqmad.js} +2 -2
- package/dist/chunks/{formatter-2map9xty.js → websearch-xfahfhyk.js} +50 -50
- package/dist/chunks/{formatter-qqeeq2t9.js → websearch-xfkkasph.js} +7 -7
- package/dist/chunks/{formatter-63mfsvgx.js → websearch-xsth9hr2.js} +11 -11
- package/dist/chunks/{formatter-m00031xg.js → websearch-xxnmbcpy.js} +43 -43
- package/dist/chunks/{formatter-xn8fmk94.js → websearch-y18g3psc.js} +21 -21
- package/dist/chunks/{formatter-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-4n2jdprc.js → websearch-y3jke7st.js} +4 -4
- package/dist/chunks/{formatter-wct31cks.js → websearch-y656zp5d.js} +40 -40
- package/dist/chunks/{formatter-nnh9ekd1.js → websearch-y7b0a65n.js} +10 -10
- package/dist/chunks/{formatter-vc3r2ec9.js → websearch-yecz5pv7.js} +17 -17
- package/dist/chunks/{formatter-n61013np.js → websearch-ynmknp8q.js} +11 -11
- package/dist/chunks/{formatter-1acjjqhc.js → websearch-yp2x3t23.js} +4 -4
- package/dist/chunks/{formatter-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-db8hvn5r.js → websearch-z1ajk4qq.js} +3 -3
- package/dist/chunks/{formatter-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-tbk04f64.js → websearch-zsmwbbvy.js} +26 -26
- package/dist/chunks/{formatter-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/chunks/{formatter-y7hva13m.js → websearch-zztrcv6s.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- 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 +121 -121
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- 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 +126 -126
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/formatter-7fj5dwt0.js +0 -18
- package/dist/chunks/formatter-d6n2v97e.js +0 -26
- package/dist/chunks/formatter-kqgdmvde.js +0 -253
- /package/dist/chunks/{formatter-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2bv980vf.js → websearch-2bv980vf.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3t0ybcrp.js → websearch-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → websearch-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-bw78ga2c.js → websearch-bw78ga2c.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jze0r7bz.js → websearch-jze0r7bz.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → websearch-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-pkyv6v7h.js → websearch-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{formatter-pyv0edze.js → websearch-pyv0edze.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → websearch-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./websearch-zsmwbbvy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./websearch-dqjpmmqm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service78;
|
|
57
|
+
const permission = yield* Service51;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-y1fvbwt7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service79,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer27,
|
|
15
|
+
node: () => node83,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service79 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer27 = Layer.effect(Service79, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service79.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node83 = makeGlobalNode({ service: Service79, layer: layer27, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service79, layer27, node83, statements2, decision2, exports_managed_policy };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-hcpf260s.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-dqjpmmqm.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
21
|
ID: () => ID5,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info8,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service47,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available3,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node49,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event6 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info8 = Skill.Info;
|
|
43
43
|
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service47 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service84;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service47.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node49 = makeLocationNode({
|
|
112
|
+
service: Service47,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node88]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info8, ID5, Name2, available3, toModelOutput3, prepare3, Service47, node49, exports_skill5, Event6 };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
Service80,
|
|
3
3
|
node84,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-02ay902v.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service44,
|
|
8
|
+
node46
|
|
9
|
+
} from "./websearch-51f5btjf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service20
|
|
12
|
+
} from "./websearch-jz4m0x6v.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-0zhbjahh.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service20);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,7 +54,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node46.replace(Layer.succeed(Service44, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service44,
|
|
10
|
+
node: () => node46
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service44 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node46 = LayerNode.unbound(Service44, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service44, node46, exports_service2 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-hgz4x7wa.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-eej6y6fw.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-3hwn7j4h.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-v7p4zvkq.js";
|
|
16
16
|
import {
|
|
17
17
|
Service81,
|
|
18
18
|
node85
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-pax1sq1c.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service68,
|
|
22
|
+
node70
|
|
23
|
+
} from "./websearch-091j2xph.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./websearch-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service67,
|
|
33
|
+
node: () => node69
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service67,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node69,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service67 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service81;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service68;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service67.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node69 = makeLocationNode({
|
|
71
|
+
service: Service67,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node85,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node85, node70]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service67, node69, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-hcpf260s.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-pax1sq1c.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service74,
|
|
20
|
+
node77,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./websearch-hwf1xm3p.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./websearch-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,18 +30,18 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service73,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node76,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
53
|
+
var ID12 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -66,12 +66,12 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
var Cost2 = Model.Cost;
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
|
-
var
|
|
69
|
+
var Info21 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service73 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
73
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service74;
|
|
75
75
|
const bus = yield* Service84;
|
|
76
76
|
const location = yield* Service81;
|
|
77
77
|
let input;
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
118
118
|
const models = writable(providerID);
|
|
119
119
|
if (!models)
|
|
120
120
|
return;
|
|
121
|
-
const model = draft(providerID, modelID) ??
|
|
121
|
+
const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
|
|
122
122
|
update(model);
|
|
123
123
|
model.id = modelID;
|
|
124
124
|
model.providerID = providerID;
|
|
@@ -207,8 +207,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
207
207
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
|
-
yield* bus.subscribe(
|
|
211
|
-
return
|
|
210
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
211
|
+
return Service73.of({
|
|
212
212
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
213
213
|
reload,
|
|
214
214
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
}));
|
|
230
|
-
var
|
|
230
|
+
var node76 = makeLocationNode({ service: Service73, layer, deps: [node77, node88, node85] });
|
|
231
231
|
function supportsText2(model) {
|
|
232
232
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
233
233
|
}
|
|
@@ -241,9 +241,9 @@ function compatibility2(input) {
|
|
|
241
241
|
function parse5(input) {
|
|
242
242
|
const index = input.indexOf("/");
|
|
243
243
|
return {
|
|
244
|
-
providerID:
|
|
245
|
-
modelID:
|
|
244
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
245
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export {
|
|
249
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service73, node76, supportsText2, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info10,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info10 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info10, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info16,
|
|
12
12
|
Object: () => Object2,
|
|
13
|
-
Rule: () =>
|
|
13
|
+
Rule: () => Rule3
|
|
14
14
|
});
|
|
15
15
|
import { Schema, SchemaGetter } from "effect";
|
|
16
16
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
19
19
|
encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
|
|
20
20
|
}));
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
|
-
var
|
|
22
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info16 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info16, exports_permission2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer26,
|
|
12
|
+
make: () => make21,
|
|
13
|
+
node: () => node82,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make21()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make21(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make15(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer26 = (input) => Layer.succeed(Metadata2, make21(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer26(input), deps: [] });
|
|
33
|
+
var node82 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make21, useragent2, layer26, configured11, node82, exports_app };
|