Migrate the codeagent config directory to the OS-standard location
Source:R/utils.R
migrate_config_dir.RdCopies a legacy ~/.codeagent directory into the platform config directory
(rappdirs::user_config_dir("codeagent")). Idempotent and safe to call
repeatedly; normally runs automatically on first use.