@opencode/core 0.0.0-dev-20363 → 0.0.0-dev-20365
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{model-resolver-p44d8wdy.js → instruction-discovery-0f9afca0.js} +5 -5
- package/dist/chunks/{model-resolver-1ep2by6j.js → instruction-discovery-0fnrp01p.js} +32 -32
- package/dist/chunks/{model-resolver-g0s9wgrg.js → instruction-discovery-0jd5421x.js} +32 -32
- package/dist/chunks/{model-resolver-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-qfnwxhdd.js → instruction-discovery-0w8rebe2.js} +11 -11
- package/dist/chunks/{model-resolver-vqyyvx1k.js → instruction-discovery-0yt0caxe.js} +10 -10
- package/dist/chunks/{model-resolver-2veb1275.js → instruction-discovery-10bghtad.js} +36 -36
- package/dist/chunks/{model-resolver-g4x4az7d.js → instruction-discovery-151rgrdh.js} +3 -3
- package/dist/chunks/{model-resolver-jtdedrsn.js → instruction-discovery-187m32rh.js} +18 -18
- package/dist/chunks/{model-resolver-e08max4g.js → instruction-discovery-18szcvs2.js} +3 -3
- package/dist/chunks/{model-resolver-r88fpew6.js → instruction-discovery-1bvhx7th.js} +9 -9
- package/dist/chunks/{model-resolver-mrrz849e.js → instruction-discovery-1cge6xys.js} +13 -13
- package/dist/chunks/{model-resolver-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-04shvbr1.js → instruction-discovery-1gdh9z1g.js} +12 -12
- package/dist/chunks/{model-resolver-qb6wrr0k.js → instruction-discovery-1p5qk5ef.js} +38 -38
- package/dist/chunks/{model-resolver-86qzxe6p.js → instruction-discovery-1y283654.js} +4 -4
- package/dist/chunks/{model-resolver-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-9pwyx6vy.js → instruction-discovery-22kdfrga.js} +10 -10
- package/dist/chunks/{model-resolver-cp5p8nw7.js → instruction-discovery-22yhfxxr.js} +23 -23
- package/dist/chunks/{model-resolver-4m9kpkhr.js → instruction-discovery-2a57fqez.js} +28 -28
- package/dist/chunks/{model-resolver-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-57ez7d0k.js → instruction-discovery-2fgn2we9.js} +9 -9
- package/dist/chunks/{model-resolver-kan6af9e.js → instruction-discovery-2rt4b4vk.js} +16 -16
- package/dist/chunks/{model-resolver-c48kjqxw.js → instruction-discovery-2zr3ta4f.js} +33 -33
- package/dist/chunks/{model-resolver-n3vygs5b.js → instruction-discovery-32ymn5e1.js} +6 -6
- package/dist/chunks/{model-resolver-gbzb20p6.js → instruction-discovery-34aseb2t.js} +11 -11
- package/dist/chunks/{model-resolver-f4bg3nw3.js → instruction-discovery-36s4nkqj.js} +88 -88
- package/dist/chunks/{model-resolver-ynz18txh.js → instruction-discovery-38dw6rw7.js} +9 -9
- package/dist/chunks/{model-resolver-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-dj1dwqym.js → instruction-discovery-3r66stpx.js} +3 -3
- package/dist/chunks/{model-resolver-8s79h2zs.js → instruction-discovery-3rxyecnx.js} +22 -22
- package/dist/chunks/{model-resolver-c75ppnt9.js → instruction-discovery-3sm268de.js} +25 -25
- package/dist/chunks/{model-resolver-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-ga76bh3d.js → instruction-discovery-3snnmqxx.js} +67 -67
- package/dist/chunks/{model-resolver-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3zsf4n22.js → instruction-discovery-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-r1tct7zd.js → instruction-discovery-4975qbqg.js} +11 -11
- package/dist/chunks/{model-resolver-e23sc63z.js → instruction-discovery-4k9r34b0.js} +4 -4
- package/dist/chunks/{model-resolver-eq302p8g.js → instruction-discovery-4x987a9f.js} +15 -15
- package/dist/chunks/{model-resolver-54ma36ye.js → instruction-discovery-54ma36ye.js} +1 -1
- package/dist/chunks/{model-resolver-ckecvw8r.js → instruction-discovery-54tcyq79.js} +2 -2
- package/dist/chunks/{model-resolver-1ygqh575.js → instruction-discovery-56gdpj1q.js} +9 -9
- package/dist/chunks/{model-resolver-gv9h81mr.js → instruction-discovery-5cr7r7hg.js} +12 -12
- package/dist/chunks/{model-resolver-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-p0h2zwcj.js → instruction-discovery-5g55xj2w.js} +16 -16
- package/dist/chunks/{model-resolver-30krspkn.js → instruction-discovery-5kvqrqtt.js} +4 -4
- package/dist/chunks/{model-resolver-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-8k0g7am2.js → instruction-discovery-5x736p1g.js} +10 -10
- package/dist/chunks/{model-resolver-qp883ga4.js → instruction-discovery-6128t9ck.js} +44 -44
- package/dist/chunks/instruction-discovery-64egkh2c.js +252 -0
- package/dist/chunks/{model-resolver-j2g46p4m.js → instruction-discovery-6619bm8v.js} +16 -16
- package/dist/chunks/{model-resolver-669tq793.js → instruction-discovery-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-3g9hx9d8.js → instruction-discovery-6ax496g1.js} +51 -51
- package/dist/chunks/{model-resolver-et0bpsn8.js → instruction-discovery-6mmqkzfc.js} +54 -54
- package/dist/chunks/{model-resolver-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-ep6z9mt6.js → instruction-discovery-6n88yxkj.js} +8 -8
- package/dist/chunks/{model-resolver-fwfvrmc2.js → instruction-discovery-6pjjjzvh.js} +4 -4
- package/dist/chunks/{model-resolver-ctwrx9qj.js → instruction-discovery-6y0jnxwh.js} +12 -12
- package/dist/chunks/{model-resolver-ftdzjz2b.js → instruction-discovery-6ymymyv8.js} +6 -6
- package/dist/chunks/{model-resolver-y5c83qxw.js → instruction-discovery-6z1zkmte.js} +5 -5
- package/dist/chunks/{model-resolver-zzd4ahet.js → instruction-discovery-79xc4wqz.js} +22 -22
- package/dist/chunks/{model-resolver-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-fcrkznn8.js → instruction-discovery-7dqw4kz8.js} +5 -5
- package/dist/chunks/instruction-discovery-7fj5dwt0.js +18 -0
- package/dist/chunks/{model-resolver-2aet7wja.js → instruction-discovery-7j2qha59.js} +8 -8
- package/dist/chunks/{model-resolver-awc5gjgd.js → instruction-discovery-7ntmn10c.js} +19 -19
- package/dist/chunks/{model-resolver-zfhy6jfb.js → instruction-discovery-7t71radz.js} +8 -8
- package/dist/chunks/{model-resolver-bf6sfhxg.js → instruction-discovery-7vf0xt57.js} +22 -22
- package/dist/chunks/{model-resolver-5cmxdwv8.js → instruction-discovery-7w99qc9d.js} +3 -3
- package/dist/chunks/{model-resolver-c0xnxeca.js → instruction-discovery-7xme8kcs.js} +30 -30
- package/dist/chunks/{model-resolver-84txncab.js → instruction-discovery-84txncab.js} +1 -1
- package/dist/chunks/{model-resolver-7zrz2ht7.js → instruction-discovery-86bba7p5.js} +9 -9
- package/dist/chunks/{model-resolver-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-fg989vxx.js → instruction-discovery-8m5hcdr3.js} +13 -13
- package/dist/chunks/{model-resolver-kg0ttabr.js → instruction-discovery-8xgekn8b.js} +20 -20
- package/dist/chunks/{model-resolver-z4fx9cvt.js → instruction-discovery-9fxqd1sf.js} +9 -9
- package/dist/chunks/{model-resolver-g8stq3ct.js → instruction-discovery-9gjc8sm6.js} +18 -18
- package/dist/chunks/{model-resolver-vxv26dz1.js → instruction-discovery-9mgdqk3f.js} +54 -54
- package/dist/chunks/{model-resolver-vynr67b8.js → instruction-discovery-9t7c31ty.js} +17 -17
- package/dist/chunks/{model-resolver-7zdrdht4.js → instruction-discovery-9vtsvkk2.js} +6 -6
- package/dist/chunks/{model-resolver-eqhdj52w.js → instruction-discovery-9wdq8f39.js} +17 -17
- package/dist/chunks/{model-resolver-v850jb5g.js → instruction-discovery-a00me6k7.js} +11 -11
- package/dist/chunks/{model-resolver-a2ew8a62.js → instruction-discovery-a2ew8a62.js} +1 -1
- package/dist/chunks/{model-resolver-7k895je9.js → instruction-discovery-a2nkfp8g.js} +25 -25
- package/dist/chunks/{model-resolver-5qkfabj9.js → instruction-discovery-a3t8nhns.js} +30 -30
- package/dist/chunks/{model-resolver-b23z4qnb.js → instruction-discovery-a8vp0knq.js} +7 -7
- package/dist/chunks/{model-resolver-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-cpy6gm2a.js → instruction-discovery-ab9238g2.js} +4 -4
- package/dist/chunks/{model-resolver-vm8x5jsh.js → instruction-discovery-acnjys95.js} +20 -20
- package/dist/chunks/{model-resolver-0703wr40.js → instruction-discovery-aqr5jswe.js} +4 -4
- package/dist/chunks/{model-resolver-08yw13zg.js → instruction-discovery-armsaks0.js} +23 -23
- package/dist/chunks/{model-resolver-f1vyadhg.js → instruction-discovery-avae2qkj.js} +5 -5
- package/dist/chunks/{model-resolver-g87rxxst.js → instruction-discovery-b42kd364.js} +23 -23
- package/dist/chunks/{model-resolver-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-cqy5fkq0.js → instruction-discovery-bacyfq49.js} +32 -32
- package/dist/chunks/{model-resolver-dfe8djrf.js → instruction-discovery-bct739vz.js} +4 -4
- package/dist/chunks/{model-resolver-kdhg8fn5.js → instruction-discovery-bfp5tavp.js} +10 -10
- package/dist/chunks/{model-resolver-24bjdznb.js → instruction-discovery-bfs5k0e6.js} +25 -25
- package/dist/chunks/{model-resolver-31v28kev.js → instruction-discovery-bhq1jhw6.js} +5 -5
- package/dist/chunks/{model-resolver-z07pqspn.js → instruction-discovery-bjtzbw4r.js} +3 -3
- package/dist/chunks/{model-resolver-468xcx49.js → instruction-discovery-btr3megd.js} +8 -8
- package/dist/chunks/{model-resolver-0t1a536w.js → instruction-discovery-bvtmakpj.js} +10 -10
- package/dist/chunks/{model-resolver-3ppptnan.js → instruction-discovery-bw9zjykr.js} +6 -6
- package/dist/chunks/{model-resolver-gp4df2gz.js → instruction-discovery-cbzddc70.js} +5 -5
- package/dist/chunks/{model-resolver-4g0mdtwh.js → instruction-discovery-cd1294k6.js} +14 -14
- package/dist/chunks/{model-resolver-00bdd51n.js → instruction-discovery-cdk3gs1h.js} +10 -10
- package/dist/chunks/{model-resolver-hkw89x8s.js → instruction-discovery-cf8tr9ph.js} +6 -6
- package/dist/chunks/{model-resolver-1jtc7t2n.js → instruction-discovery-cf9ytn19.js} +22 -22
- package/dist/chunks/{model-resolver-bzx9a2az.js → instruction-discovery-cj1he048.js} +24 -24
- package/dist/chunks/{model-resolver-28fee37h.js → instruction-discovery-cv5gvdp9.js} +29 -29
- package/dist/chunks/{model-resolver-j47s30d1.js → instruction-discovery-cvbv1j0h.js} +5 -5
- package/dist/chunks/{model-resolver-54gavh75.js → instruction-discovery-cyfct4w8.js} +88 -88
- package/dist/chunks/{model-resolver-85ja8bjp.js → instruction-discovery-cyga4fvd.js} +20 -20
- package/dist/chunks/{model-resolver-r2m716tb.js → instruction-discovery-d4he2qe1.js} +9 -9
- package/dist/chunks/{model-resolver-dmqcgk4z.js → instruction-discovery-dmqcgk4z.js} +2 -2
- package/dist/chunks/{model-resolver-y71avatq.js → instruction-discovery-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-x7pmfb8f.js → instruction-discovery-drbbyxqc.js} +32 -32
- package/dist/chunks/{model-resolver-w8s93tvm.js → instruction-discovery-dxb4fe6m.js} +15 -15
- package/dist/chunks/{model-resolver-zmqb8676.js → instruction-discovery-dymd75nb.js} +5 -5
- package/dist/chunks/{model-resolver-d4wmmjrt.js → instruction-discovery-e3y7q9w0.js} +16 -16
- package/dist/chunks/{model-resolver-xt9rxswa.js → instruction-discovery-e7dwzs0g.js} +4 -4
- package/dist/chunks/{model-resolver-ecfe7b91.js → instruction-discovery-ecfe7b91.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-7f1fjr73.js → instruction-discovery-eht2pxda.js} +34 -34
- package/dist/chunks/{model-resolver-28rwb4xv.js → instruction-discovery-ery46gwm.js} +15 -15
- package/dist/chunks/{model-resolver-29qym6xz.js → instruction-discovery-espax8zg.js} +4 -4
- package/dist/chunks/{model-resolver-gd38j8rb.js → instruction-discovery-estn5yqz.js} +180 -180
- package/dist/chunks/{model-resolver-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-23ypespv.js → instruction-discovery-ezpw8a83.js} +13 -13
- package/dist/chunks/{model-resolver-s30fyz93.js → instruction-discovery-f29mbr7f.js} +4 -4
- package/dist/chunks/{model-resolver-my6ay15n.js → instruction-discovery-f312cjwv.js} +21 -21
- package/dist/chunks/{model-resolver-6rq2rdm3.js → instruction-discovery-f38y7jqd.js} +36 -36
- package/dist/chunks/{model-resolver-r938b5ge.js → instruction-discovery-f4161tt7.js} +32 -32
- package/dist/chunks/{model-resolver-2kewd2va.js → instruction-discovery-f58gpcny.js} +9 -9
- package/dist/chunks/{model-resolver-2e7f4xd3.js → instruction-discovery-fr5dej3b.js} +25 -25
- package/dist/chunks/{model-resolver-655b29a3.js → instruction-discovery-frcg5mp6.js} +21 -21
- package/dist/chunks/{model-resolver-m1t05dsh.js → instruction-discovery-fsz30s44.js} +1 -1
- package/dist/chunks/{model-resolver-6hjx5zpb.js → instruction-discovery-fwwk8vbp.js} +9 -9
- package/dist/chunks/{model-resolver-m101sbdj.js → instruction-discovery-fyhkcpzz.js} +9 -9
- package/dist/chunks/{model-resolver-aads351p.js → instruction-discovery-g01nxz4d.js} +1 -1
- package/dist/chunks/{model-resolver-6rq91kkb.js → instruction-discovery-g0k6w0zm.js} +22 -22
- package/dist/chunks/instruction-discovery-g49e3836.js +507 -0
- package/dist/chunks/{model-resolver-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-94ek1h2f.js → instruction-discovery-gfvb90ym.js} +2 -2
- package/dist/chunks/instruction-discovery-gk619p5m.js +26 -0
- package/dist/chunks/{model-resolver-9n3n2vac.js → instruction-discovery-gpmqmegr.js} +20 -20
- package/dist/chunks/{model-resolver-b9e5m5kw.js → instruction-discovery-grrqevyk.js} +16 -16
- package/dist/chunks/{model-resolver-k7tpzzsk.js → instruction-discovery-gthj2xdw.js} +22 -22
- package/dist/chunks/{model-resolver-gv6a8nnw.js → instruction-discovery-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-fdvr1ndy.js → instruction-discovery-gyzv7h5b.js} +9 -9
- package/dist/chunks/{model-resolver-7z7t5xg0.js → instruction-discovery-h52c3x43.js} +8 -8
- package/dist/chunks/{model-resolver-g5agzp2h.js → instruction-discovery-h6b02349.js} +5 -5
- package/dist/chunks/{model-resolver-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-d3qasn01.js → instruction-discovery-hhz91wcw.js} +6 -6
- package/dist/chunks/{model-resolver-vkt5fbj2.js → instruction-discovery-hr5bc81f.js} +8 -8
- package/dist/chunks/{model-resolver-wgvqggrf.js → instruction-discovery-hw07rkan.js} +4 -4
- package/dist/chunks/{model-resolver-774mep86.js → instruction-discovery-hwt60xw2.js} +16 -16
- package/dist/chunks/{model-resolver-b00xvs8t.js → instruction-discovery-hz0q9sdq.js} +8 -8
- package/dist/chunks/{model-resolver-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-gmjq4p6e.js → instruction-discovery-jf9anmv7.js} +12 -12
- package/dist/chunks/{model-resolver-prn2zde5.js → instruction-discovery-jfetez9m.js} +21 -21
- package/dist/chunks/{model-resolver-9q2chv03.js → instruction-discovery-jg0vs890.js} +5 -5
- package/dist/chunks/{model-resolver-59ps16wq.js → instruction-discovery-jmz48h02.js} +14 -14
- package/dist/chunks/{model-resolver-zw9m0b6f.js → instruction-discovery-jrfr1c68.js} +18 -18
- package/dist/chunks/{model-resolver-magykp64.js → instruction-discovery-k2h4r4s0.js} +4 -4
- package/dist/chunks/{model-resolver-k3c624dm.js → instruction-discovery-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-57p4zcxx.js → instruction-discovery-k57zg0v1.js} +18 -18
- package/dist/chunks/{model-resolver-x9vnjyzm.js → instruction-discovery-k5fc4sd6.js} +22 -22
- package/dist/chunks/{model-resolver-7nnscm86.js → instruction-discovery-kbnbj767.js} +23 -23
- package/dist/chunks/{model-resolver-rwectdn3.js → instruction-discovery-kdx8jt08.js} +17 -17
- package/dist/chunks/{model-resolver-4dcsf2r8.js → instruction-discovery-kqs3y8v2.js} +8 -8
- package/dist/chunks/{model-resolver-qsf3p1yr.js → instruction-discovery-kxw03s6f.js} +10 -10
- package/dist/chunks/{model-resolver-0np6v5dx.js → instruction-discovery-m12n5y3f.js} +45 -45
- package/dist/chunks/{model-resolver-m3fdjcah.js → instruction-discovery-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-cepnprts.js → instruction-discovery-mfnm4q8d.js} +24 -24
- package/dist/chunks/{model-resolver-y6bex35g.js → instruction-discovery-mpk0rfs5.js} +4 -4
- package/dist/chunks/{model-resolver-8dhmwpck.js → instruction-discovery-mw6tp84c.js} +11 -11
- package/dist/chunks/{model-resolver-ghdxkhwt.js → instruction-discovery-mwben6dq.js} +30 -30
- package/dist/chunks/{model-resolver-pgfqyy1c.js → instruction-discovery-myy2c2wb.js} +18 -18
- package/dist/chunks/{model-resolver-wq4mmp7m.js → instruction-discovery-mzywpf3p.js} +4 -4
- package/dist/chunks/{model-resolver-6pjg54et.js → instruction-discovery-ndbev1fk.js} +18 -18
- package/dist/chunks/{model-resolver-vmgq4x8b.js → instruction-discovery-nng2ktcm.js} +2 -2
- package/dist/chunks/{model-resolver-j3s2z371.js → instruction-discovery-nq7qbqzc.js} +9 -9
- package/dist/chunks/{model-resolver-1gtysh3b.js → instruction-discovery-ns0djxc8.js} +11 -11
- package/dist/chunks/{model-resolver-ef43s285.js → instruction-discovery-nw1axpkg.js} +34 -34
- package/dist/chunks/{model-resolver-q0gq5wzg.js → instruction-discovery-nwqgzwhr.js} +11 -11
- package/dist/chunks/{model-resolver-m6cmkatr.js → instruction-discovery-nysmp4a2.js} +41 -41
- package/dist/chunks/{model-resolver-4ff0zxak.js → instruction-discovery-p25pce50.js} +30 -30
- package/dist/chunks/{model-resolver-9hn6k4tm.js → instruction-discovery-pa8pe2x7.js} +8 -8
- package/dist/chunks/{model-resolver-y64m485r.js → instruction-discovery-pgxbze3j.js} +39 -39
- package/dist/chunks/{model-resolver-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-sg94zqbj.js → instruction-discovery-pnbbez7v.js} +20 -20
- package/dist/chunks/{model-resolver-fvhcjjbk.js → instruction-discovery-pp173efe.js} +11 -11
- package/dist/chunks/{model-resolver-j5qm3aa4.js → instruction-discovery-ppxvzr57.js} +43 -43
- package/dist/chunks/{model-resolver-wd3x2cqz.js → instruction-discovery-psazpmmj.js} +2 -2
- package/dist/chunks/{model-resolver-fc1e038s.js → instruction-discovery-pse00pgs.js} +13 -13
- package/dist/chunks/{model-resolver-6pc27hjz.js → instruction-discovery-py3kkmfq.js} +6 -6
- package/dist/chunks/{model-resolver-m5389yyj.js → instruction-discovery-q0d7s5js.js} +5 -5
- package/dist/chunks/{model-resolver-7fpqa9rm.js → instruction-discovery-q3hw20gb.js} +13 -13
- package/dist/chunks/{model-resolver-8w6zmm29.js → instruction-discovery-q4ha1nt6.js} +8 -8
- package/dist/chunks/{model-resolver-166cxnzt.js → instruction-discovery-q9hsaf9y.js} +28 -28
- package/dist/chunks/{model-resolver-hqmtd9gn.js → instruction-discovery-qecqrgvf.js} +20 -20
- package/dist/chunks/{model-resolver-wdyvcfat.js → instruction-discovery-qfcm5wty.js} +30 -30
- package/dist/chunks/{model-resolver-gbs6jbhw.js → instruction-discovery-qqgfay4a.js} +6 -6
- package/dist/chunks/{model-resolver-v5g0yskm.js → instruction-discovery-qrfkxqda.js} +2 -2
- package/dist/chunks/{model-resolver-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-tx9w5tca.js → instruction-discovery-qwjmgwmn.js} +8 -8
- package/dist/chunks/{model-resolver-wcjgahxv.js → instruction-discovery-qyz68xr4.js} +8 -8
- package/dist/chunks/{model-resolver-df54n7py.js → instruction-discovery-r4xhx5yy.js} +12 -12
- package/dist/chunks/{model-resolver-1bbkgx8g.js → instruction-discovery-r5x6zcsm.js} +3 -3
- package/dist/chunks/{model-resolver-f2n192rq.js → instruction-discovery-r8xr0va3.js} +4 -4
- package/dist/chunks/{model-resolver-6pzm3pmc.js → instruction-discovery-rcc95wnw.js} +15 -15
- package/dist/chunks/{model-resolver-sx2mqjyc.js → instruction-discovery-rdmnr4g1.js} +32 -32
- package/dist/chunks/{model-resolver-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-0bfcnrg1.js → instruction-discovery-rk1r2hx8.js} +1 -1
- package/dist/chunks/{model-resolver-cp17smcp.js → instruction-discovery-rr0ej4qw.js} +35 -35
- package/dist/chunks/{model-resolver-4mwtbdcy.js → instruction-discovery-rr7h7dn4.js} +23 -23
- package/dist/chunks/{model-resolver-5ghb1wcz.js → instruction-discovery-rrkyb7d2.js} +15 -15
- package/dist/chunks/{model-resolver-v9k22ypw.js → instruction-discovery-s7b01nm3.js} +7 -7
- package/dist/chunks/{model-resolver-eaj1djv9.js → instruction-discovery-s8d7rejh.js} +6 -6
- package/dist/chunks/{model-resolver-c1jg21sb.js → instruction-discovery-sppx2cm3.js} +15 -15
- package/dist/chunks/{model-resolver-2hg7qvzt.js → instruction-discovery-sqbb0ctm.js} +5 -5
- package/dist/chunks/{model-resolver-yv77sh0a.js → instruction-discovery-srr58gm6.js} +5 -5
- package/dist/chunks/{model-resolver-bzpc8ntm.js → instruction-discovery-ss2kacyw.js} +17 -17
- package/dist/chunks/{model-resolver-qskvc41q.js → instruction-discovery-t8bsretr.js} +10 -10
- package/dist/chunks/{model-resolver-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → instruction-discovery-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-0c6c0zmn.js → instruction-discovery-tdm1h4wf.js} +16 -16
- package/dist/chunks/{model-resolver-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-nz2kpe5e.js → instruction-discovery-tfgcfrdz.js} +26 -26
- package/dist/chunks/{model-resolver-3w2b2yj4.js → instruction-discovery-tn0aqsam.js} +5 -5
- package/dist/chunks/{model-resolver-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-x2y5scjf.js → instruction-discovery-v5kct8vj.js} +15 -15
- package/dist/chunks/{model-resolver-qe3aawgt.js → instruction-discovery-va34hpv2.js} +3 -3
- package/dist/chunks/{model-resolver-bw2q4erb.js → instruction-discovery-vb79pq1b.js} +37 -37
- package/dist/chunks/{model-resolver-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-66gm3q6y.js → instruction-discovery-ver2fgbz.js} +4 -4
- package/dist/chunks/{model-resolver-cm63mksd.js → instruction-discovery-vg5xy7fh.js} +9 -9
- package/dist/chunks/{model-resolver-1tw0n30a.js → instruction-discovery-vp7acvqa.js} +17 -17
- package/dist/chunks/{model-resolver-ahwzhwa3.js → instruction-discovery-vtdeafhw.js} +5 -5
- package/dist/chunks/{model-resolver-2y34zzjz.js → instruction-discovery-vyqn3nqs.js} +4 -4
- package/dist/chunks/{model-resolver-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-vzs5sf6e.js → instruction-discovery-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-kf4rtjcm.js → instruction-discovery-w2kn7s6g.js} +11 -11
- package/dist/chunks/{model-resolver-qy439gdh.js → instruction-discovery-w3seyqvg.js} +23 -23
- package/dist/chunks/{model-resolver-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-1mjwcf4w.js → instruction-discovery-wargq46t.js} +8 -8
- package/dist/chunks/{model-resolver-yjptyezs.js → instruction-discovery-wbkyxrgf.js} +5 -5
- package/dist/chunks/{model-resolver-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-dcgx96r3.js → instruction-discovery-x4ewwgt8.js} +23 -23
- package/dist/chunks/{model-resolver-gdj9fwxj.js → instruction-discovery-xbgsntj0.js} +18 -18
- package/dist/chunks/{model-resolver-drwq78ky.js → instruction-discovery-xfkkasph.js} +4 -4
- package/dist/chunks/{model-resolver-hy7m1jes.js → instruction-discovery-xfyk0vde.js} +15 -15
- package/dist/chunks/{model-resolver-35me4pqp.js → instruction-discovery-xhbqa4nv.js} +45 -45
- package/dist/chunks/{model-resolver-x9zyqvt6.js → instruction-discovery-xje8bwn9.js} +24 -24
- package/dist/chunks/{model-resolver-dxmvrbpm.js → instruction-discovery-xst8czg1.js} +29 -29
- package/dist/chunks/{model-resolver-gnnmkja3.js → instruction-discovery-xy09cv4h.js} +33 -33
- package/dist/chunks/{model-resolver-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-r475mjjc.js → instruction-discovery-y90pccxx.js} +20 -20
- package/dist/chunks/{model-resolver-kd9s81d6.js → instruction-discovery-ych4f45t.js} +12 -12
- package/dist/chunks/{model-resolver-0ehkc6b3.js → instruction-discovery-yfnmz5ms.js} +7 -7
- package/dist/chunks/{model-resolver-2zf1ybhy.js → instruction-discovery-yk46zzns.js} +3 -3
- package/dist/chunks/{model-resolver-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → instruction-discovery-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-m3ma28tp.js → instruction-discovery-ys989rq2.js} +48 -48
- package/dist/chunks/{model-resolver-4n607a2z.js → instruction-discovery-yt3hy1g9.js} +5 -5
- package/dist/chunks/{model-resolver-beb0xpyw.js → instruction-discovery-ytvsh58e.js} +13 -13
- package/dist/chunks/{model-resolver-5dzgzdgv.js → instruction-discovery-ywfr5f7y.js} +27 -27
- package/dist/chunks/{model-resolver-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-tm4vaxsf.js → instruction-discovery-z1axqdyk.js} +15 -15
- package/dist/chunks/{model-resolver-h46w06ap.js → instruction-discovery-z1d7ddxf.js} +6 -6
- package/dist/chunks/{model-resolver-f5snpwwp.js → instruction-discovery-z2ay98k6.js} +8 -8
- package/dist/chunks/{model-resolver-50p21jsy.js → instruction-discovery-z5bzs6kf.js} +8 -8
- package/dist/chunks/{model-resolver-gse0ck6f.js → instruction-discovery-z5extsze.js} +3 -3
- package/dist/chunks/{model-resolver-z63w68vq.js → instruction-discovery-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-7vckzw94.js → instruction-discovery-z9ntxpz7.js} +9 -9
- package/dist/chunks/{model-resolver-5gb54438.js → instruction-discovery-zckc2zz5.js} +11 -11
- package/dist/chunks/{model-resolver-159a3x2j.js → instruction-discovery-ze1t0k39.js} +36 -36
- package/dist/chunks/{model-resolver-gst7axd9.js → instruction-discovery-zee1rnkq.js} +4 -4
- package/dist/chunks/{model-resolver-zeh9ct20.js → instruction-discovery-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- 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 +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +3 -3
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +3 -3
- 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 +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +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 +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +230 -230
- package/dist/project/schema.js +8 -8
- 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 +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- 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 +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- 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 +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/model-resolver-ap5sg23v.js +0 -252
- package/dist/chunks/model-resolver-phz3h32g.js +0 -18
- package/dist/chunks/model-resolver-qpym6rz7.js +0 -507
- package/dist/chunks/model-resolver-sfae06wy.js +0 -26
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-34c7v6d4.js → instruction-discovery-34c7v6d4.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service56
|
|
4
|
+
} from "./instruction-discovery-rr0ej4qw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./instruction-discovery-jrfr1c68.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin12
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin12 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service56;
|
|
27
|
+
const shell = yield* Service51;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin19 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin12, exports_shell };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service52,
|
|
17
|
+
node55
|
|
18
|
+
} from "./instruction-discovery-f58gpcny.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service71,
|
|
21
|
+
node75
|
|
22
|
+
} from "./instruction-discovery-qwjmgwmn.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./instruction-discovery-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
|
+
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service47,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node50
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service47 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service71;
|
|
58
|
+
const image = yield* Service52;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service47.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node50 = makeLocationNode({
|
|
277
|
+
service: Service47,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node75, node55]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service47, node50, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -2,40 +2,40 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./instruction-discovery-hwt60xw2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service21,
|
|
12
|
+
node24
|
|
13
|
+
} from "./instruction-discovery-qfcm5wty.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event4,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service20,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node23
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content2 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event4 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service20 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service79;
|
|
95
|
+
const search = yield* Service21;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service20.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node23 = makeLocationNode({
|
|
144
|
+
service: Service20,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, node24]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service20, node23, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_lsp, {
|
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
10
|
Entry: () => Entry4,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info14,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info14 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2,
|
|
84
|
+
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info14, exports_lsp };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-aqr5jswe.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
15
15
|
import {
|
|
16
16
|
Service55,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node60
|
|
18
|
+
} from "./instruction-discovery-z1axqdyk.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
29
|
Event: () => Event10,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info10,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service54,
|
|
35
35
|
Source: () => Source4,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node59
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
@@ -43,11 +43,11 @@ import { Event as Event10 } from "@opencode/schema/reference";
|
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source4 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info10 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service54 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
53
|
const cache = yield* Service55;
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info10.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(Service53, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info10.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(Service53, 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 Service54.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(Service53, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node59 = makeLocationNode({
|
|
116
|
+
service: Service54,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node60]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source4,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info10, Service54, node59, exports_reference2, Event10 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-va34hpv2.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-f4161tt7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID11,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info25,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-7xme8kcs.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID11.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info25.make({
|
|
98
|
+
...Info25.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID11.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions2 = {};
|
|
@@ -109,7 +109,7 @@ ${render2(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
114
|
var make13 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|