clawtool 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +58 -27
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,55 +1,86 @@
|
|
|
1
1
|
# ClawTool
|
|
2
2
|
|
|
3
|
-
OpenClaw
|
|
4
|
-
Fully local diagnose and repair tool for OpenClaw.
|
|
3
|
+
Fully local diagnostics and repair tool for OpenClaw.
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
[English](#english) | [中文](#中文)
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
Run:
|
|
7
|
+
## English
|
|
10
8
|
|
|
11
9
|
```bash
|
|
12
10
|
npm install
|
|
13
11
|
npm run dev
|
|
14
12
|
```
|
|
15
13
|
|
|
16
|
-
|
|
17
|
-
CLI options:
|
|
14
|
+
### Run
|
|
18
15
|
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
```bash
|
|
17
|
+
npm install
|
|
18
|
+
npm run dev
|
|
19
|
+
```
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
### CLI Options
|
|
22
|
+
|
|
23
|
+
- `--no-open`: Do not auto-open browser
|
|
24
|
+
- `--port <number>`: Force a specific port
|
|
25
|
+
|
|
26
|
+
### Example
|
|
24
27
|
|
|
25
28
|
```bash
|
|
26
29
|
npm run dev -- --no-open --port 9527
|
|
27
30
|
```
|
|
28
31
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
构建与启动:
|
|
32
|
-
Build and start:
|
|
32
|
+
### Build
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
35
|
npm run build
|
|
36
36
|
npm start
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
### Health Endpoint
|
|
40
|
+
- `GET /api/health`
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
### Current Scope (v1 Fully Local)
|
|
43
|
+
- Local observation and diagnosis only
|
|
44
|
+
- Deterministic local rule engine
|
|
45
|
+
- Guided confirmation before running fix commands
|
|
46
|
+
- Single-page bilingual UI (zh/en)
|
|
47
|
+
- No cloud API dependency
|
|
43
48
|
|
|
44
|
-
|
|
49
|
+
## 中文
|
|
50
|
+
|
|
51
|
+
OpenClaw 的纯本地诊断与修复工具。
|
|
45
52
|
|
|
46
|
-
|
|
53
|
+
### 运行
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
npm install
|
|
57
|
+
npm run dev
|
|
58
|
+
```
|
|
47
59
|
|
|
48
|
-
|
|
49
|
-
|
|
60
|
+
### CLI 参数
|
|
61
|
+
|
|
62
|
+
- `--no-open`: 不自动打开浏览器
|
|
63
|
+
- `--port <number>`: 指定端口
|
|
64
|
+
|
|
65
|
+
### 示例
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npm run dev -- --no-open --port 9527
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### 构建与启动
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
npm run build
|
|
75
|
+
npm start
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### 健康检查接口
|
|
79
|
+
- `GET /api/health`
|
|
50
80
|
|
|
51
|
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
81
|
+
### 当前范围(v1 纯本地版)
|
|
82
|
+
- 仅本地观察与诊断
|
|
83
|
+
- 确定性本地规则引擎
|
|
84
|
+
- 修复命令执行前需要确认
|
|
85
|
+
- 单页中英双语界面(zh/en)
|
|
86
|
+
- 不依赖云端 API
|