Skip to content

Conversation

aibrahim-oai
Copy link
Collaborator

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
Collaborator Author

@codex review this in detail.

Copy link
Contributor

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

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 on lines 217 to 218
pub num_scanned_files: usize,
pub reached_scan_cap: bool,
Copy link
Collaborator

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
Collaborator 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
Collaborator

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
Collaborator 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
55 of 63 checks passed
@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