feat: add PowerShell install script for flex-ax camp on Windows#35
feat: add PowerShell install script for flex-ax camp on Windows#35
Conversation
Port install.sh and install-common.sh to PowerShell for native Windows support. Uses .cmd wrappers instead of symlinks, Invoke-WebRequest for downloads, and Windows-appropriate paths. Fixes #32 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Reviewed locally on Windows. I found two blocking issues in the PowerShell installer path.
Because both of these affect the actual Windows install path, I don’t think this one is ready yet. |
Change gws-auth CLI path from @anthropic-kr to @planetarium to match the actual tarball install location. Fix remote install fallback to fetch install-common.ps1 from raw.githubusercontent.com since the GitHub release only contains install-common.sh. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Fixed both issues: gws-auth package scope corrected to @planetarium/gws-auth, and remote install fallback now fetches install-common.ps1 from raw.githubusercontent.com. |
Summary
scripts/install-common.ps1— PowerShell port of shared install functions (Install-FlexAx,Install-Gws,Install-GwsAuth,Install-CampFiles,Detect-Platform,Generate-Adapters, and all platform adapters)camps/flex-ax/install.ps1— PowerShell port of the flex-ax camp installer with identical workflow toinstall.sh.cmdwrappers instead of Unix symlinks,Invoke-WebRequestfor downloads, and Windows-appropriate paths ($env:APPDATA,;PATH separator)Fixes #32
Test plan
install.ps1on a Windows machine with Node.js/npm installedInstall-FlexAxcreates.local/bin/flex-ax.cmdwrapperInstall-Gwscreates.local/bin/gws.cmdwrapperInstall-GwsAuthcreates.local/bin/gws-auth.cmdwrapperInstall-CampFilesextracts identity/knowledge/scripts correctlyGenerate-Adapterscreates.claude/CLAUDE.mdwith @ references.claude/settings.json🤖 Generated with Claude Code