openclaw setup
code ~/.openclaw/openclaw.json
openclaw configure
openclaw agents add project-manager
openclaw agents add python-engineer
openclaw gateway
openclaw agent run --agent project-manager --message "對重構有什麼必要流程"
openclaw agent run --agentpython-engineer --message "對重構有什麼必要流程"
{
"id": "main",
"subagents": {
"allowAgents": ["proejct-manager", "python-engineer"]
}
}
-> 規畫TODO系統重構應該有的甘特行程圖? 以及基於python coding需要知道的框架? 請呼叫project-manager agent進行行程規畫、呼叫python-engineer agent進行程式評估
-> restart手動
npx kill-port 18789 18791
在 Codespace 終端執行:
git clone https://github.com/openclaw/openclaw.git ~/openclaw
cd ~/openclaw
npm install
npm run build
npm link然後啟動 OpenClaw:
openclawGitHub Codespaces 會自動將以下端口映射為公網地址:
- 18789: OpenClaw Web UI 主界面
cd ~/openclaw
git pull origin main
npm install
npm run build- 免費額度每月重置,建議在不使用時停止 Codespace
- Codespace 閒置 30 分鐘後會自動暫停(可在設定中調整)
- 暫停狀態不消耗免費時數
- 資料會保留在 Codespace 中,刪除前請備份重要資料