@opencode/core 0.0.0-dev-20670 → 0.0.0-dev-20676
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{variant-43a10n5x.js → location-service-map-02ap8hgf.js} +11 -11
- package/dist/chunks/{variant-8whp40kv.js → location-service-map-08rawchj.js} +3 -3
- package/dist/chunks/{variant-7kyq03wq.js → location-service-map-0bqj672y.js} +75 -75
- package/dist/chunks/{variant-96te9d4b.js → location-service-map-0gapa1rm.js} +5 -5
- package/dist/chunks/{variant-q0xm7vwc.js → location-service-map-0j77ygfz.js} +6 -6
- package/dist/chunks/{variant-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
- package/dist/chunks/{variant-11zweyk1.js → location-service-map-11j58wcb.js} +16 -16
- package/dist/chunks/{variant-gtz9hmz6.js → location-service-map-175z9p3h.js} +29 -29
- package/dist/chunks/{variant-mge8kx0v.js → location-service-map-184snskb.js} +26 -26
- package/dist/chunks/{variant-e4znzpr0.js → location-service-map-19t8v49x.js} +29 -29
- package/dist/chunks/{variant-73y8v8y6.js → location-service-map-1azy29z3.js} +1 -1
- package/dist/chunks/{variant-gxre2ca4.js → location-service-map-1bpgn3j1.js} +41 -41
- package/dist/chunks/{variant-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-gsnm7xcg.js → location-service-map-1j9eqnrf.js} +25 -25
- package/dist/chunks/{variant-zr84kw0b.js → location-service-map-1jnd4n2z.js} +48 -48
- package/dist/chunks/{variant-2c6y2vpm.js → location-service-map-1ske5fb0.js} +38 -36
- package/dist/chunks/{variant-gmmdfr2g.js → location-service-map-1xzpbkn4.js} +11 -11
- package/dist/chunks/{variant-56gdpj1q.js → location-service-map-1ygqh575.js} +9 -9
- package/dist/chunks/{variant-9w3q8q8k.js → location-service-map-1yjhkjct.js} +16 -16
- package/dist/chunks/{variant-hbepmwya.js → location-service-map-1zmgywvv.js} +18 -18
- package/dist/chunks/{variant-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-6hay09zr.js → location-service-map-2c4ctngw.js} +30 -30
- package/dist/chunks/{variant-4ts7tf6z.js → location-service-map-2ccvkpx1.js} +2 -2
- package/dist/chunks/{variant-tbmac1c7.js → location-service-map-2k71kv7p.js} +4 -4
- package/dist/chunks/{variant-djszqvmq.js → location-service-map-2sejkfem.js} +9 -9
- package/dist/chunks/{variant-jarn1zxe.js → location-service-map-2vbg8t8g.js} +6 -6
- package/dist/chunks/{variant-qxtmr2bd.js → location-service-map-2xh4f3v5.js} +4 -4
- package/dist/chunks/{variant-4rgynks6.js → location-service-map-2yzjveyy.js} +8 -8
- package/dist/chunks/{variant-npj3fp8d.js → location-service-map-325kx1e5.js} +11 -11
- package/dist/chunks/{variant-zv2rxc3d.js → location-service-map-38bs44c2.js} +6 -6
- package/dist/chunks/{variant-y2dcdtp0.js → location-service-map-394e98e2.js} +9 -9
- package/dist/chunks/{variant-h2b79v29.js → location-service-map-3cegwx68.js} +2 -2
- package/dist/chunks/{variant-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-mm69kq7h.js → location-service-map-3fgnt1g5.js} +20 -20
- package/dist/chunks/{variant-27k4znhv.js → location-service-map-3hegg1r1.js} +34 -34
- package/dist/chunks/{variant-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-mqj33d01.js → location-service-map-3q0tb30h.js} +14 -14
- package/dist/chunks/{variant-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-anzb5n5e.js → location-service-map-3vzqx2de.js} +30 -30
- package/dist/chunks/{variant-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-pddh4aqp.js → location-service-map-450z7n67.js} +9 -9
- package/dist/chunks/{variant-g4yyayt9.js → location-service-map-4c12s6k2.js} +5 -5
- package/dist/chunks/{variant-yrm0szr2.js → location-service-map-4pnaszbr.js} +19 -19
- package/dist/chunks/{variant-tc2bp7te.js → location-service-map-4wrkd8nn.js} +11 -11
- package/dist/chunks/{variant-1ypt9myv.js → location-service-map-4yzb4k77.js} +30 -30
- package/dist/chunks/{variant-pwkca9pk.js → location-service-map-50c6c5t8.js} +3 -3
- package/dist/chunks/{variant-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
- package/dist/chunks/{variant-y77dm3c4.js → location-service-map-56bmv1jq.js} +15 -15
- package/dist/chunks/{variant-hj5zw0v5.js → location-service-map-5b9bq1rj.js} +23 -23
- package/dist/chunks/{variant-363vysxk.js → location-service-map-5bsr47cr.js} +12 -12
- package/dist/chunks/{variant-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-273qqx2t.js → location-service-map-5f4txd3a.js} +5 -5
- package/dist/chunks/{variant-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{variant-7qt3axmk.js → location-service-map-5r8mhc2e.js} +18 -18
- package/dist/chunks/{variant-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-q74y9j8r.js → location-service-map-5te2wr9w.js} +11 -11
- package/dist/chunks/{variant-magykp64.js → location-service-map-5wtwrezn.js} +21 -21
- package/dist/chunks/{variant-8pypt00x.js → location-service-map-6d6dcgkd.js} +13 -13
- package/dist/chunks/{variant-a7zpr1c3.js → location-service-map-6gb5ybxr.js} +15 -15
- package/dist/chunks/{variant-85cf5a55.js → location-service-map-6hjr6ee9.js} +7 -7
- package/dist/chunks/{variant-3ftpg69t.js → location-service-map-6n9j43ss.js} +20 -20
- package/dist/chunks/{variant-kg3zg8yk.js → location-service-map-6qmzkyd7.js} +34 -34
- package/dist/chunks/{variant-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
- package/dist/chunks/{variant-gfds2h31.js → location-service-map-7agpffj5.js} +21 -21
- package/dist/chunks/{variant-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-a1n2n4d8.js → location-service-map-7dgtb3sy.js} +27 -27
- package/dist/chunks/{variant-2k8khapm.js → location-service-map-7dqw4kz8.js} +5 -5
- package/dist/chunks/{variant-4wk8r1at.js → location-service-map-7pzbknk5.js} +18 -18
- package/dist/chunks/{variant-srk0zn0s.js → location-service-map-7vwv1ctf.js} +39 -39
- package/dist/chunks/{variant-az8dgmmc.js → location-service-map-7yqn6t2d.js} +11 -11
- package/dist/chunks/{variant-3r1fp5nk.js → location-service-map-83ceevpg.js} +5 -5
- package/dist/chunks/{variant-1dvck2a7.js → location-service-map-84h8c373.js} +2 -2
- package/dist/chunks/{variant-fqtvmpfq.js → location-service-map-892mrmp0.js} +8 -8
- package/dist/chunks/{variant-1fbkv74j.js → location-service-map-8aencfgk.js} +9 -9
- package/dist/chunks/{variant-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-was7srj9.js → location-service-map-8mfdap3f.js} +8 -8
- package/dist/chunks/{variant-gwyfdq8m.js → location-service-map-8nqcfcr1.js} +24 -24
- package/dist/chunks/{variant-qvpfanze.js → location-service-map-8p3dxnqd.js} +6 -6
- package/dist/chunks/{variant-5evreb3e.js → location-service-map-8qkqmygm.js} +9 -9
- package/dist/chunks/{variant-y5rf7nzv.js → location-service-map-8wbxkt1z.js} +4 -4
- package/dist/chunks/{variant-r42cqwsc.js → location-service-map-8wknmqy6.js} +41 -41
- package/dist/chunks/{variant-w0033jfm.js → location-service-map-96c8tg89.js} +15 -15
- package/dist/chunks/{variant-k7xgtgde.js → location-service-map-9c5rr9n3.js} +11 -11
- package/dist/chunks/location-service-map-9cv4zsas.js +26 -0
- package/dist/chunks/{variant-fa9g1mnx.js → location-service-map-9qyb5gne.js} +18 -18
- package/dist/chunks/{variant-34bswkv4.js → location-service-map-9rsdwp92.js} +42 -42
- package/dist/chunks/{variant-bf28q0c2.js → location-service-map-9ser2t9j.js} +13 -13
- package/dist/chunks/{variant-wv396vej.js → location-service-map-9t7a50xb.js} +6 -6
- package/dist/chunks/{variant-fzf3d4e0.js → location-service-map-9y0pke98.js} +28 -28
- package/dist/chunks/{variant-a1gpj94z.js → location-service-map-a1gpj94z.js} +1 -1
- package/dist/chunks/{variant-7zjc8zg2.js → location-service-map-a27tyv5c.js} +6 -6
- package/dist/chunks/{variant-36zr3dcy.js → location-service-map-a4fvnfmb.js} +4 -4
- package/dist/chunks/{variant-eqkxs06z.js → location-service-map-a4mewc9c.js} +6 -6
- package/dist/chunks/{variant-bdm4x938.js → location-service-map-a7bcxdzj.js} +9 -9
- package/dist/chunks/{variant-vrc7s6sw.js → location-service-map-a7wkqhsb.js} +13 -13
- package/dist/chunks/{variant-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-mf5w15f6.js → location-service-map-aed87xjs.js} +5 -5
- package/dist/chunks/{variant-3ha3xwk3.js → location-service-map-aeg6eyha.js} +19 -19
- package/dist/chunks/{variant-9s3nv18s.js → location-service-map-ahv44ny0.js} +12 -12
- package/dist/chunks/{variant-5gxvh74d.js → location-service-map-ak7pz24p.js} +16 -12
- package/dist/chunks/{variant-dgqg0y62.js → location-service-map-amyk267s.js} +28 -28
- package/dist/chunks/{variant-zy58z06m.js → location-service-map-avxkmpf6.js} +9 -9
- package/dist/chunks/{variant-vv8y31wj.js → location-service-map-awng3dnh.js} +12 -12
- package/dist/chunks/{variant-zpn6vsrm.js → location-service-map-aytqzqr5.js} +48 -48
- package/dist/chunks/{variant-j3hvrqpy.js → location-service-map-b1vm559f.js} +6 -6
- package/dist/chunks/{variant-zyk1yjk8.js → location-service-map-b3f8fkhc.js} +5 -5
- package/dist/chunks/{variant-jktqzjpa.js → location-service-map-b4twkq7r.js} +4 -4
- package/dist/chunks/{variant-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-w8pj8qhp.js → location-service-map-b9nzwy47.js} +28 -28
- package/dist/chunks/{variant-fj7dxcp8.js → location-service-map-bvnz36at.js} +28 -28
- package/dist/chunks/{variant-fmp6ttz0.js → location-service-map-c2wgan0f.js} +11 -11
- package/dist/chunks/{variant-hcxj4rsa.js → location-service-map-cds2n5n0.js} +42 -42
- package/dist/chunks/{variant-vfvegtrt.js → location-service-map-ctnq4dsf.js} +19 -19
- package/dist/chunks/{variant-96ctqc5x.js → location-service-map-dbv05mm3.js} +4 -4
- package/dist/chunks/{variant-xkntkrq7.js → location-service-map-dmqcgk4z.js} +5 -5
- package/dist/chunks/{variant-tfsj2qc7.js → location-service-map-dr6x92kd.js} +43 -43
- package/dist/chunks/location-service-map-dxj72tfx.js +18 -0
- package/dist/chunks/{variant-5qd3pb7m.js → location-service-map-e3qxr5gk.js} +2 -2
- package/dist/chunks/{variant-p1dchzeh.js → location-service-map-ecf0mzvt.js} +9 -9
- package/dist/chunks/{variant-g96ergdg.js → location-service-map-edhez49w.js} +33 -33
- package/dist/chunks/{variant-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-1aaptxkf.js → location-service-map-ejaq5k43.js} +19 -19
- package/dist/chunks/{variant-13phwz10.js → location-service-map-ekyddhpf.js} +4 -4
- package/dist/chunks/{variant-kzht0r54.js → location-service-map-enm5kfpk.js} +11 -11
- package/dist/chunks/{variant-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-vbhjmb5m.js → location-service-map-evtrk6k9.js} +8 -8
- package/dist/chunks/{variant-12r2p6ep.js → location-service-map-evw1vbjj.js} +19 -19
- package/dist/chunks/{variant-2weejz9f.js → location-service-map-ew67yh0c.js} +5 -5
- package/dist/chunks/{variant-9vqn762s.js → location-service-map-f1v9fw78.js} +4 -4
- package/dist/chunks/{variant-8xxgh2t9.js → location-service-map-f323m8zj.js} +27 -27
- package/dist/chunks/{variant-a5hrzf2z.js → location-service-map-f47nxccf.js} +3 -3
- package/dist/chunks/{variant-genng97f.js → location-service-map-f5311cxz.js} +2 -2
- package/dist/chunks/location-service-map-f6daj2pg.js +507 -0
- package/dist/chunks/{variant-71az546q.js → location-service-map-f75zav2x.js} +2 -2
- package/dist/chunks/{variant-tj9v0x4b.js → location-service-map-f8wxzn9z.js} +11 -11
- package/dist/chunks/{variant-5a9dmyae.js → location-service-map-f9c4ha4g.js} +28 -28
- package/dist/chunks/{variant-qyzq8tdf.js → location-service-map-fb3czpaz.js} +7 -7
- package/dist/chunks/{variant-hb96kx89.js → location-service-map-ff7yw72f.js} +18 -18
- package/dist/chunks/{variant-bydnjh3t.js → location-service-map-ftjf86m5.js} +9 -9
- package/dist/chunks/{variant-mxtpa36p.js → location-service-map-fwd3p1cx.js} +15 -15
- package/dist/chunks/{variant-2yxe94w7.js → location-service-map-g4dv7bvc.js} +8 -8
- package/dist/chunks/{variant-w19d8598.js → location-service-map-g5w8qwbj.js} +7 -7
- package/dist/chunks/{variant-v44y4b59.js → location-service-map-g8p0k12n.js} +14 -14
- package/dist/chunks/{variant-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-fcncf75j.js → location-service-map-gjjzmrg1.js} +20 -20
- package/dist/chunks/{variant-yj7yjf4r.js → location-service-map-grvv2rqy.js} +22 -22
- package/dist/chunks/{variant-mqkwkb58.js → location-service-map-gy15s2w2.js} +17 -17
- package/dist/chunks/{variant-e842s4t9.js → location-service-map-gyc5zbfz.js} +28 -28
- package/dist/chunks/{variant-zxsy4by3.js → location-service-map-h2kr4rkv.js} +34 -34
- package/dist/chunks/{variant-4ca69wfz.js → location-service-map-h5f6c4sz.js} +26 -26
- package/dist/chunks/{variant-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-4xpgt2w9.js → location-service-map-h83xjv7f.js} +5 -5
- package/dist/chunks/{variant-gw7cjrad.js → location-service-map-h9wp8z5w.js} +4 -4
- package/dist/chunks/{variant-d646jtrt.js → location-service-map-hbd3aq53.js} +14 -14
- package/dist/chunks/{variant-ygtb1s3e.js → location-service-map-hz5d2qnw.js} +8 -8
- package/dist/chunks/{variant-14mf7nj2.js → location-service-map-j2ags8d8.js} +3 -3
- package/dist/chunks/{variant-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-zhwjstx1.js → location-service-map-j7wrvvyd.js} +28 -28
- package/dist/chunks/{variant-psjjct8g.js → location-service-map-jzcv0qpc.js} +14 -14
- package/dist/chunks/{variant-8m5xe4tx.js → location-service-map-k185drda.js} +9 -9
- package/dist/chunks/location-service-map-k6m70d57.js +253 -0
- package/dist/chunks/{variant-ckf8nxjz.js → location-service-map-k76fn4kw.js} +4 -4
- package/dist/chunks/{variant-9e5bzkjp.js → location-service-map-kb9j3d72.js} +3 -3
- package/dist/chunks/{variant-5ejk7f0k.js → location-service-map-kcz43jmd.js} +13 -13
- package/dist/chunks/{variant-rgx9nb55.js → location-service-map-kwwqe74w.js} +7 -7
- package/dist/chunks/{variant-c1enaq1p.js → location-service-map-m011ww83.js} +58 -58
- package/dist/chunks/{variant-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-1bg0pxyr.js → location-service-map-m57273zm.js} +1 -1
- package/dist/chunks/{variant-ye8czdsw.js → location-service-map-m9mf0r2p.js} +24 -24
- package/dist/chunks/{variant-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-2vjdd89t.js → location-service-map-mec1k519.js} +60 -60
- package/dist/chunks/{variant-ncv9kjc6.js → location-service-map-mgs9qbr4.js} +11 -11
- package/dist/chunks/{variant-bytkh039.js → location-service-map-my4xzb9n.js} +11 -11
- package/dist/chunks/{variant-bf1ejp41.js → location-service-map-n7z4xm27.js} +25 -25
- package/dist/chunks/{variant-rhraev7y.js → location-service-map-nkf980df.js} +4 -4
- package/dist/chunks/{variant-dpkg50ah.js → location-service-map-nxm207yx.js} +4 -4
- package/dist/chunks/{variant-sjryg82s.js → location-service-map-nxn85c58.js} +13 -13
- package/dist/chunks/{variant-wyec3xap.js → location-service-map-p27g6bxy.js} +3 -3
- package/dist/chunks/{variant-takqf31v.js → location-service-map-p5045ta7.js} +31 -31
- package/dist/chunks/{variant-bvh7grhs.js → location-service-map-p6raj4b6.js} +1 -1
- package/dist/chunks/{variant-s1nb2eev.js → location-service-map-p72tdqb0.js} +33 -33
- package/dist/chunks/{variant-90nsq7vp.js → location-service-map-p999hyvt.js} +13 -13
- package/dist/chunks/{variant-76p9kcxt.js → location-service-map-pa1hgbv6.js} +23 -23
- package/dist/chunks/{variant-cmwkp3r5.js → location-service-map-pa8pe2x7.js} +8 -8
- package/dist/chunks/{variant-c7yhx3mn.js → location-service-map-pbkc6z0x.js} +30 -30
- package/dist/chunks/{variant-zpg27evg.js → location-service-map-ph6hkvqz.js} +21 -21
- package/dist/chunks/{variant-ajbd8md1.js → location-service-map-ph6vza46.js} +21 -21
- package/dist/chunks/{variant-s3rfr38d.js → location-service-map-pj2ztazb.js} +6 -6
- package/dist/chunks/{variant-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{variant-0ryd0fps.js → location-service-map-pp7e5es3.js} +5 -5
- package/dist/chunks/{variant-xfwm1nrf.js → location-service-map-psvvfma6.js} +32 -32
- package/dist/chunks/{variant-bw5kq8m8.js → location-service-map-pthq0dnh.js} +11 -11
- package/dist/chunks/{variant-6tqx1ph1.js → location-service-map-q3ajnrbc.js} +11 -11
- package/dist/chunks/{variant-jyapyf9t.js → location-service-map-q6j3y7mw.js} +11 -11
- package/dist/chunks/{variant-vms99gx2.js → location-service-map-q6jc51jp.js} +6 -6
- package/dist/chunks/{variant-w1d288hs.js → location-service-map-qaybkfxq.js} +11 -11
- package/dist/chunks/{variant-e4qpf6ew.js → location-service-map-qbhax9c1.js} +42 -42
- package/dist/chunks/{variant-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{variant-778zdafs.js → location-service-map-qpz47a73.js} +2 -2
- package/dist/chunks/{variant-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-fj13q4zb.js → location-service-map-qv69242q.js} +11 -11
- package/dist/chunks/{variant-eeaf82dq.js → location-service-map-qvb3nf84.js} +8 -8
- package/dist/chunks/{variant-xyafkbt0.js → location-service-map-qxjc9qry.js} +3 -3
- package/dist/chunks/{variant-zv5357n6.js → location-service-map-qy5rkdh4.js} +48 -48
- package/dist/chunks/{variant-24zt9st4.js → location-service-map-qz19f2ca.js} +3 -3
- package/dist/chunks/{variant-kwdfxrj7.js → location-service-map-r0k7g56y.js} +11 -11
- package/dist/chunks/{variant-3jmpz8k1.js → location-service-map-r2c3c0ss.js} +1 -1
- package/dist/chunks/{variant-7gak28c2.js → location-service-map-r2ppdy3s.js} +11 -11
- package/dist/chunks/{variant-v5dkyp31.js → location-service-map-ratrq7cm.js} +4 -4
- package/dist/chunks/{variant-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-s37hkjzm.js → location-service-map-rq6rwtv7.js} +11 -11
- package/dist/chunks/{variant-37rf5trb.js → location-service-map-rzqryg3a.js} +18 -18
- package/dist/chunks/{variant-ynjzq9s0.js → location-service-map-s3ntfkf5.js} +21 -21
- package/dist/chunks/{variant-y6hcfz9t.js → location-service-map-s7bwdk4y.js} +11 -11
- package/dist/chunks/{variant-f6es3tce.js → location-service-map-sdc6xxdr.js} +26 -26
- package/dist/chunks/{variant-y2j1t95j.js → location-service-map-sendxm4e.js} +16 -16
- package/dist/chunks/{variant-68hxq47m.js → location-service-map-smzvt7r2.js} +30 -30
- package/dist/chunks/{variant-k70p9jzb.js → location-service-map-srq8z0b0.js} +9 -9
- package/dist/chunks/{variant-gkh8nh6z.js → location-service-map-ssc7andz.js} +23 -23
- package/dist/chunks/{variant-j0x50v7v.js → location-service-map-sx9yt0qx.js} +13 -13
- package/dist/chunks/{variant-cz9840fe.js → location-service-map-szgjrnac.js} +33 -33
- package/dist/chunks/{variant-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-vhk0jjay.js → location-service-map-tbn4207b.js} +4 -4
- package/dist/chunks/{variant-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{variant-tpk0zy7s.js → location-service-map-tvekrvpv.js} +13 -13
- package/dist/chunks/{variant-09a75c85.js → location-service-map-tyx2gxt0.js} +34 -34
- package/dist/chunks/{variant-6x68kpm5.js → location-service-map-tyxqw1k3.js} +14 -14
- package/dist/chunks/{variant-y4xh0pmk.js → location-service-map-v0es1rhs.js} +7 -7
- package/dist/chunks/{variant-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-baep62j8.js → location-service-map-vg7sm5hz.js} +90 -90
- package/dist/chunks/{variant-rh1z4y1h.js → location-service-map-vrz4pw5b.js} +31 -31
- package/dist/chunks/{variant-saa5sm41.js → location-service-map-vtntxqkx.js} +5 -5
- package/dist/chunks/{variant-sehwt9te.js → location-service-map-vw16m3bh.js} +19 -19
- package/dist/chunks/{variant-68b4ewtf.js → location-service-map-vy61f7p0.js} +6 -6
- package/dist/chunks/{variant-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{variant-84txncab.js → location-service-map-w1eejvng.js} +5 -5
- package/dist/chunks/{variant-fq7d5agy.js → location-service-map-w1pw22f8.js} +43 -43
- package/dist/chunks/{variant-m2c06fa4.js → location-service-map-w3ht8xf8.js} +10 -10
- package/dist/chunks/{variant-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-kb1yqcjd.js → location-service-map-w5149683.js} +25 -25
- package/dist/chunks/{variant-dg6dbwk8.js → location-service-map-wc1gtajg.js} +6 -6
- package/dist/chunks/{variant-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{variant-wzgtrbaw.js → location-service-map-wehxh746.js} +5 -5
- package/dist/chunks/{variant-qfyvnv8a.js → location-service-map-wj25t1v6.js} +45 -45
- package/dist/chunks/{variant-47rh35ks.js → location-service-map-wshpgqwz.js} +12 -12
- package/dist/chunks/{variant-p23nk964.js → location-service-map-x1skv0g2.js} +8 -8
- package/dist/chunks/{variant-vnk7j1ms.js → location-service-map-x4sqrdsf.js} +11 -11
- package/dist/chunks/{variant-db2wf4at.js → location-service-map-x661k3y3.js} +4 -4
- package/dist/chunks/{variant-jhyh6f4e.js → location-service-map-xamp5sn5.js} +34 -34
- package/dist/chunks/{variant-at1j3wg7.js → location-service-map-xdc1v96w.js} +9 -9
- package/dist/chunks/{variant-4arb9zza.js → location-service-map-xfk06v0t.js} +8 -8
- package/dist/chunks/{variant-04ah9brh.js → location-service-map-xmy875w3.js} +4 -4
- package/dist/chunks/{variant-pje0b5e4.js → location-service-map-xw2650a4.js} +24 -24
- package/dist/chunks/{variant-z053hk1w.js → location-service-map-xzfz3f2s.js} +22 -22
- package/dist/chunks/{variant-43hb2m25.js → location-service-map-y069cswa.js} +5 -5
- package/dist/chunks/{variant-av9e2wha.js → location-service-map-y0hd39tq.js} +5 -5
- package/dist/chunks/{variant-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-fa263v27.js → location-service-map-y469akzv.js} +76 -76
- package/dist/chunks/{variant-av38vskm.js → location-service-map-y60kwh1p.js} +5 -5
- package/dist/chunks/{variant-dkkxy9wz.js → location-service-map-y940h5xz.js} +24 -24
- package/dist/chunks/{variant-43myjda7.js → location-service-map-ydsqnbec.js} +11 -11
- package/dist/chunks/{variant-yj81bjva.js → location-service-map-yjt29acb.js} +7 -7
- package/dist/chunks/{variant-t10yzrjw.js → location-service-map-ykh0j0pf.js} +316 -316
- package/dist/chunks/{variant-pkqb68ka.js → location-service-map-ykt494b9.js} +4 -4
- package/dist/chunks/{variant-7zt5x37y.js → location-service-map-yqc6bamn.js} +1 -1
- package/dist/chunks/{variant-6apymsef.js → location-service-map-ysh6fhh8.js} +17 -17
- package/dist/chunks/{variant-8d7mxkd3.js → location-service-map-yv3xr3ac.js} +3 -3
- package/dist/chunks/{variant-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-jhbzetc7.js → location-service-map-z8kqchpa.js} +158 -158
- package/dist/chunks/{variant-p5p5kne1.js → location-service-map-zfme70y8.js} +2 -2
- package/dist/chunks/{variant-n8vdnqrc.js → location-service-map-zmr78fwr.js} +5 -5
- package/dist/chunks/{variant-22myzpse.js → location-service-map-zq8j9q38.js} +21 -21
- package/dist/chunks/{variant-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -85
- package/dist/database/database.js +70 -70
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +74 -74
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- 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 +117 -117
- 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 +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- 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 +3 -3
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +126 -126
- 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 +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/credential/sql.d.ts +6 -0
- package/dist/types/credential.d.ts +14 -0
- package/dist/types/filesystem.d.ts +11 -5
- package/dist/types/integration/connection.d.ts +2 -2
- package/dist/types/integration.d.ts +2 -2
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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 +85 -85
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/variant-2jm8wccg.js +0 -26
- package/dist/chunks/variant-619r8v3y.js +0 -18
- package/dist/chunks/variant-7nkk035h.js +0 -253
- package/dist/chunks/variant-xm1s6dzm.js +0 -507
- /package/dist/chunks/{variant-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./location-service-map-1bpgn3j1.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service46
|
|
13
|
+
} from "./location-service-map-7agpffj5.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service55
|
|
16
|
+
} from "./location-service-map-11j58wcb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service56
|
|
19
|
+
} from "./location-service-map-mec1k519.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service13,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-fwd3p1cx.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service77,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-service-map-xzfz3f2s.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError6,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service40
|
|
37
|
+
} from "./location-service-map-cds2n5n0.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./location-service-map-vg7sm5hz.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-service-map-tbn4207b.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input5,
|
|
53
|
+
Plugin: () => Plugin22,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name5
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name5 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input5 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin22 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service24;
|
|
123
|
+
const jobs = yield* Service55;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service46;
|
|
126
|
+
const access = yield* Service13;
|
|
127
|
+
const shell = yield* Service40;
|
|
128
|
+
const shellSelect = yield* Service77;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service56;
|
|
131
|
+
const config = yield* Service63;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin7 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name5,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin7 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name5,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input5,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name5,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name5];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin22, exports_shell };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service46,
|
|
8
|
+
node49
|
|
9
|
+
} from "./location-service-map-7agpffj5.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-ak7pz24p.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service10,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node12,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service10 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service46;
|
|
335
|
+
return Service10.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node12 = makeLocationNode({ service: Service10, layer, deps: [node49] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service10, read2, node12, exports_read_filesystem };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-8p3dxnqd.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-qz19f2ca.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service81,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node85
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -32,9 +32,9 @@ var Options11 = Schema.Struct({
|
|
|
32
32
|
path: Schema.optional(Schema.String)
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service81 extends Context.Service()("@opencode/storage/Database") {
|
|
36
36
|
}
|
|
37
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
37
|
+
var databaseLayer = (lock) => Layer.effect(Service81, Effect.gen(function* () {
|
|
38
38
|
const db = yield* makeDatabase;
|
|
39
39
|
if (supportsTuningPragmas) {
|
|
40
40
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -82,15 +82,15 @@ async function restrictToOwner(filename) {
|
|
|
82
82
|
}
|
|
83
83
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
84
84
|
function configured13(options) {
|
|
85
|
-
return makeGlobalNode({ service:
|
|
85
|
+
return makeGlobalNode({ service: Service81, layer: layer26(options), deps: [Global.node] });
|
|
86
86
|
}
|
|
87
87
|
function configuredClient2(client) {
|
|
88
88
|
return makeGlobalNode({
|
|
89
|
-
service:
|
|
89
|
+
service: Service81,
|
|
90
90
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
91
91
|
deps: [Global.node]
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
|
-
var
|
|
94
|
+
var node85 = configured13({ path: ":memory:" });
|
|
95
95
|
|
|
96
|
-
export { Options11,
|
|
96
|
+
export { Options11, Service81, layer26, layerFromClient2, configured13, configuredClient2, node85, exports_database };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin8
|
|
3
|
+
} from "./location-service-map-8mfdap3f.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin4
|
|
6
|
+
} from "./location-service-map-38bs44c2.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin7
|
|
9
|
+
} from "./location-service-map-ecf0mzvt.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin6
|
|
12
|
+
} from "./location-service-map-ew67yh0c.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin5
|
|
15
|
+
} from "./location-service-map-vy61f7p0.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin8,
|
|
20
|
+
Plugin4,
|
|
21
|
+
Plugin7,
|
|
22
|
+
Plugin6,
|
|
23
|
+
Plugin5
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info6,
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-amyk267s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service63
|
|
11
|
+
} from "./location-service-map-1bpgn3j1.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin10,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin10 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info6.make({
|
|
434
|
+
id: ID4.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info6.make({
|
|
441
|
+
id: ID4.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service63;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin10, exports_skill };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service72,
|
|
4
|
+
node76
|
|
5
|
+
} from "./location-service-map-3hegg1r1.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service71,
|
|
18
|
+
node75
|
|
19
|
+
} from "./location-service-map-ykh0j0pf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service62,
|
|
22
|
+
node66
|
|
23
|
+
} from "./location-service-map-r2ppdy3s.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID10,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
28
|
Service66,
|
|
29
29
|
node70,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-service-map-gyc5zbfz.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service61,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
47
47
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
|
-
layer: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
layer: () => layer22,
|
|
51
|
+
node: () => node65,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
58
58
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
59
59
|
import { Npm } from "@opencode/util/npm";
|
|
60
60
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
61
|
-
providerID:
|
|
62
|
-
modelID:
|
|
61
|
+
providerID: ID11,
|
|
62
|
+
modelID: ID10,
|
|
63
63
|
variant: VariantID2
|
|
64
64
|
}) {
|
|
65
65
|
get message() {
|
|
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
71
|
-
providerID:
|
|
72
|
-
modelID:
|
|
71
|
+
providerID: ID11,
|
|
72
|
+
modelID: ID10,
|
|
73
73
|
package: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
get message() {
|
|
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
79
79
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
80
80
|
|
|
81
81
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
82
|
-
providerID:
|
|
83
|
-
modelID:
|
|
82
|
+
providerID: ID11,
|
|
83
|
+
modelID: ID10,
|
|
84
84
|
package: Schema.String,
|
|
85
85
|
detail: Schema.String
|
|
86
86
|
}) {
|
|
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
93
|
-
providerID:
|
|
94
|
-
modelID:
|
|
93
|
+
providerID: ID11,
|
|
94
|
+
modelID: ID10,
|
|
95
95
|
package: Schema.String,
|
|
96
96
|
phase: InitializationPhase2,
|
|
97
97
|
detail: Schema.String
|
|
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
105
|
-
providerID:
|
|
106
|
-
modelID:
|
|
105
|
+
providerID: ID11,
|
|
106
|
+
modelID: ID10,
|
|
107
107
|
variables: Schema.Array(Schema.String)
|
|
108
108
|
}) {
|
|
109
109
|
get message() {
|
|
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
115
|
-
providerID:
|
|
116
|
-
modelID:
|
|
115
|
+
providerID: ID11,
|
|
116
|
+
modelID: ID10,
|
|
117
117
|
route: Schema.String
|
|
118
118
|
}) {
|
|
119
119
|
get message() {
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service61 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -231,7 +231,7 @@ function unresolvedProviderVariables(model, baseURL) {
|
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
233
|
var nativeCredentialSettings = (specifier, credential) => {
|
|
234
|
-
if (!credential)
|
|
234
|
+
if (!credential || credential.type === "external")
|
|
235
235
|
return {};
|
|
236
236
|
if (credential.type === "key")
|
|
237
237
|
return { apiKey: credential.key };
|
|
@@ -265,15 +265,15 @@ var causeMessage = (cause) => {
|
|
|
265
265
|
};
|
|
266
266
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
267
267
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
268
|
-
var
|
|
269
|
-
const providers = yield*
|
|
268
|
+
var layer22 = Layer.effect(Service61, Effect.gen(function* () {
|
|
269
|
+
const providers = yield* Service71;
|
|
270
270
|
const models = yield* Service66;
|
|
271
|
-
const integrations = yield*
|
|
271
|
+
const integrations = yield* Service72;
|
|
272
272
|
const npm = yield* Npm.Service;
|
|
273
|
-
const aisdk = yield*
|
|
273
|
+
const aisdk = yield* Service62;
|
|
274
274
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
275
275
|
const provider = yield* providers.get(selected.providerID);
|
|
276
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
276
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
|
|
277
277
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
278
278
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
279
279
|
const runtimeInfo = {
|
|
@@ -300,7 +300,7 @@ var layer20 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
300
300
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
301
301
|
};
|
|
302
302
|
});
|
|
303
|
-
return
|
|
303
|
+
return Service61.of({
|
|
304
304
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
305
305
|
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((model) => hasPackage2(model) && supportsText2(model)))));
|
|
306
306
|
if (!selected)
|
|
@@ -317,10 +317,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
317
317
|
const name = packageName2(packageName);
|
|
318
318
|
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/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
319
319
|
}
|
|
320
|
-
var
|
|
321
|
-
service:
|
|
322
|
-
layer:
|
|
323
|
-
deps: [
|
|
320
|
+
var node65 = makeLocationNode({
|
|
321
|
+
service: Service61,
|
|
322
|
+
layer: layer22,
|
|
323
|
+
deps: [node75, node70, node76, Npm.node, node66]
|
|
324
324
|
});
|
|
325
325
|
|
|
326
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
326
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service61, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node65, exports_model_resolver };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service61,
|
|
3
|
+
node65
|
|
4
|
+
} from "./location-service-map-9rsdwp92.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-08rawchj.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service54,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node58,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service54 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service61;
|
|
59
|
+
return Service54.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node58 = makeLocationNode({ service: Service54, layer, deps: [node65] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service54, resolved2, node58, exports_model };
|