feat: add Windows platform support for config paths #7

Merged
guochao merged 1 commit from guochao/agent-run:master into master 2026-05-17 12:04:18 +00:00
Owner

Replace hardcoded Unix environment variables (HOME, XDG_CACHE_HOME, vi)
with platform-specific constants via cfg-gated submodules:

  • Unix: HOME / XDG_CACHE_HOME / vi
  • Windows: USERPROFILE / TEMP / notepad.exe

Cache dir on Windows has no fallback; TEMP must be set.
All error messages now dynamically reference the correct env var name.

Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com

Replace hardcoded Unix environment variables (HOME, XDG_CACHE_HOME, vi) with platform-specific constants via cfg-gated submodules: - Unix: HOME / XDG_CACHE_HOME / vi - Windows: USERPROFILE / TEMP / notepad.exe Cache dir on Windows has no fallback; TEMP must be set. All error messages now dynamically reference the correct env var name. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Replace hardcoded Unix environment variables (HOME, XDG_CACHE_HOME, vi)
with platform-specific constants via cfg-gated submodules:

- Unix: HOME / XDG_CACHE_HOME / vi
- Windows: USERPROFILE / TEMP / notepad.exe

Cache dir on Windows has no fallback; TEMP must be set.
All error messages now dynamically reference the correct env var name.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
guochao merged commit cb21b1930c into master 2026-05-17 12:04:18 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: public/agent-run#7
No description provided.