@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,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: () => endpoint3
|
|
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 endpoint3 = "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 Plugin35 = 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(endpoint3);
|
|
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 { endpoint3, Plugin24, exports_exa };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin43,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin43 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin7 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin43, exports_opencode };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./location-service-map-tegs1ycp.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-m18qmtz2.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-cmefedvg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service67
|
|
12
|
+
} from "./location-service-map-4acwr5gm.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service60;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service67), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-x7xg137b.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event21
|
|
10
|
+
} from "./location-service-map-8ssbnkm6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-cn44awdn.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service76
|
|
20
|
+
} from "./location-service-map-m1shccce.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./location-service-map-5153gk4s.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./location-service-map-z9m63e6h.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-d4vrvgq4.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID16.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service76;
|
|
161
161
|
const bus = yield* Service83;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID13.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID13.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID13.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID13.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID13.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-v7tjtnqr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service77,
|
|
9
|
+
node81
|
|
10
|
+
} from "./location-service-map-ddvvm6a9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service68,
|
|
13
|
+
node72
|
|
14
|
+
} from "./location-service-map-bdphn620.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node31,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service28 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service77;
|
|
61
|
+
const permission = yield* Service68;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service28.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node31 = makeLocationNode({ service: Service28, layer, deps: [FSUtil.node, node81, node72] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service28, resolvePath2, node31, exports_file_access };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info18
|
|
6
|
+
} from "./location-service-map-f3ngv102.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info17
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info18)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info17 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info17, exports_agent3 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service71
|
|
4
|
+
} from "./location-service-map-ny2517wm.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service64
|
|
8
|
+
} from "./location-service-map-5153gk4s.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./location-service-map-vcdwqy0t.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-jexxy024.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service61
|
|
18
|
+
} from "./location-service-map-eqqc0c45.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service68
|
|
22
|
+
} from "./location-service-map-bdphn620.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service30
|
|
25
|
+
} from "./location-service-map-yvybj0e9.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-service-map-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./location-service-map-1yqzakes.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input5,
|
|
40
|
+
Output: () => Output4,
|
|
41
|
+
Plugin: () => Plugin39,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description3,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name5
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name5 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input5 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,7 +72,7 @@ var Input3 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output4 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin39 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service30;
|
|
93
|
+
const jobs = yield* Service61;
|
|
94
|
+
const agents = yield* Service71;
|
|
95
|
+
const config = yield* Service52;
|
|
96
|
+
const permission = yield* Service68;
|
|
97
|
+
const models = yield* Service64;
|
|
98
|
+
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin3 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description3,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin3 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name5,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin3 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID12.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name5 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name5];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name5, Input5, Output4, description3, Plugin39, exports_subagent };
|