* fix(#983): rewrite bare .claude paths in Trae/Windsurf converters (Codex/Cline parity) Both convertClaudeToWindsurfMarkdown and convertClaudeToTraeMarkdown only handled trailing-slash .claude/ forms; bare ~/.claude and $HOME/.claude references (e.g. configDir = ~/.claude, RUNTIME_CONFIG_DIR=".../$HOME/.claude") survived conversion and pointed users at the wrong config dir. Fix: add bare-form replacements using negative lookahead (?![\w-]) to protect .claude-plugin and .claudeignore, mirroring Cline (#782) and Codex (#570) precedent. Also adds CLAUDE_CONFIG_DIR -> WINDSURF_CONFIG_DIR / TRAE_CONFIG_DIR rewrite. _applyRuntimeRewrites windsurf case gets matching \b-anchored bare-form lines, mirroring the existing trae case. Closes #983 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore(#983): backfill changeset pr number (995) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
569 KiB
Executable File
569 KiB
Executable File