Add web auth, infinite-scroll, agent admission and review fixes across agent/server/web
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import re
|
||||
from datetime import datetime
|
||||
from typing import Literal
|
||||
from uuid import UUID
|
||||
|
||||
from pydantic import BaseModel, ConfigDict, Field, field_validator
|
||||
|
||||
@@ -39,6 +38,7 @@ ErrorCode = Literal[
|
||||
"internal",
|
||||
"not_ready",
|
||||
"agent_blocked",
|
||||
"agent_not_accepted",
|
||||
]
|
||||
|
||||
|
||||
@@ -233,12 +233,6 @@ class OutboxPage(PageEnvelope):
|
||||
items: list[NotificationOutboxItem]
|
||||
|
||||
|
||||
class UUIDStr(BaseModel):
|
||||
"""Helper to validate generated UUIDs."""
|
||||
|
||||
value: UUID
|
||||
|
||||
|
||||
class SystemSummaryResponse(BaseModel):
|
||||
agents_online: int
|
||||
agents_offline: int
|
||||
|
||||
Reference in New Issue
Block a user