@ghackk/multi-claude 1.0.15 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/claude-menu.ps1 +5 -0
- package/package.json +1 -1
package/claude-menu.ps1
CHANGED
|
@@ -454,6 +454,11 @@ function Create-Account {
|
|
|
454
454
|
pause; return
|
|
455
455
|
}
|
|
456
456
|
|
|
457
|
+
if ($name -notmatch '^[a-zA-Z0-9_-]+$') {
|
|
458
|
+
Write-Host " Name can only contain letters, numbers, hyphens, and underscores." -ForegroundColor Red
|
|
459
|
+
pause; return
|
|
460
|
+
}
|
|
461
|
+
|
|
457
462
|
$batFile = "$ACCOUNTS_DIR\claude-$name.bat"
|
|
458
463
|
if (Test-Path $batFile) {
|
|
459
464
|
Write-Host " Account 'claude-$name' already exists!" -ForegroundColor Yellow
|
package/package.json
CHANGED