演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
343 B
Python
14 lines
343 B
Python
from __future__ import annotations
|
|
|
|
from pydantic import AnyHttpUrl, BaseModel
|
|
|
|
|
|
class SandboxContext(BaseModel):
|
|
"""Typed context for sandbox integration. All fields optional by design."""
|
|
|
|
sandbox_url: AnyHttpUrl | None = None
|
|
sandbox_token: str | None = None # optional, if later needed for auth
|
|
|
|
|
|
__all__ = ["SandboxContext"]
|