From dc201a803a423fd1494b984e7b68015f730c790f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Fri, 3 Apr 2026 11:56:02 +0000 Subject: [PATCH] =?UTF-8?q?security:=20update=20docs=20=E2=80=94=20all=20e?= =?UTF-8?q?ndpoints=20require=20auth=20except=20health=20=E2=80=94=20?= =?UTF-8?q?=E5=B0=8F=E6=A9=98=20=F0=9F=8D=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/shared/sigil-agent-guide.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/shared/sigil-agent-guide.md b/docs/shared/sigil-agent-guide.md index b963f7a..04d8167 100644 --- a/docs/shared/sigil-agent-guide.md +++ b/docs/shared/sigil-agent-guide.md @@ -59,11 +59,13 @@ Agent 不需要理解 HTTP、Cloudflare Workers、Request/Response 这些底层 |------|------|------|------| | `/_api/deploy` | POST | 需要 token | 部署能力 | | `/_api/remove` | DELETE | 需要 token | 删除能力 | -| `/_api/query` | GET | 公开 | 发现能力(语义搜索) | -| `/_api/inspect/{name}` | GET | 公开 | 查看能力详情 | -| `/run/{name}` | GET/POST | 公开 | 调用能力 | +| `/_api/query` | GET | 需要 token | 发现能力(语义搜索) | +| `/_api/inspect/{name}` | GET | 需要 token | 查看能力详情 | +| `/run/{name}` | GET/POST | 需要 token | 调用能力 | | `/_health` | GET | 公开 | 健康检查 | +**所有接口(除 health)均需 `Authorization: Bearer `。** CLI 自动读取 token,无需手动传递。 + **Base URL**: `https://sigil.shazhou.workers.dev` ## 部署能力