From 5e729b0ce321398b26df8567749e34bd561d5947 Mon Sep 17 00:00:00 2001
From: UVWT <54053135+uvwt@users.noreply.github.com>
Date: Sat, 28 Nov 2026 05:59:33 +0800
Subject: [PATCH] docs: audit and sync bilingual docs with latest AgentDock and
NexusDock
---
README.md | 4 +--
README.zh-CN.md | 4 +--
docs/concepts/nexusdock.md | 29 +++++++++++----
docs/concepts/recalldock.md | 4 +--
docs/concepts/tasks.md | 2 ++
docs/concepts/workflow.md | 2 +-
docs/getting-started/install.md | 18 +++++-----
docs/getting-started/linux.md | 2 +-
docs/getting-started/macos.md | 18 +++++-----
docs/getting-started/windows.md | 18 +++++-----
docs/guides/chatgpt.md | 35 ++++++++++++------
docs/guides/mcp-clients.md | 11 ++++--
docs/intro.md | 2 +-
docs/operations/desktop.md | 2 +-
docs/operations/linux.md | 10 +++---
docs/operations/nexusdock-connect.md | 36 +++++++++++++------
docs/operations/nexusdock.md | 4 ++-
docs/operations/public-access.md | 6 ++--
docs/operations/troubleshooting.md | 2 +-
docs/reference/configuration.md | 14 +++++++-
docs/reference/tools.md | 21 ++++++++---
docusaurus.config.ts | 2 ++
i18n/zh-CN/code.json | 2 +-
.../current.json | 4 ---
.../current/concepts/nexusdock.md | 29 +++++++++++----
.../current/concepts/recalldock.md | 4 +--
.../current/concepts/tasks.md | 2 ++
.../current/concepts/workflow.md | 2 +-
.../current/getting-started/install.md | 18 +++++-----
.../current/getting-started/linux.md | 2 +-
.../current/getting-started/macos.md | 18 +++++-----
.../current/getting-started/windows.md | 18 +++++-----
.../current/guides/chatgpt.md | 35 ++++++++++++------
.../current/guides/mcp-clients.md | 11 ++++--
.../current/intro.md | 2 +-
.../current/operations/desktop.md | 2 +-
.../current/operations/linux.md | 10 +++---
.../current/operations/nexusdock-connect.md | 36 +++++++++++++------
.../current/operations/nexusdock.md | 4 ++-
.../current/operations/public-access.md | 6 ++--
.../current/operations/troubleshooting.md | 2 +-
.../current/reference/configuration.md | 14 +++++++-
.../current/reference/tools.md | 21 ++++++++---
.../docusaurus-theme-classic/footer.json | 12 +++++++
.../docusaurus-theme-classic/navbar.json | 4 +++
scripts/check-i18n.mjs | 2 +-
src/components/HomepageFeatures/index.tsx | 2 +-
47 files changed, 339 insertions(+), 169 deletions(-)
diff --git a/README.md b/README.md
index d233a80..01abbb9 100644
--- a/README.md
+++ b/README.md
@@ -42,8 +42,8 @@ This command runs the TypeScript check, locale-preference tests, verifies that E
```text
docs/ # English source documents
├── getting-started/ # Installation and first connection
-├── concepts/ # Skills, tasks, dynamic MCP, and NexusDock Recall
-├── guides/ # Browser and desktop automation
+├── concepts/ # Skills, Plugins, tasks, dynamic MCP, NexusDock, Recall, and Workflow
+├── guides/ # Client connections, ChatGPT, browser, and Coding Agents
├── reference/ # Configuration and tool reference
├── operations/ # Advanced deployment, security, and troubleshooting
└── contributing/ # Contributor guide
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 0b98fe6..f05ac76 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -42,8 +42,8 @@ pnpm check
```text
docs/ # 英文源文档
├── getting-started/ # 安装与首次连接
-├── concepts/ # Skill、任务、动态 MCP、NexusDock Recall
-├── guides/ # 浏览器和桌面自动化
+├── concepts/ # Skill、Plugin、任务、动态 MCP、NexusDock、Recall 与 Workflow
+├── guides/ # 客户端接入、ChatGPT、浏览器和 Coding Agent
├── reference/ # 完整配置与工具参考
├── operations/ # 高级部署、安全与排障
└── contributing/ # 开发者指南
diff --git a/docs/concepts/nexusdock.md b/docs/concepts/nexusdock.md
index 641e984..8210546 100644
--- a/docs/concepts/nexusdock.md
+++ b/docs/concepts/nexusdock.md
@@ -1,24 +1,39 @@
# What is NexusDock?
-NexusDock is an optional self-hosted control center for people who use AgentDock on multiple devices.
+NexusDock is the unified control center and remote connection hub for your AgentDock devices. It is available both as managed **NexusDock Cloud** (`https://mcp.nexusdock.co`) and as the open-source self-hosted **NexusDock** server.
-It brings your Macs, Windows PCs, Linux hosts, and servers into one web console, lets them share Recall and Workflow data, and provides one MCP endpoint for AI clients.
+It brings your Macs, Windows PCs, Linux hosts, and servers into one web console, lets them share Recall and Workflow data, and provides one MCP endpoint for AI clients—without exposing every machine directly to the internet.
-If you only use one AgentDock device, you usually do not need NexusDock.
+Even with a single machine, NexusDock Cloud is the simplest way to reach AgentDock remotely without configuring Cloudflare Tunnels or a custom domain. If you only connect local clients on the same machine, you can still use AgentDock directly without NexusDock.
## What you can do
- connect to multiple AgentDock devices through one MCP endpoint;
-- manage multiple AgentDock devices from one place;
-- see which devices are online and check their current state;
+- manage paired AgentDock devices, online status, and optional device purpose descriptions (surfaced in `agentdock_context` to help AI clients pick the right machine);
+- inspect node-local tasks, Skills, Plugins, and dynamic MCP servers from one place;
- share Recall memory and Workflow data across devices;
-- configure an AI client once instead of connecting to each AgentDock separately.
+- configure an AI client once instead of connecting to each AgentDock separately;
+- fall back to `node_tool_search` and `node_tool_call` when a client's cached MCP tool schema lags behind a node's live tools.
AgentDock still runs the actual work on each device. NexusDock brings those devices together; it does not replace them.
+## Cloud vs. self-hosted
+
+| Deployment | Endpoint & console | Best for |
+| --- | --- | --- |
+| **NexusDock Cloud** | `https://mcp.nexusdock.co` | Fastest remote access, managed Recall/Workflow hosting, and third-party REST API integration |
+| **Self-hosted NexusDock** | Your own HTTPS domain (`uvwt/nexusdock`) | Running the control center, SQLite state, and Recall files on your own infrastructure |
+
+## Programmatic REST API (NexusDock Cloud)
+
+For scripts, services, and automation workflows that call devices outside an MCP client, NexusDock Cloud provides a third-party REST API (devices, capability catalog, and remote tool executions). Rather than duplicating OpenAPI schemas here, use the live API documentation and official Skill as the source of truth:
+
+- Live REST API reference: [https://mcp.nexusdock.co/docs/api](https://mcp.nexusdock.co/docs/api)
+- Official REST integration Skill: [`nexusdock-rest`](https://github.com/uvwt/agentdock-skills/tree/main/skills/nexusdock-rest)
+
## Next steps
-- [Install and maintain](../operations/nexusdock.md)
- [Connect AgentDock](../operations/nexusdock-connect.md)
+- [Install and maintain self-hosted NexusDock](../operations/nexusdock.md)
- [Recall memory](./recalldock.md)
- [Workflow](./workflow.md)
diff --git a/docs/concepts/recalldock.md b/docs/concepts/recalldock.md
index 33877c4..770dec9 100644
--- a/docs/concepts/recalldock.md
+++ b/docs/concepts/recalldock.md
@@ -2,7 +2,7 @@
NexusDock Recall is an optional long-term memory service for AgentDock. It keeps information, preferences, experience, and knowledge that are worth reusing later, so future tasks can continue with useful context.
-Without NexusDock, file, command, command-line Git, Skill, dynamic MCP, and local task tools remain fully available; Recall, workflow template, and knowledge evolution tools are unavailable. See [NexusDock](./nexusdock.md) for multi-device management and the unified MCP endpoint.
+Without NexusDock, file, command, command-line Git, Skill, dynamic MCP, and local task tools remain fully available; Recall and workflow template tools are unavailable. See [NexusDock](./nexusdock.md) for multi-device management and the unified MCP endpoint.
## When to use it
@@ -23,7 +23,7 @@ Do not store:
## Setup
-Pair the AgentDock device with NexusDock first. In NexusDock, open **Settings → System & Nodes**, create a one-time pairing code, then run the generated `agentdock nexus pair ...` command on the AgentDock device and restart AgentDock.
+Pair the AgentDock device with NexusDock Cloud (`https://mcp.nexusdock.co`) or a self-hosted NexusDock instance first. Create a one-time pairing code in the NexusDock console, then pair from the AgentDock desktop app or run `agentdock nexus pair ...` on the device.
Recall does not need a separate AgentDock-side URL or token after pairing. See [Connect AgentDock](../operations/nexusdock-connect.md) for the full setup.
diff --git a/docs/concepts/tasks.md b/docs/concepts/tasks.md
index ac30fe7..585fecd 100644
--- a/docs/concepts/tasks.md
+++ b/docs/concepts/tasks.md
@@ -15,6 +15,8 @@ A task is appropriate when:
A simple query, one file read, or one explicit command usually does not need a task.
+When chat cards are enabled, `task_create` creates the recoverable task and mounts the live task card once, while subsequent `task_manage` checkpoints, reviews, and completion updates update the same task in place.
+
## What a task contains
A task normally records:
diff --git a/docs/concepts/workflow.md b/docs/concepts/workflow.md
index d181136..5d81ba3 100644
--- a/docs/concepts/workflow.md
+++ b/docs/concepts/workflow.md
@@ -32,6 +32,6 @@ A Workflow is a reusable process, not an automatic script. AgentDock can adjust
## Matching
-Basic Workflow matching works without an AI or Embedding provider. If Embedding is configured in **Settings → AI & Vectors**, NexusDock can also use semantic matching to find relevant workflows.
+Basic Workflow lexical matching works out of the box without configuring an external AI or Embedding provider. On NexusDock Cloud, semantic matching is managed for eligible plans; on self-hosted NexusDock, you can enable semantic matching in **Settings → AI & Vectors**.
Current task progress is separate from Workflow templates. See [Tasks and progress](./tasks.md) for execution progress, and [Recall memory](./recalldock.md) for long-term knowledge.
diff --git a/docs/getting-started/install.md b/docs/getting-started/install.md
index f5a49e1..120484c 100644
--- a/docs/getting-started/install.md
+++ b/docs/getting-started/install.md
@@ -13,23 +13,25 @@ For your own Windows PC or Mac, prefer the graphical installer. Choose Docker wh
## Connection options
-The Windows and macOS installers offer three connection options:
+After installation, choose how your AI clients connect:
| Option | Best for | What you need |
| --- | --- | --- |
+| **NexusDock** (recommended for remote access) | ChatGPT, Claude, phones, or multi-device access without setting up tunnels or domains | A NexusDock Cloud (`https://mcp.nexusdock.co`) or self-hosted NexusDock pairing code |
| Local only | The MCP client and AgentDock run on the same computer | Nothing else |
-| Temporary public address | ChatGPT, a phone, or another remote device; no domain is ready | Internet access |
-| Fixed domain | A stable address for long-term use | A Cloudflare-managed domain and Tunnel Token |
+| Self-hosted Cloudflare Tunnel (optional) | Direct public HTTPS access to a single AgentDock device | Install the optional `cloudflared` component in Settings (temporary address or fixed Cloudflare domain) |
-Choose an option based on where your MCP client runs, whether public access is needed, and whether you already have a fixed domain. You can switch modes later in the control panel.
+First-time desktop installation only installs AgentDock itself and starts local access. Remote connections—either pairing with NexusDock or installing the optional `cloudflared` component for direct public access—are configured in the control panel afterwards.
:::warning
-Public access must use a Bearer Token or OAuth. Do not include connection credentials in screenshots, issues, or public conversations.
+Public access must use a Bearer Token or OAuth. Do not include connection credentials or pairing codes in screenshots, issues, or public conversations.
:::
## After installation
-Get these values from the control panel or terminal:
+For **NexusDock** (recommended for remote clients such as web ChatGPT), pair the device in the control panel (or via `agentdock nexus pair`) and then connect your client to `https://mcp.nexusdock.co/mcp` (or your self-hosted NexusDock URL). See [Connect AgentDock](../operations/nexusdock-connect.md).
+
+For direct local or self-hosted public MCP connections, get these values from the control panel or terminal:
```text
MCP URL
@@ -39,11 +41,11 @@ Bearer Token or OAuth sign-in details
Add them to the MCP, Tools, or Connectors settings in your client and choose **Streamable HTTP**.
- Client and AgentDock on the same device: use the local MCP URL.
-- Client on another device or in the cloud: use the public MCP URL.
+- Client on another device or in the cloud: use NexusDock, or use the direct public MCP URL if you enabled Cloudflare Tunnel.
- Temporary public URL changed: replace the old URL in the client and authorize OAuth again when prompted.
:::tip
For your first use, complete only the numbered steps on the page for your operating system. Custom ports, automation flags, and manual service management can wait until later.
:::
-If you installed with a public address so web ChatGPT can operate your computer, continue with [Connect with ChatGPT](../guides/chatgpt.md).
+To connect web ChatGPT (either via NexusDock or via a direct public URL), continue with [Connect with ChatGPT](../guides/chatgpt.md).
diff --git a/docs/getting-started/linux.md b/docs/getting-started/linux.md
index 72b20c2..dd04456 100644
--- a/docs/getting-started/linux.md
+++ b/docs/getting-started/linux.md
@@ -78,7 +78,7 @@ The installer asks if you have a Cloudflare-managed domain:
- No domain: automatically creates a temporary `trycloudflare.com` address for quick testing.
- Have a domain: complete the [Public access](../operations/public-access.md), then enter the resulting HTTPS public origin and Tunnel Token when the installer asks.
-After installation, the terminal displays the public MCP URL and connection credentials. A temporary address may change after a restart. Generate a new one with `sudo /opt/agentdock/bin/agentdock tunnel regenerate --runtime-root /etc/agentdock`, then replace the old MCP URL in the client and authorize OAuth again. Existing Bearer Token and OAuth credentials are preserved.
+After installation, the terminal displays the public MCP URL and connection credentials. A temporary address may change after a restart. Generate a new one with `sudo /opt/agentdock/bin/agentdock tunnel regenerate` (default runtime root `/etc/agentdock` is resolved automatically; add `--runtime-root
` for custom deployments), then replace the old MCP URL in the client and authorize OAuth again. Existing Bearer Token and OAuth credentials are preserved.
Public access requires authentication. For detailed parameters and log locations, see [Public access](../operations/public-access.md).
diff --git a/docs/getting-started/macos.md b/docs/getting-started/macos.md
index 04794d1..2632f7e 100644
--- a/docs/getting-started/macos.md
+++ b/docs/getting-started/macos.md
@@ -8,7 +8,7 @@ A single universal installer supports both Apple Silicon and Intel Macs.
- macOS 13 or later.
- Download AgentDock only from the official [AgentDock download endpoint](https://download.nexusdock.co/latest/macos).
-- A fixed public address requires a Cloudflare-managed domain and Tunnel Token. If you do not have these yet, choose a temporary public address.
+- For remote access, pairing with **NexusDock** (`https://mcp.nexusdock.co` or self-hosted) is recommended and requires no Cloudflare setup. If you prefer direct self-hosted public access via Cloudflare Tunnel, `cloudflared` can be installed on demand from Settings afterwards.
- For browser automation, install Google Chrome, Chromium, or Microsoft Edge first.
## 1. Download and install
@@ -30,21 +30,19 @@ If macOS blocks the first launch, see [macOS says developer cannot be verified](
## 3. Choose connection option
-### Local only
-
-Select when the MCP client runs on the same Mac. No domain or Cloudflare account required.
+The initial setup configures the local AgentDock service and allows it to run in the background. Wait until the status shows "Healthy", then choose how to connect in the app:
-### Temporary public address
+### NexusDock (recommended for remote access)
-Select when connecting from ChatGPT, a phone, or another remote device without a custom domain. AgentDock generates an HTTPS public address automatically.
+Open the **Connections** section, enter your NexusDock address (for example `https://mcp.nexusdock.co` or your self-hosted NexusDock URL) and one-time pairing code, then pair. You do not need Cloudflare Tunnel or a custom domain. See [Connect AgentDock](../operations/nexusdock-connect.md).
-This address may change when the Mac or tunnel restarts. When changed, copy the new address from the control panel and update your client.
+### Local only
-### Fixed domain
+When the MCP client runs on the same Mac, use the local MCP URL and Bearer Token directly. No domain or Cloudflare account is required.
-For a permanent address, first complete the [Public access](../operations/public-access.md). Then select **Fixed domain** and enter the HTTPS public origin and Tunnel Token from that setup. Do not append `/mcp` to the public origin.
+### Self-hosted public access (optional Cloudflare Tunnel)
-Click **Install and Start**, keeping the window open until the status shows "Healthy". You can switch connection modes later directly from the control panel without rerunning the installer.
+If you want this Mac to expose its own public HTTPS MCP endpoint directly without NexusDock, install the optional `cloudflared` component inside **Settings / Advanced connections** first, then choose either a **Temporary public address** or a **Fixed domain** (see [Public access](../operations/public-access.md)). Do not append `/mcp` to the public origin.
## 4. Connect MCP client
diff --git a/docs/getting-started/windows.md b/docs/getting-started/windows.md
index 532dcb8..344187b 100644
--- a/docs/getting-started/windows.md
+++ b/docs/getting-started/windows.md
@@ -13,7 +13,7 @@ Download the installer for your architecture:
If unsure, choose `amd64`.
-The installer already bundles AgentDock Core, the control panel, core Skills, and Cloudflare components. Installation and upgrades do not download these components separately from GitHub.
+The installer bundles AgentDock Core, the control panel, and official core Skills. `cloudflared` is now an optional managed component that is installed on demand from the Control Panel only if you enable self-hosted Cloudflare Tunnel public access.
## 2. Run installer
@@ -32,21 +32,19 @@ Administrator enhancement mode applies only to AgentDock Core; the control panel
## 4. Choose connection option
-### Local only
-
-Select when the MCP client runs on the same computer. No domain or Cloudflare account required.
+The interactive installer sets up AgentDock with local access by default—it does not ask you to configure Cloudflare Tunnels during installation. After opening the AgentDock Control Panel, choose your connection mode in **Connections**:
-### Temporary public address
+### NexusDock (recommended for remote access)
-Select when connecting from ChatGPT, a phone, or another remote device without a custom domain. AgentDock generates a `trycloudflare.com` address automatically.
+Enter your NexusDock address (for example `https://mcp.nexusdock.co` or your self-hosted NexusDock URL) and one-time pairing code, then pair. You do not need `cloudflared` or a custom domain. See [Connect AgentDock](../operations/nexusdock-connect.md).
-Temporary addresses may change when Windows or the tunnel restarts. When changed, copy the new address from the control panel and update your client.
+### Local only
-### Fixed Cloudflare domain
+When the MCP client runs on the same computer, use the local MCP URL and Bearer Token directly. No domain or Cloudflare account is required.
-For a permanent address, first complete the [Public access](../operations/public-access.md). Then select **Fixed domain** and enter the HTTPS public origin and Tunnel Token from that setup. Do not append `/mcp` to the public origin.
+### Self-hosted Cloudflare Tunnel (optional)
-After installation, you can switch between Local only, Temporary address, and Fixed domain in the **Public Access** section of the control panel without rerunning the installer.
+If you want direct public HTTPS access to this PC without NexusDock, install the optional `cloudflared` component in **Settings / Advanced connections**, then switch to **Temporary public address** or **Fixed domain** (see [Public access](../operations/public-access.md)). Do not append `/mcp` to the public origin.
## 5. Complete installation
diff --git a/docs/guides/chatgpt.md b/docs/guides/chatgpt.md
index 2b035dc..49e9891 100644
--- a/docs/guides/chatgpt.md
+++ b/docs/guides/chatgpt.md
@@ -2,32 +2,41 @@
Use web ChatGPT to operate files, run commands, manage Git, use browser automation, or drive coding tools on your computer.
-Connecting web ChatGPT requires:
+You can connect web ChatGPT in two ways:
-1. AgentDock accessible via a public HTTPS address.
-2. OAuth enabled on AgentDock.
-3. Connecting from ChatGPT using the public MCP URL and OAuth password.
-
-The graphical installer for Windows and macOS automatically configures Cloudflare tunnels and OAuth.
+- **Via NexusDock (recommended):** pair your AgentDock device(s) with **NexusDock Cloud** (`https://mcp.nexusdock.co`) or a self-hosted NexusDock instance, then connect ChatGPT once to `https://mcp.nexusdock.co/mcp` (or your self-hosted NexusDock `/mcp` URL) using OAuth. No Cloudflare Tunnel or custom domain is needed.
+- **Direct AgentDock public URL (self-hosted):** expose a single AgentDock instance through a public HTTPS address (for example by installing the optional `cloudflared` component in Settings or using your own HTTPS reverse proxy) with OAuth enabled.
:::note
In this guide, **plugin** means the connection entry shown in the ChatGPT interface. It is different from an [AgentDock Plugin package](../concepts/plugins.md).
:::
-## Quick setup (Windows / macOS graphical app)
+## Recommended: Connect through NexusDock Cloud
+
+1. Install AgentDock on your computer ([Windows](../getting-started/windows.md), [macOS](../getting-started/macos.md), [Linux](../getting-started/linux.md), or [Docker](../getting-started/docker.md)).
+2. Sign in to `https://mcp.nexusdock.co`, create a 6-digit one-time pairing code, and pair AgentDock from the desktop app (or `sudo agentdock nexus pair`). See [Connect AgentDock](../operations/nexusdock-connect.md).
+3. In ChatGPT, enable **Developer mode** and create a custom MCP plugin pointing to:
+
+ ```text
+ https://mcp.nexusdock.co/mcp
+ ```
+
+4. Complete NexusDock OAuth authorization in the browser, then start a new conversation and call `agentdock_context` to verify your paired devices are online.
+
+## Direct AgentDock setup (Windows / macOS graphical app)
-First, install AgentDock following the [Windows installation](../getting-started/windows.md) or [macOS installation](../getting-started/macos.md) guide.
+If you want ChatGPT to connect directly to a single AgentDock instance without NexusDock, install AgentDock first following the [Windows installation](../getting-started/windows.md) or [macOS installation](../getting-started/macos.md) guide.
-### 1. Choose a public connection mode
+### 1. Enable self-hosted public access
-When choosing connection options during setup or configuration:
+In the AgentDock Control Panel, open **Settings / Advanced connections** (or **Public Access**), install the optional `cloudflared` component if it is not installed yet, and choose a public mode:
- If you do not have a domain yet, select **Temporary public address**.
- If you have a custom domain managed by Cloudflare, select **Fixed domain**.
-
+
@@ -119,6 +128,10 @@ Ensure ChatGPT lists AgentDock tools and completes an actual tool call.
Once connected, ChatGPT can install Skills, connect external MCP servers, control browsers, or drive local coding agents.
+:::tip
+**Cached tool schemas in ChatGPT:** after enabling new capabilities (such as browser or Coding Agent tools) or upgrading AgentDock, existing ChatGPT conversations may keep an older tool schema. Click **Refresh** on the plugin in ChatGPT and start a **new conversation**. When connecting through NexusDock, clients can also use `node_tool_search` and `node_tool_call` as a fallback if a tool is missing from the cached catalog.
+:::
+
## Server and manual deployment
When deploying AgentDock on a Linux VPS, server, Docker container, or behind a custom reverse proxy:
diff --git a/docs/guides/mcp-clients.md b/docs/guides/mcp-clients.md
index 72182ac..30baa65 100644
--- a/docs/guides/mcp-clients.md
+++ b/docs/guides/mcp-clients.md
@@ -1,12 +1,12 @@
# Connect from different clients
-AgentDock connects to Claude Desktop, ChatGPT, Claude Code, Cursor, VS Code, Codex, TRAE, and WorkBuddy over Streamable HTTP MCP. Every example on this page uses:
+AgentDock (and NexusDock) connects to Claude Desktop, ChatGPT, Claude Code, Cursor, VS Code, Codex, TRAE, and WorkBuddy over Streamable HTTP MCP. Every example on this page uses:
```text
https://agentdock.example.com/mcp
```
-Replace it with your own AgentDock MCP URL.
+Replace it with your **NexusDock Cloud** URL (`https://mcp.nexusdock.co/mcp`), your self-hosted NexusDock `/mcp` URL, or your direct AgentDock MCP URL.
:::note
Menu names, plan restrictions, and workspace policies may change between client releases. This page uses common current labels. When an entry is not visible, search settings for `MCP`, `Plugins`, or `Connectors`.
@@ -266,4 +266,11 @@ curl -fsS https://agentdock.example.com/.well-known/oauth-protected-resource/mcp
A `302` from the authorization page usually means AgentDock is redirecting to the client as expected. If the browser does not continue, confirm that the reverse proxy preserves the `Location` header and that the browser or network policy does not block the callback URL.
+## Programmatic REST API access
+
+If you are building scripts, services, or non-MCP integrations against NexusDock Cloud rather than connecting an MCP client, use the live REST API documentation and the official Skill instead of MCP configuration:
+
+- Live REST API reference: [https://mcp.nexusdock.co/docs/api](https://mcp.nexusdock.co/docs/api)
+- Official Skill: [`nexusdock-rest`](https://github.com/uvwt/agentdock-skills/tree/main/skills/nexusdock-rest)
+
See [Configuration](../reference/configuration.md) for complete authentication settings and [Linux and servers](../operations/linux.md) for public deployment.
diff --git a/docs/intro.md b/docs/intro.md
index 9e57392..908ec96 100644
--- a/docs/intro.md
+++ b/docs/intro.md
@@ -35,7 +35,7 @@ Describe the goal directly, for example:
The agent selects the appropriate tools based on your request.
-If you want web ChatGPT to operate your computer, follow [Connect with ChatGPT](./guides/chatgpt.md) after installing with a public address.
+If you want web ChatGPT to operate your computer, pair with [NexusDock](./concepts/nexusdock.md) (recommended) or enable self-hosted public access, then follow [Connect with ChatGPT](./guides/chatgpt.md).
## Where data is stored
diff --git a/docs/operations/desktop.md b/docs/operations/desktop.md
index b22feb6..40d3092 100644
--- a/docs/operations/desktop.md
+++ b/docs/operations/desktop.md
@@ -7,7 +7,7 @@ For normal installation, use the [macOS](../getting-started/macos.md) or [Window
The desktop apps already manage most configuration for you. Use **Public Access** and **Advanced Settings** to change:
- local port and log level;
-- temporary or fixed public access;
+- optional `cloudflared` component and temporary or fixed public access;
- NexusDock pairing;
- browser connection mode;
- local Coding Agent profiles;
diff --git a/docs/operations/linux.md b/docs/operations/linux.md
index ad5095d..e3ec571 100644
--- a/docs/operations/linux.md
+++ b/docs/operations/linux.md
@@ -51,16 +51,16 @@ See [Public access](./public-access.md) for temporary and fixed Cloudflare addre
## NexusDock
-Pair NexusDock after AgentDock is installed. On the default service account:
+Pair NexusDock after AgentDock is installed. On a standard service installation, run:
```bash
-sudo -u agentdock -H /opt/agentdock/bin/agentdock nexus pair \
- --endpoint https://nexus.example.com \
+sudo /opt/agentdock/bin/agentdock nexus pair \
+ --endpoint https://mcp.nexusdock.co \
--code
-sudo systemctl restart agentdock
+sudo /opt/agentdock/bin/agentdock nexus status
```
-See [Connect AgentDock](./nexusdock-connect.md) for the complete pairing flow.
+For self-hosted NexusDock, replace `https://mcp.nexusdock.co` with your NexusDock URL. Running with `sudo` automatically resolves the service's `AGENTDOCK_HOME`, preserves service-user permissions on `nexus/device.json`, and restarts the systemd/OpenRC service (pass `--no-restart` to skip restarting). See [Connect AgentDock](./nexusdock-connect.md) for the complete pairing flow.
## Update
diff --git a/docs/operations/nexusdock-connect.md b/docs/operations/nexusdock-connect.md
index 60801f4..8aa3b53 100644
--- a/docs/operations/nexusdock-connect.md
+++ b/docs/operations/nexusdock-connect.md
@@ -1,20 +1,25 @@
# Connect AgentDock
-After NexusDock is running, pair your AgentDock devices and connect the MCP clients you want to use.
+Pair your AgentDock devices with **NexusDock Cloud** (`https://mcp.nexusdock.co`) or your self-hosted NexusDock instance, then connect your AI clients through the unified MCP endpoint.
## Pair AgentDock devices
-Sign in to the Web console, open **Settings → System & Nodes**, and choose **Pair device**.
+1. Sign in to the NexusDock Web console:
+ - **NexusDock Cloud:** open `https://mcp.nexusdock.co`, go to **Devices**, and create a one-time pairing code (6 digits, valid for 5 minutes, single-use).
+ - **Self-hosted NexusDock:** open **Settings → System & Nodes** and choose **Pair device** to create a short-lived, single-use pairing code.
+2. Complete pairing on the AgentDock device:
-NexusDock generates a one-time pairing code and shows a command-line example:
+On the Windows or macOS desktop version of AgentDock, open the NexusDock connection section, enter the **NexusDock address** (for example `https://mcp.nexusdock.co` or your self-hosted URL) and the **one-time pairing code**, then pair and restart. You do not need to run a CLI command manually.
+
+On Linux, servers, or other command-line environments, run the pairing command shown in the console:
```bash
-agentdock nexus pair --endpoint https://nexus.example.com --code pair_xxx
+sudo agentdock nexus pair --endpoint https://mcp.nexusdock.co --code
```
-On the Windows or macOS desktop version of AgentDock, you can pair directly from the NexusDock section in the graphical interface: enter the **NexusDock address** and **one-time pairing code**, then choose **Pair and restart**. You do not need to run the command above manually.
+For self-hosted instances, replace `https://mcp.nexusdock.co` with your own NexusDock HTTPS origin. On standard Linux service installations, running `sudo agentdock nexus pair` resolves the service's `AGENTDOCK_HOME` automatically and restarts the systemd/OpenRC service for you (pass `--no-restart` if you only want to save the device identity first).
-On Linux, servers, or other command-line environments, use the command above to pair. After pairing, AgentDock connects to NexusDock without requiring a public inbound port on the device.
+After pairing, AgentDock saves its Device Token locally and connects outbound to NexusDock—no public inbound port is required on the device. You can also add an optional **device purpose description** in the NexusDock console so `agentdock_context` tells AI clients what each machine is for.
Pairing does not change the node's existing local MCP endpoint or authentication. Each AgentDock instance can still be used independently.
@@ -23,18 +28,27 @@ Pairing does not change the node's existing local MCP endpoint or authentication
NexusDock exposes one MCP endpoint:
```text
-https://your-nexus-domain/mcp
+https://mcp.nexusdock.co/mcp
```
-Clients with OAuth support can connect directly and complete authorization in the browser.
+For a self-hosted deployment, use `https://your-nexus-domain/mcp` instead.
+
+Clients with OAuth support can connect directly and complete authorization in the browser (NexusDock Cloud also supports OAuth Device Flow for headless clients).
-For clients that need a fixed token, open **Settings → MCP Access** and use the dedicated MCP Access Token.
+For clients that need a fixed token, open **Settings** in the console and generate or copy an **MCP Access Token / PAT**.
The two credentials have different purposes:
| Credential | Purpose |
| --- | --- |
-| Administrator username and password | Sign in to the Web console |
-| MCP Access Token | Connect clients to `/mcp` without OAuth |
+| Console account sign-in | Sign in to the NexusDock Web console |
+| MCP Access Token / PAT | Connect MCP or REST API clients without interactive OAuth |
+
+## Third-party REST API integration
+
+To discover paired devices, inspect capabilities, or invoke remote tools from non-MCP applications on NexusDock Cloud, refer to the live REST API documentation and the official Skill:
+
+- Live API documentation: [https://mcp.nexusdock.co/docs/api](https://mcp.nexusdock.co/docs/api)
+- Official Skill: [`nexusdock-rest`](https://github.com/uvwt/agentdock-skills/tree/main/skills/nexusdock-rest)
For client-specific setup, see [Connect from different clients](../guides/mcp-clients.md).
diff --git a/docs/operations/nexusdock.md b/docs/operations/nexusdock.md
index c08683b..66cb494 100644
--- a/docs/operations/nexusdock.md
+++ b/docs/operations/nexusdock.md
@@ -1,6 +1,8 @@
# Install and maintain
-The simplest way to run NexusDock is Docker Compose.
+This page covers installing and operating the open-source self-hosted **NexusDock** server (`uvwt/nexusdock`). If you prefer a managed control center without self-hosting, use **NexusDock Cloud** (`https://mcp.nexusdock.co`) and go straight to [Connect AgentDock](./nexusdock-connect.md).
+
+The simplest way to self-host NexusDock is Docker Compose.
## Before you start
diff --git a/docs/operations/public-access.md b/docs/operations/public-access.md
index b983596..62e03a8 100644
--- a/docs/operations/public-access.md
+++ b/docs/operations/public-access.md
@@ -10,7 +10,9 @@ AgentDock is safest when it stays local. Enable public access only when a remote
## Temporary public address
-The macOS and Windows apps can enable a temporary public address from **Public Access**. Linux installers can choose the temporary Tunnel option. Docker can start the Quick Tunnel profile:
+If you only need remote access from ChatGPT, Claude, or another device, pairing with **NexusDock** (`https://mcp.nexusdock.co` or self-hosted) is usually simpler and does not require `cloudflared`.
+
+For direct self-hosted public access on macOS and Windows, install the optional `cloudflared` component first in **Settings / Advanced connections** (or run `agentdock component install cloudflared`), then enable **Temporary public address**. Linux installers can choose the temporary Tunnel option. Docker can start the Quick Tunnel profile:
```bash
docker compose --profile cloudflare-quick up -d
@@ -50,7 +52,7 @@ https://agent.example.com
Do not append `/mcp`.
-On macOS or Windows, open **Public Access → Fixed domain**, then enter the HTTPS public address and Tunnel Token.
+On macOS or Windows, make sure the optional `cloudflared` component is installed, open **Settings / Advanced connections → Fixed domain**, then enter the HTTPS public address and Tunnel Token.
On Linux, rerun the installer and choose the existing Cloudflare-domain option.
diff --git a/docs/operations/troubleshooting.md b/docs/operations/troubleshooting.md
index 7ed8f05..bc363b0 100644
--- a/docs/operations/troubleshooting.md
+++ b/docs/operations/troubleshooting.md
@@ -14,7 +14,7 @@ When reporting a problem, include the installation method, operating system, Age
## Client connects but cannot see tools
-Reconnect the MCP client or start a new session to clear cached tool schemas. Confirm authentication, then verify one real MCP connection instead of relying only on `/healthz`.
+Reconnect or refresh the MCP client and start a new session to clear cached tool schemas. Confirm authentication, then verify one real MCP connection instead of relying only on `/healthz`. When connecting through NexusDock, if a node's live tool is missing from the cached catalog or returns `TOOL_CONTRACT_MISMATCH`, you can use `node_tool_search` and `node_tool_call` as a compatibility fallback.
## 401 Unauthorized
diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md
index f222f1d..b9e721e 100644
--- a/docs/reference/configuration.md
+++ b/docs/reference/configuration.md
@@ -31,9 +31,10 @@ Default paths are:
| stdio transport | `AGENTDOCK_STDIO` | `--stdio` | `false` |
| State directory | `AGENTDOCK_HOME` | — | `~/.agentdock` |
| Working directory | `AGENTDOCK_DEFAULT_DIR` | — | `~/AgentDock` |
+| Command environment map | `AGENTDOCK_COMMAND_ENV_FROM_ENV_JSON` | — | empty |
| Trusted proxy CIDRs | `AGENTDOCK_TRUSTED_PROXY_CIDRS` | — | empty |
-Chat-card mode accepts `full`, `compact`, or `off`.
+Chat-card mode accepts `full`, `compact`, or `off`. `AGENTDOCK_COMMAND_ENV_FROM_ENV_JSON` explicitly maps child-process variable names to host environment variable names for `exec_command`; AgentDock does not inherit an interactive login shell environment automatically.
## Authentication
@@ -80,6 +81,17 @@ Desktop users should configure Coding Agents in the AgentDock UI. Headless deplo
## Other settings
+Common CLI subcommands for installed deployments:
+
+- `agentdock version [--json]` — print version information.
+- `agentdock update [--check]` — check for or install updates.
+- `agentdock service ` — manage the background service.
+- `agentdock tunnel ` — manage Cloudflare Tunnel state.
+- `agentdock component cloudflared` — manage the optional `cloudflared` component.
+- `agentdock nexus pair` / `agentdock nexus status` — pair with NexusDock or check pairing status.
+
+For standard installations, `service`, `tunnel`, `component`, and `nexus` resolve the platform default runtime root automatically; override with `AGENTDOCK_RUNTIME_ROOT` or `--runtime-root ` when needed.
+
NexusDock pairing is stored as a paired device identity rather than a normal runtime environment variable. See [Connect AgentDock](../operations/nexusdock-connect.md).
Managed Skill and dynamic MCP credentials are configured through their own environment-management interfaces instead of global AgentDock variables.
diff --git a/docs/reference/tools.md b/docs/reference/tools.md
index aebdef2..14f576f 100644
--- a/docs/reference/tools.md
+++ b/docs/reference/tools.md
@@ -22,7 +22,7 @@ AgentDock exposes tools to connected AI clients over MCP. The tools visible on a
| --- | --- | --- |
| `skill_manage` | Manage installed Skills and their environment | `install`, `remove`, `env_set`, `env_unset`, `env_list` |
| `plugin_manage` | Review and manage Plugins | `inspect`, `validate`, `install`, `update`, `enable`, `disable`, `remove` |
-| `mcp_manage` | Manage external MCP connections | `list`, `inspect`, `add`, `enable`, `disable`, `refresh`, `authorize`, `remove`, environment actions |
+| `mcp_manage` | Manage external MCP connections | `list`, `inspect`, `add`, `enable`, `disable`, `refresh`, `authorize`, `auth_clear`, `remove`, environment actions |
| `mcp_tool_search` | Find tools provided by an external MCP server | search |
| `mcp_tool_inspect` | Read one external tool's schema | inspect |
| `mcp_tool_call` | Call an inspected external MCP tool | call |
@@ -33,13 +33,13 @@ See [Use Skills](../concepts/skills.md), [Use Plugins](../concepts/plugins.md),
| Tool | Availability | Purpose |
| --- | --- | --- |
-| `task_manage` | Always | Track multi-step task state and progress |
+| `task_create` | Always | Create a recoverable task (and mount the live task card when chat cards are enabled) |
+| `task_manage` | Always | List, inspect, checkpoint, block, resume, review, and complete tasks |
| `workflow_template_manage` | NexusDock paired | Find and manage reusable Workflows |
| `recall_search` | NexusDock paired | Search Recall memory |
| `recall_read` | NexusDock paired | Read Recall content |
| `recall_write` | NexusDock paired | Create or update Recall content |
| `recall_maintain` | NexusDock paired | Inspect and maintain Recall indexes/content |
-| `evolve` | NexusDock paired | Manage reusable learned knowledge |
See [Tasks and progress](../concepts/tasks.md), [Recall memory](../concepts/recalldock.md), and [Workflow](../concepts/workflow.md).
@@ -49,10 +49,12 @@ These tools are available when Coding Agents are enabled:
| Tool | Purpose |
| --- | --- |
-| `acp_session` | Create, open, inspect, update, and close Coding Agent sessions |
+| `acp_session` | Inspect, create, list, open, update, close, and delete Coding Agent sessions |
| `acp_prompt` | Start prompts, read events, and cancel runs |
| `acp_interaction` | Review and respond to pending permission interactions |
+When multiple Coding Agent profiles are configured, these tools accept an optional `profile_id` parameter and default to the configured default profile.
+
See [Use local Coding Agents](../guides/coding-agents.md).
## Browser, images, and file sharing
@@ -68,3 +70,14 @@ Browser tools are available when browser support is enabled.
| `file_publish` | Publish a file or directory; create a temporary shareable URL when a reachable address is available |
See [Use the browser](../guides/browser-control.md) and [Configuration reference](./configuration.md) for enablement.
+
+## NexusDock multi-device compatibility tools
+
+When connecting through NexusDock's unified `/mcp` endpoint, device tools take a `node_id` parameter returned by `agentdock_context`. NexusDock also exposes two fallback tools for clients whose cached tool catalog is behind a node's live schema:
+
+| Tool | Purpose |
+| --- | --- |
+| `node_tool_search` | Search a node's current live tool catalog and inspect exact schemas |
+| `node_tool_call` | Call a specific node tool by name using its live schema |
+
+Prefer direct first-level tools whenever your client already lists them. See [What is NexusDock?](../concepts/nexusdock.md).
diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index 3e8ac57..2c66b1d 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -134,6 +134,8 @@ const config: Config = {
{
title: 'Project',
items: [
+ {label: 'NexusDock Cloud', href: 'https://mcp.nexusdock.co'},
+ {label: 'NexusDock REST API', href: 'https://mcp.nexusdock.co/docs/api'},
{label: 'AgentDock source', href: 'https://github.com/uvwt/agentdock'},
{label: 'Documentation source', href: 'https://github.com/uvwt/agentdock-docs'},
],
diff --git a/i18n/zh-CN/code.json b/i18n/zh-CN/code.json
index 5f07427..f4a8a24 100644
--- a/i18n/zh-CN/code.json
+++ b/i18n/zh-CN/code.json
@@ -441,7 +441,7 @@
"message": "了解 NexusDock"
},
"homepage.nexus.install": {
- "message": "安装 NexusDock"
+ "message": "自托管 NexusDock"
},
"homepage.nexus.capability.mcp.title": {
"message": "一个 MCP 地址"
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current.json b/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
index cede7bb..df36fb3 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
@@ -70,9 +70,5 @@
"sidebar.docsSidebar.category.Developers": {
"message": "开发者",
"description": "The label for category 'Developers' in sidebar 'docsSidebar'"
- },
- "sidebar.docsSidebar.doc.Manual Linux deployment": {
- "message": "Linux 手动部署(高级)",
- "description": "The label for the doc item 'Manual Linux deployment' in sidebar 'docsSidebar', linking to the doc getting-started/vps"
}
}
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/nexusdock.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/nexusdock.md
index f5d9cdc..b24853d 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/nexusdock.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/nexusdock.md
@@ -1,24 +1,39 @@
# 是什么
-NexusDock 是面向多台 AgentDock 设备的可选自托管中心。
+NexusDock 是面向 AgentDock 设备的统一控制中心与远程连接枢纽,同时提供托管的 **NexusDock Cloud**(`https://mcp.nexusdock.co`)以及开源自托管版 **NexusDock**。
-它可以把 Mac、Windows、Linux 主机和服务器上的 AgentDock 集中到一个 Web 控制台中,并共享 Recall 记忆和 Workflow 工作流数据,同时为 AI 客户端提供一个统一的 MCP 地址。
+它可以把 Mac、Windows、Linux 主机和服务器上的 AgentDock 集中到一个 Web 控制台中,共享 Recall 记忆和 Workflow 工作流数据,并为 AI 客户端提供统一的 MCP 入口,无需把每台机器直接暴露到公网。
-如果你只使用一台 AgentDock,通常不需要 NexusDock。
+即使只有一台设备,使用 NexusDock Cloud 也是远程接入 AgentDock 最简单的方式,无需自己配置 Cloudflare Tunnel 或域名;如果只在本机连接本地客户端,也可以继续直接使用独立 AgentDock。
## 可以做什么
- 一个 MCP 连接多台 AgentDock;
-- 在一个地方管理多台 AgentDock 设备;
-- 查看哪些设备在线以及当前状态;
+- 集中管理已配对的 AgentDock 设备、在线状态以及可选的设备用途描述(会透出到 `agentdock_context`,帮助 AI 选择正确的目标设备);
+- 统一查看各节点本地的任务、Skill、Plugin 与动态 MCP 状态;
- 在多台设备之间共享 Recall 记忆和 Workflow 工作流数据;
-- 只配置一次 AI 客户端,而不是分别连接每台 AgentDock。
+- 只配置一次 AI 客户端,而不是分别连接每台 AgentDock;
+- 当客户端缓存的工具 Schema 落后于节点实时工具时,通过 `node_tool_search` 和 `node_tool_call` 兼容调用。
实际的文件、命令、浏览器等操作仍由每台 AgentDock 执行。NexusDock 负责把这些设备集中起来,而不是替代 AgentDock。
+## 云端与自托管
+
+| 部署方式 | 入口与控制台 | 适用场景 |
+| --- | --- | --- |
+| **NexusDock Cloud** | `https://mcp.nexusdock.co` | 最快获得远程连接、云端托管 Recall/Workflow 以及第三方 REST API 集成 |
+| **自托管 NexusDock** | 自有 HTTPS 域名(`uvwt/nexusdock`) | 在自有基础设施上运行控制中心、SQLite 状态与本地 Recall 文件 |
+
+## 第三方 REST API(NexusDock Cloud)
+
+如果你需要在 MCP 客户端之外通过脚本、后端服务或自动化流程调用设备能力,NexusDock Cloud 提供了第三方 REST API(设备目录、能力目录与远程工具执行)。本文档站不重复手抄 OpenAPI 细节,请直接以在线 API 文档和官方 Skill 为准:
+
+- 在线 REST API 文档:[https://mcp.nexusdock.co/docs/api](https://mcp.nexusdock.co/docs/api)
+- 官方 REST 集成 Skill:[`nexusdock-rest`](https://github.com/uvwt/agentdock-skills/tree/main/skills/nexusdock-rest)
+
## 下一步
-- [安装与维护](../operations/nexusdock.md)
- [连接 AgentDock](../operations/nexusdock-connect.md)
+- [自托管安装与维护](../operations/nexusdock.md)
- [Recall 记忆](./recalldock.md)
- [Workflow 工作流](./workflow.md)
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/recalldock.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/recalldock.md
index 706fc13..cf22108 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/recalldock.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/recalldock.md
@@ -2,7 +2,7 @@
NexusDock Recall 是 AgentDock 的可选长期记忆服务。它可以保存值得长期保留的信息、偏好、经验和知识,让以后处理类似事情时能够继续使用这些上下文。
-没有 NexusDock 时,文件、命令、命令行 Git、Skill、动态 MCP 和本地任务仍可正常使用;Recall、Workflow 模板和知识 Evolution 工具不可用。多设备管理和统一 MCP 入口见 [NexusDock](./nexusdock.md)。
+没有 NexusDock 时,文件、命令、命令行 Git、Skill、动态 MCP 和本地任务仍可正常使用;Recall 和 Workflow 模板工具不可用。多设备管理和统一 MCP 入口见 [NexusDock](./nexusdock.md)。
## 什么时候适合使用
@@ -23,7 +23,7 @@ NexusDock Recall 是 AgentDock 的可选长期记忆服务。它可以保存值
## 接入
-先把 AgentDock 设备与 NexusDock 配对。在 NexusDock 打开 **设置 → System & Nodes**,生成一次性配对码,然后在目标设备执行页面生成的 `agentdock nexus pair ...` 命令并重启 AgentDock。
+先把 AgentDock 设备与 NexusDock Cloud(`https://mcp.nexusdock.co`)或自托管 NexusDock 配对。在 NexusDock 控制台创建一次性配对码后,可在 AgentDock 桌面端直接配对,或在目标设备上执行 `agentdock nexus pair ...`。
完成配对后,Recall 不需要再给 AgentDock 单独配置 URL 或 Token。完整步骤见 [连接 AgentDock](../operations/nexusdock-connect.md)。
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/tasks.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/tasks.md
index 7d95b18..2628e7b 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/tasks.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/tasks.md
@@ -15,6 +15,8 @@
简单查询、读取一个文件或执行一条明确命令通常不需要任务。
+开启聊天卡片时,`task_create` 会创建可恢复任务并挂载实时任务卡片;后续 `task_manage` 的 checkpoint、终审和完成更新会原地更新同一张任务状态。
+
## 你会看到什么
一个任务通常包含:
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/workflow.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/workflow.md
index 5d7fda2..34ecb0e 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/workflow.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/concepts/workflow.md
@@ -32,6 +32,6 @@ Workflow 是可复用流程,不是自动执行的脚本。AgentDock 会根据
## 匹配方式
-基础 Workflow 不需要配置 AI 或 Embedding。配置 **设置 → AI 与向量** 后,NexusDock 还可以通过语义匹配找到更相关的 Workflow。
+基础 Workflow 词法匹配开箱即用,不需要额外配置外部 AI 或 Embedding。在 NexusDock Cloud 中,语义匹配由云端按方案托管提供;在自托管 NexusDock 中,可在 **设置 → AI 与向量** 中配置启用。
当前任务进度和 Workflow 是两回事。执行进度见 [任务与进度](./tasks.md),长期知识见 [Recall 记忆](./recalldock.md)。
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/install.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/install.md
index 58e34cc..f9adf43 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/install.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/install.md
@@ -13,23 +13,25 @@
## 安装时要做的选择
-Windows 和 macOS 安装界面提供以下连接选项:
+安装完成后,按你的使用场景选择 AI 客户端的连接方式:
| 连接方式 | 适合场景 | 需要准备 |
| --- | --- | --- |
+| **NexusDock(推荐远程方式)** | ChatGPT、Claude、手机或多设备远程连接,无需折腾隧道或域名 | NexusDock Cloud(`https://mcp.nexusdock.co`)或自托管 NexusDock 一次性配对码 |
| 仅本机 | MCP 客户端和 AgentDock 在同一台电脑上 | 无 |
-| 临时公网地址 | 从 ChatGPT、手机或其他设备连接,暂时没有域名 | 可访问互联网 |
-| 固定域名 | 长期使用稳定公网地址 | 已接入 Cloudflare 的域名和 Tunnel Token |
+| 自建 Cloudflare Tunnel(可选) | 需要让单台 AgentDock 直接暴露公网 HTTPS 地址 | 在设置中按需安装可选 `cloudflared` 组件(支持临时地址或固定 Cloudflare 域名) |
-根据 MCP 客户端所在位置、是否需要公网访问,以及是否已有固定域名选择连接方式。安装后仍可以在控制面板中切换。
+桌面端首次安装只安装 AgentDock 本身并默认启用本机服务。远程连接(配对 NexusDock,或按需安装 `cloudflared` 组件启用直连公网地址)均在安装完成后的控制面板中配置。
:::warning
-公网地址必须配合 Bearer Token 或 OAuth 使用。不要把连接凭据放进截图、Issue 或公开聊天。
+公网地址必须配合 Bearer Token 或 OAuth 使用。不要把连接凭据或配对码放进截图、Issue 或公开聊天。
:::
## 安装完成后
-安装完成后,从控制面板或终端取得:
+如果使用 **NexusDock**(远程客户端和网页版 ChatGPT 推荐),在控制面板(或通过 `agentdock nexus pair`)完成设备配对后,直接将客户端连接到 `https://mcp.nexusdock.co/mcp`(或你的自托管 NexusDock 地址)。详见 [连接 AgentDock](../operations/nexusdock-connect.md)。
+
+如果直连本机或自建公网 MCP 地址,从控制面板或终端取得:
```text
MCP 地址
@@ -39,11 +41,11 @@ Bearer Token 或 OAuth 登录信息
把这些信息填入客户端的 MCP、Tools 或 Connectors 设置,并选择 **Streamable HTTP**。
- 客户端和 AgentDock 在同一台设备上:使用本地 MCP 地址。
-- 客户端在其他设备或云端:使用公网 MCP 地址。
+- 客户端在其他设备或云端:推荐使用 NexusDock,或启用 Cloudflare Tunnel 后使用公网 MCP 地址。
- 临时公网地址变化后:在客户端中替换旧地址,并按提示重新授权 OAuth。
:::tip
第一次使用只需要完成对应系统页面中的编号步骤。自定义端口、自动化参数和手动服务管理都可以以后再看。
:::
-如果安装时开启了公网地址,想用网页版 ChatGPT 操控本机,请继续阅读 [使用 ChatGPT 连接](../guides/chatgpt.md)。
+想用网页版 ChatGPT 操控本机(通过 NexusDock 或直连公网地址均可),请继续阅读 [使用 ChatGPT 连接](../guides/chatgpt.md)。
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/linux.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/linux.md
index 55a8196..2165ce8 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/linux.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/linux.md
@@ -78,7 +78,7 @@ sudo sh /tmp/install-agentdock.sh
- 没有域名:自动创建临时 `trycloudflare.com` 地址,适合快速使用。
- 已有域名:先按 [公网访问](../operations/public-access.md) 完成 Cloudflare 侧设置,再在安装器提示时填写得到的 HTTPS 公网地址和 Tunnel Token。
-安装完成后,终端会显示公网 MCP 地址和连接凭据。临时地址在重启后可能变化;需要新地址时执行 `sudo /opt/agentdock/bin/agentdock tunnel regenerate --runtime-root /etc/agentdock`,再替换客户端中的旧 MCP URL 并重新完成 OAuth 授权。已有 Bearer Token 和 OAuth 凭据会保留。
+安装完成后,终端会显示公网 MCP 地址和连接凭据。临时地址在重启后可能变化;需要新地址时执行 `sudo /opt/agentdock/bin/agentdock tunnel regenerate`(默认自动解析 `/etc/agentdock`,自定义目录可加 `--runtime-root `),再替换客户端中的旧 MCP URL 并重新完成 OAuth 授权。已有 Bearer Token 和 OAuth 凭据会保留。
公网访问必须保留认证。详细参数和日志位置见 [公网访问](../operations/public-access.md)。
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/macos.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/macos.md
index 555aaf2..a2e1416 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/macos.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/macos.md
@@ -8,7 +8,7 @@
- 使用 macOS 13 或更高版本。
- 只从官方 [AgentDock 下载入口](https://download.nexusdock.co/latest/macos)下载 AgentDock。
-- 固定公网地址需要已经接入 Cloudflare 的域名和对应的 Tunnel Token。没有这些条件时,先选择临时公网地址。
+- 需要远程访问时,推荐配对 **NexusDock**(`https://mcp.nexusdock.co` 或自托管实例),无需配置 Cloudflare;如希望单机直连公网,可在安装后于设置中按需安装 `cloudflared` 可选组件。
- 需要浏览器自动化时,请先安装 Google Chrome、Chromium 或 Microsoft Edge。
## 1. 下载并安装应用
@@ -30,21 +30,19 @@ AgentDock 启动后会出现在菜单栏。点击图标并选择“安装 AgentD
## 3. 选择连接方式
-### 仅本机
-
-MCP 客户端也在这台 Mac 上时选择。该模式不需要域名或 Cloudflare 账号。
+首次引导会配置本机 AgentDock 服务并允许其在后台运行。等待状态显示“运行正常”后,在应用中按需选择连接方式:
-### 临时公网地址
+### NexusDock(推荐远程方式)
-需要从 ChatGPT、手机或其他设备连接,但还没有域名时选择。AgentDock 会自动生成一个 HTTPS 公网地址。
+打开 **连接** 页面,填写 NexusDock 地址(如 `https://mcp.nexusdock.co` 或自托管 NexusDock 地址)与一次性配对码即可完成配对,无需配置 Cloudflare Tunnel 或域名。详见 [连接 AgentDock](../operations/nexusdock-connect.md)。
-这个地址可能在 Mac 或 Tunnel 重启后变化。地址变化时,从控制面板复制新地址,并替换客户端中的旧地址。
+### 仅本机
-### 固定域名
+MCP 客户端也在这台 Mac 上时,直接使用本地 MCP 地址和 Bearer Token 即可,不需要域名或 Cloudflare 账号。
-需要长期使用稳定地址时,先按 [公网访问](../operations/public-access.md) 完成 Cloudflare 侧设置。然后在 AgentDock 中选择“固定域名”,填写该教程得到的 HTTPS 公网地址和 Tunnel Token。公网地址不要添加 `/mcp`。
+### 自建公网访问(可选 Cloudflare Tunnel)
-点击“安装并启动”,保持窗口打开,直到状态显示“运行正常”。安装完成后,可以直接在控制面板切换公网访问方式,不需要重新运行安装器。
+如果希望不经过 NexusDock、直接为这台 Mac 暴露公网 HTTPS MCP 地址,可在 **设置 / 高级连接** 中先按需安装 `cloudflared` 可选组件,再选择 **临时公网地址** 或 **固定域名**(见 [公网访问](../operations/public-access.md))。固定公网地址不要添加 `/mcp`。
## 4. 连接 MCP 客户端
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/windows.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/windows.md
index 3233bee..2669516 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/windows.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/windows.md
@@ -13,7 +13,7 @@ AgentDock 支持 Windows 11 x64 和 ARM64。
不确定时,通常选择 `amd64`。
-安装包已经包含 AgentDock 核心、控制面板、核心 Skill 和 Cloudflare 组件。安装和升级时不会再从 GitHub 下载这些组件。
+安装包已包含 AgentDock 核心、控制面板和官方核心 Skill。`cloudflared` 已改为按需安装的可选组件,仅当你启用自建 Cloudflare Tunnel 公网直连时才需要在控制面板中安装。
## 2. 运行安装程序
@@ -32,21 +32,19 @@ AgentDock 支持 Windows 11 x64 和 ARM64。
## 4. 选择连接方式
-### 仅本机使用
-
-MCP 客户端也在这台电脑上时选择。该模式不需要域名或 Cloudflare 账号。
+交互式安装程序默认只完成 AgentDock 安装并启用本机访问,不再在安装向导中要求配置 Cloudflare Tunnel。安装完成并打开 AgentDock 控制面板后,可在 **连接** 页面按需选择方式:
-### 临时公网地址
+### NexusDock(推荐远程方式)
-适合从 ChatGPT、手机或其他设备连接,但暂时没有域名的情况。AgentDock 会自动生成 `trycloudflare.com` 地址。
+填写 NexusDock 地址(如 `https://mcp.nexusdock.co` 或自托管 NexusDock 地址)与一次性配对码即可完成配对,无需安装 `cloudflared` 或配置域名。详见 [连接 AgentDock](../operations/nexusdock-connect.md)。
-临时地址可能在 Windows 或 Tunnel 重启后变化。地址变化时,在控制面板中查看新地址,再替换客户端中的旧地址。
+### 仅本机使用
-### 使用自己的 Cloudflare 域名
+MCP 客户端也在这台电脑上时,直接使用本地 MCP 地址和 Bearer Token 即可,不需要域名或 Cloudflare 账号。
-需要长期使用稳定地址时,先按 [公网访问](../operations/public-access.md) 完成 Cloudflare 侧设置。然后在 AgentDock 中选择“固定域名”,填写该教程得到的 HTTPS 公网地址和 Tunnel Token。公网地址不要添加 `/mcp`。
+### 自建 Cloudflare Tunnel(可选)
-安装完成后,可以直接在 AgentDock 控制面板的 **公网访问** 中切换仅本机、临时地址和固定域名;仅修改公网访问方式时不需要重新运行安装器。
+如果希望不经过 NexusDock、直接为这台电脑暴露公网 HTTPS 地址,请在 **设置 / 高级连接** 中先安装可选 `cloudflared` 组件,再切换为 **临时公网地址** 或 **固定域名**(见 [公网访问](../operations/public-access.md))。固定公网地址不要添加 `/mcp`。
## 5. 完成安装
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guides/chatgpt.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guides/chatgpt.md
index 7f0a8f0..5275a3e 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guides/chatgpt.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guides/chatgpt.md
@@ -2,32 +2,41 @@
通过网页版 ChatGPT 操作电脑上的文件、执行命令、管理 Git、使用浏览器自动化,或调用本机编码工具。
-网页版 ChatGPT 连接 AgentDock 需要:
+网页版 ChatGPT 可以通过两种方式接入 AgentDock:
-1. AgentDock 拥有 ChatGPT 可访问的公网 HTTPS 地址。
-2. AgentDock 开启 OAuth 认证。
-3. 在 ChatGPT 中使用公网 MCP 地址与 OAuth 密码完成连接。
-
-Windows 和 macOS 图形安装程序已自动集成 Cloudflare Tunnel 与 OAuth 配置。
+- **通过 NexusDock 接入(推荐)**:将一台或多台 AgentDock 配对到 **NexusDock Cloud**(`https://mcp.nexusdock.co`)或自托管 NexusDock,然后在 ChatGPT 中一次性接入 `https://mcp.nexusdock.co/mcp`(或你的自托管 NexusDock `/mcp` 地址)并完成 OAuth 授权,无需配置 Cloudflare Tunnel 或域名。
+- **直连单台 AgentDock 公网地址(自建)**:在设置中按需安装可选 `cloudflared` 组件(或自行配置 HTTPS 反向代理),开启 OAuth 后由 ChatGPT 直接访问该设备的公网 HTTPS 地址。
:::note
本页中的“**插件**”指 ChatGPT 界面里的连接入口,不是 [AgentDock Plugin 扩展包](../concepts/plugins.md)。
:::
-## 快速上手(Windows / macOS 图形应用)
+## 推荐方式:通过 NexusDock Cloud 连接
+
+1. 在目标设备上安装 AgentDock([Windows](../getting-started/windows.md)、[macOS](../getting-started/macos.md)、[Linux](../getting-started/linux.md) 或 [Docker](../getting-started/docker.md))。
+2. 登录 `https://mcp.nexusdock.co`,生成 6 位一次性配对码,并在 AgentDock 桌面端(或通过 `sudo agentdock nexus pair`)完成配对。详见 [连接 AgentDock](../operations/nexusdock-connect.md)。
+3. 在 ChatGPT 中开启 **开发人员模式** 并创建自定义 MCP 插件,MCP Server URL 填写:
+
+ ```text
+ https://mcp.nexusdock.co/mcp
+ ```
+
+4. 按浏览器跳转完成 NexusDock OAuth 授权,然后新开对话调用 `agentdock_context` 确认已配对设备在线。
+
+## 直连单台 AgentDock(Windows / macOS 图形应用)
-请先根据 [Windows 安装](../getting-started/windows.md) 或 [macOS 安装](../getting-started/macos.md) 指引完成 AgentDock 安装。
+如果你希望不经过 NexusDock、让 ChatGPT 直接连接单台 AgentDock,请先根据 [Windows 安装](../getting-started/windows.md) 或 [macOS 安装](../getting-started/macos.md) 指引完成安装。
-### 1. 选择公网连接方式
+### 1. 启用自建公网访问
-在安装或配置 AgentDock 时选择连接方式:
+打开 AgentDock 控制面板,进入 **设置 / 高级连接**(或 **公网访问**),如尚未安装可选组件 `cloudflared` 则先点击安装,然后选择公网连接方式:
- 还没有域名、想先连通测试时,选择 **临时公网地址**。
- 有自己的域名、希望长期稳定使用时,建议选择 **使用自己的 Cloudflare 域名**。