@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,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./location-services-xaaqc030.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service76,
|
|
11
|
+
node80
|
|
12
|
+
} from "./location-services-y0zn2255.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service77,
|
|
15
|
+
node81
|
|
16
|
+
} from "./location-services-6v2f9cm4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service69,
|
|
19
|
+
node71
|
|
20
|
+
} from "./location-services-46je7tbg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service75,
|
|
24
|
+
node79
|
|
25
|
+
} from "./location-services-26arvx1m.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service74,
|
|
34
|
+
node78
|
|
35
|
+
} from "./location-services-0fgcbzg9.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-services-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError2,
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service26,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured2,
|
|
57
|
+
layer: () => layer12,
|
|
58
|
+
node: () => node29
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service26 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options2 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
104
|
+
var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service77;
|
|
106
|
+
const environment = yield* Service69;
|
|
107
|
+
const bus = yield* Service82;
|
|
108
|
+
const forms = yield* Service75;
|
|
109
|
+
const integration = yield* Service74;
|
|
110
|
+
const credentials = yield* Service76;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID14.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError2({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID15.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
262
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service69, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service26.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function configured2(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
522
|
-
layer:
|
|
523
|
-
deps: [
|
|
521
|
+
service: Service26,
|
|
522
|
+
layer: layer12(options),
|
|
523
|
+
deps: [node81, node71, node86, node79, node78, node80]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node29 = configured2();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service26, Options2, layer12, configured2, node29, exports_mcp4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin12,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin12 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin45 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin12, exports_identity };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node81
|
|
4
|
+
} from "./location-services-6v2f9cm4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key3,
|
|
7
|
+
make19,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-t550f9t1.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service20,
|
|
19
|
+
node: () => node23
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service20 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service77;
|
|
29
|
+
return Service20.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make19({
|
|
32
|
+
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
53
|
-
key:
|
|
52
|
+
make19({
|
|
53
|
+
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node23 = makeLocationNode({ service: Service20, layer, deps: [Global.node, node81] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service20, node23, exports_builtins };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./location-services-n2cd4sc1.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-ba07h9gm.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service37,
|
|
23
|
+
make: () => make17,
|
|
24
|
+
node: () => node39
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service37 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make17 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service81;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make20 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service37.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make20 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service37, make17);
|
|
362
|
+
var node39 = makeGlobalNode({ service: Service37, layer, deps: [node85] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service37, make17, node39, exports_job };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-services-xaaqc030.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-6h73sxmp.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service80,
|
|
17
|
+
node84
|
|
18
|
+
} from "./location-services-cvjyqy8b.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event21,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info34,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service79,
|
|
35
|
+
Source: () => Source5,
|
|
36
|
+
node: () => node83
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event21 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source5 = Reference.Source;
|
|
46
|
+
var Info34 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service79 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service82;
|
|
53
|
+
const cache = yield* Service80;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info34.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info34.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service79.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node83 = makeLocationNode({
|
|
116
|
+
service: Service79,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node86, node84]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source5, Info34, Service79, node83, exports_reference2, Event21 };
|
|
@@ -1,31 +1,31 @@
|
|
|
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
|
+
ID4,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service41,
|
|
12
|
+
node43
|
|
13
|
+
} from "./location-services-bcnfbw3r.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
Service: () => Service21,
|
|
22
|
+
SkillInstructions: () => exports_instructions3,
|
|
23
|
+
node: () => node24
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID4,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service21 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service41;
|
|
67
|
+
return Service21.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
71
|
-
key:
|
|
70
|
+
return make19({
|
|
71
|
+
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node24 = makeLocationNode({ service: Service21, layer, deps: [node43] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service21, node24, exports_instructions3 };
|