@opencode/core 0.0.0-dev-20447 → 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 +69 -69
- package/dist/chunks/{file-mutation-j3636f00.js → location-service-map-09hznznf.js} +14 -14
- package/dist/chunks/{file-mutation-mpyws8re.js → location-service-map-0c5rfxyj.js} +9 -9
- package/dist/chunks/{file-mutation-gddej1j8.js → location-service-map-0ka0548d.js} +9 -9
- package/dist/chunks/{file-mutation-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-dvz3zpm9.js → location-service-map-0r3c1bmw.js} +5 -5
- package/dist/chunks/{file-mutation-dfe8djrf.js → location-service-map-0v53mg2y.js} +4 -4
- package/dist/chunks/{file-mutation-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-mutation-yckxb0kb.js → location-service-map-10jwe5ay.js} +9 -9
- package/dist/chunks/{file-mutation-1acjjqhc.js → location-service-map-1acjjqhc.js} +1 -1
- package/dist/chunks/{file-mutation-0d4sk4n7.js → location-service-map-1b5n1my2.js} +2 -2
- package/dist/chunks/{file-mutation-yj11y499.js → location-service-map-1bbzstzj.js} +34 -34
- package/dist/chunks/{file-mutation-8nf5g5ke.js → location-service-map-1cbn5x4t.js} +25 -25
- package/dist/chunks/{file-mutation-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-b8z0wsc0.js → location-service-map-1g8q5gz5.js} +11 -11
- package/dist/chunks/{file-mutation-j29a7fks.js → location-service-map-1pxz8ven.js} +5 -5
- package/dist/chunks/{file-mutation-8mrd4kgm.js → location-service-map-1s5g5eje.js} +14 -14
- package/dist/chunks/{file-mutation-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-4t613dbc.js → location-service-map-2d43av1a.js} +8 -8
- package/dist/chunks/{file-mutation-z2w5m8mv.js → location-service-map-3bh1tg9j.js} +24 -24
- package/dist/chunks/{file-mutation-h2b79v29.js → location-service-map-3cegwx68.js} +2 -2
- package/dist/chunks/{file-mutation-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-r4ra9f67.js → location-service-map-3p0js7tj.js} +13 -13
- package/dist/chunks/{file-mutation-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-3v5tjer0.js → location-service-map-3v5tjer0.js} +2 -2
- package/dist/chunks/{file-mutation-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-x4fwfb4w.js → location-service-map-4h1rzmng.js} +10 -10
- package/dist/chunks/{file-mutation-7kan1wr8.js → location-service-map-4naftefb.js} +3 -3
- package/dist/chunks/{file-mutation-b8de2ks2.js → location-service-map-4psr7dtd.js} +47 -47
- package/dist/chunks/{file-mutation-2ccvkpx1.js → location-service-map-4ts7tf6z.js} +2 -2
- package/dist/chunks/{file-mutation-j5w2yx54.js → location-service-map-51f5btjf.js} +6 -6
- package/dist/chunks/{file-mutation-a70kq73z.js → location-service-map-52rtctva.js} +1 -1
- package/dist/chunks/{file-mutation-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
- package/dist/chunks/{file-mutation-pjm11dy8.js → location-service-map-57793evp.js} +11 -11
- package/dist/chunks/{file-mutation-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-g1m3h83e.js → location-service-map-5f6edhvt.js} +21 -21
- package/dist/chunks/{file-mutation-9ws1drfh.js → location-service-map-5q13c62c.js} +8 -8
- package/dist/chunks/{file-mutation-e3qxr5gk.js → location-service-map-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-mutation-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-971jmbxj.js → location-service-map-5w0cbzhs.js} +41 -41
- package/dist/chunks/{file-mutation-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-7ja2kgyj.js → location-service-map-6brfwhxh.js} +24 -24
- package/dist/chunks/{file-mutation-3amr84rd.js → location-service-map-6mafzhpk.js} +9 -9
- package/dist/chunks/{file-mutation-0ynzvma6.js → location-service-map-6my31cvw.js} +48 -48
- package/dist/chunks/{file-mutation-nmh5hv95.js → location-service-map-6mzbzfrr.js} +3 -3
- package/dist/chunks/{file-mutation-a3c7ahw6.js → location-service-map-6rm5yzkt.js} +4 -4
- package/dist/chunks/{file-mutation-a1r0v0hv.js → location-service-map-6s2safzc.js} +29 -29
- package/dist/chunks/{file-mutation-0a17sqc3.js → location-service-map-6spf7c8c.js} +34 -34
- package/dist/chunks/{file-mutation-0vy6ky8v.js → location-service-map-6xvqxa42.js} +8 -8
- package/dist/chunks/{file-mutation-eq1pz5kg.js → location-service-map-73tb2d7t.js} +3 -3
- package/dist/chunks/{file-mutation-6s3vd56s.js → location-service-map-78bbcg6r.js} +6 -6
- package/dist/chunks/{file-mutation-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-m69d1h5c.js → location-service-map-7bvc3xat.js} +18 -18
- package/dist/chunks/{file-mutation-fcrkznn8.js → location-service-map-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-mutation-fw9nps2q.js → location-service-map-7exemf1h.js} +57 -57
- package/dist/chunks/{file-mutation-8qm2jr24.js → location-service-map-7qtyfg8k.js} +36 -36
- package/dist/chunks/{file-mutation-7z5nhnbg.js → location-service-map-7sae6mxy.js} +18 -18
- package/dist/chunks/{file-mutation-gzbkpp9m.js → location-service-map-7w3s9kd0.js} +4 -4
- package/dist/chunks/{file-mutation-jw2tn658.js → location-service-map-7xpr2pn4.js} +27 -27
- package/dist/chunks/{file-mutation-35ja2k0w.js → location-service-map-82f3vqs9.js} +2 -2
- package/dist/chunks/{file-mutation-1dvck2a7.js → location-service-map-84h8c373.js} +2 -2
- package/dist/chunks/{file-mutation-vc1fft1y.js → location-service-map-84k2srrq.js} +22 -22
- package/dist/chunks/{file-mutation-84txncab.js → location-service-map-84txncab.js} +1 -1
- package/dist/chunks/{file-mutation-f2c481pc.js → location-service-map-85ggthef.js} +18 -18
- package/dist/chunks/{file-mutation-5zv360p8.js → location-service-map-85whx8ej.js} +20 -20
- package/dist/chunks/{file-mutation-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-y7qwnmy1.js → location-service-map-8kxjzpk3.js} +9 -9
- package/dist/chunks/{file-mutation-k9yb22rs.js → location-service-map-95x0wgpx.js} +9 -9
- package/dist/chunks/{file-mutation-123f91sp.js → location-service-map-99zy7ww3.js} +1 -1
- package/dist/chunks/{file-mutation-z6cfb29r.js → location-service-map-9jenw5nn.js} +14 -14
- package/dist/chunks/{file-mutation-cddhvfrj.js → location-service-map-9msa2vka.js} +17 -17
- package/dist/chunks/{file-mutation-m1hwfr34.js → location-service-map-9p4810dd.js} +20 -20
- package/dist/chunks/{file-mutation-b9hxxmm4.js → location-service-map-9r5r9mea.js} +37 -37
- package/dist/chunks/{file-mutation-t550f9t1.js → location-service-map-9t7a50xb.js} +4 -4
- package/dist/chunks/{file-mutation-jmqs9vhh.js → location-service-map-9t85adt1.js} +5 -5
- package/dist/chunks/{file-mutation-hqkfa61k.js → location-service-map-9vrgpej7.js} +30 -30
- package/dist/chunks/{file-mutation-02mpmyt3.js → location-service-map-9ym8d3zh.js} +10 -10
- package/dist/chunks/{file-mutation-frx098gj.js → location-service-map-a311kae6.js} +5 -5
- package/dist/chunks/{file-mutation-32e2vp4w.js → location-service-map-a58kdqm7.js} +27 -27
- package/dist/chunks/{file-mutation-es0mp7kp.js → location-service-map-a9f1gx8x.js} +4 -4
- package/dist/chunks/{file-mutation-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-7wxzh9zb.js → location-service-map-ab49173g.js} +35 -35
- package/dist/chunks/{file-mutation-0nrysaxf.js → location-service-map-abyp66j9.js} +32 -32
- package/dist/chunks/{file-mutation-fdxwsxq8.js → location-service-map-admntmc4.js} +14 -14
- package/dist/chunks/{file-mutation-h17jjak5.js → location-service-map-aps0nfhj.js} +19 -19
- package/dist/chunks/{file-mutation-mtcp9gxf.js → location-service-map-aqbp6ek4.js} +17 -17
- package/dist/chunks/{file-mutation-2yj7y96g.js → location-service-map-aqe4mp4b.js} +6 -6
- package/dist/chunks/{file-mutation-085sjypf.js → location-service-map-asnr51jj.js} +17 -17
- package/dist/chunks/{file-mutation-06g4wx6w.js → location-service-map-atetzrn0.js} +23 -23
- package/dist/chunks/{file-mutation-yjhj7111.js → location-service-map-av654rxn.js} +13 -13
- package/dist/chunks/{file-mutation-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-hnjhetmx.js → location-service-map-b7mgmgxj.js} +6 -6
- package/dist/chunks/{file-mutation-k8s7jp5m.js → location-service-map-b95n020p.js} +9 -9
- package/dist/chunks/{file-mutation-6z0j0ya3.js → location-service-map-bhf6tzqf.js} +15 -15
- package/dist/chunks/{file-mutation-q8ckvk3w.js → location-service-map-bw6w1hmt.js} +14 -14
- package/dist/chunks/{file-mutation-5dkn69vz.js → location-service-map-c35597j6.js} +4 -4
- package/dist/chunks/{file-mutation-jntaw98r.js → location-service-map-c7qsvfja.js} +6 -6
- package/dist/chunks/{file-mutation-cxbpb961.js → location-service-map-cbr2xbws.js} +18 -18
- package/dist/chunks/{file-mutation-w1ad28wa.js → location-service-map-cd11xdjc.js} +8 -8
- package/dist/chunks/{file-mutation-60we6e45.js → location-service-map-cdb7zjda.js} +8 -8
- package/dist/chunks/{file-mutation-zh2r3c6m.js → location-service-map-cfnm11dz.js} +93 -93
- package/dist/chunks/{file-mutation-etg83xpv.js → location-service-map-cgwdnt8x.js} +19 -19
- package/dist/chunks/{file-mutation-30c7dxhs.js → location-service-map-chkwe70y.js} +11 -11
- package/dist/chunks/{file-mutation-5jjb9dgy.js → location-service-map-cpta1qkm.js} +9 -9
- package/dist/chunks/{file-mutation-1tq060df.js → location-service-map-cpy6gm2a.js} +4 -4
- package/dist/chunks/{file-mutation-qvmrrkn4.js → location-service-map-cr3ncdfd.js} +15 -15
- package/dist/chunks/{file-mutation-crerbey2.js → location-service-map-cw44182b.js} +13 -13
- package/dist/chunks/{file-mutation-qsfy776b.js → location-service-map-cypa6x43.js} +145 -145
- package/dist/chunks/{file-mutation-x9r28hpy.js → location-service-map-d0q9ckcg.js} +11 -11
- package/dist/chunks/{file-mutation-4vsx94mh.js → location-service-map-d4cj2fkp.js} +14 -14
- package/dist/chunks/{file-mutation-s6qqwf79.js → location-service-map-dazn98v0.js} +18 -18
- package/dist/chunks/{file-mutation-2gskh1mm.js → location-service-map-ddgkytyd.js} +11 -11
- package/dist/chunks/{file-mutation-3nqcgnfp.js → location-service-map-df0gkme9.js} +23 -23
- package/dist/chunks/{file-mutation-efefhkab.js → location-service-map-df8wfjhb.js} +8 -8
- package/dist/chunks/{file-mutation-kvdhyq3q.js → location-service-map-dhtngw88.js} +1 -1
- package/dist/chunks/{file-mutation-dnxkq42g.js → location-service-map-dnxkq42g.js} +1 -1
- package/dist/chunks/{file-mutation-6p76pz0z.js → location-service-map-dzt1gkzc.js} +1 -1
- package/dist/chunks/{file-mutation-j4rcav1h.js → location-service-map-e2nptsr1.js} +2 -2
- package/dist/chunks/{file-mutation-jbjey0e3.js → location-service-map-e4hpnsth.js} +8 -8
- package/dist/chunks/{file-mutation-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-afvrez62.js → location-service-map-em9mvw3q.js} +3 -3
- package/dist/chunks/{file-mutation-dfb5xyy8.js → location-service-map-eny7che3.js} +22 -22
- package/dist/chunks/location-service-map-eq4htthf.js +507 -0
- package/dist/chunks/{file-mutation-q4de835y.js → location-service-map-eqr5kkcb.js} +18 -18
- package/dist/chunks/{file-mutation-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-71az546q.js → location-service-map-f75zav2x.js} +2 -2
- package/dist/chunks/{file-mutation-hs94awhq.js → location-service-map-f82vcjah.js} +26 -26
- package/dist/chunks/{file-mutation-19xqmxzb.js → location-service-map-f9c0v65h.js} +28 -28
- package/dist/chunks/{file-mutation-7mmecq5g.js → location-service-map-f9ms0q7x.js} +75 -75
- package/dist/chunks/{file-mutation-xge32yc5.js → location-service-map-fcxfz2dh.js} +43 -43
- package/dist/chunks/{file-mutation-h5w29vws.js → location-service-map-fp2xarvc.js} +1 -1
- package/dist/chunks/{file-mutation-xy26ekgv.js → location-service-map-fq8drmz5.js} +12 -12
- package/dist/chunks/{file-mutation-df30mp1e.js → location-service-map-fsf6g8we.js} +12 -12
- package/dist/chunks/{file-mutation-2gsmrbz9.js → location-service-map-ft7bzd3t.js} +15 -15
- package/dist/chunks/{file-mutation-0v60q3fy.js → location-service-map-g73vqmcr.js} +21 -21
- package/dist/chunks/{file-mutation-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-en9mxp96.js → location-service-map-gh5z95q3.js} +9 -9
- package/dist/chunks/{file-mutation-27dfp4c1.js → location-service-map-gmdj5py7.js} +16 -16
- package/dist/chunks/{file-mutation-yb42xt1h.js → location-service-map-gq2rsxfw.js} +24 -24
- package/dist/chunks/{file-mutation-abfvgvhb.js → location-service-map-h31dk0az.js} +21 -21
- package/dist/chunks/{file-mutation-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-smcmy5n9.js → location-service-map-h8dz2c4h.js} +19 -19
- package/dist/chunks/{file-mutation-bg2mdfm2.js → location-service-map-h948vptj.js} +19 -19
- package/dist/chunks/{file-mutation-vcxjdkvk.js → location-service-map-hbbsc9bk.js} +7 -7
- package/dist/chunks/{file-mutation-h50deg1f.js → location-service-map-hmahja3n.js} +11 -11
- package/dist/chunks/{file-mutation-zqjw1a65.js → location-service-map-hnb7ksa1.js} +24 -24
- package/dist/chunks/{file-mutation-f4teqsxm.js → location-service-map-hyjcfdkb.js} +20 -20
- package/dist/chunks/{file-mutation-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-3fcjbxc2.js → location-service-map-j7vd8rf6.js} +8 -8
- package/dist/chunks/{file-mutation-mmegcj2n.js → location-service-map-jh993r23.js} +5 -5
- package/dist/chunks/{file-mutation-d3tahmry.js → location-service-map-jkddzpv8.js} +40 -40
- package/dist/chunks/{file-mutation-0tq54tbr.js → location-service-map-jnz6aqx8.js} +15 -15
- package/dist/chunks/{file-mutation-srx8aqwq.js → location-service-map-jvhhxj5g.js} +32 -32
- package/dist/chunks/{file-mutation-axmvebxj.js → location-service-map-jw80jp6b.js} +21 -21
- package/dist/chunks/{file-mutation-bfnsmjbw.js → location-service-map-jzzgdak2.js} +5 -5
- package/dist/chunks/{file-mutation-c1c4mmyf.js → location-service-map-k2x8eawc.js} +8 -8
- package/dist/chunks/{file-mutation-k3c624dm.js → location-service-map-k3c624dm.js} +3 -3
- package/dist/chunks/{file-mutation-9e5bzkjp.js → location-service-map-kb9j3d72.js} +3 -3
- package/dist/chunks/{file-mutation-w2kzc4js.js → location-service-map-kfj6926z.js} +8 -8
- package/dist/chunks/location-service-map-kgh7dc64.js +252 -0
- package/dist/chunks/{file-mutation-4fz4aa1m.js → location-service-map-kpw1vept.js} +90 -90
- package/dist/chunks/{file-mutation-91kxkj6b.js → location-service-map-krzsxqgn.js} +5 -5
- package/dist/chunks/{file-mutation-cxj5rg6j.js → location-service-map-kt2ww3gv.js} +15 -15
- package/dist/chunks/{file-mutation-eaateh2a.js → location-service-map-kv333t4q.js} +11 -11
- package/dist/chunks/{file-mutation-nmv5v3dc.js → location-service-map-kwbd35qc.js} +14 -14
- package/dist/chunks/{file-mutation-ah7gyhk7.js → location-service-map-kwc1fk34.js} +18 -18
- package/dist/chunks/{file-mutation-qchbb8jr.js → location-service-map-kzmggykm.js} +13 -13
- package/dist/chunks/{file-mutation-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-mazbtkaa.js → location-service-map-mazbtkaa.js} +2 -2
- package/dist/chunks/{file-mutation-eer3hyzn.js → location-service-map-mbqaeapj.js} +3 -3
- package/dist/chunks/{file-mutation-p5c89f54.js → location-service-map-mdbvbt6p.js} +6 -6
- package/dist/chunks/{file-mutation-7rrbrwx8.js → location-service-map-metwdsq9.js} +9 -9
- package/dist/chunks/{file-mutation-1ygqh575.js → location-service-map-mfqp6xfm.js} +6 -6
- package/dist/chunks/{file-mutation-qjv8x3xg.js → location-service-map-mfw2awst.js} +24 -24
- package/dist/chunks/{file-mutation-5sek2qac.js → location-service-map-mh42e4fs.js} +25 -25
- package/dist/chunks/{file-mutation-vestgjg2.js → location-service-map-mkt34dw6.js} +10 -10
- package/dist/chunks/{file-mutation-8pxr3grp.js → location-service-map-mppcaqg4.js} +15 -15
- package/dist/chunks/{file-mutation-1w1mvqv8.js → location-service-map-n4e63efs.js} +26 -26
- package/dist/chunks/{file-mutation-1pvcwerr.js → location-service-map-n7d8enq0.js} +33 -33
- package/dist/chunks/{file-mutation-4efz7qwp.js → location-service-map-n7qqpvr7.js} +39 -39
- package/dist/chunks/{file-mutation-11dqjexa.js → location-service-map-n9j73x72.js} +9 -9
- package/dist/chunks/{file-mutation-j5rxtxht.js → location-service-map-nb9p6b26.js} +4 -4
- package/dist/chunks/{file-mutation-e2sbw8kj.js → location-service-map-nntvhnn2.js} +13 -13
- package/dist/chunks/{file-mutation-fhz5gfgy.js → location-service-map-npwy0cf6.js} +5 -5
- package/dist/chunks/{file-mutation-dpkg50ah.js → location-service-map-nxm207yx.js} +4 -4
- package/dist/chunks/{file-mutation-p37cw4rj.js → location-service-map-pa8pe2x7.js} +8 -8
- package/dist/chunks/{file-mutation-j8afcsyc.js → location-service-map-pcxghkgz.js} +4 -4
- package/dist/chunks/{file-mutation-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-vr6q59r9.js → location-service-map-py1x860b.js} +31 -31
- package/dist/chunks/{file-mutation-0j77ygfz.js → location-service-map-q0xm7vwc.js} +6 -6
- package/dist/chunks/{file-mutation-1y159n3z.js → location-service-map-q0yn0a00.js} +25 -25
- package/dist/chunks/{file-mutation-v5ganw7f.js → location-service-map-q37wehsy.js} +20 -20
- package/dist/chunks/{file-mutation-1q5awywt.js → location-service-map-q4fmv0xv.js} +5 -5
- package/dist/chunks/{file-mutation-3btptz78.js → location-service-map-q4pmfsgy.js} +21 -21
- package/dist/chunks/{file-mutation-gh2amhk9.js → location-service-map-q5dh8m3q.js} +11 -11
- package/dist/chunks/{file-mutation-ttb5pqry.js → location-service-map-q97sqkfn.js} +1 -1
- package/dist/chunks/{file-mutation-mde00trs.js → location-service-map-qcxsyce2.js} +30 -30
- package/dist/chunks/{file-mutation-r2m716tb.js → location-service-map-qmqgtz8f.js} +9 -9
- package/dist/chunks/{file-mutation-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-mutation-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-hbr9pfg0.js → location-service-map-qvmmfpcq.js} +19 -19
- package/dist/chunks/{file-mutation-9abq96ts.js → location-service-map-qwd2bpme.js} +13 -13
- package/dist/chunks/{file-mutation-93pcty3d.js → location-service-map-qxjpexte.js} +11 -11
- package/dist/chunks/{file-mutation-zsfb27kr.js → location-service-map-r0xtmwc9.js} +26 -26
- package/dist/chunks/{file-mutation-4afe6db8.js → location-service-map-r5dxw177.js} +12 -12
- package/dist/chunks/{file-mutation-69ntycvm.js → location-service-map-r6ncz69d.js} +11 -11
- package/dist/chunks/location-service-map-rap9a73h.js +18 -0
- package/dist/chunks/{file-mutation-7kpmht8a.js → location-service-map-rb8dxta3.js} +43 -43
- package/dist/chunks/{file-mutation-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-794rba6m.js → location-service-map-rt0y1tb2.js} +11 -11
- package/dist/chunks/{file-mutation-nkmhzjn0.js → location-service-map-rtdy27v2.js} +3 -3
- package/dist/chunks/location-service-map-rvzt496k.js +26 -0
- package/dist/chunks/{file-mutation-a46v4e4v.js → location-service-map-ryr25ayn.js} +4 -4
- package/dist/chunks/{file-mutation-pn3cc07s.js → location-service-map-s5met55r.js} +8 -8
- package/dist/chunks/{file-mutation-3kcqw2gn.js → location-service-map-sbbrww74.js} +45 -45
- package/dist/chunks/{file-mutation-faxrmdye.js → location-service-map-se4rkp3h.js} +8 -8
- package/dist/chunks/{file-mutation-j8cgstsh.js → location-service-map-t04r2rgd.js} +31 -31
- package/dist/chunks/{file-mutation-8mpnm3sv.js → location-service-map-t05ejhn4.js} +11 -11
- package/dist/chunks/{file-mutation-kwq42dss.js → location-service-map-t1z79y3b.js} +9 -9
- package/dist/chunks/{file-mutation-dq7nnhr6.js → location-service-map-t2c8037n.js} +5 -5
- package/dist/chunks/{file-mutation-f8knjmwx.js → location-service-map-t4wbtgqf.js} +7 -7
- package/dist/chunks/{file-mutation-xs0sd5xy.js → location-service-map-t6qketva.js} +9 -9
- package/dist/chunks/{file-mutation-53km52nr.js → location-service-map-t7hg4t9s.js} +18 -18
- package/dist/chunks/{file-mutation-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-wgbd6vqr.js → location-service-map-tbb5a1w1.js} +11 -11
- package/dist/chunks/{file-mutation-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-ge03txwd.js → location-service-map-tcjtknhy.js} +20 -20
- package/dist/chunks/{file-mutation-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-d8pxmj6e.js → location-service-map-thx56g7y.js} +30 -30
- package/dist/chunks/{file-mutation-b4twkq7r.js → location-service-map-ts23464c.js} +8 -8
- package/dist/chunks/{file-mutation-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-d3etny0e.js → location-service-map-txhq5xat.js} +20 -20
- package/dist/chunks/{file-mutation-4vksx2dy.js → location-service-map-v0a4b58r.js} +34 -34
- package/dist/chunks/{file-mutation-r44petzp.js → location-service-map-v2hz81kc.js} +12 -12
- package/dist/chunks/{file-mutation-rjd8b1f0.js → location-service-map-v2zvx02t.js} +8 -8
- package/dist/chunks/{file-mutation-3mrv89nd.js → location-service-map-v39s7m1c.js} +8 -8
- package/dist/chunks/{file-mutation-hb8c03b1.js → location-service-map-v5cas4zw.js} +18 -18
- package/dist/chunks/{file-mutation-m7xn29b6.js → location-service-map-v5jfzk8z.js} +4 -4
- package/dist/chunks/{file-mutation-h2nds8g1.js → location-service-map-v9wendj7.js} +16 -16
- package/dist/chunks/{file-mutation-405tx1tk.js → location-service-map-vdapyz2h.js} +20 -20
- package/dist/chunks/{file-mutation-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-350d91h4.js → location-service-map-vjwafz7y.js} +9 -9
- package/dist/chunks/{file-mutation-ck0ahkdp.js → location-service-map-vt44rdpy.js} +6 -6
- package/dist/chunks/{file-mutation-txq1wgms.js → location-service-map-vtf4aqe8.js} +24 -24
- package/dist/chunks/{file-mutation-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-g5w8qwbj.js → location-service-map-w19d8598.js} +7 -7
- package/dist/chunks/{file-mutation-7cffbw4q.js → location-service-map-w34ck8dm.js} +24 -24
- package/dist/chunks/{file-mutation-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-fj4szt4h.js → location-service-map-w6rwet04.js} +2 -2
- package/dist/chunks/{file-mutation-bs25rvjd.js → location-service-map-w9s2aqss.js} +53 -53
- package/dist/chunks/{file-mutation-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-ygs5atcy.js → location-service-map-wdg2z0ry.js} +20 -20
- package/dist/chunks/{file-mutation-p558d1j2.js → location-service-map-wead7aht.js} +5 -5
- package/dist/chunks/{file-mutation-3wnc7ezj.js → location-service-map-wjjfwp4d.js} +6 -6
- package/dist/chunks/{file-mutation-5bc6zw84.js → location-service-map-wkctdrs2.js} +25 -25
- package/dist/chunks/{file-mutation-30p2g8gp.js → location-service-map-wpqcga08.js} +29 -29
- package/dist/chunks/{file-mutation-zfg8098r.js → location-service-map-wze5rqr2.js} +13 -13
- package/dist/chunks/{file-mutation-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-mv8qn0d1.js → location-service-map-x1t8ysfd.js} +10 -10
- package/dist/chunks/{file-mutation-dw2p03ct.js → location-service-map-x4dqc0fn.js} +3 -3
- package/dist/chunks/{file-mutation-q3gt93a2.js → location-service-map-x8jrs81k.js} +4 -4
- package/dist/chunks/{file-mutation-nx97ad9f.js → location-service-map-xbqt463g.js} +24 -24
- package/dist/chunks/{file-mutation-dmqcgk4z.js → location-service-map-xkntkrq7.js} +5 -5
- package/dist/chunks/{file-mutation-pnppyfvq.js → location-service-map-xwsw2x6r.js} +18 -18
- package/dist/chunks/{file-mutation-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-nvxqht09.js → location-service-map-y6f0p4jw.js} +3 -3
- package/dist/chunks/{file-mutation-b6syrwy2.js → location-service-map-y72zmemf.js} +8 -8
- package/dist/chunks/{file-mutation-f471j0ph.js → location-service-map-ydhspzmx.js} +14 -14
- package/dist/chunks/{file-mutation-gv52jf4x.js → location-service-map-ygge93n4.js} +11 -11
- package/dist/chunks/{file-mutation-2m8jawch.js → location-service-map-ykt494b9.js} +4 -4
- package/dist/chunks/{file-mutation-qzx0ab9v.js → location-service-map-yr8x2904.js} +1 -1
- package/dist/chunks/{file-mutation-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-ab26tb5m.js → location-service-map-yx8jszhp.js} +4 -4
- package/dist/chunks/{file-mutation-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-5ymnsk7v.js → location-service-map-z655gt6v.js} +19 -19
- package/dist/chunks/{file-mutation-tz4n1mmd.js → location-service-map-zcrspsvn.js} +4 -4
- package/dist/chunks/{file-mutation-exgzb2ef.js → location-service-map-zgx66p1n.js} +9 -9
- package/dist/chunks/{file-mutation-c4b2jm8a.js → location-service-map-zh198g07.js} +24 -24
- package/dist/chunks/{file-mutation-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-ssx3rgd2.js → location-service-map-zv1vxfwa.js} +32 -32
- package/dist/chunks/{file-mutation-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-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 +125 -125
- package/dist/config/plugin/command.js +215 -215
- 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 +121 -121
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +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 +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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 +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- 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 +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +94 -94
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +141 -141
- 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 +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +93 -93
- 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 +97 -97
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +93 -93
- 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 +128 -128
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +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 +221 -221
- 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 +13 -13
- 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 +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +116 -116
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- 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 +91 -91
- 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 +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/file-mutation-06tx6k5j.js +0 -252
- package/dist/chunks/file-mutation-45th5jwr.js +0 -18
- package/dist/chunks/file-mutation-jvksfb2n.js +0 -507
- package/dist/chunks/file-mutation-k2aq9crv.js +0 -26
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-se4rkp3h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node77
|
|
8
|
+
} from "./location-service-map-nntvhnn2.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event14,
|
|
21
|
+
ID: () => ID11,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service68,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node72
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event14 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID11 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID11, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID11
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID11,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service68 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service82;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service73;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service68.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node72 = makeLocationNode({
|
|
188
|
+
service: Service68,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node86,
|
|
190
|
+
deps: [node86, node77]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID11, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service68, node72, exports_websearch3, Event14 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service74,
|
|
3
|
+
node78,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-0ka0548d.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service44,
|
|
8
|
+
node46
|
|
9
|
+
} from "./location-service-map-51f5btjf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service13
|
|
12
|
+
} from "./location-service-map-qcxsyce2.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-kgh7dc64.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service74, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service13);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node46.replace(Layer.succeed(Service44, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node78.replace(Layer.succeed(Service74, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service76
|
|
4
|
+
} from "./location-service-map-z655gt6v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service56
|
|
7
|
+
} from "./location-service-map-rb8dxta3.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service76;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service56);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-y6f0p4jw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error2 = {};
|
|
13
|
+
__export(exports_error2, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -19,9 +19,9 @@ __export(exports_error, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError9,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
|
-
SessionErrors: () =>
|
|
24
|
+
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
27
|
SyntheticConflictError: () => SyntheticConflictError2
|
|
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
31
31
|
import { Skill } from "@opencode/schema/skill";
|
|
32
32
|
import { SessionError } from "@opencode/schema/session-error";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
35
35
|
sessionID: SessionSchema2.ID
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
116
116
|
}) {
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./location-service-map-9jenw5nn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./location-service-map-rb8dxta3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service25
|
|
12
|
+
} from "./location-service-map-qvmmfpcq.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin10
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin10 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service56;
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service25;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin20 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin10, exports_worktree };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-se4rkp3h.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,12 +12,12 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info30,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
@@ -33,10 +33,10 @@ __export(exports_form, {
|
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info30 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer25, node82, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info20,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info20 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info20, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-se4rkp3h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service20,
|
|
6
|
+
Event3
|
|
7
|
+
} from "./location-service-map-f9c0v65h.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service20;
|
|
33
33
|
const bus = yield* Service82;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info19,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-zh198g07.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service56
|
|
11
|
+
} from "./location-service-map-rb8dxta3.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin33,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin33 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info19.make({
|
|
434
|
+
id: ID6.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info19.make({
|
|
441
|
+
id: ID6.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service56;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin33, exports_skill2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-mfqp6xfm.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin24,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin24 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin3 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint6);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint6, Plugin24, exports_exa };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./location-service-map-aqbp6ek4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service27
|
|
6
|
+
} from "./location-service-map-kpw1vept.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make11 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service27;
|
|
24
|
+
const jobs = yield* Service48;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|