nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Jaye1465/dsh-fresh-session
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DSH (DeepSeek Harness) Web/Desktop plugin that makes New Session create a genuinely fresh Session instead of silently reusing a blank shell.
Status: experimental, published as-is. It wraps private client services, so a DSH upgrade can break it. No maintenance commitment — issues and pull requests may sit for a while.
DSH's Web client reuses the first "blank" Session of the Workspace when you click New Session (and when it restores the saved selection after a restart). That reused Session keeps the state recorded when it was created:
subagent/model-selection-policy (the routes subagents may use), andNeither is refreshed by upgrading DSH, editing the allowlist, or restarting the app. The result: a "new" conversation silently runs with an old tool set and an old model allowlist — for example, routes you added after the Session was created are rejected with child LLM route "…" is not allowed for this Session, and the UI gives no hint.
This is reported upstream, with a source-level explanation and a proposed Host-side fix: deepseek-ai/deepseek-harness#13266 (comment).
uiWorkspace.createNamed (the single choke point every blank reuse goes through). A request that names a sessionId is re-created without it, so the Host composes the current preset definition and records the current allowlist.uiWorkspace.restoreBlank (startup restore of a saved blank) and creates a fresh Session instead, for the same reason.localStorage['dsh.conversation.<oldId>'] is copied to the new Session id, but only when it contains non-empty text.Requires DSH 0.2.2-rc.3 (the client internals it wraps may change in later releases).
plugin_manager install with the directory as the target.Then click New Session: you should land in a genuinely new Session, and the previous blank should move to the archived list.
Uninstall: remove the dsh-fresh-session bundle from Plugins (or remove_bundle). Stock behavior returns immediately.
dsh.conversation.<id>).createNamed, restoreBlank) and the private mainReference field. A DSH upgrade may rename them; the plugin then logs and leaves navigation untouched.Checked on DSH 0.2.2-rc.3 (Windows Desktop):
isSeeded: false; its subagent/model-selection-policy event carries exactly the routes configured at creation time.DSH 的「新会话」会复用工作区里的空白会话,而被复用的会话保留创建时的 preset 装配和 subagent/model-selection-policy。升级 DSH、修改模型白名单、甚至重启应用都不会刷新它们,于是「新会话」可能带着旧工具集和旧白名单运行,报 child LLM route … is not allowed for this Session,界面上也看不出来。
本插件把这条路径改成真正新建:拦截 uiWorkspace.createNamed / restoreBlank,不带旧 sessionId 创建,不继承旧会话记录的 preset,只把非空草稿带过去,并把被替换的旧空白归档。
安装:Plugins → 添加插件 选择本仓库目录,然后刷新页面。仅支持 Web/Desktop 客户端,依赖客户端内部方法,DSH 升级后可能需要重新验证。上游修复建议见 讨论 #13266。
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: session。