Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
docs(hook-server): the sh shim is the only /control/ client now
enes81f1364e3ca9
diff --git a/src/core/agents/hook-server.ts b/src/core/agents/hook-server.tsindex e53e22de2..ac53aecee 100644--- a/src/core/agents/hook-server.ts+++ b/src/core/agents/hook-server.ts@@ -44,10 +44,12 @@ function parseForm(body: string): Record<string, string> {}/**- * Read a /control/ request body in either dialect. The desktop's own callers send JSON; the- * POSIX-sh shim sends form-urlencoded with `nodeId` plus one `arg.<name>` field per flag,- * because `curl --data-urlencode` is the only escaping sh can be trusted with (hand-built JSON- * would break on the first quote in a `--prompt` or `--html` value). Exported for tests.+ * Read a /control/ request body in either dialect. The POSIX-sh shim — since it retired the Node+ * CLI, the only client there is — sends form-urlencoded: `nodeId` plus one `arg.<name>` field per+ * flag, because `curl --data-urlencode` is the only escaping sh can be trusted with (hand-built+ * JSON would break on the first quote in a `--prompt` or `--html` value). The JSON dialect is+ * kept because the route is a stable local API that a session predating an app upgrade may still+ * be holding a copy of. Exported for tests.*/export function parseControlBody(raw: string,