Hey, I mentioned this in the effect discord but I wanted to add an issue, and potentially contribute if you're interested.
I think it's important to verify/test the performance of typescript when using foldkit for apps with thousands of commands.
Have you thought about this further/would you be interested in a PR?