* refactor: package uri wrong, and trivial optimization * refactor: convert to enum * Spotless Apply --------- Co-authored-by: leechor <leechor@users.noreply.github.com>