Skip to content

MCP: add session resume + history listing; - #3185

Merged
aibrahim-oai merged 10 commits into
mainfrom
mcp-add
Sep 4, 2025
Merged

aibrahim-oai merged 10 commits into
mainfrom
mcp-add

Conversation

@aibrahim-oai

Copy link
Copy Markdown
Contributor

External (non-OpenAI) Pull Request Requirements

Before opening this Pull Request, please read the dedicated "Contributing" markdown file or your PR may be closed:
https://github.com/openai/codex/blob/main/docs/contributing.md

If your PR conforms to our contribution guidelines, replace this text with a detailed and high quality description of your changes.

@aibrahim-oai aibrahim-oai changed the title Mcp add MCP: add session resume + history listing; Sep 4, 2025
@aibrahim-oai
aibrahim-oai marked this pull request as ready for review September 4, 2025 21:35
@aibrahim-oai

Copy link
Copy Markdown
Contributor Author

@codex review this in detail.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex Review: Here are some suggestions.

Reply with @codex fix comments to fix any unresolved comments.

About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".

@aibrahim-oai
aibrahim-oai requested a review from gpeal September 4, 2025 21:45
Comment thread codex-rs/protocol/src/mcp_protocol.rs Outdated
Comment on lines +217 to +218
pub num_scanned_files: usize,
pub reached_scan_cap: bool,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why return num_scanned_files?

How about just has_more: bool?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

next_cursor should be non if it doesn't have more.
num_scanned_files and reached_scan_cap are admittedly extra information that the clients wouldn't probably need.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove it then

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@aibrahim-oai
aibrahim-oai requested a review from gpeal September 4, 2025 22:14
@aibrahim-oai
aibrahim-oai enabled auto-merge (squash) September 4, 2025 22:15
@aibrahim-oai
aibrahim-oai merged commit 907d3dd into main Sep 4, 2025
@aibrahim-oai
aibrahim-oai deleted the mcp-add branch September 4, 2025 23:44
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants