From 661339bb0941c055602688a83bcc8f72be21b54d Mon Sep 17 00:00:00 2001 From: Celia Chen Date: Wed, 22 Jul 2026 02:45:54 +0000 Subject: [PATCH] Document `PathUri` drive letter canonicalization (#34667) GitOrigin-RevId: 014acdb369f6861f4dc683282a56dce3a5eb4caf --- codex-rs/app-server-protocol/schema/typescript/PathUri.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/codex-rs/app-server-protocol/schema/typescript/PathUri.ts b/codex-rs/app-server-protocol/schema/typescript/PathUri.ts index 5b32b954d3..b3923cfdb9 100644 --- a/codex-rs/app-server-protocol/schema/typescript/PathUri.ts +++ b/codex-rs/app-server-protocol/schema/typescript/PathUri.ts @@ -12,8 +12,9 @@ * created by [`Self::from_abs_path`] are opaque to these lexical operations. * * `file:` paths retain their URI spelling so they can be parsed independently - * of the current host. A local POSIX `file:` URI can also retain - * percent-encoded non-UTF-8 bytes for lossless native round trips. + * of the current host, except that Windows drive letters are canonicalized to + * uppercase. A local POSIX `file:` URI can also retain percent-encoded non-UTF-8 + * bytes for lossless native round trips. * * Like [VS Code resources], path operations use `/` URI separators on every * host. Lexical path operations preserve a URL authority without interpreting