Skip to content

Release v2.0.4

Choose a tag to compare

@github-actions github-actions released this 23 Jan 19:58
· 93 commits to main since this release
fix: gracefully handle unwritable logs directory

The logger was unconditionally creating a logs/ directory at process.cwd()
during module load. When used as a library (e.g., in an MCP server launched
by Claude Desktop), cwd may be / or another unwritable location, causing
ENOENT crashes.

Now wraps directory creation in try/catch and skips file transports if the
directory can't be created. Also supports LOG_DIR env var to override the
log directory location.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>