INNER CODE UNIT · Python
_OUTPUT_RUNNING_STALE_SECONDS
TianGzlab/OmicsClaw · omicsclaw/surfaces/desktop/server.py:171
_OUTPUT_RUNNING_STALE_SECONDS = 30 * 60
_SKILL_EVOLUTION_TOKEN_ENV = "OMICSCLAW_SKILL_EVOLUTION_TOKEN"
_SKILL_EVOLUTION_TOKEN_FD_ENV = "OMICSCLAW_SKILL_EVOLUTION_TOKEN_FD"
_SKILL_EVOLUTION_TOKEN_READ_TIMEOUT_SECONDS = 2.0
_SKILL_EVOLUTION_AUTH_STATE_ATTR = "skill_evolution_bearer_authority"
# Authenticated Backend identity for operation leases. This value is created
# once per Python server process, is never accepted from the environment, and
# is intentionally omitted from the public remote liveness payload. A client
# must re-acquire ownership after any Backend restart instead of dispatching an
# old resource id into a replacement process.
_BACKEND_PROCESS_EPOCH = secrets.token_hex(32)
_FILE_TREE_IGNORED_DIRS: frozenset[str] = frozenset(
{
"node_modules",
".git",
"dist",
".next",
"__pycache__",