promisifying prompt and rewriting sequence as an external lib
boosting dep versions