github mksglu/context-mode v1.0.58

latest release: v1.0.59
7 hours ago

v1.0.58

Features

  • feat: Codex CLI full hook support — Adapter rewritten from "mcp-only" to "json-stdio". 5 hook events (PreToolUse, PostToolUse, SessionStart, UserPromptSubmit, Stop) now supported. Same wire protocol as Claude Code. 19 TDD tests. Source proof: codex-rs/hooks/schema/generated/. Closes the long-standing "Codex has no hooks" assumption.

  • feat: Cursor stop + afterAgentResponse hooks — Added stop hook (conversation_id, status, loop_count, transcript_path → followup_message for loop continuation) and afterAgentResponse (fire-and-forget, captures full response text). 7 TDD tests. Source proof: cursor/plugins/continual-learning-stop.ts.

Bug Fixes

  • fix: SQLITE_BUSY with retry logic — Database operations now retry with exponential backoff instead of crashing. Closes #218.
  • fix: flaky CI tests on Windows/Linux — Resolved intermittent test failures.
  • fix: correct Pi Agent mcp.json path — Changed from ~/.pi/settings/mcp.json to ~/.pi/agent/mcp.json. Added note about JSON not expanding ~. PR #220 by @trader-payne.

Refactoring

  • refactor(opencode): settings reading, plugin root detection, dynamic platform naming — PR #210 by @mikij. Config priority now favors files with context-mode plugin registered. Cache-based plugin root detection for KiloCode. .kilocode.kilo migration. Closes #208.

  • refactor(opencode): fix all 7 code review items — Removed unused imports, replaced fragile isGlobalConfig pattern, deduplicated getSessionDir/getDBPath in plugin, extracted hasContextModePlugin helper.

  • refactor(plugin): initialize adapter directly in ContextModePlugin — PR #221.

Documentation

  • docs: platform-support.md — Codex CLI updated from "MCP-only" to full hook support. Cursor updated with stop + afterAgentResponse. Updated all comparison tables, capability matrices, and response format references.
  • docs: README.md — Added Codex hooks.json install step. Updated Cursor with stop hook config. Fixed Pi Agent path.

Contributors

Full changelog: v1.0.57...v1.0.58

Don't miss a new context-mode release

NewReleases is sending notifications on new releases.