"""Template for user context providers.

Files starting with '_' are not loaded. Copy this file without the underscore prefix.
Place in context_providers/ at project root. Reload with reload_tools.
"""

# Required fields
name = "my_provider"
description = "One-line description of what dynamic data this injects."

# Set to True to inject in ALL profiles automatically (like public_url).
# Set to False (default) to inject only in profiles that list this name
# in their context_providers config field.
global_provider = False


async def get_context() -> str | None:
    """Return a string to inject as a system message, or None to skip."""
    # Example: return current hostname
    # import socket
    # return f"[System] Hostname: {socket.gethostname()}"
    return None
