hermes-agent/tools/environments
Teknium ad4feeaf0d
feat: wire skills.external_dirs into all remaining discovery paths
The config key skills.external_dirs and core resolution (get_all_skills_dirs,
get_external_skills_dirs in agent/skill_utils.py) already existed but several
code paths still only scanned SKILLS_DIR. Now external dirs are respected
everywhere:

- skills_categories(): scan all dirs for category discovery
- _get_category_from_path(): resolve categories against any skills root
- skill_manager_tool._find_skill(): search all dirs for edit/patch/delete
- credential_files.get_skills_directory_mount(): mount all dirs into
  Docker/Singularity containers (external dirs at external_skills/<idx>)
- credential_files.iter_skills_files(): list files from all dirs for
  Modal/Daytona upload
- tools/environments/ssh.py: rsync all skill dirs to remote hosts
- gateway _check_unavailable_skill(): check disabled skills across all dirs

Usage in config.yaml:
  skills:
    external_dirs:
      - ~/repos/agent-skills/hermes
      - /shared/team-skills
2026-04-03 21:14:42 -07:00
..
__init__.py feat(environments): add Daytona cloud sandbox backend 2026-03-05 10:02:21 -08:00
base.py Merge branch 'main' into rewbs/tool-use-charge-to-subscription 2026-03-31 08:48:54 +09:00
daytona.py feat: mount skills directory into all remote backends with live sync (#3890) 2026-03-30 02:45:41 -07:00
docker.py feat: wire skills.external_dirs into all remaining discovery paths 2026-04-03 21:14:42 -07:00
local.py fix(terminal): preserve partial output when command times out (#3868) 2026-03-29 21:51:44 -07:00
managed_modal.py Fixes and refactors enabled by recent updates to main. 2026-03-31 09:29:59 +09:00
modal.py feat: add .zip document support and auto-mount cache dirs into remote backends (#4846) 2026-04-03 13:16:26 -07:00
modal_common.py Fixes and refactors enabled by recent updates to main. 2026-03-31 09:29:59 +09:00
persistent_shell.py fix(shell): exponential backoff for persistent shell polling (#2996) 2026-03-25 10:56:48 -07:00
singularity.py feat: wire skills.external_dirs into all remaining discovery paths 2026-04-03 21:14:42 -07:00
ssh.py feat: wire skills.external_dirs into all remaining discovery paths 2026-04-03 21:14:42 -07:00