初始化提交
This commit is contained in:
commit
887c1f449e
963 files changed
+166869
No files matched your search
@@ -0,0 +1,63 @@
|
||||
"""安全沙箱集成:封装对 Rust 沙箱服务的调用(司命授权 + 一炁事件回写)。"""
|
||||
|
||||
from app.core.config import SandboxSettings
|
||||
from app.integrations.sandbox.audit_sink import AuditEventSink
|
||||
from app.integrations.sandbox.auth import AuthorizationContext
|
||||
from app.integrations.sandbox.client import SandboxClient
|
||||
from app.integrations.sandbox.events import (
|
||||
CompositeEventSink,
|
||||
EventSink,
|
||||
LoggingEventSink,
|
||||
SandboxEvent,
|
||||
)
|
||||
from app.integrations.sandbox.exceptions import (
|
||||
SandboxBadRequest,
|
||||
SandboxError,
|
||||
SandboxExecFailed,
|
||||
SandboxNotFound,
|
||||
SandboxUnauthorized,
|
||||
SandboxUnavailable,
|
||||
)
|
||||
from app.integrations.sandbox.models import (
|
||||
CancelResponse,
|
||||
DirEntry,
|
||||
ExecRequest,
|
||||
ExecResponse,
|
||||
FileListRequest,
|
||||
FileListResponse,
|
||||
FileReadRequest,
|
||||
FileReadResponse,
|
||||
FileStatRequest,
|
||||
FileStatResponse,
|
||||
FileWriteRequest,
|
||||
FileWriteResponse,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"AuthorizationContext",
|
||||
"AuditEventSink",
|
||||
"CancelResponse",
|
||||
"CompositeEventSink",
|
||||
"DirEntry",
|
||||
"EventSink",
|
||||
"ExecRequest",
|
||||
"ExecResponse",
|
||||
"FileListRequest",
|
||||
"FileListResponse",
|
||||
"FileReadRequest",
|
||||
"FileReadResponse",
|
||||
"FileStatRequest",
|
||||
"FileStatResponse",
|
||||
"FileWriteRequest",
|
||||
"FileWriteResponse",
|
||||
"LoggingEventSink",
|
||||
"SandboxBadRequest",
|
||||
"SandboxClient",
|
||||
"SandboxError",
|
||||
"SandboxEvent",
|
||||
"SandboxExecFailed",
|
||||
"SandboxNotFound",
|
||||
"SandboxSettings",
|
||||
"SandboxUnauthorized",
|
||||
"SandboxUnavailable",
|
||||
]
|
||||
Reference in new issue
Block a user