From 03ee77b0e131706cd6dee41e3b28d7efe5c5f1c4 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 4 Jan 2026 00:09:18 +0100 Subject: [PATCH] docs: add mac config sync note --- docs/clawdis-mac.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/clawdis-mac.md b/docs/clawdis-mac.md index 949751dc4..0594485b4 100644 --- a/docs/clawdis-mac.md +++ b/docs/clawdis-mac.md @@ -31,6 +31,9 @@ Author: steipete · Status: draft spec · Date: 2025-12-20 - The gateway port is configurable via `gateway.port` or `CLAWDIS_GATEWAY_PORT` (default 18789). The mac app reads that value for launchd, probes, and remote SSH tunnels. - The mac app connects to the bridge as a **node** and advertises capabilities/commands. - Agent‑facing actions are exposed via `node.invoke` (no local control socket). +- The mac app watches `~/.clawdis/clawdis.json` and switches modes live when `gateway.mode` or `gateway.remote.url` changes. +- If `gateway.mode` is unset but `gateway.remote.url` is set, the mac app treats it as remote mode. +- Changing connection mode in the mac app writes `gateway.mode` (and `gateway.remote.url` in remote mode) back to the config file. ### Node commands (mac) - Canvas: `canvas.present|navigate|eval|snapshot|a2ui.*`