晴天
bc55cf4829
fix(channels): 同步契约按内核源码逐条核对并修正
...
对照 OpenClaw(zod-schema.core.ts / model-ref-shared.ts)与 Hermes
(config.py / auth.py / model_normalize.py)内核源码验证同步写入契约,
修正三处不一致:
- OpenClaw 模型条目恒写含 id/name 的完整对象(内核 strict schema
两字段必填,裸字符串有被拒风险),name 缺省回退为模型 ID;
模型引用按第一个 / 切分已确认正确,含斜杠模型 ID 无需处理
- Hermes model.default 改写纯模型 ID:内核不解析 "provider/model"
前缀(provider 由 model.provider 单独指定),原先拼接前缀会写出
内核不认识的模型名
- Hermes 回退 provider 按注册表真实 id 匹配:OpenAI 兼容 → 'custom'
(注册表无独立 'openai' API-Key id),Gemini → 'gemini'(内核经
OpenAI 兼容端点接入,按 transport 匹配会误判为不支持);
自定义 Base URL 仅对 OpenAI 兼容渠道写入,避免破坏 anthropic/gemini
的专用端点格式
另:渠道编辑器新增「可同步到」实时适配提示(切换 API 类型即显示
OpenClaw / Hermes / 助手的支持情况);测试断言更新为核对后的契约
(428 通过)。发现的存量问题已记录:最新内核 api 枚举中
openai-codex-responses 已改名,共享 API_TYPES 需对照推荐稳定版处理。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-05 12:44:41 -07:00
晴天
79863ffddd
feat(channels): 模型配置入口收口到模型渠道页,渠道卡片强化绑定状态
...
模型配置此前散落三处、口径不一。本次把模型渠道页确立为配置中枢:
- OpenClaw 模型配置页顶部新增引导条:推荐在模型渠道统一维护并同步
- Hermes 安装向导配置步新增引导:已有渠道可从渠道页一键同步到 Hermes
- 晴辰助手 API 设置新增引导:已有渠道可直接同步到助手,无需重复填写
- 渠道卡片同步区新增「绑定状态」标题,OpenClaw / Hermes / 助手三行
绑定关系(已同步 / 有未同步变更 / 未同步 / 不支持)一目了然
i18n:models / assistant / engine / modelChannels 四个模块补充
简中 / 繁中 / 英文案。验证:npm build + node --test 427 通过。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-05 12:32:31 -07:00
晴天
8a247af03e
fix(setup): 未安装状态不再反复跳回检测页、聚焦重检不再清空页面
...
用户反馈"未安装时系统一直在检测/跳回检测页",三个成因逐一修复:
- 安装/升级任务事件(upgrade-done/error)回调在 OpenClaw 未就绪时
无条件 navigate('/setup'):安装失败会把用户从诊断/设置页拽回安装页,
已在 setup 页时重复 navigate 还会整页重建重新检测。
现只把默认路由指向 setup,仅当停留在依赖 CLI 的仪表盘时才主动跳转
- 窗口聚焦触发的重检(#Compat-4)每次都把步骤区清成骨架屏,
切窗口回来就像"又从头检测"。聚焦重检改为 silent 模式:
保留已渲染内容,检测完成后原地更新
- 检测流程加异常兜底:任何错误渲染错误卡片并提示重新检测,
骨架屏不再有机会永久残留
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-05 12:14:16 -07:00
晴天
1dc9151b63
feat(hermes): 安装向导体验重做——实时日志、镜像配置、可操作错误与断点续行
...
依据上游 Hermes 源码(官方 install.sh/ps1 → uv → setup → doctor 流程)
与面板安装链路审计(18 项问题清单,见 .tmp 调研文档)实施:
- 安装输出实时流式:新增 run_install_command_streaming,uv tool/pip
安装的 stdout/stderr 逐行实时 emit(原 wait_with_output 等进程结束
才发日志,用户盯 3-10 分钟转圈);stderr 保留尾部 8KB 供失败诊断
- 网络与镜像 UI:安装步新增折叠区,PyPI 镜像(清华/阿里云/自定义)
与 Git 镜像前缀直接在向导内配置并持久化(panelConfig,后端已读取)
- 失败诊断可操作:诊断关键词覆盖 PyPI 超时/SSL/代理/解析失败,
给出镜像与代理建议;uv pip 备选安装路径同样接入诊断
- 检测门控:环境有提示项(Python 版本/Git 缺失)时停留检测页等确认,
不再 800ms 自动跳走;全部正常仍自动进入下一步
- 断点续行:向导阶段写入 sessionStorage,重开回到上次步骤
(以检测结果为前提校验,complete 不恢复)
- 配置步错误改内联面板,API Key 旁提示「获取模型列表」可验证 Key;
自定义网关健康检查对 ok=false 响应视为失败
另修复模型渠道页 API 类型下拉显示 [object Object](API_TYPES 为
{value,label} 对象数组),卡片芯片同步显示可读类型名。
验证:npm build / node --test 427 通过 / cargo fmt+clippy -D warnings /
cargo test --lib 314 通过
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-05 12:07:40 -07:00
晴天
dba69ee0fc
feat(channels): 统一模型渠道——一处配置,同步 OpenClaw / Hermes / 晴辰助手
...
新增「模型渠道」页面(通用分组):用户只维护一份渠道配置
(服务商预设 / Base URL / API Key / 模型列表 / 默认模型),
通过显式同步推送到三个消费方,消灭重复配置。
实现要点:
- 渠道存储 src-tauri/src/commands/model_channels.rs:
读取只回掩码(apiKeySaved/apiKeyMask),写入支持 __KEEP__ 哨兵保留旧 Key,
明文 Key 仅经 reveal_model_channel_key 在同步时取出;
文件位于 openclaw 数据目录下,便携迁移自动带走;含 6 个单元测试
- 同步逻辑 src/lib/model-channels.js 组合现有命令完成(各自带自动备份):
OpenClaw 只 upsert 对应 provider 保留未知字段;
Hermes 写 provider 环境变量 + 可选默认模型(仅 OpenAI/Anthropic/Gemini
兼容 API Key 型,OAuth/SDK 型仍走 Hermes 向导);
助手为一次性拷贝到 localStorage
- 页面 src/pages/model-channels.js:渠道卡片 + 三目标同步状态徽标
(已同步/有未同步变更/未同步)+ 编辑弹窗(预设自动填充、在线拉取模型、
默认模型联动)+ 从 OpenClaw 现有配置一键导入 + 全部操作确认弹窗
- Web 模式 dev-api.js 同构 handler + ALWAYS_LOCAL;i18n 简/繁/英 +
侧栏 11 语言;tests/model-channels.test.js 锁定注册链与安全约束
验证:npm build / cargo fmt+check+clippy -D warnings / cargo test --lib
314 通过 / node --test 全部 427 通过
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-05 11:48:24 -07:00
晴天
b04deb4e54
fix(release): 0.18.6 收口——审查修复、创作中心与便携迁移加固、设置页提速
...
按全量代码审查(8 角度 × 对抗验证)修复 10 项确认问题并完成收口:
安全:
- 媒体资产下载仅对与服务商 Base URL 同主机的地址携带 API Key,防止密钥外泄
- 助手媒体工具默认关闭需显式开启;付费图片/视频生成在任何模式下强制确认
数据与容错:
- 媒体数据统一存放 openclaw 数据目录下,便携迁移后配置与历史直接生效
- 视频轮询 429/5xx 瞬时错误不再永久标记失败;失败任务可重新轮询找回
- 创建视频任务无法识别任务 ID 时保留任务记录与原始响应(可能已计费)
- 便携迁移失败时正确显示错误状态;便携命令加入 Web 模式 ALWAYS_LOCAL
性能与体验:
- 任务记录落盘前裁剪 base64 等超大字段,媒体历史文件不再膨胀
- 资产预览 stat 预检 + 64MB 上限 + 缓存淘汰;轮询并行化(后端 jobs 加锁)
- 初始设置页两阶段渲染:本地检测先出首屏,版本网络查询异步补充
- 创作中心删除改用统一确认弹窗(原生 confirm 在 macOS WebView 失效)
- 检查配置/获取模型列表放行 http:// 自建网关;桌面/Web 状态解析对齐
- 统一三处路径包含检查为 utils 共享 helper(Linux 大小写误判修复)
- 补充便携模式 hermes-cli-missing 警告翻译(简/繁/英)
其他:修复 web-headless-reload-policy 陈旧断言(e16ff2b 后 ws-client 已无隐式 reload)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-05 11:43:33 -07:00
晴天
cf2572ea99
fix(hermes): 兼容最新版 Web Search 策略
2026-06-15 14:00:07 +08:00
晴天
675ad1628b
fix(openclaw): 兼容新版配置与 Node 门槛
2026-06-11 15:24:01 +08:00
晴天
d60db3b71b
fix(setup): 补齐跨端 Node 检测与新手引导
2026-06-08 22:31:00 +08:00
晴天
634fe66556
fix(setup): 完善 Node 版本检测与升级引导
2026-06-08 22:04:55 +08:00
晴天
e16ff2baee
fix(openclaw): stabilize windows install and pairing
2026-06-07 03:28:10 +08:00
晴天
de1531d111
feat: prepare v0.18.0 release
2026-06-06 18:32:37 +08:00
晴天
f340b64028
feat(update): integrate official site update flow
2026-06-06 13:59:52 +08:00
晴天
1836069b0f
fix(hermes): self-host dashboard_auth + web_dist stubs to survive upstream missing pieces
...
Upstream hermes-agent 0.14.0 (both the PyPI wheel and the public git source
at NousResearch/hermes-agent) ships hermes_cli/web_server.py with hard imports
of hermes_cli.dashboard_auth.{audit,middleware,prefix,routes,ws_tickets} but
those source files are not included in the distribution, and the dashboard
SPA bundle (hermes_cli/web_dist/) is also missing. On Windows this makes
'hermes dashboard' crash on startup, which collapses every ClawPanel page
that talks to port 9119 (Profile / Kanban / OAuth / Channels / Sessions
detail) into a 'request rejected by target machine' error.
Per project policy we do not patch upstream. Instead, after each install /
upgrade and again before spawning the dashboard, ClawPanel now injects a
minimal pass-through stub into the installed venv:
- hermes_cli/dashboard_auth/{__init__,audit,middleware,prefix,routes,
ws_tickets}.py — no-op providers, safe on loopback (127.0.0.1) where
the auth gate is intentionally disabled.
- hermes_cli/web_dist/index.html + assets/ — so mount_spa() takes the
token-injecting branch instead of the 'Frontend not built' 404 branch.
Without this the panel can never scrape window.__HERMES_SESSION_TOKEN__
from the dashboard HTML and every /api/* call fails with 401.
Injection is idempotent: if upstream eventually ships the real files, the
stub writer skips them so the real implementation wins. Failures are
logged-and-swallowed so install/upgrade is never blocked by best-effort
compatibility patches.
Group-chat page is also fixed: hermes_agent_run resolves to the run_id
string (not a result object), so the page was rendering 'run_xxx...' as
the assistant reply. It now listens to hermes-run-{started,delta,done,
error,cancelled} events and resolves to payload.output (with accumulated
delta as fallback).
2026-05-28 08:53:37 +08:00
cursor[bot]
8568dd0d2a
fix(dashboard): prevent superseded dashboard loads from mutating state ( #301 )
...
Adds two loadSeq guards in _loadDashboardDataInner: after the first await coreP and before the self-heal writeOpenclawConfig path. Prevents stale loads from polluting cache, popping toasts, or writing config after a newer load has been queued.
2026-05-28 07:27:51 +08:00
晴天
ca99e27406
feat(hermes): add display tui controls
2026-05-27 06:59:16 +08:00
晴天
b51bde929e
feat(hermes): add browser camofox controls
2026-05-27 06:43:41 +08:00
晴天
3c29431be0
feat(hermes): add terminal docker advanced controls
2026-05-27 06:28:45 +08:00
晴天
63533036cf
feat(hermes): add display analytics controls
2026-05-27 06:13:49 +08:00
晴天
88ac3f6cca
feat(hermes): add context engine controls
2026-05-27 05:39:22 +08:00
晴天
a592b0194d
feat(hermes): add x search controls
2026-05-27 05:25:42 +08:00
晴天
c9e4a380a9
feat(hermes): add model catalog controls
2026-05-27 05:06:32 +08:00
晴天
18c0164bdb
feat(hermes): add lsp diagnostic controls
2026-05-27 04:49:03 +08:00
晴天
3bb3c9a7c3
feat(hermes): add web tool backend controls
2026-05-27 04:33:03 +08:00
晴天
0b4a70e7a4
feat(hermes): add terminal cloud runtime controls
2026-05-27 04:17:17 +08:00
晴天
c196cef026
feat(hermes): add tts voice controls
2026-05-27 04:02:36 +08:00
晴天
68320496b3
feat(hermes): add terminal env passthrough controls
2026-05-27 03:39:06 +08:00
晴天
8151092e0e
feat(hermes): add terminal shell environment controls
2026-05-27 03:23:27 +08:00
晴天
66a23f861c
feat(hermes): add update backup controls
2026-05-27 02:33:57 +08:00
晴天
77ab060e9c
feat(hermes): add session store maintenance controls
2026-05-27 02:14:20 +08:00
晴天
d2236afc2d
feat(hermes): add curator maintenance controls
2026-05-27 01:59:06 +08:00
晴天
ec0f7ec64a
feat(hermes): add skills security controls
2026-05-27 01:40:53 +08:00
晴天
8f7f2a6e8e
feat(hermes): add browser advanced controls
2026-05-27 01:27:23 +08:00
晴天
8703dffc5b
feat(hermes): add kanban profile routing controls
2026-05-27 01:14:10 +08:00
晴天
ae9d6e8844
feat(hermes): add kanban worker log controls
2026-05-27 00:57:00 +08:00
晴天
1630462ccc
feat(hermes): add kanban concurrency controls
2026-05-27 00:40:37 +08:00
晴天
80ed2d0e8c
feat(hermes): add kanban dispatcher controls
2026-05-27 00:12:20 +08:00
晴天
425fcd847f
feat(hermes): add kanban dispatch config
2026-05-26 23:57:52 +08:00
晴天
842cf83917
feat(hermes): add display tool prefix config
2026-05-26 23:37:38 +08:00
晴天
466e6c8831
feat(hermes): add telegram runtime options
2026-05-26 23:22:25 +08:00
晴天
45aadbdc63
feat(hermes): add docker env forwarding config
2026-05-26 06:52:16 +08:00
晴天
7ca586694b
feat(hermes): add terminal ssh config
2026-05-26 06:34:57 +08:00
晴天
c0df3ac10c
feat(hermes): add terminal sandbox image config
2026-05-26 06:25:31 +08:00
晴天
c19d6e80d9
feat(hermes): add delegation model override config
2026-05-26 06:11:25 +08:00
晴天
56519808d7
feat(hermes): add model token limits config
2026-05-26 06:01:41 +08:00
晴天
975613416d
feat(hermes): add worktree session setting
2026-05-26 05:50:12 +08:00
晴天
66375d2807
feat(hermes): add base model config
2026-05-26 05:25:30 +08:00
晴天
1e56a54aeb
feat(hermes): add display defaults config
2026-05-26 05:06:15 +08:00
晴天
fc8f209e01
feat(hermes): add display skin config
2026-05-26 04:55:29 +08:00
晴天
2a23b682be
feat(hermes): add agent quality config
2026-05-26 04:42:28 +08:00