Skip to content

[codex] Carry exec-server cwd as PathUri#28032

Merged
anp-oai merged 2 commits into
mainfrom
codex/exec-server-cwd-path-uri
Jun 13, 2026
Merged

[codex] Carry exec-server cwd as PathUri#28032
anp-oai merged 2 commits into
mainfrom
codex/exec-server-cwd-path-uri

Conversation

@anp-oai

@anp-oai anp-oai commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Why

This is the second-to-last place in the exec-server protocol that needs to migrate to URIs to support cross-OS operation.

What

  • Change ExecParams.cwd to PathUri.
  • Keep the cwd URI-shaped through core and rmcp producers, converting it to AbsolutePathBuf only in LocalProcess::start_process.
  • Reject non-native cwd URIs before launch and update the affected protocol documentation and call sites.

@anp-oai
anp-oai marked this pull request as ready for review June 13, 2026 05:05
@anp-oai
anp-oai requested a review from a team as a code owner June 13, 2026 05:05
@anp-oai

anp-oai commented Jun 13, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@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 automated review suggestions for this pull request.

Reviewed commit: b44d1753b0

ℹ️ 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
  • 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 address that feedback".

Comment thread codex-rs/rmcp-client/Cargo.toml
Comment thread codex-rs/core/src/unified_exec/process_manager.rs
@anp-oai
anp-oai force-pushed the codex/exec-server-cwd-path-uri branch from b44d175 to 362785f Compare June 13, 2026 20:15
@anp-oai
anp-oai enabled auto-merge (squash) June 13, 2026 20:17
@anp-oai
anp-oai disabled auto-merge June 13, 2026 20:46
@anp-oai
anp-oai enabled auto-merge (squash) June 13, 2026 20:53
@anp-oai
anp-oai merged commit 0fed449 into main Jun 13, 2026
31 checks passed
@anp-oai
anp-oai deleted the codex/exec-server-cwd-path-uri branch June 13, 2026 20:56
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 13, 2026
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