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
{{ message }}
Repository navigation
[Feature] DSH: The top "Context" tab shares its name with another plugin. Could it be merged into the "Memory System" pa | [Feature] DSH:顶部「上下文」标签页与另一插件重名,能否并入「记忆系统」页 #4237
changed the title [-][Feature] DSH:顶部「上下文」标签页与另一插件重名,能否并入「记忆系统」页[/-][+][Feature] DSH: The top "Context" tab shares its name with another plugin. Could it be merged into the "Memory System" pa | [Feature] DSH:顶部「上下文」标签页与另一插件重名,能否并入「记忆系统」页[/+]on Oct 22, 2026
Reopening: this issue was auto-closed by an agent on 10-22 while the owner decision here (rename/hide settings) was still being worked — per owner policy 2026-10-23, agents no longer close issues (labels + comments only); closing is the owner's call.
Activity
[-][Feature] DSH:顶部「上下文」标签页与另一插件重名,能否并入「记忆系统」页[/-][+][Feature] DSH: The top "Context" tab shares its name with another plugin. Could it be merged into the "Memory System" pa | [Feature] DSH:顶部「上下文」标签页与另一插件重名,能否并入「记忆系统」页[/+]ranxianglei commentedon Oct 22, 2026
ework 可以提供改名和隐藏设置 在 web 设置上 默认我理解不需要改名
ranxianglei commentedon Oct 22, 2026
(ai: vllm-qwen/qwen3.8-27b)
查重: 不重复 —— 按「标签页 / conversation.view / 重名 / 记忆系统 / mnemon / 隐藏 tab」等关键词检索了 open+closed 的 issue 与 PR,无同题条目。
标签: dsh、scope/wiring、p3(DSH 车道 UI 入口体验优化,低频场景,不影响可用性)
分诊结论(逐条):
src/agent/dsh-native-client.ts:818无条件注册名为「上下文」(en "Context",order 30)的 conversation.view 标签页;dsh-context 的同名页在 order 20,两个并列在顶栏。dsh.contextTab(布尔,默认 true = 显示)与dsh.contextTabLabel(字符串,留空 = 内置名「上下文」/ "Context");环境变量BILI_DSH_CONTEXT_TAB=0同样可强制隐藏(env > 文件 > 默认)。__BILI__//bili/origin通道把这两个值传给前端,前端在页面加载时决定是否注册该 tab。隐藏只摘入口,压缩不受影响。/acp命令——设置页那一节够用。开始实现,完成后回 PR 链接。
flyneth commentedon Oct 22, 2026
遇到了相同的问题,和 dsh-context 重名。
另外billion-context 也安装一段时间了,0.1.203之前的版本是没这个命名冲突问题的。
ranxianglei commentedon Oct 22, 2026
(ai: vllm-qwen/qwen3.8-27b)
@flyneth 感谢补充——同一症状(与 dsh-context 的「上下文」重名),并入本 issue 处理,不另开条目。
你提到的时间线我核实了,是对的:本插件的顶栏「上下文」标签页是 v0.1.203 新增的(#3862),之前的版本在 DSH 顶栏根本没有这个标签页,所以 0.1.203 以前不存在命名冲突。冲突是 0.1.203 起、在同时装了 dsh-context 的机器上出现的。
修复正在实现中(按 owner 拍板):默认保持原名,提供改名和隐藏两个设置(web 设置页 / 配置文件 / 环境变量均可),PR 稍后贴出链接。在那之前已发布的版本里确实没有用户侧开关,只能等这个修复。
ranxianglei commentedon Oct 22, 2026
(ai: vllm-qwen/qwen3.8-27b)
修复完成,PR:#4238(Closes 本 issue)。@flyneth 的补充反馈也已核实:v0.1.203(#3862)之前我们根本没注册顶栏标签页,所以旧版本无冲突,与描述一致。
交付内容(按 @Dog 拍板「提供改名和隐藏设置,在 web 设置上,默认不需要改名」):
dsh.contextTab(默认true)。设为false只移除顶栏「上下文」标签页——压缩、设置页、插件 bundle 配置、Web UI、/acp全部照常工作,账本仍可从这些入口查看。env 层BILI_DSH_CONTEXT_TAB=0等价;其他取值强制开启并覆盖文件层。dsh.contextTabLabel(仅文件层)。填自定义名称;留空用内置本地化名(中文「上下文」/ 英文 Context)。结构化八问:
conversation.view槽位、标签名硬编码自内置 i18n 表,配置面(文件/env/web 设置)没有任何触点;重名是双方各注册了一个叫「上下文」的标签页(对方 order 20、我方 order 30),不是谁写错,是我方没有避让机制。dsh配置段加两个键(不新造顶层 ui 段),按 env > 文件 > 默认 经 knobs 解析;宿主侧把两个值挂到既有载体(__BILI__快照 +/bili/origin,每次调用实时读取),浏览器端在页面加载时按快照决定是否注册该标签页、字段缺失时回退现状(老宿主逐字节不变);web 设置页加两个控件。contextTab:true(两者均为本机内部载体,非对外协议),标签页的注册时机/id/order/标签名全部不变,既有测试已更新覆盖并通过;压缩管道、设置页入口、bundle 配置入口、/acp命令均未触碰;fail-open 设计保证旧版本宿主/页面行为照旧。未发现回归。dsh.contextTab(boolean,默认 true,env 层BILI_DSH_CONTEXT_TAB)与dsh.contextTabLabel(string,仅文件层,默认空 = 内置名)。迁移方式:无需迁移,旧配置原样解析(两个新键已加入 dsh.* 存活键集合,不会触发误报的「已移除键」警告)。文档已同步 CONFIGURATION.md 中英文四个位置 + yaml 种子 + LIFECYCLE.md §2.9。范围外说明(原 issue 第 3 条):并入 dsh-mnemon「记忆系统」子页需要 mnemon/宿主侧提供嵌入点,bili 单仓做不到——按拍板先交付改名+隐藏;合并方向如要推进,需 owner 批准后另行向 mnemon 侧提跨仓提案。
结论:PR #4238 待评审,CI 运行中;默认零行为变化,需要的用户在设置页翻开关即可。
ranxianglei commentedon Oct 22, 2026
(ai: vllm-qwen/qwen3.8-27b)
CI 补报:PR #4238 全绿——6 个 test 分片(ubuntu 22×3 / ubuntu 24 / windows 22×2)+ 全部静态门禁(docs-sync、config-surface-guard、lifecycle-ledger-guard、docs-coverage、kernel/pi-subagents/lane guard、typecheck 等)均通过。PR 可评审合入,默认零行为变化。
ranxianglei commentedon Oct 22, 2026
(ai: vllm-qwen/qwen3.8-27b)
duplicate of #4209 —— 同一症状、同一机制:本插件在 dsh 顶栏无条件注册的「上下文」标签页(
src/agent/dsh-native-client.ts:816-819,order 30)与 dsh-context 的同名页(order 20)并列重名,且此前没有任何改名/隐藏开关。#4209 开单时间(2026-10-21T17:45Z)早于本 issue(2026-10-22T00:15Z),按先来后到规则保留先到的 #4209、关闭本条。说明两点,避免断链:
Merge pull request #4238 from ranxianglei/2026-10-22_dsh-ctxtab-renam…
fix: dsh lane: rename + hide switch for the top-bar Context tab (ranx…
ranxianglei commentedon Oct 23, 2026
Reopening: this issue was auto-closed by an agent on 10-22 while the owner decision here (rename/hide settings) was still being worked — per owner policy 2026-10-23, agents no longer close issues (labels + comments only); closing is the owner's call.
ranxianglei commentedon Oct 23, 2026
(ai: vllm-qwen/qwen3.8-27b)
状态更新(本轮无新开发,核实了重开后的现状):
dsh.contextTab(隐藏)+dsh.contextTabLabel(改名)+ web 设置页控件已随 master 落地,按你在 Can the context window be disabled via configuration? | 是否可以配置关闭上下文窗口 #4209 的指示随下一版本发布。src/agent/dsh-native-client.ts:816-819无条件注册、无开关),不是照抄上一轮会话的结论。按先来后到保留 Can the context window be disabled via configuration? | 是否可以配置关闭上下文窗口 #4209:本条duplicate标签已在、说明评论见楼层 11。按 2026-10-23 新政策我不执行关闭,关不关由你定——实现记录与拍板过程都留在本线程,未迁移。Closes #4237(补挂的Closes #4209在合并之后才加上,未触发自动关闭)。所以 Can the context window be disabled via configuration? | 是否可以配置关闭上下文窗口 #4209 作为「下一版本发布」的跟踪条目继续有效,不受影响。剩余动作都在你这边:① 本条与 #4209 的关单决定;② 下一版本发版批准(master 上已有此修复)。
ranxianglei commentedon Oct 23, 2026
(ai: vllm-qwen/qwen3.8-27b)
收到,已知悉并遵守:本条不再由 agent 关闭(含重复判定场景——只留
duplicate标签 + 说明评论),关单决定在你。当前状态见我上一条回复:PR #4238 已合入 master、随下一版本发布;#4209 为保留的跟踪条目;范围外项(并入 dsh-mnemon)待你批准跨仓提案后再动。fix(#4319): align #4238's contextTab knob docs/tests with the renamed…
test: pin the default-config __BILI__ payload for dsh.settingsTab (ra…
dsh: default the top-bar tab name to the product name "billion-context"
dsh: default the top-bar tab name to the product name "billion-context"
test: pin the default-config __BILI__ payload for dsh.settingsTab (ra…
dsh: default the top-bar tab name to the product name "billion-context"
test: pin the default-config __BILI__ payload for dsh.settingsTab (ra…
test: pin the default-config __BILI__ payload for dsh.settingsTab (ra…
test: pin the default-config __BILI__ payload for dsh.settingsTab (ra…