/restart-opencode-server/login/upgrade-and-restart/restart-opencode-server does not fix the issue, the problem is likely in Kimaki itself rather than the OpenCode server. Run /upgrade-and-restart to update Kimaki to the latest npm release and restart the bot process entirely. This replaces the running code with the newest version, fixing bugs in message handling, Discord event routing, session lifecycle, command registration, and anything else in the bot layer./restart-opencode-server):1kimaki upgrade
| Symptom | Fix |
| Session stuck, bot not responding | /restart-opencode-server |
| "Failed to create session" errors | /restart-opencode-server |
| Model change not taking effect | /restart-opencode-server |
| Missing slash commands after config change | /restart-opencode-server |
Auth expired or provider errors after /login | /restart-opencode-server |
| Bot crashes or throws unhandled errors | /upgrade-and-restart |
| Threads not being created or messages ignored | /upgrade-and-restart |
| Typing indicator stuck, footers missing | /upgrade-and-restart |
Issue persists after /restart-opencode-server | /upgrade-and-restart |
| Bot completely offline | Check the terminal where kimaki is running |
| Messages stop arriving when lid is closed | Disable sleep globally |
caffeinate only prevents idle sleep; it does not block the hardware sleep triggered by closing the lid.1sudo pmset -a disablesleep 1
1sudo pmset -a disablesleep 0
12# default location cat ~/.kimaki/kimaki.log
12345# find the process ps aux | grep kimaki # send restart signal kill -SIGUSR2 <PID>