@opencode/core 0.0.0-dev-20480 → 0.0.0-dev-20481
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 +69 -69
- package/dist/chunks/{location-activity-6mhjx4b6.js → git-02rta1p5.js} +2 -2
- package/dist/chunks/{location-activity-wg68nafb.js → git-03xyy9gs.js} +11 -11
- package/dist/chunks/{location-activity-y14bx9tm.js → git-0h87xbbz.js} +11 -11
- package/dist/chunks/{location-activity-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-n6nrhf01.js → git-0r7m21ea.js} +32 -32
- package/dist/chunks/{location-activity-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-activity-8bm8gygk.js → git-11schykf.js} +18 -18
- package/dist/chunks/{location-activity-t6hpw5rz.js → git-16tfmg9n.js} +13 -13
- package/dist/chunks/{location-activity-5shwkg68.js → git-17xbj2z7.js} +2 -2
- package/dist/chunks/{location-activity-r8xr0va3.js → git-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-activity-9hn6k4tm.js → git-1ajx6rf5.js} +8 -8
- package/dist/chunks/{location-activity-dmvmn2q0.js → git-1bypmceh.js} +16 -16
- package/dist/chunks/{location-activity-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-84h8c373.js → git-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-activity-89za3yyg.js → git-1gpb38yh.js} +9 -9
- package/dist/chunks/{location-activity-gd1at56q.js → git-1pfhqsc3.js} +20 -20
- package/dist/chunks/{location-activity-p1h07j1p.js → git-1x0zm3dp.js} +20 -20
- package/dist/chunks/{location-activity-k2dbp69f.js → git-1zn329az.js} +10 -10
- package/dist/chunks/{location-activity-dc9hv6dn.js → git-200bxkj7.js} +20 -20
- package/dist/chunks/{location-activity-rvevwjzn.js → git-272ak889.js} +14 -14
- package/dist/chunks/{location-activity-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-adcymw1a.js → git-2bzy33zx.js} +18 -18
- package/dist/chunks/{location-activity-hntbmpkd.js → git-2hstpqf3.js} +9 -9
- package/dist/chunks/{location-activity-85bcdz65.js → git-2re9vmfy.js} +16 -16
- package/dist/chunks/{location-activity-md6w79y2.js → git-327sg516.js} +16 -16
- package/dist/chunks/{location-activity-ah6q2b7n.js → git-3382x40z.js} +4 -4
- package/dist/chunks/{location-activity-9ncrd2s7.js → git-386dse5s.js} +30 -30
- package/dist/chunks/{location-activity-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-yej8dt28.js → git-3gjywyz4.js} +11 -11
- package/dist/chunks/{location-activity-ekssatwp.js → git-3gz5rark.js} +35 -35
- package/dist/chunks/{location-activity-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-1jktvbmr.js → git-3q5fxme7.js} +9 -9
- package/dist/chunks/{location-activity-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-5c258t51.js → git-3wpc7sdy.js} +27 -27
- package/dist/chunks/{location-activity-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-activity-g4je1hn3.js → git-41vfag0n.js} +16 -16
- package/dist/chunks/{location-activity-3fwjzrvh.js → git-42a4b5x3.js} +30 -30
- package/dist/chunks/{location-activity-t0cz011w.js → git-470k3ke5.js} +18 -18
- package/dist/chunks/{location-activity-2p623br6.js → git-4a6jpjer.js} +5 -5
- package/dist/chunks/{location-activity-63kpjth9.js → git-4ckgtqrh.js} +9 -9
- package/dist/chunks/{location-activity-2wfefq25.js → git-4mwhzqns.js} +34 -34
- package/dist/chunks/{location-activity-2ccvkpx1.js → git-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-activity-vd5y62t1.js → git-4wrkd8nn.js} +11 -11
- package/dist/chunks/{location-activity-30krspkn.js → git-4wx3j26j.js} +4 -4
- package/dist/chunks/{location-activity-w2h15q85.js → git-4xpgt2w9.js} +5 -5
- package/dist/chunks/{location-activity-dzse07y5.js → git-51f5btjf.js} +6 -6
- package/dist/chunks/{location-activity-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{location-activity-ajc4e5h8.js → git-5azn87gq.js} +28 -28
- package/dist/chunks/{location-activity-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-rjjes25b.js → git-5hqve3aj.js} +9 -9
- package/dist/chunks/{location-activity-e3qxr5gk.js → git-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-activity-hvp92dt9.js → git-5sqh9w00.js} +15 -15
- package/dist/chunks/{location-activity-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-tbd6cyzm.js → git-5v41a74b.js} +9 -9
- package/dist/chunks/{location-activity-ca8f65ss.js → git-5zfwvp2h.js} +6 -6
- package/dist/chunks/{location-activity-c2xhvt6h.js → git-62dyt405.js} +11 -11
- package/dist/chunks/{location-activity-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-7y5xt9fp.js → git-6dmpadww.js} +20 -20
- package/dist/chunks/{location-activity-zrbtt2np.js → git-6gna983b.js} +9 -9
- package/dist/chunks/{location-activity-dezvg7mv.js → git-6pjm6hxh.js} +41 -41
- package/dist/chunks/{location-activity-f75zav2x.js → git-71az546q.js} +2 -2
- package/dist/chunks/{location-activity-wg8gh26w.js → git-73pa4q01.js} +21 -21
- package/dist/chunks/{location-activity-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-0930v272.js → git-7dd52q06.js} +3 -3
- package/dist/chunks/{location-activity-0q0bn7wt.js → git-7p313m06.js} +23 -23
- package/dist/chunks/{location-activity-9zdzxtry.js → git-7r82taj5.js} +18 -18
- package/dist/chunks/{location-activity-699ws4wq.js → git-83cqqva6.js} +17 -17
- package/dist/chunks/{location-activity-350srhaq.js → git-8a37x1ax.js} +50 -50
- package/dist/chunks/{location-activity-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-h4khw5px.js → git-8f060hg1.js} +11 -11
- package/dist/chunks/{location-activity-v0a4cbca.js → git-8khbh05p.js} +11 -11
- package/dist/chunks/{location-activity-v0es1rhs.js → git-8ndffx4j.js} +7 -7
- package/dist/chunks/{location-activity-h35v9yb6.js → git-8sme8jv8.js} +37 -37
- package/dist/chunks/{location-activity-nfg6fefr.js → git-92hpndrs.js} +9 -9
- package/dist/chunks/{location-activity-53sad93v.js → git-9750y225.js} +4 -4
- package/dist/chunks/{location-activity-yb8n5v0q.js → git-9bbmhm4m.js} +4 -4
- package/dist/chunks/{location-activity-kb9j3d72.js → git-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-activity-bcyfx9y6.js → git-9em85dm2.js} +15 -15
- package/dist/chunks/{location-activity-s7b7m8gm.js → git-9fyj3hys.js} +8 -8
- package/dist/chunks/{location-activity-v6eddqm0.js → git-9nytgvc2.js} +8 -8
- package/dist/chunks/{location-activity-182h7z1q.js → git-9qd58nx3.js} +24 -24
- package/dist/chunks/{location-activity-s8d7rejh.js → git-9t7a50xb.js} +4 -4
- package/dist/chunks/{location-activity-hge028m4.js → git-9zybxyya.js} +2 -2
- package/dist/chunks/{location-activity-agk43xgf.js → git-a3txam13.js} +23 -23
- package/dist/chunks/{location-activity-ce4acjxh.js → git-aa8qew8f.js} +22 -22
- package/dist/chunks/{location-activity-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-7qw5pe6x.js → git-ap4zckht.js} +15 -15
- package/dist/chunks/{location-activity-n6125c2f.js → git-apaqd6gh.js} +1 -1
- package/dist/chunks/{location-activity-9xtpzk6w.js → git-apm8h6qx.js} +85 -85
- package/dist/chunks/{location-activity-wdpy1g7d.js → git-b45szw8n.js} +12 -12
- package/dist/chunks/{location-activity-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-59g0s8dr.js → git-b6reh3hn.js} +16 -16
- package/dist/chunks/{location-activity-4s3tx91s.js → git-bbw36kky.js} +24 -24
- package/dist/chunks/{location-activity-y1qqcj8h.js → git-bh0zzf2s.js} +8 -8
- package/dist/chunks/{location-activity-pde12nfv.js → git-bpkwba73.js} +48 -48
- package/dist/chunks/{location-activity-sy19eeqe.js → git-brvreg6p.js} +1 -1
- package/dist/chunks/{location-activity-dbwd59jn.js → git-bt3d1ymw.js} +22 -19
- package/dist/chunks/{location-activity-yr715y08.js → git-bydnjh3t.js} +9 -9
- package/dist/chunks/{location-activity-9fcaedt7.js → git-bz7vn164.js} +8 -8
- package/dist/chunks/{location-activity-qebx1f20.js → git-c16f70nq.js} +10 -10
- package/dist/chunks/{location-activity-4de0x2wn.js → git-c7x212x9.js} +1 -1
- package/dist/chunks/{location-activity-6r3g6dz6.js → git-cbyyef9c.js} +31 -31
- package/dist/chunks/{location-activity-4hn8epdp.js → git-ccksxbyh.js} +28 -28
- package/dist/chunks/{location-activity-8sze2n9a.js → git-cfsekr6v.js} +6 -6
- package/dist/chunks/{location-activity-y2jnyesm.js → git-cgyy49aj.js} +11 -11
- package/dist/chunks/{location-activity-pg2wvq8g.js → git-cjerh2x3.js} +10 -10
- package/dist/chunks/{location-activity-n2nn37za.js → git-cjthjsse.js} +33 -33
- package/dist/chunks/{location-activity-cywz34g8.js → git-cr0y6bkk.js} +26 -26
- package/dist/chunks/{location-activity-cpneeje0.js → git-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-activity-4y69q3w9.js → git-d819pdvd.js} +5 -5
- package/dist/chunks/{location-activity-14mdsyfv.js → git-dcs9hbsv.js} +21 -21
- package/dist/chunks/{location-activity-n11r83wc.js → git-dfrza52c.js} +11 -11
- package/dist/chunks/{location-activity-p9esxrs0.js → git-dherjby8.js} +5 -5
- package/dist/chunks/{location-activity-dmqcgk4z.js → git-dmqcgk4z.js} +2 -2
- package/dist/chunks/{location-activity-525retpn.js → git-dpe144tr.js} +13 -13
- package/dist/chunks/{location-activity-nxm207yx.js → git-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-activity-3nmmjeqr.js → git-dqs0vcbf.js} +15 -15
- package/dist/chunks/{location-activity-drnf6xwf.js → git-drnf6xwf.js} +2 -2
- package/dist/chunks/{location-activity-k1qrnqst.js → git-dvc89yjx.js} +8 -8
- package/dist/chunks/{location-activity-mtjahv1a.js → git-e351gv9y.js} +11 -11
- package/dist/chunks/{location-activity-c1gcx4p7.js → git-eaxsg860.js} +3 -3
- package/dist/chunks/{location-activity-d4xa2c0j.js → git-eeb28w8k.js} +12 -12
- package/dist/chunks/{location-activity-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-116zdfxn.js → git-eseyeb0w.js} +14 -14
- package/dist/chunks/{location-activity-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-b24eg6ry.js → git-f95rk2pr.js} +23 -23
- package/dist/chunks/git-fpbz0h82.js +252 -0
- package/dist/chunks/{location-activity-f47cg35j.js → git-fr5pxeem.js} +23 -23
- package/dist/chunks/{location-activity-4rrx6bfz.js → git-fsfe74kd.js} +27 -27
- package/dist/chunks/{location-activity-8s0hbtb0.js → git-ftnv5kfd.js} +32 -32
- package/dist/chunks/git-fz13pkzb.js +507 -0
- package/dist/chunks/{location-activity-xfkkasph.js → git-g5w8qwbj.js} +4 -4
- package/dist/chunks/{location-activity-5wj0gyf6.js → git-g9tydsjn.js} +20 -20
- package/dist/chunks/{location-activity-0fve3x7k.js → git-gck3dpx1.js} +33 -33
- package/dist/chunks/{location-activity-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-adr463s0.js → git-gm6nnvxm.js} +24 -24
- package/dist/chunks/{location-activity-nsc4cbcy.js → git-gvzxnjjj.js} +4 -4
- package/dist/chunks/{location-activity-3cegwx68.js → git-h2b79v29.js} +2 -2
- package/dist/chunks/{location-activity-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-nh29y208.js → git-habzs87j.js} +18 -18
- package/dist/chunks/{location-activity-kef0s52w.js → git-hc976vhp.js} +15 -15
- package/dist/chunks/{location-activity-h1yvt719.js → git-hq153nby.js} +16 -16
- package/dist/chunks/{location-activity-zsrdwez2.js → git-hs4apeen.js} +10 -10
- package/dist/chunks/{location-activity-yqjd25qx.js → git-hvjr2bj8.js} +43 -43
- package/dist/chunks/{location-activity-3cg47sj7.js → git-hy3hxqkj.js} +10 -10
- package/dist/chunks/{location-activity-da11rmvm.js → git-j1j89z9y.js} +306 -306
- package/dist/chunks/{location-activity-bp279rdz.js → git-j505r7f3.js} +28 -28
- package/dist/chunks/{location-activity-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-hwrcrf3c.js → git-j712c6ve.js} +11 -11
- package/dist/chunks/{location-activity-w4mta7pp.js → git-j8rbgwqz.js} +43 -43
- package/dist/chunks/{location-activity-hfgdd62m.js → git-jf4axb2c.js} +3 -3
- package/dist/chunks/{location-activity-chrxq3ex.js → git-jrjafyr0.js} +11 -11
- package/dist/chunks/{location-activity-8gxqpgph.js → git-jvf3yq6v.js} +4 -4
- package/dist/chunks/{location-activity-656t1bz5.js → git-jyt5y1qt.js} +2 -2
- package/dist/chunks/{location-activity-1b3nhc4c.js → git-k0m5db98.js} +26 -26
- package/dist/chunks/{location-activity-wfx1w319.js → git-k2f9j3q2.js} +32 -32
- package/dist/chunks/{location-activity-2f0326dr.js → git-kaf4gepk.js} +54 -54
- package/dist/chunks/{location-activity-10kh9wpp.js → git-m0ekd96m.js} +6 -6
- package/dist/chunks/{location-activity-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-activity-wx8f0816.js → git-m6x68w8h.js} +175 -175
- package/dist/chunks/{location-activity-x46ed3ah.js → git-m9v4343w.js} +14 -14
- package/dist/chunks/{location-activity-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-mfqp6xfm.js → git-mfqp6xfm.js} +2 -2
- package/dist/chunks/{location-activity-x6pyv2yz.js → git-mjagy123.js} +5 -5
- package/dist/chunks/{location-activity-p51p3jcg.js → git-mjymc32g.js} +21 -21
- package/dist/chunks/{location-activity-j028xdjb.js → git-mvfsc1pv.js} +3 -3
- package/dist/chunks/{location-activity-xn17k1w9.js → git-mx9s3x0a.js} +7 -7
- package/dist/chunks/{location-activity-0khjy9ec.js → git-n1n7d1bc.js} +33 -33
- package/dist/chunks/{location-activity-g8eyt1hc.js → git-nbbbwrsr.js} +46 -46
- package/dist/chunks/{location-activity-3556dn8t.js → git-ncnm8wen.js} +1 -1
- package/dist/chunks/{location-activity-wh506jg9.js → git-nte0bfvv.js} +18 -18
- package/dist/chunks/{location-activity-28zek266.js → git-p35g2vpz.js} +18 -18
- package/dist/chunks/{location-activity-bdn2jqxx.js → git-p558d1j2.js} +8 -8
- package/dist/chunks/{location-activity-567pkxz1.js → git-p6tgyf45.js} +5 -5
- package/dist/chunks/{location-activity-ck5rgqrb.js → git-p8k3f31h.js} +85 -85
- package/dist/chunks/{location-activity-8mk23zt3.js → git-p9yemd5w.js} +19 -19
- package/dist/chunks/{location-activity-kgnaaj8y.js → git-pbcn5b8q.js} +15 -15
- package/dist/chunks/{location-activity-f191dgah.js → git-pbpv9gfz.js} +9 -9
- package/dist/chunks/{location-activity-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-rm6495e7.js → git-pkyzxqrp.js} +20 -20
- package/dist/chunks/{location-activity-mdatewcv.js → git-pt1c4k6y.js} +21 -21
- package/dist/chunks/{location-activity-0ww7qdtd.js → git-py47m9dw.js} +10 -10
- package/dist/chunks/{location-activity-zxj9yazw.js → git-pzsynw2j.js} +8 -8
- package/dist/chunks/{location-activity-0j77ygfz.js → git-q0xm7vwc.js} +6 -6
- package/dist/chunks/{location-activity-y99drxtg.js → git-q2k9hrka.js} +20 -20
- package/dist/chunks/{location-activity-rge4jpvb.js → git-q4zhjj5d.js} +20 -20
- package/dist/chunks/{location-activity-2nv2m7pf.js → git-qaeybh9m.js} +6 -6
- package/dist/chunks/git-qc068m1q.js +18 -0
- package/dist/chunks/{location-activity-2k8khapm.js → git-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-activity-z6rdb9sr.js → git-qgrdwknr.js} +16 -16
- package/dist/chunks/{location-activity-qnc92qwc.js → git-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-activity-9zv23tyg.js → git-qpmwgr82.js} +9 -9
- package/dist/chunks/{location-activity-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-yh2fg620.js → git-qthf81rg.js} +11 -11
- package/dist/chunks/{location-activity-qd4eqyk6.js → git-qtxdpptr.js} +32 -32
- package/dist/chunks/{location-activity-gda1r8ym.js → git-qvm0wtrp.js} +2 -2
- package/dist/chunks/{location-activity-qxjc9qry.js → git-qxjc9qry.js} +3 -3
- package/dist/chunks/{location-activity-y51nd170.js → git-qy6g1rdh.js} +17 -17
- package/dist/chunks/{location-activity-v7gwj56g.js → git-qzx8p8d0.js} +23 -23
- package/dist/chunks/{location-activity-jf6pjsy2.js → git-r3hpgepr.js} +26 -26
- package/dist/chunks/{location-activity-ep44p4pe.js → git-r44petzp.js} +12 -12
- package/dist/chunks/{location-activity-2jmxtyz7.js → git-r4qc49wz.js} +13 -13
- package/dist/chunks/{location-activity-19rp02gw.js → git-r50xfagt.js} +15 -15
- package/dist/chunks/{location-activity-5z2nh3x1.js → git-r63za8pc.js} +25 -25
- package/dist/chunks/{location-activity-mcm367ee.js → git-r86bf0fn.js} +3 -3
- package/dist/chunks/{location-activity-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-devvhrfz.js → git-repk3emw.js} +8 -8
- package/dist/chunks/git-rkn1pe94.js +26 -0
- package/dist/chunks/{location-activity-zy43x3f1.js → git-rpf1qvc3.js} +4 -4
- package/dist/chunks/{location-activity-9q5tzmyt.js → git-rzgz5kj8.js} +4 -4
- package/dist/chunks/{location-activity-z0aj456m.js → git-s26hbv8p.js} +4 -4
- package/dist/chunks/{location-activity-b2yqmgr8.js → git-s59ev0m2.js} +27 -27
- package/dist/chunks/{location-activity-qwjmgwmn.js → git-s5met55r.js} +8 -8
- package/dist/chunks/{location-activity-5824vx86.js → git-s6tbk65m.js} +11 -11
- package/dist/chunks/{location-activity-khw2gspr.js → git-sb1bm0qp.js} +71 -71
- package/dist/chunks/{location-activity-c0j408pk.js → git-shp8jhta.js} +1 -1
- package/dist/chunks/{location-activity-4w4aa4w4.js → git-srw1wyee.js} +17 -17
- package/dist/chunks/{location-activity-3t1wp6p2.js → git-sxtvyy3t.js} +10 -10
- package/dist/chunks/{location-activity-sy448gmp.js → git-t669c2kt.js} +7 -7
- package/dist/chunks/{location-activity-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-wjmvb2fm.js → git-tcatf3b6.js} +36 -36
- package/dist/chunks/{location-activity-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-activity-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-qpjqjx5f.js → git-tg54efwz.js} +3 -3
- package/dist/chunks/{location-activity-3h2r7n3c.js → git-thf4zxr8.js} +5 -5
- package/dist/chunks/{location-activity-b27vhd2z.js → git-tkmwgdpd.js} +7 -7
- package/dist/chunks/{location-activity-4q9xksy6.js → git-trhjxf3d.js} +7 -7
- package/dist/chunks/{location-activity-xzjez30t.js → git-txs8yy3n.js} +1 -1
- package/dist/chunks/{location-activity-jdxg69hq.js → git-v252qd0j.js} +13 -13
- package/dist/chunks/{location-activity-f3d5htwy.js → git-v31r4dph.js} +8 -8
- package/dist/chunks/{location-activity-74ksxchy.js → git-v4wtaekh.js} +32 -32
- package/dist/chunks/{location-activity-2dnd7d20.js → git-vd216s12.js} +13 -13
- package/dist/chunks/{location-activity-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-xwd0acfk.js → git-vgwj7znc.js} +13 -13
- package/dist/chunks/{location-activity-vd3qs992.js → git-vj4f2rsj.js} +24 -24
- package/dist/chunks/{location-activity-adght6x0.js → git-vjbsmafc.js} +20 -20
- package/dist/chunks/{location-activity-rx9ava5n.js → git-vn72gsba.js} +4 -4
- package/dist/chunks/{location-activity-2w99apfa.js → git-vyt0kgkx.js} +33 -33
- package/dist/chunks/{location-activity-f8r3hpen.js → git-vyys1dp9.js} +11 -11
- package/dist/chunks/{location-activity-yegmnrcf.js → git-vzbxwz1d.js} +11 -11
- package/dist/chunks/{location-activity-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-activity-84txncab.js → git-w1eejvng.js} +5 -5
- package/dist/chunks/{location-activity-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-4vp2zkv1.js → git-w4m5k0g7.js} +6 -6
- package/dist/chunks/{location-activity-2g406fp5.js → git-w8cdx6rt.js} +15 -15
- package/dist/chunks/{location-activity-za490t17.js → git-wb7crd86.js} +10 -10
- package/dist/chunks/{location-activity-k6ehc7p5.js → git-wcrrxam5.js} +57 -57
- package/dist/chunks/{location-activity-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-caseqyrv.js → git-wssnkxc5.js} +24 -24
- package/dist/chunks/{location-activity-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-x661k3y3.js → git-x661k3y3.js} +1 -1
- package/dist/chunks/{location-activity-82m24mh1.js → git-xb4hcye0.js} +24 -24
- package/dist/chunks/{location-activity-2k2r7q25.js → git-xkmy9fvh.js} +15 -15
- package/dist/chunks/{location-activity-ym76d0d6.js → git-xv72df90.js} +25 -25
- package/dist/chunks/{location-activity-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-snj9ksdw.js → git-yemncvg3.js} +24 -24
- package/dist/chunks/{location-activity-z6c3x22d.js → git-ygdna4kr.js} +5 -5
- package/dist/chunks/{location-activity-5sfjawpw.js → git-yhakkn64.js} +11 -11
- package/dist/chunks/{location-activity-5cd0f864.js → git-yn5e4dj4.js} +9 -9
- package/dist/chunks/{location-activity-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-0zsbm5jj.js → git-yv9jqw96.js} +6 -6
- package/dist/chunks/{location-activity-n8sna2wb.js → git-yvq0e8sz.js} +9 -9
- package/dist/chunks/{location-activity-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-mbjkcgq4.js → git-z8dbgj3m.js} +5 -5
- package/dist/chunks/{location-activity-0b06dnjj.js → git-z9j6250x.js} +30 -30
- package/dist/chunks/{location-activity-k371y6r1.js → git-zct2699j.js} +3 -3
- package/dist/chunks/{location-activity-k9ncgs0h.js → git-zf3n64mb.js} +25 -25
- package/dist/chunks/{location-activity-8767ctf1.js → git-zqb7t9wr.js} +24 -24
- package/dist/chunks/{location-activity-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-4z58m4b4.js → git-zsr4wwhv.js} +4 -4
- package/dist/chunks/{location-activity-hrhhvsst.js → git-ztzk91w7.js} +32 -32
- package/dist/chunks/{location-activity-2wts5qzq.js → git-zvr8tn04.js} +8 -8
- package/dist/chunks/{location-activity-5vx9e22b.js → git-zw2wtcws.js} +4 -4
- package/dist/chunks/{location-activity-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-activity-b3f8fkhc.js → git-zyk1yjk8.js} +5 -5
- 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 +116 -116
- package/dist/config/plugin/command.js +205 -205
- 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 +123 -123
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- 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 +115 -115
- 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 +121 -121
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- 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 +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +1 -1
- 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 +109 -109
- package/dist/mcp/instructions.js +127 -127
- 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 +102 -102
- package/dist/models-dev.js +103 -103
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- 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 +4 -4
- package/dist/plugin/plan.js +100 -100
- 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 +95 -95
- 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 +132 -132
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +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 +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- 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 +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 +1 -1
- 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 +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- 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 +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 +82 -82
- 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/location-activity-4v7qdvcn.js +0 -18
- package/dist/chunks/location-activity-m4mmr2p7.js +0 -26
- package/dist/chunks/location-activity-pz5pawm5.js +0 -507
- package/dist/chunks/location-activity-w7g85kp8.js +0 -252
- /package/dist/chunks/{location-activity-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-34c7v6d4.js → git-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-my4zabxr.js → git-my4zabxr.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service50
|
|
4
|
+
} from "./git-j8rbgwqz.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin31,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin31 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service50;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin26 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin31, exports_warming };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-s6tbk65m.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-gvzxnjjj.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./git-wssnkxc5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-fr5pxeem.js";
|
|
15
15
|
import {
|
|
16
16
|
ID12
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-j1j89z9y.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID7,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-cbyyef9c.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
30
|
var providerID = ID12.make("digitalocean");
|
|
31
|
-
var integrationID =
|
|
31
|
+
var integrationID = ID14.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID7.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./git-qgrdwknr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service28
|
|
6
|
+
} from "./git-apm8h6qx.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make11 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service28;
|
|
24
|
+
const jobs = yield* Service46;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./git-vj4f2rsj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service24,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-16tfmg9n.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service27
|
|
11
|
+
} from "./git-xkmy9fvh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service62
|
|
14
|
+
} from "./git-wcrrxam5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service26
|
|
17
|
+
} from "./git-2bzy33zx.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input9,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin44,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name9,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name9 = "write";
|
|
39
|
+
var Input9 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin44 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service26;
|
|
56
|
+
const fileMutation = yield* Service24;
|
|
57
|
+
const environment = yield* Service55;
|
|
58
|
+
const formatter = yield* Service27;
|
|
59
|
+
const permission = yield* Service62;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name9,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input9,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name9, Input9, Output7, toModelContent4, Plugin44, exports_write };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./git-bbw36kky.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9t7a50xb.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-z5v4ffb3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
12
|
Service61
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-6dmpadww.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./git-1bypmceh.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin11
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin11 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
35
|
const discovery = yield* Service61;
|
|
@@ -38,8 +38,8 @@ var Plugin7 = define({
|
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service76;
|
|
42
|
+
const watcher = yield* Service51;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin11, exports_instruction };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service73,
|
|
3
|
+
node77,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-2hstpqf3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service44,
|
|
8
|
+
node46
|
|
9
|
+
} from "./git-51f5btjf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service13
|
|
12
|
+
} from "./git-cjthjsse.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-fpbz0h82.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service73, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service13);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node46.replace(Layer.succeed(Service44, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node77.replace(Layer.succeed(Service73, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service76,
|
|
18
|
+
node80
|
|
19
|
+
} from "./git-1bypmceh.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service56,
|
|
22
|
+
node59
|
|
23
|
+
} from "./git-zqb7t9wr.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service55,
|
|
33
|
+
node: () => node58
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service55,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node58,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service55 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
|
+
const workspace = yield* Service56;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service55.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node58 = makeLocationNode({
|
|
71
|
+
service: Service55,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node80, node59]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service55, node58, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-s6tbk65m.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-gvzxnjjj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID16,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event18,
|
|
11
|
+
Service72
|
|
12
|
+
} from "./git-wssnkxc5.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-x661k3y3.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-fr5pxeem.js";
|
|
20
20
|
import {
|
|
21
21
|
ID12,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-j1j89z9y.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID7,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info15
|
|
28
|
+
} from "./git-cbyyef9c.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./git-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -42,7 +42,7 @@ var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
44
|
var providerID = ID12.openai;
|
|
45
|
-
var integrationID =
|
|
45
|
+
var integrationID = ID14.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -172,7 +172,7 @@ var ChatGPTPlugin2 = define({
|
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
174
|
const bus = yield* Service83;
|
|
175
|
-
const credentials = yield*
|
|
175
|
+
const credentials = yield* Service72;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
178
178
|
let available;
|
|
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
194
194
|
yield* ctx.integration.transform((editor) => {
|
|
195
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
196
196
|
});
|
|
197
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
198
198
|
const value = entry.value;
|
|
199
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
200
200
|
return Effect.void;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID16.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID7.make(model.slug))).map((model) => deriveModel(model, Info15.default(ID12.openai, ID7.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-9t7a50xb.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-9e5bzkjp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|