@opencode/core 0.0.0-dev-20085 → 0.0.0-dev-20088
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +3 -3
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-ncbbtkwf.js → wellknown-02ay6hqg.js} +5 -5
- package/dist/chunks/{location-ya2d1jd1.js → wellknown-07qks21j.js} +10 -10
- package/dist/chunks/{location-cppnyjvh.js → wellknown-0cmnazqm.js} +4 -4
- package/dist/chunks/{location-t7w8r238.js → wellknown-0kbvaqxg.js} +10 -10
- package/dist/chunks/{location-fbst5knr.js → wellknown-0n3stnym.js} +9 -9
- package/dist/chunks/{location-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-g8fhvq2m.js → wellknown-0sw8n72f.js} +19 -19
- package/dist/chunks/{location-xp52apj9.js → wellknown-0ztq6350.js} +6 -6
- package/dist/chunks/{location-jz0a01nb.js → wellknown-16qm5t5a.js} +7 -7
- package/dist/chunks/{location-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-patgj9rf.js → wellknown-1nzh38e4.js} +9 -9
- package/dist/chunks/{location-z38r829x.js → wellknown-1w01qkgz.js} +10 -10
- package/dist/chunks/{location-ekx4vqp6.js → wellknown-1yxn9t92.js} +6 -6
- package/dist/chunks/{location-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{location-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-2hr5nhwa.js → wellknown-2hr5nhwa.js} +1 -1
- package/dist/chunks/{location-3jycfehx.js → wellknown-2kkyas57.js} +18 -18
- package/dist/chunks/{location-v8d91504.js → wellknown-2r7n83y8.js} +13 -13
- package/dist/chunks/{location-mtq6xxnx.js → wellknown-34rkz0x9.js} +4 -4
- package/dist/chunks/{location-acwcyef3.js → wellknown-35gpf1q0.js} +9 -9
- package/dist/chunks/{location-5wdb16a6.js → wellknown-391dmqr2.js} +15 -15
- package/dist/chunks/{location-7e14ztgh.js → wellknown-3bx4j3sb.js} +26 -26
- package/dist/chunks/{location-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-pf25tzn7.js → wellknown-417f0ndq.js} +13 -13
- package/dist/chunks/{location-15t8dppg.js → wellknown-4j14e5ea.js} +8 -8
- package/dist/chunks/{location-qwjmgwmn.js → wellknown-4w5f3qm5.js} +8 -8
- package/dist/chunks/{location-56gdpj1q.js → wellknown-56gdpj1q.js} +2 -2
- package/dist/chunks/{location-6wxnkzs8.js → wellknown-5774vrx5.js} +16 -16
- package/dist/chunks/{location-c4yydncf.js → wellknown-5a6s7q48.js} +4 -4
- package/dist/chunks/{location-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{location-5ekn9679.js → wellknown-5ekn9679.js} +1 -1
- package/dist/chunks/{location-z1hg6mkq.js → wellknown-5pk6mrn1.js} +27 -27
- package/dist/chunks/{location-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-jhczez2b.js → wellknown-627mbqxc.js} +12 -12
- package/dist/chunks/{location-669tq793.js → wellknown-669tq793.js} +1 -1
- package/dist/chunks/{location-n5ege220.js → wellknown-678e88h8.js} +4 -4
- package/dist/chunks/{location-3tbrhkpf.js → wellknown-6d6wpktw.js} +7 -7
- package/dist/chunks/{location-agbx9p6n.js → wellknown-6er8x6d0.js} +3 -3
- package/dist/chunks/{location-a7s3m6jr.js → wellknown-6fkvgzc7.js} +19 -19
- package/dist/chunks/{location-2402vzrj.js → wellknown-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-xtjem3bf.js → wellknown-6q0e5evp.js} +5 -5
- package/dist/chunks/{location-r42cf70c.js → wellknown-6txqsvff.js} +29 -29
- package/dist/chunks/{location-8nv3jfj1.js → wellknown-6ysrkrkr.js} +8 -8
- package/dist/chunks/{location-v9e0t7pe.js → wellknown-71abkhq3.js} +11 -11
- package/dist/chunks/{location-p01c8egr.js → wellknown-754kaqqn.js} +16 -16
- package/dist/chunks/{location-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-fxpcrhf7.js → wellknown-7d7d17vd.js} +4 -4
- package/dist/chunks/{location-7fkffz83.js → wellknown-7fkffz83.js} +2 -2
- package/dist/chunks/{location-5e5hg0r6.js → wellknown-7q1ypnqr.js} +23 -23
- package/dist/chunks/{location-m92eggrv.js → wellknown-7x92602t.js} +21 -21
- package/dist/chunks/{location-k5f5svak.js → wellknown-81c3ttat.js} +41 -41
- package/dist/chunks/{location-81swgkk7.js → wellknown-81swgkk7.js} +2 -2
- package/dist/chunks/{location-dvyep1m7.js → wellknown-85h5126a.js} +3 -3
- package/dist/chunks/{location-yy0073zb.js → wellknown-86enc17z.js} +18 -18
- package/dist/chunks/{location-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-b11dy6b6.js → wellknown-8djatqda.js} +12 -12
- package/dist/chunks/{location-kqyggb01.js → wellknown-8hjzc8er.js} +24 -24
- package/dist/chunks/{location-nyyym469.js → wellknown-8jbk1876.js} +14 -14
- package/dist/chunks/{location-4bm5ja14.js → wellknown-8tsdq50x.js} +4 -4
- package/dist/chunks/{location-s41xhwbz.js → wellknown-8ya03gbb.js} +26 -26
- package/dist/chunks/{location-94ek1h2f.js → wellknown-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-zkqfv669.js → wellknown-99yqgcre.js} +7 -7
- package/dist/chunks/{location-jzpaswe0.js → wellknown-9psb6rs6.js} +17 -17
- package/dist/chunks/{location-65k8mysp.js → wellknown-9s848a1g.js} +9 -9
- package/dist/chunks/{location-knwdp628.js → wellknown-a13sefkk.js} +32 -32
- package/dist/chunks/{location-j87tpa1r.js → wellknown-a1gyj93n.js} +9 -9
- package/dist/chunks/{location-nw2nz702.js → wellknown-a2rpfkac.js} +13 -9
- package/dist/chunks/{location-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{location-q9sjfa10.js → wellknown-aapew5zc.js} +18 -18
- package/dist/chunks/{location-5ej7x3ry.js → wellknown-adwdgm2s.js} +9 -9
- package/dist/chunks/{location-y5df08dr.js → wellknown-afed7ext.js} +12 -12
- package/dist/chunks/{location-56dkfrzf.js → wellknown-ag580yac.js} +4 -4
- package/dist/chunks/wellknown-agqhfaby.js +252 -0
- package/dist/chunks/{location-qk71rcx1.js → wellknown-ajwjy3vs.js} +10 -10
- package/dist/chunks/{location-6mmgh4xg.js → wellknown-am860khz.js} +5 -5
- package/dist/chunks/{location-xf3q38nz.js → wellknown-awrhstbg.js} +4 -4
- package/dist/chunks/{location-zd30eb5w.js → wellknown-axs6pdy0.js} +5 -5
- package/dist/chunks/{location-kp8q1t60.js → wellknown-b0dgvpy7.js} +9 -9
- package/dist/chunks/{location-fsfa9jkm.js → wellknown-b2emagap.js} +9 -9
- package/dist/chunks/{location-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-jfte3fvh.js → wellknown-bh9zpxkf.js} +298 -298
- package/dist/chunks/{location-6yvxz189.js → wellknown-bn0s77k4.js} +9 -9
- package/dist/chunks/{location-6a3k1kcn.js → wellknown-bphmbv2n.js} +5 -5
- package/dist/chunks/{location-5tpf5zh9.js → wellknown-bqtyhf1w.js} +10 -10
- package/dist/chunks/{location-j68tbxz2.js → wellknown-c0k7dzdy.js} +62 -62
- package/dist/chunks/{location-dj9sq318.js → wellknown-c78bbtc9.js} +5 -5
- package/dist/chunks/{location-w4z3ay81.js → wellknown-c935hdwy.js} +24 -24
- package/dist/chunks/{location-3q97q53x.js → wellknown-c9d081nh.js} +10 -10
- package/dist/chunks/{location-jw80jp6b.js → wellknown-cavr175a.js} +4 -4
- package/dist/chunks/{location-knmp4th1.js → wellknown-cdx1pajz.js} +35 -35
- package/dist/chunks/{location-ckecvw8r.js → wellknown-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-4dgbcxzg.js → wellknown-cpj0znwe.js} +4 -4
- package/dist/chunks/{location-p2wnajn4.js → wellknown-csvdae6h.js} +12 -12
- package/dist/chunks/{location-cwa6csj7.js → wellknown-cwa6csj7.js} +2 -2
- package/dist/chunks/{location-m7p8stnt.js → wellknown-d5nw2z1z.js} +14 -14
- package/dist/chunks/{location-gn490qph.js → wellknown-d7xn25tt.js} +18 -18
- package/dist/chunks/{location-pe51w29c.js → wellknown-dek7wc1c.js} +10 -10
- package/dist/chunks/{location-x3b624sb.js → wellknown-dppzafmr.js} +25 -25
- package/dist/chunks/{location-d5abmdrp.js → wellknown-dqde9yfd.js} +7 -7
- package/dist/chunks/{location-8d139r9t.js → wellknown-dqg5586z.js} +20 -20
- package/dist/chunks/{location-510j4sx9.js → wellknown-dsxxwtp7.js} +15 -15
- package/dist/chunks/{location-m4xgzfwx.js → wellknown-dtscaaz7.js} +3 -3
- package/dist/chunks/{location-et0rkxxj.js → wellknown-dwq6ryhm.js} +8 -8
- package/dist/chunks/{location-kh1y2j6w.js → wellknown-dy5jbeh5.js} +5 -5
- package/dist/chunks/{location-0be1sdj9.js → wellknown-e1gwt1x8.js} +13 -13
- package/dist/chunks/{location-s8d7rejh.js → wellknown-eaj1djv9.js} +6 -6
- package/dist/chunks/{location-sr7rg3r5.js → wellknown-ec6my3m6.js} +11 -11
- package/dist/chunks/{location-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-m4ekmekt.js → wellknown-eg1dr1mk.js} +22 -22
- package/dist/chunks/{location-hnqy8at0.js → wellknown-ekbzd23w.js} +21 -21
- package/dist/chunks/{location-4eq8w0dz.js → wellknown-em3h5ktn.js} +4 -4
- package/dist/chunks/{location-hqqgzrh2.js → wellknown-em5kycxp.js} +28 -28
- package/dist/chunks/{location-erw5rpbs.js → wellknown-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-1442abdc.js → wellknown-ex8f569q.js} +24 -24
- package/dist/chunks/{location-y6an656x.js → wellknown-ezzbe5rx.js} +30 -30
- package/dist/chunks/{location-ymyrvvg4.js → wellknown-f20kv4h9.js} +10 -10
- package/dist/chunks/{location-f2n192rq.js → wellknown-f2n192rq.js} +1 -1
- package/dist/chunks/{location-zn9tdbcz.js → wellknown-f3ydt0tv.js} +38 -38
- package/dist/chunks/{location-9dpjnxjc.js → wellknown-f4xvve52.js} +22 -22
- package/dist/chunks/{location-0gzrs4vr.js → wellknown-f931w4ch.js} +15 -15
- package/dist/chunks/{location-dt3dk03m.js → wellknown-fgdmd333.js} +17 -17
- package/dist/chunks/{location-pnpk2aj1.js → wellknown-fjt4ex07.js} +14 -14
- package/dist/chunks/{location-veq8ynv9.js → wellknown-fxd4qk6y.js} +5 -5
- package/dist/chunks/{location-kfkc9c0x.js → wellknown-g57wvbe7.js} +9 -9
- package/dist/chunks/{location-vhvgae7m.js → wellknown-g8jasmdt.js} +8 -8
- package/dist/chunks/{location-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-t3fjjczq.js → wellknown-gmyzj2jd.js} +76 -76
- package/dist/chunks/{location-8adg00cn.js → wellknown-gp1cjb3w.js} +15 -15
- package/dist/chunks/{location-gv6a8nnw.js → wellknown-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-nhacqrek.js → wellknown-h3tjb8kw.js} +6 -6
- package/dist/chunks/{location-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-bt20w6w8.js → wellknown-h8f4eya8.js} +19 -19
- package/dist/chunks/{location-e6v038b2.js → wellknown-h9h0mx4r.js} +16 -16
- package/dist/chunks/{location-wt2q29jj.js → wellknown-hk66nqvm.js} +8 -8
- package/dist/chunks/{location-b09hzw3k.js → wellknown-hkagk5ex.js} +2 -2
- package/dist/chunks/{location-p73bmswt.js → wellknown-hktrdnnd.js} +82 -82
- package/dist/chunks/{location-3bsjcbdv.js → wellknown-hkvqk6yv.js} +12 -12
- package/dist/chunks/{location-b97tvfr3.js → wellknown-hkxzh5mk.js} +34 -34
- package/dist/chunks/{location-jvm2qc0w.js → wellknown-hm7fj9g2.js} +40 -40
- package/dist/chunks/{location-tyekajp6.js → wellknown-hmzmjmkz.js} +35 -35
- package/dist/chunks/{location-20td3mps.js → wellknown-hrepkr0b.js} +10 -10
- package/dist/chunks/{location-knw98kde.js → wellknown-hsm12kgw.js} +12 -12
- package/dist/chunks/wellknown-ht5y0zrb.js +18 -0
- package/dist/chunks/{location-rykbncrs.js → wellknown-hzmnsnsk.js} +20 -20
- package/dist/chunks/{location-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{location-ztyqrv9d.js → wellknown-je7wb95j.js} +4 -4
- package/dist/chunks/{location-e5xpd6yj.js → wellknown-jemfgm91.js} +6 -6
- package/dist/chunks/{location-3ppptnan.js → wellknown-jhf3jymm.js} +6 -6
- package/dist/chunks/{location-t6s2bers.js → wellknown-jmfhbzhy.js} +36 -36
- package/dist/chunks/{location-w4605gqt.js → wellknown-jpazqe9z.js} +24 -24
- package/dist/chunks/{location-80fr4qvs.js → wellknown-jwhvtnff.js} +1 -1
- package/dist/chunks/{location-823tjzjk.js → wellknown-jwkjpyjz.js} +26 -26
- package/dist/chunks/{location-qekrwnkg.js → wellknown-jxdqd6y8.js} +11 -11
- package/dist/chunks/{location-hvga15ca.js → wellknown-jyr2yk35.js} +23 -23
- package/dist/chunks/{location-dq5m8eys.js → wellknown-k13t3p08.js} +8 -8
- package/dist/chunks/{location-g4k2agg3.js → wellknown-k21vf7jx.js} +24 -24
- package/dist/chunks/{location-fet78f29.js → wellknown-k6nqjfhj.js} +11 -11
- package/dist/chunks/{location-1ezynbde.js → wellknown-kjg57q5q.js} +30 -30
- package/dist/chunks/{location-bn158v02.js → wellknown-kk5y5e31.js} +8 -8
- package/dist/chunks/{location-69ksqbae.js → wellknown-kp7kck1f.js} +30 -30
- package/dist/chunks/{location-4pcxhhnw.js → wellknown-kpcbfkys.js} +8 -8
- package/dist/chunks/{location-bk9jcfvp.js → wellknown-kpd5tq3d.js} +20 -20
- package/dist/chunks/{location-mr00fy69.js → wellknown-kpscmddh.js} +42 -42
- package/dist/chunks/{location-39jngy68.js → wellknown-ks5rdx6p.js} +21 -21
- package/dist/chunks/{location-exwd0g1v.js → wellknown-kwzmgxvf.js} +4 -4
- package/dist/chunks/{location-psfkb9dc.js → wellknown-ky3r4m1q.js} +21 -21
- package/dist/chunks/{location-sjghecny.js → wellknown-kysfx830.js} +20 -20
- package/dist/chunks/{location-4vt3p759.js → wellknown-m1met2j0.js} +5 -5
- package/dist/chunks/{location-3pe7sts8.js → wellknown-m2d0j7c0.js} +9 -9
- package/dist/chunks/{location-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-07vz9eek.js → wellknown-m4arwand.js} +21 -21
- package/dist/chunks/{location-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-j028xdjb.js → wellknown-mvfsc1pv.js} +3 -3
- package/dist/chunks/{location-e98q8pr4.js → wellknown-mwjcgr28.js} +15 -15
- package/dist/chunks/{location-fhqkm81b.js → wellknown-mykefr3t.js} +8 -8
- package/dist/chunks/{location-jax2wzap.js → wellknown-n5g8qfkh.js} +32 -32
- package/dist/chunks/{location-y6f0p4jw.js → wellknown-ndmv45hp.js} +3 -3
- package/dist/chunks/{location-j5208yae.js → wellknown-ndqtf2h8.js} +5 -5
- package/dist/chunks/{location-7qzds7mm.js → wellknown-nf2bhtke.js} +2 -2
- package/dist/chunks/{location-n34v5czf.js → wellknown-ngkes2xe.js} +17 -17
- package/dist/chunks/{location-1fbwpdat.js → wellknown-nvkqntqe.js} +4 -4
- package/dist/chunks/{location-vmfra14x.js → wellknown-nygkak42.js} +15 -15
- package/dist/chunks/{location-nzks3jc8.js → wellknown-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-czfptnv9.js → wellknown-p42hj8p8.js} +8 -8
- package/dist/chunks/{location-prtkmv61.js → wellknown-pd22eygj.js} +8 -8
- package/dist/chunks/{location-hkfg6fzm.js → wellknown-pecb0brz.js} +5 -5
- package/dist/chunks/{location-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{location-hsk8na3b.js → wellknown-pwnwhfpz.js} +13 -13
- package/dist/chunks/{location-entyswmt.js → wellknown-q272xss5.js} +175 -175
- package/dist/chunks/{location-wq6ect1f.js → wellknown-q5s1j7v7.js} +5 -5
- package/dist/chunks/{location-yt9ppsef.js → wellknown-q6acr7kh.js} +13 -13
- package/dist/chunks/{location-n4watymm.js → wellknown-qfynbmn6.js} +9 -9
- package/dist/chunks/{location-2k8khapm.js → wellknown-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-z6m55pwm.js → wellknown-qj9gqmga.js} +18 -18
- package/dist/chunks/{location-sfntmzm9.js → wellknown-qjxevsft.js} +1 -1
- package/dist/chunks/{location-0xx80p0r.js → wellknown-qn6refn7.js} +13 -13
- package/dist/chunks/{location-qqeeq2t9.js → wellknown-qqeeq2t9.js} +1 -1
- package/dist/chunks/{location-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{location-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-za0666pm.js → wellknown-rjyppv6f.js} +3 -3
- package/dist/chunks/{location-ed9cmwbs.js → wellknown-rkqmn6vx.js} +20 -20
- package/dist/chunks/{location-0cggee6v.js → wellknown-rnkz2ts9.js} +25 -25
- package/dist/chunks/{location-p0b4ytnr.js → wellknown-rph3zd4r.js} +6 -6
- package/dist/chunks/{location-yfgdvjxw.js → wellknown-s333fh32.js} +32 -32
- package/dist/chunks/{location-106msdn7.js → wellknown-s67bm65s.js} +37 -37
- package/dist/chunks/{location-8n0e00gn.js → wellknown-sh0rhkk8.js} +3 -3
- package/dist/chunks/{location-j7bc97tj.js → wellknown-shnd1k2w.js} +5 -5
- package/dist/chunks/{location-7ksxvdee.js → wellknown-sng0mpqx.js} +23 -23
- package/dist/chunks/{location-34wh1aps.js → wellknown-sp9dn3zb.js} +11 -11
- package/dist/chunks/{location-h50xqkc8.js → wellknown-stqdgpbp.js} +20 -20
- package/dist/chunks/{location-9b00c1fb.js → wellknown-sykc9y4a.js} +5 -5
- package/dist/chunks/{location-663rft7j.js → wellknown-t73e6et9.js} +11 -11
- package/dist/chunks/{location-ct98n74x.js → wellknown-t9q6q9b2.js} +44 -44
- package/dist/chunks/{location-tr6856ra.js → wellknown-t9sbjs2e.js} +30 -30
- package/dist/chunks/{location-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-1ej0zjcx.js → wellknown-tcae2ee6.js} +23 -23
- package/dist/chunks/{location-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{location-exq908em.js → wellknown-tf8gy6s3.js} +15 -15
- package/dist/chunks/{location-ek0wagzw.js → wellknown-tk8n40ec.js} +57 -57
- package/dist/chunks/{location-ajv0zg1h.js → wellknown-tm13csnt.js} +48 -48
- package/dist/chunks/{location-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
- package/dist/chunks/{location-gst7axd9.js → wellknown-tz4n1mmd.js} +4 -4
- package/dist/chunks/{location-6s1xemfg.js → wellknown-tzbpqgcm.js} +11 -11
- package/dist/chunks/{location-yz9t4t24.js → wellknown-v2ceagrf.js} +13 -13
- package/dist/chunks/{location-gymhtc5c.js → wellknown-v2vtvyk0.js} +9 -9
- package/dist/chunks/{location-qfc6rmg7.js → wellknown-v4agpjxc.js} +30 -30
- package/dist/chunks/{location-0v53mg2y.js → wellknown-ve4pfa0n.js} +4 -4
- package/dist/chunks/{location-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{location-ex35gdgj.js → wellknown-vp2dr8ef.js} +9 -9
- package/dist/chunks/{location-ccgajyj8.js → wellknown-vrzwcp5a.js} +3 -3
- package/dist/chunks/{location-vtxr0yy2.js → wellknown-vtxr0yy2.js} +2 -2
- package/dist/chunks/{location-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-wd3x2cqz.js → wellknown-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{location-e3x56sfv.js → wellknown-wdwph0vc.js} +6 -6
- package/dist/chunks/{location-425trzk5.js → wellknown-wezhver3.js} +23 -23
- package/dist/chunks/{location-5xpznt2d.js → wellknown-wq4mmp7m.js} +4 -4
- package/dist/chunks/{location-2415p9az.js → wellknown-wtp3j6ww.js} +4 -4
- package/dist/chunks/{location-ah5h6pvz.js → wellknown-wvncmcwq.js} +26 -26
- package/dist/chunks/{location-t4fafjp8.js → wellknown-wwksdzh2.js} +6 -6
- package/dist/chunks/{location-299n82gd.js → wellknown-wxe1qfek.js} +8 -8
- package/dist/chunks/{location-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-hsw8f0yd.js → wellknown-xmrqcsy3.js} +23 -23
- package/dist/chunks/{location-6j0vxgq2.js → wellknown-xqn9gnks.js} +1 -1
- package/dist/chunks/{location-e4nckkcb.js → wellknown-xtv80xxm.js} +5 -5
- package/dist/chunks/{location-d47kqq9a.js → wellknown-xvhqwa82.js} +31 -31
- package/dist/chunks/{location-j91rrrky.js → wellknown-xw879xmy.js} +20 -20
- package/dist/chunks/{location-10tgmh5f.js → wellknown-xx9hpt89.js} +24 -24
- package/dist/chunks/{location-8v644s20.js → wellknown-xz3z2ytp.js} +33 -33
- package/dist/chunks/{location-mfwxmvth.js → wellknown-y0ff3w8f.js} +6 -6
- package/dist/chunks/{location-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-r8s9jegn.js → wellknown-y285t7cb.js} +31 -31
- package/dist/chunks/{location-g5v68nd6.js → wellknown-y4m0v0jh.js} +7 -7
- package/dist/chunks/{location-y71avatq.js → wellknown-y71avatq.js} +1 -1
- package/dist/chunks/{location-q8wm0n5k.js → wellknown-y82z2pvx.js} +29 -29
- package/dist/chunks/{location-yxdrajt4.js → wellknown-yazmrbe0.js} +7 -7
- package/dist/chunks/{location-7gdmqp75.js → wellknown-ycxznwxp.js} +15 -15
- package/dist/chunks/{location-ank4y774.js → wellknown-yfe0myzd.js} +9 -9
- package/dist/chunks/{location-0r7yqxbf.js → wellknown-yjptyezs.js} +5 -5
- package/dist/chunks/{location-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-yrznvahk.js → wellknown-yrznvahk.js} +2 -2
- package/dist/chunks/{location-z07pqspn.js → wellknown-z07pqspn.js} +3 -3
- package/dist/chunks/{location-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-z63w68vq.js → wellknown-z63w68vq.js} +2 -2
- package/dist/chunks/{location-5cpn9dpm.js → wellknown-zb6er0nt.js} +53 -53
- package/dist/chunks/{location-nnfr3pzh.js → wellknown-zbzar1k2.js} +13 -13
- package/dist/chunks/{location-5ncth405.js → wellknown-zdmbvcj1.js} +11 -11
- package/dist/chunks/{location-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-nneme6j2.js → wellknown-zej982vg.js} +7 -7
- package/dist/chunks/{location-5tv5qkzz.js → wellknown-zk4ds5mz.js} +3 -3
- package/dist/chunks/{location-82rbf7r8.js → wellknown-znwq617a.js} +6 -6
- package/dist/chunks/{location-gd27z9a0.js → wellknown-zpzh683m.js} +11 -11
- package/dist/chunks/{location-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-n5t9rnsg.js → wellknown-zvrfp1rb.js} +12 -12
- package/dist/chunks/{location-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +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 +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- 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 +100 -100
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +8 -0
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +117 -117
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +217 -217
- 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 +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/plugin/{mcp-codemode-exclusion.d.ts → mcp-codemode-defaults.d.ts} +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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-8mqjhp6w.js +0 -252
- package/dist/chunks/location-gyce5qg1.js +0 -18
- package/dist/plugin/mcp-codemode-exclusion.js +0 -8
- /package/dist/chunks/{location-0mesazry.js → wellknown-0mesazry.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → wellknown-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → wellknown-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → wellknown-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-cpj0znwe.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-0cmnazqm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./wellknown-t9sbjs2e.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-6txqsvff.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service62
|
|
20
|
+
} from "./wellknown-n5g8qfkh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./wellknown-s333fh32.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./wellknown-ec6my3m6.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-wtp3j6ww.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID8.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service62;
|
|
161
161
|
const bus = yield* Service83;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID7.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID7.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID7.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID7.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-wd3x2cqz.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service51
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-csvdae6h.js";
|
|
4
4
|
import {
|
|
5
5
|
Service50
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-y82z2pvx.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-nvkqntqe.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin23
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin23 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
27
|
const config = yield* Service50;
|
|
@@ -73,4 +73,4 @@ var Plugin15 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin23, exports_compatibility };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./wellknown-hrepkr0b.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-ndmv45hp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service47,
|
|
23
|
+
make: () => make18,
|
|
24
|
+
node: () => node49
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service47 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make18 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service81;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make17 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service47.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make17 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service47, make18);
|
|
362
|
+
var node49 = makeGlobalNode({ service: Service47, layer, deps: [node85] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service47, make18, node49, exports_job };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-wtp3j6ww.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin36,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin36 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin38 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint3, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin38 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint3, Plugin36, exports_parallel };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./wellknown-afed7ext.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service77,
|
|
13
|
+
node81
|
|
14
|
+
} from "./wellknown-8jbk1876.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID16,
|
|
27
|
+
Service: () => Service76,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node80,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID16 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service76 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service77;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID16.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service76.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node80 = makeLocationNode({
|
|
144
|
+
service: Service76,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node81]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service76, Service76.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service58, Service58.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error5({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID16, Error5, Service76, node80, noopLayer3, exports_snapshot2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-wtp3j6ww.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin39,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin39 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin37 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin37 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint6, Plugin39, exports_tinyfish };
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
|
-
// src/plugin/mcp-codemode-
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
|
|
9
|
-
Plugin: () =>
|
|
5
|
+
// src/plugin/mcp-codemode-defaults.ts
|
|
6
|
+
var exports_mcp_codemode_defaults = {};
|
|
7
|
+
__export(exports_mcp_codemode_defaults, {
|
|
8
|
+
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
+
Plugin: () => Plugin46
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
15
|
-
|
|
14
|
+
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
|
+
var mode = "x-posthog-mcp-mode";
|
|
16
|
+
var Plugin46 = define({
|
|
17
|
+
id: "opencode.mcp.codemode.defaults",
|
|
16
18
|
effect: Effect.fn(function* (ctx) {
|
|
17
19
|
yield* ctx.mcp.transform((editor) => {
|
|
18
20
|
for (const [, server] of editor.list()) {
|
|
@@ -29,9 +31,11 @@ var Plugin43 = define({
|
|
|
29
31
|
const endpoint = `${url.origin}${url.pathname.replace(/\/+$/, "")}`;
|
|
30
32
|
if (urls.some((pattern) => pattern.test(endpoint)))
|
|
31
33
|
server.codemode = false;
|
|
34
|
+
if (posthog.test(url.hostname) && !url.searchParams.has("mode") && !Object.keys(server.headers ?? {}).some((key) => key.toLowerCase() === mode))
|
|
35
|
+
server.headers = { ...server.headers, [mode]: "tools" };
|
|
32
36
|
}
|
|
33
37
|
});
|
|
34
38
|
})
|
|
35
39
|
});
|
|
36
40
|
|
|
37
|
-
export {
|
|
41
|
+
export { Plugin46, exports_mcp_codemode_defaults };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-xmrqcsy3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service77,
|
|
9
|
+
node81
|
|
10
|
+
} from "./wellknown-8jbk1876.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service68,
|
|
13
|
+
node72
|
|
14
|
+
} from "./wellknown-tk8n40ec.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service67,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node71,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service67 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service77;
|
|
61
|
+
const permission = yield* Service68;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service67.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node71 = makeLocationNode({ service: Service67, layer, deps: [FSUtil.node, node81, node72] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service67, resolvePath2, node71, exports_file_access };
|