Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Document `PathUri` drive letter canonicalization (#34667)

Celia Chen661339bb0941
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