mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-06 16:15:50 +08:00
- Track normalized ID state (`occupied`/`preserved`) during preprocessing to avoid remapping valid existing IDs. - Resolve collisions by appending deterministic hash-based suffixes until a free ID is found. - Share occupancy tracking across shortening and remapping so sanitized IDs remain stable and idempotent. Closes: #4891