mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-07-03 14:05:26 +02:00
14 lines
407 B
Python
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
|