@opencode/core 0.0.0-dev-20261 → 0.0.0-dev-20263
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 +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{plugin-fhvfrf00.js → location-lifecycle-05q1qsm7.js} +26 -26
- package/dist/chunks/{plugin-0wtca10x.js → location-lifecycle-0he59a2j.js} +6 -6
- package/dist/chunks/{plugin-n0dk8fgq.js → location-lifecycle-0j32g0az.js} +11 -11
- package/dist/chunks/{plugin-k3rxjpxm.js → location-lifecycle-0j884a04.js} +52 -52
- package/dist/chunks/{plugin-tcay1cqt.js → location-lifecycle-0jkw1j53.js} +6 -6
- package/dist/chunks/{plugin-9erx25p7.js → location-lifecycle-0kkansze.js} +21 -21
- package/dist/chunks/{plugin-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
- package/dist/chunks/{plugin-jv01nqvq.js → location-lifecycle-0r7yqxbf.js} +5 -5
- package/dist/chunks/{plugin-6wg7wrda.js → location-lifecycle-0w62qmxp.js} +6 -6
- package/dist/chunks/{plugin-a13cy9vj.js → location-lifecycle-0x568qz4.js} +15 -15
- package/dist/chunks/{plugin-0jq9fyba.js → location-lifecycle-11dqjexa.js} +9 -9
- package/dist/chunks/{plugin-y8x2a1vp.js → location-lifecycle-13gmmw41.js} +34 -34
- package/dist/chunks/{plugin-5eer2xf9.js → location-lifecycle-166kng33.js} +8 -8
- package/dist/chunks/{plugin-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
- package/dist/chunks/{plugin-t2fc4mz5.js → location-lifecycle-1g7epwpd.js} +7 -7
- package/dist/chunks/{plugin-bbx6perp.js → location-lifecycle-1h9f14dy.js} +15 -15
- package/dist/chunks/{plugin-15j85hqy.js → location-lifecycle-1vgfwwpx.js} +9 -9
- package/dist/chunks/{plugin-yfsq9z63.js → location-lifecycle-1x2hkbkr.js} +13 -13
- package/dist/chunks/{plugin-1ygqh575.js → location-lifecycle-1ygqh575.js} +2 -2
- package/dist/chunks/{plugin-8st81z4y.js → location-lifecycle-20sxxyj6.js} +40 -40
- package/dist/chunks/{plugin-21r38tys.js → location-lifecycle-21r38tys.js} +1 -1
- package/dist/chunks/{plugin-ed4yg6b9.js → location-lifecycle-24v838e2.js} +17 -17
- package/dist/chunks/{plugin-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
- package/dist/chunks/{plugin-g8e69vy5.js → location-lifecycle-2ffpmgaq.js} +7 -7
- package/dist/chunks/{plugin-57ez7d0k.js → location-lifecycle-2fgn2we9.js} +9 -9
- package/dist/chunks/{plugin-2k8khapm.js → location-lifecycle-2k8khapm.js} +1 -1
- package/dist/chunks/{plugin-3dnchybb.js → location-lifecycle-2r8rvdab.js} +34 -34
- package/dist/chunks/{plugin-ng2pq99s.js → location-lifecycle-30b40hv4.js} +1 -1
- package/dist/chunks/{plugin-e4fecnyv.js → location-lifecycle-318trqa2.js} +8 -8
- package/dist/chunks/{plugin-r56krgjk.js → location-lifecycle-32ey6bm2.js} +4 -4
- package/dist/chunks/{plugin-pj48g96g.js → location-lifecycle-389baz7s.js} +91 -91
- package/dist/chunks/{plugin-g19dbmvr.js → location-lifecycle-394xnvz0.js} +13 -13
- package/dist/chunks/{plugin-cr2pkzs2.js → location-lifecycle-3aw2m66x.js} +15 -15
- package/dist/chunks/{plugin-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-tfyv2tyc.js → location-lifecycle-3wk3c3qe.js} +5 -5
- package/dist/chunks/{plugin-3zsf4n22.js → location-lifecycle-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-tz9x35m9.js → location-lifecycle-45n4eg96.js} +26 -26
- package/dist/chunks/{plugin-b4acncw1.js → location-lifecycle-47qesg6f.js} +10 -10
- package/dist/chunks/{plugin-0c6ngp90.js → location-lifecycle-48bkxbwn.js} +8 -8
- package/dist/chunks/{plugin-8yy3td16.js → location-lifecycle-4pa53j2v.js} +9 -9
- package/dist/chunks/{plugin-v7z2bvyd.js → location-lifecycle-4v7ngy20.js} +4 -4
- package/dist/chunks/{plugin-ckecvw8r.js → location-lifecycle-54tcyq79.js} +2 -2
- package/dist/chunks/{plugin-7b74frze.js → location-lifecycle-5cem5spm.js} +10 -10
- package/dist/chunks/{plugin-nzeaqd2d.js → location-lifecycle-5cqy4cer.js} +4 -4
- package/dist/chunks/{plugin-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
- package/dist/chunks/{plugin-hpdnmf0e.js → location-lifecycle-5df333z4.js} +34 -33
- package/dist/chunks/{plugin-b95n020p.js → location-lifecycle-5epec5yq.js} +6 -6
- package/dist/chunks/{plugin-pcxghkgz.js → location-lifecycle-5kvqrqtt.js} +4 -4
- package/dist/chunks/{plugin-ym43xksr.js → location-lifecycle-5mhc5m4c.js} +11 -11
- package/dist/chunks/{plugin-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
- package/dist/chunks/{plugin-fp2xarvc.js → location-lifecycle-5tat9ppm.js} +1 -1
- package/dist/chunks/{plugin-w1ad28wa.js → location-lifecycle-5we7r0eg.js} +6 -6
- package/dist/chunks/{plugin-v4masj8t.js → location-lifecycle-5wfytkff.js} +32 -32
- package/dist/chunks/{plugin-43snptd5.js → location-lifecycle-5x7e6ahf.js} +9 -9
- package/dist/chunks/{plugin-26yhvja0.js → location-lifecycle-5xfz1kzs.js} +7 -7
- package/dist/chunks/{plugin-hc5yvgym.js → location-lifecycle-5y6ty5p1.js} +9 -9
- package/dist/chunks/{plugin-jn529p0z.js → location-lifecycle-633fead7.js} +23 -23
- package/dist/chunks/{plugin-vq11y6r0.js → location-lifecycle-648zspwc.js} +23 -23
- package/dist/chunks/{plugin-669tq793.js → location-lifecycle-669tq793.js} +1 -1
- package/dist/chunks/{plugin-vy4zg7qh.js → location-lifecycle-68y7phbn.js} +5 -5
- package/dist/chunks/{plugin-1eqke8yx.js → location-lifecycle-6e97fb5z.js} +180 -180
- package/dist/chunks/{plugin-kxpygcw9.js → location-lifecycle-6ersrjne.js} +5 -5
- package/dist/chunks/{plugin-s5fjtm7f.js → location-lifecycle-6j852dvg.js} +13 -13
- package/dist/chunks/{plugin-6msgmcgs.js → location-lifecycle-6msgmcgs.js} +1 -1
- package/dist/chunks/{plugin-mpwed6ez.js → location-lifecycle-6msnvezq.js} +6 -6
- package/dist/chunks/{plugin-qhsv69s2.js → location-lifecycle-6pj0zh3q.js} +14 -14
- package/dist/chunks/{plugin-esj1rqzt.js → location-lifecycle-6t5grd2s.js} +20 -20
- package/dist/chunks/{plugin-twkg1nd6.js → location-lifecycle-71g0gzjc.js} +12 -12
- package/dist/chunks/{plugin-qx21fyv5.js → location-lifecycle-73m34ham.js} +9 -9
- package/dist/chunks/{plugin-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/location-lifecycle-7fj5dwt0.js +18 -0
- package/dist/chunks/{plugin-y72zmemf.js → location-lifecycle-7j2qha59.js} +8 -8
- package/dist/chunks/{plugin-jkbv63gj.js → location-lifecycle-7k6akp2g.js} +16 -16
- package/dist/chunks/{plugin-c6yyxaqc.js → location-lifecycle-7kpfkgkx.js} +47 -47
- package/dist/chunks/{plugin-fppxgmav.js → location-lifecycle-7q56wrxt.js} +4 -4
- package/dist/chunks/{plugin-163npw09.js → location-lifecycle-7v532bxq.js} +4 -4
- package/dist/chunks/{plugin-84txncab.js → location-lifecycle-84txncab.js} +1 -1
- package/dist/chunks/{plugin-86qzxe6p.js → location-lifecycle-86qzxe6p.js} +1 -1
- package/dist/chunks/{plugin-z1xagkky.js → location-lifecycle-8b165my6.js} +24 -24
- package/dist/chunks/{plugin-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
- package/dist/chunks/{plugin-4f30js84.js → location-lifecycle-8r1bqb1f.js} +83 -83
- package/dist/chunks/{plugin-cg8x86pw.js → location-lifecycle-8s8jq11v.js} +10 -10
- package/dist/chunks/{plugin-rkprpv83.js → location-lifecycle-8sze2n9a.js} +6 -6
- package/dist/chunks/{plugin-z6w4snqn.js → location-lifecycle-8twhcspg.js} +17 -17
- package/dist/chunks/{plugin-tfv2ywv5.js → location-lifecycle-8v4r3gb0.js} +10 -10
- package/dist/chunks/{plugin-rshfbx8f.js → location-lifecycle-94cm5hq4.js} +20 -20
- package/dist/chunks/location-lifecycle-9d8k9t0z.js +252 -0
- package/dist/chunks/{plugin-efr44db2.js → location-lifecycle-9ew3pega.js} +15 -15
- package/dist/chunks/{plugin-a6ppxa2m.js → location-lifecycle-9m6zsg5f.js} +29 -29
- package/dist/chunks/location-lifecycle-9n0y9293.js +507 -0
- package/dist/chunks/{plugin-f5pyg89p.js → location-lifecycle-9v0zv86y.js} +15 -15
- package/dist/chunks/{plugin-dmbkty79.js → location-lifecycle-9wtqrwbx.js} +4 -4
- package/dist/chunks/{plugin-25vdtnjj.js → location-lifecycle-a4b8659g.js} +24 -24
- package/dist/chunks/{plugin-kpr1a7my.js → location-lifecycle-a4db6pc3.js} +27 -27
- package/dist/chunks/{plugin-g190xswt.js → location-lifecycle-a8bn8zg0.js} +4 -4
- package/dist/chunks/{plugin-818pfwc9.js → location-lifecycle-a8zr1srk.js} +8 -8
- package/dist/chunks/{plugin-vez28rkn.js → location-lifecycle-a9kh4te8.js} +11 -11
- package/dist/chunks/{plugin-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
- package/dist/chunks/{plugin-7gjwn3mg.js → location-lifecycle-ajs83g1g.js} +26 -26
- package/dist/chunks/{plugin-0wqrk86a.js → location-lifecycle-at11sx6r.js} +36 -36
- package/dist/chunks/{plugin-rr2nj0f6.js → location-lifecycle-b66y4tmj.js} +23 -23
- package/dist/chunks/{plugin-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
- package/dist/chunks/{plugin-nz3f6dh6.js → location-lifecycle-b7chhn34.js} +5 -5
- package/dist/chunks/{plugin-p3g4bctq.js → location-lifecycle-bbpq1ecs.js} +11 -11
- package/dist/chunks/{plugin-c8kpj4ex.js → location-lifecycle-bh2b88vc.js} +11 -11
- package/dist/chunks/{plugin-z07pqspn.js → location-lifecycle-bjtzbw4r.js} +3 -3
- package/dist/chunks/{plugin-5chjpv3n.js → location-lifecycle-bkvw88n3.js} +46 -46
- package/dist/chunks/{plugin-0haf790c.js → location-lifecycle-bqdch51a.js} +54 -54
- package/dist/chunks/{plugin-2w2xb9k3.js → location-lifecycle-bxsyf9mb.js} +18 -18
- package/dist/chunks/{plugin-xt42g94b.js → location-lifecycle-c10p069n.js} +16 -16
- package/dist/chunks/{plugin-p3cg9c6g.js → location-lifecycle-c1a61a2b.js} +30 -30
- package/dist/chunks/{plugin-4fg0erh5.js → location-lifecycle-c1p8h69n.js} +17 -17
- package/dist/chunks/{plugin-j26sntzs.js → location-lifecycle-c41yqgwq.js} +12 -12
- package/dist/chunks/{plugin-1kh467bh.js → location-lifecycle-c8bvc1b5.js} +17 -17
- package/dist/chunks/{plugin-7x3jeged.js → location-lifecycle-c8zbh3by.js} +23 -23
- package/dist/chunks/{plugin-rgc5cpy8.js → location-lifecycle-cnhzh67b.js} +30 -30
- package/dist/chunks/{plugin-4dgbcxzg.js → location-lifecycle-cpj0znwe.js} +4 -4
- package/dist/chunks/{plugin-esgzjb22.js → location-lifecycle-cpzanfwf.js} +15 -15
- package/dist/chunks/{plugin-p9q41m4z.js → location-lifecycle-cs0g6g12.js} +7 -7
- package/dist/chunks/{plugin-d4he2qe1.js → location-lifecycle-cwa6csj7.js} +9 -9
- package/dist/chunks/{plugin-pcbmdtkt.js → location-lifecycle-d0vnxkdz.js} +14 -14
- package/dist/chunks/{plugin-jzvkh4fx.js → location-lifecycle-dar7e7gp.js} +15 -15
- package/dist/chunks/{plugin-a07f9fey.js → location-lifecycle-dgpwxp5g.js} +9 -9
- package/dist/chunks/{plugin-40k0ddnb.js → location-lifecycle-djjaknwc.js} +11 -11
- package/dist/chunks/{plugin-y6f0p4jw.js → location-lifecycle-dm1py9b3.js} +3 -3
- package/dist/chunks/{plugin-dmqcgk4z.js → location-lifecycle-dmqcgk4z.js} +2 -2
- package/dist/chunks/{plugin-btgy5t2j.js → location-lifecycle-dnk07rkj.js} +21 -21
- package/dist/chunks/{plugin-y71avatq.js → location-lifecycle-dpkg50ah.js} +4 -4
- package/dist/chunks/{plugin-0gz7zjqc.js → location-lifecycle-dpqbvfzf.js} +18 -18
- package/dist/chunks/{plugin-gbn7qf88.js → location-lifecycle-dpr6n0f0.js} +30 -30
- package/dist/chunks/{plugin-qdqbej7y.js → location-lifecycle-e2535fdq.js} +11 -11
- package/dist/chunks/{plugin-jqzw3e7k.js → location-lifecycle-e6jtsjee.js} +36 -36
- package/dist/chunks/{plugin-qbfyb41y.js → location-lifecycle-eackgwx9.js} +17 -17
- package/dist/chunks/{plugin-mvmjd6jc.js → location-lifecycle-eay7wb3f.js} +22 -22
- package/dist/chunks/{plugin-1x36vwaj.js → location-lifecycle-ecb2mwp4.js} +20 -20
- package/dist/chunks/{plugin-ecfe7b91.js → location-lifecycle-ecfe7b91.js} +2 -2
- package/dist/chunks/{plugin-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
- package/dist/chunks/{plugin-4dfpma72.js → location-lifecycle-f1pqna15.js} +30 -30
- package/dist/chunks/{plugin-nxsqkktv.js → location-lifecycle-f1txj3qk.js} +19 -19
- package/dist/chunks/{plugin-s4qwe0ga.js → location-lifecycle-f9t4yp7d.js} +3 -3
- package/dist/chunks/{plugin-r5y95tfb.js → location-lifecycle-ffr3gfcb.js} +17 -17
- package/dist/chunks/{plugin-34wny0tj.js → location-lifecycle-fmr78hjp.js} +3 -3
- package/dist/chunks/{plugin-b09hzw3k.js → location-lifecycle-g84cjvn9.js} +2 -2
- package/dist/chunks/{plugin-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-aytrwwgk.js → location-lifecycle-gffnmy6p.js} +12 -12
- package/dist/chunks/{plugin-94ek1h2f.js → location-lifecycle-gfvb90ym.js} +2 -2
- package/dist/chunks/{plugin-4yxj8t26.js → location-lifecycle-ggkgzcsk.js} +37 -37
- package/dist/chunks/{plugin-9w4ppqge.js → location-lifecycle-ghrzdqqx.js} +5 -5
- package/dist/chunks/{plugin-fnw8d6xx.js → location-lifecycle-gk4m79v4.js} +11 -11
- package/dist/chunks/{plugin-8yzr9w1t.js → location-lifecycle-gsww56g2.js} +5 -5
- package/dist/chunks/{plugin-hhjsa95d.js → location-lifecycle-gt4g8wtj.js} +20 -20
- package/dist/chunks/{plugin-gv6a8nnw.js → location-lifecycle-gv6a8nnw.js} +2 -2
- package/dist/chunks/{plugin-8hghrp1y.js → location-lifecycle-gvnkvyqm.js} +15 -15
- package/dist/chunks/{plugin-8bxz1hbv.js → location-lifecycle-gvy9w8z3.js} +5 -5
- package/dist/chunks/{plugin-ecm3ffby.js → location-lifecycle-h6pr9wfq.js} +10 -10
- package/dist/chunks/{plugin-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-kf6p41xt.js → location-lifecycle-hac3795w.js} +30 -30
- package/dist/chunks/{plugin-88p635hd.js → location-lifecycle-hm4hbq1q.js} +12 -12
- package/dist/chunks/{plugin-ke0746dy.js → location-lifecycle-hm6n5zg4.js} +66 -66
- package/dist/chunks/{plugin-bqjbyfa2.js → location-lifecycle-hneqn0pn.js} +13 -13
- package/dist/chunks/{plugin-2t86gywv.js → location-lifecycle-hnr9gbsg.js} +5 -5
- package/dist/chunks/{plugin-6w6eazwn.js → location-lifecycle-hwv66ddv.js} +33 -33
- package/dist/chunks/{plugin-mspgr67z.js → location-lifecycle-hz3qr18c.js} +11 -11
- package/dist/chunks/{plugin-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
- package/dist/chunks/{plugin-n9k9pkqv.js → location-lifecycle-j7ym9e45.js} +6 -6
- package/dist/chunks/{plugin-1j9p7csq.js → location-lifecycle-j85crrnr.js} +13 -13
- package/dist/chunks/{plugin-nckbpnj1.js → location-lifecycle-jm0mkwhw.js} +9 -9
- package/dist/chunks/{plugin-fy47842m.js → location-lifecycle-k0tzsxjk.js} +9 -9
- package/dist/chunks/{plugin-k1qrnqst.js → location-lifecycle-k1qrnqst.js} +1 -1
- package/dist/chunks/{plugin-k3c624dm.js → location-lifecycle-k3c624dm.js} +3 -3
- package/dist/chunks/{plugin-xzsnc4e3.js → location-lifecycle-k6pm3dc4.js} +17 -17
- package/dist/chunks/{plugin-t7n9q6bq.js → location-lifecycle-k76fn4kw.js} +4 -4
- package/dist/chunks/{plugin-5c3wa5vy.js → location-lifecycle-ka9093k9.js} +35 -35
- package/dist/chunks/{plugin-5bnbvf32.js → location-lifecycle-kbfntcyd.js} +38 -38
- package/dist/chunks/{plugin-9ebccp69.js → location-lifecycle-kh6zcczw.js} +18 -18
- package/dist/chunks/{plugin-5j4wdcgy.js → location-lifecycle-kmf7zver.js} +37 -37
- package/dist/chunks/{plugin-3dj3kb64.js → location-lifecycle-kr5jq943.js} +25 -25
- package/dist/chunks/{plugin-tng1n90f.js → location-lifecycle-krq6chym.js} +11 -11
- package/dist/chunks/{plugin-85dpt69s.js → location-lifecycle-ky7q1jj3.js} +9 -9
- package/dist/chunks/{plugin-jnmbryq4.js → location-lifecycle-kyjkr43q.js} +5 -5
- package/dist/chunks/{plugin-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
- package/dist/chunks/{plugin-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-mrrn9raq.js → location-lifecycle-mb942295.js} +6 -6
- package/dist/chunks/{plugin-9pdehny3.js → location-lifecycle-mfs9xwz6.js} +20 -20
- package/dist/chunks/{plugin-0ytp3p19.js → location-lifecycle-mh5wyt4r.js} +19 -19
- package/dist/chunks/{plugin-mhkvc446.js → location-lifecycle-mhkvc446.js} +1 -1
- package/dist/chunks/{plugin-jargcne3.js → location-lifecycle-mhwbby13.js} +44 -44
- package/dist/chunks/{plugin-axv4f4m2.js → location-lifecycle-mrbr6jfd.js} +14 -14
- package/dist/chunks/{plugin-zer1qjf0.js → location-lifecycle-mwcz59nk.js} +3 -3
- package/dist/chunks/{plugin-tazp3vs0.js → location-lifecycle-mzywpf3p.js} +4 -4
- package/dist/chunks/{plugin-xwwe5h59.js → location-lifecycle-n45hc609.js} +6 -6
- package/dist/chunks/{plugin-226hzddc.js → location-lifecycle-n7j3wet2.js} +20 -20
- package/dist/chunks/{plugin-cecssvhd.js → location-lifecycle-nbns5439.js} +31 -31
- package/dist/chunks/{plugin-hkfg6fzm.js → location-lifecycle-nxhqveyz.js} +5 -5
- package/dist/chunks/{plugin-kk4dscew.js → location-lifecycle-p163znbg.js} +11 -11
- package/dist/chunks/{plugin-5yzzbxa7.js → location-lifecycle-p37cw4rj.js} +8 -8
- package/dist/chunks/{plugin-wb743sy6.js → location-lifecycle-p3pfz3q0.js} +3 -3
- package/dist/chunks/{plugin-p9g6edyn.js → location-lifecycle-p4m4s18q.js} +11 -11
- package/dist/chunks/{plugin-a22hehm6.js → location-lifecycle-p6fdqh6d.js} +12 -12
- package/dist/chunks/{plugin-nmc3r7ac.js → location-lifecycle-p9q8m983.js} +16 -16
- package/dist/chunks/{plugin-zh2qxfkb.js → location-lifecycle-pbpnq9h1.js} +5 -5
- package/dist/chunks/{plugin-c35597j6.js → location-lifecycle-pd7gvt3w.js} +4 -4
- package/dist/chunks/{plugin-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-wd3x2cqz.js → location-lifecycle-psazpmmj.js} +2 -2
- package/dist/chunks/{plugin-wjgt4jj8.js → location-lifecycle-pvz4a4fs.js} +41 -41
- package/dist/chunks/{plugin-9bgc64qj.js → location-lifecycle-py21j518.js} +6 -6
- package/dist/chunks/{plugin-sqqy8g26.js → location-lifecycle-q404g9wh.js} +41 -41
- package/dist/chunks/{plugin-t5jcvtmd.js → location-lifecycle-q8vxfwky.js} +6 -6
- package/dist/chunks/{plugin-8t93fjeg.js → location-lifecycle-qcac3b0q.js} +35 -35
- package/dist/chunks/{plugin-nzscph5b.js → location-lifecycle-qfh727yk.js} +21 -21
- package/dist/chunks/{plugin-pnv527nz.js → location-lifecycle-qg0jgkcp.js} +9 -9
- package/dist/chunks/{plugin-4fbwas88.js → location-lifecycle-qpy01dnh.js} +32 -32
- package/dist/chunks/{plugin-y3bhypqx.js → location-lifecycle-qqnwkamh.js} +10 -10
- package/dist/chunks/{plugin-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-fhz5gfgy.js → location-lifecycle-qsr9synt.js} +5 -5
- package/dist/chunks/{plugin-5qn7cpsb.js → location-lifecycle-qtnkf12y.js} +26 -26
- package/dist/chunks/{plugin-2vfhzmbv.js → location-lifecycle-qwx7jxjj.js} +1 -1
- package/dist/chunks/{plugin-1gn13qs0.js → location-lifecycle-r0x899t4.js} +8 -8
- package/dist/chunks/{plugin-thez4939.js → location-lifecycle-r22xayej.js} +16 -16
- package/dist/chunks/{plugin-2xha5ks4.js → location-lifecycle-r2y42h07.js} +16 -16
- package/dist/chunks/{plugin-cm2g59gw.js → location-lifecycle-r7x5hz6e.js} +8 -8
- package/dist/chunks/{plugin-391pqrnc.js → location-lifecycle-r9zwqaaj.js} +49 -49
- package/dist/chunks/{plugin-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-ah5phf7r.js → location-lifecycle-rh1bwjp6.js} +5 -5
- package/dist/chunks/{plugin-z5f7g71h.js → location-lifecycle-rtadv7js.js} +5 -5
- package/dist/chunks/{plugin-r34rw9zv.js → location-lifecycle-s7dee3nr.js} +5 -5
- package/dist/chunks/{plugin-0gdmqesm.js → location-lifecycle-s8d7rejh.js} +4 -4
- package/dist/chunks/{plugin-t9zs3egg.js → location-lifecycle-sx1n432n.js} +4 -4
- package/dist/chunks/{plugin-xs4bfnsp.js → location-lifecycle-sxp932dy.js} +33 -33
- package/dist/chunks/{plugin-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
- package/dist/chunks/{plugin-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-e5g8yhbe.js → location-lifecycle-thy7ybks.js} +11 -11
- package/dist/chunks/{plugin-10mg1hjy.js → location-lifecycle-tktpwv2n.js} +26 -26
- package/dist/chunks/{plugin-tvtrv512.js → location-lifecycle-tvtrv512.js} +1 -1
- package/dist/chunks/{plugin-tn0aqsam.js → location-lifecycle-tz2bjj40.js} +5 -5
- package/dist/chunks/{plugin-awaee7qt.js → location-lifecycle-va5qff5x.js} +6 -6
- package/dist/chunks/{plugin-17pdvcx6.js → location-lifecycle-ve5b676g.js} +10 -10
- package/dist/chunks/{plugin-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-rv4n56cr.js → location-lifecycle-vsb2wsmm.js} +22 -22
- package/dist/chunks/{plugin-9jksb0q9.js → location-lifecycle-vxfrz3x4.js} +11 -11
- package/dist/chunks/{plugin-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
- package/dist/chunks/{plugin-vzs5sf6e.js → location-lifecycle-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-gay4s6z2.js → location-lifecycle-w26vp28e.js} +16 -16
- package/dist/chunks/{plugin-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/location-lifecycle-w56r6y6m.js +26 -0
- package/dist/chunks/{plugin-8f99yhwf.js → location-lifecycle-wd3543ng.js} +21 -21
- package/dist/chunks/{plugin-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-nf27xhme.js → location-lifecycle-wrqztpqn.js} +24 -24
- package/dist/chunks/{plugin-4fnvzdk9.js → location-lifecycle-wv4h9m6r.js} +12 -12
- package/dist/chunks/{plugin-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
- package/dist/chunks/{plugin-xsc3qs14.js → location-lifecycle-xbbc9m8s.js} +24 -24
- package/dist/chunks/{plugin-2w99xks8.js → location-lifecycle-xecdr5f4.js} +6 -6
- package/dist/chunks/{plugin-drwq78ky.js → location-lifecycle-xfkkasph.js} +4 -4
- package/dist/chunks/{plugin-0jazcgt4.js → location-lifecycle-xnvtv5d9.js} +15 -15
- package/dist/chunks/{plugin-xvp1j2dc.js → location-lifecycle-xvp1j2dc.js} +2 -2
- package/dist/chunks/{plugin-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-hfkc2fc8.js → location-lifecycle-y9qpwm1q.js} +11 -11
- package/dist/chunks/{plugin-bg4rh47n.js → location-lifecycle-ydxdn25e.js} +14 -14
- package/dist/chunks/{plugin-c7tt9wkp.js → location-lifecycle-ye5zrc4e.js} +4 -4
- package/dist/chunks/{plugin-rxhrcajb.js → location-lifecycle-yesze8gn.js} +5 -5
- package/dist/chunks/{plugin-pm2pt1xv.js → location-lifecycle-yg661w7k.js} +2 -2
- package/dist/chunks/{plugin-bhe98940.js → location-lifecycle-ykae6a3s.js} +10 -10
- package/dist/chunks/{plugin-f2n192rq.js → location-lifecycle-yp2x3t23.js} +4 -4
- package/dist/chunks/{plugin-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
- package/dist/chunks/{plugin-yrznvahk.js → location-lifecycle-yrznvahk.js} +2 -2
- package/dist/chunks/{plugin-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-ejt70149.js → location-lifecycle-z0bma3rk.js} +8 -8
- package/dist/chunks/{plugin-z63w68vq.js → location-lifecycle-z63w68vq.js} +2 -2
- package/dist/chunks/{plugin-751rfnyf.js → location-lifecycle-z6fjsphp.js} +25 -25
- package/dist/chunks/{plugin-4njh4d5a.js → location-lifecycle-z7kxq9y7.js} +13 -13
- package/dist/chunks/{plugin-xtrb50g7.js → location-lifecycle-za7etm21.js} +3 -3
- package/dist/chunks/{plugin-dqpbbqhd.js → location-lifecycle-zef52kr8.js} +48 -48
- package/dist/chunks/{plugin-zeh9ct20.js → location-lifecycle-zeh9ct20.js} +2 -2
- package/dist/chunks/{plugin-s6psezdd.js → location-lifecycle-zp388sqy.js} +13 -13
- package/dist/chunks/{plugin-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-p3ytwpdv.js → location-lifecycle-zscm7yez.js} +17 -17
- package/dist/chunks/{plugin-3nk0nj5f.js → location-lifecycle-zvf0f1eh.js} +20 -20
- package/dist/chunks/{plugin-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- 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 +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- 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 +370 -370
- 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 +227 -227
- 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 +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +361 -361
- package/dist/instruction-discovery.js +83 -83
- 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 +86 -86
- 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 +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- 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/cloudflare-ai-gateway.js +121 -121
- 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 +94 -94
- 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 +77 -77
- 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 +94 -94
- 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 +78 -78
- 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 +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- 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 +91 -91
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- 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 +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- 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 +231 -231
- 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 +2 -2
- package/dist/session/runner/step.js +124 -124
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- 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 +218 -218
- 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 +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +73 -73
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/plugin-9sh4wc5j.js +0 -18
- package/dist/chunks/plugin-a5y6cd29.js +0 -26
- package/dist/chunks/plugin-cmea03x8.js +0 -507
- package/dist/chunks/plugin-zn57geqr.js +0 -252
- /package/dist/chunks/{plugin-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-34c7v6d4.js → location-lifecycle-34c7v6d4.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-5qd3pb7m.js → location-lifecycle-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-922hggd3.js → location-lifecycle-922hggd3.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-sk3qaz4a.js → location-lifecycle-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-e2535fdq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9wtqrwbx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-c10p069n.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-kr5jq943.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID7
|
|
20
|
+
} from "./location-lifecycle-5wfytkff.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-lifecycle-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-lifecycle-0he59a2j.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID7.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const tokens = new Map;
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID7.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID7.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
164
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID7.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID7.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID7.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID7.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Event: () => Event9,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options9,
|
|
17
|
+
Service: () => Service49,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured8,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer19,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node52,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options9 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service49 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer19 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service49.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer22 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service49.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service49).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service49, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured8(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service49, layer: layer19(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node52 = configured8();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { Event9, hasNativeBinding2, Native3,
|
|
190
|
+
export { Event9, hasNativeBinding2, Native3, Options9, Service49, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured8, node52, exports_watcher };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-9wtqrwbx.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-68y7phbn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./location-lifecycle-w26vp28e.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-7fj5dwt0.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service49,
|
|
18
|
+
node52
|
|
19
|
+
} from "./location-lifecycle-ecb2mwp4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node20
|
|
22
|
+
} from "./location-lifecycle-6t5grd2s.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node14
|
|
26
|
+
} from "./location-lifecycle-cwa6csj7.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service11,
|
|
36
|
+
node: () => node13
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service49;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service11.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node13 = makeLocationNode({
|
|
106
|
+
service: Service11,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node52, FSUtil.node, node83, node86, node87, node20, node14]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service11, node13, exports_location_watcher2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-9wtqrwbx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-lifecycle-w26vp28e.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service73,
|
|
14
|
+
node77
|
|
15
|
+
} from "./location-lifecycle-6pj0zh3q.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service6,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node8
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service73;
|
|
41
|
+
const location = yield* Service79;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service6.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node8 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node,
|
|
101
|
+
deps: [node87, FSUtil.node, node83, node77]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service6, node8, exports_instructions };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID5
|
|
3
|
+
} from "./location-lifecycle-dpr6n0f0.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID5.make("gpt-5-chat-latest"), ID5.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-e2535fdq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9wtqrwbx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-c10p069n.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-kr5jq943.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID7,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-lifecycle-5wfytkff.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID8.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID8.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service83;
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID7.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -197,7 +197,7 @@ var OpenAIPlugin2 = define({
|
|
|
197
197
|
});
|
|
198
198
|
});
|
|
199
199
|
yield* ctx.model.transform((models) => {
|
|
200
|
-
for (const model of models.list(
|
|
200
|
+
for (const model of models.list(ID7.openai)) {
|
|
201
201
|
models.update(model.providerID, model.id, (draft) => {
|
|
202
202
|
if (!chatgpt)
|
|
203
203
|
return;
|
|
@@ -225,14 +225,14 @@ var OpenAIPlugin2 = define({
|
|
|
225
225
|
evt.baseURL = codexBaseURL;
|
|
226
226
|
evt.headers.originator = "opencode";
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
|
-
}), { providerID:
|
|
228
|
+
}), { providerID: ID7.openai });
|
|
229
229
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
230
230
|
delete evt.options.maxTokens;
|
|
231
231
|
});
|
|
232
232
|
for (const name of ["context", "compaction"])
|
|
233
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
233
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID7.openai });
|
|
234
234
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
235
|
-
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
235
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
236
236
|
})
|
|
237
237
|
});
|
|
238
238
|
function headers(contentType, app) {
|
|
@@ -323,4 +323,4 @@ function claim(token) {
|
|
|
323
323
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-zef52kr8.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-dm1py9b3.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-5wfytkff.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID5,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info18,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-dpr6n0f0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID7.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID5.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID5.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info18.make({
|
|
98
|
+
...Info18.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID5.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|