hermes-agent/skills/productivity
Jérôme Benoit c34d3f4807 fix(skills): factor HERMES_HOME resolution into shared _hermes_home helper
The three google-workspace scripts (setup.py, google_api.py, gws_bridge.py)
each had their own way of resolving HERMES_HOME:

- setup.py imported hermes_constants (crashes outside Hermes process)
- google_api.py used os.getenv inline (no strip, no empty handling)
- gws_bridge.py defined its own local get_hermes_home() (duplicate)

Extract the common logic into _hermes_home.py which:
- Delegates to hermes_constants when available (profile support, etc.)
- Falls back to os.getenv with .strip() + empty-as-unset handling
- Provides display_hermes_home() with ~/ shortening for profiles

All three scripts now import from _hermes_home instead of duplicating.

7 regression tests cover the fallback path: env var override, default
~/.hermes, empty env var, display shortening, profile paths, and
custom non-home paths.

Closes #12722
2026-04-24 16:45:27 -07:00
..
google-workspace fix(skills): factor HERMES_HOME resolution into shared _hermes_home helper 2026-04-24 16:45:27 -07:00
linear feat(skills): add Linear project management skill (#1230) 2026-03-13 21:20:32 -07:00
maps feat(maps): add guest_house, camp_site, and dual-key bakery lookup (#13398) 2026-04-21 00:52:25 -07:00
nano-pdf Release set of skills 2026-02-25 05:21:17 -08:00
notion feat: secure skill env setup on load (core #688) 2026-03-13 03:14:04 -07:00
ocr-and-documents docs(skill): add split, merge, search examples to ocr-and-documents skill (#2461) 2026-03-22 04:31:22 -07:00
powerpoint fix: rename misspelled directory 'fouth-edition' to 'fourth-edition' 2026-03-03 09:21:28 +03:00
DESCRIPTION.md Release set of skills 2026-02-25 05:21:17 -08:00