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:
1 parent
783e4c595f
commit
3f9ba54477
15 files changed
+2398
-282
No files matched your search
@@ -95,6 +95,34 @@
|
||||
};
|
||||
};
|
||||
|
||||
packages = lib.genAttrs [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ] (
|
||||
system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
# what test/demo.py puts on PATH for Hermes and its checks, and
|
||||
# nothing else: the tools a guest's shell has, from the store, as
|
||||
# the confined unit's closure gives them
|
||||
demo-tools = pkgs.buildEnv {
|
||||
name = "hermes-guest-demo-tools";
|
||||
paths = [
|
||||
(pkgs.python3.withPackages (ps: [ ps.pip ]))
|
||||
pkgs.nodejs
|
||||
pkgs.socat
|
||||
pkgs.bash
|
||||
pkgs.coreutils
|
||||
pkgs.findutils
|
||||
pkgs.gnugrep
|
||||
pkgs.gnused
|
||||
pkgs.gnutar
|
||||
pkgs.gzip
|
||||
pkgs.unzip
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
formatter = lib.genAttrs [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ] (
|
||||
system: nixpkgs.legacyPackages.${system}.nixfmt
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user