feat: add Codex thread reference tools - #443
Open
nikita-ashihmin wants to merge 4 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
2 times, most recently
from
August 28, 2026 11:57
6855476 to
ab09765
Compare
Convert an ACP session reference to a Codex thread deep link. Let Codex resolve the referenced thread without copying its history.
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.
nikita-ashihmin
force-pushed
the
nikita.ashikhmin/air-chat-references
branch
from
September 2, 2026 19:01
96f29b0 to
7b285c2
Compare
Keep one authenticated MCP endpoint across app-server restarts. Reject reserved namespace conflicts and managed policy violations. Limit resume and fork overrides to the adapter MCP server. Preserve polling when turn history is unavailable and normalize structured tool output. Pin the schema generator and verify generated types in CI. Declare Node.js 20 as the minimum runtime.
nikita-ashihmin
force-pushed
the
nikita.ashikhmin/air-chat-references
branch
from
September 2, 2026 19:03
7b285c2 to
2f4edc6
Compare
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
codex_acpMCP namespace and reject configuration conflicts.codex_acp.src/thread-tools-mcp.The adapter does not copy another thread into the prompt. Codex reads a referenced thread only when it calls
read_thread.Verification
npm run typechecknpm run check:generated-typesnpm test— 507 passed, 26 skippednpm run buildlist_threads—end_turn