dsh-companion-heartbeat: Giving AI Companions a Slow Internal Clock
dsh-companion-heartbeat is an MIT-licensed DSH workflow plugin published by Joe-Miller-1314. Running on Node 20+, it sustains internal needs for companion personas—such as longing, social drive, and curiosity—computes impulse and inhibition per tick to determine when the persona may proactively speak, and passes the results to the host via JSON and other adapters. No database or API Key is required; state is persisted in dataDir. The plugin supports weekly memory consolidation, optional video viewing, and a local panel for session selection. To install, run `npm pack` and then install the resulting DSH bundle, rather than simply adding the repository name via `plugin add`.
Read More