Hi, guys!
I have some experience witting scripts for Kakoune and, since I’m the author of the current Janet support for Kakoune, perhaps I can help you.
I think the best solution would be for you to contribute to Kakoune repository with the changes you would like to introduce to the current code. That way, the whole community would benefit from it out-of-the-box. I don’t see much value in keeping an implementation segregated from the one developed by the community.
I would be happy to start a collaborative effort with you to make a unified implementation shipped with Kakoune by default. Provided, of course, you are open to collaborate (you know, vaguely stating the code is broken is not a good way to collaborate; it doesn’t help to make the code any better).
What do you think?