@opencode/core 0.0.0-dev-20097 → 0.0.0-dev-20103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{agent-tw7pwy41.js → location-service-map-06ejv7nx.js} +23 -23
- package/dist/chunks/{agent-9y90ydfh.js → location-service-map-0bfzm7aa.js} +17 -17
- package/dist/chunks/{agent-dq0v80fr.js → location-service-map-0c2xmx3r.js} +12 -12
- package/dist/chunks/{agent-95sbn98w.js → location-service-map-0cjbgter.js} +11 -11
- package/dist/chunks/{agent-h420pbdz.js → location-service-map-0e3tt2mf.js} +4 -4
- package/dist/chunks/{agent-e6hd9jay.js → location-service-map-0ft9cg2j.js} +4 -4
- package/dist/chunks/location-service-map-0mesazry.js +4 -0
- package/dist/chunks/{agent-khsmmeas.js → location-service-map-0mttjrfr.js} +10 -10
- package/dist/chunks/{agent-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{agent-bct739vz.js → location-service-map-0v53mg2y.js} +4 -4
- package/dist/chunks/{agent-r5x6zcsm.js → location-service-map-1bbkgx8g.js} +3 -3
- package/dist/chunks/{agent-jz6frww0.js → location-service-map-1d5e7fjz.js} +24 -24
- package/dist/chunks/{agent-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{agent-g8d3gcyj.js → location-service-map-1g7epwpd.js} +4 -4
- package/dist/chunks/{agent-8j3kf1eb.js → location-service-map-1kw05xve.js} +22 -22
- package/dist/chunks/{agent-fq21n8kg.js → location-service-map-1kyxasan.js} +5 -5
- package/dist/chunks/{agent-w0m74e8e.js → location-service-map-1v08eb6w.js} +19 -19
- package/dist/chunks/{agent-j76x6msn.js → location-service-map-1yqzakes.js} +11 -11
- package/dist/chunks/{agent-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{agent-2402vzrj.js → location-service-map-2402vzrj.js} +1 -1
- package/dist/chunks/{agent-fhs97t90.js → location-service-map-24dd53tp.js} +9 -9
- package/dist/chunks/{agent-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{agent-p1jhb79r.js → location-service-map-2c0dm15m.js} +6 -6
- package/dist/chunks/{agent-am1638rj.js → location-service-map-2gnwkpvd.js} +5 -5
- package/dist/chunks/{agent-8vkkgngr.js → location-service-map-2h8zcfyj.js} +6 -6
- package/dist/chunks/{agent-0jwsre1p.js → location-service-map-2k8khapm.js} +5 -5
- package/dist/chunks/{agent-3zjyq5kp.js → location-service-map-2v9qn293.js} +11 -11
- package/dist/chunks/{agent-et0rkxxj.js → location-service-map-2w5dyyz8.js} +8 -8
- package/dist/chunks/{agent-c651xxjb.js → location-service-map-30krspkn.js} +4 -4
- package/dist/chunks/{agent-jvv6rca9.js → location-service-map-36cphf8b.js} +9 -9
- package/dist/chunks/{agent-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{agent-bzfhs60c.js → location-service-map-3hbctp76.js} +30 -30
- package/dist/chunks/{agent-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-fpcmhq1w.js → location-service-map-3kh5ghz4.js} +18 -18
- package/dist/chunks/{agent-nbzsj80d.js → location-service-map-3pbjq009.js} +8 -8
- package/dist/chunks/{agent-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{agent-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{agent-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{agent-9jddndyh.js → location-service-map-45r8z7s5.js} +42 -42
- package/dist/chunks/{agent-w5bpb8j7.js → location-service-map-495chtjc.js} +24 -24
- package/dist/chunks/{agent-k1z6zz7b.js → location-service-map-4acwr5gm.js} +24 -24
- package/dist/chunks/{agent-9pw8sy2q.js → location-service-map-4bvexzs9.js} +7 -7
- package/dist/chunks/{agent-d6gar2mb.js → location-service-map-4bx5mh4w.js} +20 -20
- package/dist/chunks/{agent-crwh5vwx.js → location-service-map-4bxhq5dc.js} +12 -12
- package/dist/chunks/{agent-rqqqmm2x.js → location-service-map-4c8bw516.js} +8 -8
- package/dist/chunks/{agent-jc2w93fw.js → location-service-map-4t7rsg8e.js} +51 -51
- package/dist/chunks/{agent-e4t91rn4.js → location-service-map-4tgay3js.js} +15 -15
- package/dist/chunks/{agent-wtzh7vad.js → location-service-map-4z91h2q2.js} +21 -21
- package/dist/chunks/{agent-b6n0f07q.js → location-service-map-5153gk4s.js} +28 -28
- package/dist/chunks/{agent-7k9dqqsg.js → location-service-map-55krd67x.js} +25 -25
- package/dist/chunks/{agent-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{agent-5ekn9679.js → location-service-map-5ekn9679.js} +1 -1
- package/dist/chunks/{agent-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{agent-1t756eex.js → location-service-map-60djdr4t.js} +10 -10
- package/dist/chunks/{agent-kzsyc47h.js → location-service-map-61a3zr4c.js} +18 -18
- package/dist/chunks/{agent-4tb9kxn6.js → location-service-map-63kngrnd.js} +8 -8
- package/dist/chunks/{agent-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{agent-9gnd804a.js → location-service-map-68dy1mx9.js} +37 -37
- package/dist/chunks/{agent-95n9ta3s.js → location-service-map-6a44wwkp.js} +6 -6
- package/dist/chunks/location-service-map-6enptsyn.js +507 -0
- package/dist/chunks/{agent-3dwfd5y2.js → location-service-map-6k4ynzw8.js} +10 -10
- package/dist/chunks/{agent-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
- package/dist/chunks/{agent-cwa6csj7.js → location-service-map-79qaa2kf.js} +9 -9
- package/dist/chunks/{agent-9pswe2t8.js → location-service-map-7bgeh318.js} +23 -23
- package/dist/chunks/{agent-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-10xd58z0.js → location-service-map-7evypc3h.js} +3 -3
- package/dist/chunks/{agent-6fkaw2xz.js → location-service-map-7shq9dj0.js} +8 -8
- package/dist/chunks/{agent-vt4rwap3.js → location-service-map-833tk66z.js} +9 -9
- package/dist/chunks/{agent-8hhx35dq.js → location-service-map-853pnbmg.js} +4 -4
- package/dist/chunks/{agent-ef05nmcp.js → location-service-map-88ncvmwj.js} +4 -4
- package/dist/chunks/{agent-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{agent-0x0enb5q.js → location-service-map-8e9852ac.js} +11 -11
- package/dist/chunks/location-service-map-8gz0hh7m.js +252 -0
- package/dist/chunks/{agent-970zzb99.js → location-service-map-8hcfckj3.js} +11 -11
- package/dist/chunks/{agent-bt5x84hs.js → location-service-map-8r011ra3.js} +22 -22
- package/dist/chunks/{agent-fj6am7we.js → location-service-map-8ssbnkm6.js} +30 -30
- package/dist/chunks/{agent-5kdwdsfr.js → location-service-map-8yktps7k.js} +11 -11
- package/dist/chunks/{agent-439r14a2.js → location-service-map-939j0jr0.js} +14 -14
- package/dist/chunks/{agent-94ek1h2f.js → location-service-map-94ek1h2f.js} +2 -2
- package/dist/chunks/{agent-8zmehegn.js → location-service-map-9n2ezk31.js} +27 -27
- package/dist/chunks/{agent-180z65gf.js → location-service-map-9qkckev2.js} +33 -33
- package/dist/chunks/{agent-r4r17rq4.js → location-service-map-9ss103sy.js} +7 -7
- package/dist/chunks/{agent-retswvcy.js → location-service-map-9x3kmp58.js} +6 -6
- package/dist/chunks/{agent-j325xqev.js → location-service-map-a3r4dcrj.js} +2 -2
- package/dist/chunks/{agent-a12t2k2w.js → location-service-map-a79ds6nc.js} +16 -16
- package/dist/chunks/{agent-4bm5ja14.js → location-service-map-a89e0tac.js} +4 -4
- package/dist/chunks/{agent-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{agent-57ez7d0k.js → location-service-map-aamtrqep.js} +9 -9
- package/dist/chunks/{agent-w1tfbzx8.js → location-service-map-apeh0v2n.js} +10 -10
- package/dist/chunks/{agent-s53zfdxe.js → location-service-map-aq0amx4n.js} +23 -23
- package/dist/chunks/{agent-dzmmerrf.js → location-service-map-aq106s15.js} +9 -9
- package/dist/chunks/{agent-187249xp.js → location-service-map-aq9v1yk8.js} +6 -6
- package/dist/chunks/{agent-6eezz40m.js → location-service-map-ardd2bsn.js} +5 -5
- package/dist/chunks/{agent-x5wbyy1f.js → location-service-map-as62jwn8.js} +22 -22
- package/dist/chunks/{agent-j75c8f36.js → location-service-map-asq856p3.js} +15 -15
- package/dist/chunks/{agent-gs3s1a1g.js → location-service-map-at1kfnmk.js} +8 -8
- package/dist/chunks/{agent-r40cdba5.js → location-service-map-avae2qkj.js} +11 -11
- package/dist/chunks/{agent-qsxf26yz.js → location-service-map-awaee7qt.js} +6 -6
- package/dist/chunks/{agent-pwa9tev3.js → location-service-map-awhka9ay.js} +21 -21
- package/dist/chunks/{agent-5q306sn2.js → location-service-map-axjpx4kj.js} +4 -4
- package/dist/chunks/{agent-b3xz1q2n.js → location-service-map-b24v4ebx.js} +26 -26
- package/dist/chunks/{agent-njyz79cc.js → location-service-map-b3s7ae97.js} +37 -37
- package/dist/chunks/{agent-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{agent-emyyb3h7.js → location-service-map-b87s103s.js} +24 -24
- package/dist/chunks/{agent-6qckwf5w.js → location-service-map-bdphn620.js} +50 -50
- package/dist/chunks/{agent-7hgr463c.js → location-service-map-bf0cd63e.js} +5 -5
- package/dist/chunks/{agent-ffqrm4dy.js → location-service-map-bk0crrr6.js} +25 -25
- package/dist/chunks/{agent-m30kdexy.js → location-service-map-bq1hpwve.js} +3 -3
- package/dist/chunks/{agent-gmf134c1.js → location-service-map-bthk55h6.js} +32 -32
- package/dist/chunks/{agent-wrmaeg5p.js → location-service-map-bwdmmacb.js} +11 -11
- package/dist/chunks/{agent-974apvmy.js → location-service-map-c16s4pd0.js} +44 -44
- package/dist/chunks/{agent-96r286zg.js → location-service-map-c1np9tvh.js} +7 -7
- package/dist/chunks/{agent-wr7ps67x.js → location-service-map-ce5fknq2.js} +5 -5
- package/dist/chunks/{agent-fgfb0b2k.js → location-service-map-cfmv9c3d.js} +15 -15
- package/dist/chunks/{agent-br6g232s.js → location-service-map-cgm666vp.js} +15 -15
- package/dist/chunks/{agent-g4nf9hqv.js → location-service-map-cgza1zmh.js} +14 -14
- package/dist/chunks/{agent-ckecvw8r.js → location-service-map-ckecvw8r.js} +2 -2
- package/dist/chunks/{agent-qcfjhy73.js → location-service-map-ckh625m3.js} +31 -31
- package/dist/chunks/{agent-wkzkw8tr.js → location-service-map-cmefedvg.js} +3 -3
- package/dist/chunks/{agent-4snp72qp.js → location-service-map-cn44awdn.js} +31 -31
- package/dist/chunks/{agent-rabh22kx.js → location-service-map-cnzxmjcj.js} +29 -29
- package/dist/chunks/{agent-a8mfdbqj.js → location-service-map-cphrfjpg.js} +3 -3
- package/dist/chunks/{agent-cda3cvpx.js → location-service-map-cw6vaqhy.js} +14 -14
- package/dist/chunks/{agent-mr4nn3b0.js → location-service-map-czvzv6fj.js} +6 -6
- package/dist/chunks/{agent-xt2arqya.js → location-service-map-d40gq58t.js} +22 -22
- package/dist/chunks/{agent-cc4mce2f.js → location-service-map-d4vrvgq4.js} +11 -11
- package/dist/chunks/{agent-8vggh432.js → location-service-map-d4w6k1nt.js} +17 -17
- package/dist/chunks/{agent-m26c3xec.js → location-service-map-d5g0vem9.js} +32 -32
- package/dist/chunks/{agent-71wjg4kw.js → location-service-map-ddvvm6a9.js} +17 -17
- package/dist/chunks/{agent-mks6kp02.js → location-service-map-dfq5ekm3.js} +5 -5
- package/dist/chunks/{agent-j3na2f7t.js → location-service-map-dkgjef6k.js} +15 -15
- package/dist/chunks/{agent-dmqcgk4z.js → location-service-map-dmqcgk4z.js} +2 -2
- package/dist/chunks/{agent-3tnqn7ww.js → location-service-map-dmx755zn.js} +11 -11
- package/dist/chunks/{agent-3f7398v7.js → location-service-map-dp4kwseh.js} +20 -20
- package/dist/chunks/{agent-y71avatq.js → location-service-map-dpkg50ah.js} +4 -4
- package/dist/chunks/{agent-5v30z6ja.js → location-service-map-e2k0bps6.js} +26 -26
- package/dist/chunks/{agent-aemzcrym.js → location-service-map-e5wg673t.js} +25 -25
- package/dist/chunks/{agent-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{agent-195jkryp.js → location-service-map-efg2p63t.js} +35 -35
- package/dist/chunks/{agent-xf20h1cj.js → location-service-map-egx0h0k6.js} +21 -21
- package/dist/chunks/{agent-8qtvggd8.js → location-service-map-eqqc0c45.js} +17 -17
- package/dist/chunks/{agent-erw5rpbs.js → location-service-map-erw5rpbs.js} +2 -2
- package/dist/chunks/{agent-8yfag9w4.js → location-service-map-esxc65j0.js} +20 -20
- package/dist/chunks/{agent-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{agent-37s12vcn.js → location-service-map-evbgk2k8.js} +5 -5
- package/dist/chunks/{agent-8v6pyhej.js → location-service-map-eys57y9b.js} +8 -8
- package/dist/chunks/{agent-xy1gf4rw.js → location-service-map-f13k8as2.js} +4 -4
- package/dist/chunks/{agent-50mzsvk4.js → location-service-map-f3ngv102.js} +4 -4
- package/dist/chunks/{agent-ca7w653e.js → location-service-map-f73rjn58.js} +4 -4
- package/dist/chunks/{agent-ym7x7v54.js → location-service-map-fanjy7dq.js} +25 -25
- package/dist/chunks/{agent-grg0hm6f.js → location-service-map-fh5hhkj6.js} +32 -32
- package/dist/chunks/{agent-5z7c0ntw.js → location-service-map-fp4gar62.js} +18 -18
- package/dist/chunks/{agent-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{agent-zvtzzjx8.js → location-service-map-gg0c0qt7.js} +26 -26
- package/dist/chunks/{agent-qzq3tp80.js → location-service-map-gk0e7dgm.js} +5 -5
- package/dist/chunks/{agent-wgtcm0m7.js → location-service-map-gp9g74ej.js} +4 -4
- package/dist/chunks/{agent-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
- package/dist/chunks/{agent-8s95nyqa.js → location-service-map-h4m0f94k.js} +5 -5
- package/dist/chunks/{agent-z0pa14ta.js → location-service-map-h5f6ggqy.js} +10 -10
- package/dist/chunks/{agent-4378a0hc.js → location-service-map-h66kq4ja.js} +10 -10
- package/dist/chunks/{agent-nzyhnfxz.js → location-service-map-h6r3nrb9.js} +4 -4
- package/dist/chunks/{agent-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{agent-a1a50ys5.js → location-service-map-hkfg6fzm.js} +5 -5
- package/dist/chunks/{agent-27eedk78.js → location-service-map-j237fm2y.js} +29 -29
- package/dist/chunks/{agent-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{agent-vtpkq4qf.js → location-service-map-j9ty9cws.js} +1 -1
- package/dist/chunks/{agent-f5syc60y.js → location-service-map-jexxy024.js} +3 -3
- package/dist/chunks/{agent-4yxx405s.js → location-service-map-jqw5f6af.js} +26 -26
- package/dist/chunks/{agent-k3c624dm.js → location-service-map-k3c624dm.js} +3 -3
- package/dist/chunks/{agent-w21repx7.js → location-service-map-k5h5c7q1.js} +38 -38
- package/dist/chunks/{agent-q10v52aa.js → location-service-map-k8f6en75.js} +11 -11
- package/dist/chunks/{agent-ba5zwyng.js → location-service-map-ket9r42f.js} +16 -16
- package/dist/chunks/location-service-map-m18qmtz2.js +18 -0
- package/dist/chunks/{agent-rcgt23b9.js → location-service-map-m1shccce.js} +32 -32
- package/dist/chunks/{agent-gf8f2rcw.js → location-service-map-m24y9wwb.js} +17 -17
- package/dist/chunks/{agent-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
- package/dist/chunks/{agent-wvvmmxvm.js → location-service-map-m3z1x1h0.js} +11 -11
- package/dist/chunks/{agent-kwrf6mrp.js → location-service-map-m6nec9qq.js} +4 -4
- package/dist/chunks/{agent-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-207sxyyq.js → location-service-map-mfpnwtem.js} +7 -7
- package/dist/chunks/{agent-56gdpj1q.js → location-service-map-mfqp6xfm.js} +6 -6
- package/dist/chunks/{agent-wxjq8k3m.js → location-service-map-mswzr7xn.js} +25 -25
- package/dist/chunks/{agent-pk5jep21.js → location-service-map-mvav9bkw.js} +18 -18
- package/dist/chunks/{agent-epd79qdj.js → location-service-map-mvc34etw.js} +9 -9
- package/dist/chunks/{agent-6xscy18h.js → location-service-map-myypamct.js} +33 -33
- package/dist/chunks/{agent-k65r9af3.js → location-service-map-n2fjwnd6.js} +11 -11
- package/dist/chunks/{agent-s75w71bb.js → location-service-map-n51zs5vf.js} +8 -8
- package/dist/chunks/{agent-3jy1139n.js → location-service-map-npsqtpy7.js} +30 -30
- package/dist/chunks/{agent-jvvge85p.js → location-service-map-nt81b04e.js} +20 -20
- package/dist/chunks/{agent-3mmdgdjj.js → location-service-map-ntx68rw5.js} +6 -6
- package/dist/chunks/{agent-h4xnkbg8.js → location-service-map-nwheqxjr.js} +36 -36
- package/dist/chunks/{agent-prt5basj.js → location-service-map-ny2517wm.js} +21 -21
- package/dist/chunks/{agent-3vsgk2p7.js → location-service-map-ny2gagq3.js} +11 -11
- package/dist/chunks/location-service-map-p2zqjdg1.js +26 -0
- package/dist/chunks/{agent-k1qjx27w.js → location-service-map-p8vkj1y5.js} +5 -5
- package/dist/chunks/{agent-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{agent-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{agent-zzvjeq0g.js → location-service-map-pkvp83aw.js} +16 -16
- package/dist/chunks/{agent-pjah6pe2.js → location-service-map-pnd08bfh.js} +15 -15
- package/dist/chunks/{agent-75ftyfa0.js → location-service-map-prgnye3a.js} +19 -19
- package/dist/chunks/{agent-5w978569.js → location-service-map-psnz0b2m.js} +87 -87
- package/dist/chunks/{agent-e8tny9qf.js → location-service-map-pwqjnrnh.js} +3 -3
- package/dist/chunks/{agent-rkprpv83.js → location-service-map-py3kkmfq.js} +2 -2
- package/dist/chunks/{agent-nvefxcm9.js → location-service-map-q0ez028y.js} +12 -12
- package/dist/chunks/{agent-97mkmtmd.js → location-service-map-q9v0w4bd.js} +32 -32
- package/dist/chunks/{agent-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{agent-x2d9qy7d.js → location-service-map-qvreyy9g.js} +5 -5
- package/dist/chunks/{agent-hg3pgq27.js → location-service-map-r4k9ar4d.js} +6 -6
- package/dist/chunks/{agent-yp2x3t23.js → location-service-map-r8xr0va3.js} +4 -4
- package/dist/chunks/{agent-0996nyz8.js → location-service-map-r9w3djhf.js} +5 -5
- package/dist/chunks/{agent-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{agent-mkwsrdpy.js → location-service-map-rgm7mqtj.js} +20 -20
- package/dist/chunks/{agent-nyvvhy0p.js → location-service-map-rh6g2sa8.js} +11 -11
- package/dist/chunks/{agent-y4y8g8ts.js → location-service-map-rhrfrnty.js} +47 -47
- package/dist/chunks/{agent-kb3wdknj.js → location-service-map-s6m6nc9p.js} +6 -6
- package/dist/chunks/{agent-40c61p32.js → location-service-map-s78dyy7j.js} +26 -26
- package/dist/chunks/{agent-02nrjc1r.js → location-service-map-s8d7rejh.js} +8 -8
- package/dist/chunks/{agent-98mydvev.js → location-service-map-szeyyw6m.js} +31 -31
- package/dist/chunks/{agent-nyv1j4r3.js → location-service-map-t2kq1zb2.js} +66 -66
- package/dist/chunks/{agent-aat21nqc.js → location-service-map-t30mswsp.js} +17 -17
- package/dist/chunks/{agent-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{agent-89znhe33.js → location-service-map-tcezcvh9.js} +4 -4
- package/dist/chunks/{agent-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{agent-61xdzkjd.js → location-service-map-te3fz92z.js} +9 -9
- package/dist/chunks/{agent-wmmy56cc.js → location-service-map-te77dbbn.js} +8 -8
- package/dist/chunks/{agent-cdm0dq9n.js → location-service-map-tegs1ycp.js} +6 -6
- package/dist/chunks/{agent-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/{agent-9p3rp546.js → location-service-map-v7tjtnqr.js} +42 -42
- package/dist/chunks/{agent-rw9fhyhq.js → location-service-map-vc0vj5dz.js} +20 -20
- package/dist/chunks/{agent-0yxqwdtr.js → location-service-map-vcdwqy0t.js} +46 -46
- package/dist/chunks/{agent-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-rk7s9xkn.js → location-service-map-vfjhn2wd.js} +4 -4
- package/dist/chunks/{agent-s7am3t11.js → location-service-map-vg14phsn.js} +34 -34
- package/dist/chunks/{agent-433eb07g.js → location-service-map-vgkexb79.js} +8 -8
- package/dist/chunks/{agent-vjxaqdq6.js → location-service-map-vhycsadx.js} +43 -43
- package/dist/chunks/{agent-hp9thjyh.js → location-service-map-vp8cnahr.js} +20 -20
- package/dist/chunks/{agent-5j37ws3e.js → location-service-map-vrp7sfj8.js} +17 -17
- package/dist/chunks/{agent-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{agent-hvdqw0fa.js → location-service-map-w1rn1h1h.js} +7 -7
- package/dist/chunks/{agent-x6mxy5rc.js → location-service-map-w2qrtdv7.js} +20 -20
- package/dist/chunks/{agent-q9k0gsh2.js → location-service-map-w3m67914.js} +44 -44
- package/dist/chunks/{agent-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-rghjtt8s.js → location-service-map-w8djw5a7.js} +9 -9
- package/dist/chunks/{agent-hy7mmz7x.js → location-service-map-wb86x3ay.js} +1 -1
- package/dist/chunks/{agent-wd3x2cqz.js → location-service-map-wd3x2cqz.js} +2 -2
- package/dist/chunks/{agent-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{agent-1jdf3fxk.js → location-service-map-wk1rrwe6.js} +13 -13
- package/dist/chunks/{agent-5gs1xt34.js → location-service-map-wn3c38y7.js} +11 -11
- package/dist/chunks/{agent-4vtve4mp.js → location-service-map-wnxpvc6c.js} +2 -2
- package/dist/chunks/{agent-2h5wpswp.js → location-service-map-wt3nx885.js} +13 -13
- package/dist/chunks/{agent-2q5q7rph.js → location-service-map-wxp0jyf7.js} +20 -20
- package/dist/chunks/{agent-fwpx9avw.js → location-service-map-wzrg2q53.js} +48 -48
- package/dist/chunks/{agent-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{agent-qyvvmpr4.js → location-service-map-x1vt8hry.js} +10 -10
- package/dist/chunks/{agent-c3q7hj01.js → location-service-map-x3v6tvna.js} +17 -17
- package/dist/chunks/{agent-p28vygmv.js → location-service-map-x5spkhqe.js} +27 -27
- package/dist/chunks/{agent-q3zwv4bp.js → location-service-map-x7xg137b.js} +4 -4
- package/dist/chunks/{agent-cktb56xb.js → location-service-map-xdhfzwgn.js} +6 -6
- package/dist/chunks/{agent-drwq78ky.js → location-service-map-xfkkasph.js} +4 -4
- package/dist/chunks/{agent-rv27b6j4.js → location-service-map-xgjvnsnz.js} +10 -10
- package/dist/chunks/{agent-e57neqwz.js → location-service-map-xmznkxks.js} +1 -1
- package/dist/chunks/{agent-9wwn998v.js → location-service-map-xqngxfdt.js} +186 -186
- package/dist/chunks/{agent-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{agent-tbj51q56.js → location-service-map-y6bc7ytb.js} +20 -20
- package/dist/chunks/{agent-8ek8aczr.js → location-service-map-y6n8wcsw.js} +13 -13
- package/dist/chunks/{agent-n68d0cf5.js → location-service-map-y7d70cjs.js} +16 -16
- package/dist/chunks/{agent-f5gy8qwh.js → location-service-map-yf10kn3d.js} +8 -8
- package/dist/chunks/{agent-hm613f1m.js → location-service-map-yffarvam.js} +19 -19
- package/dist/chunks/{agent-qn4ba14w.js → location-service-map-yjptyezs.js} +5 -5
- package/dist/chunks/{agent-2v3kphkq.js → location-service-map-ykwb97px.js} +7 -7
- package/dist/chunks/{agent-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{agent-yrznvahk.js → location-service-map-yrznvahk.js} +2 -2
- package/dist/chunks/{agent-wz2yh3bc.js → location-service-map-yvybj0e9.js} +89 -89
- package/dist/chunks/{agent-2pn7pm4n.js → location-service-map-yx96bawg.js} +53 -53
- package/dist/chunks/{agent-z07pqspn.js → location-service-map-z07pqspn.js} +3 -3
- package/dist/chunks/{agent-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-yv6fwtq8.js → location-service-map-z4vn3wja.js} +12 -12
- package/dist/chunks/{agent-z63w68vq.js → location-service-map-z63w68vq.js} +2 -2
- package/dist/chunks/{agent-m6hb8kht.js → location-service-map-z6k93gbd.js} +26 -26
- package/dist/chunks/{agent-h0yxpfzn.js → location-service-map-z8tmpf1c.js} +3 -3
- package/dist/chunks/{agent-7ksjx2k2.js → location-service-map-z8tr7vps.js} +46 -46
- package/dist/chunks/{agent-5cr33wy9.js → location-service-map-z9m63e6h.js} +22 -22
- package/dist/chunks/{agent-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
- package/dist/chunks/{agent-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{agent-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- 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 +124 -124
- 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 +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +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 +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/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +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 +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- 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 +352 -352
- 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/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- 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/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- 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 +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- 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 +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +11 -11
- 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 +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- 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 +120 -120
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- 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 +10 -10
- 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/agent-1qmbbwgh.js +0 -507
- package/dist/chunks/agent-6kdq0pjd.js +0 -4
- package/dist/chunks/agent-9zdhvgqs.js +0 -18
- package/dist/chunks/agent-jq4mhrem.js +0 -26
- package/dist/chunks/agent-qxc1ymac.js +0 -252
- /package/dist/chunks/{agent-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-922hggd3.js → location-service-map-922hggd3.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-x7xg137b.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID16,
|
|
11
|
+
Service80,
|
|
12
|
+
node84,
|
|
13
|
+
Event19
|
|
14
|
+
} from "./location-service-map-cn44awdn.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node81
|
|
21
|
+
} from "./location-service-map-ddvvm6a9.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event17,
|
|
41
|
+
ID: () => ID13,
|
|
42
|
+
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request3,
|
|
46
|
+
Service: () => Service76,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node80,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
|
+
var ID13 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request3 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service76 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
230
|
+
const integrations = yield* Service80;
|
|
231
|
+
const location = yield* Service77;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info27.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event19.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service76.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node87, node84, node81] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service76, node80, exports_provider3, Event17 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./location-service-map-ny2517wm.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./location-service-map-3pbjq009.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-853pnbmg.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service52
|
|
16
|
+
} from "./location-service-map-vcdwqy0t.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin19
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin19 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service52;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin31 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID12.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID12.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin19, exports_agent };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service52
|
|
4
|
+
} from "./location-service-map-vcdwqy0t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./location-service-map-9qkckev2.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin5
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin5 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service52;
|
|
27
|
+
const snapshot = yield* Service48;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin24 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin5, exports_snapshot };
|
|
@@ -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: () => Info24,
|
|
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 { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info24 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -49,4 +49,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
49
49
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
50
50
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
51
51
|
|
|
52
|
-
export {
|
|
52
|
+
export { Info24, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service71
|
|
4
|
+
} from "./location-service-map-ny2517wm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./location-service-map-ddvvm6a9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service52
|
|
10
|
+
} from "./location-service-map-vcdwqy0t.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service51,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-ket9r42f.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service30
|
|
17
|
+
} from "./location-service-map-yvybj0e9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make10
|
|
20
|
+
} from "./location-service-map-1yqzakes.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin17
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin17 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service52;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin25 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service77;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service51;
|
|
60
|
+
const sessions = yield* Service30;
|
|
61
|
+
const agents = yield* Service71;
|
|
62
|
+
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin25 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID12.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin17, exports_command };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info22,
|
|
6
|
+
ID8,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-4acwr5gm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service52
|
|
11
|
+
} from "./location-service-map-vcdwqy0t.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: () => Plugin34,
|
|
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 Plugin34 = 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(Info22.make({
|
|
434
|
+
id: ID8.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(Info22.make({
|
|
441
|
+
id: ID8.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* Service52;
|
|
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, Plugin34, exports_skill2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-d4vrvgq4.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin26,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin26 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin36 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin36 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint5, Plugin26, exports_parallel };
|