Skip to main content
Glama

Codex Text Control

Read a reply. Click the text to edit it. Save or cancel in place.

What it is

Codex Text Control is a local Codex plugin that presents an editable response as formatted Markdown. The content itself is the editor: no textarea, source tab, fixed-height canvas, or confirmation modal. Saved text becomes project-level confirmed context for subsequent turns. Native chat history is not rewritten.

Related MCP server: reader3000-mcp

Why it exists

  • Long context gets repeated, rewritten, and lost across chat turns.

  • Tables and long Markdown are easier to change as one continuous text flow.

  • The final answer should stay short; the full context should stay in the project.

Core behavior

  • Ordinary questions and one-line advice stay in chat. “Let me edit” opens the last reply; saved context opens when explicitly requested. Complete plans or conclusions requested by the user can still appear directly as editable text.

  • One continuous editor for rendered paragraphs, lists, tables, emphasis, links, and code. Untouched blocks retain their original Markdown.

  • Save and Cancel appear only during editing. Ctrl/Cmd+Enter saves; Escape cancels. The initial reply can be accepted without changing a word.

  • Drafts save after pauses and when the page hides, but stay separate from revision history.

  • A stale draft never silently replaces newer authoritative text.

  • Named AI extension points let the model update only a bounded block.

  • Save writes one immutable revision and sends a version-only follow-up. A notification retry does not create another revision.

  • Transparent background, host theme tokens, automatic height, and a request for borderless framing help it fit the surrounding conversation.

Install

Requires Node.js 22 or newer and a Codex desktop/CLI build with plugin marketplace support.

codex plugin marketplace add wendelxia/codex-text-control --ref v0.6.1
codex plugin add codex-text-control@codex-text-control

Restart Codex after installation, then ask: "Let me edit this response." The first start installs the locked production dependencies from the npm registry. Your drafts and confirmed versions stay in the project's .codex-text-control/ directory.

Already installed from a personal marketplace? Update that marketplace's plugin source to v0.6.1 and reinstall its existing entry to avoid two enabled copies.

Try from source

git clone https://github.com/wendelxia/codex-text-control.git
Set-Location codex-text-control
git checkout v0.6.1
npm ci --ignore-scripts
npm run quality
npm run verify:candidate
npm run preview

Evidence

  • Trigger-routing verification covers ordinary answers, direct edits, saved context and draft recovery.

  • 0.6.1 is a pre-release. See the release notes and verification record.

  • npm run quality runs storage, extension, DOM interaction, Markdown, bridge, and real MCP protocol checks.

  • npm run preview runs the real MCP backend against an isolated artifacts/inline-preview directory. Its notification is simulated; it does not send a message to your Codex conversation.

  • Earlier real-host evidence applies to 0.5.x. The new host chrome and notification flow need fresh real-host verification.

Limits

  • No production-ready claim.

  • No cross-platform host matrix.

  • No external benchmark.

  • Host loading indicators, labels, borders, and confirmation behavior are controlled by Codex. Border preference is a hint.

  • This is a text-focused Markdown editor: no table insertion controls, merged cells, math rendering, or active raw HTML. Images appear as inert text references. Edited blocks may normalize Markdown syntax.

  • Version history remains available through list_text_revisions; it is no longer a panel inside the reply.

Docs

The historical 0.5.x demo shows the previous interface. It does not demonstrate the 0.6.0 editor.

License

MIT. See LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers