@opencode/core 0.0.0-dev-21474 → 0.0.0-dev-21483
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{shell-kgkxj8pd.js → location-services-0088hgpq.js} +3 -3
- package/dist/chunks/{shell-0javqkgf.js → location-services-00bmw6dv.js} +7 -7
- package/dist/chunks/{shell-xdbrd9pk.js → location-services-017jfkex.js} +20 -20
- package/dist/chunks/{shell-02mvvr71.js → location-services-02mvvr71.js} +3 -3
- package/dist/chunks/{shell-pc1v25hk.js → location-services-033a0jkt.js} +3 -3
- package/dist/chunks/{shell-zmbfn0by.js → location-services-0b92t0px.js} +22 -22
- package/dist/chunks/{shell-fpzg53qc.js → location-services-0dr834kb.js} +82 -82
- package/dist/chunks/{shell-wbgabvvj.js → location-services-0r3c1bmw.js} +5 -5
- package/dist/chunks/{shell-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
- package/dist/chunks/{shell-4x3rb0w8.js → location-services-0vzwrjx3.js} +3 -3
- package/dist/chunks/{shell-p9czke70.js → location-services-145f4ta5.js} +5 -5
- package/dist/chunks/{shell-yg3cazfx.js → location-services-16zhtxdn.js} +83 -83
- package/dist/chunks/{shell-x4bpn50y.js → location-services-1bmjpwsq.js} +24 -24
- package/dist/chunks/{shell-cmhag69x.js → location-services-1dx73nbb.js} +17 -17
- package/dist/chunks/{shell-bzeyqsqd.js → location-services-1ep4rre3.js} +4 -4
- package/dist/chunks/{shell-avvce0kw.js → location-services-1n9zhxgv.js} +4 -4
- package/dist/chunks/{shell-9k8pcz7j.js → location-services-1wmbrwvp.js} +23 -23
- package/dist/chunks/{shell-n7d88tpn.js → location-services-1xb40zjp.js} +3 -3
- package/dist/chunks/{shell-fkedvtkk.js → location-services-21c3awqt.js} +1 -1
- package/dist/chunks/{shell-ahkdh84r.js → location-services-22y59cnz.js} +33 -33
- package/dist/chunks/{shell-txf768b9.js → location-services-24a9h220.js} +34 -34
- package/dist/chunks/{shell-qe3epw5x.js → location-services-2652ep8t.js} +9 -9
- package/dist/chunks/{shell-1ep2p91f.js → location-services-27w5k9zf.js} +2 -2
- package/dist/chunks/{shell-j9pc77qk.js → location-services-2db5x9db.js} +18 -18
- package/dist/chunks/{shell-jdgd2e3k.js → location-services-2kasjqny.js} +17 -17
- package/dist/chunks/{shell-edex00km.js → location-services-2vvfsge7.js} +20 -20
- package/dist/chunks/{shell-ey8ah1zs.js → location-services-31b85b7b.js} +16 -16
- package/dist/chunks/{shell-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3hwn7j4h.js → location-services-3hwn7j4h.js} +2 -2
- package/dist/chunks/{shell-gwq75z1b.js → location-services-3n1nrack.js} +11 -11
- package/dist/chunks/{shell-p8dm3ep0.js → location-services-3q51vhk7.js} +5 -5
- package/dist/chunks/{shell-c1qkpkxj.js → location-services-3rmyxsge.js} +30 -30
- package/dist/chunks/{shell-tzxxmegj.js → location-services-3s6k3ere.js} +14 -14
- package/dist/chunks/{shell-gjrenmtf.js → location-services-3t5zcd75.js} +40 -40
- package/dist/chunks/{shell-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-bf4y5pbw.js → location-services-3wcva4g9.js} +57 -57
- package/dist/chunks/{shell-trehngv2.js → location-services-3x8nx958.js} +11 -11
- package/dist/chunks/{shell-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
- package/dist/chunks/{shell-rmxqhsb7.js → location-services-425ccttq.js} +4 -4
- package/dist/chunks/{shell-z65fybyq.js → location-services-49rmqp7p.js} +4 -4
- package/dist/chunks/{shell-3z47e1q3.js → location-services-4ab19y44.js} +13 -13
- package/dist/chunks/{shell-53z78fmx.js → location-services-4bvsww0h.js} +9 -9
- package/dist/chunks/{shell-n46qfe0v.js → location-services-4pxk97hc.js} +11 -11
- package/dist/chunks/{shell-5yedj4sq.js → location-services-4rd1fz1t.js} +8 -8
- package/dist/chunks/{shell-274qjpyr.js → location-services-4y208h2p.js} +6 -6
- package/dist/chunks/{shell-54ma36ye.js → location-services-54ma36ye.js} +1 -1
- package/dist/chunks/{shell-5g57z1ma.js → location-services-5g57z1ma.js} +1 -1
- package/dist/chunks/location-services-5gd35bn7.js +523 -0
- package/dist/chunks/{shell-m46yv57x.js → location-services-5gxs4yf4.js} +26 -26
- package/dist/chunks/{shell-h0a9te69.js → location-services-5j3v16nb.js} +17 -17
- package/dist/chunks/{shell-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-azvj0qaf.js → location-services-5myc75wy.js} +15 -15
- package/dist/chunks/{shell-e3qxr5gk.js → location-services-5qd3pb7m.js} +2 -2
- package/dist/chunks/{shell-4zkkyyzw.js → location-services-60n7k9cf.js} +22 -22
- package/dist/chunks/{shell-8jcfdq83.js → location-services-61kmmxt8.js} +15 -15
- package/dist/chunks/{shell-6827pfxn.js → location-services-6827pfxn.js} +1 -1
- package/dist/chunks/{shell-f4bbp22f.js → location-services-6d1cp1rv.js} +19 -19
- package/dist/chunks/{shell-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
- package/dist/chunks/{shell-30846h32.js → location-services-73kdj4zj.js} +8 -8
- package/dist/chunks/{shell-775gj3j1.js → location-services-775gj3j1.js} +2 -2
- package/dist/chunks/{shell-y5prcm51.js → location-services-79zb9bhs.js} +4 -4
- package/dist/chunks/{shell-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-3db5z6nj.js → location-services-7ypp4rnv.js} +27 -27
- package/dist/chunks/{shell-gp1qp977.js → location-services-843de3yw.js} +7 -7
- package/dist/chunks/{shell-tcezcvh9.js → location-services-89znhe33.js} +4 -4
- package/dist/chunks/{shell-vc5fxanm.js → location-services-8c0f7nfv.js} +6 -6
- package/dist/chunks/{shell-8m6m0r52.js → location-services-8m6m0r52.js} +1 -1
- package/dist/chunks/{shell-8mywswrd.js → location-services-8mywswrd.js} +1 -1
- package/dist/chunks/{shell-k63k4b0t.js → location-services-8tv5z6ak.js} +20 -20
- package/dist/chunks/{shell-xw9fg8fb.js → location-services-8vcf4cwr.js} +2 -2
- package/dist/chunks/{shell-1cn4jcr5.js → location-services-8w495gk2.js} +33 -33
- package/dist/chunks/{shell-e0xgvc2t.js → location-services-8x6et5k2.js} +18 -18
- package/dist/chunks/{shell-c3zvns2h.js → location-services-901kmk8q.js} +5 -5
- package/dist/chunks/{shell-h66t4gvj.js → location-services-93fm3gbt.js} +10 -10
- package/dist/chunks/{shell-s7tme0tc.js → location-services-94kkzxgx.js} +21 -21
- package/dist/chunks/{shell-v9xc3wdb.js → location-services-9fp16pdy.js} +29 -29
- package/dist/chunks/{shell-x48888jx.js → location-services-9tacn0cp.js} +2 -2
- package/dist/chunks/{shell-9wev2pgg.js → location-services-9wev2pgg.js} +1 -1
- package/dist/chunks/{shell-prq96jqy.js → location-services-a005vqpx.js} +15 -15
- package/dist/chunks/{shell-cd2jam34.js → location-services-a3q3y9rt.js} +63 -63
- package/dist/chunks/{shell-ek150c57.js → location-services-a8tjnvj7.js} +11 -11
- package/dist/chunks/{shell-sc7vxha7.js → location-services-ab2kwcfn.js} +26 -26
- package/dist/chunks/{shell-z3qxvmgt.js → location-services-ab6c50h3.js} +8 -8
- package/dist/chunks/{shell-r75ymksz.js → location-services-ab9e2s4x.js} +4 -4
- package/dist/chunks/{shell-6gb59z7y.js → location-services-abrvfx35.js} +2 -2
- package/dist/chunks/{shell-svh0p8w5.js → location-services-aephkn6k.js} +16 -16
- package/dist/chunks/{shell-034tev2y.js → location-services-aj7mw0zk.js} +2 -2
- package/dist/chunks/{shell-wb3h0med.js → location-services-att5kks1.js} +8 -8
- package/dist/chunks/{shell-b11a7tx7.js → location-services-b11a7tx7.js} +1 -1
- package/dist/chunks/{shell-vvp3kbkr.js → location-services-b3tnvnaz.js} +35 -35
- package/dist/chunks/{shell-0r1sze87.js → location-services-b7nc7hzq.js} +28 -28
- package/dist/chunks/{shell-myarde17.js → location-services-b80bbmhh.js} +3 -3
- package/dist/chunks/{shell-p9jtbmhc.js → location-services-b9aa7zc1.js} +25 -25
- package/dist/chunks/{shell-s7w7kyay.js → location-services-bd7fs2fx.js} +26 -26
- package/dist/chunks/{shell-q9pe90t0.js → location-services-bfb1bppm.js} +13 -13
- package/dist/chunks/{shell-967benbv.js → location-services-bfegkxfd.js} +11 -11
- package/dist/chunks/{shell-wjr9rjd7.js → location-services-bjx1sjef.js} +6 -6
- package/dist/chunks/{shell-kqv3x6rj.js → location-services-bmr56wjg.js} +9 -9
- package/dist/chunks/{shell-031dz6qq.js → location-services-bnq5h5jy.js} +11 -11
- package/dist/chunks/location-services-by5v678g.js +18 -0
- package/dist/chunks/{shell-9gxde5n1.js → location-services-c7hxxxyp.js} +2 -2
- package/dist/chunks/{shell-d6cmegr0.js → location-services-c872py71.js} +4 -4
- package/dist/chunks/{shell-ggqrcf80.js → location-services-cdejsw9h.js} +15 -15
- package/dist/chunks/{shell-jky0s88p.js → location-services-ceazrv0b.js} +6 -6
- package/dist/chunks/{shell-akbpfsbh.js → location-services-cefvmvdc.js} +9 -9
- package/dist/chunks/{shell-xzp9n4gz.js → location-services-ckrhfdrz.js} +24 -24
- package/dist/chunks/{shell-5d607bsg.js → location-services-cwa6csj7.js} +9 -9
- package/dist/chunks/{shell-d5sr47tk.js → location-services-d84w7xe3.js} +13 -13
- package/dist/chunks/{shell-w2q1tvs9.js → location-services-d8jvv0ec.js} +5 -5
- package/dist/chunks/{shell-zmjz8g0x.js → location-services-dbr0n2s9.js} +4 -4
- package/dist/chunks/{shell-y71avatq.js → location-services-dpkg50ah.js} +4 -4
- package/dist/chunks/{shell-fpneb7zf.js → location-services-dsf21q6n.js} +9 -9
- package/dist/chunks/{shell-1wdr2gyj.js → location-services-dwh1ha31.js} +16 -16
- package/dist/chunks/{shell-9pga77eq.js → location-services-e6pgmvxb.js} +12 -12
- package/dist/chunks/{shell-t550f9t1.js → location-services-eaj1djv9.js} +8 -8
- package/dist/chunks/{shell-eej6y6fw.js → location-services-eej6y6fw.js} +2 -2
- package/dist/chunks/{shell-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-3h206gsx.js → location-services-ev77mj5m.js} +19 -19
- package/dist/chunks/{shell-4mysfaem.js → location-services-fbf8g5kf.js} +3 -3
- package/dist/chunks/{shell-fcy631f0.js → location-services-fcy631f0.js} +1 -1
- package/dist/chunks/{shell-b0v2f3d7.js → location-services-fj4gxrw2.js} +18 -18
- package/dist/chunks/{shell-advv0bgh.js → location-services-fp3f2f8t.js} +10 -10
- package/dist/chunks/{shell-1djwqam2.js → location-services-fq2jkmme.js} +19 -19
- package/dist/chunks/{shell-m12xqqkm.js → location-services-fy4epkp0.js} +48 -48
- package/dist/chunks/{shell-b4w8vgnn.js → location-services-g4ee7aey.js} +25 -25
- package/dist/chunks/{shell-nzgfnq9c.js → location-services-g615vq9v.js} +20 -20
- package/dist/chunks/{shell-518cpg7m.js → location-services-g6c0b4zb.js} +8 -8
- package/dist/chunks/{shell-v4rmv62r.js → location-services-g7nb53qq.js} +30 -30
- package/dist/chunks/{shell-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-addxnjmp.js → location-services-gqtdsdt7.js} +4 -4
- package/dist/chunks/{shell-syv6ahra.js → location-services-gsp86dr9.js} +11 -11
- package/dist/chunks/{shell-5z3ty1st.js → location-services-gwhf5a6z.js} +11 -11
- package/dist/chunks/{shell-d1b87mp8.js → location-services-gz8gzsy9.js} +9 -9
- package/dist/chunks/{shell-k1znrbj8.js → location-services-h1nf48rm.js} +5 -5
- package/dist/chunks/{shell-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-6t4hr8r6.js → location-services-h9pnpq88.js} +4 -4
- package/dist/chunks/location-services-heve72wd.js +26 -0
- package/dist/chunks/{shell-hgz4x7wa.js → location-services-hgz4x7wa.js} +1 -1
- package/dist/chunks/{shell-0y52mb4t.js → location-services-hjywnw43.js} +7 -7
- package/dist/chunks/{shell-q2pe6j31.js → location-services-j08fv27e.js} +26 -26
- package/dist/chunks/{shell-v640fphy.js → location-services-jbkred46.js} +4 -4
- package/dist/chunks/{shell-zhhedqrt.js → location-services-je0gfh2d.js} +31 -31
- package/dist/chunks/{shell-d6sm0xhg.js → location-services-jgmw79v4.js} +14 -14
- package/dist/chunks/{shell-4mpfc065.js → location-services-js8rgvhq.js} +15 -15
- package/dist/chunks/{shell-wkvsvh4e.js → location-services-jv4hjxw8.js} +19 -19
- package/dist/chunks/{shell-7rdmhycs.js → location-services-jzq192br.js} +27 -27
- package/dist/chunks/{shell-atbdcssm.js → location-services-k8h17q08.js} +5 -5
- package/dist/chunks/{shell-f5sdy3zr.js → location-services-kbmz40dk.js} +49 -49
- package/dist/chunks/{shell-zcrspsvn.js → location-services-kne8f3cn.js} +4 -4
- package/dist/chunks/{shell-9dm4tzrk.js → location-services-ktdjqnd1.js} +25 -25
- package/dist/chunks/{shell-kwb1v3vj.js → location-services-kwb1v3vj.js} +1 -1
- package/dist/chunks/{shell-6fp2d1d9.js → location-services-m6kmrfrw.js} +15 -15
- package/dist/chunks/{shell-fw81v0b3.js → location-services-m8kd83bm.js} +24 -24
- package/dist/chunks/{shell-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-maspj1v3.js → location-services-maspj1v3.js} +1 -1
- package/dist/chunks/{shell-18c04net.js → location-services-mb8vr9cj.js} +30 -30
- package/dist/chunks/{shell-8q2dnp38.js → location-services-mbpy8gz2.js} +11 -11
- package/dist/chunks/{shell-7erbtyx3.js → location-services-mk935gd8.js} +11 -11
- package/dist/chunks/{shell-pdb5khhv.js → location-services-mps831tc.js} +18 -18
- package/dist/chunks/{shell-vx3rapja.js → location-services-mpswt61j.js} +1 -1
- package/dist/chunks/{shell-eh45hhbp.js → location-services-msp5r5sf.js} +4 -4
- package/dist/chunks/{shell-rk96c1vx.js → location-services-mtq2s70z.js} +21 -21
- package/dist/chunks/{shell-q4fmv0xv.js → location-services-mtrbqqrq.js} +5 -5
- package/dist/chunks/{shell-8c464aba.js → location-services-mwp52by7.js} +9 -9
- package/dist/chunks/{shell-51f5btjf.js → location-services-mx9vqzsb.js} +6 -6
- package/dist/chunks/{shell-tjrg3twb.js → location-services-n5cj7qt8.js} +163 -163
- package/dist/chunks/{shell-1eezgq1q.js → location-services-nb7z5s00.js} +14 -14
- package/dist/chunks/{shell-aw9wggsx.js → location-services-ncdcg8ym.js} +16 -16
- package/dist/chunks/{shell-qj5ta0kd.js → location-services-ns04qfja.js} +18 -18
- package/dist/chunks/{shell-d9h00asa.js → location-services-nttmvpn0.js} +5 -5
- package/dist/chunks/{shell-fxaymqdw.js → location-services-ny8edt06.js} +4 -4
- package/dist/chunks/{shell-8dqakt6y.js → location-services-p1f7nvnb.js} +14 -14
- package/dist/chunks/{shell-czfptnv9.js → location-services-p37cw4rj.js} +8 -8
- package/dist/chunks/{shell-dgzq35zb.js → location-services-p50c7myx.js} +3 -3
- package/dist/chunks/{shell-d9jtx293.js → location-services-pbgy3jeb.js} +6 -6
- package/dist/chunks/{shell-5vkfphhp.js → location-services-pfnbvfbp.js} +22 -22
- package/dist/chunks/{shell-bacyadyn.js → location-services-ph842b28.js} +4 -4
- package/dist/chunks/{shell-7fdk8hc2.js → location-services-phhza2ec.js} +45 -45
- package/dist/chunks/{shell-ra67jj04.js → location-services-phz50fbd.js} +9 -9
- package/dist/chunks/{shell-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{shell-masm6h4a.js → location-services-pnkecnsq.js} +11 -11
- package/dist/chunks/{shell-kp8q1t60.js → location-services-prq7hedt.js} +9 -9
- package/dist/chunks/{shell-4y64nfaj.js → location-services-prtqdj8e.js} +26 -26
- package/dist/chunks/{shell-cvhewn3n.js → location-services-pvc4tenq.js} +15 -15
- package/dist/chunks/{shell-8sze2n9a.js → location-services-py3kkmfq.js} +6 -6
- package/dist/chunks/{shell-z1ycdyr0.js → location-services-pyf1mk06.js} +11 -11
- package/dist/chunks/{shell-2s6dvjm8.js → location-services-q7ay129d.js} +21 -21
- package/dist/chunks/{shell-b27vhd2z.js → location-services-qa3qhgw8.js} +4 -4
- package/dist/chunks/{shell-qtbmwfhq.js → location-services-qb6g4byk.js} +11 -11
- package/dist/chunks/{shell-7dqw4kz8.js → location-services-qgn6gcr1.js} +5 -5
- package/dist/chunks/{shell-hkr0b4h7.js → location-services-qnwy5h2c.js} +33 -33
- package/dist/chunks/{shell-6rfh3hr4.js → location-services-qr2devjb.js} +10 -10
- package/dist/chunks/{shell-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-1a4k3fgm.js → location-services-qsq85gt0.js} +16 -16
- package/dist/chunks/{shell-gkdfaqyz.js → location-services-qtgdn27a.js} +42 -42
- package/dist/chunks/{shell-5drt1p2d.js → location-services-qweynq2f.js} +11 -11
- package/dist/chunks/{shell-qkynqyav.js → location-services-qzsbwb6r.js} +3 -3
- package/dist/chunks/{shell-3e6t89rp.js → location-services-r76apvw8.js} +5 -5
- package/dist/chunks/{shell-r8f8vm0g.js → location-services-r7ph2g43.js} +15 -15
- package/dist/chunks/{shell-ythqyp3b.js → location-services-r83an1a4.js} +11 -11
- package/dist/chunks/{shell-zfvfcy7q.js → location-services-rdjxbmw8.js} +8 -8
- package/dist/chunks/{shell-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-8tmj3wng.js → location-services-refmyc5s.js} +15 -15
- package/dist/chunks/{shell-hszpjbfe.js → location-services-rgy2jfd3.js} +21 -21
- package/dist/chunks/{shell-4f0dxzkx.js → location-services-rmn4ymwv.js} +42 -42
- package/dist/chunks/{shell-grpwpbkn.js → location-services-rp00hmj1.js} +28 -28
- package/dist/chunks/{shell-sp1mwpas.js → location-services-rqswvrbx.js} +13 -13
- package/dist/chunks/{shell-z9z5kemy.js → location-services-rsnz4mce.js} +7 -7
- package/dist/chunks/{shell-dn54e1vc.js → location-services-s3bn8pnb.js} +23 -23
- package/dist/chunks/{shell-pnkbpv6t.js → location-services-s93dsjvp.js} +9 -9
- package/dist/chunks/{shell-t9sq8qeg.js → location-services-s9mj308b.js} +44 -44
- package/dist/chunks/{shell-am1tmpj5.js → location-services-sce0r76x.js} +10 -10
- package/dist/chunks/{shell-j429n2jr.js → location-services-sn7ae4fx.js} +50 -50
- package/dist/chunks/{shell-fxz1hm3d.js → location-services-sqfcdnp8.js} +4 -4
- package/dist/chunks/{shell-jwsejh1z.js → location-services-sr2cw6sr.js} +25 -25
- package/dist/chunks/{shell-syv4x271.js → location-services-syv4x271.js} +1 -1
- package/dist/chunks/{shell-9p1sbxph.js → location-services-t0ypvbj9.js} +45 -45
- package/dist/chunks/{shell-r61qxybf.js → location-services-t89fqycx.js} +8 -8
- package/dist/chunks/{shell-nx3vsr5t.js → location-services-t90bkrms.js} +16 -16
- package/dist/chunks/{shell-55m81wnp.js → location-services-t95zrypp.js} +5 -5
- package/dist/chunks/{shell-qqafxchd.js → location-services-ta5vcwm7.js} +6 -6
- package/dist/chunks/{shell-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-kk5caf58.js → location-services-tdmtwjby.js} +21 -21
- package/dist/chunks/{shell-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{shell-5vtnzdvh.js → location-services-tgzxd3nz.js} +4 -4
- package/dist/chunks/{shell-gk0wee00.js → location-services-thvf23q9.js} +7 -7
- package/dist/chunks/{shell-ybjc3k76.js → location-services-tpz5m17e.js} +9 -9
- package/dist/chunks/{shell-9b5ejg1q.js → location-services-tqn5f9r5.js} +18 -18
- package/dist/chunks/{shell-hbb7npd7.js → location-services-tt8gc4fv.js} +6 -6
- package/dist/chunks/{shell-tyytaxap.js → location-services-tyytaxap.js} +1 -1
- package/dist/chunks/{shell-v13b12ef.js → location-services-v13b12ef.js} +2 -2
- package/dist/chunks/{shell-qcprd6de.js → location-services-v59mmnsw.js} +25 -25
- package/dist/chunks/{shell-99js1k2h.js → location-services-v7m0eegx.js} +17 -17
- package/dist/chunks/{shell-v7p4zvkq.js → location-services-v7p4zvkq.js} +2 -2
- package/dist/chunks/{shell-10fdd7m2.js → location-services-ve0qvqq2.js} +8 -8
- package/dist/chunks/{shell-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-905zhqsw.js → location-services-vmvqed80.js} +34 -34
- package/dist/chunks/{shell-cd0efadx.js → location-services-vq21qbas.js} +11 -11
- package/dist/chunks/{shell-ajwh877x.js → location-services-vq38cv8b.js} +22 -22
- package/dist/chunks/{shell-tq6we1s0.js → location-services-vq4bjjja.js} +20 -20
- package/dist/chunks/{shell-sa4r6z7r.js → location-services-vxdvegpm.js} +21 -21
- package/dist/chunks/{shell-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
- package/dist/chunks/{shell-84txncab.js → location-services-w1eejvng.js} +5 -5
- package/dist/chunks/{shell-2bgg218e.js → location-services-w3vmx8a3.js} +24 -24
- package/dist/chunks/{shell-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-gcpky43g.js → location-services-w5gk0b9x.js} +12 -12
- package/dist/chunks/{shell-vf6nq1yq.js → location-services-w6gsjqg1.js} +14 -14
- package/dist/chunks/{shell-b7gzk9zn.js → location-services-w781e9nb.js} +14 -14
- package/dist/chunks/{shell-wakvkjy4.js → location-services-wakvkjy4.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{shell-e0vjet6h.js → location-services-wekbhf7m.js} +7 -7
- package/dist/chunks/{shell-h83xjv7f.js → location-services-wh6zw745.js} +5 -5
- package/dist/chunks/{shell-eb0txge1.js → location-services-wmvrrzdb.js} +11 -11
- package/dist/chunks/location-services-wr4r473q.js +257 -0
- package/dist/chunks/{shell-asypmx3c.js → location-services-wrexxs0w.js} +36 -36
- package/dist/chunks/{shell-9zwayr6v.js → location-services-wrw23k1g.js} +11 -11
- package/dist/chunks/{shell-9ctqrb5b.js → location-services-ws2axpv0.js} +14 -14
- package/dist/chunks/{shell-xxv9hwag.js → location-services-wt4pa7qy.js} +12 -12
- package/dist/chunks/{shell-6gw3719p.js → location-services-wvn7t5zc.js} +19 -19
- package/dist/chunks/{shell-2405xxdm.js → location-services-xca0wffm.js} +17 -17
- package/dist/chunks/{shell-r6rbj50z.js → location-services-xdcgw6qa.js} +15 -15
- package/dist/chunks/{shell-xfkkasph.js → location-services-xfkkasph.js} +1 -1
- package/dist/chunks/{shell-q6v6amn1.js → location-services-xqbe0668.js} +11 -11
- package/dist/chunks/{shell-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-mvfdckk2.js → location-services-y3wpwyaa.js} +6 -6
- package/dist/chunks/{shell-fey4ts1c.js → location-services-y5csa3j3.js} +13 -13
- package/dist/chunks/{shell-2ksy28s1.js → location-services-y8cf1a6a.js} +18 -18
- package/dist/chunks/{shell-ewrpj132.js → location-services-yczaeqpc.js} +22 -22
- package/dist/chunks/{shell-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-z18fegx4.js → location-services-z18fegx4.js} +1 -1
- package/dist/chunks/{shell-e0yd8g35.js → location-services-z8j40j6f.js} +32 -32
- package/dist/chunks/{shell-xevw8b9b.js → location-services-zaeg64zk.js} +27 -27
- package/dist/chunks/{shell-5m0z0vbp.js → location-services-zc84ckd0.js} +45 -45
- package/dist/chunks/{shell-t7rj6shc.js → location-services-zf38y6ad.js} +34 -34
- package/dist/chunks/{shell-xayssg3h.js → location-services-zj37rf1y.js} +5 -5
- package/dist/chunks/{shell-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-7ka0b1x2.js → location-services-zrrxdtn5.js} +36 -36
- package/dist/chunks/{shell-73cvp0d7.js → location-services-zstyzkxy.js} +30 -30
- package/dist/chunks/{shell-1y4t10jc.js → location-services-zvgnpb6z.js} +11 -11
- package/dist/chunks/{shell-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- 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 +116 -116
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- 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 +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +95 -95
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- 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 +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- 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 +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +91 -91
- 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 +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- 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 +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/shell-kq2taeak.js +0 -257
- package/dist/chunks/shell-qc068m1q.js +0 -18
- package/dist/chunks/shell-vy0yhs8z.js +0 -26
- package/dist/chunks/shell-xsgrs5rf.js +0 -523
- /package/dist/chunks/{shell-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → location-services-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5fjb7ams.js → location-services-5fjb7ams.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → location-services-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-pkyv6v7h.js → location-services-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wjj7prxr.js → location-services-wjj7prxr.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-3x8nx958.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-jbkred46.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID10,
|
|
9
|
+
Event13,
|
|
10
|
+
Service63
|
|
11
|
+
} from "./location-services-3rmyxsge.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-gqtdsdt7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID9,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-mb8vr9cj.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID8,
|
|
24
|
+
Service61
|
|
25
|
+
} from "./location-services-9fp16pdy.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID7
|
|
28
|
+
} from "./location-services-je0gfh2d.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-services-ta5vcwm7.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,11 +70,11 @@ function make6(endpoints = {
|
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID8.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service85;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service63;
|
|
77
|
+
const providers = yield* Service61;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make6(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID8.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID8.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make6(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID8.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make6(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID10.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make6(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID8.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make6(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID8.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID8.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make6(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID8.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make6(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID8.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make6(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make6(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID8.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID8.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID8.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make6(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID8.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make6(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID8.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID8.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,7 +308,7 @@ function make6(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID8.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID7.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID7.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./location-services-zc84ckd0.js";
|
|
4
4
|
import {
|
|
5
5
|
Service38
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-3t5zcd75.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin42,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin42 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service54;
|
|
28
28
|
const mcp = yield* Service38;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin42, register2, exports_mcp2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./location-services-je0gfh2d.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 [ID7.make("gpt-5-chat-latest"), ID7.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,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-3rmyxsge.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID9,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-mb8vr9cj.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID9.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options8,
|
|
15
|
+
Service: () => Service65,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured7,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node67,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options8 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service65 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service65.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured7(options) {
|
|
210
|
+
return makeLocationNode({ service: Service65, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node67 = configured7();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options8, Service65, gitbash2, name16, login2, ps2, args2, environment2, resolve3, list4, configured7, node67, exports_select };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-1xb40zjp.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-8c0f7nfv.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-eaj1djv9.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-p50c7myx.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-1n9zhxgv.js";
|
|
21
21
|
import {
|
|
22
22
|
messageToText2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-8mywswrd.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/history.ts
|
|
29
29
|
var exports_history = {};
|
|
@@ -36,7 +36,7 @@ __export(exports_history, {
|
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
isNativeCompaction: () => isNativeCompaction2,
|
|
38
38
|
latestCompaction: () => latestCompaction2,
|
|
39
|
-
load: () =>
|
|
39
|
+
load: () => load5,
|
|
40
40
|
preview: () => preview2
|
|
41
41
|
});
|
|
42
42
|
import { and, asc, desc, eq, gte, lt, or, sql } from "drizzle-orm";
|
|
@@ -91,7 +91,7 @@ var withRecentText = Effect.fnUntraced(function* (db, sessionID, entries) {
|
|
|
91
91
|
`);
|
|
92
92
|
return [{ ...first, message: { ...compaction, metadata: { ...compaction.metadata, recent } } }, ...entries.slice(1)];
|
|
93
93
|
});
|
|
94
|
-
var
|
|
94
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
95
95
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
96
96
|
});
|
|
97
97
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -127,4 +127,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
127
127
|
return message?.type === "user" ? message : undefined;
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export { isNativeCompaction2, NativeWindow2, latestCompaction2, decodeMessageRowSync2, decodeMessageRow2,
|
|
130
|
+
export { isNativeCompaction2, NativeWindow2, latestCompaction2, decodeMessageRowSync2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./location-services-94kkzxgx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./location-services-mx9vqzsb.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-by5v678g.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service45;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-t95zrypp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./location-services-3wcva4g9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service16
|
|
9
|
+
} from "./location-services-m6kmrfrw.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-0vbcp93d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info5,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-24a9h220.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin24,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin24 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service16;
|
|
104
|
+
const permission = yield* Service67;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin41 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info5,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin24, exports_opencode };
|