Skip to content

fix: surface missing EVERMEM_API_KEY at SessionStart instead of failing silently#16

Open
sunnyadn wants to merge 1 commit into
EverMind-AI:mainfrom
sunnyadn:fix/surface-missing-api-key
Open

fix: surface missing EVERMEM_API_KEY at SessionStart instead of failing silently#16
sunnyadn wants to merge 1 commit into
EverMind-AI:mainfrom
sunnyadn:fix/surface-missing-api-key

Conversation

@sunnyadn

@sunnyadn sunnyadn commented Jun 28, 2026

Copy link
Copy Markdown

Closes #15.

Surface a missing EVERMEM_API_KEY once per session instead of failing silently.

Problem — when the key isn't configured, every hook hits its isConfigured() guard and exits with no output, so the user gets no signal that memory is disabled and assumes it works.

ChangeSessionStart runs once per session, so turn the silent !config.isConfigured skip in session-context.js into a one-time, non-blocking (continue: true) warning, reusing the file's existing systemMessage pattern (same as the Node-version checks above it). Configured sessions are unchanged.

TestSessionStart with the key unset emits the warning; with the key set, output is unchanged.

…iling silently

When the key isn't configured, all hooks no-op silently and the user gets no
signal that memory is disabled. Surface it once per session at SessionStart
(non-blocking). Configured sessions are unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hooks fail silently when EVERMEM_API_KEY isn't configured — memory looks installed but never saves/recalls

1 participant