1npx -y kimaki@latest --gateway
target machine browser already on Discord Discord ┌──────────────────────┐ ┌───────────────────────────────┐ ┌─────────────┐ │ kimaki --gateway │──────>│ install_url │──────>│ pick server │ │ wait for authorized │ │ Playwriter, or send the user │ │ Authorize │ │ then project add │<──────│ the URL │<──────│ │ └──────────────────────┘ └───────────────────────────────┘ └─────────────┘
1sudo pmset -a sleep 0 disksleep 0 displaysleep 0
npx. Do not write helper scripts.1npx -y kimaki@latest --gateway
install_url:1data: {"type":"install_url","url":"https://kimaki.dev/discord-install?clientId=...&clientSecret=..."}
1npx -y kimaki discord-install-url --gateway
| Event | Meaning |
install_url | Open this URL once |
authorized | Discord install succeeded |
ready | Bot is connected and listening |
error | Read message. Do not wipe ~/.kimaki |
1npx -y kimaki project add /path/to/repo
/add-project. Then /login so the agent has a model. See Managing Projects and Models & Subscriptions.12npx -y kimaki project list tail -n 50 ~/.kimaki/kimaki.log
Discord bot is running! and the new channel in project list.install_url from docker compose logs -f, then Authorize.npx -y kimaki@latest --gateway command. Keep the process alive with the host's usual supervisor (systemd, Docker restart, or a terminal multiplexer). Parse SSE the same way.npx -y kimaki@latest --gateway. Do not install from git.KIMAKI_LOCK_PORT and --data-dir for a second instance.project add fails with 50 channels in a shared Kimaki group, the CLI is old. Upgrade with npx -y kimaki@latest --gateway instead of creating a group yourself.