mirror of
https://github.com/jasonxu114514/opencode2api.git
synced 2026-12-05 16:04:01 +00:00
The upstream decodes ses_ as ~((ms << 12) | counter) and rejects an implausible timestamp with the same 429 Free usage limit it returns for an exhausted quota, so a hash-derived id made healthy egresses look blocked. Anchor the timestamp to the current UTC day minus a hash-chosen offset of at most 30 days, keeping the id deterministic for a given request signal while staying inside the accepted window.