Skip to content

Commit 74c1e61

Browse files
NickCirvclaude
andcommitted
chore: bump to v2.0.1 — Windows CI + favicon route
Patch release. No breaking changes. - Fixes cross-platform bug in plugin loader where PLUGINS_DIR was frozen at module-load time (homedir() differs on Windows vs Unix env vars). loadPlugins() / getLoadedPlugins() / ensurePluginsDir() now accept optional dir param; getPluginsDir() resolves fresh. - Adds GET /favicon.ico route returning 238-byte inline SVG for clients that don't honor the dashboard's <link rel="icon"> tag. CI verified green on Ubuntu + Windows × Node 20 + 22. Tests: 640 -> 641. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0e68c9d commit 74c1e61

2 files changed

Lines changed: 33 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,38 @@ All notable changes to engram are documented here. Format based on
44
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versioning follows
55
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.0.1] — 2026-04-17 — Windows CI + favicon route
8+
9+
Patch release fixing two issues caught immediately after v2.0.0 shipped.
10+
11+
### Fixed
12+
13+
- **Windows cross-platform bug in the plugin loader.** `PLUGINS_DIR` was a
14+
module-load-time constant that baked in `homedir()` at import time. Windows
15+
uses `USERPROFILE` while Unix uses `HOME`, and a frozen constant meant any
16+
runtime override (tests, future `--plugins-dir` flag, programmatic use)
17+
couldn't take effect without a module reload. Windows CI failed on the
18+
plugin-loader tests because `process.env.HOME` mutation had no effect.
19+
Fixed by introducing `getPluginsDir()` that resolves on every call, and
20+
accepting an optional `dir` parameter on `loadPlugins()`,
21+
`getLoadedPlugins()`, and `ensurePluginsDir()`. The `PLUGINS_DIR` constant
22+
is retained for back-compat but runtime paths now go through the getter.
23+
- **`/favicon.ico` returning 404 for clients that ignore `<link rel="icon">`.**
24+
Added an explicit `GET /favicon.ico` route to the HTTP server that serves
25+
a 238-byte inline SVG favicon with `Cache-Control: public, max-age=86400`.
26+
The dashboard HTML still inlines the same favicon via `<link>` so modern
27+
browsers avoid the request entirely.
28+
29+
### Changed
30+
31+
- Test count: 640 → 641 (+1 for the "plugins directory does not exist"
32+
branch of `loadPlugins()`).
33+
34+
### CI
35+
36+
- Verified green on GitHub Actions matrix: Ubuntu + Windows × Node 20 + 22.
37+
Commit `7c6001c`.
38+
739
## [2.0.0] — 2026-04-17 — "Ecosystem"
840

941
The biggest release since v1.0.0. Completes the v2.0 roadmap Phases 1–4:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "engramx",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "The context spine for AI coding agents. 8 providers + pluggable context sources, 3-layer memory cache, web dashboard, multi-IDE support (Claude Code, Cursor, Continue, Zed, Aider, Windsurf, Neovim, Emacs). 88.1% measured session-level token savings. Local SQLite, zero native deps, zero cloud.",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)