github mksglu/context-mode v1.0.112

latest releases: v1.0.118, v1.0.117, v1.0.116...
6 hours ago

v1.0.112 — Highlights

This release leans hard on the community. Thirty-three external pull requests landed between v1.0.111 and v1.0.112, alongside a wave of Windows-class bug reports that finally get the surgical fixes they deserve. Headline themes: an FTS5 case-fold migration that quietly retires a whole class of stats corruption, a SessionDB-backed statusline that ends per-PID sidecar JSON, three independent security patches from the community (SSRF DNS-rebind, ctx_insight shell-injection, ctx_index path traversal), Cursor Marketplace packaging, and a Windows-hardening sweep covering MS Store Python stubs, non-ASCII tmpdirs, FTS5 detection on Node 22.5+, and bun.exe resolution for npm-installed Bun.

What's new

Stats & analytics

  • FTS5 content-store case-fold migration with dual-hash purge — no more silently-orphaned rows after Windows path-case mismatches (internal; covers leftover #507 reported by @Scotchy49).
  • SessionDB-backed statusline replaces per-PID sidecar JSON; richer event accounting with real-bytes wiring through ctx_stats (internal D2 work).
  • Five-section narrative renderer simplifications: prose Section 3, marketing-trim Section 4, dual-unit byte formatter (internal).
  • Statusline timeline reads from SessionDB so cross-process state stays consistent (internal).

Adapters & platforms

Security

Hooks & runtime

Cross-platform (Windows / Linux)

  • FTS5 probed before node:sqlite adoption — fixes Linux + Node 22.5+ where node:sqlite lacks FTS5 (#464 by @ousamabenyounes, closes #461 by @Bobatev).
  • Robust rmSync for Windows + non-ASCII tmpdir paths (#456 by @maxwell-orange, closes #454, #455 by @maxwell-orange).
  • Windows MS Store Python stubs filtered; runnability verified before spawn (#457 by @maxwell-orange).
  • Absolute bun.exe path resolved on Windows when Bun installed via npm (internal fix; closes #506 by @tomerikjansen-crypto).
  • Windows path-separator normalization across D2 + multi-adapter test fixtures (internal).
  • Statusline tests skip the darwin ps-walk path on win32; Windows CI dynamic-import uses file:// URLs (internal).

Build & DX

Contributors

Huge thanks to everyone who shipped, reported, or reviewed this release:

@0xLeathery, @aaronjmars, @alaa-nassef, @asherepenko, @Asureu, @binhex, @Bobatev, @cjduncana, @davegomez, @halindrome, @Hermezenix, @HorseArcher567, @JewelSamAmy, @ken-jo, @KOCEAN33, @leing2021, @makoMakoGo, @MarcusNeufeldt, @markg85, @mateuszruszkowski, @maxwell-orange (4 PRs), @mikij (5 PRs), @Minghou-Lei, @mkc909, @murataslan1, @musaddiq-dev, @MuziIsabel, @NgoQuocViet2001, @nicholasoxenden, @oisili, @ousamabenyounes (7 PRs), @petarvucetin, @rpickmans, @s010mn, @Scotchy49, @sebastianbreguel (2 PRs), @simtel12, @tdietert, @tomerikjansen-crypto, @ToniBig, @TyceHerrman (2 PRs), @udisun, @vipinks, @voidborne-d

Special note: outsized contribution this cycle from @ousamabenyounes (7 PRs across Pi, security, and CI), @mikij (5 PRs across OpenCode, Kilo, and docs), and @maxwell-orange (4 PRs hardening Windows + Cursor packaging).

Upgrade

ctx-upgrade                # plugin
npm install -g context-mode  # standalone

Don't miss a new context-mode release

NewReleases is sending notifications on new releases.