ooai_skills.sync¶
Pull skills from MinIO to local cache + flattened view.
Attributes¶
Functions¶
|
Pull skills from MinIO to local cache and rebuild all flattened views. |
|
Pull a single skill by name from the registry. Returns True if found. |
|
Search the remote MinIO index for skills matching a pattern. |
|
Module Contents¶
- ooai_skills.sync.SkillFilter¶
- ooai_skills.sync.pull_all(settings, *, console=None, use_copy=False, skill_filter=None)¶
Pull skills from MinIO to local cache and rebuild all flattened views.
- Parameters:
skill_filter (SkillFilter | None) – Optional predicate to select which skills to download. If None, all skills are downloaded.
settings (ooai_skills.settings.OoaiSkillsSettings)
console (rich.console.Console | None)
use_copy (bool)
- Return type:
None
- ooai_skills.sync.pull_single(name, settings, *, console=None, use_copy=False)¶
Pull a single skill by name from the registry. Returns True if found.
- Parameters:
name (str)
settings (ooai_skills.settings.OoaiSkillsSettings)
console (rich.console.Console | None)
use_copy (bool)
- Return type:
- ooai_skills.sync.remote_search(pattern, settings, *, console=None)¶
Search the remote MinIO index for skills matching a pattern.
- Parameters:
pattern (str)
settings (ooai_skills.settings.OoaiSkillsSettings)
console (rich.console.Console | None)
- Return type:
- ooai_skills.sync.rebuild_flat_view(idx, packs_dir, dest_dir, *, console=None, use_copy=False)¶
- Parameters:
packs_dir (pathlib.Path)
dest_dir (pathlib.Path)
console (rich.console.Console | None)
use_copy (bool)
- Return type:
None