I work on Bun (though I did not work on this feature much outside of reviewing the PR), happy to answer any questions
And given the existence of those npm packages, is there any aspect of Bun Shell that required it to be built into the Bun runtime instead of published to npm?