chore(oss): audit the server package and resync the SDK mirrors

Split the 657-line operation service into eor, submit, and verify
modules, add the AGENT_REVOKED and KEY_RETIRED codes the Backend already
emits, and condense every multi-line comment. Mirror Node, Python, and
Go at 2.1.0 with the deep-health 503, non-idempotent retry, rotation
grace, and path-encoding fixes. Document which routes and response
fields the self-hosted server does not provide.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
This commit is contained in:
雷电芽衣 committed 2026-09-03 20:48:20 -04:00
1 parent 2010175a82
commit bc6983a62e
364 files changed
+10180 -23349

No files matched your search

+54 -4
View File
@@ -19,17 +19,37 @@ from .types import (
EAR,
Agent,
AgentKey,
AgentAssignment,
AdminEvent,
AuthMeUser,
CurrentOrganization,
DependencyHealth,
ErrorCode,
EpochAnchor,
MemberEntry,
Operation,
Receipt,
Epoch,
Export,
Organization,
User,
WebhookEntry,
AdminAction,
AgentStatus,
ExportStatus,
INTEGRATION_TYPES,
IntegrationType,
KeyStatus,
RbacRole,
RegisterAgentRequest,
RegisterAgentResponse,
UpdateAgentRequest,
UpdateAgentResponse,
GetAgentResponse,
ListAgentsResponse,
DeleteAgentResponse,
FreezeAgentResponse,
UnfreezeAgentResponse,
SubmitOperationResponse,
GetOperationResponse,
VerifyOperationResponse,
@@ -39,14 +59,19 @@ from .types import (
CreateExportResponse,
GetExportResponse,
ListExportsResponse,
ListWebhooksResponse,
RegisterWebhookResponse,
ListMembersResponse,
ListAdminEventsResponse,
JWKSResponse,
AuthRegisterResponse,
AuthLoginResponse,
GetMeResponse,
IssueApiTokenResponse,
IssueTokenResponse,
RotateApiTokenResponse,
HealthResponse,
INTEGRATION_TYPES,
IntegrationType,
DeepHealthResponse,
)
__all__ = [
@@ -65,21 +90,41 @@ __all__ = [
"base64url_decode",
"generate_nonce",
"generate_uuidv7",
"AdminAction",
"AgentStatus",
"ExportStatus",
"INTEGRATION_TYPES",
"IntegrationType",
"KeyStatus",
"RbacRole",
"EOR",
"EAR",
"Agent",
"AgentAssignment",
"AgentKey",
"AdminEvent",
"AuthMeUser",
"CurrentOrganization",
"DependencyHealth",
"ErrorCode",
"EpochAnchor",
"MemberEntry",
"Operation",
"Receipt",
"Epoch",
"Export",
"Organization",
"User",
"WebhookEntry",
"RegisterAgentRequest",
"UpdateAgentRequest",
"RegisterAgentResponse",
"UpdateAgentResponse",
"GetAgentResponse",
"ListAgentsResponse",
"DeleteAgentResponse",
"FreezeAgentResponse",
"UnfreezeAgentResponse",
"SubmitOperationResponse",
"GetOperationResponse",
"VerifyOperationResponse",
@@ -89,12 +134,17 @@ __all__ = [
"CreateExportResponse",
"GetExportResponse",
"ListExportsResponse",
"ListWebhooksResponse",
"RegisterWebhookResponse",
"ListMembersResponse",
"ListAdminEventsResponse",
"JWKSResponse",
"AuthRegisterResponse",
"AuthLoginResponse",
"GetMeResponse",
"IssueApiTokenResponse",
"IssueTokenResponse",
"RotateApiTokenResponse",
"HealthResponse",
"INTEGRATION_TYPES",
"IntegrationType",
"DeepHealthResponse",
]