mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-21 07:55:08 +00:00
Enable the computer_use toolset beyond macOS, matching cua-driver's cross-platform runtime support. - install: install_cua_driver() dispatches per-OS (Windows install.ps1 via PowerShell, macOS/Linux install.sh); arch pre-check recognizes Windows (AMD64/ARM64) and Linux (x86_64/aarch64); `hermes update` and `hermes computer-use install --upgrade` run cross-platform. - prompt/UI: COMPUTER_USE_GUIDANCE is now platform-aware (no macOS-only wording on Windows/Linux; Windows gets the dispatch:"foreground" note); de-macOS'd toolset labels, descriptions, and CLI help. - version: removed the non-functional HERMES_CUA_DRIVER_VERSION "pin" (it never gated anything); added a per-OS MIN_CUA_DRIVER_VERSION soft warning (macOS 0.5.0, the Rust build 0.2.16), surfaced at startup and in `computer-use status`. Local 0.0.0-* builds are exempt. - deps: lazy-install the optional `mcp` SDK via tools/lazy_deps.py on first use (tool.computer_use -> mcp==1.26.0) instead of dead-ending on "No module named 'mcp'"; clearer backend-unavailable hint; don't cache a backend whose start() failed. - tests: cross-platform install, version-warning, lazy-install, and corrected platform-gating tests (Linux gated off, Windows supported). - docs: computer-use.md (EN + zh-Hans) updated for cross-platform use, local-build testing, and the removed version pin. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| docs | ||
| i18n/zh-Hans/docusaurus-plugin-content-docs/current | ||
| scripts | ||
| src | ||
| static | ||
| .gitignore | ||
| docusaurus.config.ts | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| sidebars.ts | ||
| tsconfig.json | ||
Website
This website is built using Docusaurus, a modern static website generator.
Installation
yarn
Local Development
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
USE_SSH=true yarn deploy
Not using SSH:
GIT_USER=<Your GitHub username> yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
Diagram Linting
CI runs ascii-guard to lint docs for ASCII box diagrams. Use Mermaid (````mermaid`) or plain lists/tables instead of ASCII boxes to avoid CI failures.