MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getLastApiRequests

Function getLastApiRequests

src/services/api/dumpPrompts.ts:29–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27const dumpState = new Map<string, DumpState>()
28
29export function getLastApiRequests(): Array<{
30 timestamp: string
31 request: unknown
32}> {
33 return [...cachedApiRequests]
34}
35
36export function clearApiRequestCache(): void {
37 cachedApiRequests.length = 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected