mirror of
https://github.com/openai/codex.git
synced 2026-10-19 16:17:49 +00:00
## Why Skill aliases already identify their source, but `skills.read` searched the cloud catalog before the executor catalog even for executor aliases. ## What changed Parse package locators to recognize cloud (`c0/...`), executor (`e0/...`), and host (`r0/...`) aliases. Restrict cloud and executor alias lookups to the matching catalog, while retaining the existing search order for other package strings. Share the source-to-prefix mapping between alias generation and parsing, and preserve the string representation and tool schema for package locators. ## Testing Extend alias tests to cover source recognition, JSON round trips, and malformed alias strings, including leading zeros, missing suffixes, non-ASCII prefixes, and overflowing indices. GitOrigin-RevId: f835e47a244aa0cf9eb95980ea23f4d7fcedd511