← Về thư mục
openai4s/server/skill_network_admission.py
- SkillNetworkBinding · class · L46-L66 — class SkillNetworkBinding
- provenance · method · L55-L66 — def provenance(self) -> dict[str, Any]
- AdmissionDecision · class · L70-L101 — class AdmissionDecision
- as_dict · method · L79-L98 — def as_dict(self) -> dict[str, Any]
- refusal_message · method · L100-L101 — def refusal_message(self) -> str
- reset_bindings · function · L104-L111 — def reset_bindings(frame_id: str | None = None) -> None
- bind_skill_load · function · L114-L143 — def bind_skill_load( *, frame_id: str | None, action_group_id: str | None, skill_id: str, version: str, document_digest: str, capability: NetworkCapability, source: str, ) -> SkillNetworkBinding
- bindings_for · function · L146-L151 — def bindings_for(frame_id: str | None) -> tuple[SkillNetworkBinding, ...]
- restore_bindings · function · L154-L247 — def restore_bindings( frame_id: str | None, events: Sequence[Mapping[str, Any]] ) -> tuple[SkillNetworkBinding, ...]
- use_frame · function · L250-L254 — def use_frame(frame_id: str | None) -> Any
- reset_frame · function · L257-L258 — def reset_frame(token: Any) -> None
- frame_scope · class · L261-L281 — class frame_scope
- init · method · L262-L265 — def init(self, frame_id: str | None) -> None
- enter · method · L267-L275 — def enter(self) -> "frame_scope"
- exit · method · L277-L281 — def exit(self, *exc: object) -> None
- host_only_declared_domains · function · L284-L304 — def host_only_declared_domains(frame_id: str | None = None) -> tuple[str, ...] | None
- active_host_only_domains · function · L307-L311 — def active_host_only_domains() -> tuple[str, ...] | None
- host_only_boundary_holds · function · L314-L325 — def host_only_boundary_holds(status: Mapping[str, Any] | None) -> bool
- _raw_env_enabled · function · L328-L332 — def _raw_env_enabled() -> bool
- _deny · function · L335-L352 — def _deny( *, sink: str, reason: str, blocked_on: Sequence[str], bindings: Sequence[SkillNetworkBinding], sandbox: Mapping[str, Any] | None, extra: dict[str, Any] | None = None, ) -> AdmissionDecision
- _raw_required_denial · function · L355-L388 — def _raw_required_denial( *, sink: str, bindings: Sequence[SkillNetworkBinding], sandbox: Mapping[str, Any] | None, ) -> AdmissionDecision | None
- _allow · function · L391-L406 — def _allow( *, sink: str, bindings: Sequence[SkillNetworkBinding], sandbox: Mapping[str, Any] | None, extra: dict[str, Any] | None = None, ) -> AdmissionDecision
- status_view · function · L409-L419 — def status_view(status: Mapping[str, Any] | None) -> dict[str, Any] | None
- admit · function · L422-L482 — def admit( *, sink: str, frame_id: str | None, sandbox_status: Mapping[str, Any] | None, command_domains: Sequence[str] = (), urls: Sequence[str] = (), ) -> AdmissionDecision
- _admit_shell_domains · function · L485-L515 — def _admit_shell_domains( host_only: Sequence[SkillNetworkBinding], command_domains: Sequence[str], sandbox_status: Mapping[str, Any] | None, bindings: Sequence[SkillNetworkBinding], ) -> AdmissionDecision
- _admit_host_fetch · function · L518-L548 — def _admit_host_fetch( bindings: Sequence[SkillNetworkBinding], urls: Sequence[str], ) -> AdmissionDecision
- host_only_declared_domains_from · function · L551-L557 — def host_only_declared_domains_from( bindings: Sequence[SkillNetworkBinding], ) -> tuple[str, ...]
- domain_in_declared · function · L560-L574 — def domain_in_declared(host: str, declared: Sequence[str]) -> bool
- raw_required_binding · function · L577-L597 — def raw_required_binding(frame_id: str | None) -> SkillNetworkBinding | None
- admit_cell_preflight · function · L600-L616 — def admit_cell_preflight(*, frame_id: str | None) -> AdmissionDecision
- admit_cell · function · L619-L628 — def admit_cell( *, frame_id: str | None, sandbox_status: Mapping[str, Any] | None, ) -> AdmissionDecision
- admit_shell · function · L631-L642 — def admit_shell( *, frame_id: str | None, sandbox_status: Mapping[str, Any] | None, command_domains: Sequence[str] = (), ) -> AdmissionDecision
- constrain_check_url · function · L645-L662 — def constrain_check_url(url: str) -> str | None
- load_event_metadata · function · L665-L686 — def load_event_metadata( *, skill_id: str, version: str, document_digest: str, capability: NetworkCapability, action_group_id: str | None, source: str, binding_frame_id: str | None = None, ) -> dict[str, Any]