nvflare.tool.agent.skill_manifest module
Build and validate the manifest for NVFLARE-owned agent skills.
- exception SkillManifestError(code: str, message: str, hint: str = '', detail: str = '')[source]
Bases:
ValueErrorManifest loading error surfaced through agent CLI structured error handling.
- build_skill_manifest(skills_root: Path | str, *, source_type: str, nvflare_version: str = '', include_analysis_files: bool = True) dict[source]
Build the released-skill manifest for a skills source root.
- copy_released_skills_to_bundle(skills_root: Path | str, bundle_root: Path | str, *, nvflare_version: str = '', include_analysis_files: bool = True) dict[source]
Copy valid released skills and write their manifest into a package bundle directory.
- skill_tree_hash(skill_dir: Path, *, exclude_names: set[str] | None = None) str[source]
Hash a skill directory by relative paths and file contents.