""" Redis 短命协调包(对齐 prompt/14)。 用途:Stream 队列、短幂等、限流、token 缓存。 不用:六态、Graph checkpoint、Worker 全局单例、TMS 伪造开关。 命名说明: - Redis URL 里的 /1 叫「逻辑库号 db1」,与现网 /0 隔离(Redis 本身没有 inquiry_robot 这种库名)。 - 键前缀 inquiry_robot: 才是可读业务名;二者一起用。 """ from agent.redis_coord.client import RedisClient, create_redis_client from agent.redis_coord.idempotency import try_acquire as try_acquire_idempotency from agent.redis_coord.rate_limit import RateLimitResult, allow as rate_limit_allow from agent.redis_coord.runtime import ( RedisRuntime, get_redis_runtime, shutdown_redis_runtime, ) from agent.redis_coord.token_cache import get_wecom_token, set_wecom_token __all__ = [ "RedisClient", "RedisRuntime", "RateLimitResult", "create_redis_client", "get_redis_runtime", "shutdown_redis_runtime", "try_acquire_idempotency", "rate_limit_allow", "get_wecom_token", "set_wecom_token", ]