refactor: 项目更名 WeKnora → Academy
Build & Publish (dsh-academy) / End-to-end inside dsh (latest, advisory) (push) Skipped
CLI / test (macos-latest / go 1.26) (push) Canceled after 0s
CLI / test (ubuntu-latest / go 1.26) (push) Canceled after 0s
CLI / test (windows-latest / go 1.26) (push) Canceled after 0s
Build and Push Docker Image / build-ui (push) Canceled after 0s
Build and Push Docker Image / build-docreader (push) Canceled after 0s
Build and Push Docker Image / build-sandbox (push) Canceled after 0s
Build and Push Docker Image / build-app (amd64, linux/amd64, ubuntu-latest) (push) Canceled after 0s
Build and Push Docker Image / build-app (arm64, linux/arm64, ubuntu-24.04-arm) (push) Canceled after 0s
Build and Push Docker Image / merge (push) Canceled after 0s
Frontend / Test, type-check, and build (push) Canceled after 0s
Frontend / Docker multi-stage image (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.10) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.11) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.12) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.13) (push) Canceled after 0s
Build & Publish (mcp-server) / Build sdist + wheel (push) Canceled after 0s
Build & Publish (mcp-server) / Publish to PyPI (push) Canceled after 0s
Anydoc / anydoc parser engine (push) Canceled after 0s
App / Format, vet, test, and build (push) Canceled after 0s
DocReader / Python tests and Go client tests (push) Canceled after 0s
Build & Publish (dsh-academy) / Typecheck, test, pack (push) Canceled after 0s
Build & Publish (dsh-academy) / End-to-end inside dsh (pinned) (push) Canceled after 0s
Build & Publish (dsh-academy) / Publish to npm (push) Canceled after 0s
Go Lint Cache / warm lint cache (.) (push) Canceled after 0s
Go Lint Cache / warm lint cache (cli) (push) Canceled after 0s
Go Lint Cache / warm lint cache (client) (push) Canceled after 0s
Helm / chart (push) Canceled after 0s
Build & Publish (dsh-academy) / End-to-end inside dsh (latest, advisory) (push) Skipped
CLI / test (macos-latest / go 1.26) (push) Canceled after 0s
CLI / test (ubuntu-latest / go 1.26) (push) Canceled after 0s
CLI / test (windows-latest / go 1.26) (push) Canceled after 0s
Build and Push Docker Image / build-ui (push) Canceled after 0s
Build and Push Docker Image / build-docreader (push) Canceled after 0s
Build and Push Docker Image / build-sandbox (push) Canceled after 0s
Build and Push Docker Image / build-app (amd64, linux/amd64, ubuntu-latest) (push) Canceled after 0s
Build and Push Docker Image / build-app (arm64, linux/arm64, ubuntu-24.04-arm) (push) Canceled after 0s
Build and Push Docker Image / merge (push) Canceled after 0s
Frontend / Test, type-check, and build (push) Canceled after 0s
Frontend / Docker multi-stage image (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.10) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.11) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.12) (push) Canceled after 0s
Build & Publish (mcp-server) / Test (Python 3.13) (push) Canceled after 0s
Build & Publish (mcp-server) / Build sdist + wheel (push) Canceled after 0s
Build & Publish (mcp-server) / Publish to PyPI (push) Canceled after 0s
Anydoc / anydoc parser engine (push) Canceled after 0s
App / Format, vet, test, and build (push) Canceled after 0s
DocReader / Python tests and Go client tests (push) Canceled after 0s
Build & Publish (dsh-academy) / Typecheck, test, pack (push) Canceled after 0s
Build & Publish (dsh-academy) / End-to-end inside dsh (pinned) (push) Canceled after 0s
Build & Publish (dsh-academy) / Publish to npm (push) Canceled after 0s
Go Lint Cache / warm lint cache (.) (push) Canceled after 0s
Go Lint Cache / warm lint cache (cli) (push) Canceled after 0s
Go Lint Cache / warm lint cache (client) (push) Canceled after 0s
Helm / chart (push) Canceled after 0s
- 全量替换代码/配置/文档中的项目名(保留上游 GitHub 链接、weixin 文档域名、Docker Hub 镜像名) - 重命名 32 个含项目名的文件/目录;Go module 路径改为 academy(含 client/cli 子模块) - docreader proto 描述符采用等长替换,保持序列化字节布局有效 - Dockerfile.app 构建网络修复: browserskill 离线产物通道、PyPI/apt 国内镜像 - 运行验证: go build ✓ docker compose up ✓ 健康检查 ✓
This commit is contained in:
1 parent
9097ee699d
commit
9058149576
3136 files changed
+18018
-18004
No files matched your search
@@ -1,8 +1,8 @@
|
||||
# Claw Skill
|
||||
|
||||
Claw Skill 为 OpenClaw 生态中的智能体提供 WeKnora 接入能力,通过 REST API 上传文档、导入网页和执行跨库检索。
|
||||
Claw Skill 为 OpenClaw 生态中的智能体提供 Academy 接入能力,通过 REST API 上传文档、导入网页和执行跨库检索。
|
||||
|
||||
技能托管在 ClawHub,包名为 [`@lyingbug/weknora`](https://clawhub.ai/lyingbug/weknora),许可证为 MIT-0。调用能力与权限由所连接的 WeKnora API 决定。
|
||||
技能托管在 ClawHub,包名为 [`@lyingbug/weknora`](https://clawhub.ai/lyingbug/weknora),许可证为 MIT-0。调用能力与权限由所连接的 Academy API 决定。
|
||||
|
||||
## 主要功能 {#能做什么}
|
||||
|
||||
@@ -22,11 +22,11 @@ Claw Skill 为 OpenClaw 生态中的智能体提供 WeKnora 接入能力,通
|
||||
2. **设置环境变量**:在终端或 `~/.zshrc` / `~/.bashrc` 里设置
|
||||
|
||||
```bash
|
||||
export WEKNORA_BASE_URL=https://your-weknora.example.com/api/v1
|
||||
export WEKNORA_API_KEY=sk-xxxxx
|
||||
export ACADEMY_BASE_URL=https://your-academy.example.com/api/v1
|
||||
export ACADEMY_API_KEY=sk-xxxxx
|
||||
```
|
||||
|
||||
`WEKNORA_BASE_URL` 需要包含 `/api/v1`,引导页的示例已填入当前实例地址。
|
||||
`ACADEMY_BASE_URL` 需要包含 `/api/v1`,引导页的示例已填入当前实例地址。
|
||||
|
||||
3. **安装 Skill**:在装好 OpenClaw CLI 的环境里执行下面的命令,或到 ClawHub 页面按指引安装;
|
||||
|
||||
@@ -44,7 +44,7 @@ Claw Skill 和 MCP Server 均可供外部智能体调用,选择取决于客户
|
||||
| --- | --- | --- |
|
||||
| 面向 | OpenClaw / ClawHub 生态的 Agent | 支持 MCP 协议的客户端(Claude Desktop、Cursor、Claude Code、VS Code Copilot 等) |
|
||||
| 安装 | ClawHub 安装 Skill | 无需额外部署:在「设置 → 发布集成 → MCP Server」创建端点,客户端连接 `/mcp/<endpoint_id>` |
|
||||
| 认证 | 空间 API Key(`WEKNORA_API_KEY`) | 每个端点独立令牌,可轮换、停用 |
|
||||
| 认证 | 空间 API Key(`ACADEMY_API_KEY`) | 每个端点独立令牌,可轮换、停用 |
|
||||
| 传输 | 直接调 REST | Streamable HTTP;仅支持 stdio 的客户端通过 `mcp-remote` 桥接 |
|
||||
| 能力范围 | 导入、检索、浏览(5 类) | 按端点勾选:检索与阅读、问答(端点默认 Agent)、Wiki、写入;可限定知识库范围 |
|
||||
| 文档 | 本篇 | [MCP 集成](../03-features/08-mcp.md) |
|
||||
|
||||
Reference in new issue
Block a user