@opencode/core 0.0.0-dev-20220 → 0.0.0-dev-20221
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{workspace-4f0b6jfs.js → location-03b1d2xf.js} +8 -8
- package/dist/chunks/{workspace-5qz8v4qk.js → location-0ascw2kk.js} +13 -13
- package/dist/chunks/{workspace-nc6w8shy.js → location-0bkc3y3d.js} +22 -22
- package/dist/chunks/{workspace-qgn6gcr1.js → location-0jwsre1p.js} +5 -5
- package/dist/chunks/{workspace-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-r5azket3.js → location-0x8r1xf8.js} +13 -13
- package/dist/chunks/{workspace-b5bxpz8p.js → location-0xqnn6r6.js} +13 -13
- package/dist/chunks/{workspace-86k3a79a.js → location-10mkqwtm.js} +184 -184
- package/dist/chunks/{workspace-1acjjqhc.js → location-1acjjqhc.js} +1 -1
- package/dist/chunks/{workspace-5yzzbxa7.js → location-1ajx6rf5.js} +8 -8
- package/dist/chunks/{workspace-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-sfvptea7.js → location-1thp3168.js} +34 -34
- package/dist/chunks/{workspace-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-17sdw283.js → location-23xkb9ck.js} +1 -1
- package/dist/chunks/{workspace-9448wgn4.js → location-24vp5xsz.js} +27 -27
- package/dist/chunks/{workspace-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/location-2g5sqqgw.js +252 -0
- package/dist/chunks/{workspace-tj19hryr.js → location-2jhm9eyt.js} +32 -32
- package/dist/chunks/{workspace-z1v6gmzf.js → location-2n2feb9b.js} +5 -5
- package/dist/chunks/{workspace-p23bcykr.js → location-2r3apkbr.js} +8 -8
- package/dist/chunks/{workspace-gjwgx2c5.js → location-2sejkfem.js} +9 -9
- package/dist/chunks/{workspace-nfn0d9bm.js → location-2xw79qf5.js} +20 -20
- package/dist/chunks/{workspace-0v9511cz.js → location-2y6ffh4c.js} +4 -4
- package/dist/chunks/{workspace-gs3s1a1g.js → location-30846h32.js} +8 -8
- package/dist/chunks/{workspace-etzz3kcr.js → location-3104ney4.js} +8 -8
- package/dist/chunks/{workspace-39n49jwr.js → location-31sb4mzz.js} +5 -5
- package/dist/chunks/{workspace-n8dykrk6.js → location-321x2wtd.js} +6 -6
- package/dist/chunks/{workspace-33w4ejhs.js → location-33w4ejhs.js} +2 -2
- package/dist/chunks/{workspace-yq14pbr7.js → location-3bc8czyk.js} +5 -5
- package/dist/chunks/{workspace-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-nbzsj80d.js → location-3pbjq009.js} +8 -8
- package/dist/chunks/{workspace-ms6hn236.js → location-3pfqp9x0.js} +42 -42
- package/dist/chunks/{workspace-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-2t479tbe.js → location-3yzbp4y2.js} +16 -16
- package/dist/chunks/{workspace-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{workspace-q456jvfz.js → location-42bm2tdg.js} +11 -11
- package/dist/chunks/{workspace-9zvsvm9a.js → location-42dy8wkf.js} +11 -11
- package/dist/chunks/{workspace-8z00fdkb.js → location-4dgbcxzg.js} +4 -4
- package/dist/chunks/{workspace-5phqnecy.js → location-4gycnsfp.js} +5 -5
- package/dist/chunks/{workspace-gw7cjrad.js → location-4j4tgtq5.js} +4 -4
- package/dist/chunks/{workspace-4myaz8ns.js → location-4jwfw9t7.js} +13 -13
- package/dist/chunks/{workspace-g723tk78.js → location-4nndrb46.js} +9 -9
- package/dist/chunks/{workspace-3vypftwz.js → location-4sdz4ba6.js} +68 -68
- package/dist/chunks/{workspace-r4xhx5yy.js → location-4yg98eve.js} +12 -12
- package/dist/chunks/{workspace-jg3pwedt.js → location-50q9nbwa.js} +16 -16
- package/dist/chunks/{workspace-ckecvw8r.js → location-54tcyq79.js} +2 -2
- package/dist/chunks/{workspace-ybfe78wp.js → location-5767z5qk.js} +42 -42
- package/dist/chunks/{workspace-kzemhjjj.js → location-5agr9zwd.js} +12 -12
- package/dist/chunks/{workspace-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-47w2eqjq.js → location-5eq1rvf4.js} +40 -40
- package/dist/chunks/{workspace-j61y0zmr.js → location-5q41emxe.js} +10 -10
- package/dist/chunks/{workspace-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-rx665nrj.js → location-60k29m3a.js} +3 -3
- package/dist/chunks/{workspace-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{workspace-pvakgcfb.js → location-68hvg95z.js} +7 -7
- package/dist/chunks/{workspace-bx34mrvh.js → location-6936e3tb.js} +30 -30
- package/dist/chunks/{workspace-v4gq33pr.js → location-693v0dn7.js} +5 -5
- package/dist/chunks/{workspace-6h73sxmp.js → location-6h73sxmp.js} +1 -1
- package/dist/chunks/{workspace-vrk25kfx.js → location-6k33h7hv.js} +37 -37
- package/dist/chunks/{workspace-y2sw0xjf.js → location-6mk1zs0m.js} +30 -30
- package/dist/chunks/{workspace-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-6d9vm36g.js → location-71xcq78h.js} +89 -89
- package/dist/chunks/{workspace-k1th7fpy.js → location-72nn9jfv.js} +12 -12
- package/dist/chunks/{workspace-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-w3x9v1nk.js → location-7j2qha59.js} +8 -8
- package/dist/chunks/{workspace-vj68ba03.js → location-7mt2gtfj.js} +26 -26
- package/dist/chunks/{workspace-njtd5qwa.js → location-7q8vgb26.js} +7 -7
- package/dist/chunks/{workspace-4k5pqwqv.js → location-7qks8dan.js} +42 -42
- package/dist/chunks/{workspace-2q8c0gm7.js → location-7v81x33d.js} +9 -9
- package/dist/chunks/{workspace-3nxb9rvh.js → location-81swgkk7.js} +9 -9
- package/dist/chunks/{workspace-hxmj7brn.js → location-82mn4p1g.js} +41 -41
- package/dist/chunks/{workspace-vz659dg8.js → location-86cgss88.js} +6 -6
- package/dist/chunks/{workspace-yddyfygy.js → location-87dxtzj4.js} +22 -22
- package/dist/chunks/{workspace-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-m9cctz3y.js → location-8fhzde2b.js} +32 -32
- package/dist/chunks/{workspace-v1wpj03p.js → location-8j1skqgj.js} +20 -20
- package/dist/chunks/{workspace-71haf3zx.js → location-8k1xnzjf.js} +18 -18
- package/dist/chunks/{workspace-vprd2cpq.js → location-8m83jnsx.js} +48 -48
- package/dist/chunks/{workspace-p5vysgrm.js → location-8pwagnxc.js} +30 -30
- package/dist/chunks/{workspace-8sze2n9a.js → location-8sze2n9a.js} +2 -2
- package/dist/chunks/{workspace-nzcytcen.js → location-91n38a9p.js} +19 -19
- package/dist/chunks/{workspace-xmh8t9jm.js → location-99fa44nw.js} +10 -10
- package/dist/chunks/{workspace-3ta7235s.js → location-9jhkgaje.js} +42 -42
- package/dist/chunks/{workspace-m5qajknk.js → location-9mm3gyjg.js} +12 -12
- package/dist/chunks/{workspace-k9t5awnq.js → location-9qyfdgxc.js} +17 -17
- package/dist/chunks/{workspace-rbztqx5q.js → location-9rak6fg2.js} +26 -26
- package/dist/chunks/{workspace-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-s8zy8myc.js → location-af04s6ss.js} +5 -5
- package/dist/chunks/{workspace-ttqh24zm.js → location-afdssyjb.js} +4 -4
- package/dist/chunks/{workspace-fd43cwvv.js → location-afed7ext.js} +12 -12
- package/dist/chunks/{workspace-b8kga87m.js → location-ah251an0.js} +12 -12
- package/dist/chunks/{workspace-rdyyfad2.js → location-ahs7fvg1.js} +9 -9
- package/dist/chunks/{workspace-4rd4da1r.js → location-ajaf8rr1.js} +30 -30
- package/dist/chunks/{workspace-8brtktdt.js → location-aktznddm.js} +11 -11
- package/dist/chunks/{workspace-myrxwzwn.js → location-akvdnkta.js} +23 -23
- package/dist/chunks/{workspace-vdxhr03z.js → location-ay4yd4d7.js} +8 -8
- package/dist/chunks/{workspace-x0600czv.js → location-b09hzw3k.js} +2 -2
- package/dist/chunks/{workspace-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-zsw7hnhc.js → location-b7kqjy0v.js} +25 -25
- package/dist/chunks/{workspace-hgxj8cmt.js → location-b8171w38.js} +25 -25
- package/dist/chunks/{workspace-jebmra90.js → location-b95n020p.js} +6 -6
- package/dist/chunks/{workspace-xaqfg0qp.js → location-bf4e40v7.js} +10 -10
- package/dist/chunks/{workspace-bf4gbvg4.js → location-bf4gbvg4.js} +3 -3
- package/dist/chunks/{workspace-t3fxmr6d.js → location-bjmftk71.js} +19 -19
- package/dist/chunks/{workspace-z07pqspn.js → location-bjtzbw4r.js} +3 -3
- package/dist/chunks/{workspace-mvksx64m.js → location-bk7jaeqh.js} +4 -4
- package/dist/chunks/{workspace-fwndzhfb.js → location-bqfsqarm.js} +20 -20
- package/dist/chunks/{workspace-mnyccpt8.js → location-bsjb98v5.js} +47 -47
- package/dist/chunks/{workspace-hq63kp9t.js → location-bxg941en.js} +20 -20
- package/dist/chunks/{workspace-6s6k40ev.js → location-c0zy3nqq.js} +5 -5
- package/dist/chunks/{workspace-nwxrs5sk.js → location-c4rfsmrz.js} +9 -9
- package/dist/chunks/{workspace-9zj539jb.js → location-cpn8fns4.js} +10 -10
- package/dist/chunks/{workspace-m06zp20y.js → location-cq4wpeev.js} +18 -18
- package/dist/chunks/{workspace-75r560w4.js → location-cvrsk9fd.js} +15 -15
- package/dist/chunks/{workspace-5903przf.js → location-d6r54p0z.js} +25 -25
- package/dist/chunks/{workspace-j5rxtxht.js → location-dbb8vp5z.js} +4 -4
- package/dist/chunks/{workspace-hnb8xd58.js → location-dd2mwsqy.js} +24 -24
- package/dist/chunks/{workspace-mer1x770.js → location-dg2tseh9.js} +9 -9
- package/dist/chunks/{workspace-h6nd84cd.js → location-dm5bbsxw.js} +8 -8
- package/dist/chunks/{workspace-4yn70x16.js → location-e06d8b03.js} +32 -32
- package/dist/chunks/{workspace-q5t0te5a.js → location-e6hd9jay.js} +4 -4
- package/dist/chunks/{workspace-ecfe7b91.js → location-ecfe7b91.js} +2 -2
- package/dist/chunks/{workspace-mtmzgpw7.js → location-ecrfaaw3.js} +43 -43
- package/dist/chunks/{workspace-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-vbksr8hy.js → location-ef7kd23s.js} +19 -19
- package/dist/chunks/{workspace-h7e5g0tn.js → location-em7mzjn4.js} +6 -6
- package/dist/chunks/{workspace-yttbpxek.js → location-ent53862.js} +20 -20
- package/dist/chunks/{workspace-1bbkgx8g.js → location-eq1pz5kg.js} +3 -3
- package/dist/chunks/{workspace-cc3pbsab.js → location-eqrj6z30.js} +26 -26
- package/dist/chunks/{workspace-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-37s12vcn.js → location-evbgk2k8.js} +5 -5
- package/dist/chunks/{workspace-vcbvf67x.js → location-f0vrjwjw.js} +17 -17
- package/dist/chunks/{workspace-50mzsvk4.js → location-f3ngv102.js} +4 -4
- package/dist/chunks/{workspace-gs4tkc79.js → location-f5gy8qwh.js} +8 -8
- package/dist/chunks/{workspace-s31epa91.js → location-f8jv9byx.js} +42 -42
- package/dist/chunks/{workspace-4sb7vttz.js → location-f9yek72b.js} +5 -5
- package/dist/chunks/{workspace-wgca8pcg.js → location-fcbwjxnb.js} +3 -3
- package/dist/chunks/{workspace-phywj5ap.js → location-fgen454y.js} +3 -3
- package/dist/chunks/{workspace-07s4dn0t.js → location-fkgkq2bq.js} +2 -2
- package/dist/chunks/{workspace-qczdb8gm.js → location-fmq6hapb.js} +10 -10
- package/dist/chunks/{workspace-nvynjj51.js → location-fnhn454m.js} +11 -11
- package/dist/chunks/{workspace-mgeyp9t4.js → location-frbktfyz.js} +7 -7
- package/dist/chunks/{workspace-1b2dpk4d.js → location-fvf5cb06.js} +12 -12
- package/dist/chunks/{workspace-g5agzp2h.js → location-g5agzp2h.js} +2 -2
- package/dist/chunks/{workspace-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-94ek1h2f.js → location-gfvb90ym.js} +2 -2
- package/dist/chunks/{workspace-5kj8b39y.js → location-grs5yd9b.js} +56 -56
- package/dist/chunks/{workspace-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-xfp6s5ka.js → location-gvegpbk5.js} +15 -15
- package/dist/chunks/{workspace-rhfw1snm.js → location-gy1zbbg8.js} +16 -16
- package/dist/chunks/{workspace-9h36tbcg.js → location-h5e2anyc.js} +23 -23
- package/dist/chunks/{workspace-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-prq7hedt.js → location-h71w788e.js} +9 -9
- package/dist/chunks/{workspace-b0d9b1gc.js → location-h9shz2e0.js} +11 -11
- package/dist/chunks/{workspace-wxyynt4w.js → location-hd8vw2pw.js} +1 -1
- package/dist/chunks/{workspace-5nkr2rt4.js → location-hj80damg.js} +35 -35
- package/dist/chunks/{workspace-h275qfxe.js → location-hm2cbah8.js} +28 -28
- package/dist/chunks/{workspace-8ec64kag.js → location-hp5fhm3b.js} +11 -11
- package/dist/chunks/{workspace-4s0jyqng.js → location-hrpea4dg.js} +312 -312
- package/dist/chunks/{workspace-vh4zb22k.js → location-j0374pag.js} +6 -6
- package/dist/chunks/{workspace-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-yfvrmt6j.js → location-js0q1b7y.js} +34 -34
- package/dist/chunks/{workspace-17v2tb9j.js → location-jx81s07m.js} +5 -5
- package/dist/chunks/{workspace-v3ap8ec6.js → location-jzg4p26z.js} +11 -11
- package/dist/chunks/{workspace-4085f8rb.js → location-k23qkgd8.js} +32 -32
- package/dist/chunks/{workspace-k3c624dm.js → location-k3c624dm.js} +3 -3
- package/dist/chunks/{workspace-96ctqc5x.js → location-k3sn4jay.js} +4 -4
- package/dist/chunks/{workspace-m17gx2bx.js → location-ka9n7xe0.js} +19 -19
- package/dist/chunks/{workspace-6zsyems9.js → location-kvnawng8.js} +6 -6
- package/dist/chunks/{workspace-71r8gsdc.js → location-kwg7c6hr.js} +31 -31
- package/dist/chunks/{workspace-kaaz30r4.js → location-m303x724.js} +25 -25
- package/dist/chunks/{workspace-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{workspace-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-twha2rmd.js → location-me8jvw4v.js} +31 -31
- package/dist/chunks/{workspace-qvqshg0f.js → location-mgmaefw5.js} +5 -5
- package/dist/chunks/{workspace-emzsebxx.js → location-mnbh32fx.js} +6 -6
- package/dist/chunks/{workspace-g5jfh1r0.js → location-mtsc5q31.js} +20 -20
- package/dist/chunks/{workspace-gvc1y3x8.js → location-n2qcta3r.js} +11 -11
- package/dist/chunks/{workspace-t1m4pd80.js → location-n62dhrz9.js} +23 -23
- package/dist/chunks/{workspace-64gm52cj.js → location-njwqk4ka.js} +20 -20
- package/dist/chunks/{workspace-24dd53tp.js → location-nq7qbqzc.js} +9 -9
- package/dist/chunks/{workspace-kf1z0tr0.js → location-p49hdftr.js} +11 -11
- package/dist/chunks/{workspace-8875jzjj.js → location-p4av1y14.js} +17 -17
- package/dist/chunks/{workspace-jqrps7eh.js → location-p50sb73r.js} +11 -11
- package/dist/chunks/{workspace-nba0xr5w.js → location-pbmgymcv.js} +18 -18
- package/dist/chunks/{workspace-h2f17wn1.js → location-pcsc7bbk.js} +3 -3
- package/dist/chunks/{workspace-vw6eyh63.js → location-pdnpx475.js} +6 -6
- package/dist/chunks/{workspace-vfjhn2wd.js → location-pgp1nwjn.js} +4 -4
- package/dist/chunks/{workspace-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-7qnb4kh2.js → location-pmtx2bmb.js} +15 -15
- package/dist/chunks/{workspace-ttv288q9.js → location-pq0em7mp.js} +14 -14
- package/dist/chunks/{workspace-wd3x2cqz.js → location-psazpmmj.js} +2 -2
- package/dist/chunks/{workspace-gk8g57t4.js → location-pty0nb4y.js} +5 -5
- package/dist/chunks/{workspace-3ncp34ar.js → location-pvphy38p.js} +20 -20
- package/dist/chunks/{workspace-9hyh706k.js → location-pwhkx6jx.js} +5 -5
- package/dist/chunks/{workspace-n1edfwxj.js → location-pz026a91.js} +4 -4
- package/dist/chunks/{workspace-vncddnhg.js → location-pz6dgdr2.js} +7 -7
- package/dist/chunks/{workspace-np5vbz7c.js → location-q17xkac2.js} +11 -11
- package/dist/chunks/{workspace-5ddqzaw2.js → location-q1b20y97.js} +16 -16
- package/dist/chunks/{workspace-c09pats7.js → location-q4gdq19g.js} +15 -15
- package/dist/chunks/{workspace-e1vgq4ya.js → location-qcf13vms.js} +15 -15
- package/dist/chunks/{workspace-414cp7b0.js → location-qe945752.js} +17 -17
- package/dist/chunks/{workspace-0aj2g9bc.js → location-qj9xvr5c.js} +20 -20
- package/dist/chunks/{workspace-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-d2hqzb0k.js → location-qsjjakye.js} +10 -10
- package/dist/chunks/{workspace-88f96gnv.js → location-qxvajmf7.js} +13 -13
- package/dist/chunks/{workspace-0f2p78zq.js → location-qyysjfz2.js} +1 -1
- package/dist/chunks/{workspace-nxs13mpc.js → location-qzyph8ek.js} +8 -8
- package/dist/chunks/{workspace-vrpz8t5t.js → location-r4yqrmdq.js} +5 -5
- package/dist/chunks/location-rap9a73h.js +18 -0
- package/dist/chunks/{workspace-mg1gmkd7.js → location-rd0fjfer.js} +27 -27
- package/dist/chunks/{workspace-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-gce79w0q.js → location-rh8y0z1p.js} +22 -22
- package/dist/chunks/{workspace-rhjbct0v.js → location-rhjbct0v.js} +1 -1
- package/dist/chunks/{workspace-d9q5jt11.js → location-rk8e6c4e.js} +6 -6
- package/dist/chunks/{workspace-0grssgzr.js → location-rnnyhd50.js} +15 -15
- package/dist/chunks/location-sb5wy6p1.js +26 -0
- package/dist/chunks/{workspace-g631b151.js → location-sbhdk62n.js} +5 -5
- package/dist/chunks/{workspace-qt56tf5w.js → location-sjrr8pwy.js} +23 -23
- package/dist/chunks/{workspace-3et4sczz.js → location-snqwywr0.js} +28 -28
- package/dist/chunks/{workspace-7sbkp4xb.js → location-t2fc4mz5.js} +4 -4
- package/dist/chunks/{workspace-ht10abdc.js → location-t80zgtse.js} +35 -35
- package/dist/chunks/{workspace-87c9dbfz.js → location-t8jhjvab.js} +21 -21
- package/dist/chunks/{workspace-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-z243wpgr.js → location-va6930fd.js} +5 -5
- package/dist/chunks/{workspace-ktwsgnm5.js → location-va698f7d.js} +8 -8
- package/dist/chunks/{workspace-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-3dsvdpyk.js → location-vjnhtx5y.js} +3 -3
- package/dist/chunks/{workspace-0v53mg2y.js → location-vncycja5.js} +4 -4
- package/dist/chunks/{workspace-dmgn39c0.js → location-vth0z15k.js} +32 -32
- package/dist/chunks/{workspace-gy40wgwj.js → location-vxtm7qfg.js} +10 -10
- package/dist/chunks/{workspace-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{workspace-btk09rt4.js → location-w0tr1p2n.js} +20 -20
- package/dist/chunks/{workspace-qhdvyz6r.js → location-w168c8c1.js} +24 -24
- package/dist/chunks/{workspace-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-4ehfw94s.js → location-w7zcztdz.js} +11 -11
- package/dist/chunks/{workspace-qjnxxf51.js → location-wbkyxrgf.js} +5 -5
- package/dist/chunks/{workspace-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-m2xqb0a2.js → location-wget8q3v.js} +5 -5
- package/dist/chunks/{workspace-qsz2rxby.js → location-whrbrn4z.js} +16 -16
- package/dist/chunks/{workspace-jc292bcq.js → location-wn6ryfvd.js} +5 -5
- package/dist/chunks/{workspace-c93n3nwq.js → location-wq9xxgxb.js} +41 -41
- package/dist/chunks/{workspace-32sacsj5.js → location-wy0rscj2.js} +22 -22
- package/dist/chunks/{workspace-vaknmyan.js → location-x0p95pq5.js} +9 -9
- package/dist/chunks/{workspace-pbnw4rax.js → location-x0tasxqz.js} +4 -4
- package/dist/chunks/{workspace-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-2skkdyk1.js → location-xd9p6rte.js} +51 -51
- package/dist/chunks/{workspace-f57b98hz.js → location-xdma2xvk.js} +31 -31
- package/dist/chunks/{workspace-xfkkasph.js → location-xfkkasph.js} +1 -1
- package/dist/chunks/{workspace-8ez8fgkm.js → location-xg3m2ppk.js} +83 -83
- package/dist/chunks/{workspace-s53jkx9g.js → location-xh5xzt4q.js} +13 -13
- package/dist/chunks/{workspace-2ezrptcc.js → location-xhkwk9gp.js} +16 -16
- package/dist/chunks/{workspace-xkntkrq7.js → location-xkntkrq7.js} +2 -2
- package/dist/chunks/{workspace-kwqnb3b3.js → location-xp5qxbch.js} +7 -7
- package/dist/chunks/{workspace-eahjaez5.js → location-xs1m67vf.js} +9 -9
- package/dist/chunks/{workspace-rmeh0b5f.js → location-y1df562v.js} +17 -17
- package/dist/chunks/{workspace-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-8jmaqybk.js → location-y6f0p4jw.js} +3 -3
- package/dist/chunks/{workspace-dpkg50ah.js → location-y71avatq.js} +4 -4
- package/dist/chunks/{workspace-dc4f6cmj.js → location-yeqt6yj4.js} +24 -24
- package/dist/chunks/{workspace-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-82r76d2b.js → location-yv7j04vt.js} +4 -4
- package/dist/chunks/{workspace-514963fk.js → location-yzqmf70x.js} +36 -36
- package/dist/chunks/{workspace-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-hgefj7cx.js → location-z1wz9sty.js} +8 -8
- package/dist/chunks/{workspace-8wry8wmy.js → location-z2sk8n0r.js} +9 -9
- package/dist/chunks/{workspace-tqpa570b.js → location-z38mhgfq.js} +12 -12
- package/dist/chunks/{workspace-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-7mmmc1dn.js → location-zmwna8pt.js} +20 -20
- package/dist/chunks/{workspace-ha0kmnyt.js → location-zqjeymsx.js} +4 -4
- package/dist/chunks/{workspace-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-zmkvdbb2.js → location-zv90g90z.js} +13 -13
- package/dist/chunks/{workspace-vp8zed57.js → location-zxfsz17a.js} +17 -17
- package/dist/chunks/{workspace-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{workspace-r35k9y4r.js → location-zzmrs7ms.js} +23 -23
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +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 +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- 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 +102 -102
- 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 +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- 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 +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +126 -126
- 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 +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- 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 +2 -2
- 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 +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- 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 +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +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 +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- 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 +220 -220
- 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 +15 -15
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- 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 +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- 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/workspace-4v7qdvcn.js +0 -18
- package/dist/chunks/workspace-dn2dwtb1.js +0 -252
- package/dist/chunks/workspace-p4wystw3.js +0 -26
- /package/dist/chunks/{workspace-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qzyph8ek.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-yv7j04vt.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./location-snqwywr0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-rd0fjfer.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-vth0z15k.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: ID14.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: ID14.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID13.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -197,7 +197,7 @@ var OpenAIPlugin3 = 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(ID13.openai)) {
|
|
201
201
|
models.update(model.providerID, model.id, (draft) => {
|
|
202
202
|
if (!chatgpt)
|
|
203
203
|
return;
|
|
@@ -225,14 +225,14 @@ var OpenAIPlugin3 = define({
|
|
|
225
225
|
evt.baseURL = codexBaseURL;
|
|
226
226
|
evt.headers.originator = "opencode";
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
|
-
}), { providerID:
|
|
228
|
+
}), { providerID: ID13.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: ID13.openai });
|
|
234
234
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
235
|
-
yield* bus.subscribe(
|
|
235
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
236
236
|
})
|
|
237
237
|
});
|
|
238
238
|
function headers(contentType, app) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-psazpmmj.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service74,
|
|
4
|
+
node78
|
|
5
|
+
} from "./location-rd0fjfer.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service73,
|
|
16
|
+
node77
|
|
17
|
+
} from "./location-vth0z15k.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service69,
|
|
20
|
+
node72
|
|
21
|
+
} from "./location-jzg4p26z.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID12,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service72,
|
|
27
|
+
node76
|
|
28
|
+
} from "./location-6mk1zs0m.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError2,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service63,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
@@ -45,7 +45,7 @@ __export(exports_model_resolver, {
|
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
47
|
layer: () => layer22,
|
|
48
|
-
node: () =>
|
|
48
|
+
node: () => node66,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
58
|
+
providerID: ID13,
|
|
59
|
+
modelID: ID12,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -65,8 +65,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
68
|
+
providerID: ID13,
|
|
69
|
+
modelID: ID12,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -76,8 +76,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID13,
|
|
80
|
+
modelID: ID12,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -87,8 +87,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID13,
|
|
91
|
+
modelID: ID12,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -99,8 +99,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID13,
|
|
103
|
+
modelID: ID12,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
112
|
+
providerID: ID13,
|
|
113
|
+
modelID: ID12,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service63 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var layer22 = Layer.effect(
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer22 = Layer.effect(Service63, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service73;
|
|
263
|
+
const models = yield* Service72;
|
|
264
|
+
const integrations = yield* Service74;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service69;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -293,7 +293,7 @@ var layer22 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service63.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
313
|
+
var node66 = makeLocationNode({
|
|
314
|
+
service: Service63,
|
|
315
315
|
layer: layer22,
|
|
316
|
-
deps: [
|
|
316
|
+
deps: [node77, node76, node78, Npm.node, node72]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
319
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service63, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node66, exports_model_resolver };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./location-82mn4p1g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service14
|
|
6
|
+
} from "./location-f5gy8qwh.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin36
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin36 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service47;
|
|
29
|
+
const managed = yield* Service14;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin45 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin36, exports_policy };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info18
|
|
7
|
+
} from "./location-f3ngv102.js";
|
|
8
|
+
import {
|
|
9
|
+
Info17
|
|
10
|
+
} from "./location-3pbjq009.js";
|
|
8
11
|
import {
|
|
9
12
|
Info13
|
|
10
|
-
} from "./
|
|
13
|
+
} from "./location-evbgk2k8.js";
|
|
11
14
|
import {
|
|
12
15
|
Info10
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
Info8
|
|
16
|
-
} from "./workspace-7sbkp4xb.js";
|
|
16
|
+
} from "./location-t2fc4mz5.js";
|
|
17
17
|
import {
|
|
18
18
|
Info12
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-4gycnsfp.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
23
|
-
import {
|
|
24
|
-
Info7
|
|
25
|
-
} from "./workspace-q5t0te5a.js";
|
|
22
|
+
} from "./location-21r38tys.js";
|
|
26
23
|
import {
|
|
27
24
|
Info11
|
|
28
|
-
} from "./
|
|
25
|
+
} from "./location-e6hd9jay.js";
|
|
26
|
+
import {
|
|
27
|
+
Info16
|
|
28
|
+
} from "./location-af04s6ss.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-0jwsre1p.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info15
|
|
34
|
+
} from "./location-wbkyxrgf.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./location-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info14
|
|
40
|
+
} from "./location-vncycja5.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info9,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info9 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info6 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info10)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info14).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info6 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info17), plan: Schema.optional(Info17) }), [Schema.Record(Schema.String, Info17)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info17),
|
|
119
|
+
build: Schema.optional(Info17),
|
|
120
|
+
general: Schema.optional(Info17),
|
|
121
|
+
explore: Schema.optional(Info17),
|
|
122
|
+
title: Schema.optional(Info17),
|
|
123
|
+
summary: Schema.optional(Info17),
|
|
124
|
+
compaction: Schema.optional(Info17)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info17)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info15)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info16, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
130
|
formatter: Schema.optional(Info12).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info11).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info18),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info13).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info6 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info9, exports_config2 };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./location-bsjb98v5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service64
|
|
9
|
+
} from "./location-xd9p6rte.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin8
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin8 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service38;
|
|
26
|
+
const permission = yield* Service64;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin5 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin8, exports_mcp_resource };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./location-6mk1zs0m.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 [ID12.make("gpt-5-chat-latest"), ID12.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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qzyph8ek.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
14
|
Plugin: () => Plugin18,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -55,7 +55,7 @@ var Plugin18 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin18 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint5, Plugin18, exports_tinyfish };
|