@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,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-aqr5jswe.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./instruction-discovery-mwben6dq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service57,
|
|
12
12
|
node62
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-2rt4b4vk.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./instruction-discovery-hwt60xw2.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instruction-discovery-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instruction-discovery-7vf0xt57.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-cbzddc70.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instruction-discovery-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
Service58,
|
|
36
36
|
Event12,
|
|
37
37
|
node63
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./instruction-discovery-ych4f45t.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service56,
|
|
49
49
|
Test: () => Test2,
|
|
50
50
|
configured: () => configured9,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
52
|
+
layer: () => layer19,
|
|
53
53
|
node: () => node61,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options7 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service56 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service56, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer19 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service79;
|
|
97
|
+
const watcher = yield* Service57;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service77;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service58;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,7 +221,7 @@ var layer21 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
@@ -250,7 +250,7 @@ var layer21 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service56.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -264,11 +264,11 @@ var layer21 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
264
264
|
}));
|
|
265
265
|
function configured9(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [node62, node87, FSUtil.node, Global.node,
|
|
267
|
+
service: Service56,
|
|
268
|
+
layer: layer19(options),
|
|
269
|
+
deps: [node62, node87, FSUtil.node, Global.node, node83, node81, node63]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
272
|
var node61 = configured9();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options7, Service56, Test2, testLayer2, layer19, configured9, node61, exports_config };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-5x736p1g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-aqr5jswe.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./instruction-discovery-mwben6dq.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-mpk0rfs5.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-p25pce50.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service16
|
|
21
|
+
} from "./instruction-discovery-hz0q9sdq.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID12,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instruction-discovery-f4161tt7.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
ID3,
|
|
29
|
+
Input13,
|
|
30
30
|
Response2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instruction-discovery-fr5dej3b.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/opencode.ts
|
|
34
34
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var methodID = MethodID2.make("device");
|
|
|
44
44
|
var RemoteResponse = Schema.Struct({
|
|
45
45
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
46
46
|
websearch: Schema.Struct({
|
|
47
|
-
providerID:
|
|
47
|
+
providerID: ID3
|
|
48
48
|
}).pipe(Schema.optional),
|
|
49
49
|
mcp: Schema.Struct({
|
|
50
50
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -96,7 +96,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
96
96
|
}
|
|
97
97
|
function oauth(http) {
|
|
98
98
|
return {
|
|
99
|
-
integrationID:
|
|
99
|
+
integrationID: ID13.make("opencode"),
|
|
100
100
|
method: {
|
|
101
101
|
id: methodID,
|
|
102
102
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var OpencodePlugin2 = define({
|
|
|
163
163
|
const bus = yield* Service83;
|
|
164
164
|
const client = yield* HttpClient.HttpClient;
|
|
165
165
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
166
|
-
const managed = yield*
|
|
166
|
+
const managed = yield* Service16;
|
|
167
167
|
const scope = yield* Scope.Scope;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -212,7 +212,7 @@ var OpencodePlugin2 = define({
|
|
|
212
212
|
providers.update(providerID, (provider) => {
|
|
213
213
|
if (source && source.provider !== provider)
|
|
214
214
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
215
|
-
provider.integrationID =
|
|
215
|
+
provider.integrationID = ID13.make("opencode");
|
|
216
216
|
if (item.canonical !== undefined)
|
|
217
217
|
provider.canonical = item.canonical;
|
|
218
218
|
if (item.name !== undefined)
|
|
@@ -282,7 +282,7 @@ var OpencodePlugin2 = define({
|
|
|
282
282
|
sourceConnection: snapshot.connection
|
|
283
283
|
});
|
|
284
284
|
}
|
|
285
|
-
const item = providers.get(
|
|
285
|
+
const item = providers.get(ID12.opencode);
|
|
286
286
|
if (!item)
|
|
287
287
|
return;
|
|
288
288
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -294,7 +294,7 @@ var OpencodePlugin2 = define({
|
|
|
294
294
|
});
|
|
295
295
|
});
|
|
296
296
|
yield* ctx.model.transform((models) => {
|
|
297
|
-
const item = models.provider.get(
|
|
297
|
+
const item = models.provider.get(ID12.opencode);
|
|
298
298
|
if (!item)
|
|
299
299
|
return;
|
|
300
300
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
329
329
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
330
330
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
331
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
331
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
332
332
|
query: input.query,
|
|
333
333
|
providerID: descriptor.providerID
|
|
334
334
|
}));
|
|
@@ -383,10 +383,10 @@ var OpencodePlugin2 = define({
|
|
|
383
383
|
});
|
|
384
384
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
385
385
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
386
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
386
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
387
387
|
});
|
|
388
388
|
yield* guard(snapshot);
|
|
389
|
-
yield* bus.subscribe(
|
|
389
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
390
390
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
391
391
|
})
|
|
392
392
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-va34hpv2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-bjtzbw4r.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node41,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service37 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
64
|
var source = (entry) => make21({
|
|
65
|
-
key:
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service37.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node41 = makeLocationNode({ service: Service37, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service37, node41, exports_instruction_entry };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-aqr5jswe.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
@@ -13,8 +13,8 @@ __export(exports_sdk, {
|
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
14
|
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer6,
|
|
17
|
+
node: () => node7
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -22,7 +22,7 @@ var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
|
22
22
|
|
|
23
23
|
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service83;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
@@ -33,6 +33,6 @@ var layer4 = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node7 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node87] });
|
|
37
37
|
|
|
38
|
-
export { Updated2, Service5,
|
|
38
|
+
export { Updated2, Service5, layer6, node7, exports_sdk };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,14 +36,14 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-aqr5jswe.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./instruction-discovery-hwt60xw2.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service28,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node31
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service28 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service79;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service28.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node31 = makeLocationNode({ service: Service28, layer, deps: [node87, node83] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service28, node31, exports_rpc, define2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-mwben6dq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID13,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-p25pce50.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID13.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-5x736p1g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-aqr5jswe.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service77
|
|
11
|
+
} from "./instruction-discovery-mwben6dq.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./instruction-discovery-p25pce50.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instruction-discovery-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./instruction-discovery-f4161tt7.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instruction-discovery-z1d7ddxf.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID12.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID13.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service77;
|
|
57
|
+
const integrations = yield* Service76;
|
|
58
58
|
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|