Outcome of a :func:`run_skill` call. ``validation`` is populated only when the skill declared a deck-mode artifact and the post-run validator was therefore invoked; otherwise ``None``. ``output_path`` is the KB-relative path the runner enforced via ``output_path_template``, or ``Non
| 46 | |
| 47 | @dataclass |
| 48 | class SkillRunResult: |
| 49 | """Outcome of a :func:`run_skill` call. |
| 50 | |
| 51 | ``validation`` is populated only when the skill declared a |
| 52 | deck-mode artifact and the post-run validator was therefore invoked; |
| 53 | otherwise ``None``. ``output_path`` is the KB-relative path the |
| 54 | runner enforced via ``output_path_template``, or ``None`` if the |
| 55 | skill left output placement to itself. |
| 56 | """ |
| 57 | |
| 58 | skill_name: str |
| 59 | output_path: Optional[Path] = None |
| 60 | validation: Optional[Any] = None # openkb.deck.validator.ValidationResult |
| 61 | metadata: dict = field(default_factory=dict) # skill's ``od:`` block |
| 62 | |
| 63 | |
| 64 | async def run_skill( |
no outgoing calls