feat(agents): un-reserve literal main (#123609)

* feat(agents): un-reserve literal main

* fix(agents): scan legacy sessions before reusing main
This commit is contained in:
Peter Steinberger
2026-08-14 04:23:19 -07:00
committed by GitHub
parent 2af5eca07f
commit e6eebc5ad8
18 changed files with 621 additions and 65 deletions
+4 -1
View File
@@ -80,7 +80,10 @@ not overwrite the existing skill.
`--non-interactive`; omit `--classic` for automated setup.
- `--agent-name <name>`: names the first agent when no roster exists. Interactive
onboarding asks **What should we call your first agent?** and suggests `main`;
non-interactive onboarding keeps `main` unless this flag is provided.
non-interactive onboarding keeps `main` unless this flag is provided. The id
`main` is not reserved: if you later recreate it beside a named agent, run
`openclaw doctor --fix` first when creation reports legacy-session or
shared-auth ownership still attached to the old `main` installation.
- `--flow quickstart`: opens the classic wizard with minimal prompts, uses
token auth by default, and generates a token when no stored or explicit
credential applies. Explicit local Gateway flags such as