mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
ffec7c0933
## Why Codex needs stable `file:` URI identifiers that can cross process and operating-system boundaries without eagerly interpreting them as native paths. Existing fields also need to keep accepting absolute path strings during migration. ## What changed - Add `codex-utils-path-uri` with a validated, immutable `PathUri` wrapper that currently accepts only `file:` URLs. - Expose URI-level `basename`, `parent`, and `join` operations that preserve authorities and percent encoding without guessing the source operating system. - Keep native conversion explicit through `AbsolutePathBuf` and the current host rules. - Serialize as canonical URI text while accepting both URI text and legacy absolute native paths during deserialization. - Add adversarial coverage for Windows-looking and POSIX paths, UNC authorities, encoded metadata characters, non-UTF-8 POSIX paths, URI hierarchy operations, and legacy serde round trips.
14 lines
607 B
Plaintext
14 lines
607 B
Plaintext
# Core crate ownership.
|
|
/codex-rs/core/ @openai/codex-core-agent-team
|
|
/codex-rs/ext/extension-api/ @openai/codex-core-agent-team
|
|
/codex-rs/prompts/ @openai/codex-core-agent-team
|
|
/codex-rs/utils/path-uri/ @openai/codex-core-agent-team
|
|
|
|
# Keep macOS AKV signing changes reviewed by Codex maintainers.
|
|
/.github/actions/setup-akv-pkcs11-codesigning/ @openai/codex-core-agent-team
|
|
/.github/scripts/macos-signing/ @openai/codex-core-agent-team
|
|
/.github/workflows/rust-release.yml @openai/codex-core-agent-team
|
|
|
|
# Keep ownership changes reviewed by the same team.
|
|
/.github/CODEOWNERS @openai/codex-core-agent-team
|