MCPcopy Index your code
hub / github.com/codeaashu/claude-code / record

Method record

src/server/web/session-manager.ts:30–34  ·  view source on GitHub ↗
(userId: string)

Source from the content-addressed store, hash-verified

28 }
29
30 record(userId: string): void {
31 const r = this.recent(userId);
32 r.push(Date.now());
33 this.attempts.set(userId, r);
34 }
35
36 /** Seconds until the oldest attempt in the window falls off (for Retry-After). */
37 retryAfterSeconds(userId: string): number {

Callers 9

types.tsFile · 0.45
types.tsFile · 0.45
types.tsFile · 0.45
types.tsFile · 0.45
bootstrap.tsFile · 0.45
types.tsFile · 0.45
createMethod · 0.45
buildHookSchemasFunction · 0.45

Calls 3

recentMethod · 0.95
pushMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected