Fixes #1394 — _combined_redact() crashes with TypeError on older hermes-agent builds that lack the 'force' kwarg in redact_sensitive_text(). Wrap the call in try/except to gracefully fall back. Fixes #1397 — Two bugs in the code block tree-view renderer: 1. Newlines in data-raw HTML attribute are collapsed to spaces by the browser (HTML spec). Encode \n as to preserve multi-line content. 2. jsyaml lazy-load was never triggered when the library wasn't loaded yet. Now defers init and retries after _loadJsyamlThen() completes. Fixes #1389 — fix_credential_permissions() now honors HERMES_SKIP_CHMOD=1 as a complete bypass, and when HERMES_HOME_MODE is set, only strips world bits (0o007) instead of forcing chmod 0600 — preserving intentional group access for Docker setups. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| agent_sessions.py | ||
| auth.py | ||
| background.py | ||
| clarify.py | ||
| commands.py | ||
| config.py | ||
| gateway_watcher.py | ||
| helpers.py | ||
| metering.py | ||
| models.py | ||
| onboarding.py | ||
| profiles.py | ||
| providers.py | ||
| routes.py | ||
| session_ops.py | ||
| startup.py | ||
| state_sync.py | ||
| streaming.py | ||
| terminal.py | ||
| updates.py | ||
| upload.py | ||
| workspace.py | ||