@opencode/core 0.0.0-dev-20448 → 0.0.0-dev-20449
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/{event-logger-cbf5jjb3.js → location-service-map-09hznznf.js} +12 -12
- package/dist/chunks/{event-logger-wwfsgjp3.js → location-service-map-0c5rfxyj.js} +9 -9
- package/dist/chunks/{event-logger-gwkgtfjp.js → location-service-map-0ka0548d.js} +9 -9
- package/dist/chunks/{event-logger-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-n8vdnqrc.js → location-service-map-0r3c1bmw.js} +5 -5
- package/dist/chunks/{event-logger-dfe8djrf.js → location-service-map-0v53mg2y.js} +4 -4
- package/dist/chunks/{event-logger-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
- package/dist/chunks/{event-logger-xr2kbdek.js → location-service-map-10jwe5ay.js} +9 -9
- package/dist/chunks/{event-logger-r8xr0va3.js → location-service-map-1acjjqhc.js} +4 -4
- package/dist/chunks/{event-logger-sz0w735c.js → location-service-map-1b5n1my2.js} +4 -4
- package/dist/chunks/{event-logger-v3t7ccjd.js → location-service-map-1bbzstzj.js} +41 -41
- package/dist/chunks/{event-logger-9vqrjshk.js → location-service-map-1cbn5x4t.js} +25 -25
- package/dist/chunks/{event-logger-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{event-logger-w8srcnpp.js → location-service-map-1g8q5gz5.js} +11 -11
- package/dist/chunks/{event-logger-vazhwx36.js → location-service-map-1pxz8ven.js} +5 -5
- package/dist/chunks/{event-logger-h0nrh5g5.js → location-service-map-1s5g5eje.js} +13 -13
- package/dist/chunks/{event-logger-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-17zj526k.js → location-service-map-2d43av1a.js} +8 -8
- package/dist/chunks/{event-logger-hk5c0ytp.js → location-service-map-3bh1tg9j.js} +24 -24
- package/dist/chunks/{event-logger-h2b79v29.js → location-service-map-3cegwx68.js} +2 -2
- package/dist/chunks/{event-logger-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-ps97516x.js → location-service-map-3p0js7tj.js} +19 -19
- package/dist/chunks/{event-logger-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-tzehptey.js → location-service-map-3v5tjer0.js} +9 -9
- package/dist/chunks/{event-logger-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{event-logger-m1q4m0kb.js → location-service-map-4h1rzmng.js} +12 -12
- package/dist/chunks/{event-logger-dyhejfhh.js → location-service-map-4naftefb.js} +3 -3
- package/dist/chunks/{event-logger-9bxjh02c.js → location-service-map-4psr7dtd.js} +48 -48
- package/dist/chunks/{event-logger-2ccvkpx1.js → location-service-map-4ts7tf6z.js} +2 -2
- package/dist/chunks/{event-logger-4mwpykj0.js → location-service-map-51f5btjf.js} +6 -6
- package/dist/chunks/{event-logger-594gxkg3.js → location-service-map-52rtctva.js} +1 -1
- package/dist/chunks/{event-logger-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
- package/dist/chunks/{event-logger-3ny7sck4.js → location-service-map-57793evp.js} +11 -11
- package/dist/chunks/{event-logger-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-mkgkpagd.js → location-service-map-5f6edhvt.js} +22 -22
- package/dist/chunks/{event-logger-7cjh5p1y.js → location-service-map-5q13c62c.js} +8 -8
- package/dist/chunks/{event-logger-e3qxr5gk.js → location-service-map-5qd3pb7m.js} +2 -2
- package/dist/chunks/{event-logger-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{event-logger-zcayt5jj.js → location-service-map-5w0cbzhs.js} +41 -41
- package/dist/chunks/{event-logger-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{event-logger-shqntgwy.js → location-service-map-6brfwhxh.js} +30 -30
- package/dist/chunks/{event-logger-cv3we14p.js → location-service-map-6mafzhpk.js} +9 -9
- package/dist/chunks/{event-logger-pd72zq69.js → location-service-map-6my31cvw.js} +48 -48
- package/dist/chunks/{event-logger-4wskyzd5.js → location-service-map-6mzbzfrr.js} +5 -5
- package/dist/chunks/{event-logger-wa9g86nq.js → location-service-map-6rm5yzkt.js} +4 -4
- package/dist/chunks/{event-logger-e6j7p34d.js → location-service-map-6s2safzc.js} +32 -32
- package/dist/chunks/{event-logger-zfv7fwfa.js → location-service-map-6spf7c8c.js} +34 -34
- package/dist/chunks/{event-logger-tng282jn.js → location-service-map-6xvqxa42.js} +8 -8
- package/dist/chunks/{event-logger-mvfsc1pv.js → location-service-map-73tb2d7t.js} +3 -3
- package/dist/chunks/{event-logger-sqxnm49h.js → location-service-map-78bbcg6r.js} +11 -11
- package/dist/chunks/{event-logger-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-m69d1h5c.js → location-service-map-7bvc3xat.js} +18 -18
- package/dist/chunks/{event-logger-2k8khapm.js → location-service-map-7dqw4kz8.js} +5 -5
- package/dist/chunks/{event-logger-gdresbk1.js → location-service-map-7exemf1h.js} +60 -60
- package/dist/chunks/{event-logger-8s6x3d41.js → location-service-map-7qtyfg8k.js} +31 -31
- package/dist/chunks/{event-logger-b29htdbz.js → location-service-map-7sae6mxy.js} +18 -18
- package/dist/chunks/{event-logger-gzbkpp9m.js → location-service-map-7w3s9kd0.js} +4 -4
- package/dist/chunks/{event-logger-1fqq8vqc.js → location-service-map-7xpr2pn4.js} +26 -26
- package/dist/chunks/{event-logger-h9phamz0.js → location-service-map-82f3vqs9.js} +2 -2
- package/dist/chunks/{event-logger-1dvck2a7.js → location-service-map-84h8c373.js} +2 -2
- package/dist/chunks/{event-logger-sdx9bhzb.js → location-service-map-84k2srrq.js} +25 -25
- package/dist/chunks/{event-logger-84txncab.js → location-service-map-84txncab.js} +1 -1
- package/dist/chunks/{event-logger-283mwr8r.js → location-service-map-85ggthef.js} +18 -18
- package/dist/chunks/{event-logger-vp0z89e3.js → location-service-map-85whx8ej.js} +14 -14
- package/dist/chunks/{event-logger-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{event-logger-p1ykeed4.js → location-service-map-8kxjzpk3.js} +11 -11
- package/dist/chunks/{event-logger-5dkh983c.js → location-service-map-95x0wgpx.js} +15 -15
- package/dist/chunks/{event-logger-yb0nnf5a.js → location-service-map-99zy7ww3.js} +3 -3
- package/dist/chunks/{event-logger-tw51v10a.js → location-service-map-9jenw5nn.js} +16 -16
- package/dist/chunks/{event-logger-xfwsg613.js → location-service-map-9msa2vka.js} +17 -17
- package/dist/chunks/{event-logger-w7xxgrkj.js → location-service-map-9p4810dd.js} +20 -20
- package/dist/chunks/{event-logger-bmwt6c32.js → location-service-map-9r5r9mea.js} +39 -39
- package/dist/chunks/{event-logger-t550f9t1.js → location-service-map-9t7a50xb.js} +4 -4
- package/dist/chunks/{event-logger-rtx9gtyv.js → location-service-map-9t85adt1.js} +5 -5
- package/dist/chunks/{event-logger-rpchwtds.js → location-service-map-9vrgpej7.js} +36 -36
- package/dist/chunks/{event-logger-ezjrjzyq.js → location-service-map-9ym8d3zh.js} +10 -10
- package/dist/chunks/{event-logger-7x3ym2x5.js → location-service-map-a311kae6.js} +5 -5
- package/dist/chunks/{event-logger-dr12q9z6.js → location-service-map-a58kdqm7.js} +24 -24
- package/dist/chunks/{event-logger-5n25gzb5.js → location-service-map-a9f1gx8x.js} +4 -4
- package/dist/chunks/{event-logger-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-rs3qhzzg.js → location-service-map-ab49173g.js} +35 -35
- package/dist/chunks/{event-logger-c89vh89k.js → location-service-map-abyp66j9.js} +32 -32
- package/dist/chunks/{event-logger-4qwh2j69.js → location-service-map-admntmc4.js} +11 -11
- package/dist/chunks/{event-logger-cdevnsy5.js → location-service-map-aps0nfhj.js} +19 -19
- package/dist/chunks/{event-logger-27a4zz2s.js → location-service-map-aqbp6ek4.js} +17 -17
- package/dist/chunks/{event-logger-hpxe7m2y.js → location-service-map-aqe4mp4b.js} +6 -6
- package/dist/chunks/{event-logger-cz658kn3.js → location-service-map-asnr51jj.js} +17 -17
- package/dist/chunks/{event-logger-bt8wzsf1.js → location-service-map-atetzrn0.js} +26 -26
- package/dist/chunks/{event-logger-4veqx6w1.js → location-service-map-av654rxn.js} +13 -13
- package/dist/chunks/{event-logger-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-jk1cfv3m.js → location-service-map-b7mgmgxj.js} +6 -6
- package/dist/chunks/{event-logger-b720ka4c.js → location-service-map-b95n020p.js} +9 -9
- package/dist/chunks/{event-logger-s4mtyj9y.js → location-service-map-bhf6tzqf.js} +15 -15
- package/dist/chunks/{event-logger-bcz24cr5.js → location-service-map-bw6w1hmt.js} +21 -21
- package/dist/chunks/{event-logger-h9wp8z5w.js → location-service-map-c35597j6.js} +4 -4
- package/dist/chunks/{event-logger-d2c9eem0.js → location-service-map-c7qsvfja.js} +8 -8
- package/dist/chunks/{event-logger-4f7vnw9z.js → location-service-map-cbr2xbws.js} +15 -15
- package/dist/chunks/{event-logger-2wts5qzq.js → location-service-map-cd11xdjc.js} +8 -8
- package/dist/chunks/{event-logger-sy89kq56.js → location-service-map-cdb7zjda.js} +8 -8
- package/dist/chunks/{event-logger-dvdrsg1q.js → location-service-map-cfnm11dz.js} +93 -93
- package/dist/chunks/{event-logger-9we07c3h.js → location-service-map-cgwdnt8x.js} +28 -28
- package/dist/chunks/{event-logger-ex7a17jg.js → location-service-map-chkwe70y.js} +11 -11
- package/dist/chunks/{event-logger-b77ncnqv.js → location-service-map-cpta1qkm.js} +17 -17
- package/dist/chunks/{event-logger-7yqjxrmz.js → location-service-map-cpy6gm2a.js} +4 -4
- package/dist/chunks/{event-logger-55xfy5s4.js → location-service-map-cr3ncdfd.js} +12 -12
- package/dist/chunks/{event-logger-qh22g8nh.js → location-service-map-cw44182b.js} +13 -13
- package/dist/chunks/{event-logger-g14hjekp.js → location-service-map-cypa6x43.js} +187 -187
- package/dist/chunks/{event-logger-904bg09a.js → location-service-map-d0q9ckcg.js} +11 -11
- package/dist/chunks/{event-logger-gepsrshe.js → location-service-map-d4cj2fkp.js} +15 -15
- package/dist/chunks/{event-logger-qv6rw298.js → location-service-map-dazn98v0.js} +29 -29
- package/dist/chunks/{event-logger-2d99pj65.js → location-service-map-ddgkytyd.js} +13 -13
- package/dist/chunks/{event-logger-49vre7sk.js → location-service-map-df0gkme9.js} +45 -45
- package/dist/chunks/{event-logger-r0cb0ck6.js → location-service-map-df8wfjhb.js} +10 -10
- package/dist/chunks/{event-logger-gg6v90bt.js → location-service-map-dhtngw88.js} +3 -3
- package/dist/chunks/{event-logger-mpk0rfs5.js → location-service-map-dnxkq42g.js} +4 -4
- package/dist/chunks/{event-logger-qvq09nk1.js → location-service-map-dzt1gkzc.js} +3 -3
- package/dist/chunks/{event-logger-3xbeb0ys.js → location-service-map-e2nptsr1.js} +5 -5
- package/dist/chunks/{event-logger-vzmgbyx1.js → location-service-map-e4hpnsth.js} +8 -8
- package/dist/chunks/{event-logger-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{event-logger-887y1z54.js → location-service-map-em9mvw3q.js} +5 -5
- package/dist/chunks/{event-logger-yyq5wwvp.js → location-service-map-eny7che3.js} +35 -35
- package/dist/chunks/location-service-map-eq4htthf.js +507 -0
- package/dist/chunks/{event-logger-68419g8m.js → location-service-map-eqr5kkcb.js} +33 -33
- package/dist/chunks/{event-logger-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{event-logger-71az546q.js → location-service-map-f75zav2x.js} +2 -2
- package/dist/chunks/{event-logger-gksp05c7.js → location-service-map-f82vcjah.js} +44 -44
- package/dist/chunks/{event-logger-y40kyw7n.js → location-service-map-f9c0v65h.js} +40 -40
- package/dist/chunks/{event-logger-g54wh2k8.js → location-service-map-f9ms0q7x.js} +78 -78
- package/dist/chunks/{event-logger-xe40c49s.js → location-service-map-fcxfz2dh.js} +43 -43
- package/dist/chunks/{event-logger-znsx74x0.js → location-service-map-fp2xarvc.js} +1 -1
- package/dist/chunks/{event-logger-h6sem7h5.js → location-service-map-fq8drmz5.js} +12 -12
- package/dist/chunks/{event-logger-xbxcg6gj.js → location-service-map-fsf6g8we.js} +22 -22
- package/dist/chunks/{event-logger-fepsx33q.js → location-service-map-ft7bzd3t.js} +24 -24
- package/dist/chunks/{event-logger-cr2e17pp.js → location-service-map-g73vqmcr.js} +24 -24
- package/dist/chunks/{event-logger-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-k70p9jzb.js → location-service-map-gh5z95q3.js} +9 -9
- package/dist/chunks/{event-logger-xtqeprzx.js → location-service-map-gmdj5py7.js} +16 -16
- package/dist/chunks/{event-logger-1jt7ykkj.js → location-service-map-gq2rsxfw.js} +24 -24
- package/dist/chunks/{event-logger-hd0dv02w.js → location-service-map-h31dk0az.js} +24 -24
- package/dist/chunks/{event-logger-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-vq5c9x4q.js → location-service-map-h8dz2c4h.js} +12 -12
- package/dist/chunks/{event-logger-1f1banxt.js → location-service-map-h948vptj.js} +23 -23
- package/dist/chunks/{event-logger-m2n93apa.js → location-service-map-hbbsc9bk.js} +7 -7
- package/dist/chunks/{event-logger-3ma1skk1.js → location-service-map-hmahja3n.js} +11 -11
- package/dist/chunks/{event-logger-spw1z2q7.js → location-service-map-hnb7ksa1.js} +23 -23
- package/dist/chunks/{event-logger-k2vtjz35.js → location-service-map-hyjcfdkb.js} +34 -34
- package/dist/chunks/{event-logger-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{event-logger-470chn1p.js → location-service-map-j7vd8rf6.js} +8 -8
- package/dist/chunks/{event-logger-h0y6gyg6.js → location-service-map-jh993r23.js} +5 -5
- package/dist/chunks/{event-logger-cfdmmks0.js → location-service-map-jkddzpv8.js} +28 -28
- package/dist/chunks/{event-logger-0pa8htj5.js → location-service-map-jnz6aqx8.js} +18 -18
- package/dist/chunks/{event-logger-376x46en.js → location-service-map-jvhhxj5g.js} +17 -17
- package/dist/chunks/{event-logger-xdk9p2qn.js → location-service-map-jw80jp6b.js} +21 -21
- package/dist/chunks/{event-logger-bfnsmjbw.js → location-service-map-jzzgdak2.js} +5 -5
- package/dist/chunks/{event-logger-xa4xh9eb.js → location-service-map-k2x8eawc.js} +14 -14
- package/dist/chunks/{event-logger-k3c624dm.js → location-service-map-k3c624dm.js} +3 -3
- package/dist/chunks/{event-logger-9e5bzkjp.js → location-service-map-kb9j3d72.js} +3 -3
- package/dist/chunks/{event-logger-4pwd558p.js → location-service-map-kfj6926z.js} +10 -10
- package/dist/chunks/location-service-map-kgh7dc64.js +252 -0
- package/dist/chunks/{event-logger-9x3j7hff.js → location-service-map-kpw1vept.js} +93 -93
- package/dist/chunks/{event-logger-scnp1dpp.js → location-service-map-krzsxqgn.js} +5 -5
- package/dist/chunks/{event-logger-anwj03q3.js → location-service-map-kt2ww3gv.js} +15 -15
- package/dist/chunks/{event-logger-2jm1kbky.js → location-service-map-kv333t4q.js} +6 -6
- package/dist/chunks/{event-logger-wm2754ph.js → location-service-map-kwbd35qc.js} +27 -27
- package/dist/chunks/{event-logger-ps49tzpg.js → location-service-map-kwc1fk34.js} +14 -14
- package/dist/chunks/{event-logger-j6q81gkc.js → location-service-map-kzmggykm.js} +13 -13
- package/dist/chunks/{event-logger-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
- package/dist/chunks/{event-logger-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-mazbtkaa.js → location-service-map-mazbtkaa.js} +2 -2
- package/dist/chunks/{event-logger-rtkh151k.js → location-service-map-mbqaeapj.js} +6 -6
- package/dist/chunks/{event-logger-e8cja42p.js → location-service-map-mdbvbt6p.js} +6 -6
- package/dist/chunks/{event-logger-wpwd7k51.js → location-service-map-metwdsq9.js} +9 -9
- package/dist/chunks/{event-logger-mfqp6xfm.js → location-service-map-mfqp6xfm.js} +2 -2
- package/dist/chunks/{event-logger-kbf65jmx.js → location-service-map-mfw2awst.js} +28 -28
- package/dist/chunks/{event-logger-hamg8kx8.js → location-service-map-mh42e4fs.js} +21 -21
- package/dist/chunks/{event-logger-by5tvt2z.js → location-service-map-mkt34dw6.js} +10 -10
- package/dist/chunks/{event-logger-b5beq1ps.js → location-service-map-mppcaqg4.js} +15 -15
- package/dist/chunks/{event-logger-8hezddv1.js → location-service-map-n4e63efs.js} +29 -29
- package/dist/chunks/{event-logger-byv6g4ee.js → location-service-map-n7d8enq0.js} +33 -33
- package/dist/chunks/{event-logger-432svpan.js → location-service-map-n7qqpvr7.js} +44 -44
- package/dist/chunks/{event-logger-kp8q1t60.js → location-service-map-n9j73x72.js} +5 -5
- package/dist/chunks/{event-logger-h90v2x9d.js → location-service-map-nb9p6b26.js} +4 -4
- package/dist/chunks/{event-logger-qrn3harz.js → location-service-map-nntvhnn2.js} +13 -13
- package/dist/chunks/{event-logger-3qaj82j9.js → location-service-map-npwy0cf6.js} +5 -5
- package/dist/chunks/{event-logger-y71avatq.js → location-service-map-nxm207yx.js} +4 -4
- package/dist/chunks/{event-logger-p37cw4rj.js → location-service-map-pa8pe2x7.js} +8 -8
- package/dist/chunks/{event-logger-30krspkn.js → location-service-map-pcxghkgz.js} +4 -4
- package/dist/chunks/{event-logger-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-4qrezbc4.js → location-service-map-py1x860b.js} +34 -34
- package/dist/chunks/{event-logger-0j77ygfz.js → location-service-map-q0xm7vwc.js} +6 -6
- package/dist/chunks/{event-logger-gm0fw0ea.js → location-service-map-q0yn0a00.js} +17 -17
- package/dist/chunks/{event-logger-ebsr21av.js → location-service-map-q37wehsy.js} +23 -23
- package/dist/chunks/{event-logger-fepbnb8j.js → location-service-map-q4fmv0xv.js} +5 -5
- package/dist/chunks/{event-logger-bxcmn2wa.js → location-service-map-q4pmfsgy.js} +47 -47
- package/dist/chunks/{event-logger-m6fea7hh.js → location-service-map-q5dh8m3q.js} +11 -11
- package/dist/chunks/{event-logger-s3atc1v9.js → location-service-map-q97sqkfn.js} +1 -1
- package/dist/chunks/{event-logger-6q0c4mka.js → location-service-map-qcxsyce2.js} +36 -36
- package/dist/chunks/{event-logger-5d607bsg.js → location-service-map-qmqgtz8f.js} +9 -9
- package/dist/chunks/{event-logger-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{event-logger-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-fcc8k9h4.js → location-service-map-qvmmfpcq.js} +19 -19
- package/dist/chunks/{event-logger-xh9ky465.js → location-service-map-qwd2bpme.js} +13 -13
- package/dist/chunks/{event-logger-340fk759.js → location-service-map-qxjpexte.js} +11 -11
- package/dist/chunks/{event-logger-aakwft81.js → location-service-map-r0xtmwc9.js} +21 -21
- package/dist/chunks/{event-logger-pchm5dd6.js → location-service-map-r5dxw177.js} +22 -22
- package/dist/chunks/{event-logger-3ma5fxv3.js → location-service-map-r6ncz69d.js} +11 -11
- package/dist/chunks/location-service-map-rap9a73h.js +18 -0
- package/dist/chunks/{event-logger-pdzqywty.js → location-service-map-rb8dxta3.js} +42 -42
- package/dist/chunks/{event-logger-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{event-logger-mg9eprjx.js → location-service-map-rt0y1tb2.js} +11 -11
- package/dist/chunks/{event-logger-1pek3jt7.js → location-service-map-rtdy27v2.js} +5 -5
- package/dist/chunks/location-service-map-rvzt496k.js +26 -0
- package/dist/chunks/{event-logger-xb02k0wq.js → location-service-map-ryr25ayn.js} +4 -4
- package/dist/chunks/{event-logger-pnaxc6j9.js → location-service-map-s5met55r.js} +8 -8
- package/dist/chunks/{event-logger-xcec66r5.js → location-service-map-sbbrww74.js} +54 -54
- package/dist/chunks/{event-logger-fzaeg2ds.js → location-service-map-se4rkp3h.js} +16 -16
- package/dist/chunks/{event-logger-z8rfaqzv.js → location-service-map-t04r2rgd.js} +34 -34
- package/dist/chunks/{event-logger-84p84h2c.js → location-service-map-t05ejhn4.js} +11 -11
- package/dist/chunks/{event-logger-pm4gwtf6.js → location-service-map-t1z79y3b.js} +12 -12
- package/dist/chunks/{event-logger-ax23vn7r.js → location-service-map-t2c8037n.js} +7 -7
- package/dist/chunks/{event-logger-d9vtgrjt.js → location-service-map-t4wbtgqf.js} +7 -7
- package/dist/chunks/{event-logger-bkxyw0dr.js → location-service-map-t6qketva.js} +9 -9
- package/dist/chunks/{event-logger-kk2qnnr0.js → location-service-map-t7hg4t9s.js} +18 -18
- package/dist/chunks/{event-logger-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-5znq9j58.js → location-service-map-tbb5a1w1.js} +11 -11
- package/dist/chunks/{event-logger-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{event-logger-zwq83wym.js → location-service-map-tcjtknhy.js} +22 -22
- package/dist/chunks/{event-logger-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-k9jsxftv.js → location-service-map-thx56g7y.js} +32 -32
- package/dist/chunks/{event-logger-b4twkq7r.js → location-service-map-ts23464c.js} +8 -8
- package/dist/chunks/{event-logger-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/{event-logger-rd108yne.js → location-service-map-txhq5xat.js} +22 -22
- package/dist/chunks/{event-logger-4608f3zx.js → location-service-map-v0a4b58r.js} +35 -35
- package/dist/chunks/{event-logger-hh2y2jgt.js → location-service-map-v2hz81kc.js} +12 -12
- package/dist/chunks/{event-logger-qsjw007r.js → location-service-map-v2zvx02t.js} +10 -10
- package/dist/chunks/{event-logger-zypmz1pm.js → location-service-map-v39s7m1c.js} +5 -5
- package/dist/chunks/{event-logger-k8gwj0p0.js → location-service-map-v5cas4zw.js} +18 -18
- package/dist/chunks/{event-logger-e6cfs5fy.js → location-service-map-v5jfzk8z.js} +4 -4
- package/dist/chunks/{event-logger-tv2mrqm9.js → location-service-map-v9wendj7.js} +16 -16
- package/dist/chunks/{event-logger-bx4acmk7.js → location-service-map-vdapyz2h.js} +20 -20
- package/dist/chunks/{event-logger-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-yt79nyat.js → location-service-map-vjwafz7y.js} +9 -9
- package/dist/chunks/{event-logger-r01t9b5y.js → location-service-map-vt44rdpy.js} +8 -8
- package/dist/chunks/{event-logger-e0rzh98p.js → location-service-map-vtf4aqe8.js} +24 -24
- package/dist/chunks/{event-logger-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{event-logger-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{event-logger-g5w8qwbj.js → location-service-map-w19d8598.js} +7 -7
- package/dist/chunks/{event-logger-bfv0d40t.js → location-service-map-w34ck8dm.js} +27 -27
- package/dist/chunks/{event-logger-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-prdz64n1.js → location-service-map-w6rwet04.js} +2 -2
- package/dist/chunks/{event-logger-p7tapf4a.js → location-service-map-w9s2aqss.js} +57 -57
- package/dist/chunks/{event-logger-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-712676yn.js → location-service-map-wdg2z0ry.js} +18 -18
- package/dist/chunks/{event-logger-9e4en3sz.js → location-service-map-wead7aht.js} +5 -5
- package/dist/chunks/{event-logger-z82rkb9m.js → location-service-map-wjjfwp4d.js} +6 -6
- package/dist/chunks/{event-logger-kbkddehn.js → location-service-map-wkctdrs2.js} +28 -28
- package/dist/chunks/{event-logger-xyw3p85n.js → location-service-map-wpqcga08.js} +29 -29
- package/dist/chunks/{event-logger-7v7knrkr.js → location-service-map-wze5rqr2.js} +10 -10
- package/dist/chunks/{event-logger-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-3h8j5ahx.js → location-service-map-x1t8ysfd.js} +13 -13
- package/dist/chunks/{event-logger-5fe36zdw.js → location-service-map-x4dqc0fn.js} +3 -3
- package/dist/chunks/{event-logger-10ke8wy4.js → location-service-map-x8jrs81k.js} +4 -4
- package/dist/chunks/{event-logger-025r9p6c.js → location-service-map-xbqt463g.js} +22 -22
- package/dist/chunks/{event-logger-dmqcgk4z.js → location-service-map-xkntkrq7.js} +5 -5
- package/dist/chunks/{event-logger-29eg91y8.js → location-service-map-xwsw2x6r.js} +14 -14
- package/dist/chunks/{event-logger-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-256nx13v.js → location-service-map-y6f0p4jw.js} +3 -3
- package/dist/chunks/{event-logger-y1qqcj8h.js → location-service-map-y72zmemf.js} +8 -8
- package/dist/chunks/{event-logger-ht5v7459.js → location-service-map-ydhspzmx.js} +24 -24
- package/dist/chunks/{event-logger-6wc4pc56.js → location-service-map-ygge93n4.js} +21 -21
- package/dist/chunks/{event-logger-2m8jawch.js → location-service-map-ykt494b9.js} +4 -4
- package/dist/chunks/{event-logger-rjdsec5h.js → location-service-map-yr8x2904.js} +5 -5
- package/dist/chunks/{event-logger-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{event-logger-2zfnf44s.js → location-service-map-yx8jszhp.js} +4 -4
- package/dist/chunks/{event-logger-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-q9p7zpd5.js → location-service-map-z655gt6v.js} +33 -33
- package/dist/chunks/{event-logger-2vs2nh1n.js → location-service-map-zcrspsvn.js} +4 -4
- package/dist/chunks/{event-logger-agkzm0be.js → location-service-map-zgx66p1n.js} +6 -6
- package/dist/chunks/{event-logger-13fywz9t.js → location-service-map-zh198g07.js} +28 -28
- package/dist/chunks/{event-logger-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-fngg5dts.js → location-service-map-zv1vxfwa.js} +32 -32
- package/dist/chunks/{event-logger-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{event-logger-b3f8fkhc.js → location-service-map-zyk1yjk8.js} +5 -5
- 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 +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- 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 +371 -371
- 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 +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +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 +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- 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 +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- 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 +224 -224
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +82 -82
- 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 +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +112 -112
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/event-logger-1vsw5z46.js +0 -26
- package/dist/chunks/event-logger-5f4ycdnm.js +0 -507
- package/dist/chunks/event-logger-v1faaxn9.js +0 -18
- package/dist/chunks/event-logger-z2cwt4s7.js +0 -252
- /package/dist/chunks/{event-logger-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./location-service-map-xbqt463g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./location-service-map-rb8dxta3.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-aqe4mp4b.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin6
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin6 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service56;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service57;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin3 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin6, exports_compatibility };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./location-service-map-se4rkp3h.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-dnxkq42g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event20
|
|
9
|
+
} from "./location-service-map-t04r2rgd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./location-service-map-dazn98v0.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service76
|
|
16
|
+
} from "./location-service-map-z655gt6v.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-09hznznf.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service76;
|
|
30
|
+
const bus = yield* Service82;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-service-map-se4rkp3h.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./location-service-map-t04r2rgd.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-dnxkq42g.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-bw6w1hmt.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,17 +34,17 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
37
|
+
Event: () => Event18,
|
|
38
|
+
ID: () => ID14,
|
|
39
|
+
Info: () => Info28,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service77,
|
|
47
|
+
node: () => node81
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,8 +66,8 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
70
|
-
var
|
|
69
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
70
|
+
var ID14 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info28 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,20 +98,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID14,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
114
|
-
const bus = yield*
|
|
112
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service79;
|
|
114
|
+
const bus = yield* Service82;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
117
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info28.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service77.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node81 = makeLocationNode({
|
|
603
|
+
service: Service77,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node83, node86, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
608
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-z655gt6v.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-eqr5kkcb.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service56
|
|
11
|
+
} from "./location-service-map-rb8dxta3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
resolve2
|
|
14
|
+
} from "./location-service-map-mbqaeapj.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin14
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin14 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service56;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -175,7 +175,7 @@ var Plugin7 = define({
|
|
|
175
175
|
if (config.variants === undefined && !source?.base)
|
|
176
176
|
models.update(providerID, id, (model) => {
|
|
177
177
|
model.variants = [
|
|
178
|
-
...
|
|
178
|
+
...resolve2({
|
|
179
179
|
...model,
|
|
180
180
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
181
181
|
})
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin14, exports_provider };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./location-service-map-t05ejhn4.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service82,
|
|
10
|
+
node86
|
|
11
|
+
} from "./location-service-map-se4rkp3h.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service84,
|
|
14
|
+
node88
|
|
15
|
+
} from "./location-service-map-v2hz81kc.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info34,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-3v5tjer0.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-service-map-3cegwx68.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-84h8c373.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info33,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service81,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node85,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info33 = Info34;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service81 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,12 +95,12 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service84;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
103
|
-
const db = (yield*
|
|
102
|
+
const bus = yield* Service82;
|
|
103
|
+
const db = (yield* Service83).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
106
106
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID17.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
170
170
|
if (!row)
|
|
171
171
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event21.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID17.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID17.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID17.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID17.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service81.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node85 = makeGlobalNode({
|
|
288
|
+
service: Service81,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node86, node87, FSUtil.node, node88, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-eqr5kkcb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service56
|
|
7
|
+
} from "./location-service-map-rb8dxta3.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-b7mgmgxj.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service56;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID12.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make6();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make6, LMStudioPlugin2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./location-service-map-eqr5kkcb.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info29,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info29 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info29, Status3, key2, exports_connection };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-service-map-z655gt6v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID13.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|