|
8 | 8 | <a href="https://go.dev/"> |
9 | 9 | <img src="https://img.shields.io/badge/Go-1.25%2B-00ADD8?logo=go&logoColor=white" alt="Go Version" /> |
10 | 10 | </a> |
11 | | - <a href="https://github.com/1024XEngineer/neo-code/actions/workflows/ci.yml"> |
12 | | - <img src="https://img.shields.io/github/actions/workflow/status/1024XEngineer/neo-code/ci.yml?branch=main&label=CI" alt="CI Status" /> |
| 11 | + <a href="https://github.com/1024XEngineer/neo-code"> |
| 12 | + <img src="https://codecov.io/gh/1024XEngineer/neo-code/branch/main/graph/badge.svg" alt="Codecov Coverage" /> |
13 | 13 | </a> |
14 | 14 | <a href="https://github.com/1024XEngineer/neo-code/blob/main/LICENSE"> |
15 | | - <img src="https://img.shields.io/github/license/1024XEngineer/neo-code?color=97CA00" alt="License" /> |
| 15 | + <img src="https://img.shields.io/badge/License-MIT-purple?logo=opensourceinitiative&logoColor=white" alt="License MIT" /> |
16 | 16 | </a> |
17 | 17 | <a href="https://neocode-docs.pages.dev/"> |
18 | 18 | <img src="https://img.shields.io/badge/Docs-Official-1677FF?logo=readthedocs&logoColor=white" alt="Docs" /> |
19 | 19 | </a> |
20 | | - <a href="https://neocode-docs.pages.dev/guide/install"> |
| 20 | + <a href="https://neocode-docs.pages.dev/en/guide/install"> |
21 | 21 | <img src="https://img.shields.io/badge/Platform-Windows%20%7C%20macOS%20%7C%20Linux-4EAA25" alt="Platform" /> |
22 | 22 | </a> |
23 | 23 | </p> |
24 | 24 |
|
| 25 | + |
25 | 26 | <p align="center"> |
26 | 27 | <a href="https://neocode-docs.pages.dev/">文档</a> |
27 | 28 | · |
@@ -56,6 +57,7 @@ NeoCode 是一个运行在本地开发环境中的 AI Coding Agent。 |
56 | 57 | - MCP 接入:通过 MCP stdio server 扩展外部工具能力。 |
57 | 58 | - Gateway 模式:通过本地 JSON-RPC / SSE / WebSocket 接口连接桌面端、脚本和第三方客户端。 |
58 | 59 | - Feishu Adapter:支持 Webhook 与 SDK 长连接接入,并用单张状态卡片持续回传 run 状态。 |
| 60 | +- Local Runner:`neocode runner` 在本机执行工具,通过 WebSocket 主动连接云端 Gateway,无需开放入站端口。 |
59 | 61 |
|
60 | 62 | --- |
61 | 63 |
|
@@ -183,6 +185,21 @@ neocode use <provider> --model <model-id> |
183 | 185 | neocode use openai --model gpt-4.1 |
184 | 186 | ``` |
185 | 187 |
|
| 188 | +#### Local Runner |
| 189 | + |
| 190 | +在本机启动执行守护进程,主动连接云端 Gateway 接收工具执行请求。 |
| 191 | + |
| 192 | +```bash |
| 193 | +# 启动 runner(默认连接 127.0.0.1:8080) |
| 194 | +neocode runner |
| 195 | + |
| 196 | +# 指定远程 Gateway 地址和 token |
| 197 | +neocode runner --gateway-address "your-gateway.com:8080" --token-file ~/.neocode/auth.json |
| 198 | + |
| 199 | +# 指定 Runner 名称与工作目录 |
| 200 | +neocode runner --runner-name "我的本机" --workdir /path/to/project |
| 201 | +``` |
| 202 | + |
186 | 203 | ### 6. Shell 诊断代理 |
187 | 204 |
|
188 | 205 | 用于进入代理 shell、初始化 shell integration、手动触发诊断和控制自动诊断模式。 |
|
0 commit comments