clawtool 0.1.7 → 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 CHANGED
@@ -1,42 +1,86 @@
1
1
  # ClawTool
2
2
 
3
- Local-first diagnose and repair tool for OpenClaw.
3
+ Fully local diagnostics and repair tool for OpenClaw.
4
4
 
5
- ## Run
5
+ [English](#english) | [中文](#中文)
6
+
7
+ ## English
6
8
 
7
9
  ```bash
8
10
  npm install
9
11
  npm run dev
10
12
  ```
11
13
 
12
- CLI options:
14
+ ### Run
13
15
 
14
- - `--no-open`: do not auto-open browser
15
- - `--port <number>`: force a specific port
16
+ ```bash
17
+ npm install
18
+ npm run dev
19
+ ```
16
20
 
17
- Example:
21
+ ### CLI Options
22
+
23
+ - `--no-open`: Do not auto-open browser
24
+ - `--port <number>`: Force a specific port
25
+
26
+ ### Example
18
27
 
19
28
  ```bash
20
29
  npm run dev -- --no-open --port 9527
21
30
  ```
22
31
 
23
- ## Build
32
+ ### Build
24
33
 
25
34
  ```bash
26
35
  npm run build
27
36
  npm start
28
37
  ```
29
38
 
30
- ## Health endpoint
31
-
32
- The local server exposes:
33
-
39
+ ### Health Endpoint
34
40
  - `GET /api/health`
35
41
 
36
- ## Current scope (v1 local)
37
-
38
- - Local observation only
39
- - Deterministic local rules
40
- - Guided fix confirmation before command execution
42
+ ### Current Scope (v1 Fully Local)
43
+ - Local observation and diagnosis only
44
+ - Deterministic local rule engine
45
+ - Guided confirmation before running fix commands
41
46
  - Single-page bilingual UI (zh/en)
42
47
  - No cloud API dependency
48
+
49
+ ## 中文
50
+
51
+ OpenClaw 的纯本地诊断与修复工具。
52
+
53
+ ### 运行
54
+
55
+ ```bash
56
+ npm install
57
+ npm run dev
58
+ ```
59
+
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`
80
+
81
+ ### 当前范围(v1 纯本地版)
82
+ - 仅本地观察与诊断
83
+ - 确定性本地规则引擎
84
+ - 修复命令执行前需要确认
85
+ - 单页中英双语界面(zh/en)
86
+ - 不依赖云端 API
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "clawtool",
3
- "version": "0.1.7",
4
- "description": "Local-first OpenClaw diagnose and repair tool",
3
+ "version": "0.1.9",
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-First Diagnose Engine</div>
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-First Diagnose Engine',
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',