Skip to content

v0.2.1: Remaining percentage and clearer task identity

Latest

Choose a tag to compare

@ShallowDream724 ShallowDream724 released this 05 Sep 10:53

Compact MCP snapshots now include remaining_percent, calculated against the recorded effective window and rounded to one decimal place. The value is null whenever the remaining budget is unknown, including after compaction. It does not represent headroom to an auto-compaction threshold.

The tool description now identifies concrete current-task ID sources: nodeRepl.requestMeta.threadId when available in Codex, or CODEX_THREAD_ID through native exec_command. Shared MCP shell environments, including FastCtx run, cannot reliably identify the caller.

This is an additive response change. Existing fields, arguments, CLI output, and library results remain compatible. Validation includes 94 tests and cross-platform CI.

Restart an existing context-meter MCP server or its host after upgrading to load the new field and tool description.