feat: add Codex thread reference tools - #443
Open
nikita-ashihmin wants to merge 3 commits into
Open
Conversation
nikita-ashihmin
force-pushed
the
nikita.ashikhmin/air-chat-references
branch
5 times, most recently
from
August 28, 2026 11:34
9283056 to
70e4f27
Compare
nikita-ashihmin
force-pushed
the
nikita.ashikhmin/air-chat-references
branch
from
August 28, 2026 11:37
70e4f27 to
c82c7ac
Compare
nikita-ashihmin
force-pushed
the
nikita.ashikhmin/air-chat-references
branch
from
August 28, 2026 11:49
c82c7ac to
6855476
Compare
Convert an ACP session reference to a Codex thread deep link. Let Codex resolve the referenced thread without copying its history.
nikita-ashihmin
force-pushed
the
nikita.ashikhmin/air-chat-references
branch
from
August 28, 2026 11:57
6855476 to
ab09765
Compare
Expose the Codex TUI thread tools through a private local MCP server. Read referenced threads only when Codex requests their content.
Preserve the full ACP session config for delegated tasks. Match the TUI history fallbacks, wait behavior, response limits, and MCP lifecycle. Keep the new app-server calls in one compatibility module until stable generated types expose them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
read_thread.src/thread-tools-mcp.The server binds to
127.0.0.1and uses a random bearer token. The adapter does not copy another thread into the prompt.The runtime pins the Codex alpha that provides
toolOutputand history pagination. The compatibility module isolates calls that stable generated types do not expose yet.Tests
npm run typechecknpm test(500 passed, 26 skipped)npm run build