fix: include 'type' when set --auto-remote
Also try to use expression and source_lang_code to find source file