@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,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-csp167nn.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mntfxcz2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service42
|
|
9
|
+
} from "./location-sxzvkvgj.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-sz763eb6.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service65
|
|
29
|
+
} from "./location-zm51y9zq.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service40
|
|
34
|
+
} from "./location-z1dsjv8w.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service38
|
|
37
|
+
} from "./location-9h6052ys.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-27z7pma6.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./location-n1m68ejj.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-f6qf1r64.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-xxewh186.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./location-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service65;
|
|
69
|
+
const instances = yield* Service42;
|
|
70
|
+
const execution = yield* Service38;
|
|
71
|
+
const admission = yield* Service40;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError8({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service42, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service42, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service42, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make12, exports_session2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./location-2r60reda.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./location-3pbjq009.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-30pndsv9.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service49
|
|
16
|
+
} from "./location-5pc7ckbf.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin23
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin23 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service49;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin5 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID11.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID11.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin23, exports_agent };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make3(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make3 };
|