clawtool 0.1.7 → 0.1.8
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 +21 -8
- package/package.json +2 -2
- package/web/index.html +3 -3
package/README.md
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
# ClawTool
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
OpenClaw 的纯本地诊断与修复工具。
|
|
4
|
+
Fully local diagnose and repair tool for OpenClaw.
|
|
4
5
|
|
|
5
6
|
## Run
|
|
6
7
|
|
|
8
|
+
运行:
|
|
9
|
+
Run:
|
|
10
|
+
|
|
7
11
|
```bash
|
|
8
12
|
npm install
|
|
9
13
|
npm run dev
|
|
10
14
|
```
|
|
11
15
|
|
|
16
|
+
CLI 参数:
|
|
12
17
|
CLI options:
|
|
13
18
|
|
|
14
|
-
- `--no-open`: do not auto-open browser
|
|
15
|
-
- `--port <number>`: force a specific port
|
|
19
|
+
- `--no-open`: 不自动打开浏览器 / do not auto-open browser
|
|
20
|
+
- `--port <number>`: 指定端口 / force a specific port
|
|
16
21
|
|
|
22
|
+
示例:
|
|
17
23
|
Example:
|
|
18
24
|
|
|
19
25
|
```bash
|
|
@@ -22,6 +28,9 @@ npm run dev -- --no-open --port 9527
|
|
|
22
28
|
|
|
23
29
|
## Build
|
|
24
30
|
|
|
31
|
+
构建与启动:
|
|
32
|
+
Build and start:
|
|
33
|
+
|
|
25
34
|
```bash
|
|
26
35
|
npm run build
|
|
27
36
|
npm start
|
|
@@ -29,14 +38,18 @@ npm start
|
|
|
29
38
|
|
|
30
39
|
## Health endpoint
|
|
31
40
|
|
|
41
|
+
本地服务提供:
|
|
32
42
|
The local server exposes:
|
|
33
43
|
|
|
34
44
|
- `GET /api/health`
|
|
35
45
|
|
|
36
46
|
## Current scope (v1 local)
|
|
37
47
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
48
|
+
当前范围(v1 本地版):
|
|
49
|
+
Current scope (v1 local):
|
|
50
|
+
|
|
51
|
+
- 仅本地观察与诊断 / Local observation only
|
|
52
|
+
- 确定性本地规则引擎 / Deterministic local rules
|
|
53
|
+
- 修复命令执行前需要确认 / Guided fix confirmation before command execution
|
|
54
|
+
- 单页中英双语界面 / Single-page bilingual UI (zh/en)
|
|
55
|
+
- 不依赖云端 API / No cloud API dependency
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clawtool",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.8",
|
|
4
|
+
"description": "OpenClaw 纯本地诊断与修复工具 / Fully local OpenClaw diagnose and repair tool",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|
package/web/index.html
CHANGED
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
<body>
|
|
156
156
|
<main class="app notranslate">
|
|
157
157
|
<section class="brand">
|
|
158
|
-
<div class="brand-tag" id="brand-tag">Local
|
|
158
|
+
<div class="brand-tag" id="brand-tag">Fully Local Diagnose Engine</div>
|
|
159
159
|
<h1>ClawTool</h1>
|
|
160
160
|
<p id="brand-sub">Detect and repair OpenClaw issues locally with explicit fix confirmation.</p>
|
|
161
161
|
</section>
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
const isZh = /^zh/i.test(navigator.language || '');
|
|
177
177
|
const T = isZh ? {
|
|
178
178
|
pageTitle: 'OpenClaw 修复助手',
|
|
179
|
-
tag: '
|
|
179
|
+
tag: '纯本地诊断引擎',
|
|
180
180
|
sub: '本地检测并修复 OpenClaw 问题,所有修复步骤都需你确认。',
|
|
181
181
|
startText: '不走云端,不需要 token,仅本地执行。',
|
|
182
182
|
start: '开始扫描',
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
}
|
|
194
194
|
} : {
|
|
195
195
|
pageTitle: 'OpenClaw Repair Assistant',
|
|
196
|
-
tag: 'Local
|
|
196
|
+
tag: 'Fully Local Diagnose Engine',
|
|
197
197
|
sub: 'Detect and repair OpenClaw issues locally with explicit fix confirmation.',
|
|
198
198
|
startText: 'No cloud call. No token required. Local execution only.',
|
|
199
199
|
start: 'Start Scan',
|