infer repo_pub_url for artifacts

Also, print prompts on a separate line to allow
more room for the response.