Files
2026-06-27 16:21:30 -07:00

14 lines
407 B
Python

"""Shared Claude Code environment policy for FCC client surfaces."""
from __future__ import annotations
CLAUDE_CODE_AUTO_COMPACT_WINDOW = "190000"
CLAUDE_BINARY_NAME = "claude"
CLAUDE_NO_AUTH_SENTINEL = "fcc-no-auth"
def claude_auth_token(auth_token: str) -> str:
"""Return the Claude Code auth marker for proxy-auth or no-auth sessions."""
return auth_token.strip() or CLAUDE_NO_AUTH_SENTINEL