- harness/es.py: append-only event store + проекции (образец — кооп-портал) - harness/levels.py: уровни 1с/1м/1ч/1д, контекст ∝ масштабу - harness/scheduler.py: уровневые потоки, идемпотентные тики, absorbed-стабы - harness/isolated_runner.py + _llm_worker.py: LLM-тик в сабпроцессе (глобальный asyncio-рантайм Strands не переживает 2+ create_harness) - cli.py: init/task/tasks/status/events + requeue (написан самим минутным агентом) - 9router: отдельный ключ sk-simbiot, модель auto (glm-5.3 первым)
78 lines
1.8 KiB
Python
78 lines
1.8 KiB
Python
from .api_jwk import PyJWK, PyJWKSet
|
|
from .api_jws import (
|
|
PyJWS,
|
|
get_algorithm_by_name,
|
|
get_unverified_header,
|
|
register_algorithm,
|
|
unregister_algorithm,
|
|
)
|
|
from .api_jwt import PyJWT, decode, decode_complete, encode
|
|
from .exceptions import (
|
|
DecodeError,
|
|
ExpiredSignatureError,
|
|
ImmatureSignatureError,
|
|
InvalidAlgorithmError,
|
|
InvalidAudienceError,
|
|
InvalidIssuedAtError,
|
|
InvalidIssuerError,
|
|
InvalidKeyError,
|
|
InvalidSignatureError,
|
|
InvalidTokenError,
|
|
MissingRequiredClaimError,
|
|
PyJWKClientConnectionError,
|
|
PyJWKClientError,
|
|
PyJWKError,
|
|
PyJWKSetError,
|
|
PyJWTError,
|
|
)
|
|
from .jwks_client import PyJWKClient
|
|
from .warnings import InsecureKeyLengthWarning
|
|
|
|
__version__ = "2.15.1"
|
|
|
|
__title__ = "PyJWT"
|
|
__description__ = "JSON Web Token implementation in Python"
|
|
__url__ = "https://pyjwt.readthedocs.io"
|
|
__uri__ = __url__
|
|
__doc__ = f"{__description__} <{__uri__}>"
|
|
|
|
__author__ = "José Padilla"
|
|
__email__ = "hello@jpadilla.com"
|
|
|
|
__license__ = "MIT"
|
|
__copyright__ = "Copyright 2015-2026 José Padilla"
|
|
|
|
|
|
__all__ = [
|
|
"PyJWS",
|
|
"PyJWT",
|
|
"PyJWKClient",
|
|
"PyJWK",
|
|
"PyJWKSet",
|
|
"decode",
|
|
"decode_complete",
|
|
"encode",
|
|
"get_unverified_header",
|
|
"register_algorithm",
|
|
"unregister_algorithm",
|
|
"get_algorithm_by_name",
|
|
# Warnings
|
|
"InsecureKeyLengthWarning",
|
|
# Exceptions
|
|
"DecodeError",
|
|
"ExpiredSignatureError",
|
|
"ImmatureSignatureError",
|
|
"InvalidAlgorithmError",
|
|
"InvalidAudienceError",
|
|
"InvalidIssuedAtError",
|
|
"InvalidIssuerError",
|
|
"InvalidKeyError",
|
|
"InvalidSignatureError",
|
|
"InvalidTokenError",
|
|
"MissingRequiredClaimError",
|
|
"PyJWKClientConnectionError",
|
|
"PyJWKClientError",
|
|
"PyJWKError",
|
|
"PyJWKSetError",
|
|
"PyJWTError",
|
|
]
|