Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions contributors/emails/seraphine@Seraphines-Mac-Studio.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Bartok9
# Seraphine Mac Studio local email on Bartok9 PR tips (per-PR attribution; Teknium/Daniel 2026-08-01)
7 changes: 6 additions & 1 deletion hermes_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,12 @@ def display_hermes_home() -> str:
"""
home = get_hermes_home()
try:
return "~/" + str(home.relative_to(Path.home()))
# ``as_posix()`` keeps the separator style consistent with the ``~/``
# prefix. On Windows ``str(WindowsPath(...))`` uses backslashes, which
# would render a mixed path like ``~/AppData\Local\hermes`` (POSIX
# ``~/`` joined to a Windows tail). ``as_posix()`` yields
# ``~/AppData/Local/hermes`` so the whole display string is uniform.
return "~/" + home.relative_to(Path.home()).as_posix()
except ValueError:
return str(home)

Expand Down
Loading