@opencode/core 0.0.0-dev-525 → 0.0.0-dev-527
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 +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +244 -244
- package/dist/bus.js +86 -86
- package/dist/chunks/{command-fq7y9kdg.js → file-write-00av7mmf.js} +5 -5
- package/dist/chunks/{command-034tev2y.js → file-write-034tev2y.js} +2 -2
- package/dist/chunks/{command-psrmseec.js → file-write-04fnffnq.js} +30 -30
- package/dist/chunks/{command-82d3wjfb.js → file-write-0dkf9s8e.js} +11 -11
- package/dist/chunks/{command-m2h1t11e.js → file-write-0en22cva.js} +21 -21
- package/dist/chunks/{command-sepd17dr.js → file-write-0gm6bx6q.js} +9 -9
- package/dist/chunks/{command-0h86f0az.js → file-write-0h86f0az.js} +4 -4
- package/dist/chunks/{command-0j7gp832.js → file-write-0j7gp832.js} +1 -1
- package/dist/chunks/{command-0ma9gw4f.js → file-write-0ma9gw4f.js} +2 -2
- package/dist/chunks/{command-wh82crey.js → file-write-0p126jzy.js} +10 -10
- package/dist/chunks/{command-917fdf9n.js → file-write-0srsgr1c.js} +21 -21
- package/dist/chunks/{command-snhag6t6.js → file-write-10527dbc.js} +33 -33
- package/dist/chunks/{command-2tk0wm70.js → file-write-11r0096d.js} +23 -23
- package/dist/chunks/{command-1aqsckx4.js → file-write-1aqsckx4.js} +1 -1
- package/dist/chunks/{command-agm27xf5.js → file-write-1dw6bgsk.js} +23 -23
- package/dist/chunks/{command-1ep2p91f.js → file-write-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-v97q42wb.js → file-write-1vh67dn1.js} +6 -6
- package/dist/chunks/{command-1x2knyw4.js → file-write-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-1yq9hg58.js → file-write-1yq9hg58.js} +1 -1
- package/dist/chunks/{command-qfz6bxfd.js → file-write-20pht57w.js} +4 -4
- package/dist/chunks/{command-p0x9twv5.js → file-write-21gbqc41.js} +16 -16
- package/dist/chunks/{command-zrbfykn4.js → file-write-21rebgfk.js} +7 -7
- package/dist/chunks/{command-fzk0xcgn.js → file-write-23g9x4bk.js} +33 -33
- package/dist/chunks/{command-bxe0aw9e.js → file-write-2hvn09p9.js} +8 -8
- package/dist/chunks/{command-k6881rgx.js → file-write-337ct5gq.js} +19 -19
- package/dist/chunks/{command-04whjz6n.js → file-write-3adw4bt5.js} +9 -9
- package/dist/chunks/{command-fpx7q6na.js → file-write-3ea478js.js} +45 -45
- package/dist/chunks/{command-3hepkmqq.js → file-write-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-mhkz5fvf.js → file-write-3jakmj60.js} +9 -9
- package/dist/chunks/{command-11mfvh52.js → file-write-3jwy6mfv.js} +5 -5
- package/dist/chunks/{command-256e7gvp.js → file-write-3mvej2qk.js} +11 -11
- package/dist/chunks/{command-3nnrz6f6.js → file-write-3nnrz6f6.js} +1 -1
- package/dist/chunks/{command-e9wyjjw9.js → file-write-3revcpb3.js} +26 -26
- package/dist/chunks/{command-40y6dtc2.js → file-write-40y6dtc2.js} +1 -1
- package/dist/chunks/{command-e4n6nz14.js → file-write-4dtg1rfn.js} +34 -34
- package/dist/chunks/{command-4dx1dgte.js → file-write-4dx1dgte.js} +1 -1
- package/dist/chunks/{command-4f25tdd0.js → file-write-4f25tdd0.js} +1 -1
- package/dist/chunks/{command-q04nr405.js → file-write-4gepvshj.js} +8 -8
- package/dist/chunks/{command-4pyp9zr9.js → file-write-4pyp9zr9.js} +1 -1
- package/dist/chunks/{command-w2280fc1.js → file-write-4tf256t5.js} +4 -4
- package/dist/chunks/{command-4v008n1t.js → file-write-4v008n1t.js} +1 -1
- package/dist/chunks/{command-cm0nas3h.js → file-write-4xz8p7j7.js} +5 -5
- package/dist/chunks/{command-3ge6n67g.js → file-write-4yyv3090.js} +17 -17
- package/dist/chunks/{command-4p7jmbsw.js → file-write-52z8bjzd.js} +42 -42
- package/dist/chunks/{command-h59r6t73.js → file-write-537wtyt8.js} +11 -11
- package/dist/chunks/{command-qqmdf724.js → file-write-55ysnm9y.js} +9 -9
- package/dist/chunks/{command-8d9df08g.js → file-write-5dqj7a7a.js} +6 -6
- package/dist/chunks/{command-ah83p6t6.js → file-write-5dv1db4n.js} +6 -6
- package/dist/chunks/{command-hpcc3d8k.js → file-write-5e7xygwc.js} +43 -43
- package/dist/chunks/{command-e44wstv1.js → file-write-5e8hm3df.js} +1 -1
- package/dist/chunks/{command-2yy5117a.js → file-write-5jm7ma5d.js} +6 -6
- package/dist/chunks/{command-5m9w47nd.js → file-write-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-eaq9psqk.js → file-write-5r98j37y.js} +3 -3
- package/dist/chunks/{command-3r5g8d5e.js → file-write-5xw4q3zb.js} +22 -22
- package/dist/chunks/{command-swfrchhw.js → file-write-6669fyxm.js} +5 -5
- package/dist/chunks/{command-3k081308.js → file-write-66zyvbav.js} +23 -23
- package/dist/chunks/{command-tm5f056h.js → file-write-6bz70wpr.js} +3 -3
- package/dist/chunks/{command-f4krjp8e.js → file-write-6edbc7zm.js} +5 -5
- package/dist/chunks/{command-bdtsfe6m.js → file-write-6f4aafsd.js} +38 -38
- package/dist/chunks/{command-9q6w3bb8.js → file-write-6fb0z2g9.js} +12 -12
- package/dist/chunks/{command-vt4r9rmy.js → file-write-6h8vcvjm.js} +9 -9
- package/dist/chunks/{command-1jstmwa4.js → file-write-6j0n9nza.js} +19 -19
- package/dist/chunks/{command-8mfptry9.js → file-write-6k5t937m.js} +20 -20
- package/dist/chunks/{command-ve22198q.js → file-write-6mdrzdb3.js} +28 -28
- package/dist/chunks/{command-ntzzxe9p.js → file-write-6qm8pmbm.js} +5 -5
- package/dist/chunks/{command-saq60637.js → file-write-722bxkcx.js} +16 -16
- package/dist/chunks/{command-0rnqyjrn.js → file-write-744cdn1c.js} +9 -9
- package/dist/chunks/{command-4eq227ph.js → file-write-7awjemk3.js} +10 -10
- package/dist/chunks/{command-7bmhse3q.js → file-write-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-02nh6cag.js → file-write-7ccwrwdy.js} +55 -55
- package/dist/chunks/{command-vabkyy3n.js → file-write-7h02jzgc.js} +46 -46
- package/dist/chunks/{command-x56px1pc.js → file-write-7kr0cs87.js} +179 -179
- package/dist/chunks/{command-1y4mz3vx.js → file-write-7mskhvh9.js} +28 -28
- package/dist/chunks/{command-6kw9fchk.js → file-write-7s9jqxsb.js} +6 -6
- package/dist/chunks/{command-bjh3vmv5.js → file-write-7tr184c0.js} +39 -39
- package/dist/chunks/{command-7w2ypzdf.js → file-write-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-7weczvnd.js → file-write-7weczvnd.js} +1 -1
- package/dist/chunks/{command-czvsneg4.js → file-write-7y0fnbjb.js} +13 -13
- package/dist/chunks/{command-775hqbnd.js → file-write-80mg3ag8.js} +3 -3
- package/dist/chunks/{command-h3tnm1rt.js → file-write-85fpre75.js} +12 -12
- package/dist/chunks/{command-89287pr7.js → file-write-89287pr7.js} +1 -1
- package/dist/chunks/{command-dtzqnag0.js → file-write-89gnwhgc.js} +44 -44
- package/dist/chunks/{command-8b3vzgkx.js → file-write-8b3vzgkx.js} +1 -1
- package/dist/chunks/{command-8cg7mtm3.js → file-write-8cg7mtm3.js} +1 -1
- package/dist/chunks/{command-dnvyz10m.js → file-write-8d161zxt.js} +8 -8
- package/dist/chunks/{command-cmvfhmsb.js → file-write-8hs8rm5b.js} +91 -91
- package/dist/chunks/{command-acnzt9vb.js → file-write-8krgsa4b.js} +4 -4
- package/dist/chunks/{command-k1efc4wa.js → file-write-8rb5ms8k.js} +4 -4
- package/dist/chunks/{command-d59mb49e.js → file-write-8rt25ezk.js} +8 -8
- package/dist/chunks/{command-8sxe6kv8.js → file-write-8sxe6kv8.js} +2 -2
- package/dist/chunks/{command-8wtp7s3z.js → file-write-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-anvcme1c.js → file-write-90ct6wq4.js} +4 -4
- package/dist/chunks/{command-90zstvax.js → file-write-90zstvax.js} +1 -1
- package/dist/chunks/{command-crfxy42b.js → file-write-937jj0cs.js} +18 -18
- package/dist/chunks/{command-xe6pezxp.js → file-write-963hk181.js} +7 -7
- package/dist/chunks/{command-96djdqw5.js → file-write-96djdqw5.js} +4 -4
- package/dist/chunks/{command-8whgbgnz.js → file-write-96kzdsj9.js} +8 -8
- package/dist/chunks/{command-7gf2jzy9.js → file-write-96r2dqew.js} +44 -44
- package/dist/chunks/{command-55g5r261.js → file-write-98ws7eb4.js} +24 -24
- package/dist/chunks/{command-5xmc3nyq.js → file-write-99a15nj6.js} +9 -9
- package/dist/chunks/{command-cqas00yk.js → file-write-9grh0yb5.js} +29 -29
- package/dist/chunks/{command-4h9tcrpz.js → file-write-9hdgkd8c.js} +14 -14
- package/dist/chunks/{command-r89d1c3z.js → file-write-9hf24b53.js} +5 -5
- package/dist/chunks/{command-v3km2bj0.js → file-write-9nm02m01.js} +7 -7
- package/dist/chunks/{command-2kg89srt.js → file-write-9q8g9sv8.js} +4 -4
- package/dist/chunks/{command-wayr15s4.js → file-write-9qqdfjpd.js} +12 -12
- package/dist/chunks/{command-zpw0hdvn.js → file-write-9r30xnr7.js} +29 -29
- package/dist/chunks/{command-cq5y4bwh.js → file-write-9rthgkep.js} +4 -4
- package/dist/chunks/{command-064m87rv.js → file-write-9s2pvrf4.js} +19 -19
- package/dist/chunks/{command-9za8by3m.js → file-write-a60em3d8.js} +7 -7
- package/dist/chunks/{command-6d042k20.js → file-write-a9cfr4vy.js} +3 -3
- package/dist/chunks/{command-tkwtbhmp.js → file-write-abtrrvdj.js} +9 -9
- package/dist/chunks/{command-yc3ccsjh.js → file-write-apxjpn25.js} +4 -4
- package/dist/chunks/{command-ayjs7tqn.js → file-write-ayjs7tqn.js} +2 -2
- package/dist/chunks/{command-a07cmgbn.js → file-write-azmebxfm.js} +9 -9
- package/dist/chunks/{command-syhk5kgt.js → file-write-b03pfvn0.js} +9 -9
- package/dist/chunks/{command-b6vsg801.js → file-write-b6vsg801.js} +2 -2
- package/dist/chunks/{command-b1xvtxqp.js → file-write-bc9krb9j.js} +5 -5
- package/dist/chunks/{command-4kbwy8va.js → file-write-bfq1rn8x.js} +12 -12
- package/dist/chunks/{command-rawbcf75.js → file-write-bpn0cp8t.js} +7 -7
- package/dist/chunks/{command-qsjwh50e.js → file-write-bscq2kmj.js} +29 -29
- package/dist/chunks/{command-bstexjd6.js → file-write-bstexjd6.js} +1 -1
- package/dist/chunks/{command-cstc266c.js → file-write-bxhmwnpr.js} +19 -19
- package/dist/chunks/{command-ghnqkvf8.js → file-write-bzjfzcdg.js} +16 -16
- package/dist/chunks/{command-v7a5f7fs.js → file-write-bzn3spcw.js} +13 -13
- package/dist/chunks/{command-5vzraghn.js → file-write-c057bs6s.js} +15 -15
- package/dist/chunks/{command-w87hzrb3.js → file-write-cg3fcpn4.js} +6 -6
- package/dist/chunks/{command-3qdn8ppp.js → file-write-cjp6nrxk.js} +27 -27
- package/dist/chunks/{command-aszkk4sv.js → file-write-cp4bmr82.js} +34 -34
- package/dist/chunks/{command-82phgae0.js → file-write-cr44ae3x.js} +5 -5
- package/dist/chunks/{command-v8vd993n.js → file-write-crfddmzc.js} +8 -8
- package/dist/chunks/{command-cwrgdav8.js → file-write-cwrgdav8.js} +2 -2
- package/dist/chunks/{command-rj3dsn2w.js → file-write-d0gm5tf4.js} +15 -15
- package/dist/chunks/{command-4y1sz0ad.js → file-write-d1e9y59e.js} +21 -21
- package/dist/chunks/{command-fdvgj5bd.js → file-write-d36j5jkk.js} +56 -56
- package/dist/chunks/{command-d4v9tmah.js → file-write-d4v9tmah.js} +2 -2
- package/dist/chunks/{command-b5bymvf0.js → file-write-d6436svb.js} +11 -11
- package/dist/chunks/{command-t2pg5vzh.js → file-write-dax03rd9.js} +29 -29
- package/dist/chunks/{command-351t3psw.js → file-write-df7qtfqv.js} +15 -15
- package/dist/chunks/{command-f51s9hem.js → file-write-djct0mdn.js} +31 -31
- package/dist/chunks/{command-dt77769w.js → file-write-dt77769w.js} +1 -1
- package/dist/chunks/{command-byf0b6xm.js → file-write-e3vjhvgv.js} +5 -5
- package/dist/chunks/{command-bkdrj0zy.js → file-write-e42mrdrf.js} +15 -15
- package/dist/chunks/{command-c2q7km6r.js → file-write-e4y0ask3.js} +17 -17
- package/dist/chunks/{command-khz19zrw.js → file-write-e68r1p92.js} +31 -31
- package/dist/chunks/{command-98qzw0ke.js → file-write-e78rwhwz.js} +13 -13
- package/dist/chunks/{command-e834z07m.js → file-write-e834z07m.js} +1 -1
- package/dist/chunks/{command-6e9v7fez.js → file-write-ebxhk8xz.js} +16 -16
- package/dist/chunks/{command-wg0s4x2q.js → file-write-efk5s08f.js} +6 -6
- package/dist/chunks/{command-vsz0eq6m.js → file-write-eq9csjz2.js} +12 -12
- package/dist/chunks/{command-eqw4pqj1.js → file-write-eqw4pqj1.js} +2 -2
- package/dist/chunks/{command-wngp49ab.js → file-write-f0g646vn.js} +5 -5
- package/dist/chunks/{command-p773c9xs.js → file-write-f2j71z4x.js} +25 -25
- package/dist/chunks/{command-9epwes7t.js → file-write-f43gk59f.js} +35 -35
- package/dist/chunks/{command-j38knkv1.js → file-write-f4wxb5n2.js} +13 -13
- package/dist/chunks/{command-r92wkm9m.js → file-write-f89mfbf6.js} +25 -25
- package/dist/chunks/{command-5ab64ye4.js → file-write-f95bce9s.js} +9 -9
- package/dist/chunks/{command-fffv3p7h.js → file-write-fffv3p7h.js} +1 -1
- package/dist/chunks/{command-fg9p65nk.js → file-write-fg9p65nk.js} +2 -2
- package/dist/chunks/{command-2twam6pg.js → file-write-fj5byt1q.js} +30 -30
- package/dist/chunks/{command-saykm3qf.js → file-write-fkn8zv55.js} +10 -10
- package/dist/chunks/{command-v8r6m231.js → file-write-fwsrcwhg.js} +20 -20
- package/dist/chunks/{command-b6z35kmf.js → file-write-fznmdakp.js} +4 -4
- package/dist/chunks/{command-tqw0ps8q.js → file-write-g2abdq6p.js} +7 -7
- package/dist/chunks/{command-x1z6a9tw.js → file-write-g2gy1ppp.js} +12 -12
- package/dist/chunks/{command-81g68a4p.js → file-write-g39wsmc9.js} +10 -10
- package/dist/chunks/{command-r0wrga32.js → file-write-g4v74gy6.js} +4 -4
- package/dist/chunks/{command-gbjdnr5j.js → file-write-gbjdnr5j.js} +2 -2
- package/dist/chunks/{command-ghrv1g9c.js → file-write-ghrv1g9c.js} +1 -1
- package/dist/chunks/{command-hvcfry8a.js → file-write-gkjb3jfv.js} +7 -7
- package/dist/chunks/{command-9qayxaw8.js → file-write-gr96x15w.js} +8 -8
- package/dist/chunks/file-write-grzehpz7.js +18 -0
- package/dist/chunks/{command-k4vpzaap.js → file-write-gw8rec0y.js} +15 -15
- package/dist/chunks/{command-h9xvjfqn.js → file-write-gx76kxxn.js} +11 -11
- package/dist/chunks/{command-f341sazs.js → file-write-h5chy42v.js} +3 -3
- package/dist/chunks/{command-27qw66hx.js → file-write-h69kv77m.js} +11 -11
- package/dist/chunks/{command-nemnqzpn.js → file-write-hced1q2j.js} +4 -4
- package/dist/chunks/{command-y0etrvew.js → file-write-hms8rgdg.js} +14 -14
- package/dist/chunks/{command-eavcrtrz.js → file-write-hretfjjx.js} +2 -2
- package/dist/chunks/{command-4krz84m7.js → file-write-hrpg1pdd.js} +7 -7
- package/dist/chunks/{command-z3v3hmej.js → file-write-hs6r15zf.js} +25 -25
- package/dist/chunks/{command-074d9wa5.js → file-write-hw4efvsk.js} +34 -34
- package/dist/chunks/{command-j376ae4e.js → file-write-j376ae4e.js} +1 -1
- package/dist/chunks/{command-grxrsdxn.js → file-write-j5dxgxxj.js} +21 -21
- package/dist/chunks/{command-9zsb5378.js → file-write-j6vesw1n.js} +9 -9
- package/dist/chunks/{command-6dqyy18z.js → file-write-jhwp234h.js} +4 -4
- package/dist/chunks/{command-e13bmjpy.js → file-write-jj08e610.js} +9 -9
- package/dist/chunks/{command-scmk72rv.js → file-write-jv5ccajn.js} +5 -5
- package/dist/chunks/{command-xrvce4qw.js → file-write-jvvxc3c9.js} +15 -15
- package/dist/chunks/{command-jxd6f16v.js → file-write-jxd6f16v.js} +2 -2
- package/dist/chunks/{command-zwqtwbqk.js → file-write-jxsc99aq.js} +4 -4
- package/dist/chunks/{command-rha71f46.js → file-write-jy2czfqv.js} +4 -4
- package/dist/chunks/{command-jg11hrrc.js → file-write-k3cx6fhe.js} +4 -4
- package/dist/chunks/{command-0abspak8.js → file-write-k3vhv03a.js} +5 -5
- package/dist/chunks/{command-3dtj5d08.js → file-write-k7cbg2ay.js} +16 -16
- package/dist/chunks/{command-kh8gdsej.js → file-write-kh8gdsej.js} +1 -1
- package/dist/chunks/{command-e7tn3wyq.js → file-write-khxj332s.js} +22 -22
- package/dist/chunks/{command-z3hx70ce.js → file-write-kmn4r7vb.js} +5 -5
- package/dist/chunks/{command-etfbz5bk.js → file-write-kq8z69ws.js} +11 -11
- package/dist/chunks/{command-s0t7g96k.js → file-write-kqk7pyt3.js} +10 -10
- package/dist/chunks/{command-e74ckb0h.js → file-write-ksdwk731.js} +31 -31
- package/dist/chunks/{command-kt3bjfbg.js → file-write-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-kzczzf4v.js → file-write-kzczzf4v.js} +1 -1
- package/dist/chunks/{command-m1714858.js → file-write-m1714858.js} +1 -1
- package/dist/chunks/{command-09j79agv.js → file-write-m7r49t4p.js} +6 -6
- package/dist/chunks/{command-m9w0rfyh.js → file-write-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-mb7mbhnz.js → file-write-mb7mbhnz.js} +3 -3
- package/dist/chunks/{command-cp8y7shp.js → file-write-mcy7dz1w.js} +13 -13
- package/dist/chunks/{command-m7gzp546.js → file-write-mfte1z5c.js} +16 -16
- package/dist/chunks/{command-6am4kvx9.js → file-write-mpsba1jz.js} +18 -18
- package/dist/chunks/{command-xdhgxatc.js → file-write-mxjkg1g8.js} +12 -12
- package/dist/chunks/{command-fwp42dz0.js → file-write-n1n3d8dh.js} +7 -7
- package/dist/chunks/file-write-n5b5573m.js +265 -0
- package/dist/chunks/{command-23ews3mh.js → file-write-nb6y8rsg.js} +5 -5
- package/dist/chunks/{command-xdngrvng.js → file-write-nfg5yszf.js} +6 -6
- package/dist/chunks/{command-5fcjamkr.js → file-write-nv25vadm.js} +23 -23
- package/dist/chunks/{command-vnjc296t.js → file-write-nv2c5e9q.js} +3 -3
- package/dist/chunks/{command-phxnccdn.js → file-write-nvbf339d.js} +12 -12
- package/dist/chunks/{command-cne7cqc5.js → file-write-nxc2n3zr.js} +78 -78
- package/dist/chunks/{command-wvr8xscb.js → file-write-nyxvvj5y.js} +4 -4
- package/dist/chunks/{command-dea3z4bb.js → file-write-p2e00fth.js} +14 -14
- package/dist/chunks/{command-rgr196vp.js → file-write-p2tvx8t7.js} +9 -9
- package/dist/chunks/{command-sabmrbhf.js → file-write-p4jsx867.js} +27 -27
- package/dist/chunks/file-write-p7e5hsjn.js +26 -0
- package/dist/chunks/{command-vgs3tmp3.js → file-write-p7nr35jh.js} +9 -9
- package/dist/chunks/{command-eysjq4yd.js → file-write-pdh4dm2s.js} +11 -11
- package/dist/chunks/{command-pknna89w.js → file-write-pknna89w.js} +1 -1
- package/dist/chunks/{command-362dybbw.js → file-write-pmh9qr5m.js} +9 -9
- package/dist/chunks/{command-hjnjc3ts.js → file-write-pnwsrq7c.js} +5 -5
- package/dist/chunks/{command-ymgc33ap.js → file-write-pp40bsb9.js} +5 -5
- package/dist/chunks/{command-6cabf9xq.js → file-write-q5afgzaq.js} +35 -35
- package/dist/chunks/{command-c7s3m25c.js → file-write-q5g91w1z.js} +16 -16
- package/dist/chunks/{command-cs46pczn.js → file-write-q5n1fct6.js} +16 -16
- package/dist/chunks/{command-m17k7hhh.js → file-write-q73bnvb9.js} +4 -4
- package/dist/chunks/{command-3r4w7sja.js → file-write-q7gxver5.js} +3 -3
- package/dist/chunks/{command-s320htan.js → file-write-qa471xkx.js} +8 -8
- package/dist/chunks/{command-tt1t8ta0.js → file-write-qf4vf8cc.js} +20 -20
- package/dist/chunks/{command-7nqkf5r1.js → file-write-qj27ec1j.js} +2 -2
- package/dist/chunks/{command-qp7r0hxv.js → file-write-qp7r0hxv.js} +1 -1
- package/dist/chunks/{command-qqvy8y24.js → file-write-qqvy8y24.js} +1 -1
- package/dist/chunks/{command-0gnxgj27.js → file-write-qy3my2np.js} +7 -7
- package/dist/chunks/{command-qcc200rj.js → file-write-r0gmcr7a.js} +8 -8
- package/dist/chunks/{command-8t99kr38.js → file-write-r17fbvme.js} +4 -4
- package/dist/chunks/{command-r41sfy63.js → file-write-r41sfy63.js} +2 -2
- package/dist/chunks/{command-267919z8.js → file-write-r630h434.js} +79 -79
- package/dist/chunks/{command-rb9dy4dg.js → file-write-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-yd55qw15.js → file-write-rc389a7d.js} +6 -6
- package/dist/chunks/{command-bz1arw6e.js → file-write-rf7v7mat.js} +3 -3
- package/dist/chunks/{command-rgc9cx3e.js → file-write-rgc9cx3e.js} +2 -2
- package/dist/chunks/{command-px7qpgcn.js → file-write-rj7j5fvs.js} +4 -4
- package/dist/chunks/{command-rmv7fhs4.js → file-write-rmv7fhs4.js} +3 -3
- package/dist/chunks/{command-dpm8gpv0.js → file-write-rpk8ag22.js} +34 -34
- package/dist/chunks/{command-rt5dr6hb.js → file-write-rt5dr6hb.js} +1 -1
- package/dist/chunks/{command-44s91745.js → file-write-rzerpqed.js} +20 -20
- package/dist/chunks/{command-s1ba0vj0.js → file-write-s1ba0vj0.js} +2 -2
- package/dist/chunks/{command-rjeg9c4a.js → file-write-s4kyhetj.js} +6 -6
- package/dist/chunks/{command-m7v4y796.js → file-write-s6qg811h.js} +14 -14
- package/dist/chunks/{command-1zb12d2z.js → file-write-s80btv7d.js} +10 -10
- package/dist/chunks/{command-5xfssjfj.js → file-write-s9btps65.js} +37 -37
- package/dist/chunks/{command-5qnv1593.js → file-write-s9wdejbw.js} +8 -8
- package/dist/chunks/{command-sa3fpqfw.js → file-write-sa3fpqfw.js} +2 -2
- package/dist/chunks/{command-sbya78hr.js → file-write-sbya78hr.js} +1 -1
- package/dist/chunks/{command-sbz71ybr.js → file-write-sbz71ybr.js} +1 -1
- package/dist/chunks/{command-kyq531r4.js → file-write-sesqs1zx.js} +32 -32
- package/dist/chunks/{command-4agpc0tz.js → file-write-sj1z81cb.js} +17 -17
- package/dist/chunks/{command-yahhwfnh.js → file-write-sm4a4ez5.js} +14 -14
- package/dist/chunks/{command-g30c98sx.js → file-write-sqqa6a84.js} +40 -40
- package/dist/chunks/{command-57bahrw8.js → file-write-sseb9byk.js} +18 -18
- package/dist/chunks/{command-svcy3p9a.js → file-write-svcy3p9a.js} +1 -1
- package/dist/chunks/{command-s11d7eb9.js → file-write-svppca6f.js} +5 -5
- package/dist/chunks/{command-ea3m5w1p.js → file-write-sw0ng7yn.js} +337 -337
- package/dist/chunks/{command-85xpp1tt.js → file-write-t0s3kxx5.js} +2 -2
- package/dist/chunks/{command-mb94ewcq.js → file-write-t29q7k9w.js} +6 -6
- package/dist/chunks/{command-peh6qfeq.js → file-write-t5m2t9py.js} +30 -30
- package/dist/chunks/{command-e7y4cz54.js → file-write-t77s4nmz.js} +9 -9
- package/dist/chunks/{command-zj1a0tt8.js → file-write-tanqgt4q.js} +29 -29
- package/dist/chunks/{command-26wfx3k0.js → file-write-tb2mrvc9.js} +4 -4
- package/dist/chunks/{command-tczq8hjw.js → file-write-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-tg7s7b5t.js → file-write-tg7s7b5t.js} +1 -1
- package/dist/chunks/{command-tvtps2q9.js → file-write-tvtps2q9.js} +1 -1
- package/dist/chunks/{command-twssxy5n.js → file-write-twssxy5n.js} +2 -2
- package/dist/chunks/{command-90ej8wzb.js → file-write-tx44exa6.js} +4 -4
- package/dist/chunks/{command-g61rwqe2.js → file-write-tztngc3b.js} +20 -20
- package/dist/chunks/{command-cpvyzsr2.js → file-write-v10wb8kp.js} +35 -35
- package/dist/chunks/{command-v2r1d0zg.js → file-write-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-ydsespw1.js → file-write-v5hpj9dd.js} +8 -8
- package/dist/chunks/{command-jnfs9wfb.js → file-write-v6ehynhh.js} +5 -5
- package/dist/chunks/{command-0d8x3dj0.js → file-write-va908wz9.js} +22 -22
- package/dist/chunks/{command-nc1mwh0d.js → file-write-vfe10e44.js} +18 -18
- package/dist/chunks/{command-nhvhxvdt.js → file-write-vgbhzz5z.js} +12 -12
- package/dist/chunks/{command-vjf35v1f.js → file-write-vjf35v1f.js} +1 -1
- package/dist/chunks/{command-zgq5ynfz.js → file-write-vjm2x19k.js} +8 -8
- package/dist/chunks/{command-bhfd478d.js → file-write-vmxsyvj6.js} +4 -4
- package/dist/chunks/{command-hk9mpf0z.js → file-write-vyy7p69t.js} +3 -3
- package/dist/chunks/{command-v5jcrjch.js → file-write-w295xx70.js} +18 -18
- package/dist/chunks/{command-ffz0kz1m.js → file-write-w3c3s7r0.js} +8 -8
- package/dist/chunks/{command-w3wsvvr9.js → file-write-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-gew2tfps.js → file-write-w40eadaw.js} +13 -13
- package/dist/chunks/{command-fstdtr31.js → file-write-w76xjer3.js} +4 -4
- package/dist/chunks/{command-wakvkjy4.js → file-write-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-k5crwfzg.js → file-write-wd2f8zad.js} +10 -10
- package/dist/chunks/{command-wd87259q.js → file-write-wd87259q.js} +1 -1
- package/dist/chunks/{command-wegkxhrn.js → file-write-wegkxhrn.js} +2 -2
- package/dist/chunks/{command-csrj7g1y.js → file-write-wh78neyf.js} +4 -4
- package/dist/chunks/{command-3deqpp53.js → file-write-wjwy97sf.js} +3 -3
- package/dist/chunks/{command-na3mw78m.js → file-write-wn192j8h.js} +4 -4
- package/dist/chunks/{command-wnhgecwx.js → file-write-wnhgecwx.js} +1 -1
- package/dist/chunks/{command-zma2brvv.js → file-write-wq0zq84p.js} +2 -2
- package/dist/chunks/{command-qpe3mzzm.js → file-write-x23vf9yb.js} +12 -12
- package/dist/chunks/{command-z8c7spxp.js → file-write-x6masgrp.js} +13 -13
- package/dist/chunks/{command-xjr6c8m4.js → file-write-xjr6c8m4.js} +1 -1
- package/dist/chunks/{command-67wwskyb.js → file-write-xksw6ev0.js} +4 -4
- package/dist/chunks/{command-c6x7d2ts.js → file-write-xmx7xj34.js} +4 -4
- package/dist/chunks/{command-q6dw3yv1.js → file-write-xntpp5px.js} +59 -59
- package/dist/chunks/{command-wcytbmeq.js → file-write-xtqzt4fa.js} +3 -3
- package/dist/chunks/{command-ks6aa6e4.js → file-write-xv5e77gk.js} +30 -30
- package/dist/chunks/{command-hnea1j6a.js → file-write-xzjxjwf3.js} +20 -20
- package/dist/chunks/{command-9sq79qyq.js → file-write-yb19agkm.js} +26 -26
- package/dist/chunks/{command-yb20nhc3.js → file-write-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-gbn2r6bs.js → file-write-yfmefces.js} +4 -4
- package/dist/chunks/{command-f222tsah.js → file-write-yg8zfza0.js} +19 -19
- package/dist/chunks/{command-c1egm1nn.js → file-write-yn2x9e3v.js} +24 -24
- package/dist/chunks/{command-vjkzj3kq.js → file-write-yqc1gsth.js} +23 -23
- package/dist/chunks/{command-yr705xyq.js → file-write-yr705xyq.js} +1 -1
- package/dist/chunks/{command-yvtc2x31.js → file-write-yvtc2x31.js} +1 -1
- package/dist/chunks/{command-0tpp4vdc.js → file-write-yxvzv3g5.js} +19 -19
- package/dist/chunks/{command-qbx41anh.js → file-write-yzc6r4am.js} +46 -46
- package/dist/chunks/{command-fzjqfzm5.js → file-write-z1mf0jd4.js} +11 -11
- package/dist/chunks/{command-ga2ynj5d.js → file-write-zay9zw0a.js} +20 -20
- package/dist/chunks/{command-xan9rsx8.js → file-write-zc7kj4sy.js} +8 -8
- package/dist/chunks/{command-c7mdr3tt.js → file-write-zcte27nc.js} +19 -19
- package/dist/chunks/{command-j9nxzz3g.js → file-write-ze75qvmd.js} +3 -3
- package/dist/chunks/{command-4z1vr99c.js → file-write-zeaz7cgc.js} +9 -9
- package/dist/chunks/{command-ffcb8kyb.js → file-write-zkev7xm8.js} +45 -45
- package/dist/chunks/{command-esrpj8rw.js → file-write-zm9m67ms.js} +11 -11
- package/dist/chunks/{command-c4a7emrx.js → file-write-zqqnxavm.js} +1 -1
- package/dist/chunks/{command-ebg34qcc.js → file-write-zv9w44q5.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +86 -86
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +232 -232
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +129 -129
- package/dist/config/plugin/image.js +128 -128
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +139 -139
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +151 -151
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +130 -130
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +129 -129
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +435 -435
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- 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/file-watch.js +89 -89
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +116 -116
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- 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 +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +426 -426
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +423 -423
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +105 -105
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +116 -116
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +104 -104
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +238 -238
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +402 -402
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +157 -157
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +147 -147
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +414 -414
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +104 -104
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +243 -243
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +243 -243
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +249 -249
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +200 -200
- package/dist/session/diff.js +101 -101
- 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 +243 -243
- package/dist/session/execution.js +165 -165
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +166 -166
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +252 -252
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +182 -182
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +140 -140
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +227 -227
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +242 -242
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -235
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +149 -149
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +102 -102
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +230 -230
- package/dist/tool/plugin/edit.js +165 -165
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +171 -171
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +241 -241
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +168 -168
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +166 -166
- package/dist/tool/plugin/schedule.js +249 -249
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +238 -238
- package/dist/tool/plugin/todo.js +149 -149
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +151 -151
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +157 -157
- package/dist/usage-limits.js +96 -96
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +99 -99
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +86 -86
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/command-ev660z6k.js +0 -18
- package/dist/chunks/command-hdsvhsqj.js +0 -265
- package/dist/chunks/command-krjssjyg.js +0 -26
- /package/dist/chunks/{command-0qkdqm5v.js → file-write-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → file-write-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-108x4f4w.js → file-write-108x4f4w.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → file-write-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → file-write-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kah00gy.js → file-write-1kah00gy.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → file-write-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → file-write-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → file-write-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → file-write-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → file-write-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3af0jn4w.js → file-write-3af0jn4w.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → file-write-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → file-write-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → file-write-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → file-write-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → file-write-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4qk9sjk2.js → file-write-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → file-write-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → file-write-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → file-write-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5w3e23ze.js → file-write-5w3e23ze.js} +0 -0
- /package/dist/chunks/{command-6agm2x70.js → file-write-6agm2x70.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → file-write-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → file-write-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → file-write-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → file-write-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → file-write-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → file-write-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → file-write-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → file-write-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → file-write-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → file-write-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → file-write-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → file-write-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → file-write-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → file-write-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → file-write-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → file-write-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-beh6qq61.js → file-write-beh6qq61.js} +0 -0
- /package/dist/chunks/{command-bhmrqjy3.js → file-write-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → file-write-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → file-write-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → file-write-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → file-write-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → file-write-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → file-write-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → file-write-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → file-write-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → file-write-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → file-write-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → file-write-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-ean2d8b5.js → file-write-ean2d8b5.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → file-write-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → file-write-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → file-write-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → file-write-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → file-write-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → file-write-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fkpq3x5p.js → file-write-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → file-write-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → file-write-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → file-write-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → file-write-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → file-write-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → file-write-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → file-write-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → file-write-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → file-write-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → file-write-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → file-write-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → file-write-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → file-write-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → file-write-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → file-write-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → file-write-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → file-write-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → file-write-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-nh4v3znn.js → file-write-nh4v3znn.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → file-write-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p71gwv9c.js → file-write-p71gwv9c.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → file-write-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → file-write-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → file-write-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → file-write-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → file-write-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → file-write-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → file-write-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → file-write-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → file-write-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → file-write-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-syrav9an.js → file-write-syrav9an.js} +0 -0
- /package/dist/chunks/{command-t03h4f5z.js → file-write-t03h4f5z.js} +0 -0
- /package/dist/chunks/{command-ty7weeps.js → file-write-ty7weeps.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → file-write-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-vtarvj67.js → file-write-vtarvj67.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → file-write-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → file-write-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → file-write-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → file-write-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → file-write-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → file-write-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → file-write-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → file-write-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → file-write-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z0h12gs8.js → file-write-z0h12gs8.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → file-write-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → file-write-z9919s4g.js} +0 -0
- /package/dist/chunks/{command-zxpyjp51.js → file-write-zxpyjp51.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service75,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node78
|
|
4
|
+
} from "./file-write-q5g91w1z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service59,
|
|
7
|
+
node60
|
|
8
|
+
} from "./file-write-3ea478js.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-write-nv2c5e9q.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-write-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service56,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node57,
|
|
24
24
|
resolved: () => resolved2
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service56 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
47
47
|
}
|
|
48
48
|
var resolved2 = (model, options) => ({
|
|
49
49
|
model,
|
|
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
|
|
|
58
58
|
compaction: options.compaction,
|
|
59
59
|
transport: options.transport
|
|
60
60
|
});
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const resolver = yield*
|
|
61
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
62
|
+
const resolver = yield* Service59;
|
|
63
63
|
const agents = yield* Service75;
|
|
64
|
-
return
|
|
64
|
+
return Service56.of({
|
|
65
65
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
66
66
|
if (!session.model) {
|
|
67
67
|
const agent = (yield* agents.select(session.agent)).info?.model;
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node57 = makeLocationNode({ service: Service56, layer, deps: [node60, node78] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service56, resolved2, node57, exports_model };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
load3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-write-j376ae4e.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-write-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/claude/fork.ts
|
|
9
9
|
var exports_fork = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-write-g2gy1ppp.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make17 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make14 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make17();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make17, LMStudioPlugin2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-write-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin35
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin35 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin36 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin35, exports_mcp_codemode_defaults };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-write-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make26
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make26 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -79,4 +79,4 @@ var make29 = (options) => Effect.gen(function* () {
|
|
|
79
79
|
return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { make26, exports_run_coordinator };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-write-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-write-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_image2, {
|
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
14
|
Service: () => Service55,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node56
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -76,6 +76,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
76
76
|
});
|
|
77
77
|
return Service55.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node56 = makeLocationNode({ service: Service55, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service55,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service55, node56, exports_image2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service88,
|
|
3
|
+
node91
|
|
4
|
+
} from "./file-write-89gnwhgc.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-write-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info30,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref5,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service87,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node90,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info30, Ref as Ref5, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
23
23
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
24
24
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
25
|
-
class
|
|
25
|
+
class Service87 extends Context.Service()("@opencode/Location") {
|
|
26
26
|
}
|
|
27
|
-
var
|
|
28
|
-
var layer = (ref) => Layer.effect(
|
|
27
|
+
var node90 = LayerNode.unbound(Service87, tags.values.location);
|
|
28
|
+
var layer = (ref) => Layer.effect(Service87, Effect.gen(function* () {
|
|
29
29
|
const fs = yield* FSUtil.Service;
|
|
30
|
-
const project = yield*
|
|
30
|
+
const project = yield* Service88;
|
|
31
31
|
const persist = ref.workspaceID !== undefined || (yield* fs.isDir(ref.directory));
|
|
32
32
|
const resolved = yield* project.resolve(ref.directory, { persist });
|
|
33
|
-
return
|
|
33
|
+
return Service87.of({
|
|
34
34
|
directory: ref.directory,
|
|
35
35
|
workspaceID: ref.workspaceID,
|
|
36
36
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -38,9 +38,9 @@ var layer = (ref) => Layer.effect(Service86, Effect.gen(function* () {
|
|
|
38
38
|
});
|
|
39
39
|
}));
|
|
40
40
|
var boundNode2 = (ref) => makeLocationNode({
|
|
41
|
-
service:
|
|
41
|
+
service: Service87,
|
|
42
42
|
layer: layer(ref),
|
|
43
|
-
deps: [FSUtil.node,
|
|
43
|
+
deps: [FSUtil.node, node91]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Info30, Ref5, response2, Service87, node90, boundNode2, exports_location };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make33,
|
|
5
5
|
listUpdate2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-write-8rt25ezk.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-write-10527dbc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service39,
|
|
12
|
+
node42
|
|
13
|
+
} from "./file-write-7h02jzgc.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name15
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-write-9grh0yb5.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-write-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
23
|
+
var exports_instructions4 = {};
|
|
24
|
+
__export(exports_instructions4, {
|
|
25
|
+
McpInstructions: () => exports_instructions4,
|
|
26
|
+
Service: () => Service32,
|
|
27
27
|
layer: () => layer14,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node36
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,14 +57,14 @@ var update = listUpdate2({
|
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service32 extends Context.Service()("@opencode/McpInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer14 = Layer.effect(
|
|
63
|
-
const mcp = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer14 = Layer.effect(Service32, Effect.gen(function* () {
|
|
63
|
+
const mcp = yield* Service39;
|
|
64
|
+
return Service32.of({
|
|
65
65
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
66
|
-
const source = (value) =>
|
|
67
|
-
key:
|
|
66
|
+
const source = (value) => make33({
|
|
67
|
+
key: Key3.make("core/mcp-guidance"),
|
|
68
68
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
69
69
|
read: Effect.succeed(value),
|
|
70
70
|
render: {
|
|
@@ -90,6 +90,6 @@ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
90
90
|
})
|
|
91
91
|
});
|
|
92
92
|
}));
|
|
93
|
-
var
|
|
93
|
+
var node36 = makeLocationNode({ service: Service32, layer: layer14, deps: [node42] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { Service32, layer14, node36, exports_instructions4 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID17
|
|
3
|
+
} from "./file-write-tanqgt4q.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-write-8rb5ms8k.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-write-7s9jqxsb.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
14
14
|
import { isArrayNonEmpty } from "effect/Array";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Form } from "@opencode/schema/form";
|
|
17
|
-
var providerID =
|
|
17
|
+
var providerID = ID17.make("cloudflare-ai-gateway");
|
|
18
18
|
var accountIdField = Form.StringField.make({
|
|
19
19
|
type: "string",
|
|
20
20
|
key: "accountId",
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-write-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service87
|
|
6
|
+
} from "./file-write-k7cbg2ay.js";
|
|
7
7
|
import {
|
|
8
8
|
Service77
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-write-s9btps65.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-write-66zyvbav.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-write-tvtps2q9.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-write-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin52
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin52 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const config = yield* Service77;
|
|
35
|
-
const location = yield*
|
|
35
|
+
const location = yield* Service87;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin52, exports_reference };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-write-pdh4dm2s.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-write-r41sfy63.js";
|
|
7
7
|
import {
|
|
8
8
|
register2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-write-xjr6c8m4.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-write-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/websearch/firecrawl.ts
|
|
15
15
|
var exports_firecrawl = {};
|
|
16
16
|
__export(exports_firecrawl, {
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin22,
|
|
18
18
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
19
|
-
endpoint: () =>
|
|
19
|
+
endpoint: () => endpoint3
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Option, Schema } from "effect";
|
|
23
23
|
import { HttpClient } from "effect/http";
|
|
24
|
-
var
|
|
24
|
+
var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
25
25
|
var McpInput = Schema.Struct({
|
|
26
26
|
query: Schema.String,
|
|
27
27
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -40,7 +40,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
40
40
|
})
|
|
41
41
|
}));
|
|
42
42
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
43
|
-
var
|
|
43
|
+
var Plugin22 = define({
|
|
44
44
|
id: "opencode.websearch.firecrawl",
|
|
45
45
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
46
46
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin27 = define({
|
|
|
49
49
|
name: "Firecrawl",
|
|
50
50
|
env: "FIRECRAWL_API_KEY",
|
|
51
51
|
execute: (input, credential) => Effect.gen(function* () {
|
|
52
|
-
const result = yield* call2(http,
|
|
52
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
53
53
|
"User-Agent": useragent2(ctx.app),
|
|
54
54
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
55
55
|
});
|
|
@@ -66,4 +66,4 @@ var Plugin27 = define({
|
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { endpoint3, Plugin22, exports_firecrawl };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service90,
|
|
3
|
+
node93
|
|
4
|
+
} from "./file-write-s6qg811h.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-write-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service87,
|
|
11
|
+
node90
|
|
12
|
+
} from "./file-write-k7cbg2ay.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID17,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service83,
|
|
20
|
+
node86,
|
|
21
21
|
Event17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-write-tanqgt4q.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-write-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -32,17 +32,17 @@ __export(exports_model2, {
|
|
|
32
32
|
Cost: () => Cost2,
|
|
33
33
|
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID16,
|
|
36
|
+
Info: () => Info24,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service82,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
45
|
+
node: () => node85,
|
|
46
46
|
parse: () => parse5,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
@@ -51,7 +51,7 @@ import { Context, Effect, Layer, Stream } from "effect";
|
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
53
|
import { Event as Event16 } from "@opencode/schema/model";
|
|
54
|
-
var
|
|
54
|
+
var ID16 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
57
57
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -69,14 +69,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
69
69
|
var Cost2 = Model.Cost;
|
|
70
70
|
var Type2 = Model.Type;
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
|
-
var
|
|
72
|
+
var Info24 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service82 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const providers = yield*
|
|
78
|
-
const bus = yield*
|
|
79
|
-
const location = yield*
|
|
76
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
77
|
+
const providers = yield* Service83;
|
|
78
|
+
const bus = yield* Service90;
|
|
79
|
+
const location = yield* Service87;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
81
81
|
let input;
|
|
82
82
|
const state = create4({
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
122
122
|
const models = writable(providerID);
|
|
123
123
|
if (!models)
|
|
124
124
|
return;
|
|
125
|
-
const model = draft(providerID, modelID) ??
|
|
125
|
+
const model = draft(providerID, modelID) ?? Info24.default(providerID, modelID);
|
|
126
126
|
update(model);
|
|
127
127
|
model.id = modelID;
|
|
128
128
|
model.providerID = providerID;
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
191
191
|
];
|
|
192
192
|
}));
|
|
193
193
|
if (disableFree)
|
|
194
|
-
for (const providerID of [
|
|
194
|
+
for (const providerID of [ID17.opencode, ID17.make("opencode-go")])
|
|
195
195
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
196
196
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
197
197
|
models.delete(id);
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
230
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
-
return
|
|
231
|
+
return Service82.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node85 = makeLocationNode({ service: Service82, layer, deps: [node86, node93, node90] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
|
|
|
255
255
|
"muse-spark-1.3-contributor-free"
|
|
256
256
|
];
|
|
257
257
|
function preferFree(models) {
|
|
258
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
258
|
+
const freeOnly = models.every((model) => model.providerID === ID17.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
259
259
|
if (!freeOnly)
|
|
260
260
|
return models;
|
|
261
261
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -274,9 +274,9 @@ function compatibility2(input) {
|
|
|
274
274
|
function parse5(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
|
-
providerID:
|
|
278
|
-
modelID:
|
|
277
|
+
providerID: ID17.make(index === -1 ? input : input.slice(0, index)),
|
|
278
|
+
modelID: ID16.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID16, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info24, Service82, node85, supportsText2, compatibility2, parse5, exports_model2, Event16 };
|