@opencode/core 0.0.0-dev-20481 → 0.0.0-dev-20482
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 +77 -77
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{git-ztzk91w7.js → location-activity-06ckfdnj.js} +30 -30
- package/dist/chunks/{git-p558d1j2.js → location-activity-0e4zfx6z.js} +5 -5
- package/dist/chunks/{git-qzx8p8d0.js → location-activity-0fq14k9x.js} +23 -23
- package/dist/chunks/{git-3gz5rark.js → location-activity-0hs7h7cm.js} +32 -32
- package/dist/chunks/{git-hs4apeen.js → location-activity-0kjg249v.js} +8 -8
- package/dist/chunks/{git-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-mjagy123.js → location-activity-0t098hqn.js} +5 -5
- package/dist/chunks/{git-0vbcp93d.js → location-activity-0vbcp93d.js} +2 -2
- package/dist/chunks/{git-dqs0vcbf.js → location-activity-0xgsdn2e.js} +15 -15
- package/dist/chunks/{git-tcatf3b6.js → location-activity-1937k8q6.js} +37 -37
- package/dist/chunks/{git-dfrza52c.js → location-activity-1bq2j8hp.js} +11 -11
- package/dist/chunks/{git-327sg516.js → location-activity-1cvrxvtf.js} +16 -16
- package/dist/chunks/{git-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-1dvck2a7.js → location-activity-1dvck2a7.js} +2 -2
- package/dist/chunks/{git-9em85dm2.js → location-activity-1g9v2p7a.js} +13 -13
- package/dist/chunks/{git-bpkwba73.js → location-activity-1stqrsyy.js} +48 -48
- package/dist/chunks/{git-3wpc7sdy.js → location-activity-1y5174xs.js} +27 -27
- package/dist/chunks/{git-mfqp6xfm.js → location-activity-1ygqh575.js} +6 -6
- package/dist/chunks/{git-yn5e4dj4.js → location-activity-1zz2cpjf.js} +9 -9
- package/dist/chunks/{git-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-qgn6gcr1.js → location-activity-2k8khapm.js} +5 -5
- package/dist/chunks/{git-272ak889.js → location-activity-2va3hwtf.js} +12 -12
- package/dist/chunks/{git-s6tbk65m.js → location-activity-2wzcstvr.js} +11 -11
- package/dist/chunks/{git-nbbbwrsr.js → location-activity-2ymm49ek.js} +42 -42
- package/dist/chunks/{git-fsfe74kd.js → location-activity-320xg5h5.js} +27 -27
- package/dist/chunks/{git-k0m5db98.js → location-activity-35vmqc8e.js} +26 -26
- package/dist/chunks/{git-qy6g1rdh.js → location-activity-39msrn4c.js} +17 -17
- package/dist/chunks/{git-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-03xyy9gs.js → location-activity-3zbwexce.js} +8 -8
- package/dist/chunks/{git-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-brvreg6p.js → location-activity-41err7wp.js} +3 -3
- package/dist/chunks/{git-6pjm6hxh.js → location-activity-43k6fpga.js} +41 -41
- package/dist/chunks/{git-cr0y6bkk.js → location-activity-4c5qn8gy.js} +26 -26
- package/dist/chunks/{git-73pa4q01.js → location-activity-4dmtav14.js} +21 -21
- package/dist/chunks/{git-e351gv9y.js → location-activity-4g7zmamd.js} +9 -9
- package/dist/chunks/{git-vyt0kgkx.js → location-activity-4h0nv21f.js} +36 -36
- package/dist/chunks/{git-qthf81rg.js → location-activity-4mshw40j.js} +12 -12
- package/dist/chunks/{git-r4qc49wz.js → location-activity-4n0zntvv.js} +13 -13
- package/dist/chunks/{git-4a6jpjer.js → location-activity-4n607a2z.js} +5 -5
- package/dist/chunks/{git-hc976vhp.js → location-activity-4qsn3ydy.js} +14 -14
- package/dist/chunks/{git-sb1bm0qp.js → location-activity-4r9qfk58.js} +70 -70
- package/dist/chunks/{git-62dyt405.js → location-activity-4sx4mmjn.js} +11 -11
- package/dist/chunks/{git-shp8jhta.js → location-activity-4trjxrjf.js} +1 -1
- package/dist/chunks/{git-4ts7tf6z.js → location-activity-4ts7tf6z.js} +2 -2
- package/dist/chunks/{git-rpf1qvc3.js → location-activity-4v7ngy20.js} +4 -4
- package/dist/chunks/{git-xkmy9fvh.js → location-activity-4v9y65rg.js} +15 -15
- package/dist/chunks/{git-54ma36ye.js → location-activity-54ma36ye.js} +1 -1
- package/dist/chunks/{git-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{git-zct2699j.js → location-activity-5he2sdfn.js} +3 -3
- package/dist/chunks/{git-8f060hg1.js → location-activity-5pbj17sc.js} +11 -11
- package/dist/chunks/{git-wssnkxc5.js → location-activity-5qfy63yy.js} +24 -24
- package/dist/chunks/{git-200bxkj7.js → location-activity-5sbkmvr0.js} +28 -28
- package/dist/chunks/{git-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-1ajx6rf5.js → location-activity-5yzzbxa7.js} +8 -8
- package/dist/chunks/{git-7p313m06.js → location-activity-609f4zy0.js} +22 -22
- package/dist/chunks/{git-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{git-z8dbgj3m.js → location-activity-6b84w211.js} +5 -5
- package/dist/chunks/{git-trhjxf3d.js → location-activity-6bh7pj3q.js} +7 -7
- package/dist/chunks/{git-wcrrxam5.js → location-activity-6gn8k2yc.js} +45 -45
- package/dist/chunks/{git-j505r7f3.js → location-activity-6mmst0ad.js} +26 -26
- package/dist/chunks/{git-4ckgtqrh.js → location-activity-6n4b0dsb.js} +9 -9
- package/dist/chunks/{git-4wrkd8nn.js → location-activity-6pmstnsj.js} +11 -11
- package/dist/chunks/{git-bz7vn164.js → location-activity-6q61hx8h.js} +8 -8
- package/dist/chunks/{git-71az546q.js → location-activity-71az546q.js} +2 -2
- package/dist/chunks/{git-eaxsg860.js → location-activity-72pj7xs5.js} +3 -3
- package/dist/chunks/{git-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-d819pdvd.js → location-activity-7h5dp112.js} +5 -5
- package/dist/chunks/{git-srw1wyee.js → location-activity-7nw3fj3w.js} +17 -17
- package/dist/chunks/{git-3gjywyz4.js → location-activity-7tf6aeev.js} +11 -11
- package/dist/chunks/{git-1bypmceh.js → location-activity-7v8e2cp0.js} +16 -16
- package/dist/chunks/{git-w1eejvng.js → location-activity-84txncab.js} +5 -5
- package/dist/chunks/{git-02rta1p5.js → location-activity-899smtts.js} +4 -4
- package/dist/chunks/{git-sxtvyy3t.js → location-activity-89ysthp9.js} +8 -8
- package/dist/chunks/{git-p8k3f31h.js → location-activity-8a1mntyx.js} +87 -87
- package/dist/chunks/{git-s5met55r.js → location-activity-8ank75fn.js} +8 -8
- package/dist/chunks/{git-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-m0ekd96m.js → location-activity-8e1b1gzh.js} +8 -8
- package/dist/chunks/{git-r63za8pc.js → location-activity-92gvj9aq.js} +29 -29
- package/dist/chunks/{git-8khbh05p.js → location-activity-930yc4ac.js} +8 -8
- package/dist/chunks/{git-7r82taj5.js → location-activity-93ke7w4k.js} +18 -18
- package/dist/chunks/{git-apm8h6qx.js → location-activity-94dc9ms6.js} +86 -86
- package/dist/chunks/{git-5hqve3aj.js → location-activity-9ajjpfs9.js} +9 -9
- package/dist/chunks/{git-9e5bzkjp.js → location-activity-9e5bzkjp.js} +3 -3
- package/dist/chunks/{git-c16f70nq.js → location-activity-9g74sf26.js} +8 -8
- package/dist/chunks/location-activity-9v61txyr.js +26 -0
- package/dist/chunks/{git-c7x212x9.js → location-activity-9y23kbjd.js} +5 -5
- package/dist/chunks/{git-drnf6xwf.js → location-activity-9y9sk2j9.js} +2 -2
- package/dist/chunks/{git-qaeybh9m.js → location-activity-a199weyn.js} +6 -6
- package/dist/chunks/{git-ncnm8wen.js → location-activity-a4ae1mqs.js} +1 -1
- package/dist/chunks/{git-0r7m21ea.js → location-activity-a6x1mmgf.js} +35 -35
- package/dist/chunks/{git-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{git-5sqh9w00.js → location-activity-acptaqp2.js} +15 -15
- package/dist/chunks/{git-x661k3y3.js → location-activity-addxnjmp.js} +4 -4
- package/dist/chunks/{git-q2k9hrka.js → location-activity-afb1z1nh.js} +20 -20
- package/dist/chunks/{git-jrjafyr0.js → location-activity-ajzsbz6h.js} +11 -11
- package/dist/chunks/{git-eseyeb0w.js → location-activity-akk9vn25.js} +14 -14
- package/dist/chunks/{git-my4zabxr.js → location-activity-axe3mf62.js} +3 -3
- package/dist/chunks/{git-386dse5s.js → location-activity-ay5e4ynh.js} +41 -41
- package/dist/chunks/{git-py47m9dw.js → location-activity-aydwp65z.js} +10 -10
- package/dist/chunks/{git-zyk1yjk8.js → location-activity-b3f8fkhc.js} +5 -5
- package/dist/chunks/{git-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-j712c6ve.js → location-activity-b6zssv9f.js} +11 -11
- package/dist/chunks/{git-6dmpadww.js → location-activity-bnkzdsy0.js} +22 -22
- package/dist/chunks/{git-pt1c4k6y.js → location-activity-bx2cw6ge.js} +19 -19
- package/dist/chunks/{git-rzgz5kj8.js → location-activity-c40j02qq.js} +4 -4
- package/dist/chunks/{git-p6tgyf45.js → location-activity-c6qwqagy.js} +3 -3
- package/dist/chunks/{git-mjymc32g.js → location-activity-cavr175a.js} +4 -4
- package/dist/chunks/{git-cfsekr6v.js → location-activity-cfsekr6v.js} +2 -2
- package/dist/chunks/{git-pbcn5b8q.js → location-activity-cg1r65cz.js} +15 -15
- package/dist/chunks/{git-vj4f2rsj.js → location-activity-crd6jgtk.js} +24 -24
- package/dist/chunks/{git-cwa6csj7.js → location-activity-cwa6csj7.js} +2 -2
- package/dist/chunks/{git-9bbmhm4m.js → location-activity-cxbqh5r0.js} +4 -4
- package/dist/chunks/{git-zsr4wwhv.js → location-activity-d2czbp48.js} +4 -4
- package/dist/chunks/{git-hy3hxqkj.js → location-activity-d34e2vcy.js} +10 -10
- package/dist/chunks/{git-ap4zckht.js → location-activity-d4fbbg98.js} +15 -15
- package/dist/chunks/{git-txs8yy3n.js → location-activity-d4qcgmvd.js} +3 -3
- package/dist/chunks/{git-9750y225.js → location-activity-d83nxqz6.js} +6 -6
- package/dist/chunks/{git-jf4axb2c.js → location-activity-dh9efh6e.js} +3 -3
- package/dist/chunks/{git-k2f9j3q2.js → location-activity-dpamk4w9.js} +30 -30
- package/dist/chunks/{git-vjbsmafc.js → location-activity-dy6awcmf.js} +16 -16
- package/dist/chunks/{git-w8cdx6rt.js → location-activity-dye4q3te.js} +16 -16
- package/dist/chunks/{git-m6x68w8h.js → location-activity-e0szw8hf.js} +149 -149
- package/dist/chunks/{git-b6reh3hn.js → location-activity-e17jeqfc.js} +16 -16
- package/dist/chunks/{git-fr5pxeem.js → location-activity-e8344z6b.js} +23 -23
- package/dist/chunks/{git-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-1pfhqsc3.js → location-activity-eqbd4sme.js} +15 -15
- package/dist/chunks/{git-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-dpe144tr.js → location-activity-f3eqp88s.js} +13 -13
- package/dist/chunks/location-activity-f695y85p.js +252 -0
- package/dist/chunks/{git-zw2wtcws.js → location-activity-f6rxa388.js} +4 -4
- package/dist/chunks/{git-p35g2vpz.js → location-activity-fns5jgry.js} +20 -20
- package/dist/chunks/{git-r50xfagt.js → location-activity-fq4mr5gq.js} +15 -15
- package/dist/chunks/{git-cbyyef9c.js → location-activity-ftz64sk8.js} +30 -30
- package/dist/chunks/{git-dcs9hbsv.js → location-activity-fytsnez6.js} +19 -19
- package/dist/chunks/{git-yv9jqw96.js → location-activity-g2wjer42.js} +6 -6
- package/dist/chunks/{git-g5w8qwbj.js → location-activity-g5w8qwbj.js} +1 -1
- package/dist/chunks/{git-3382x40z.js → location-activity-g82etb9w.js} +4 -4
- package/dist/chunks/{git-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-yvq0e8sz.js → location-activity-gh5z95q3.js} +9 -9
- package/dist/chunks/{git-ygdna4kr.js → location-activity-gj71zhbs.js} +5 -5
- package/dist/chunks/{git-42a4b5x3.js → location-activity-gjcdwnpg.js} +30 -30
- package/dist/chunks/{git-1zn329az.js → location-activity-gv3x6gar.js} +10 -10
- package/dist/chunks/{git-qvm0wtrp.js → location-activity-gy3tdm6e.js} +5 -5
- package/dist/chunks/{git-h2b79v29.js → location-activity-h2b79v29.js} +2 -2
- package/dist/chunks/{git-s59ev0m2.js → location-activity-h5v9nra6.js} +27 -27
- package/dist/chunks/{git-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-pzsynw2j.js → location-activity-h9my387j.js} +8 -8
- package/dist/chunks/{git-v31r4dph.js → location-activity-hb1zg4ht.js} +8 -8
- package/dist/chunks/{git-bt3d1ymw.js → location-activity-hb7an6nh.js} +18 -18
- package/dist/chunks/{git-4mwhzqns.js → location-activity-hqpah0r2.js} +32 -32
- package/dist/chunks/{git-0h87xbbz.js → location-activity-hrcfx6vp.js} +14 -14
- package/dist/chunks/{git-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{git-pbpv9gfz.js → location-activity-j5q726ab.js} +18 -18
- package/dist/chunks/{git-eeb28w8k.js → location-activity-jp4g486y.js} +9 -9
- package/dist/chunks/location-activity-jqh9b0xq.js +18 -0
- package/dist/chunks/{git-pkyzxqrp.js → location-activity-jsjj0c6c.js} +22 -22
- package/dist/chunks/{git-z9j6250x.js → location-activity-jwar5sv4.js} +19 -19
- package/dist/chunks/{git-qpmwgr82.js → location-activity-k08bdcds.js} +9 -9
- package/dist/chunks/{git-dvc89yjx.js → location-activity-k1qrnqst.js} +8 -8
- package/dist/chunks/{git-v4wtaekh.js → location-activity-kb7sybk7.js} +32 -32
- package/dist/chunks/{git-cjerh2x3.js → location-activity-kt043v3q.js} +10 -10
- package/dist/chunks/{git-wb7crd86.js → location-activity-ktf5frdt.js} +13 -13
- package/dist/chunks/{git-6gna983b.js → location-activity-kwe37vaz.js} +8 -8
- package/dist/chunks/{git-n1n7d1bc.js → location-activity-kwtdqxjw.js} +31 -31
- package/dist/chunks/{git-dherjby8.js → location-activity-m39p0v92.js} +3 -3
- package/dist/chunks/{git-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-vyys1dp9.js → location-activity-m4emr75t.js} +8 -8
- package/dist/chunks/{git-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-ftnv5kfd.js → location-activity-mar13xq9.js} +24 -24
- package/dist/chunks/{git-mvfsc1pv.js → location-activity-mhkvc446.js} +3 -3
- package/dist/chunks/{git-r3hpgepr.js → location-activity-mncwhvf2.js} +29 -29
- package/dist/chunks/{git-t669c2kt.js → location-activity-mrydgg8n.js} +7 -7
- package/dist/chunks/{git-habzs87j.js → location-activity-mtzw15c5.js} +17 -17
- package/dist/chunks/{git-11schykf.js → location-activity-n3h7b6bk.js} +23 -23
- package/dist/chunks/{git-jvf3yq6v.js → location-activity-n4r3xatb.js} +4 -4
- package/dist/chunks/{git-j8rbgwqz.js → location-activity-nahm64m7.js} +41 -41
- package/dist/chunks/{git-5zfwvp2h.js → location-activity-nbmw97mr.js} +6 -6
- package/dist/chunks/{git-41vfag0n.js → location-activity-nevvy4w2.js} +24 -24
- package/dist/chunks/{git-xv72df90.js → location-activity-nnkpej43.js} +39 -39
- package/dist/chunks/{git-dpkg50ah.js → location-activity-nxm207yx.js} +4 -4
- package/dist/chunks/{git-51f5btjf.js → location-activity-nzq7ck9f.js} +6 -6
- package/dist/chunks/{git-gm6nnvxm.js → location-activity-p0f4zmkb.js} +24 -24
- package/dist/chunks/{git-s26hbv8p.js → location-activity-pct1c8gm.js} +4 -4
- package/dist/chunks/{git-qtxdpptr.js → location-activity-phffqbv0.js} +32 -32
- package/dist/chunks/{git-p9yemd5w.js → location-activity-pj4a0my9.js} +19 -19
- package/dist/chunks/{git-1gpb38yh.js → location-activity-pjsqfx9m.js} +3 -3
- package/dist/chunks/{git-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-1x0zm3dp.js → location-activity-pk1q6pjh.js} +16 -16
- package/dist/chunks/{git-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{git-9fyj3hys.js → location-activity-pmmjvhhs.js} +8 -8
- package/dist/chunks/{git-thf4zxr8.js → location-activity-pp1yyjjg.js} +5 -5
- package/dist/chunks/{git-r86bf0fn.js → location-activity-ppqkzqgj.js} +1 -1
- package/dist/chunks/{git-470k3ke5.js → location-activity-pzpn5aar.js} +13 -13
- package/dist/chunks/{git-q0xm7vwc.js → location-activity-q0xm7vwc.js} +2 -2
- package/dist/chunks/{git-8a37x1ax.js → location-activity-qbgt62kf.js} +40 -40
- package/dist/chunks/{git-bh0zzf2s.js → location-activity-qe26s0zb.js} +8 -8
- package/dist/chunks/{git-83cqqva6.js → location-activity-qej8jne0.js} +17 -17
- package/dist/chunks/{git-9zybxyya.js → location-activity-qkz1k4kx.js} +5 -5
- package/dist/chunks/{git-qnc92qwc.js → location-activity-qnc92qwc.js} +1 -1
- package/dist/chunks/{git-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{git-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-vzbxwz1d.js → location-activity-rf6cmkn1.js} +11 -11
- package/dist/chunks/{git-1acjjqhc.js → location-activity-rhraev7y.js} +4 -4
- package/dist/chunks/{git-tkmwgdpd.js → location-activity-ryr25ayn.js} +7 -7
- package/dist/chunks/{git-cjthjsse.js → location-activity-rzy66xyp.js} +32 -32
- package/dist/chunks/{git-9t7a50xb.js → location-activity-s8d7rejh.js} +4 -4
- package/dist/chunks/{git-mx9s3x0a.js → location-activity-sded7z9w.js} +14 -14
- package/dist/chunks/{git-yhakkn64.js → location-activity-shjdf60r.js} +11 -11
- package/dist/chunks/{git-hvjr2bj8.js → location-activity-shvhq7an.js} +35 -35
- package/dist/chunks/{git-apaqd6gh.js → location-activity-spc73t8y.js} +1 -1
- package/dist/chunks/{git-aa8qew8f.js → location-activity-sth74pnq.js} +22 -22
- package/dist/chunks/{git-tg54efwz.js → location-activity-svqfenz5.js} +5 -5
- package/dist/chunks/{git-f95rk2pr.js → location-activity-t4ny6stw.js} +25 -25
- package/dist/chunks/{git-g9tydsjn.js → location-activity-t6ay20en.js} +19 -19
- package/dist/chunks/{git-jyt5y1qt.js → location-activity-t9m3edaw.js} +2 -2
- package/dist/chunks/{git-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{git-q4zhjj5d.js → location-activity-tjn0w8tq.js} +20 -20
- package/dist/chunks/{git-hq153nby.js → location-activity-tp3k5ea2.js} +18 -18
- package/dist/chunks/{git-2bzy33zx.js → location-activity-tpyep7wn.js} +18 -18
- package/dist/chunks/{git-cgyy49aj.js → location-activity-tw9ekqb6.js} +13 -13
- package/dist/chunks/{git-8ndffx4j.js → location-activity-v0es1rhs.js} +7 -7
- package/dist/chunks/{git-v252qd0j.js → location-activity-vcfp5rjs.js} +11 -11
- package/dist/chunks/{git-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{git-j1j89z9y.js → location-activity-vey5mqe7.js} +309 -309
- package/dist/chunks/{git-4wx3j26j.js → location-activity-vgepzxbh.js} +4 -4
- package/dist/chunks/{git-m9v4343w.js → location-activity-vhncgchg.js} +14 -14
- package/dist/chunks/{git-nte0bfvv.js → location-activity-vmfsvd6h.js} +21 -21
- package/dist/chunks/{git-vgwj7znc.js → location-activity-vr37hq2x.js} +13 -13
- package/dist/chunks/{git-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-4xpgt2w9.js → location-activity-w39jehkq.js} +5 -5
- package/dist/chunks/{git-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{git-kaf4gepk.js → location-activity-wg9mrbyx.js} +52 -52
- package/dist/chunks/{git-vd216s12.js → location-activity-whyata6j.js} +15 -15
- package/dist/chunks/{git-9nytgvc2.js → location-activity-wjhhp971.js} +8 -8
- package/dist/chunks/{git-xb4hcye0.js → location-activity-wqamxebv.js} +24 -24
- package/dist/chunks/{git-b45szw8n.js → location-activity-wscyxcxf.js} +12 -12
- package/dist/chunks/{git-5azn87gq.js → location-activity-wtyn31es.js} +28 -28
- package/dist/chunks/{git-gvzxnjjj.js → location-activity-wy271fzy.js} +4 -4
- package/dist/chunks/{git-zvr8tn04.js → location-activity-x0vzmp4x.js} +8 -8
- package/dist/chunks/{git-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-17xbj2z7.js → location-activity-x1g3xjpd.js} +6 -6
- package/dist/chunks/{git-a3txam13.js → location-activity-x3fsy76a.js} +23 -23
- package/dist/chunks/{git-16tfmg9n.js → location-activity-x8r0ew4v.js} +13 -13
- package/dist/chunks/{git-2re9vmfy.js → location-activity-xcr4nt91.js} +12 -12
- package/dist/chunks/{git-2hstpqf3.js → location-activity-xdgk9xw0.js} +9 -9
- package/dist/chunks/{git-dmqcgk4z.js → location-activity-xkntkrq7.js} +5 -5
- package/dist/chunks/{git-gck3dpx1.js → location-activity-xp1r6926.js} +31 -31
- package/dist/chunks/location-activity-xs4bhnbp.js +507 -0
- package/dist/chunks/{git-zqb7t9wr.js → location-activity-xtp7b56q.js} +15 -15
- package/dist/chunks/{git-qxjc9qry.js → location-activity-xyafkbt0.js} +3 -3
- package/dist/chunks/{git-yemncvg3.js → location-activity-y1026n7a.js} +27 -27
- package/dist/chunks/{git-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-w4m5k0g7.js → location-activity-y38vkjgw.js} +9 -9
- package/dist/chunks/{git-repk3emw.js → location-activity-y40jdrre.js} +11 -11
- package/dist/chunks/{git-7dd52q06.js → location-activity-y5222gcj.js} +3 -3
- package/dist/chunks/{git-8sme8jv8.js → location-activity-y8z6pjqt.js} +35 -35
- package/dist/chunks/{git-r44petzp.js → location-activity-ynpe6tcd.js} +12 -12
- package/dist/chunks/{git-bydnjh3t.js → location-activity-yr715y08.js} +9 -9
- package/dist/chunks/{git-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-bbw36kky.js → location-activity-yxh0zdxf.js} +22 -22
- package/dist/chunks/{git-92hpndrs.js → location-activity-yym3kn8t.js} +9 -9
- package/dist/chunks/{git-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-5v41a74b.js → location-activity-z5cg979m.js} +9 -9
- package/dist/chunks/{git-vn72gsba.js → location-activity-zfs8ae4p.js} +4 -4
- package/dist/chunks/{git-qgrdwknr.js → location-activity-zkttgkb0.js} +16 -16
- package/dist/chunks/{git-zf3n64mb.js → location-activity-zpff0acr.js} +31 -31
- package/dist/chunks/{git-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-3q5fxme7.js → location-activity-zr73n83g.js} +11 -11
- package/dist/chunks/{git-ccksxbyh.js → location-activity-zrqpdgxa.js} +33 -33
- package/dist/chunks/{git-9qd58nx3.js → location-activity-ztar2vnf.js} +12 -12
- package/dist/chunks/{git-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- 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 +103 -103
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +114 -114
- 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 +4 -4
- 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 +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- 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 +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- 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 +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +74 -74
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/git-fpbz0h82.js +0 -252
- package/dist/chunks/git-fz13pkzb.js +0 -507
- package/dist/chunks/git-qc068m1q.js +0 -18
- package/dist/chunks/git-rkn1pe94.js +0 -26
- /package/dist/chunks/{git-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-nxm207yx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-wy271fzy.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./location-activity-5qfy63yy.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./location-activity-7v8e2cp0.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service56,
|
|
19
|
+
node59
|
|
20
|
+
} from "./location-activity-crd6jgtk.js";
|
|
21
21
|
import {
|
|
22
22
|
ID15,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service77,
|
|
24
|
+
node81
|
|
25
|
+
} from "./location-activity-pzpn5aar.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-activity-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service76,
|
|
34
|
+
node80
|
|
35
|
+
} from "./location-activity-e8344z6b.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service37,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured5,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node40
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service37 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options5 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options5 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const environment = yield* Service56;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service77;
|
|
119
|
+
const integration = yield* Service76;
|
|
120
|
+
const credentials = yield* Service78;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -145,7 +145,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,7 +161,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
@@ -269,7 +269,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
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(
|
|
272
|
+
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(Service56, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service37.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
532
|
}
|
|
533
533
|
function configured5(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service37,
|
|
536
|
+
layer: layer14(options),
|
|
537
|
+
deps: [node84, node59, node87, node81, node80, node82]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node40 = configured5();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service37, Options5, layer14, configured5, node40, exports_mcp4 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service48,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node51
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service48 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service48, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service48.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service49, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node51 = makeGlobalNode({ service: Service48, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service48, node51, exports_environment };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-2wzcstvr.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-wy271fzy.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./location-activity-5qfy63yy.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-e8344z6b.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./location-activity-vey5mqe7.js";
|
|
23
23
|
import {
|
|
24
24
|
ID7,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Info16
|
|
26
|
+
} from "./location-activity-ftz64sk8.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,7 +35,7 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
38
|
+
var providerID = ID13.gitlab;
|
|
39
39
|
var integrationID = ID14.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service75;
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info16.default(providerID, ID7.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID13.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-activity-vey5mqe7.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service54,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node57
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service54 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service54.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node57 = makeLocationNode({
|
|
137
|
+
service: Service54,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service54, node57, exports_tool_output2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make19
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make19 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make19, exports_run_coordinator };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info11
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info11 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info11, exports_command5 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service71,
|
|
7
|
-
node75
|
|
8
|
-
} from "./git-470k3ke5.js";
|
|
4
|
+
} from "./location-activity-wy271fzy.js";
|
|
9
5
|
import {
|
|
10
6
|
Service77,
|
|
11
7
|
node81
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./location-activity-pzpn5aar.js";
|
|
9
|
+
import {
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./location-activity-1y5174xs.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service80,
|
|
16
|
+
node84
|
|
17
|
+
} from "./location-activity-7v8e2cp0.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-xdgk9xw0.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service70,
|
|
26
|
+
node73
|
|
27
|
+
} from "./location-activity-6gn8k2yc.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service68,
|
|
30
|
+
node71
|
|
31
|
+
} from "./location-activity-d4fbbg98.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service15,
|
|
41
|
+
node: () => node17
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service15 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service83;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
|
+
const permission = yield* Service70;
|
|
54
|
+
const forms = yield* Service77;
|
|
55
|
+
const rpc = yield* Service68;
|
|
56
|
+
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service15.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node17 = makeLocationNode({
|
|
84
|
+
service: Service15,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [node87,
|
|
86
|
+
deps: [node87, node84, node73, node85, node81, node71]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service15, node17, exports_location_lifecycle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|