@opencode/core 0.0.0-dev-20201 → 0.0.0-dev-20203
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{instruction-discovery-0m9abmmn.js → location-services-04j5qzgw.js} +46 -46
- package/dist/chunks/{instruction-discovery-83nzp4gh.js → location-services-0fgcbzg9.js} +32 -32
- package/dist/chunks/{instruction-discovery-haf9dfsv.js → location-services-0gf2cy4k.js} +7 -7
- package/dist/chunks/{instruction-discovery-krfewakq.js → location-services-0gz88f7v.js} +20 -20
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-htjw9qza.js → location-services-0w62qmxp.js} +6 -6
- package/dist/chunks/{instruction-discovery-ydyhm6d1.js → location-services-0zdhcxq1.js} +2 -2
- package/dist/chunks/{instruction-discovery-2gps5qkv.js → location-services-129hjeyj.js} +35 -35
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-gjr572bt.js → location-services-1hbenywt.js} +6 -6
- package/dist/chunks/{instruction-discovery-1zt3wmc0.js → location-services-1pfd5r9f.js} +9 -9
- package/dist/chunks/{instruction-discovery-p6wxjpka.js → location-services-1rn5pcm9.js} +4 -4
- package/dist/chunks/{instruction-discovery-9hm3kz5r.js → location-services-1tqghxe1.js} +3 -3
- package/dist/chunks/{instruction-discovery-tf8k2ct1.js → location-services-1w8sqpqb.js} +15 -15
- package/dist/chunks/{instruction-discovery-56gdpj1q.js → location-services-1ygqh575.js} +9 -9
- package/dist/chunks/{instruction-discovery-1e45gtaj.js → location-services-20x4t0fx.js} +21 -21
- package/dist/chunks/{instruction-discovery-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-pt6tajbr.js → location-services-26arvx1m.js} +29 -29
- package/dist/chunks/{instruction-discovery-z63w68vq.js → location-services-29x78va6.js} +6 -6
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-zmmq3vtx.js → location-services-2c48prkg.js} +41 -41
- package/dist/chunks/{instruction-discovery-hv2q3w3f.js → location-services-2s51ny8k.js} +3 -3
- package/dist/chunks/{instruction-discovery-mx08f3d4.js → location-services-2wveq407.js} +35 -35
- package/dist/chunks/{instruction-discovery-gaz93y6q.js → location-services-2ynhemhj.js} +14 -14
- package/dist/chunks/{instruction-discovery-csym5fq6.js → location-services-3664e2vt.js} +11 -11
- package/dist/chunks/{instruction-discovery-m11z29hh.js → location-services-38j7x2hc.js} +44 -44
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-19m74aww.js → location-services-3j6aw61a.js} +32 -32
- package/dist/chunks/{instruction-discovery-5jryjte4.js → location-services-3nm0fk8h.js} +13 -13
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-h48630q4.js → location-services-3w9hmcr6.js} +4 -4
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-by21sspw.js → location-services-42rf9s8q.js} +22 -22
- package/dist/chunks/{instruction-discovery-b35m9fe4.js → location-services-44k2838g.js} +25 -25
- package/dist/chunks/{instruction-discovery-0p94bapm.js → location-services-46je7tbg.js} +24 -24
- package/dist/chunks/{instruction-discovery-nzyhnfxz.js → location-services-4dgbcxzg.js} +4 -4
- package/dist/chunks/{instruction-discovery-t52m587s.js → location-services-4h4hnnes.js} +90 -90
- package/dist/chunks/{instruction-discovery-dbfdzhzx.js → location-services-4p9aey09.js} +10 -10
- package/dist/chunks/{instruction-discovery-wtj1fkcm.js → location-services-4s6qdf3p.js} +27 -27
- package/dist/chunks/{instruction-discovery-6x932a0b.js → location-services-4tdje3y4.js} +11 -11
- package/dist/chunks/{instruction-discovery-54tcyq79.js → location-services-54tcyq79.js} +2 -2
- package/dist/chunks/{instruction-discovery-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-313btym2.js → location-services-5e1npf9a.js} +47 -47
- package/dist/chunks/{instruction-discovery-mj1xe8px.js → location-services-5jdch5sh.js} +19 -19
- package/dist/chunks/{instruction-discovery-pa3zv37e.js → location-services-5p8spvcz.js} +18 -18
- package/dist/chunks/{instruction-discovery-fhadyd41.js → location-services-5pezwg1d.js} +34 -34
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-8d0p2m37.js → location-services-5w8x6yjj.js} +8 -8
- package/dist/chunks/{instruction-discovery-1ajx6rf5.js → location-services-5xtgfte3.js} +8 -8
- package/dist/chunks/{instruction-discovery-4snd7rxp.js → location-services-5y305m15.js} +35 -35
- package/dist/chunks/{instruction-discovery-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-2402vzrj.js → location-services-6h73sxmp.js} +5 -5
- package/dist/chunks/{instruction-discovery-t1pte4dq.js → location-services-6hg3r82e.js} +11 -11
- package/dist/chunks/{instruction-discovery-3y9a08y5.js → location-services-6kbr84ay.js} +7 -7
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-w92k2e0p.js → location-services-6pc27hjz.js} +4 -4
- package/dist/chunks/{instruction-discovery-462mt53s.js → location-services-6v2f9cm4.js} +16 -16
- package/dist/chunks/{instruction-discovery-9dq8xf2p.js → location-services-728seb0w.js} +21 -21
- package/dist/chunks/{instruction-discovery-73tb2d7t.js → location-services-73tb2d7t.js} +1 -1
- package/dist/chunks/{instruction-discovery-1ed2t66p.js → location-services-784hb5j4.js} +4 -4
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/location-services-7edgwqb7.js +26 -0
- package/dist/chunks/{instruction-discovery-vmwh049b.js → location-services-7h7s3rmt.js} +9 -9
- package/dist/chunks/{instruction-discovery-n2f6f3b8.js → location-services-7hhteh4v.js} +3 -3
- package/dist/chunks/{instruction-discovery-9z1p3ewq.js → location-services-7m38xmwt.js} +11 -11
- package/dist/chunks/{instruction-discovery-fjvydvzm.js → location-services-7n2xhmm7.js} +5 -5
- package/dist/chunks/{instruction-discovery-0ktvqtxx.js → location-services-7ndtgxtc.js} +12 -12
- package/dist/chunks/{instruction-discovery-s595rm5c.js → location-services-7p2zmt5w.js} +3 -3
- package/dist/chunks/{instruction-discovery-1v0y93kt.js → location-services-7rnj5ym9.js} +32 -32
- package/dist/chunks/{instruction-discovery-2rk6v76p.js → location-services-7s76t0fg.js} +24 -24
- package/dist/chunks/location-services-7xa2s11f.js +252 -0
- package/dist/chunks/{instruction-discovery-57ez7d0k.js → location-services-81swgkk7.js} +7 -7
- package/dist/chunks/{instruction-discovery-zka01a4k.js → location-services-85sxd0h8.js} +3 -3
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → location-services-89znhe33.js} +4 -4
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-gcxftnca.js → location-services-8rxxwv2n.js} +11 -11
- package/dist/chunks/{instruction-discovery-4qj1kjwb.js → location-services-8s7zrxf3.js} +31 -31
- package/dist/chunks/{instruction-discovery-v86d1rgq.js → location-services-8xd21chy.js} +11 -11
- package/dist/chunks/{instruction-discovery-ah8906zj.js → location-services-903nybc4.js} +18 -18
- package/dist/chunks/{instruction-discovery-ec8m6frp.js → location-services-930n0wtx.js} +40 -40
- package/dist/chunks/{instruction-discovery-mazzq2sp.js → location-services-94mr9t66.js} +3 -3
- package/dist/chunks/{instruction-discovery-10zks11j.js → location-services-96ymsse1.js} +8 -8
- package/dist/chunks/{instruction-discovery-p3762mbd.js → location-services-9fbzm6a9.js} +8 -8
- package/dist/chunks/{instruction-discovery-sxz6gkc3.js → location-services-a2ew8a62.js} +7 -7
- package/dist/chunks/{instruction-discovery-9eczen2y.js → location-services-a354z5sm.js} +11 -11
- package/dist/chunks/{instruction-discovery-4m57d5j7.js → location-services-a7cgx6bn.js} +20 -20
- package/dist/chunks/{instruction-discovery-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-0mz76y92.js → location-services-ab0n33ds.js} +27 -27
- package/dist/chunks/{instruction-discovery-zee1rnkq.js → location-services-ag4rn41e.js} +4 -4
- package/dist/chunks/{instruction-discovery-253mwr29.js → location-services-an3y63gz.js} +13 -13
- package/dist/chunks/{instruction-discovery-7jjmtfmg.js → location-services-aryx1f52.js} +22 -22
- package/dist/chunks/{instruction-discovery-hkfg6fzm.js → location-services-avm8jn6n.js} +5 -5
- package/dist/chunks/{instruction-discovery-0mcn7v1a.js → location-services-b3za54ys.js} +6 -6
- package/dist/chunks/{instruction-discovery-0hevse2d.js → location-services-b5y4wceh.js} +27 -27
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-5cmxdwv8.js → location-services-ba07h9gm.js} +3 -3
- package/dist/chunks/{instruction-discovery-xj1gnyjz.js → location-services-bcnfbw3r.js} +28 -28
- package/dist/chunks/{instruction-discovery-0v53mg2y.js → location-services-bf0ztrs3.js} +4 -4
- package/dist/chunks/{instruction-discovery-tme0fwn1.js → location-services-bf54q0vn.js} +39 -39
- package/dist/chunks/{instruction-discovery-bjtzbw4r.js → location-services-bjtzbw4r.js} +3 -3
- package/dist/chunks/{instruction-discovery-aazjjeev.js → location-services-bt39fvn6.js} +5 -5
- package/dist/chunks/{instruction-discovery-hv4kwx9p.js → location-services-bt483pgf.js} +5 -5
- package/dist/chunks/{instruction-discovery-9famhe87.js → location-services-bw6qjwge.js} +17 -17
- package/dist/chunks/{instruction-discovery-sbv68sdq.js → location-services-bxnwhgcr.js} +27 -27
- package/dist/chunks/{instruction-discovery-3w21a4te.js → location-services-by36gnm3.js} +4 -4
- package/dist/chunks/{instruction-discovery-dtvc26hn.js → location-services-bz7ff98x.js} +8 -8
- package/dist/chunks/{instruction-discovery-618n4sfx.js → location-services-c1pmqqvm.js} +4 -4
- package/dist/chunks/{instruction-discovery-50mzsvk4.js → location-services-c20khjev.js} +21 -21
- package/dist/chunks/location-services-c826cjyq.js +507 -0
- package/dist/chunks/{instruction-discovery-9zmqhxbz.js → location-services-c8y3sydt.js} +39 -39
- package/dist/chunks/{instruction-discovery-vmgq4x8b.js → location-services-cmkj70ft.js} +2 -2
- package/dist/chunks/{instruction-discovery-g4y22msr.js → location-services-cvjyqy8b.js} +23 -23
- package/dist/chunks/{instruction-discovery-cwa6csj7.js → location-services-cwa6csj7.js} +2 -2
- package/dist/chunks/{instruction-discovery-2fwe55ar.js → location-services-d1kmb1kz.js} +6 -6
- package/dist/chunks/{instruction-discovery-tpwc6ef7.js → location-services-d1nz6qw9.js} +19 -19
- package/dist/chunks/{instruction-discovery-v6ghzfeb.js → location-services-d9wzmzc3.js} +5 -5
- package/dist/chunks/{instruction-discovery-t071t56z.js → location-services-dajjmxcf.js} +15 -15
- package/dist/chunks/{instruction-discovery-rnce621k.js → location-services-dbtc50z0.js} +4 -4
- package/dist/chunks/{instruction-discovery-b998031c.js → location-services-dgs4c22x.js} +48 -48
- package/dist/chunks/{instruction-discovery-btkw48kz.js → location-services-dhtjyx18.js} +16 -16
- package/dist/chunks/{instruction-discovery-57b9ws8p.js → location-services-drwq78ky.js} +5 -5
- package/dist/chunks/{instruction-discovery-3vqk67dv.js → location-services-dy7h2h1w.js} +4 -4
- package/dist/chunks/{instruction-discovery-t6f8zp4h.js → location-services-dyf86r4x.js} +33 -33
- package/dist/chunks/{instruction-discovery-8ahh5dpe.js → location-services-dyv6jqgc.js} +12 -12
- package/dist/chunks/{instruction-discovery-5qd3pb7m.js → location-services-e3qxr5gk.js} +2 -2
- package/dist/chunks/{instruction-discovery-aep3g16v.js → location-services-e7173haz.js} +11 -11
- package/dist/chunks/{instruction-discovery-j41jk2xd.js → location-services-e9xwgjwy.js} +5 -5
- package/dist/chunks/{instruction-discovery-ecfe7b91.js → location-services-ecfe7b91.js} +2 -2
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-sfjv4z1e.js → location-services-em10apng.js} +50 -50
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-mz7s15yj.js → location-services-evd3jqhg.js} +6 -6
- package/dist/chunks/{instruction-discovery-95m3yrnv.js → location-services-ey7mvkmc.js} +1 -1
- package/dist/chunks/{instruction-discovery-ez6g3cfe.js → location-services-f3wv10y1.js} +12 -12
- package/dist/chunks/{instruction-discovery-zd30eb5w.js → location-services-f62qkzqr.js} +5 -5
- package/dist/chunks/{instruction-discovery-d5es2r86.js → location-services-faxt9yky.js} +11 -11
- package/dist/chunks/{instruction-discovery-5r1fmgqk.js → location-services-fej70bpn.js} +22 -22
- package/dist/chunks/{instruction-discovery-kwp4fxk2.js → location-services-fg90r6cn.js} +14 -14
- package/dist/chunks/{instruction-discovery-tg8xb7s7.js → location-services-fn25s999.js} +21 -21
- package/dist/chunks/{instruction-discovery-rxmdwt28.js → location-services-fqg394v6.js} +25 -25
- package/dist/chunks/{instruction-discovery-nt6vq48h.js → location-services-frp52m33.js} +65 -65
- package/dist/chunks/{instruction-discovery-v0n01akt.js → location-services-fwf02z8y.js} +25 -25
- package/dist/chunks/{instruction-discovery-k1qrnqst.js → location-services-g1ntwptg.js} +8 -8
- package/dist/chunks/{instruction-discovery-cercamy6.js → location-services-g3y93bdq.js} +27 -27
- package/dist/chunks/{instruction-discovery-atgyr79m.js → location-services-g4r1rkq7.js} +15 -15
- package/dist/chunks/{instruction-discovery-m7kk9p21.js → location-services-g97k7hqe.js} +6 -6
- package/dist/chunks/{instruction-discovery-n6g7pm9a.js → location-services-ganadfp0.js} +23 -23
- package/dist/chunks/{instruction-discovery-1s4jnf68.js → location-services-gap9hmaf.js} +33 -33
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-gfvb90ym.js → location-services-gfvb90ym.js} +2 -2
- package/dist/chunks/{instruction-discovery-x2dff076.js → location-services-ggp883ka.js} +9 -9
- package/dist/chunks/{instruction-discovery-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instruction-discovery-z4dh3vqn.js → location-services-h0rgcqpm.js} +9 -9
- package/dist/chunks/{instruction-discovery-qajb4ab4.js → location-services-h20z1ya9.js} +9 -9
- package/dist/chunks/{instruction-discovery-pgwx98q6.js → location-services-h56wjgp5.js} +45 -45
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-d1nyvj9r.js → location-services-h8dspmgn.js} +5 -5
- package/dist/chunks/{instruction-discovery-h4psvgch.js → location-services-h9m1c2w5.js} +30 -30
- package/dist/chunks/{instruction-discovery-d48vtfkp.js → location-services-h9mky73t.js} +17 -17
- package/dist/chunks/{instruction-discovery-gthjt79f.js → location-services-hmay1t1j.js} +19 -19
- package/dist/chunks/{instruction-discovery-qw8pzqw4.js → location-services-hxx0ygc8.js} +16 -16
- package/dist/chunks/{instruction-discovery-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-4rttqgcn.js → location-services-j7axrqd8.js} +29 -29
- package/dist/chunks/{instruction-discovery-9czdv8f4.js → location-services-jdvpg0be.js} +36 -36
- package/dist/chunks/{instruction-discovery-jwdv21t5.js → location-services-jeqepyqp.js} +71 -71
- package/dist/chunks/{instruction-discovery-2g0ztak0.js → location-services-jfb30j9d.js} +1 -1
- package/dist/chunks/{instruction-discovery-xf7wsf7v.js → location-services-jm8m12cd.js} +30 -30
- package/dist/chunks/{instruction-discovery-5dm9y5jy.js → location-services-jqwafpw4.js} +25 -25
- package/dist/chunks/{instruction-discovery-a2qe2ev9.js → location-services-jvnghvnw.js} +8 -8
- package/dist/chunks/{instruction-discovery-nzks3jc8.js → location-services-k3c624dm.js} +3 -3
- package/dist/chunks/{instruction-discovery-r55skn5g.js → location-services-k5qdgh99.js} +8 -8
- package/dist/chunks/{instruction-discovery-fwbecdke.js → location-services-kbcbk3rc.js} +24 -24
- package/dist/chunks/{instruction-discovery-0g47z5db.js → location-services-kbhmzeq3.js} +10 -10
- package/dist/chunks/{instruction-discovery-7x2gjr73.js → location-services-kn6v00wg.js} +20 -20
- package/dist/chunks/{instruction-discovery-hkpbwr5n.js → location-services-kwhnaq83.js} +35 -35
- package/dist/chunks/{instruction-discovery-2wmwqrmr.js → location-services-m12cyjmp.js} +15 -15
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-4yrht77e.js → location-services-m9jd0mcb.js} +8 -8
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-sd347z6p.js → location-services-mmtg5wy2.js} +33 -33
- package/dist/chunks/{instruction-discovery-2jmd7hhv.js → location-services-mntr9wjt.js} +33 -33
- package/dist/chunks/{instruction-discovery-bw9zjykr.js → location-services-mrvjcs5x.js} +6 -6
- package/dist/chunks/{instruction-discovery-kh9sx4kg.js → location-services-ms93yq6r.js} +8 -8
- package/dist/chunks/{instruction-discovery-zc5xmhzd.js → location-services-mv9w5stb.js} +96 -96
- package/dist/chunks/{instruction-discovery-dbv05mm3.js → location-services-mwwxnxty.js} +4 -4
- package/dist/chunks/{instruction-discovery-rf4f2dr1.js → location-services-mz18n95x.js} +19 -19
- package/dist/chunks/{instruction-discovery-977ht9t5.js → location-services-n2cd4sc1.js} +10 -10
- package/dist/chunks/{instruction-discovery-cnxtgke5.js → location-services-n3e4gkzn.js} +10 -10
- package/dist/chunks/{instruction-discovery-mygxndw1.js → location-services-n7mjttc7.js} +9 -9
- package/dist/chunks/{instruction-discovery-qj9rkb8h.js → location-services-ndwv7bs8.js} +15 -15
- package/dist/chunks/{instruction-discovery-fkj9hg5w.js → location-services-njfyzs8z.js} +18 -18
- package/dist/chunks/{instruction-discovery-bzrgxa7n.js → location-services-ns8v16m0.js} +22 -22
- package/dist/chunks/{instruction-discovery-hnr5yq9h.js → location-services-p1nm93x7.js} +5 -5
- package/dist/chunks/{instruction-discovery-1gmn1d4c.js → location-services-p1spfnmp.js} +32 -32
- package/dist/chunks/location-services-p2h6zvwc.js +18 -0
- package/dist/chunks/{instruction-discovery-vjpvmx0s.js → location-services-pe5ggv3d.js} +32 -32
- package/dist/chunks/{instruction-discovery-1n6cta5e.js → location-services-ph6sxt2m.js} +54 -54
- package/dist/chunks/{instruction-discovery-4bm5ja14.js → location-services-ph842b28.js} +4 -4
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-sy0q8s5r.js → location-services-pq983g12.js} +19 -19
- package/dist/chunks/{instruction-discovery-psazpmmj.js → location-services-psazpmmj.js} +2 -2
- package/dist/chunks/{instruction-discovery-4nt6gyzn.js → location-services-pttdfhpz.js} +17 -17
- package/dist/chunks/{instruction-discovery-4crd9m5v.js → location-services-q34hn4m8.js} +31 -31
- package/dist/chunks/{instruction-discovery-4y9v7fm9.js → location-services-q9hdtabh.js} +22 -22
- package/dist/chunks/{instruction-discovery-nhmmjf3s.js → location-services-qd16t7pt.js} +27 -27
- package/dist/chunks/{instruction-discovery-j2g318hr.js → location-services-qfgcszr2.js} +11 -11
- package/dist/chunks/{instruction-discovery-ywkfy99j.js → location-services-qg0jgkcp.js} +9 -9
- package/dist/chunks/{instruction-discovery-qgn6gcr1.js → location-services-qgn6gcr1.js} +1 -1
- package/dist/chunks/{instruction-discovery-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-63xfv5kt.js → location-services-qxpw477z.js} +17 -17
- package/dist/chunks/{instruction-discovery-v78mbkhs.js → location-services-qzyph8ek.js} +11 -11
- package/dist/chunks/{instruction-discovery-gvbq99q9.js → location-services-r95crx12.js} +17 -17
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-cjb35hf5.js → location-services-rf1x1me2.js} +5 -5
- package/dist/chunks/{instruction-discovery-fvanntqq.js → location-services-rp8jz6x1.js} +6 -6
- package/dist/chunks/{instruction-discovery-y20bjj5g.js → location-services-rs47j036.js} +17 -17
- package/dist/chunks/{instruction-discovery-ngfwjn3z.js → location-services-rwe7vfy4.js} +58 -58
- package/dist/chunks/{instruction-discovery-nev00ktm.js → location-services-s0kg6ey3.js} +13 -13
- package/dist/chunks/{instruction-discovery-essdahbf.js → location-services-s4bzt415.js} +10 -10
- package/dist/chunks/{instruction-discovery-yrznvahk.js → location-services-s4enseaf.js} +2 -2
- package/dist/chunks/{instruction-discovery-yq75na06.js → location-services-sdvc1rg6.js} +15 -15
- package/dist/chunks/{instruction-discovery-g7cwama8.js → location-services-shd7mr8y.js} +12 -12
- package/dist/chunks/{instruction-discovery-qgxmrbd2.js → location-services-shgcqddn.js} +13 -13
- package/dist/chunks/{instruction-discovery-bkekp0bs.js → location-services-sxz61evh.js} +17 -17
- package/dist/chunks/{instruction-discovery-eaj1djv9.js → location-services-t550f9t1.js} +8 -8
- package/dist/chunks/{instruction-discovery-g93jr2kh.js → location-services-t6tst13s.js} +10 -10
- package/dist/chunks/{instruction-discovery-zf69n85s.js → location-services-t8rew5kn.js} +18 -18
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-tssg28ba.js → location-services-tj0fs0r1.js} +13 -13
- package/dist/chunks/{instruction-discovery-0de1jdh9.js → location-services-tnjf10ex.js} +181 -181
- package/dist/chunks/{instruction-discovery-nqm1jzm6.js → location-services-tqqd1wey.js} +23 -23
- package/dist/chunks/{instruction-discovery-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-4hbdev4w.js → location-services-tx7d86r5.js} +28 -28
- package/dist/chunks/{instruction-discovery-espax8zg.js → location-services-v7z2bvyd.js} +4 -4
- package/dist/chunks/{instruction-discovery-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-hrb0vm0w.js → location-services-vgacam68.js} +16 -16
- package/dist/chunks/{instruction-discovery-vrw7f2ye.js → location-services-vh5rvw9s.js} +9 -9
- package/dist/chunks/{instruction-discovery-xgg9hmxa.js → location-services-vzc886ch.js} +35 -35
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-3yrwsvjf.js → location-services-wem8116r.js} +9 -9
- package/dist/chunks/{instruction-discovery-59c5e31r.js → location-services-wfe10mpm.js} +10 -10
- package/dist/chunks/{instruction-discovery-s5358avs.js → location-services-wfg70ajk.js} +5 -5
- package/dist/chunks/{instruction-discovery-9jzp6rtr.js → location-services-wk5z6jzv.js} +9 -9
- package/dist/chunks/{instruction-discovery-ks9yaxq2.js → location-services-wqgv35h5.js} +31 -31
- package/dist/chunks/{instruction-discovery-7f3mg9np.js → location-services-wqtjegkd.js} +22 -22
- package/dist/chunks/{instruction-discovery-qqx79t2y.js → location-services-ww3yq57e.js} +16 -16
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instruction-discovery-f6msy67p.js → location-services-xaaqc030.js} +12 -12
- package/dist/chunks/{instruction-discovery-e2yk33t0.js → location-services-xedyykk9.js} +15 -15
- package/dist/chunks/{instruction-discovery-4hy5hsgr.js → location-services-xjvaav3g.js} +11 -11
- package/dist/chunks/{instruction-discovery-xkntkrq7.js → location-services-xkntkrq7.js} +2 -2
- package/dist/chunks/{instruction-discovery-hekxc47r.js → location-services-xp3fh2h7.js} +1 -1
- package/dist/chunks/location-services-xrsqh21y.js +4 -0
- package/dist/chunks/{instruction-discovery-5ebwwas2.js → location-services-xs0sd5xy.js} +9 -9
- package/dist/chunks/{instruction-discovery-1379bkbv.js → location-services-xtsf53gz.js} +12 -12
- package/dist/chunks/{instruction-discovery-6abecr9g.js → location-services-xx97hvw2.js} +28 -28
- package/dist/chunks/{instruction-discovery-hexry4kh.js → location-services-xzhjr7c3.js} +25 -25
- package/dist/chunks/{instruction-discovery-xxttpmb7.js → location-services-y0zn2255.js} +33 -33
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-e0ncgxgt.js → location-services-y3eexsj3.js} +12 -12
- package/dist/chunks/{instruction-discovery-y71avatq.js → location-services-y71avatq.js} +1 -1
- package/dist/chunks/{instruction-discovery-r8xr0va3.js → location-services-yp2x3t23.js} +4 -4
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-j61gwjnb.js → location-services-ytp36fc8.js} +11 -11
- package/dist/chunks/{instruction-discovery-dq0v80fr.js → location-services-ywv187z9.js} +12 -12
- package/dist/chunks/{instruction-discovery-57e9z27j.js → location-services-yy3gmdz3.js} +8 -8
- package/dist/chunks/{instruction-discovery-rt9dj4yq.js → location-services-yy7hf67g.js} +13 -13
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-dj9sq318.js → location-services-z3pw5915.js} +5 -5
- package/dist/chunks/{instruction-discovery-nsm263hr.js → location-services-z8ay4g4r.js} +32 -32
- package/dist/chunks/{instruction-discovery-zm898m83.js → location-services-ze2qnn7n.js} +5 -5
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{instruction-discovery-f3cngsvp.js → location-services-zkdqcrb9.js} +11 -11
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-6gjdrgth.js → location-services-zsn9zpn8.js} +11 -11
- package/dist/chunks/{instruction-discovery-83kp2sb4.js → location-services-zv2tdc3m.js} +31 -31
- package/dist/chunks/{instruction-discovery-hrr3p34g.js → location-services-zwznb21e.js} +3 -3
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-4p9pg674.js → location-services-zy883y1h.js} +41 -41
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- 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 +132 -132
- 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 +126 -126
- 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 +126 -126
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +1 -1
- 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 +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +2 -2
- 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 +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +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 +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- 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 +94 -94
- 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 +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- 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 +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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 +134 -134
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- 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 +124 -124
- 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 +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- 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 +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- 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 +8 -8
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-2ar97v3n.js +0 -252
- package/dist/chunks/instruction-discovery-6kdq0pjd.js +0 -4
- package/dist/chunks/instruction-discovery-hy0r23vx.js +0 -507
- package/dist/chunks/instruction-discovery-n95b3jav.js +0 -18
- package/dist/chunks/instruction-discovery-z6qbewq6.js +0 -26
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-34c7v6d4.js → location-services-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-qzyph8ek.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-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: () => Plugin8,
|
|
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 Plugin8 = 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, Plugin8, exports_parallel };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-6v2f9cm4.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service60,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node62,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service60 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service60, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node62 = LayerNode.unbound(Service60, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service60;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service60, node62, reload2, canonical3, exports_location_service_map };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./location-services-6v2f9cm4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-ganadfp0.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin7,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin7 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service77;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin7, exports_hg };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service58
|
|
4
|
+
} from "./location-services-b5y4wceh.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service72
|
|
8
|
+
} from "./location-services-5y305m15.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service63
|
|
12
|
+
} from "./location-services-5e1npf9a.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-ba07h9gm.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service37
|
|
18
|
+
} from "./location-services-pttdfhpz.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service55
|
|
22
|
+
} from "./location-services-frp52m33.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service14
|
|
25
|
+
} from "./location-services-mv9w5stb.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make9
|
|
31
|
+
} from "./location-services-faxt9yky.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-services-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: () => Input3,
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin20,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name3
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name3 = "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 Input3 = 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,12 +72,12 @@ var Input8 = 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 Output3 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -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 Plugin20 = {
|
|
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* Service14;
|
|
93
|
+
const jobs = yield* Service37;
|
|
94
|
+
const agents = yield* Service58;
|
|
95
|
+
const config = yield* Service63;
|
|
96
|
+
const permission = yield* Service55;
|
|
97
|
+
const models = yield* Service72;
|
|
98
|
+
const subagents = yield* make9;
|
|
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 Plugin27 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output3,
|
|
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 Plugin27 = {
|
|
|
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: name3,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin27 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID8.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 !== name3 || !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[name3];
|
|
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(name3, 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 { name3, Input3, Output3, description2, Plugin20, exports_subagent };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service74
|
|
4
|
+
} from "./location-services-0fgcbzg9.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service74;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node75
|
|
5
|
+
} from "./location-services-qzyph8ek.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-1rn5pcm9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service59,
|
|
12
|
+
node61
|
|
13
|
+
} from "./location-services-jvnghvnw.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-frp52m33.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-2ynhemhj.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./location-services-xzhjr7c3.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service25,
|
|
25
|
+
node28
|
|
26
|
+
} from "./location-services-8rxxwv2n.js";
|
|
27
27
|
import {
|
|
28
28
|
make14
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-drwq78ky.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-services-xp3fh2h7.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-services-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service24,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer10,
|
|
45
|
+
node: () => node27,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
|
|
|
156
156
|
}));
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
class
|
|
159
|
+
class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
160
160
|
}
|
|
161
|
-
var
|
|
162
|
-
const hooks = yield*
|
|
163
|
-
const transport = yield*
|
|
161
|
+
var layer10 = Layer.effect(Service24, Effect.gen(function* () {
|
|
162
|
+
const hooks = yield* Service59;
|
|
163
|
+
const transport = yield* Service25;
|
|
164
164
|
const app = yield* Metadata2;
|
|
165
165
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
166
166
|
const session = input.session;
|
|
@@ -168,7 +168,7 @@ var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
168
168
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
169
169
|
const tools = input.tools ?? {
|
|
170
170
|
definitions: [],
|
|
171
|
-
execute: () => new
|
|
171
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
172
172
|
};
|
|
173
173
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
174
174
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -258,17 +258,17 @@ var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
258
258
|
};
|
|
259
259
|
});
|
|
260
260
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
261
|
-
return
|
|
261
|
+
return Service24.of({
|
|
262
262
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
263
263
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
264
264
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
265
265
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
266
266
|
});
|
|
267
267
|
}));
|
|
268
|
-
var
|
|
269
|
-
service:
|
|
270
|
-
layer:
|
|
271
|
-
deps: [
|
|
268
|
+
var node27 = makeLocationNode({
|
|
269
|
+
service: Service24,
|
|
270
|
+
layer: layer10,
|
|
271
|
+
deps: [node61, node28, node75]
|
|
272
272
|
});
|
|
273
273
|
|
|
274
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
274
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service24, layer10, node27, exports_model_request };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions4 = {};
|
|
18
|
+
__export(exports_instructions4, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions4,
|
|
20
|
+
make: () => make13,
|
|
21
|
+
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render2(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render2(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -109,20 +109,20 @@ ${render3(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make13 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make19({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render2,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render2, update3, make13, exports_instructions4 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service73
|
|
3
|
-
} from "./instruction-discovery-pt6tajbr.js";
|
|
4
1
|
import {
|
|
5
2
|
Service75
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./location-services-26arvx1m.js";
|
|
4
|
+
import {
|
|
5
|
+
Service55
|
|
6
|
+
} from "./location-services-frp52m33.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service27
|
|
14
|
+
} from "./location-services-20x4t0fx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
22
|
Input: () => Input6,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
24
|
+
Plugin: () => Plugin24,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description4,
|
|
27
27
|
name: () => name6
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -36,7 +36,7 @@ var httpErrors = new Map([
|
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
42
|
var Input6 = Schema.Struct({
|
|
@@ -46,16 +46,16 @@ var Output = Schema.Struct({
|
|
|
46
46
|
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin24 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service55;
|
|
53
|
+
const forms = yield* Service75;
|
|
54
|
+
const websearch = yield* Service27;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
56
|
name: name6,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
58
|
+
description: description4,
|
|
59
59
|
input: Input6,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export { name6, NO_RESULTS2,
|
|
187
|
+
export { name6, NO_RESULTS2, description4, Input6, Plugin24, exports_websearch };
|