Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ emptyState
Function
emptyState
scripts/mars-credentials.mjs:78–85 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
76
}
77
78
function
emptyState() {
79
return
{
80
version: STORE_VERSION,
81
deviceId: randomUUID(),
82
activeConnectionId: null,
83
connections: [],
84
};
85
}
86
87
function
isExpired(connection) {
88
if
(!connection?.expiresAt)
return
false;
Callers
1
load
Function · 0.85
Calls
1
randomUUID
Function · 0.85
Tested by
no test coverage detected