Skip to content

Commit 747cb3b

Browse files
abdoutclaude
andcommitted
fix: add missing scripts and memory downloads to Windows installer
- Add memory files download section (atom, template, block, report, repositories) - Add scripts download section including secrets.sh and secrets.ps1 - Update agents list with 9 missing agents (hogwarts, souq, mkan, shifa, etc.) - Update commands list with 7 missing commands (repos, atom, template, etc.) - Add secrets scripts to macOS/Linux installer download list Fixes issue where Windows users couldn't find secrets.ps1 after installation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 437f9ac commit 747cb3b

2 files changed

Lines changed: 21 additions & 3 deletions

File tree

.claude/scripts/install.ps1

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Invoke-WebRequest -Uri "$BASE_URL/mcp.json" -OutFile "$CLAUDE_DIR\mcp.json"
4040

4141
# Download agents
4242
Write-Host "Downloading agents..."
43-
$agents = @("architecture", "atom", "block", "build", "deploy", "git-github", "i18n", "middleware", "nextjs", "pattern", "performance", "prisma", "react", "report", "shadcn", "structure", "tailwind", "template", "test", "typescript")
43+
$agents = @("architecture", "atom", "block", "build", "deploy", "git-github", "i18n", "middleware", "nextjs", "pattern", "performance", "prisma", "react", "report", "shadcn", "structure", "tailwind", "template", "test", "typescript", "hogwarts", "souq", "mkan", "shifa", "comment", "optimize", "semantic", "sse", "authjs")
4444
foreach ($agent in $agents) {
4545
try {
4646
Invoke-WebRequest -Uri "$BASE_URL/agents/$agent.md" -OutFile "$CLAUDE_DIR\agents\$agent.md" -ErrorAction SilentlyContinue
@@ -49,13 +49,31 @@ foreach ($agent in $agents) {
4949

5050
# Download commands
5151
Write-Host "Downloading commands..."
52-
$commands = @("dev", "build", "deploy", "block", "codebase", "saas", "docs", "test", "security", "performance")
52+
$commands = @("dev", "build", "deploy", "block", "codebase", "saas", "docs", "test", "security", "performance", "repos", "atom", "template", "screenshot", "clone", "nextjs", "motion")
5353
foreach ($cmd in $commands) {
5454
try {
5555
Invoke-WebRequest -Uri "$BASE_URL/commands/$cmd.md" -OutFile "$CLAUDE_DIR\commands\$cmd.md" -ErrorAction SilentlyContinue
5656
} catch {}
5757
}
5858

59+
# Download memory files
60+
Write-Host "Downloading memory files..."
61+
$memoryFiles = @("atom", "template", "block", "report", "repositories")
62+
foreach ($mem in $memoryFiles) {
63+
try {
64+
Invoke-WebRequest -Uri "$BASE_URL/memory/$mem.json" -OutFile "$CLAUDE_DIR\memory\$mem.json" -ErrorAction SilentlyContinue
65+
} catch {}
66+
}
67+
68+
# Download scripts
69+
Write-Host "Downloading scripts..."
70+
$scripts = @("sync.sh", "sync.ps1", "sync-repos.sh", "sync-repos.ps1", "secrets.sh", "secrets.ps1")
71+
foreach ($script in $scripts) {
72+
try {
73+
Invoke-WebRequest -Uri "$BASE_URL/scripts/$script" -OutFile "$CLAUDE_DIR\scripts\$script" -ErrorAction SilentlyContinue
74+
} catch {}
75+
}
76+
5977
# Create local overrides file
6078
New-Item -ItemType File -Force -Path "$CLAUDE_DIR\CLAUDE.local.md" | Out-Null
6179

.claude/scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ done
6060

6161
# Download scripts
6262
echo "Downloading scripts..."
63-
for script in sync.sh sync.ps1 sync-repos.sh sync-repos.ps1; do
63+
for script in sync.sh sync.ps1 sync-repos.sh sync-repos.ps1 secrets.sh secrets.ps1; do
6464
curl -fsSL "$BASE_URL/scripts/$script" -o "$CLAUDE_DIR/scripts/$script" 2>/dev/null || true
6565
done
6666
chmod +x "$CLAUDE_DIR/scripts/"*.sh 2>/dev/null || true

0 commit comments

Comments
 (0)