mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-10-20 05:15:31 +00:00
A commit added a bullet and an em-dash inside two Write-Host/Write-Info string literals in scripts/install.ps1. The file has no UTF-8 BOM, so Windows PowerShell 5.1 (which the bootstrap runs the cached script under) reads it in the system ANSI code page (CP1252), not UTF-8. The em-dash's UTF-8 tail byte decodes to a smart close-quote (U+201D) that the tokenizer treats as a string delimiter, prematurely closing the string and desyncing the parser -- surfacing as the reported cascade of syntax errors at lines 1619/1770 and aborting the Windows GUI installer before it does anything. Non-ASCII bytes in '#' comments are harmless (skipped to end-of-line), so the file carried em-dashes in comments for months; only the two chars in code broke it. Convert all non-ASCII to ASCII equivalents (em-dash -> '--', already this file's own comment convention; bullet -> '-') and add a source-level test locking the pure-ASCII invariant, since Linux CI cannot run the PS installer. Fixes #66994 Fixes #67000 |
||
|---|---|---|
| .. | ||
| ci | ||
| lib | ||
| tests | ||
| whatsapp-bridge | ||
| add_contributor.py | ||
| analyze_livetest.py | ||
| benchmark_browser_eval.py | ||
| build_model_catalog.py | ||
| build_skills_index.py | ||
| check-windows-footguns.py | ||
| check_subprocess_stdin.py | ||
| contributor_audit.py | ||
| dev-sandbox.sh | ||
| discord-voice-doctor.py | ||
| docker_config_migrate.py | ||
| docker_rebootstrap_nous_session.py | ||
| hermes-gateway | ||
| install.cmd | ||
| install.ps1 | ||
| install.sh | ||
| install_psutil_android.py | ||
| iso-certify.py | ||
| keystroke_diagnostic.py | ||
| kill_modal.sh | ||
| lint_diff.py | ||
| LIVETEST_README.md | ||
| profile-tui.py | ||
| release.py | ||
| run_tests.sh | ||
| run_tests_parallel.py | ||
| sample_and_compress.py | ||
| tool_search_livetest.py | ||