Backup automatico script del 2026-09-29 07:00

This commit is contained in:
daniele committed 2026-09-29 07:00:02 +02:00
1 parent 09dcbbdadb
commit a8ddcdd255
2 files changed
+83 -9

No files matched your search

+4 -1
View File
@@ -10,12 +10,15 @@ from . import tools
LOGGER = logging.getLogger("loogle_mcp.server")
# Versioni supportate, dalla più recente: si risponde con quella chiesta dal client
# se supportata, altrimenti con la più recente (negoziazione MCP lifecycle)
SUPPORTED_PROTOCOL_VERSIONS = ("2025-06-18", "2025-03-26", "2024-11-05")
SUPPORTED_PROTOCOL_VERSIONS = ("2025-11-25", "2025-06-18", "2025-03-26", "2024-11-05")
def negotiate_protocol_version(requested: Optional[str]) -> str:
if requested in SUPPORTED_PROTOCOL_VERSIONS:
return requested
# Client più nuovi: accettiamo la richiesta dichiarando la più recente che implementiamo
if requested:
LOGGER.info("protocollo sconosciuto %s — negozio %s", requested, SUPPORTED_PROTOCOL_VERSIONS[0])
return SUPPORTED_PROTOCOL_VERSIONS[0]
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.