Clean up temp files (accepts nil for either path)
Create temp settings file with SessionStart hook Returns {settings_path, session_id_path}
Pretty-printed example of the settings JSON structure
Read the latest session ID from the tracking file