@opencode/core 0.0.0-dev-20362 → 0.0.0-dev-20363
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{managed-policy-76vnbhsf.js → model-resolver-00bdd51n.js} +10 -10
- package/dist/chunks/{managed-policy-6558gdf6.js → model-resolver-04shvbr1.js} +12 -12
- package/dist/chunks/{managed-policy-kg45nmpk.js → model-resolver-0703wr40.js} +4 -4
- package/dist/chunks/{managed-policy-1test7ey.js → model-resolver-08yw13zg.js} +23 -23
- package/dist/chunks/{managed-policy-xp3fh2h7.js → model-resolver-0bfcnrg1.js} +1 -1
- package/dist/chunks/{managed-policy-m4583r1w.js → model-resolver-0c6c0zmn.js} +18 -18
- package/dist/chunks/{managed-policy-ndz9dvm7.js → model-resolver-0ehkc6b3.js} +7 -7
- package/dist/chunks/{managed-policy-zhfehfcb.js → model-resolver-0np6v5dx.js} +46 -46
- package/dist/chunks/{managed-policy-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{managed-policy-pwvqht43.js → model-resolver-0t1a536w.js} +10 -10
- package/dist/chunks/{managed-policy-5vz90y44.js → model-resolver-159a3x2j.js} +36 -36
- package/dist/chunks/{managed-policy-h6j5wp72.js → model-resolver-166cxnzt.js} +20 -20
- package/dist/chunks/{managed-policy-eq1pz5kg.js → model-resolver-1bbkgx8g.js} +3 -3
- package/dist/chunks/{managed-policy-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{managed-policy-g5bgzfwa.js → model-resolver-1ep2by6j.js} +27 -27
- package/dist/chunks/{managed-policy-17t12sh1.js → model-resolver-1gtysh3b.js} +11 -11
- package/dist/chunks/{managed-policy-n9a4xth3.js → model-resolver-1jtc7t2n.js} +22 -22
- package/dist/chunks/{managed-policy-fbawcmnd.js → model-resolver-1mjwcf4w.js} +8 -8
- package/dist/chunks/{managed-policy-71y9zwxs.js → model-resolver-1tw0n30a.js} +17 -17
- package/dist/chunks/{managed-policy-33w4ejhs.js → model-resolver-1ygqh575.js} +6 -6
- package/dist/chunks/{managed-policy-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{managed-policy-20rgjnyv.js → model-resolver-23ypespv.js} +15 -15
- package/dist/chunks/{managed-policy-qhvxr7kc.js → model-resolver-24bjdznb.js} +17 -17
- package/dist/chunks/{managed-policy-xtdb2mzr.js → model-resolver-28fee37h.js} +32 -32
- package/dist/chunks/{managed-policy-6mm9h7e5.js → model-resolver-28rwb4xv.js} +15 -15
- package/dist/chunks/{managed-policy-pgp1nwjn.js → model-resolver-29qym6xz.js} +4 -4
- package/dist/chunks/{managed-policy-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{managed-policy-q8r22k9v.js → model-resolver-2aet7wja.js} +8 -8
- package/dist/chunks/{managed-policy-md25eqcg.js → model-resolver-2e7f4xd3.js} +23 -23
- package/dist/chunks/{managed-policy-5e15319b.js → model-resolver-2hg7qvzt.js} +5 -5
- package/dist/chunks/{managed-policy-pnkbpv6t.js → model-resolver-2kewd2va.js} +9 -9
- package/dist/chunks/{managed-policy-cc7ta4tb.js → model-resolver-2veb1275.js} +37 -37
- package/dist/chunks/{managed-policy-pjedbq3k.js → model-resolver-2y34zzjz.js} +4 -4
- package/dist/chunks/{managed-policy-0qp31s55.js → model-resolver-2zf1ybhy.js} +3 -3
- package/dist/chunks/{managed-policy-em3h5ktn.js → model-resolver-30krspkn.js} +4 -4
- package/dist/chunks/{managed-policy-vxa03wtb.js → model-resolver-31v28kev.js} +5 -5
- package/dist/chunks/{managed-policy-3e02zcs2.js → model-resolver-35me4pqp.js} +43 -43
- package/dist/chunks/{managed-policy-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{managed-policy-vh04mdhz.js → model-resolver-3g9hx9d8.js} +45 -45
- package/dist/chunks/{managed-policy-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-mrvjcs5x.js → model-resolver-3ppptnan.js} +6 -6
- package/dist/chunks/{managed-policy-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{managed-policy-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{managed-policy-d87ppnb3.js → model-resolver-3w2b2yj4.js} +5 -5
- package/dist/chunks/{managed-policy-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{managed-policy-a64xdr2r.js → model-resolver-468xcx49.js} +11 -11
- package/dist/chunks/{managed-policy-1gqkbp4w.js → model-resolver-4dcsf2r8.js} +11 -11
- package/dist/chunks/{managed-policy-yebhkn30.js → model-resolver-4ff0zxak.js} +30 -30
- package/dist/chunks/{managed-policy-r0bddt9n.js → model-resolver-4g0mdtwh.js} +7 -7
- package/dist/chunks/{managed-policy-gma4ytx3.js → model-resolver-4m9kpkhr.js} +23 -23
- package/dist/chunks/{managed-policy-ps40z7de.js → model-resolver-4mwtbdcy.js} +21 -21
- package/dist/chunks/{managed-policy-4a6jpjer.js → model-resolver-4n607a2z.js} +5 -5
- package/dist/chunks/{managed-policy-kk8v81xj.js → model-resolver-50p21jsy.js} +11 -11
- package/dist/chunks/{managed-policy-8rgs9ycy.js → model-resolver-54gavh75.js} +81 -81
- package/dist/chunks/{managed-policy-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
- package/dist/chunks/{managed-policy-81swgkk7.js → model-resolver-57ez7d0k.js} +7 -7
- package/dist/chunks/{managed-policy-getfzt5f.js → model-resolver-57p4zcxx.js} +20 -20
- package/dist/chunks/{managed-policy-sydaydjk.js → model-resolver-59ps16wq.js} +11 -11
- package/dist/chunks/{managed-policy-pds74t41.js → model-resolver-5cmxdwv8.js} +3 -3
- package/dist/chunks/{managed-policy-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{managed-policy-h0mhvawh.js → model-resolver-5dzgzdgv.js} +22 -22
- package/dist/chunks/{managed-policy-ej459j65.js → model-resolver-5gb54438.js} +11 -11
- package/dist/chunks/{managed-policy-rxv3afv6.js → model-resolver-5ghb1wcz.js} +17 -17
- package/dist/chunks/{managed-policy-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
- package/dist/chunks/{managed-policy-mr3x12pz.js → model-resolver-5qkfabj9.js} +19 -19
- package/dist/chunks/{managed-policy-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{managed-policy-wv26848n.js → model-resolver-655b29a3.js} +24 -24
- package/dist/chunks/{managed-policy-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{managed-policy-mqbe75y8.js → model-resolver-66gm3q6y.js} +4 -4
- package/dist/chunks/{managed-policy-depwzj9d.js → model-resolver-6hjx5zpb.js} +8 -8
- package/dist/chunks/{managed-policy-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{managed-policy-rkprpv83.js → model-resolver-6pc27hjz.js} +6 -6
- package/dist/chunks/{managed-policy-fvzmcfta.js → model-resolver-6pjg54et.js} +18 -18
- package/dist/chunks/{managed-policy-g6mr8nvc.js → model-resolver-6pzm3pmc.js} +15 -15
- package/dist/chunks/{managed-policy-bzwh4v1s.js → model-resolver-6rq2rdm3.js} +27 -27
- package/dist/chunks/{managed-policy-wvekarx2.js → model-resolver-6rq91kkb.js} +22 -22
- package/dist/chunks/{managed-policy-y8hy265e.js → model-resolver-774mep86.js} +16 -16
- package/dist/chunks/{managed-policy-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-fs1j9y41.js → model-resolver-7f1fjr73.js} +35 -35
- package/dist/chunks/{managed-policy-vsajxva1.js → model-resolver-7fpqa9rm.js} +13 -13
- package/dist/chunks/{managed-policy-ced978hc.js → model-resolver-7k895je9.js} +22 -22
- package/dist/chunks/{managed-policy-0d3j2ewb.js → model-resolver-7nnscm86.js} +23 -23
- package/dist/chunks/{managed-policy-gva4y1sd.js → model-resolver-7vckzw94.js} +9 -9
- package/dist/chunks/{managed-policy-tpwcm8nh.js → model-resolver-7z7t5xg0.js} +8 -8
- package/dist/chunks/{managed-policy-q1rprvvw.js → model-resolver-7zdrdht4.js} +6 -6
- package/dist/chunks/{managed-policy-kx0t9shf.js → model-resolver-7zrz2ht7.js} +9 -9
- package/dist/chunks/{managed-policy-84txncab.js → model-resolver-84txncab.js} +1 -1
- package/dist/chunks/{managed-policy-w00sd6bp.js → model-resolver-85ja8bjp.js} +18 -18
- package/dist/chunks/{managed-policy-a89e0tac.js → model-resolver-86qzxe6p.js} +4 -4
- package/dist/chunks/{managed-policy-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{managed-policy-pr22ash8.js → model-resolver-8dhmwpck.js} +11 -11
- package/dist/chunks/{managed-policy-ekdvg0g5.js → model-resolver-8k0g7am2.js} +11 -11
- package/dist/chunks/{managed-policy-jj9twaj5.js → model-resolver-8s79h2zs.js} +32 -32
- package/dist/chunks/{managed-policy-29qzs3cc.js → model-resolver-8w6zmm29.js} +8 -8
- package/dist/chunks/{managed-policy-94ek1h2f.js → model-resolver-94ek1h2f.js} +2 -2
- package/dist/chunks/{managed-policy-tpw6cwsb.js → model-resolver-9hn6k4tm.js} +8 -8
- package/dist/chunks/{managed-policy-p3s9at0s.js → model-resolver-9n3n2vac.js} +20 -20
- package/dist/chunks/{managed-policy-35fra6v4.js → model-resolver-9pwyx6vy.js} +10 -10
- package/dist/chunks/{managed-policy-80gjvfqq.js → model-resolver-9q2chv03.js} +3 -3
- package/dist/chunks/{managed-policy-axtvtek4.js → model-resolver-a2ew8a62.js} +7 -7
- package/dist/chunks/{managed-policy-pqe1tcjk.js → model-resolver-aads351p.js} +1 -1
- package/dist/chunks/{managed-policy-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{managed-policy-q5pxwvn6.js → model-resolver-ahwzhwa3.js} +5 -5
- package/dist/chunks/model-resolver-ap5sg23v.js +252 -0
- package/dist/chunks/{managed-policy-m2nanmk6.js → model-resolver-awc5gjgd.js} +19 -19
- package/dist/chunks/{managed-policy-qj0gtfb8.js → model-resolver-b00xvs8t.js} +8 -8
- package/dist/chunks/{managed-policy-3bz26n7f.js → model-resolver-b23z4qnb.js} +7 -7
- package/dist/chunks/{managed-policy-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{managed-policy-7stgkpby.js → model-resolver-b9e5m5kw.js} +14 -14
- package/dist/chunks/{managed-policy-r9xz4k2w.js → model-resolver-beb0xpyw.js} +10 -10
- package/dist/chunks/{managed-policy-3wqtmk6r.js → model-resolver-bf6sfhxg.js} +24 -24
- package/dist/chunks/{managed-policy-s1rx4m94.js → model-resolver-bw2q4erb.js} +34 -34
- package/dist/chunks/{managed-policy-5sfp98pg.js → model-resolver-bzpc8ntm.js} +17 -17
- package/dist/chunks/{managed-policy-j1xxfbgt.js → model-resolver-bzx9a2az.js} +18 -18
- package/dist/chunks/{managed-policy-6yytfbv7.js → model-resolver-c0xnxeca.js} +30 -30
- package/dist/chunks/{managed-policy-fpfawhpe.js → model-resolver-c1jg21sb.js} +15 -15
- package/dist/chunks/{managed-policy-rnx828q2.js → model-resolver-c48kjqxw.js} +33 -33
- package/dist/chunks/{managed-policy-ay5jnjb4.js → model-resolver-c75ppnt9.js} +26 -26
- package/dist/chunks/{managed-policy-419cber8.js → model-resolver-cepnprts.js} +22 -22
- package/dist/chunks/{managed-policy-ckecvw8r.js → model-resolver-ckecvw8r.js} +2 -2
- package/dist/chunks/{managed-policy-h345fmz9.js → model-resolver-cm63mksd.js} +7 -7
- package/dist/chunks/{managed-policy-5kz5d5f2.js → model-resolver-cp17smcp.js} +41 -41
- package/dist/chunks/{managed-policy-0svm36dj.js → model-resolver-cp5p8nw7.js} +27 -27
- package/dist/chunks/{managed-policy-7yqjxrmz.js → model-resolver-cpy6gm2a.js} +4 -4
- package/dist/chunks/{managed-policy-8r8tnm27.js → model-resolver-cqy5fkq0.js} +35 -35
- package/dist/chunks/{managed-policy-d8cmmjhb.js → model-resolver-ctwrx9qj.js} +16 -16
- package/dist/chunks/{managed-policy-n6ngmcx1.js → model-resolver-d3qasn01.js} +6 -6
- package/dist/chunks/{managed-policy-10jhvv7f.js → model-resolver-d4wmmjrt.js} +20 -20
- package/dist/chunks/{managed-policy-86ach597.js → model-resolver-dcgx96r3.js} +23 -23
- package/dist/chunks/{managed-policy-7jzb6arw.js → model-resolver-df54n7py.js} +12 -12
- package/dist/chunks/{managed-policy-bf0ztrs3.js → model-resolver-dfe8djrf.js} +4 -4
- package/dist/chunks/{managed-policy-9d46tmcm.js → model-resolver-dj1dwqym.js} +3 -3
- package/dist/chunks/{managed-policy-xkntkrq7.js → model-resolver-dmqcgk4z.js} +5 -5
- package/dist/chunks/{managed-policy-drwq78ky.js → model-resolver-drwq78ky.js} +1 -1
- package/dist/chunks/{managed-policy-f144cm3h.js → model-resolver-dxmvrbpm.js} +23 -23
- package/dist/chunks/{managed-policy-3sgvx7s5.js → model-resolver-e08max4g.js} +3 -3
- package/dist/chunks/{managed-policy-58x2308d.js → model-resolver-e23sc63z.js} +4 -4
- package/dist/chunks/{managed-policy-t550f9t1.js → model-resolver-eaj1djv9.js} +8 -8
- package/dist/chunks/{managed-policy-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
- package/dist/chunks/{managed-policy-qa6bty5w.js → model-resolver-ef43s285.js} +34 -34
- package/dist/chunks/{managed-policy-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{managed-policy-8hgfhrm0.js → model-resolver-ep6z9mt6.js} +11 -11
- package/dist/chunks/{managed-policy-we1sq38a.js → model-resolver-eq302p8g.js} +15 -15
- package/dist/chunks/{managed-policy-7qpc0b73.js → model-resolver-eqhdj52w.js} +20 -20
- package/dist/chunks/{managed-policy-trpx7285.js → model-resolver-et0bpsn8.js} +59 -59
- package/dist/chunks/{managed-policy-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{managed-policy-xz8qpa4w.js → model-resolver-f1vyadhg.js} +14 -14
- package/dist/chunks/{managed-policy-f2n192rq.js → model-resolver-f2n192rq.js} +1 -1
- package/dist/chunks/{managed-policy-t6njjzcs.js → model-resolver-f4bg3nw3.js} +83 -83
- package/dist/chunks/{managed-policy-g30dqjb7.js → model-resolver-f5snpwwp.js} +8 -8
- package/dist/chunks/{managed-policy-j5gpwjg1.js → model-resolver-fc1e038s.js} +13 -13
- package/dist/chunks/{managed-policy-fcrkznn8.js → model-resolver-fcrkznn8.js} +1 -1
- package/dist/chunks/{managed-policy-w7av7943.js → model-resolver-fdvr1ndy.js} +11 -11
- package/dist/chunks/{managed-policy-wrsn9w4w.js → model-resolver-fg989vxx.js} +13 -13
- package/dist/chunks/{managed-policy-sbapmza5.js → model-resolver-ftdzjz2b.js} +8 -8
- package/dist/chunks/{managed-policy-t3w4twfb.js → model-resolver-fvhcjjbk.js} +9 -9
- package/dist/chunks/{managed-policy-heyqeax4.js → model-resolver-fwfvrmc2.js} +4 -4
- package/dist/chunks/{managed-policy-ya3vmrdh.js → model-resolver-g0s9wgrg.js} +32 -32
- package/dist/chunks/{managed-policy-nyxxskch.js → model-resolver-g4x4az7d.js} +3 -3
- package/dist/chunks/{managed-policy-vd7rzxqf.js → model-resolver-g5agzp2h.js} +5 -5
- package/dist/chunks/{managed-policy-cnfgznwf.js → model-resolver-g87rxxst.js} +22 -22
- package/dist/chunks/{managed-policy-fnf2bk90.js → model-resolver-g8stq3ct.js} +18 -18
- package/dist/chunks/{managed-policy-mprdj2vw.js → model-resolver-ga76bh3d.js} +70 -70
- package/dist/chunks/{managed-policy-bnsp3pck.js → model-resolver-gbs6jbhw.js} +6 -6
- package/dist/chunks/{managed-policy-f3j6bdvh.js → model-resolver-gbzb20p6.js} +9 -9
- package/dist/chunks/{managed-policy-sxk4ms2b.js → model-resolver-gd38j8rb.js} +179 -179
- package/dist/chunks/{managed-policy-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{managed-policy-753qp0k0.js → model-resolver-gdj9fwxj.js} +24 -24
- package/dist/chunks/{managed-policy-dp60fnpg.js → model-resolver-ghdxkhwt.js} +30 -30
- package/dist/chunks/{managed-policy-c488s98d.js → model-resolver-gmjq4p6e.js} +12 -12
- package/dist/chunks/{managed-policy-ycfrzxnp.js → model-resolver-gnnmkja3.js} +30 -30
- package/dist/chunks/{managed-policy-kyy0ssq8.js → model-resolver-gp4df2gz.js} +5 -5
- package/dist/chunks/{managed-policy-psc3xzs8.js → model-resolver-gse0ck6f.js} +3 -3
- package/dist/chunks/{managed-policy-ag4rn41e.js → model-resolver-gst7axd9.js} +4 -4
- package/dist/chunks/{managed-policy-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{managed-policy-py5c3j6b.js → model-resolver-gv9h81mr.js} +19 -19
- package/dist/chunks/{managed-policy-jyjpk7fv.js → model-resolver-h46w06ap.js} +6 -6
- package/dist/chunks/{managed-policy-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{managed-policy-jw5senje.js → model-resolver-hkw89x8s.js} +3 -3
- package/dist/chunks/{managed-policy-d6dr936x.js → model-resolver-hqmtd9gn.js} +20 -20
- package/dist/chunks/{managed-policy-1arysab4.js → model-resolver-hy7m1jes.js} +15 -15
- package/dist/chunks/{managed-policy-spx4xzh8.js → model-resolver-j2g46p4m.js} +12 -12
- package/dist/chunks/{managed-policy-pnv527nz.js → model-resolver-j3s2z371.js} +9 -9
- package/dist/chunks/{managed-policy-qs49j1z6.js → model-resolver-j47s30d1.js} +5 -5
- package/dist/chunks/{managed-policy-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{managed-policy-en8764de.js → model-resolver-j5qm3aa4.js} +44 -44
- package/dist/chunks/{managed-policy-pyagr9cd.js → model-resolver-jtdedrsn.js} +14 -14
- package/dist/chunks/{managed-policy-nzks3jc8.js → model-resolver-k3c624dm.js} +3 -3
- package/dist/chunks/{managed-policy-pqcp1x6d.js → model-resolver-k7tpzzsk.js} +30 -30
- package/dist/chunks/{managed-policy-frxdqaz8.js → model-resolver-kan6af9e.js} +22 -22
- package/dist/chunks/{managed-policy-73487zry.js → model-resolver-kd9s81d6.js} +18 -18
- package/dist/chunks/{managed-policy-9rehz5xh.js → model-resolver-kdhg8fn5.js} +10 -10
- package/dist/chunks/{managed-policy-y8rwhwzy.js → model-resolver-kf4rtjcm.js} +11 -11
- package/dist/chunks/{managed-policy-y9rayrtr.js → model-resolver-kg0ttabr.js} +17 -17
- package/dist/chunks/{managed-policy-w4wwey4a.js → model-resolver-m101sbdj.js} +6 -6
- package/dist/chunks/{managed-policy-8bg0nwhm.js → model-resolver-m1t05dsh.js} +1 -1
- package/dist/chunks/{managed-policy-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{managed-policy-v6z16ed9.js → model-resolver-m3ma28tp.js} +48 -48
- package/dist/chunks/{managed-policy-y5ce63fc.js → model-resolver-m5389yyj.js} +5 -5
- package/dist/chunks/{managed-policy-2rbrs69q.js → model-resolver-m6cmkatr.js} +43 -43
- package/dist/chunks/{managed-policy-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-5wtwrezn.js → model-resolver-magykp64.js} +21 -21
- package/dist/chunks/{managed-policy-jrefsjk4.js → model-resolver-mrrz849e.js} +13 -13
- package/dist/chunks/{managed-policy-fx470sn6.js → model-resolver-my6ay15n.js} +30 -30
- package/dist/chunks/{managed-policy-h6m8mpqk.js → model-resolver-n3vygs5b.js} +9 -9
- package/dist/chunks/{managed-policy-2afe4ye3.js → model-resolver-nz2kpe5e.js} +26 -26
- package/dist/chunks/{managed-policy-7bdyz5qm.js → model-resolver-p0h2zwcj.js} +19 -19
- package/dist/chunks/{managed-policy-d2aac7k2.js → model-resolver-p44d8wdy.js} +5 -5
- package/dist/chunks/{managed-policy-nd79w430.js → model-resolver-pgfqyy1c.js} +29 -29
- package/dist/chunks/model-resolver-phz3h32g.js +18 -0
- package/dist/chunks/{managed-policy-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{managed-policy-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-dzp4nhj1.js → model-resolver-prn2zde5.js} +21 -21
- package/dist/chunks/{managed-policy-vy4c8fa5.js → model-resolver-q0gq5wzg.js} +11 -11
- package/dist/chunks/{managed-policy-je2myd62.js → model-resolver-qb6wrr0k.js} +40 -40
- package/dist/chunks/{managed-policy-fnyhqzb8.js → model-resolver-qe3aawgt.js} +3 -3
- package/dist/chunks/{managed-policy-wak33rq2.js → model-resolver-qfnwxhdd.js} +11 -11
- package/dist/chunks/{managed-policy-1n6mmq6e.js → model-resolver-qp883ga4.js} +44 -44
- package/dist/chunks/model-resolver-qpym6rz7.js +507 -0
- package/dist/chunks/{managed-policy-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{managed-policy-9z0adws0.js → model-resolver-qsf3p1yr.js} +10 -10
- package/dist/chunks/{managed-policy-1sxg4g47.js → model-resolver-qskvc41q.js} +10 -10
- package/dist/chunks/{managed-policy-5cqfgvb4.js → model-resolver-qy439gdh.js} +27 -27
- package/dist/chunks/{managed-policy-45sq12k6.js → model-resolver-r1tct7zd.js} +11 -11
- package/dist/chunks/{managed-policy-djszqvmq.js → model-resolver-r2m716tb.js} +9 -9
- package/dist/chunks/{managed-policy-tsjakjkq.js → model-resolver-r475mjjc.js} +20 -20
- package/dist/chunks/{managed-policy-q1n9hadw.js → model-resolver-r88fpew6.js} +9 -9
- package/dist/chunks/{managed-policy-875prqq3.js → model-resolver-r938b5ge.js} +32 -32
- package/dist/chunks/{managed-policy-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{managed-policy-h06dmeym.js → model-resolver-rwectdn3.js} +17 -17
- package/dist/chunks/{managed-policy-1rn5pcm9.js → model-resolver-s30fyz93.js} +4 -4
- package/dist/chunks/model-resolver-sfae06wy.js +26 -0
- package/dist/chunks/{managed-policy-08fr3tgs.js → model-resolver-sg94zqbj.js} +21 -21
- package/dist/chunks/{managed-policy-gzv3jtbt.js → model-resolver-sx2mqjyc.js} +32 -32
- package/dist/chunks/{managed-policy-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{managed-policy-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{managed-policy-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{managed-policy-kgfkfb63.js → model-resolver-tm4vaxsf.js} +20 -20
- package/dist/chunks/{managed-policy-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{managed-policy-jvnghvnw.js → model-resolver-tx9w5tca.js} +8 -8
- package/dist/chunks/{managed-policy-vknntt9e.js → model-resolver-v5g0yskm.js} +2 -2
- package/dist/chunks/{managed-policy-dqa6mh0h.js → model-resolver-v850jb5g.js} +14 -14
- package/dist/chunks/{managed-policy-hz7gmqsw.js → model-resolver-v9k22ypw.js} +9 -9
- package/dist/chunks/{managed-policy-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{managed-policy-y6kccm89.js → model-resolver-vkt5fbj2.js} +8 -8
- package/dist/chunks/{managed-policy-xnnfrr0j.js → model-resolver-vm8x5jsh.js} +24 -24
- package/dist/chunks/{managed-policy-jxxakrfy.js → model-resolver-vmgq4x8b.js} +2 -2
- package/dist/chunks/{managed-policy-w1avypy0.js → model-resolver-vqyyvx1k.js} +7 -7
- package/dist/chunks/{managed-policy-e4ewt8rg.js → model-resolver-vxv26dz1.js} +54 -54
- package/dist/chunks/{managed-policy-sevzz86w.js → model-resolver-vynr67b8.js} +17 -17
- package/dist/chunks/{managed-policy-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{managed-policy-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{managed-policy-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-dase2wj4.js → model-resolver-w8s93tvm.js} +17 -17
- package/dist/chunks/{managed-policy-t8wzckmp.js → model-resolver-wcjgahxv.js} +10 -10
- package/dist/chunks/{managed-policy-wd3x2cqz.js → model-resolver-wd3x2cqz.js} +2 -2
- package/dist/chunks/{managed-policy-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-e3y7ffaz.js → model-resolver-wdyvcfat.js} +24 -24
- package/dist/chunks/{managed-policy-wam6j7k0.js → model-resolver-wgvqggrf.js} +4 -4
- package/dist/chunks/{managed-policy-n1ka8r9d.js → model-resolver-wq4mmp7m.js} +4 -4
- package/dist/chunks/{managed-policy-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{managed-policy-s926t221.js → model-resolver-x2y5scjf.js} +12 -12
- package/dist/chunks/{managed-policy-tpe86yvt.js → model-resolver-x7pmfb8f.js} +34 -34
- package/dist/chunks/{managed-policy-2bq8905m.js → model-resolver-x9vnjyzm.js} +17 -17
- package/dist/chunks/{managed-policy-3ceemb66.js → model-resolver-x9zyqvt6.js} +26 -26
- package/dist/chunks/{managed-policy-d9e8dke0.js → model-resolver-xt9rxswa.js} +4 -4
- package/dist/chunks/{managed-policy-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{managed-policy-2jqk0rn5.js → model-resolver-y5c83qxw.js} +5 -5
- package/dist/chunks/{managed-policy-azsgmn80.js → model-resolver-y64m485r.js} +30 -30
- package/dist/chunks/{managed-policy-mpk0rfs5.js → model-resolver-y6bex35g.js} +4 -4
- package/dist/chunks/{managed-policy-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{managed-policy-d1khqved.js → model-resolver-yjptyezs.js} +5 -5
- package/dist/chunks/{managed-policy-3vt071x4.js → model-resolver-ynz18txh.js} +9 -9
- package/dist/chunks/{managed-policy-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{managed-policy-s4enseaf.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{managed-policy-39a15p26.js → model-resolver-yv77sh0a.js} +5 -5
- package/dist/chunks/{managed-policy-z07pqspn.js → model-resolver-z07pqspn.js} +3 -3
- package/dist/chunks/{managed-policy-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{managed-policy-7gxzyefe.js → model-resolver-z4fx9cvt.js} +9 -9
- package/dist/chunks/{managed-policy-29x78va6.js → model-resolver-z63w68vq.js} +6 -6
- package/dist/chunks/{managed-policy-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{managed-policy-txpnxh2f.js → model-resolver-zfhy6jfb.js} +8 -8
- package/dist/chunks/{managed-policy-23qe2xa5.js → model-resolver-zmqb8676.js} +5 -5
- package/dist/chunks/{managed-policy-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{managed-policy-cmtfrzch.js → model-resolver-zw9m0b6f.js} +13 -13
- package/dist/chunks/{managed-policy-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{managed-policy-th2qz4yf.js → model-resolver-zzd4ahet.js} +22 -22
- 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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- 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 +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/managed-policy-6dyd0b7s.js +0 -26
- package/dist/chunks/managed-policy-c92ss08r.js +0 -507
- package/dist/chunks/managed-policy-vnkjks7b.js +0 -18
- package/dist/chunks/managed-policy-x21e0m1x.js +0 -252
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service59,
|
|
3
|
+
node62
|
|
4
|
+
} from "./model-resolver-kan6af9e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./model-resolver-774mep86.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service58,
|
|
11
|
+
node61
|
|
12
|
+
} from "./model-resolver-cp17smcp.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service8,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node9
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service8 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service8, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service58;
|
|
40
|
+
const watcher = yield* Service59;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service8.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node9 = makeLocationNode({
|
|
74
|
+
service: Service8,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node61, FSUtil.node, node62, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service8,
|
|
80
|
+
layer: Layer.succeed(Service8, Service8.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service8, layer5, node9, empty2, exports_source };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-8k0g7am2.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service72
|
|
7
|
+
} from "./model-resolver-ghdxkhwt.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-4ff0zxak.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-r938b5ge.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID9.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID10.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service72;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID10.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service7,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service7.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node8 = makeLocationNode({ service: Service7, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service7, node8, exports_location_watcher_policy };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-8k0g7am2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-0703wr40.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./model-resolver-ghdxkhwt.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-y6bex35g.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID10,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-4ff0zxak.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID9,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service70
|
|
22
|
+
} from "./model-resolver-r938b5ge.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID8,
|
|
25
|
+
Info22
|
|
26
|
+
} from "./model-resolver-c0xnxeca.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID9.gitlab;
|
|
39
|
+
var integrationID = ID10.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service70;
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info22.default(providerID, ID8.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID9.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-8k0g7am2.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin5,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin5 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin18 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin18 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint3, Plugin5, exports_tinyfish };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-0703wr40.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-y6bex35g.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID10,
|
|
14
|
+
Service71,
|
|
15
|
+
node75,
|
|
16
|
+
Event16
|
|
17
|
+
} from "./model-resolver-4ff0zxak.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./model-resolver-774mep86.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event15,
|
|
41
|
+
ID: () => ID9,
|
|
42
|
+
Info: () => Info23,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request2,
|
|
46
|
+
Service: () => Service70,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node74,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event15 } from "@opencode/schema/provider";
|
|
68
|
+
var ID9 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request2 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info23 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service70 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
230
|
+
const integrations = yield* Service71;
|
|
231
|
+
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info23.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID10.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service70.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node74 = makeLocationNode({ service: Service70, layer, deps: [node87, node75, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info23, Service70, node74, exports_provider3, Event15 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-0703wr40.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-y6bex35g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event17
|
|
9
|
+
} from "./model-resolver-ghdxkhwt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID10
|
|
12
|
+
} from "./model-resolver-4ff0zxak.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service70
|
|
16
|
+
} from "./model-resolver-r938b5ge.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./model-resolver-08yw13zg.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service70;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-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: () => Info29,
|
|
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 Info29 = 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 { Info29, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin4
|
|
3
|
+
} from "./model-resolver-vkt5fbj2.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin7
|
|
6
|
+
} from "./model-resolver-ynz18txh.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin6
|
|
9
|
+
} from "./model-resolver-m101sbdj.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin8
|
|
12
|
+
} from "./model-resolver-7z7t5xg0.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin5
|
|
15
|
+
} from "./model-resolver-r88fpew6.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin4,
|
|
20
|
+
Plugin7,
|
|
21
|
+
Plugin6,
|
|
22
|
+
Plugin8,
|
|
23
|
+
Plugin5
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|