← Về thư mục
scan_skills.py
- scanner_version · function · L64-L68 — def scanner_version() -> str
- llm_model_id · function · L71-L72 — def llm_model_id() -> str
- content_hash · function · L75-L92 — def content_hash(skill_dir: Path) -> str
- build_scanner · function · L95-L112 — def build_scanner() -> SkillScanner
- severity_badge · function · L115-L124 — def severity_badge(sev: str) -> str
- generate_report · function · L127-L213 — def generate_report(report, run_meta: dict | None = None) -> str
- _enum_value · function · L216-L218 — def _enum_value(value) -> str
- _finding_dict · function · L221-L236 — def _finding_dict(finding) -> dict
- _finding_from_dict · function · L239-L253 — def _finding_from_dict(data: dict) -> Finding
- _result_from_dict · function · L256-L268 — def _result_from_dict(data: dict) -> ScanResult
- generate_json_report · function · L271-L323 — def generate_json_report(report, skill_meta: dict | None = None, run_meta: dict | None = None) -> dict
- load_previous_report · function · L326-L335 — def load_previous_report(path: str | None = None) -> dict | None
- cache_invalidation_reason · function · L338-L370 — def cache_invalidation_reason(previous: dict | None, max_age_days: int) -> str | None
- scan_with_progress · function · L373-L531 — def scan_with_progress( scanner: SkillScanner, skills_dir: str, *, workers: int = DEFAULT_WORKERS, previous: dict | None = None, ) -> tuple[Report, dict, dict]
- worker_scanner · function · L448-L451 — def worker_scanner() -> SkillScanner
- scan_one · function · L453-L462 — def scan_one(skill_dir: Path) -> tuple[Path, ScanResult | None, str | None, float]
- parse_args · function · L534-L554 — def parse_args(argv=None) -> argparse.Namespace
- main · function · L557-L611 — def main(argv=None)