From 328f00eb45b2e9143d9701f64e4b4cfc5f8f1f4b Mon Sep 17 00:00:00 2001 From: gbarnai Date: Sun, 29 Nov 2026 14:59:43 -0500 Subject: [PATCH 1/3] feat: show a gone agent program as not found and refuse to connect from a disk image An agent entry that names a formMCP program which is no longer on disk now reads as missing instead of connected: the card says Not found with the path, agents status reports missing with the path in program, and Connect writes the running copy in its place. On macOS, a program under /Volumes is checked with statfs (libc, macOS only). A quarantined volume, or a read-only one with a Mac file system, is treated as a disk image and connecting an agent is refused with a note to install the app first; an external drive is accepted. The host_files tests now write a stand-in program inside each scratch home instead of a path that does not exist. --- .docs/wiki/Agents.md | 6 +- CHANGELOG.md | 5 ++ Cargo.lock | 1 + NOTICE.md | 1 + core/Cargo.toml | 3 + core/HASHOUT_LOG.md | 16 +++++ core/src/clients.rs | 123 +++++++++++++++++++++++------------- core/src/lib.rs | 1 + core/src/mounts.rs | 59 +++++++++++++++++ core/tests/host_files.rs | 99 +++++++++++++++++++++++++---- frontend/HASHOUT_LOG.md | 9 +++ frontend/src/main.ts | 9 ++- frontend/src/styles/app.css | 4 ++ 13 files changed, 278 insertions(+), 58 deletions(-) create mode 100644 core/src/mounts.rs diff --git a/.docs/wiki/Agents.md b/.docs/wiki/Agents.md index a0be82f..5a829a0 100644 --- a/.docs/wiki/Agents.md +++ b/.docs/wiki/Agents.md @@ -15,12 +15,16 @@ For every project, add it to your user account instead: in the formMCP window, p ```bash ./formmcp cli agents install # Claude Code, Codex, Cursor and Antigravity ./formmcp cli agents install codex,cursor # some of them: claude, codex, cursor, antigravity -./formmcp cli agents status # connected, not connected, taken by another server, or no client +./formmcp cli agents status # connected, missing, not connected, taken by another server, or no client ./formmcp cli agents remove ``` Claude Code is set up with `claude mcp add --scope user formmcp` (only a user-scope entry counts as connected; a project's `.mcp.json`, like this repository's, is left alone); Codex gets `[mcp_servers.formmcp]` in `~/.codex/config.toml` (or `$CODEX_HOME`); Cursor gets `mcpServers.formmcp` in `~/.cursor/mcp.json`; Antigravity (Google's `agy` program) gets `mcpServers.formmcp` in `~/.gemini/config/mcp_config.json`, edited the way Cursor's file is (an older `~/.gemini/antigravity-cli/mcp_config.json` is never read or changed; the status says when only that one exists). formMCP finds the `claude` program on the PATH it was started with, in the known install folders, or on your shell's PATH, so the window finds it however it was opened; `FORMMCP_CLAUDE_BIN` names it when it is somewhere else. Each file is copied to `.bak-