mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:20:43 +00:00
feat(onboard): add skip bootstrap flag (#71218)
This commit is contained in:
@@ -22,6 +22,10 @@ On the first agent run, OpenClaw bootstraps the workspace (default
|
||||
- Writes identity + preferences to `IDENTITY.md`, `USER.md`, `SOUL.md`.
|
||||
- Removes `BOOTSTRAP.md` when finished so it only runs once.
|
||||
|
||||
## Skipping bootstrapping
|
||||
|
||||
To skip this for a pre-seeded workspace, run `openclaw onboard --skip-bootstrap`.
|
||||
|
||||
## Where it runs
|
||||
|
||||
Bootstrapping always runs on the **gateway host**. If the macOS app connects to
|
||||
|
||||
@@ -87,8 +87,10 @@ Optional: choose a different workspace with `agents.defaults.workspace` (support
|
||||
|
||||
```json5
|
||||
{
|
||||
agent: {
|
||||
workspace: "~/.openclaw/workspace",
|
||||
agents: {
|
||||
defaults: {
|
||||
workspace: "~/.openclaw/workspace",
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
@@ -97,8 +99,10 @@ If you already ship your own workspace files from a repo, you can disable bootst
|
||||
|
||||
```json5
|
||||
{
|
||||
agent: {
|
||||
skipBootstrap: true,
|
||||
agents: {
|
||||
defaults: {
|
||||
skipBootstrap: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
@@ -25,11 +25,14 @@ openclaw onboard --non-interactive \
|
||||
--gateway-bind loopback \
|
||||
--install-daemon \
|
||||
--daemon-runtime node \
|
||||
--skip-bootstrap \
|
||||
--skip-skills
|
||||
```
|
||||
|
||||
Add `--json` for a machine-readable summary.
|
||||
|
||||
Use `--skip-bootstrap` when your automation pre-seeds workspace files and does not want onboarding to create the default bootstrap files.
|
||||
|
||||
Use `--secret-input-mode ref` to store env-backed refs in auth profiles instead of plaintext values.
|
||||
Interactive selection between env refs and configured provider refs (`file` or `exec`) is available in the onboarding flow.
|
||||
|
||||
|
||||
@@ -260,6 +260,7 @@ is only a legacy import source.
|
||||
Typical fields in `~/.openclaw/openclaw.json`:
|
||||
|
||||
- `agents.defaults.workspace`
|
||||
- `agents.defaults.skipBootstrap` when `--skip-bootstrap` is passed
|
||||
- `agents.defaults.model` / `models.providers` (if Minimax chosen)
|
||||
- `tools.profile` (local onboarding defaults to `"coding"` when unset; existing explicit values are preserved)
|
||||
- `gateway.*` (mode, bind, auth, tailscale)
|
||||
|
||||
Reference in New Issue
Block a user