← Về thư mục
openai4s/skills_loader/capabilities.py
- InvalidSkillCapability · class · L37-L43 — class InvalidSkillCapability(ValueError)
- canonical_network_digest · function · L70-L80 — def canonical_network_digest(mode: str, domains: tuple[str, ...] | list[str]) -> str
- _norm_domain · function · L83-L98 — def _norm_domain(value: str) -> str
- _parse_bool_env · function · L101-L110 — def _parse_bool_env(name: str, default: bool = False) -> bool
- NetworkCapability · class · L114-L150 — class NetworkCapability
- public_dict · method · L124-L146 — def public_dict(self) -> dict[str, Any]
- grants_nothing · method · L149-L150 — def grants_nothing(self) -> bool
- unknown_capability · function · L153-L165 — def unknown_capability( *, source: str = "missing", declaration: str = "unknown" ) -> NetworkCapability
- declared_capability · function · L168-L184 — def declared_capability( mode: str, domains: tuple[str, ...] | list[str], *, source: str ) -> NetworkCapability
- legacy_capability · function · L187-L199 — def legacy_capability(*, source: str = "inventory") -> NetworkCapability
- validate_network_frontmatter_strict · function · L202-L241 — def validate_network_frontmatter_strict(raw_text: str) -> NetworkCapability | None
- parse_network_frontmatter · function · L244-L268 — def parse_network_frontmatter(raw_text: str) -> NetworkCapability | None
- _frontmatter_block · function · L271-L277 — def _frontmatter_block(text: str) -> str | None
- _parse_capabilities_network · function · L280-L301 — def _parse_capabilities_network(block: str) -> dict[str, Any] | None
- _collect_indented · function · L304-L321 — def _collect_indented( lines: list[str], start: int, *, base_indent: int ) -> tuple[list[str], int]
- _extract_network_mapping · function · L324-L341 — def _extract_network_mapping(nested_lines: list[str]) -> dict[str, Any] | None
- _split_top_level · function · L344-L362 — def _split_top_level(text: str) -> list[str]
- _parse_inline_network · function · L365-L386 — def _parse_inline_network(rest: str) -> dict[str, Any]
- _parse_network_body · function · L389-L426 — def _parse_network_body(body: list[str], *, indent: int) -> dict[str, Any]
- _parse_domain_list · function · L429-L441 — def _parse_domain_list(lines: list[str]) -> list[str]
- load_bundled_inventory · function · L445-L453 — def load_bundled_inventory() -> dict[str, Any]
- inventory_capability · function · L456-L490 — def inventory_capability( name: str, directory: str, collection: str | None ) -> NetworkCapability | None
- resolve_network_capability · function · L493-L528 — def resolve_network_capability( *, raw_text: str, name: str, directory: str, collection: str | None, source: str, ) -> NetworkCapability
- local_sandbox_hint · function · L531-L540 — def local_sandbox_hint() -> dict[str, Any]
- compose_readiness · function · L543-L584 — def compose_readiness( requirements: Any, network: NetworkCapability | None, *, sandbox_hint: Mapping[str, Any] | None = None, ) -> dict[str, Any]
- catalog_fields · function · L587-L601 — def catalog_fields( network: NetworkCapability, readiness: Mapping[str, Any] ) -> dict[str, Any]