feat: add Chinese config page (Config.html) to replace onboard wizard

- Comprehensive Config.html with 10 model providers, 6 chat platforms
- Auto-detect gateway port, pre-fill existing config, import/export
- Mac-Start.command opens Config.html on first run, dashboard on subsequent runs
- U-Claw.html updated to reference Config.html
This commit is contained in:
dongsheng123132
2026-03-11 00:35:29 +08:00
parent bdae129e44
commit e04c205399
3 changed files with 1153 additions and 14 deletions

View File

@@ -82,21 +82,22 @@ body { font-family: -apple-system, "Microsoft YaHei", sans-serif; background: #0
</div>
<div class="step">
<div class="step-num">2</div>
<div class="step-text">浏览器自动打开,在网页里配置 AI 模型和 API Key</div>
<div class="step-text">首次运行自动打开<b>配置页面</b>,选模型、填 API Key 即可</div>
</div>
<p style="margin-top:12px; color:#999;">⚠️ 首次运行如果提示"无法验证开发者":右键点击 → 打开</p>
<p style="margin-top:8px;">📝 也可以直接双击 <code>Config.html</code> 打开中文配置页面</p>
</div>
<div class="card">
<h3>⚙️ 全部功能(配置/诊断/备份)</h3>
<p>双击 <code>Mac-Menu.command</code> 打开全功能菜单:</p>
<div class="grid">
<div class="grid-item"><h4>配置向导</h4><p>选模型、填 API Key、选平台</p></div>
<div class="grid-item"><h4>QQ Bot 接入</h4><p>腾讯官方3条命令搞定</p></div>
<div class="grid-item"><h4>中文配置页面</h4><p>Config.html — 选模型、填 Key、接 QQ</p></div>
<div class="grid-item"><h4>QQ Bot 接入</h4><p>已预装,只需 AppID + Secret</p></div>
<div class="grid-item"><h4>诊断修复</h4><p>openclaw doctor 一键检测</p></div>
<div class="grid-item"><h4>备份恢复</h4><p>配置和记忆一键备份</p></div>
<div class="grid-item"><h4>技能浏览</h4><p>52 个预装技能</p></div>
<div class="grid-item"><h4>镜像配置</h4><p>npm 淘宝镜像</p></div>
<div class="grid-item"><h4>系统信息</h4><p>版本、端口、运行状态</p></div>
</div>
</div>
</div>
@@ -111,7 +112,7 @@ body { font-family: -apple-system, "Microsoft YaHei", sans-serif; background: #0
</div>
<div class="step">
<div class="step-num">2</div>
<div class="step-text">浏览器自动打开,在网页里配置 AI 模型和 API Key</div>
<div class="step-text">首次运行自动打开<b>配置页面</b>,选模型、填 API Key 即可</div>
</div>
<p style="margin-top:12px; color:#999;">⚠️ 如果弹出安全警告:点击"更多信息" → "仍要运行"</p>
</div>