feat: Endo-compatible host, downloads folder, Nix tools PATH

- the fake host serves a subset of @endo/agent-mcp-stdio's catalog,
  with its names, schemas and answers; evaluate takes only
  E(name).method(arg, ...), and __getMethodNames__
- demo.py --host endo: a real Endo daemon (endo-but-for-bots, llm),
  its guest served by the package's broker
- a downloads folder: the host writes, Hermes reads at ~/Downloads;
  BindReadOnlyPaths on Linux, a virtiofs share on macOS
- .#demo-tools: Hermes and the checks get their whole PATH from the store
- each run saves its MCP messages and a transcript
- the guide: tools as system calls, names as file descriptors;
  no Linux networking, but WebApps
- grants match a named URL before "download"

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-11-29 23:15:06 -06:00
1 parent 783e4c595f
commit 3f9ba54477
15 files changed
+2398 -282

No files matched your search

+9
View File
@@ -23,7 +23,16 @@ in
'';
};
options.services.hermes-guest.downloadsUser = lib.mkOption {
type = lib.types.str;
example = "toybox";
description = "The host's user, who writes downloadsDir; Hermes's group may read it.";
};
config = lib.mkIf cfg.enable {
systemd.tmpfiles.rules = [
"d ${cfg.downloadsDir} 0750 ${cfg.downloadsUser} ${config.services.hermes-agent.group} -"
];
services.hermes-llm-proxy = {
enable = true;
socket = cfg.llmSocket;