Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
Pick a setup workflow based on how often you want updates and whether you want to run the Gateway yourself:
~/.openclaw/openclaw.json~/.openclaw/workspace/pnpm gateway:watch22.14+pnpmIf you want “100% tailored to me” and easy updates, keep your customization in:
~/.openclaw/openclaw.json~/.openclaw/workspaceBootstrap once:
bashopenclaw setup
From inside this repo, use the local CLI entry:
bashopenclaw setup
If you don’t have a global install yet, run it via
pnpm openclaw setupbun run openclaw setupAfter
pnpm buildbashnode openclaw.mjs gateway --port 18789 --verbose
bashopenclaw channels login
bashopenclaw health
If onboarding is not available in your build:
openclaw setupopenclaw channels loginopenclaw gatewayGoal: work on the TypeScript Gateway, get hot reload, keep the macOS app UI attached.
If you also want the macOS app on the bleeding edge:
bash./scripts/restart-mac.sh
bashpnpm install # First run only (or after resetting local OpenClaw config/workspace) pnpm openclaw setup pnpm gateway:watch
gateway:watchtmux attach -t openclaw-gateway-watch-mainOPENCLAW_GATEWAY_WATCH_ATTACH=0 pnpm gateway:watchpnpm gateway:watch:rawpnpm openclaw setuppnpm gateway:watchdist/control-uipnpm ui:buildui/pnpm ui:devIf you are intentionally using the Bun workflow, the equivalent commands are:
bashbun install # First run only (or after resetting local OpenClaw config/workspace) bun run openclaw setup bun run gateway:watch
In OpenClaw.app:
bashopenclaw health
ws://127.0.0.1:18789~/.openclaw/credentials/~/.openclaw/agents/<agentId>/agent/auth-profiles.json~/.openclaw/agents/<agentId>/sessions//tmp/openclaw/Use this when debugging auth or deciding what to back up:
~/.openclaw/credentials/whatsapp/<accountId>/creds.jsonchannels.telegram.tokenFilechannels.slack.*~/.openclaw/credentials/<channel>-allowFrom.json~/.openclaw/credentials/<channel>-<accountId>-allowFrom.json~/.openclaw/agents/<agentId>/agent/auth-profiles.json~/.openclaw/secrets.json~/.openclaw/credentials/oauth.json~/.openclaw/workspace~/.openclaw/openclawgit pullpnpm installbun installgateway:watchLinux installs use a systemd user service. By default, systemd stops user services on logout/idle, which kills the Gateway. Onboarding attempts to enable lingering for you (may prompt for sudo). If it’s still off, run:
bashsudo loginctl enable-linger $USER
For always-on or multi-user servers, consider a system service instead of a user service (no lingering needed). See Gateway runbook for the systemd notes.
© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine