Commit f078f7e
committed
fix(onboard): reject sandbox names that collide with global CLI commands
A sandbox named 'status', 'list', or 'debug' becomes inaccessible
because the CLI router matches global commands before sandbox names.
Add a reserved-name check in promptValidatedSandboxName that rejects
names matching any global command and prompts the user to choose a
different name.
Closes #1731
Signed-off-by: latenighthackathon <latenighthackathon@users.noreply.github.com>1 parent 035144e commit f078f7e
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2233 | 2233 | | |
2234 | 2234 | | |
2235 | 2235 | | |
2236 | | - | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
2237 | 2250 | | |
2238 | 2251 | | |
2239 | 2252 | | |
| |||
0 commit comments