diff --git a/README.md b/README.md index d12f6eb..de6fbb8 100644 --- a/README.md +++ b/README.md @@ -323,7 +323,7 @@ curl -H "Authorization: Bearer " http://127.0.0.1:8766/tabs Remote auth uses Ed25519 challenge/response. `--remote` domains default to port 443; explicit `host:port` endpoints are also supported. Use `browser-cli remote trust ENDPOINT KEY` to remember a key for later calls. Saved remote endpoints participate in aggregate list/count commands, where output is grouped by endpoint. #### n8n integration -browser-cli can't be installed inside an n8n container, so the [`n8n-nodes-browser-cli`](n8n-nodes-browser-cli/) community node talks to a remote `serve-http` gateway over HTTP(S). Run the gateway on the browser machine (behind TLS), drop its token into the node's credential, and drive tabs/DOM/extraction/raw commands from a workflow. See [`n8n-nodes-browser-cli/README.md`](n8n-nodes-browser-cli/README.md). +The n8n community node is published as [`n8n-nodes-browser-cli`](https://www.npmjs.com/package/n8n-nodes-browser-cli) on npm. It talks directly to a remote `browser-cli serve` endpoint over the same Ed25519-authenticated, ML-KEM-encrypted TCP protocol as the CLI remote client. Install it from n8n's Community Nodes UI, run `browser-cli serve` on the browser machine, paste the client key into the node credential, and drive tabs/DOM/extraction/raw commands from a workflow. See [`n8n-nodes-browser-cli/README.md`](n8n-nodes-browser-cli/README.md). #### Security model - **`serve` (TCP)** authenticates every connection with an Ed25519 signature over a fresh server nonce and, for modern clients, wraps the transport in an ML-KEM-768 (post-quantum) AEAD channel. Commands are gated by a **safe-only policy by default** — even a trusted key can only run read-only status/listing commands until you open more with `--allow-read-page`, `--allow-control`, `--allow-dangerous`, `--allow-keys`, or `--allow-all` (full control, including `dom.eval`/`storage.*`). `--no-auth` is rejected on non-loopback hosts. diff --git a/n8n-nodes-browser-cli/README.md b/n8n-nodes-browser-cli/README.md index 047cba6..2fcb46a 100644 --- a/n8n-nodes-browser-cli/README.md +++ b/n8n-nodes-browser-cli/README.md @@ -1,5 +1,5 @@ # n8n-nodes-browser-cli -An [n8n](https://n8n.io) community node that controls a **real, visible browser** +An [n8n](https://n8n.io) community node, published on npm as [`n8n-nodes-browser-cli`](https://www.npmjs.com/package/n8n-nodes-browser-cli), that controls a **real, visible browser** from your workflows via [browser-cli](https://chromewebstore.google.com/detail/browser-cli/hekaebjhbhhdbmakimmaklbblbmccahp). browser-cli drives a running browser through a native-messaging host and a @@ -83,8 +83,7 @@ npm test # pure unit tests: command mapping + crypto known-answer vecto npm run build # tsc -> dist/, copies the icon ``` -Then install into n8n as a [community node](https://docs.n8n.io/integrations/community-nodes/installation/) -(`n8n-nodes-browser-cli`), or symlink `dist/` into `~/.n8n/custom` for local testing. +Install the published package in n8n as a [community node](https://docs.n8n.io/integrations/community-nodes/installation/) using the package name `n8n-nodes-browser-cli`, or symlink `dist/` into `~/.n8n/custom` for local testing. ## License PolyForm Noncommercial License 1.0.0 — same as browser-cli.