@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.
Files changed (2) hide show
  1. package/claude-menu.ps1 +5 -0
  2. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghackk/multi-claude",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Run multiple Claude CLI accounts with shared settings, plugins, marketplace sync, and backup/restore",
5
5
  "bin": {
6
6
  "multi-claude": "bin/claude-multi.js"