From 76eefed83db4089bb71a09ccb13f7398da2cc066 Mon Sep 17 00:00:00 2001 From: jackwener Date: Mon, 16 Mar 2026 12:47:59 +0800 Subject: [PATCH] docs: add opencli doctor hint after token setup --- README.md | 6 ++++++ README.zh-CN.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/README.md b/README.md index f47fd3f..69ef3a1 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,12 @@ And, so that `opencli` commands can use it directly in the terminal, export it i export PLAYWRIGHT_MCP_EXTENSION_TOKEN="" ``` +After configuring, run `opencli doctor` to verify your token is correctly set up across all locations: + +```bash +opencli doctor +``` + ## Quick Start ### Install via npm (recommended) diff --git a/README.zh-CN.md b/README.zh-CN.md index f83eb94..6d89019 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -72,6 +72,12 @@ OpenCLI 通过 Playwright MCP Bridge 扩展与你的浏览器通信。 export PLAYWRIGHT_MCP_EXTENSION_TOKEN="<你的-token>" ``` +配置完成后,运行 `opencli doctor` 检测你的 Token 是否在所有位置都正确配置: + +```bash +opencli doctor +``` + ## 快速开始 ### npm 全局安装(推荐)