Mount a skill directory for sandbox access. Args: skill_id: Unique identifier for the skill. skill_dir: Path to the skill directory.
(self, skill_id: str, skill_dir: Union[str,
Path])
| 434 | return self._sandbox |
| 435 | |
| 436 | def mount_skill_directory(self, skill_id: str, skill_dir: Union[str, |
| 437 | Path]): |
| 438 | """ |
| 439 | Mount a skill directory for sandbox access. |
| 440 | |
| 441 | Args: |
| 442 | skill_id: Unique identifier for the skill. |
| 443 | skill_dir: Path to the skill directory. |
| 444 | """ |
| 445 | self._skill_dirs[skill_id] = str(Path(skill_dir).resolve()) |
| 446 | # Reset sandbox to recreate with new mount |
| 447 | self._sandbox = None |
| 448 | |
| 449 | def get_skill_sandbox_path(self, skill_id: str) -> str: |
| 450 | """ |
no test coverage detected