Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RioArisk/claudecode_api_RemoteControl
/ buildCacheKey
Function
buildCacheKey
app/src/modules/chat-cache.js:76–78 ·
view source on GitHub ↗
(addr, sessionId)
Source
from the content-addressed store, hash-verified
74
}
75
76
export
function
buildCacheKey(addr, sessionId) {
77
return
`${addr}::${sessionId}`;
78
}
79
80
export
function
estimateCacheBytes(record) {
81
const
payload = JSON.stringify({
Callers
2
restoreSessionCache
Function · 0.90
persistSessionCache
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected