@opencode/core 0.0.0-dev-20292 → 0.0.0-dev-20295
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 +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{ripgrep-2dfsp93b.js → location-016zrmbp.js} +40 -40
- package/dist/chunks/{ripgrep-w29ra1z6.js → location-03b5ykzw.js} +3 -3
- package/dist/chunks/{ripgrep-rpg9c19m.js → location-06x8he3q.js} +4 -4
- package/dist/chunks/{ripgrep-n542nw20.js → location-09mh3h53.js} +15 -15
- package/dist/chunks/{ripgrep-rgwtw4pk.js → location-0g11kb4v.js} +13 -13
- package/dist/chunks/{ripgrep-0czp0bk4.js → location-0jvg19fh.js} +21 -21
- package/dist/chunks/{ripgrep-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-j4g07zwy.js → location-13xegjf9.js} +33 -33
- package/dist/chunks/{ripgrep-4hkxpksb.js → location-15zraegk.js} +30 -30
- package/dist/chunks/{ripgrep-5vtq9k1b.js → location-16a16tg4.js} +13 -13
- package/dist/chunks/{ripgrep-f5gy8qwh.js → location-18rp1xkf.js} +8 -8
- package/dist/chunks/{ripgrep-2f7cedef.js → location-1akzjdkx.js} +20 -20
- package/dist/chunks/{ripgrep-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-6g6nvm69.js → location-1gmrbm9q.js} +20 -20
- package/dist/chunks/{ripgrep-4djqy3b1.js → location-1jysqf0q.js} +26 -26
- package/dist/chunks/{ripgrep-2dch9cv2.js → location-1qetcq2f.js} +4 -4
- package/dist/chunks/location-1s2cnys0.js +252 -0
- package/dist/chunks/{ripgrep-937m9zg6.js → location-1zr7j3r4.js} +5 -5
- package/dist/chunks/{ripgrep-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-464yenze.js → location-25h6wh0b.js} +33 -33
- package/dist/chunks/{ripgrep-hw1tkaa7.js → location-27z7pma6.js} +16 -16
- package/dist/chunks/{ripgrep-8d0p2m37.js → location-299n82gd.js} +8 -8
- package/dist/chunks/{ripgrep-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-qgn6gcr1.js → location-2k8khapm.js} +5 -5
- package/dist/chunks/{ripgrep-669mnavw.js → location-2r60reda.js} +21 -21
- package/dist/chunks/{ripgrep-bdqrk2vk.js → location-2y34zzjz.js} +4 -4
- package/dist/chunks/{ripgrep-52dfra55.js → location-2zxaccxt.js} +10 -10
- package/dist/chunks/{ripgrep-xq1s1hxa.js → location-30pndsv9.js} +4 -4
- package/dist/chunks/{ripgrep-73a2vzjg.js → location-3ez35teb.js} +15 -15
- package/dist/chunks/{ripgrep-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-a8zr1srk.js → location-3pbjq009.js} +8 -8
- package/dist/chunks/{ripgrep-j3s2z371.js → location-3pe7sts8.js} +9 -9
- package/dist/chunks/{ripgrep-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-0bfcnrg1.js → location-427t97hr.js} +1 -1
- package/dist/chunks/{ripgrep-eqd5qykg.js → location-46t99vnr.js} +13 -13
- package/dist/chunks/{ripgrep-aq3yrsfq.js → location-4928d4yw.js} +11 -11
- package/dist/chunks/{ripgrep-4vznd14g.js → location-4c9fncqc.js} +5 -5
- package/dist/chunks/{ripgrep-atg39wsg.js → location-4gma0qdv.js} +11 -11
- package/dist/chunks/{ripgrep-5yjg4844.js → location-4jmq7cn8.js} +11 -11
- package/dist/chunks/{ripgrep-wexprs6b.js → location-4r1h02t6.js} +29 -29
- package/dist/chunks/{ripgrep-rx84aht4.js → location-4sb5xsr0.js} +15 -15
- package/dist/chunks/{ripgrep-p2szdq98.js → location-4v0x0v53.js} +44 -44
- package/dist/chunks/{ripgrep-cznrqaaz.js → location-4vgcem2z.js} +1 -1
- package/dist/chunks/{ripgrep-avzdjs5z.js → location-51n8w2am.js} +6 -6
- package/dist/chunks/{ripgrep-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{ripgrep-mfqp6xfm.js → location-56gdpj1q.js} +6 -6
- package/dist/chunks/{ripgrep-5nf5fkza.js → location-58exf9s3.js} +18 -18
- package/dist/chunks/{ripgrep-97d1gz13.js → location-5aserzf1.js} +11 -11
- package/dist/chunks/{ripgrep-k7sekcqa.js → location-5bpccfdn.js} +19 -19
- package/dist/chunks/{ripgrep-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-s7cej264.js → location-5j3nemfx.js} +24 -24
- package/dist/chunks/{ripgrep-5848hxr9.js → location-5kbmmh0w.js} +11 -11
- package/dist/chunks/{ripgrep-zpmxzwgb.js → location-5ns8y5nv.js} +8 -8
- package/dist/chunks/{ripgrep-x4k31b5q.js → location-5pc7ckbf.js} +39 -39
- package/dist/chunks/{ripgrep-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-xwm6bryg.js → location-5xpznt2d.js} +4 -4
- package/dist/chunks/{ripgrep-dqx57jvk.js → location-613reg7y.js} +7 -7
- package/dist/chunks/{ripgrep-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-ce6ce29e.js → location-6bass0b7.js} +16 -16
- package/dist/chunks/{ripgrep-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-q4e7vy2b.js → location-6nex2bx1.js} +21 -21
- package/dist/chunks/{ripgrep-q826ync2.js → location-6yvxz189.js} +13 -13
- package/dist/chunks/{ripgrep-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-py3kkmfq.js → location-7fkffz83.js} +4 -4
- package/dist/chunks/{ripgrep-a4691zpg.js → location-7ybfkyhv.js} +19 -19
- package/dist/chunks/{ripgrep-b446k4sn.js → location-7ysj2gw8.js} +24 -24
- package/dist/chunks/{ripgrep-57ez7d0k.js → location-81swgkk7.js} +7 -7
- package/dist/chunks/{ripgrep-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{ripgrep-fqhn89qk.js → location-87eb0wvk.js} +32 -32
- package/dist/chunks/{ripgrep-4c2df9zx.js → location-8aaqm6qj.js} +8 -8
- package/dist/chunks/{ripgrep-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-6wgqnbhb.js → location-8j5e0nxw.js} +32 -32
- package/dist/chunks/{ripgrep-40p1p2fq.js → location-8pv27hsx.js} +17 -17
- package/dist/chunks/{ripgrep-asrgbh96.js → location-8t9r9m98.js} +24 -24
- package/dist/chunks/{ripgrep-apcpvt2b.js → location-8x023p49.js} +6 -6
- package/dist/chunks/{ripgrep-vv97ra8n.js → location-8zqs9j7p.js} +11 -11
- package/dist/chunks/{ripgrep-6gsfn1dv.js → location-92r5fjaa.js} +34 -34
- package/dist/chunks/{ripgrep-94ek1h2f.js → location-94ek1h2f.js} +2 -2
- package/dist/chunks/{ripgrep-67r4mtw2.js → location-96xc4j73.js} +9 -9
- package/dist/chunks/{ripgrep-1jqh21ez.js → location-9h6052ys.js} +37 -37
- package/dist/chunks/{ripgrep-qp7sx9de.js → location-9jbrny13.js} +32 -32
- package/dist/chunks/{ripgrep-8v9axdqq.js → location-9sm9gfq3.js} +20 -20
- package/dist/chunks/{ripgrep-y5mjhv0c.js → location-a1b9eenk.js} +4 -4
- package/dist/chunks/{ripgrep-ss37jsxd.js → location-a6zkzxs1.js} +15 -15
- package/dist/chunks/{ripgrep-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/location-aba4y9w7.js +26 -0
- package/dist/chunks/{ripgrep-te91bpk3.js → location-ajpn13bz.js} +24 -24
- package/dist/chunks/{ripgrep-j7y92zpc.js → location-ambwqhm0.js} +61 -61
- package/dist/chunks/{ripgrep-svxtz2p3.js → location-aqxvbtvc.js} +23 -23
- package/dist/chunks/{ripgrep-d5y0ve3n.js → location-at8brtyc.js} +17 -17
- package/dist/chunks/{ripgrep-84zcxbc9.js → location-axs6pdy0.js} +5 -5
- package/dist/chunks/{ripgrep-vmgq4x8b.js → location-b09hzw3k.js} +2 -2
- package/dist/chunks/{ripgrep-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-dbdkqs60.js → location-b7t5wn2m.js} +17 -17
- package/dist/chunks/{ripgrep-atvavzdr.js → location-bj3zhn3q.js} +5 -5
- package/dist/chunks/{ripgrep-qbbmae1w.js → location-bnty75vp.js} +5 -5
- package/dist/chunks/{ripgrep-j6bb8g4d.js → location-bpc3jfqy.js} +11 -11
- package/dist/chunks/{ripgrep-s9mggv36.js → location-bwqnkjsb.js} +17 -17
- package/dist/chunks/{ripgrep-jpcvf65v.js → location-bx8vey6p.js} +21 -21
- package/dist/chunks/{ripgrep-tn0aqsam.js → location-c78bbtc9.js} +5 -5
- package/dist/chunks/{ripgrep-dxczsaw9.js → location-ckbtgcas.js} +12 -12
- package/dist/chunks/{ripgrep-ckecvw8r.js → location-ckecvw8r.js} +2 -2
- package/dist/chunks/{ripgrep-cpy6gm2a.js → location-cpy6gm2a.js} +1 -1
- package/dist/chunks/{ripgrep-fvy6pxa1.js → location-cqhb2t13.js} +23 -23
- package/dist/chunks/{ripgrep-7nm77vb3.js → location-csp167nn.js} +3 -3
- package/dist/chunks/{ripgrep-pymq7jkz.js → location-cw1jgv1w.js} +8 -8
- package/dist/chunks/{ripgrep-5d607bsg.js → location-cwa6csj7.js} +9 -9
- package/dist/chunks/{ripgrep-3hfr6h8q.js → location-czfptnv9.js} +8 -8
- package/dist/chunks/{ripgrep-46tkexde.js → location-d3z5vgb9.js} +77 -77
- package/dist/chunks/{ripgrep-dnpyyfmr.js → location-d725fnbd.js} +30 -30
- package/dist/chunks/{ripgrep-vg7bdtvb.js → location-dnh5am79.js} +9 -9
- package/dist/chunks/{ripgrep-cgkq456e.js → location-dvfstcq5.js} +17 -17
- package/dist/chunks/{ripgrep-r4yqrmdq.js → location-e89xj288.js} +5 -5
- package/dist/chunks/{ripgrep-h5r8400x.js → location-eae26f42.js} +13 -13
- package/dist/chunks/{ripgrep-n5qb4bnc.js → location-eag70mrj.js} +3 -3
- package/dist/chunks/{ripgrep-ecfe7b91.js → location-ecfe7b91.js} +2 -2
- package/dist/chunks/{ripgrep-2wts5qzq.js → location-ednp5hmx.js} +8 -8
- package/dist/chunks/{ripgrep-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-aj930q3s.js → location-ek5t7eqg.js} +3 -3
- package/dist/chunks/{ripgrep-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-tb18kw1r.js → location-f0v8xfz9.js} +33 -33
- package/dist/chunks/{ripgrep-yp2x3t23.js → location-f2n192rq.js} +4 -4
- package/dist/chunks/{ripgrep-a8bn8zg0.js → location-f3ngv102.js} +4 -4
- package/dist/chunks/{ripgrep-hjpq76f0.js → location-f3rj20sn.js} +20 -20
- package/dist/chunks/{ripgrep-9seqqng0.js → location-f5qn67hn.js} +321 -321
- package/dist/chunks/{ripgrep-cpgvmsmz.js → location-f6qf1r64.js} +9 -9
- package/dist/chunks/{ripgrep-n00nrqde.js → location-f99pqswk.js} +36 -36
- package/dist/chunks/{ripgrep-ajskgwrh.js → location-f9qcgrnz.js} +33 -33
- package/dist/chunks/{ripgrep-7dftej1j.js → location-fg6vqa6w.js} +31 -31
- package/dist/chunks/{ripgrep-g5agzp2h.js → location-g5agzp2h.js} +2 -2
- package/dist/chunks/{ripgrep-qa3qhgw8.js → location-g8d3gcyj.js} +7 -7
- package/dist/chunks/{ripgrep-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-dqp0ptjh.js → location-gq9kk5at.js} +6 -6
- package/dist/chunks/{ripgrep-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-4fx0v051.js → location-gydr4vsc.js} +9 -9
- package/dist/chunks/{ripgrep-4ndvwbzn.js → location-gz5dk3bq.js} +3 -3
- package/dist/chunks/{ripgrep-7ab4f44s.js → location-h23ctypg.js} +18 -18
- package/dist/chunks/{ripgrep-3tfp5dh2.js → location-h345add1.js} +8 -8
- package/dist/chunks/{ripgrep-y3c47kq2.js → location-h3qzgcp1.js} +13 -13
- package/dist/chunks/{ripgrep-6ydrntg5.js → location-h3s7v34z.js} +6 -6
- package/dist/chunks/{ripgrep-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-e7ncmn5y.js → location-hhc9atkh.js} +15 -15
- package/dist/chunks/{ripgrep-h6b50tg5.js → location-hmr7k35w.js} +25 -25
- package/dist/chunks/{ripgrep-ez62b8nj.js → location-hn61d6g7.js} +6 -6
- package/dist/chunks/{ripgrep-qnj1ev0v.js → location-hn75rfyg.js} +11 -11
- package/dist/chunks/{ripgrep-e6te0wgx.js → location-hngjveb4.js} +10 -10
- package/dist/chunks/{ripgrep-de52ckkz.js → location-hnr8f6ws.js} +4 -4
- package/dist/chunks/{ripgrep-qndte7za.js → location-hq78f3qw.js} +33 -33
- package/dist/chunks/{ripgrep-fr2byary.js → location-hre7hyen.js} +17 -17
- package/dist/chunks/{ripgrep-1bbkgx8g.js → location-j028xdjb.js} +3 -3
- package/dist/chunks/{ripgrep-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-sh80pnfr.js → location-j5fma2v7.js} +33 -33
- package/dist/chunks/{ripgrep-1j6r9yf3.js → location-j6h5z8n4.js} +30 -30
- package/dist/chunks/{ripgrep-sx1n432n.js → location-j83byb14.js} +4 -4
- package/dist/chunks/{ripgrep-jj72jhew.js → location-j8zvn2fh.js} +8 -8
- package/dist/chunks/{ripgrep-8vp0jrea.js → location-jdhe76k5.js} +3 -3
- package/dist/chunks/{ripgrep-80scg3y3.js → location-jewzahs7.js} +4 -4
- package/dist/chunks/{ripgrep-hnefe9tq.js → location-jf5a25sz.js} +44 -44
- package/dist/chunks/{ripgrep-9979gqg8.js → location-jggnvhtg.js} +56 -56
- package/dist/chunks/{ripgrep-m1gcv8kj.js → location-jmasdga9.js} +51 -51
- package/dist/chunks/{ripgrep-t3fh9vjv.js → location-jtfh4wfs.js} +19 -19
- package/dist/chunks/{ripgrep-ea8e1byc.js → location-k0h4mfgc.js} +46 -46
- package/dist/chunks/{ripgrep-mxfbfm56.js → location-kk3cv3zh.js} +1 -1
- package/dist/chunks/{ripgrep-29jfjc42.js → location-kn0epzjf.js} +7 -7
- package/dist/chunks/{ripgrep-bv8nht0w.js → location-knetett0.js} +48 -48
- package/dist/chunks/{ripgrep-6hjx5zpb.js → location-kp8q1t60.js} +9 -9
- package/dist/chunks/{ripgrep-6dwdgb0a.js → location-kx6ewwgc.js} +5 -5
- package/dist/chunks/{ripgrep-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-9r5kv9cm.js → location-mam35mvc.js} +12 -12
- package/dist/chunks/{ripgrep-14yyfa4b.js → location-math506r.js} +24 -24
- package/dist/chunks/{ripgrep-bn30swxx.js → location-mc8ws243.js} +26 -26
- package/dist/chunks/{ripgrep-5g11er5x.js → location-mn2xmmev.js} +14 -14
- package/dist/chunks/{ripgrep-vkchd65f.js → location-mntfxcz2.js} +4 -4
- package/dist/chunks/{ripgrep-addxnjmp.js → location-mpk0rfs5.js} +4 -4
- package/dist/chunks/{ripgrep-z508a32f.js → location-mq8f5nmh.js} +24 -24
- package/dist/chunks/{ripgrep-qq5y994f.js → location-mw2h8ask.js} +18 -18
- package/dist/chunks/{ripgrep-wnj5dgs2.js → location-n0ppq016.js} +14 -14
- package/dist/chunks/{ripgrep-1ynb6qa0.js → location-n1m68ejj.js} +20 -20
- package/dist/chunks/{ripgrep-tn8eqcjj.js → location-n5rr0bsk.js} +6 -6
- package/dist/chunks/{ripgrep-x3ggs2d6.js → location-n77hk0vh.js} +12 -12
- package/dist/chunks/{ripgrep-e5jn2fa5.js → location-nw7gx7cz.js} +28 -28
- package/dist/chunks/{ripgrep-614e606q.js → location-nwnnebx3.js} +20 -20
- package/dist/chunks/{ripgrep-sypvhjmn.js → location-nxhp6d1h.js} +18 -18
- package/dist/chunks/{ripgrep-k3c624dm.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{ripgrep-3b9qt4hj.js → location-patgj9rf.js} +9 -9
- package/dist/chunks/{ripgrep-snrx9wzx.js → location-pb18q5py.js} +36 -36
- package/dist/chunks/{ripgrep-0f9afca0.js → location-pecb0brz.js} +5 -5
- package/dist/chunks/{ripgrep-9gqwmv79.js → location-pg092y7m.js} +23 -23
- package/dist/chunks/{ripgrep-c5zhzd6d.js → location-pgsw580e.js} +17 -17
- package/dist/chunks/{ripgrep-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-qkn179pw.js → location-pr72k1jg.js} +13 -13
- package/dist/chunks/{ripgrep-jgnf2bvc.js → location-prww9d41.js} +10 -10
- package/dist/chunks/{ripgrep-drtcq7dv.js → location-ps9c259y.js} +17 -17
- package/dist/chunks/{ripgrep-qpwf5ett.js → location-px4zyfbx.js} +10 -10
- package/dist/chunks/{ripgrep-gn14yt0k.js → location-pxya9xw6.js} +26 -26
- package/dist/chunks/{ripgrep-91wvh588.js → location-q7sva9xj.js} +9 -9
- package/dist/chunks/{ripgrep-ymtchxmw.js → location-qahgzyff.js} +36 -36
- package/dist/chunks/{ripgrep-54j2g604.js → location-qgt4e7dm.js} +8 -8
- package/dist/chunks/{ripgrep-gmddfe7k.js → location-qqcp2fey.js} +11 -6
- package/dist/chunks/{ripgrep-xfkkasph.js → location-qqeeq2t9.js} +7 -7
- package/dist/chunks/{ripgrep-dppfvz3f.js → location-qrarvdac.js} +16 -16
- package/dist/chunks/{ripgrep-v88ypzx6.js → location-qrpna819.js} +15 -15
- package/dist/chunks/{ripgrep-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-ng5rtwhy.js → location-qtpgf39r.js} +3 -3
- package/dist/chunks/{ripgrep-a2qe2ev9.js → location-qwjmgwmn.js} +8 -8
- package/dist/chunks/{ripgrep-54n8g67r.js → location-qwwvq786.js} +11 -11
- package/dist/chunks/{ripgrep-f8yxf6yh.js → location-r0dmdece.js} +2 -2
- package/dist/chunks/{ripgrep-cp937pt4.js → location-ra4n65wq.js} +4 -4
- package/dist/chunks/{ripgrep-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-wbd0sh62.js → location-rnr5nq63.js} +20 -20
- package/dist/chunks/{ripgrep-gpp31qn3.js → location-rnx3qgyn.js} +37 -37
- package/dist/chunks/{ripgrep-72mdmaav.js → location-rp7q4m9n.js} +14 -14
- package/dist/chunks/{ripgrep-eaj1djv9.js → location-s8d7rejh.js} +6 -6
- package/dist/chunks/{ripgrep-bjb1q8ez.js → location-sc4ksy03.js} +8 -8
- package/dist/chunks/{ripgrep-h90y3pkt.js → location-sd23ea76.js} +15 -15
- package/dist/chunks/{ripgrep-dnwg479b.js → location-sdvk2ad6.js} +20 -20
- package/dist/chunks/{ripgrep-gc0xbwck.js → location-sqr731h9.js} +10 -10
- package/dist/chunks/{ripgrep-v2p4rfxw.js → location-swabsky0.js} +6 -6
- package/dist/chunks/{ripgrep-yf4jcbx9.js → location-sxzvkvgj.js} +6 -6
- package/dist/chunks/{ripgrep-s30fyz93.js → location-syf57q56.js} +4 -4
- package/dist/chunks/{ripgrep-n3vygs5b.js → location-sz763eb6.js} +6 -6
- package/dist/chunks/{ripgrep-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-pj6tenb7.js → location-tjp0ts8d.js} +177 -177
- package/dist/chunks/{ripgrep-a48m945n.js → location-tjyds3np.js} +15 -15
- package/dist/chunks/{ripgrep-xhfc0ae0.js → location-tvsfvamq.js} +5 -5
- package/dist/chunks/{ripgrep-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-0j45e4a4.js → location-v01qj8m2.js} +22 -22
- package/dist/chunks/{ripgrep-v1faaxn9.js → location-v1faaxn9.js} +1 -1
- package/dist/chunks/{ripgrep-xdfgknmx.js → location-v3679p2r.js} +17 -17
- package/dist/chunks/{ripgrep-ap544ky7.js → location-v4w8s23p.js} +32 -32
- package/dist/chunks/{ripgrep-mwymx5eg.js → location-v537vfcj.js} +44 -44
- package/dist/chunks/{ripgrep-g4ev0w7y.js → location-v8v948yd.js} +10 -10
- package/dist/chunks/{ripgrep-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-ner28t5a.js → location-vfbk05zz.js} +74 -74
- package/dist/chunks/{ripgrep-bm12swdw.js → location-vz2v0y1g.js} +11 -11
- package/dist/chunks/{ripgrep-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-hr01dqex.js → location-w3efebdc.js} +27 -27
- package/dist/chunks/{ripgrep-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-yrdcmk37.js → location-w6fmte8d.js} +30 -30
- package/dist/chunks/{ripgrep-wd3x2cqz.js → location-wd3x2cqz.js} +2 -2
- package/dist/chunks/{ripgrep-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-0spqb8br.js → location-wpn654rn.js} +38 -38
- package/dist/chunks/{ripgrep-yp4zak5f.js → location-wpttx3ek.js} +23 -23
- package/dist/chunks/{ripgrep-2d0eq7f5.js → location-wtyk7tnn.js} +6 -6
- package/dist/chunks/{ripgrep-70m7fb3k.js → location-wxxtmkrx.js} +5 -5
- package/dist/chunks/{ripgrep-xm47dg1f.js → location-wyanbm64.js} +4 -4
- package/dist/chunks/{ripgrep-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-g3p8qp1x.js → location-xd7pxsgz.js} +10 -10
- package/dist/chunks/{ripgrep-3fn1d266.js → location-xdqwyhzn.js} +7 -7
- package/dist/chunks/{ripgrep-xkntkrq7.js → location-xkntkrq7.js} +2 -2
- package/dist/chunks/{ripgrep-7d4qx0wr.js → location-xxdt3syk.js} +11 -11
- package/dist/chunks/{ripgrep-ndhs64pk.js → location-xxewh186.js} +9 -9
- package/dist/chunks/{ripgrep-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-97ffttsr.js → location-y4h12032.js} +22 -22
- package/dist/chunks/{ripgrep-dq0v80fr.js → location-y5df08dr.js} +12 -12
- package/dist/chunks/{ripgrep-5cmxdwv8.js → location-y6f0p4jw.js} +3 -3
- package/dist/chunks/{ripgrep-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{ripgrep-ew2ae9f5.js → location-y9kjyn13.js} +12 -12
- package/dist/chunks/{ripgrep-nndvp20a.js → location-yahe92kn.js} +20 -20
- package/dist/chunks/{ripgrep-9xpmj48t.js → location-yf8kg88s.js} +7 -7
- package/dist/chunks/{ripgrep-jv01nqvq.js → location-yjptyezs.js} +5 -5
- package/dist/chunks/{ripgrep-harp7y6f.js → location-yk6wy72m.js} +21 -21
- package/dist/chunks/{ripgrep-g0qymqv1.js → location-yrccs5dw.js} +29 -29
- package/dist/chunks/{ripgrep-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-a6znh3jt.js → location-yxcw63er.js} +23 -23
- package/dist/chunks/{ripgrep-z07pqspn.js → location-z07pqspn.js} +3 -3
- package/dist/chunks/{ripgrep-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-qr0v61ms.js → location-z1dsjv8w.js} +24 -24
- package/dist/chunks/{ripgrep-vb3rn859.js → location-z5q8ygm0.js} +25 -25
- package/dist/chunks/{ripgrep-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-2wyx13rv.js → location-z7eps1h1.js} +4 -4
- package/dist/chunks/{ripgrep-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-s5v1wr1y.js → location-zm51y9zq.js} +14 -14
- package/dist/chunks/{ripgrep-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-nd3632dr.js → location-zsh9941h.js} +10 -10
- package/dist/chunks/{ripgrep-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +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 +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- 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/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 +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- 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 +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +81 -81
- 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 +87 -87
- 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-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- 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 +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +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 +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 +93 -93
- 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 +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 +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 +162 -162
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- 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 +232 -232
- 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 +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- 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 +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/session/error.d.ts +5 -0
- package/dist/types/session/history.d.ts +48 -0
- package/dist/types/session/transfer.d.ts +30 -0
- 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 +5 -5
- package/dist/v1/config/config.js +14 -14
- 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 +1 -1
- 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 +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/ripgrep-0qk019jc.js +0 -26
- package/dist/chunks/ripgrep-34d822yn.js +0 -252
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./location-y5df08dr.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service61,
|
|
16
|
+
node65
|
|
17
|
+
} from "./location-zsh9941h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service60,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node64,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service60 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service61;
|
|
110
|
+
return Service60.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node64 = makeGlobalNode({
|
|
171
|
+
service: Service60,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node65]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service60, isError2, validateBranch2, node64, exports_repository_cache };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info6,
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-ajpn13bz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service49
|
|
11
|
+
} from "./location-5pc7ckbf.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin41,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin41 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info6.make({
|
|
434
|
+
id: ID4.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info6.make({
|
|
441
|
+
id: ID4.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service49;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin41, exports_skill3 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service70,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node74
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service70 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service70.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node74 = makeLocationNode({ service: Service70, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service70, node74, exports_image2 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service79
|
|
8
|
+
} from "./location-6bass0b7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service51
|
|
11
|
+
} from "./location-5j3nemfx.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./location-3ez35teb.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-16a16tg4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service64
|
|
22
|
+
} from "./location-jggnvhtg.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service57,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-58exf9s3.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin7,
|
|
42
|
+
name: () => name6,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name6 = "patch";
|
|
89
|
+
var Input6 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin7 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service51;
|
|
112
|
+
const access = yield* Service57;
|
|
113
|
+
const fileMutation = yield* Service13;
|
|
114
|
+
const formatter = yield* Service18;
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const permission = yield* Service64;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input6,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin37 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name6, Input6, Applied2, Output5, toModelContent5, Plugin7, exports_patch };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info10,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./location-jggnvhtg.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input10,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin12,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name10 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input10 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input5 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input10.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin12 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service64;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name10,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input10,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin40 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name10,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name10, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input10, Plugin12, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-kn0epzjf.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mntfxcz2.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service76
|
|
11
|
+
} from "./location-j6h5z8n4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./location-d725fnbd.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./location-v4w8s23p.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-8x023p49.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service76;
|
|
57
|
+
const integrations = yield* Service75;
|
|
58
58
|
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service63,
|
|
3
|
+
node67,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-96xc4j73.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service42,
|
|
8
|
+
node44
|
|
9
|
+
} from "./location-sxzvkvgj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./location-13xegjf9.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-1s2cnys0.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(Service63, 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, Service62);
|
|
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
|
+
node44.replace(Layer.succeed(Service42, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node67.replace(Layer.succeed(Service63, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|