MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / nextReservationToken

Function nextReservationToken

src/auth.js:97–100  ·  view source on GitHub ↗
(now)

Source from the content-addressed store, hash-verified

95// numerical comparisons against ms-based cutoffs still work as expected.
96let reservationSeq = 0;
97function nextReservationToken(now) {
98 reservationSeq = (reservationSeq + 1) % 1000;
99 return now + reservationSeq / 1000;
100}
101
102// Strict positive int env reader (mirrors the helper in client.js /
103// conversation-pool.js). Used by the dynamic cloud probe path below; when

Callers 2

getApiKeyFunction · 0.85
acquireAccountByKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected