Cool idea, but this desperately needs a better way to deal with history. I mistyped
apis.tts("hello world");
as api.tts("hello world");
and then I hit the up arrow (as this is how to go back to the last command on any other console I have every tried) and nothing happened. In fact, the only way to correct my mistake, seemed to be to retype the whole thing. I couldn't have come up with a better example of "dangling by a trivial feature" (http://prog21.dadgum.com/160.html).