@opencode/core 0.0.0-dev-19624 → 0.0.0-dev-19625
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{model-resolver-zdjzyrvw.js → state-01c8jd1w.js} +7 -7
- package/dist/chunks/{model-resolver-mfhfdr54.js → state-06dxphr1.js} +4 -4
- package/dist/chunks/{model-resolver-adefstcf.js → state-0cnr96kf.js} +11 -11
- package/dist/chunks/{model-resolver-5887gt1n.js → state-0ejqnpgq.js} +171 -171
- package/dist/chunks/{model-resolver-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → state-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-rtsrdkh6.js → state-0v5c5440.js} +10 -10
- package/dist/chunks/{model-resolver-jetrtpqb.js → state-0y8dyykb.js} +16 -16
- package/dist/chunks/{model-resolver-tgq28bjx.js → state-0zmtjazh.js} +21 -21
- package/dist/chunks/{model-resolver-0mknfjdk.js → state-18zsx4wd.js} +8 -8
- package/dist/chunks/{model-resolver-vz8e1ew2.js → state-1brs0x88.js} +27 -27
- package/dist/chunks/{model-resolver-v8jfbz3g.js → state-1bvekr7f.js} +6 -6
- package/dist/chunks/{model-resolver-13cyde70.js → state-1cr9pyzx.js} +32 -32
- package/dist/chunks/{model-resolver-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-3w3j0q5e.js → state-1jxz1f4t.js} +15 -15
- package/dist/chunks/{model-resolver-mw2nv40j.js → state-1k33tf3r.js} +10 -10
- package/dist/chunks/{model-resolver-jrcdwmcs.js → state-1t5zgxxm.js} +20 -20
- package/dist/chunks/{model-resolver-gxajrtvj.js → state-1vxxmenm.js} +6 -6
- package/dist/chunks/{model-resolver-1x11rq2a.js → state-1x11rq2a.js} +1 -1
- package/dist/chunks/{model-resolver-frva07hn.js → state-1x2m2kns.js} +21 -21
- package/dist/chunks/{model-resolver-fyd77bxh.js → state-20ft7gws.js} +25 -25
- package/dist/chunks/{model-resolver-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-ab9238g2.js → state-23pqda6t.js} +5 -5
- package/dist/chunks/{model-resolver-2402vzrj.js → state-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-50341da0.js → state-28wkbh4b.js} +11 -11
- package/dist/chunks/{model-resolver-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-rwnjbtn0.js → state-2jcx25a3.js} +16 -16
- package/dist/chunks/{model-resolver-0erxy7q5.js → state-2t25jzh1.js} +22 -22
- package/dist/chunks/{model-resolver-b85pverc.js → state-2z3d3p6x.js} +12 -12
- package/dist/chunks/{model-resolver-3bt2kz20.js → state-34crcs6s.js} +25 -25
- package/dist/chunks/{model-resolver-q3xkv71r.js → state-36308byx.js} +13 -13
- package/dist/chunks/{model-resolver-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-jk8r4hg4.js → state-3hzsgabf.js} +13 -13
- package/dist/chunks/{model-resolver-4kreg4y2.js → state-3m5b51q1.js} +90 -90
- package/dist/chunks/{model-resolver-3tg3qg3s.js → state-3n6sdpxb.js} +4 -4
- package/dist/chunks/{model-resolver-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-y0tc0hsd.js → state-40ar7v2a.js} +14 -14
- package/dist/chunks/{model-resolver-z5wa85ag.js → state-47dkewx0.js} +1 -1
- package/dist/chunks/{model-resolver-80nc4spm.js → state-49efg6hh.js} +12 -12
- package/dist/chunks/{model-resolver-2twrdw90.js → state-4bszj314.js} +5 -5
- package/dist/chunks/{model-resolver-af04s6ss.js → state-4phm5153.js} +5 -5
- package/dist/chunks/{model-resolver-1ygqh575.js → state-56gdpj1q.js} +9 -9
- package/dist/chunks/{model-resolver-2fgn2we9.js → state-57ez7d0k.js} +9 -9
- package/dist/chunks/{model-resolver-7jdzwnm1.js → state-59mgbvjy.js} +37 -37
- package/dist/chunks/{model-resolver-aepg8z33.js → state-5avwrfg8.js} +26 -26
- package/dist/chunks/{model-resolver-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-9d28t3h2.js → state-5ptztvq7.js} +5 -5
- package/dist/chunks/{model-resolver-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-xqed8619.js → state-5w4tm8f9.js} +11 -11
- package/dist/chunks/{model-resolver-qgn6gcr1.js → state-607tc6va.js} +5 -5
- package/dist/chunks/{model-resolver-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-47yce66j.js → state-66mxargn.js} +15 -15
- package/dist/chunks/{model-resolver-d3tz2ej1.js → state-6dt5d3yy.js} +9 -9
- package/dist/chunks/{model-resolver-away93r8.js → state-6fzqmn9v.js} +31 -31
- package/dist/chunks/{model-resolver-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-aq5y8b9e.js → state-6qkc0t3x.js} +8 -8
- package/dist/chunks/{model-resolver-t0fxg8b9.js → state-78v47nsk.js} +5 -5
- package/dist/chunks/{model-resolver-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/state-7eaj6nza.js +468 -0
- package/dist/chunks/{model-resolver-7dcxm99m.js → state-7egh4y4y.js} +26 -26
- package/dist/chunks/state-7g1ww872.js +26 -0
- package/dist/chunks/{model-resolver-dabzsmb9.js → state-7h0e1682.js} +18 -18
- package/dist/chunks/{model-resolver-38ha70wd.js → state-7hc87grc.js} +32 -32
- package/dist/chunks/{model-resolver-bc36thva.js → state-83s880gm.js} +41 -41
- package/dist/chunks/{model-resolver-9h4pky5p.js → state-84hf00xv.js} +7 -7
- package/dist/chunks/{model-resolver-76j33bwa.js → state-86a9eks8.js} +32 -32
- package/dist/chunks/{model-resolver-wyfy9p70.js → state-87k0zb7t.js} +6 -6
- package/dist/chunks/{model-resolver-xe1vchrn.js → state-898yeema.js} +18 -18
- package/dist/chunks/{model-resolver-dyqrmyzp.js → state-89rgtdwh.js} +6 -6
- package/dist/chunks/{model-resolver-tcezcvh9.js → state-89znhe33.js} +4 -4
- package/dist/chunks/{model-resolver-56cevs0r.js → state-8bcx3nez.js} +4 -4
- package/dist/chunks/{model-resolver-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-n07q14gc.js → state-8gzdyzew.js} +20 -20
- package/dist/chunks/{model-resolver-dj2t23y0.js → state-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-q7bzmzk3.js → state-8vb6c4g2.js} +47 -47
- package/dist/chunks/{model-resolver-xdf7vygc.js → state-8zc3jqwb.js} +24 -24
- package/dist/chunks/{model-resolver-n8cx0va0.js → state-936zgkx3.js} +3 -3
- package/dist/chunks/{model-resolver-bes7d2ad.js → state-937vk562.js} +4 -4
- package/dist/chunks/{model-resolver-mtgfyzt9.js → state-992j9qx1.js} +29 -29
- package/dist/chunks/{model-resolver-g608bnp8.js → state-9bw9tdmf.js} +16 -16
- package/dist/chunks/{model-resolver-gezs4z4f.js → state-9fgjxmjq.js} +6 -6
- package/dist/chunks/{model-resolver-0zpzqjkr.js → state-9hbm8v8j.js} +12 -12
- package/dist/chunks/{model-resolver-956r61jq.js → state-9j69pfkk.js} +9 -9
- package/dist/chunks/{model-resolver-n936bkhn.js → state-9vqz0pne.js} +12 -12
- package/dist/chunks/{model-resolver-5c4hm403.js → state-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-fw2sr2pv.js → state-a1k0n4t5.js} +27 -27
- package/dist/chunks/{model-resolver-anvx7hcz.js → state-a3hkj0gm.js} +13 -13
- package/dist/chunks/{model-resolver-tgpa0z63.js → state-a3r4dcrj.js} +2 -2
- package/dist/chunks/{model-resolver-gs8qb5fn.js → state-a7txqt5m.js} +43 -43
- package/dist/chunks/{model-resolver-f3ngv102.js → state-a8bn8zg0.js} +4 -4
- package/dist/chunks/{model-resolver-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-frdfcpkk.js → state-aby1gkpe.js} +15 -15
- package/dist/chunks/{model-resolver-89hfccde.js → state-ahhsgd92.js} +16 -16
- package/dist/chunks/{model-resolver-c5wz01h2.js → state-ak76n2aw.js} +15 -15
- package/dist/chunks/{model-resolver-t71v2ka4.js → state-b29mbqx6.js} +5 -5
- package/dist/chunks/{model-resolver-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-dhmh7aw6.js → state-baaqp4zd.js} +4 -4
- package/dist/chunks/{model-resolver-kkyytty7.js → state-bk8e4xf7.js} +17 -17
- package/dist/chunks/{model-resolver-1qvh69xy.js → state-bqmb9zzv.js} +8 -8
- package/dist/chunks/{model-resolver-y98q1xgq.js → state-bqn1h69t.js} +8 -8
- package/dist/chunks/{model-resolver-jw46dxtn.js → state-brt4p7q6.js} +3 -3
- package/dist/chunks/{model-resolver-t6a2ah85.js → state-bstmf25n.js} +24 -24
- package/dist/chunks/{model-resolver-fch79rh9.js → state-bz85s9hh.js} +1 -1
- package/dist/chunks/{model-resolver-z580hhtr.js → state-c156ep7e.js} +11 -11
- package/dist/chunks/{model-resolver-qnrbpj9b.js → state-c8xqcx36.js} +6 -6
- package/dist/chunks/{model-resolver-67k4gcxk.js → state-cemwa943.js} +4 -4
- package/dist/chunks/{model-resolver-m0jqrx5p.js → state-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-resolver-5d3x9756.js → state-cjnav3re.js} +53 -53
- package/dist/chunks/{model-resolver-7qh570j7.js → state-ckvyy4ff.js} +4 -4
- package/dist/chunks/{model-resolver-hzh4basz.js → state-cnvgsmxe.js} +20 -20
- package/dist/chunks/{model-resolver-jmphe03k.js → state-cq37gk0t.js} +4 -4
- package/dist/chunks/{model-resolver-x3et2xth.js → state-cxv3b682.js} +8 -8
- package/dist/chunks/state-d33cb7pa.js +251 -0
- package/dist/chunks/{model-resolver-3p50jy0h.js → state-d7s9ww47.js} +18 -18
- package/dist/chunks/{model-resolver-7z7az0f5.js → state-d8nc1xcx.js} +4 -4
- package/dist/chunks/{model-resolver-me3mgk02.js → state-d9b7h6cw.js} +37 -37
- package/dist/chunks/{model-resolver-x0v2vg57.js → state-ddyhp86z.js} +23 -23
- package/dist/chunks/{model-resolver-56bnbftg.js → state-dedpvjp1.js} +9 -9
- package/dist/chunks/{model-resolver-n8zt5qe2.js → state-dvzdqzst.js} +16 -16
- package/dist/chunks/{model-resolver-4gjh4rrg.js → state-dxwen4wn.js} +44 -44
- package/dist/chunks/{model-resolver-05nvcser.js → state-e0hkds3t.js} +54 -54
- package/dist/chunks/{model-resolver-e5nv3ght.js → state-e5nv3ght.js} +2 -2
- package/dist/chunks/{model-resolver-bgxcxs0p.js → state-e6hmchc5.js} +5 -5
- package/dist/chunks/{model-resolver-9vq2t1gs.js → state-e80f6ask.js} +22 -22
- package/dist/chunks/{model-resolver-ec3p188n.js → state-e8340df8.js} +8 -8
- package/dist/chunks/{model-resolver-88ksh428.js → state-e8dtjarm.js} +21 -21
- package/dist/chunks/{model-resolver-sxz6gkc3.js → state-edrmdtr5.js} +4 -4
- package/dist/chunks/{model-resolver-sf22njts.js → state-eebppvc8.js} +37 -37
- package/dist/chunks/{model-resolver-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-v3rr0qnk.js → state-eh458v3w.js} +24 -24
- package/dist/chunks/{model-resolver-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-hdnk95c8.js → state-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-ajt0qmtr.js → state-fa9b5va3.js} +11 -11
- package/dist/chunks/{model-resolver-pg99pk3y.js → state-fc9ethwj.js} +4 -4
- package/dist/chunks/{model-resolver-pvd6ntgs.js → state-fdtfhvf4.js} +9 -9
- package/dist/chunks/{model-resolver-58ppqsv0.js → state-fe1a2b94.js} +49 -49
- package/dist/chunks/{model-resolver-ragd31v1.js → state-fj9wbyc8.js} +10 -10
- package/dist/chunks/{model-resolver-bby7k7hh.js → state-fjnw3amg.js} +8 -8
- package/dist/chunks/{model-resolver-ymeq0df2.js → state-fkdvy3ye.js} +11 -11
- package/dist/chunks/{model-resolver-g8atgw3j.js → state-ftdzjz2b.js} +6 -6
- package/dist/chunks/{model-resolver-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-f5cjs50g.js → state-gayp7ypd.js} +30 -30
- package/dist/chunks/{model-resolver-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-j34azf71.js → state-gjv4hb9a.js} +8 -8
- package/dist/chunks/{model-resolver-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-h03wrkyp.js → state-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-9zzh4kq9.js → state-h4f983qb.js} +22 -22
- package/dist/chunks/{model-resolver-4dgbcxzg.js → state-h6r3nrb9.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-cgv57mmc.js → state-hgy1dkmh.js} +10 -10
- package/dist/chunks/{model-resolver-1j146x5q.js → state-hjscxttq.js} +25 -25
- package/dist/chunks/{model-resolver-ksk58mrq.js → state-hvcdvhf8.js} +32 -32
- package/dist/chunks/{model-resolver-xk7wccaw.js → state-hwwcyrqp.js} +38 -38
- package/dist/chunks/{model-resolver-bs5rr28p.js → state-j107h3n9.js} +3 -3
- package/dist/chunks/{model-resolver-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-kgfjjf6a.js → state-j6024k5x.js} +11 -11
- package/dist/chunks/{model-resolver-pg3x4kqe.js → state-jexxy024.js} +3 -3
- package/dist/chunks/{model-resolver-qf7ga1s6.js → state-jey6arge.js} +1 -1
- package/dist/chunks/{model-resolver-7xqgs4c2.js → state-jp74hzaz.js} +5 -5
- package/dist/chunks/{model-resolver-y8bx4nrt.js → state-jr96nny2.js} +16 -16
- package/dist/chunks/{model-resolver-jt9m14re.js → state-jtzy25zk.js} +17 -17
- package/dist/chunks/{model-resolver-jta15jv0.js → state-k31m950v.js} +11 -11
- package/dist/chunks/{model-resolver-xh37m7r6.js → state-k3bsjs2v.js} +5 -5
- package/dist/chunks/{model-resolver-nvhcbejc.js → state-k3va51sp.js} +20 -20
- package/dist/chunks/{model-resolver-3pbjq009.js → state-k5kkqdex.js} +8 -8
- package/dist/chunks/{model-resolver-twghag3f.js → state-kervakjy.js} +12 -12
- package/dist/chunks/{model-resolver-93p64q73.js → state-kg53bg6f.js} +35 -35
- package/dist/chunks/{model-resolver-08ecq38n.js → state-kgfwvcqs.js} +19 -19
- package/dist/chunks/{model-resolver-j2sw0176.js → state-m2wkxzph.js} +12 -12
- package/dist/chunks/{model-resolver-q1fttkg5.js → state-m2z0yx10.js} +9 -9
- package/dist/chunks/{model-resolver-2bt6bea8.js → state-m86bnw2c.js} +9 -9
- package/dist/chunks/{model-resolver-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-40h30d2e.js → state-mps7w25w.js} +12 -12
- package/dist/chunks/{model-resolver-h8thwg15.js → state-mweswy2n.js} +18 -18
- package/dist/chunks/{model-resolver-3m0v8keb.js → state-n24en66b.js} +32 -32
- package/dist/chunks/{model-resolver-qjgpmpt2.js → state-nggt3w8z.js} +5 -5
- package/dist/chunks/{model-resolver-e82z9tr0.js → state-nhy5jxhy.js} +7 -7
- package/dist/chunks/{model-resolver-502d3ppp.js → state-nmdzht59.js} +10 -10
- package/dist/chunks/{model-resolver-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-cdhqsg5m.js → state-pwh0py47.js} +8 -8
- package/dist/chunks/{model-resolver-tv8bzv1t.js → state-py2c23wa.js} +16 -16
- package/dist/chunks/{model-resolver-x30xw0sc.js → state-q6djktq7.js} +14 -14
- package/dist/chunks/{model-resolver-2e8y9zy9.js → state-q7j6jfz6.js} +16 -16
- package/dist/chunks/{model-resolver-af4kcksd.js → state-qa4rp7fn.js} +9 -9
- package/dist/chunks/{model-resolver-neze0rnk.js → state-qaffs4jm.js} +28 -28
- package/dist/chunks/{model-resolver-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-0qkw0z8d.js → state-r4spvhqj.js} +51 -51
- package/dist/chunks/{model-resolver-mhkvc446.js → state-r5x6zcsm.js} +3 -3
- package/dist/chunks/{model-resolver-1acjjqhc.js → state-r8xr0va3.js} +4 -4
- package/dist/chunks/{model-resolver-r9mregkx.js → state-r9mregkx.js} +2 -2
- package/dist/chunks/{model-resolver-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-k9vjcjta.js → state-rex1qj25.js} +24 -24
- package/dist/chunks/{model-resolver-btty7p3w.js → state-rg4jwqxj.js} +85 -85
- package/dist/chunks/{model-resolver-t550f9t1.js → state-rhjbct0v.js} +4 -4
- package/dist/chunks/{model-resolver-300e8nzh.js → state-rrm0bmxa.js} +29 -29
- package/dist/chunks/{model-resolver-hwxw7j17.js → state-rwdj6r64.js} +11 -11
- package/dist/chunks/{model-resolver-ee0x7daj.js → state-s9tvycjm.js} +9 -9
- package/dist/chunks/{model-resolver-0sefqgtv.js → state-sa4z093x.js} +2 -2
- package/dist/chunks/{model-resolver-eh5gfzyw.js → state-sfga0tvm.js} +7 -7
- package/dist/chunks/{model-resolver-55qn5pqp.js → state-spvae7dy.js} +15 -15
- package/dist/chunks/{model-resolver-c4vkqgmy.js → state-spx2bnh9.js} +4 -4
- package/dist/chunks/{model-resolver-1032maa7.js → state-sqdca7me.js} +12 -12
- package/dist/chunks/{model-resolver-0kac7454.js → state-t3s3wq0q.js} +10 -10
- package/dist/chunks/{model-resolver-fgad9zs1.js → state-t7e3d7s2.js} +5 -5
- package/dist/chunks/{model-resolver-5q5x7c6y.js → state-t8pps5yz.js} +16 -16
- package/dist/chunks/{model-resolver-0v53mg2y.js → state-t9zs3egg.js} +4 -4
- package/dist/chunks/{model-resolver-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-gzfky56a.js → state-thaea3t9.js} +18 -18
- package/dist/chunks/{model-resolver-0pjtw5ng.js → state-tmrapw0j.js} +20 -20
- package/dist/chunks/{model-resolver-89qakztx.js → state-tvenyyex.js} +5 -5
- package/dist/chunks/{model-resolver-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-xawz5m8n.js → state-tyad6bnf.js} +22 -22
- package/dist/chunks/{model-resolver-z1ahc81n.js → state-tzdgdhg5.js} +44 -44
- package/dist/chunks/{model-resolver-6e23dps4.js → state-v3j36t2s.js} +9 -9
- package/dist/chunks/{model-resolver-3fhgk65j.js → state-v676ynba.js} +9 -9
- package/dist/chunks/{model-resolver-n3ev54rj.js → state-v6vt01kk.js} +30 -30
- package/dist/chunks/{model-resolver-dbqjqbdf.js → state-vcy4fgke.js} +18 -18
- package/dist/chunks/{model-resolver-yhm2n21y.js → state-vd3vzfjc.js} +30 -30
- package/dist/chunks/{model-resolver-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-fkhk4y1m.js → state-vjm8cxw2.js} +24 -24
- package/dist/chunks/{model-resolver-cysw23rm.js → state-vjman6x4.js} +10 -10
- package/dist/chunks/{model-resolver-de5th1w4.js → state-vky51n64.js} +17 -17
- package/dist/chunks/{model-resolver-58cchz3y.js → state-vy8efbby.js} +36 -36
- package/dist/chunks/{model-resolver-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-vdbejzap.js → state-w3wfndk6.js} +13 -13
- package/dist/chunks/{model-resolver-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-kwsqyj6a.js → state-w4p6h1mp.js} +27 -27
- package/dist/chunks/{model-resolver-gk0n48rz.js → state-w6q8xqpp.js} +23 -23
- package/dist/chunks/{model-resolver-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-stppr3m7.js → state-wecqvfcx.js} +11 -11
- package/dist/chunks/{model-resolver-e53te25d.js → state-wevxc10v.js} +6 -6
- package/dist/chunks/{model-resolver-pcvs4s42.js → state-wf67cbqp.js} +15 -15
- package/dist/chunks/{model-resolver-ca9547p7.js → state-wk4mdq5k.js} +13 -13
- package/dist/chunks/{model-resolver-0z8c9324.js → state-wmttgrd3.js} +11 -11
- package/dist/chunks/{model-resolver-j03x6629.js → state-wqntmxqd.js} +21 -21
- package/dist/chunks/{model-resolver-b6tfwsrv.js → state-ws4jrj3s.js} +13 -13
- package/dist/chunks/{model-resolver-bscb95cy.js → state-wzg7zq6j.js} +9 -9
- package/dist/chunks/{model-resolver-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-2a2x9s8s.js → state-x3gyjycy.js} +4 -4
- package/dist/chunks/{model-resolver-eg6jxap1.js → state-xbhtvydn.js} +14 -14
- package/dist/chunks/{model-resolver-4c8bw516.js → state-xdw78xdg.js} +8 -8
- package/dist/chunks/{model-resolver-s8214884.js → state-xesac8hr.js} +5 -5
- package/dist/chunks/{model-resolver-hfgb7cv0.js → state-xf8yr4rj.js} +13 -13
- package/dist/chunks/{model-resolver-z10et0r2.js → state-xn5a693m.js} +8 -8
- package/dist/chunks/{model-resolver-kpa7g2mg.js → state-xp3zd2em.js} +41 -41
- package/dist/chunks/{model-resolver-cjdr13sd.js → state-xrrv4szm.js} +8 -8
- package/dist/chunks/{model-resolver-jzh1899s.js → state-xx4p9jw3.js} +47 -47
- package/dist/chunks/{model-resolver-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-xtv2mh4r.js → state-y69ckfyh.js} +3 -3
- package/dist/chunks/{model-resolver-dpkg50ah.js → state-y71avatq.js} +4 -4
- package/dist/chunks/{model-resolver-nr0ashrr.js → state-yayfkm3a.js} +10 -10
- package/dist/chunks/{model-resolver-yby6xn0t.js → state-ybhbtxjg.js} +6 -6
- package/dist/chunks/{model-resolver-cw541prr.js → state-yjn491gs.js} +13 -13
- package/dist/chunks/{model-resolver-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-e0kanx6f.js → state-ys0xwr4p.js} +9 -9
- package/dist/chunks/{model-resolver-avt77bbv.js → state-yt84cctg.js} +13 -13
- package/dist/chunks/{model-resolver-gbmzg7c6.js → state-yt8tcjwm.js} +22 -22
- package/dist/chunks/{model-resolver-9mgkh4de.js → state-yzjv0n59.js} +32 -32
- package/dist/chunks/{model-resolver-t597x4d8.js → state-z06fw8bd.js} +11 -11
- package/dist/chunks/{model-resolver-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-0tmbmzm8.js → state-z25aqp2g.js} +30 -30
- package/dist/chunks/{model-resolver-z63w68vq.js → state-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-mjfthb8v.js → state-z66esb84.js} +17 -17
- package/dist/chunks/{model-resolver-41r8dwtv.js → state-z78rkc6e.js} +16 -16
- package/dist/chunks/{model-resolver-3r42cc5z.js → state-zaj5a1yd.js} +18 -18
- package/dist/chunks/{model-resolver-34z1s69y.js → state-zbmtd5wr.js} +4 -4
- package/dist/chunks/{model-resolver-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-m3zza4qd.js → state-zex37ywk.js} +8 -8
- package/dist/chunks/{model-resolver-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-2ay9edyp.js → state-zzmr1x04.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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 +353 -353
- package/dist/instruction-discovery.js +78 -78
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +350 -350
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- 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 +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/model-resolver-365vt7ws.js +0 -26
- package/dist/chunks/model-resolver-7cd0656b.js +0 -468
- package/dist/chunks/model-resolver-d4wbe6d2.js +0 -251
- /package/dist/chunks/{model-resolver-0mesazry.js → state-0mesazry.js} +0 -0
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → state-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-spx2bnh9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./state-0y8dyykb.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service26
|
|
10
|
+
} from "./state-fe1a2b94.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin38
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin38 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service77;
|
|
200
|
+
const mcp = yield* Service26;
|
|
201
201
|
const bus = yield* Service80;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin38, exports_command2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions5 = {};
|
|
18
18
|
__export(exports_instructions5, {
|
|
19
19
|
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
20
|
+
make: () => make13,
|
|
21
|
+
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -34,7 +34,7 @@ Call \`search(...)\` to discover exact paths and signatures for additional tools
|
|
|
34
34
|
- ${searchSignature}` : ""}
|
|
35
35
|
|
|
36
36
|
## Available tools`;
|
|
37
|
-
function
|
|
37
|
+
function render2(catalog) {
|
|
38
38
|
if (catalog.total === 0)
|
|
39
39
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
40
40
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -48,7 +48,7 @@ ${tools.join(`
|
|
|
48
48
|
function update3(previous, current) {
|
|
49
49
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
50
50
|
|
|
51
|
-
${
|
|
51
|
+
${render2(current)}`;
|
|
52
52
|
if (current.total === 0)
|
|
53
53
|
return replacement;
|
|
54
54
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -113,18 +113,18 @@ ${render3(current)}`;
|
|
|
113
113
|
}
|
|
114
114
|
var key = Key3.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make13 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
|
-
return
|
|
118
|
+
return make20({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
122
122
|
render: {
|
|
123
|
-
initial:
|
|
123
|
+
initial: render2,
|
|
124
124
|
changed: update3,
|
|
125
125
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { render2, update3, make13, exports_instructions5 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./state-v6vt01kk.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-87k0zb7t.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
16
16
|
var CloudflareAIGatewayPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info7,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info7 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info7, exports_mcp5 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event21,
|
|
13
|
+
ID: () => ID18,
|
|
14
|
+
Info: () => Info34,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info34 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event21 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID18, Current3, Info34, UpdateInput4, Event21, Vcs3, exports_schema };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./state-0y8dyykb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./state-eh458v3w.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service57
|
|
15
|
+
} from "./state-d7s9ww47.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry4
|
|
21
|
+
} from "./state-7hc87grc.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service63
|
|
24
|
+
} from "./state-r4spvhqj.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service62
|
|
27
|
+
} from "./state-zaj5a1yd.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input8,
|
|
37
|
+
Output: () => Output7,
|
|
38
|
+
Plugin: () => Plugin9,
|
|
39
|
+
name: () => name8,
|
|
40
|
+
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name8 = "glob";
|
|
46
|
+
var Input8 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input3 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output7 = Schema.Array(Entry4);
|
|
59
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin9 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service60;
|
|
70
|
+
const ripgrep = yield* Service57;
|
|
71
|
+
const location = yield* Service77;
|
|
72
|
+
const access = yield* Service62;
|
|
73
|
+
const permission = yield* Service63;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name8,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input8,
|
|
79
|
+
output: Output7,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name8,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -111,18 +111,18 @@ var Plugin18 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry4.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name8, Input8, Output7, toModelContent5, Plugin9, exports_glob };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-spx2bnh9.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service36,
|
|
17
|
+
node40
|
|
18
|
+
} from "./state-8gzdyzew.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event7,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info15,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service35,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node39
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event7 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info15 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service35 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service80;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service36;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info15.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info15.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service35.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node39 = makeLocationNode({
|
|
116
|
+
service: Service35,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node85,
|
|
118
|
+
deps: [Global.node, node85, node40]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info15, Service35, node39, exports_reference2, Event7 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./state-v6vt01kk.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service31
|
|
4
|
+
} from "./state-dxwen4wn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service28
|
|
7
|
+
} from "./state-rrm0bmxa.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin15
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin15 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service31;
|
|
27
|
+
const snapshot = yield* Service28;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin29 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin15, exports_snapshot };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options5,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options5 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options5]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options5, Spec2, exports_plugin3 };
|