Skip to content

Releases: mksglu/context-mode

v1.0.89

14 Apr 09:10

Choose a tag to compare

v1.0.89 — Stability, search perf, and new contributors

Fixed

  • Prevent duplicate hook processes (#282) — When both hooks.json and settings.json have 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 uses z.coerce.number() for timeout and port fields. ctx_purge.confirm intentionally stays strict (z.coerce.boolean("false") === true). Thanks @shauneccles!
  • Pi extension UI output (#279) — ctx_stats and ctx_doctor now route output through Pi's ctx.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

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

14 Apr 03:28

Choose a tag to compare

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

14 Apr 03:01

Choose a tag to compare

v1.0.87

Fixed

  • Insight plugin root resolution — Correctly resolve plugin root for insight source path in bundled/marketplace environments.

Docs

  • Added ctx_insight to 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

14 Apr 02:33

Choose a tag to compare

v1.0.86

Fixed

  • Insight CLI path resolution — Use getPluginRoot() instead of __dirname for 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

14 Apr 02:05

Choose a tag to compare

v1.0.85

Fixed

  • Upgrade reads files list dynamically from package.jsonctx-upgrade no longer uses a hardcoded file copy list. Reads the files array from the cloned package.json so new directories (like insight/) are automatically included in future upgrades.

Upgrade:

npm install -g [email protected]

Full Changelog: v1.0.84...v1.0.85

v1.0.84

14 Apr 01:56

Choose a tag to compare

v1.0.84

Fixed

  • Include insight/ in upgrade file copy listctx-upgrade was 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

14 Apr 01:51

Choose a tag to compare

v1.0.83

New

  • /ctx-insight slash command — Added ctx-insight skill so users can launch the analytics dashboard via /ctx-insight in Claude Code. Triggers ctx_insight MCP tool.

Upgrade:

npm install -g [email protected]

Full Changelog: v1.0.82...v1.0.83

v1.0.82

14 Apr 01:47

Choose a tag to compare

v1.0.82

Fixed

  • Include insight/ source files in npm package — The analytics dashboard source was missing from the published tarball. Now included in the files array.

Upgrade:

npm install -g [email protected]

Full Changelog: v1.0.81...v1.0.82

v1.0.81

14 Apr 01:43

Choose a tag to compare

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) on 127.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

14 Apr 01:21

Choose a tag to compare

v1.0.80 — Search optimization

Performance

  • Skip fuzzy correction on stopwords (#272) — searchWithFallback no longer runs levenshtein + vocab DB queries on stopwords that get stripped by sanitizeQuery anyway. 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