release: v1.0.4 — 适配 OpenClaw 2026.3.2

This commit is contained in:
10000ge10000
2026-03-05 15:20:31 +08:00
parent 649e73120f
commit 5f381eebd7
12 changed files with 315 additions and 53 deletions

View File

@@ -13,20 +13,6 @@ local pty_port = uci:get("openclaw", "main", "pty_port") or "18793"
.oc-page-header h2 { font-size: 18px; font-weight: 600; color: #333; margin: 0 0 6px 0; }
.oc-page-header p { font-size: 13px; color: #666; margin: 0; line-height: 1.6; }
.oc-info-box {
padding: 12px 16px;
margin-bottom: 16px;
background: #f6f8fa;
border: 1px solid #e1e4e8;
border-left: 4px solid #4a90d9;
border-radius: 4px;
font-size: 13px;
line-height: 1.7;
color: #555;
}
.oc-info-box ul { margin: 6px 0 0 0; padding-left: 18px; list-style: none; }
.oc-info-box li { margin-bottom: 2px; }
.oc-terminal-wrap {
border: 2px solid #2d333b;
border-radius: 8px;
@@ -47,15 +33,6 @@ local pty_port = uci:get("openclaw", "main", "pty_port") or "18793"
<p>通过内嵌的交互式终端 (oc-config) 进行 OpenClaw 的完整配置管理。支持 AI 模型配置、消息渠道设置、健康检查等。</p>
</div>
<div class="oc-info-box">
<strong>💡 菜单功能说明:</strong>
<ul>
<li><strong>1)</strong> 查看当前配置 &nbsp; <strong>2)</strong> 配置 AI 模型提供商 &nbsp; <strong>3)</strong> 设定当前活跃模型</li>
<li><strong>4)</strong> 配置消息渠道 &nbsp; <strong>5)</strong> Telegram 配对向导 &nbsp; <strong>6)</strong> 健康检查 / 诊断</li>
<li><strong>7)</strong> 重启网关 &nbsp; <strong>8)</strong> 查看/编辑原始配置 &nbsp; <strong>9)</strong> 恢复默认配置</li>
</ul>
</div>
<div class="oc-terminal-wrap">
<div id="oc-terminal-container">
<div class="oc-terminal-loading" id="oc-terminal-loading">

View File

@@ -75,6 +75,7 @@
<tr><td>运行时间</td><td id="oc-st-uptime">-</td></tr>
<tr><td>Node.js</td><td id="oc-st-node">-</td></tr>
<tr><td>OpenClaw</td><td id="oc-st-ocver">-</td></tr>
<tr><td>插件版本</td><td id="oc-st-plugin">-</td></tr>
</table>
</div>
</div>
@@ -132,6 +133,7 @@
document.getElementById('oc-st-uptime').textContent = d.uptime || '-';
document.getElementById('oc-st-node').textContent = d.node_version || '未安装';
document.getElementById('oc-st-ocver').textContent = d.openclaw_version || '未安装';
document.getElementById('oc-st-plugin').textContent = d.plugin_version ? ('v' + d.plugin_version) : '-';
} catch(e) {
document.getElementById('oc-st-status').innerHTML = '<span class="oc-badge oc-badge-unknown">查询失败</span>';