Discord ──> kimaki (bot process) ──> OpenCode 2 service ──> project folders ~/.kimaki (shared with your TUI) on this machine
npx -y kimaki@latest --gateway on each machinekimaki project add /path/to/repo on each machineKimaki <machine name>. The default machine name is the hostname. Set another one with --machine-name:1npx -y kimaki@latest --gateway --machine-name vps
kimaki send --channel <id> still works: the bot that owns the channel runs it.12345# Instance 1: default ~/.kimaki, lock port 29988 npx -y kimaki@latest # Instance 2: separate data directory and lock port KIMAKI_LOCK_PORT=31001 npx -y kimaki@latest --data-dir ~/work-bot
port is in use. It never stops the bot that already runs.1KIMAKI_LOCK_PORT=31001 kimaki status --data-dir ~/work-bot
<dataDir>/kimaki.db with bot credentials, channel mappings, and routines<dataDir>/kimaki.log<dataDir>/projects/kimakiKIMAKI_LOCK_PORT1kimaki bot install-url
--guild:1kimaki project add /path/to/repo --guild 123456789012345678
--guild, project add uses the server that already has Kimaki channels. When channels exist in several servers, --guild is required.--guild <id>.