Releases: mksglu/context-mode
Releases · mksglu/context-mode
v1.0.89
v1.0.89 — Stability, search perf, and new contributors
Fixed
- Prevent duplicate hook processes (#282) — When both
hooks.jsonandsettings.jsonhave context-mode entries, hooks fired twice. Now actively strips settings.json entries when plugin hooks.json covers all events. Self-heal also respects hooks.json presence. Thanks @shauneccles! - Coerce string-typed numeric tool inputs (#281) — LLMs sometimes send
timeout: "300000"(string instead of number).z.number()rejected these with -32602. Now usesz.coerce.number()for timeout and port fields.ctx_purge.confirmintentionally stays strict (z.coerce.boolean("false") === true). Thanks @shauneccles! - Pi extension UI output (#279) —
ctx_statsandctx_doctornow route output through Pi'sctx.ui.notify()when available. Thanks @h4rvey-g! - Insight security hardening — EADDRINUSE check, adapter-aware paths, robust timeouts, input validation from 5-agent grill review.
Performance
- LRU cache for fuzzyCorrect (#274) — 256-entry cache with Map LRU semantics. Invalidated on vocab insert. Thanks @sebastianbreguel!
- Byte-safe truncation (#273) —
byteSafePrefix()with binary search and surrogate-pair guard. Thanks @sebastianbreguel! - Dedup tokens in sanitizeQuery (#276) — Case-insensitive dedup reduces redundant FTS5 lookups. Thanks @sebastianbreguel!
Tests
- exit-classify branch coverage (#278) — Thanks @sebastianbreguel!
- ctx_doctor early-exit collectRpcResponses (#277) — Thanks @sebastianbreguel!
- New
tests/truncate.test.ts(156 lines)
Community PRs
@shauneccles (#281, #282), @h4rvey-g (#279), @sebastianbreguel (#273, #274, #276, #277, #278)
Upgrade:
npm install -g [email protected]Full Changelog: v1.0.88...v1.0.89
v1.0.88
v1.0.88
Fixed
- Add better-sqlite3 to insight/package.json — Insight dashboard deps install was failing because better-sqlite3 was missing from its local package.json.
Upgrade:
npm install -g [email protected]Full Changelog: v1.0.87...v1.0.88
v1.0.87
v1.0.87
Fixed
- Insight plugin root resolution — Correctly resolve plugin root for insight source path in bundled/marketplace environments.
Docs
- Added
ctx_insightto README utility commands, tool list, CLI reference, and slash commands.
Upgrade:
npm install -g [email protected]Full Changelog: v1.0.86...v1.0.87
v1.0.86
v1.0.86
Fixed
- Insight CLI path resolution — Use
getPluginRoot()instead of__dirnamefor insight server path, fixing path resolution in marketplace plugin installs and bundled environments. - CI stability — Parse vitest output instead of relying on exit code. Ubuntu worker teardown race no longer fails CI when all tests pass.
Upgrade:
npm install -g [email protected]Full Changelog: v1.0.85...v1.0.86
v1.0.85
v1.0.85
Fixed
- Upgrade reads files list dynamically from package.json —
ctx-upgradeno longer uses a hardcoded file copy list. Reads thefilesarray from the cloned package.json so new directories (likeinsight/) are automatically included in future upgrades.
Upgrade:
npm install -g [email protected]Full Changelog: v1.0.84...v1.0.85
v1.0.84
v1.0.84
Fixed
- Include
insight/in upgrade file copy list —ctx-upgradewas not copying the insight dashboard files, leaving upgraded installations without the analytics dashboard.
Upgrade:
npm install -g [email protected]Full Changelog: v1.0.83...v1.0.84
v1.0.83
v1.0.83
New
/ctx-insightslash command — Addedctx-insightskill so users can launch the analytics dashboard via/ctx-insightin Claude Code. Triggersctx_insightMCP tool.
Upgrade:
npm install -g [email protected]Full Changelog: v1.0.82...v1.0.83
v1.0.82
v1.0.82
Fixed
- Include
insight/source files in npm package — The analytics dashboard source was missing from the published tarball. Now included in thefilesarray.
Upgrade:
npm install -g [email protected]Full Changelog: v1.0.81...v1.0.82
v1.0.81
v1.0.81 — Personal Analytics Dashboard
New
ctx_insight— personal analytics dashboard — 15+ metrics covering tool usage, session activity, error rate, parallel work patterns, explore/execute ratio, commit rate, and mastery curve. Launches a local dashboard (TanStack Router + shadcn/ui + Tailwind v4) on127.0.0.1. Available as MCP tool (ctx_insight) and CLI command (context-mode insight). Source ships with npm package, deps installed on first use. Cross-platform: Bun + Node.js, macOS/Linux/Windows.- Enterprise showcase page — 8 personas, 56 metrics, CaaS/CISO/DevOps views for enterprise evaluation.
Upgrade:
npm install -g [email protected]Full Changelog: v1.0.80...v1.0.81
v1.0.80
v1.0.80 — Search optimization
Performance
- Skip fuzzy correction on stopwords (#272) —
searchWithFallbackno longer runs levenshtein + vocab DB queries on stopwords that get stripped bysanitizeQueryanyway. Thanks @sebastianbreguel! - Cache cleanup prepared statements (#272) —
cleanupStaleSources()was the only method creating 3 new prepared statements per call. Now cached in constructor, consistent with every other method.
Upgrade:
npm install -g [email protected]Full Changelog: v1.0.79...v1.0.80