You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
🐛 问题现象
[text](https://…))或相对路径文件引用(report.md、README.md#L5)版本:
@deepseek-ai/dsh0.2.2-rc.1(npm 包,Windows 宿主,Web UI 经反向代理远程访问)🔍 根因分析
0.2.2-rc.1 的前端壳(
dsh-web-frontend/dist/assets/index-*.js)中,markdown 链接/文件引用的解析函数发生了改动——0.2.1 用正则判定 URL scheme,0.2.2-rc.1 改用URL.canParse():URL.canParse于 2023-12 起才进入 Chromium 120 / Firefox 120 / Safari 17。老内核上为undefined,该函数在每条含链接或相对路径引用的消息正文渲染路径上抛出:React 渲染被该错误中断,正文组件不渲染;而工具调用块/思考块走独立组件、不经此 markdown 链接解析,所以"工具块可见但正文缺失"。
三层证据
index-*.js中URL.canParse出现次数——0.2.1-rc.5 为 0,0.2.2-rc.1 为 1(即上述渲染路径)URL.canParse的环境调用——https://example.com/docs、report.md、README.md#L5全部 throw;仅绝对路径(D:/…、/abs/…)因e_()短路幸免delete URL.canParse"模拟老内核,打开同一会话对照——正常环境正文 10854 字符,模拟老内核仅 538 字符,assistant 分析整段消失(工具块、时间戳、状态标签保留)✅ 建议修复
P4判定处加特性检测回退(等价语义,新内核不变):或构建期把判定目标降到老内核可用的
try { new URL(url, base) } catch形态。🩹 受影响用户的变通方案
服务端给 index.html 注入 polyfill(我们走
webServer.tapIndex()扩展点已上线,老内核即刻恢复;新内核 no-op):或临时换用内核 ≥120 的浏览器(Chrome/Firefox 120+)。
排查过程中排除了以下干扰项,供同类症状参考:网关/反代 WebSocket 过滤(对 HTML 无改写)、前后端版本偏差(同 hash bundle)、zstd 会话读取缓存(服务端,与客户端无关)、
changes.summary404(非本症状特有)。All reactions