hermes-agent/scripts
Teknium ce430fed4c
installer: clarify why sudo is needed at every prompt (#1602)
* fix: Anthropic OAuth compatibility — Claude Code identity fingerprinting

Anthropic routes OAuth/subscription requests based on Claude Code's
identity markers. Without them, requests get intermittent 500 errors
(~25% failure rate observed). This matches what pi-ai (clawdbot) and
OpenCode both implement for OAuth compatibility.

Changes (OAuth tokens only — API key users unaffected):

1. Headers: user-agent 'claude-cli/2.1.2 (external, cli)' + x-app 'cli'
2. System prompt: prepend 'You are Claude Code, Anthropic's official CLI'
3. System prompt sanitization: replace Hermes/Nous references
4. Tool names: prefix with 'mcp_' (Claude Code convention for non-native tools)
5. Tool name stripping: remove 'mcp_' prefix from response tool calls

Before: 9/12 OK, 1 hard fail, 4 needed retries (~25% error rate)
After: 16/16 OK, 0 failures, 0 retries (0% error rate)

* installer: clarify why sudo is needed at every prompt

Every sudo prompt now explicitly states what packages are being installed
and that Hermes Agent itself does not require or retain root access.
Covers system packages, build tools, and Playwright browser deps.
2026-03-16 17:43:48 -07:00
..
whatsapp-bridge Merge PR #292: feat(whatsapp): native media attachments for images, videos and documents 2026-03-05 08:35:13 -08:00
discord-voice-doctor.py feat(voice): add discord-voice-doctor diagnostic script 2026-03-15 05:20:17 -07:00
hermes-gateway Enhance CLI with multi-platform messaging integration and configuration management 2026-02-02 19:01:51 -08:00
install.cmd feat: Windows native support via Git Bash 2026-03-02 22:03:29 -08:00
install.ps1 fix: fall back to ZIP download when git clone fails on Windows 2026-03-02 22:53:28 -08:00
install.sh installer: clarify why sudo is needed at every prompt (#1602) 2026-03-16 17:43:48 -07:00
kill_modal.sh Add kill_modal script to manage Modal applications and better handling of file and terminal tools 2026-02-12 05:37:14 +00:00
release.py feat: add versioning infrastructure and release script 2026-03-12 01:35:47 -07:00
sample_and_compress.py Cleanup time! 2026-02-20 23:23:32 -08:00