@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-94mr9t66.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-y71avatq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service82,
|
|
10
|
+
node86
|
|
11
|
+
} from "./location-services-xaaqc030.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-ba07h9gm.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-bjtzbw4r.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-services-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info4,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service30,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer14,
|
|
49
|
+
list: () => list3,
|
|
50
|
+
make: () => make15,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node32,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info4,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service30 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service82;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info4.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list3(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer14 = Layer.effect(Service30, make15());
|
|
231
|
+
var node32 = makeGlobalNode({ service: Service30, layer: layer14, deps: [node88, node86] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info4, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service30, make15, layer14, node32, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./location-services-5e1npf9a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./location-services-xs0sd5xy.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin35
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin35 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service63;
|
|
26
|
+
const image = yield* Service39;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin15 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin35, exports_image };
|
|
@@ -1,16 +1,16 @@
|
|
|
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/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node12, exports_discovery };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-94mr9t66.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-54tcyq79.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID7,
|
|
17
|
+
Info: () => Info10,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service57,
|
|
21
|
+
node: () => node59
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID7 = PermissionSaved.ID;
|
|
29
|
+
var Info10 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service57 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID7.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service57.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node59 = makeGlobalNode({ service: Service57, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID7, Info10, ListInput4, AddInput2, Service57, node59, exports_saved };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer24,
|
|
12
|
+
make: () => make21,
|
|
13
|
+
node: () => node75,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make21()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make21(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make21(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node75 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make21, useragent2, layer24, configured11, node75, exports_app };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-94mr9t66.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-bjtzbw4r.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info3,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service18,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node22,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info3 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service18 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make19({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service18.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node22 = makeLocationNode({ service: Service18, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service18, node22, exports_instruction_entry };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-services-129hjeyj.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry3,
|
|
11
|
+
Info: () => Info19,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry3 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info19 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info19, exports_lsp };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-qzyph8ek.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./location-services-xaaqc030.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./location-services-y0zn2255.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-0fgcbzg9.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-129hjeyj.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID14.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service82;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID13.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -197,7 +197,7 @@ var OpenAIPlugin3 = define({
|
|
|
197
197
|
});
|
|
198
198
|
});
|
|
199
199
|
yield* ctx.model.transform((models) => {
|
|
200
|
-
for (const model of models.list(
|
|
200
|
+
for (const model of models.list(ID13.openai)) {
|
|
201
201
|
models.update(model.providerID, model.id, (draft) => {
|
|
202
202
|
if (!chatgpt)
|
|
203
203
|
return;
|
|
@@ -225,9 +225,9 @@ var OpenAIPlugin3 = define({
|
|
|
225
225
|
evt.baseURL = codexBaseURL;
|
|
226
226
|
evt.headers.originator = "opencode";
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
|
-
}), { providerID:
|
|
228
|
+
}), { providerID: ID13.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(
|
|
230
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|