Skip to content

Use PowerShell env assignments for agent login on Windows#185

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/tidy-falcon-25f53454
Jun 15, 2026
Merged

Use PowerShell env assignments for agent login on Windows#185
SDSLeon merged 1 commit into
masterfrom
lightcode/tidy-falcon-25f53454

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 15, 2026

Copy link
Copy Markdown
Owner
  • Bugfix: Agent login and install commands were prefixing environment variables with POSIX KEY='value' syntax on native Windows, which PowerShell rejects as an invalid cmdlet name.
  • Route env var setup through locationKind so Windows sessions use $env:KEY = 'value' assignments that the command inherits in the same PowerShell session.
  • Keep inline POSIX env prefixes for WSL projects where shell semantics already work.
  • Add tests covering Windows PowerShell and WSL script output for profile env vars (e.g. CLAUDE_CONFIG_DIR) during login.

- Emit `$env:KEY = 'value'` for native Windows login and install scripts
- Keep POSIX inline env prefix for WSL projects
- Add Windows and WSL tests for profile env script generation
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
lightcode-landing Skipped Skipped Jun 15, 2026 8:42pm

@SDSLeon SDSLeon merged commit 0722f65 into master Jun 15, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/tidy-falcon-25f53454 branch June 15, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant