Replies: 3 comments
|
先前遇到问题二,神医啊 |
0 replies
|
我也是碰到问题之后找opencode修好的,算不上什么,能帮到别人就行
…---原始邮件---
发件人: ***@***.***>
发送时间: 2026年9月23日(周三) 下午4:29
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [deepseek-ai/deepseek-harness] 因为本地旧版本状态残留导致的工作区无法选择和历史对话无法显示的问题及解决方案 (Discussion #7324)
先前遇到问题二,神医啊
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
0 replies
|
已收到这条反馈。 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
DeepSeek Harness 故障排查与修复记录
总体结论
连续出现的两个「表面不同」的问题,根因都是本地残留的旧版本状态,而非 dsh 功能代码本身的 bug:
code。两处修复都只改用户本地数据,无需改代码。
问题一:能创建工作区,但无法选择工作区并对话
现象
排查
AbortSignal.any等浏览器兼容问题)。standard / ptc / minimal / cordis四个预设(packages/preset/agent-presets/presets/),没有code。standard(packages/bundle/web-app/cordis.patch.yml:516)。根因
~/.dsh/settings.yaml里残留了旧版本写入的agent-presets.default: code。旧版本用code作为预设名,新版改名/移除后,每次新建会话解析默认预设都会取到code→ 抛agent-preset/not-found,而客户端把这个错误静默吞掉,所以表现为「点击无反应」。修复
编辑
~/.dsh/settings.yaml(Windows 下为C:\Users\<用户名>\.dsh\settings.yaml),把:default: code改为default: standard(或直接删除整个agent-presets:段,回落到部署默认)。重启 dsh 即可。问题二:对话正常,但侧边栏不显示会话/历史
现象
排查
sidebar.workspaces槽位在渲染时抛异常直接崩溃,因此整个会话列表不渲染;主区域是另一个槽位main.conversation,所以对话不受影响。根因
崩溃点在 workspace 浏览器的 store 动作
retainAccountKeys(packages/client/ui-workspace/src/client/stores.ts:81):该 store 的持久化键是
dsh.workspace.view.v5(stores.ts:72),存在浏览器localStorage。持久化实现是「整值替换、不做形状校验/合并」(packages/client/store/src/index.ts:152-154):浏览器里残留了一个旧版本/不兼容的
dsh.workspace.view.v5值(缺groupExpansion或sessionOrderByAccount字段,或为null),导致d.groupExpansion/d.sessionOrderByAccount变成undefined,Object.entries(undefined)抛Cannot convert undefined or null to object,槽位崩溃。修复
打开 dsh 的浏览器 → F12 → Console,执行:
刷新页面(F5)即可。会话列表会重建为默认形状,侧边栏恢复正常。
给其他人的排查要点
~/.dsh/settings.yaml;涉及侧边栏/列表 UI 看浏览器localStorage里dsh.*开头的键。两个问题的根因与修复对照
codeagent-preset/not-found ... preset "code" not foundsettings.yaml的default为standardCannot convert undefined or null to object/retainAccountKeys/slot entry crashed in 'sidebar.workspaces'localStorage.removeItem('dsh.workspace.view.v5')后刷新All reactions