Repository navigation
v0.2.1-beta.7
v0.2.1-beta.7
中文说明
本版本升级 DSH 兼容范围至 >=0.2.0-rc.2 <=0.2.1-alpha.2,已验证 DSH 0.2.1-alpha.2。本版本集中完善远程 Host 聚合、外部 Agent 桥接、全局助理、Windows Agent、用量统计和会话体验,并修复发布 CI 在干净 Runner 上的 PeerHost 测试临时目录初始化问题。
新增
- 接入 DSH 工作目录、会话标题和界面字号能力,并升级子 Agent 换代适配与能力退休检查。
- 新增豆包 App 的 Windows 安装发现、安装状态与调试连接状态区分、按需启动和运行状态展示。
- 新增 R4 Coder 用量查询、品牌余额入口、模型明细和倍率展示。社区贡献 @yrt083:#14 新增 R4 Coder 用量查询与详情展示。
- 新增外部 Agent 设置页的 PeerHost 切换、刷新和 Host 隔离显示。
- 新增 PeerHost 远程工作区移除、断线缓存、临时移除与重新添加;断线时保留工作区和会话摘要,重连后恢复最新状态。
- 新增 PeerHost 引用栏目统一词典、子 Agent 列表样式、子会话状态与适配器展示。
- 新增会话修改文件共享联合快照和 CLI 会话配置读取缓存。
- 新增外部 Agent 委派、子 Agent 状态投影、父会话权限继承和 DSH 原生子智能体列表交互。
- 新增全局助理通知事件流、会话完成/错误/提问/审批提醒、自动关闭设置、情绪反馈、未读列表与对应会话导航。
- 新增 DSH 会话标题优化设置与生成逻辑;开启后可对新标题进行主题概括、长度约束和失败兜底。
- 新增 Typert 远程命名空间适配,扩展 PeerHost 原生 RPC 和 Relay DataChannel 能力。
修复
- 修复 OpenCode V2 工具事件、会话分段和 DeepSeek 上下文容量计算。
- 修复外部子 Agent 桥接回传、身份路由和幂等处理;修复 Claude Code 子代理 MCP 隔离。
- 修复 Command Code ACP 用量上下文、工作区权限和原生 Agent 屏蔽,统一通过 DSH 子代理桥接。
- 修复 Codex 原生 steer 与 DSH 插话回传,保持回合身份、连续插话和迟到终态隔离。
- 社区贡献 @yrt083:#15 修复 WorkBuddy Windows 检测与续聊,并展示模型倍率;同时修复 Windows Stage0 编译启动与热重载路径。
- 修复 WorkBuddy Windows 入口发现、runtime 回收、续聊和 ACP 能力检测。
- 修复 PeerHost 远端代理、断线状态、会话刷新、会话记录加载、运行状态事件、反馈路由、审批回传、原生交互协议和流生命周期。
- 修复 PeerHost 流取消语义、失败上下文、底层错误诊断和故障误报;取消后不再错误重试或复活旧状态。
- 修复 PeerHost 子会话摘要、子 Agent 状态、适配器路由、重复模型选择器和 macOS/Windows 互访边界。
- 修复 PeerHost 远程会话标题序号、文件编辑归属、文件操作路由、Windows 盘符路径、文件链接行号跳转和远程工作区请求路径。
- 修复远程工作区
@对话引用、会话反馈 Host 归属和隐藏会话的资源作用域。 - 修复 Git 状态按文件显示未跟踪目录、Git 工作区恢复复用原生会话快照,以及终端恢复重复触发。
- 修复订阅用量真实上游刷新、DSH 活动 Profile 自定义上游余额识别、PI Agent 用量与上下文展示和外部 Agent 分段边界结算。
- 修复 macOS 原生悬浮通知回执导致进程退出、Command Code 消息乱序,以及客户端插件初始化对可选服务的硬依赖。
- 修复全局助理待处理通知快照、通知来源续租和迟到事件覆盖问题。
- 修复 PeerHost 测试在干净 CI Runner 上依赖仓库内临时目录的问题,统一使用系统临时目录创建测试夹具。
优化
- 将 DSH 兼容范围升级至
>=0.2.0-rc.2 <=0.2.1-alpha.2,保持 scoped Bundle 身份、codingnsProfile、/codingnsRPC 通道和 scoped entry settings namespace 兼容。 - 优化 PeerHost 会话刷新、事件流基线、断线重连速度、Host 作用域隔离和远程列表投影。
- 优化外部 Agent 子智能体折叠词典、统一域前缀、列表刷新和会话配置复用。
- 优化全局助理工作台间距、关联工作区表格、Host/会话数/路径展示;调整默认识别模型和播报音色。
- 优化插件设置界面:模块开关和子设置层级统一,开关右对齐,设置入口前置,助理形象和订阅用量入口样式统一。
- 优化会话标题设置写入和版本兼容;标题优化失败时保留来源、原路由和可读兜底。
- 优化 WorkBuddy runtime 回收和 R4 用量样式。相关改进来自 #16。
- 优化订阅用量缓存、上游切换和设置入口刷新。
- 优化 PeerHost 文件、Git、终端、审批、反馈和会话引用的 Host 隔离,降低跨 Host 状态串扰。
- 优化 DSH 原生 Remote 命名空间、虚拟 ID 改写、会话标题投影和 Relay DataChannel 传输。
要求
- Node.js
>=22.19 - DSH
>=0.2.0-rc.2 <=0.2.1-alpha.2 - macOS/Linux 持久终端需要安装
tmux
安装
Web
dsh plugin --profile web add @jingyi0605/codingns4dsh@0.2.1-beta.7
dsh webDesktop
打开“插件” → “添加插件”,输入包名:@jingyi0605/codingns4dsh@0.2.1-beta.7。
完整文档请查看 README 中文说明。
English
This release updates the DSH compatibility range to >=0.2.0-rc.2 <=0.2.1-alpha.2, tested with DSH 0.2.1-alpha.2. It substantially improves remote Host aggregation, external Agent bridging, the global assistant, Windows Agent support, usage reporting, session workflows, and clean-runner CI reliability for PeerHost fixtures.
Added
- Added DSH workspace, session-title, and interface-font capabilities, together with the updated sub-Agent generation and capability-retirement integration.
- Added Doubao App Windows installation discovery, installation-state and debug-connection separation, on-demand startup, and runtime status display.
- Added R4 Coder usage queries, brand balance entry, model details, and multiplier display. Community contribution by @yrt083: #14 added R4 Coder usage queries and detail display.
- Added PeerHost switching, refresh, and Host-isolated display to the external Agent settings page.
- Added PeerHost remote workspace removal, disconnect caching, temporary removal, and re-adding, preserving workspace and session summaries during disconnects.
- Added a shared dictionary for PeerHost references, a DSH-style sub-Agent list, and sub-session status and adapter presentation.
- Added shared changed-file snapshots and cached CLI session configuration reads.
- Added external Agent delegation, sub-Agent status projection, parent-session permission inheritance, and DSH-native sub-Agent list interaction.
- Added global assistant notification events, completion/error/question/approval reminders, automatic-close settings, emotional feedback, unread lists, and navigation to the related session.
- Added DSH session-title optimization settings and generation logic with topic summarization, length limits, and failure fallback.
- Added Typert remote namespace integration, expanded PeerHost native RPC coverage, and Relay DataChannel support.
Fixed
- Fixed OpenCode V2 tool events, session segmentation, and DeepSeek context-capacity accounting.
- Fixed external sub-Agent bridge reporting, identity routing, and idempotency, and fixed Claude Code sub-Agent MCP isolation.
- Fixed Command Code ACP usage context and workspace permissions, disabled conflicting native Agent paths, and routed sub-Agents through the DSH bridge.
- Fixed native Codex steer and DSH interjection forwarding while preserving turn identity, consecutive interjections, and late-terminal isolation.
- Community contribution by @yrt083: #15 fixed WorkBuddy Windows detection and resume, and added model multiplier display; it also fixed Windows Stage0 build startup and hot-reload paths.
- Fixed WorkBuddy Windows entry discovery, runtime cleanup, resume, and ACP capability detection.
- Fixed PeerHost remote proxying, disconnect state, session refresh, session-history loading, running-state events, feedback routing, approval forwarding, native interaction protocols, and stream lifecycles.
- Fixed PeerHost cancellation semantics, failure context, low-level diagnostics, and false failure reports; cancelled streams no longer retry or revive stale state.
- Fixed PeerHost sub-session summaries, sub-Agent status, adapter routing, duplicate model selectors, and macOS/Windows interoperability boundaries.
- Fixed PeerHost remote session title indexes, file-edit ownership, file-operation routing, Windows drive paths, line navigation in file links, and remote workspace request paths.
- Fixed remote workspace
@references, feedback Host ownership, and resource scoping for hidden sessions. - Fixed Git status rendering for untracked directories, Git workspace recovery from native session snapshots, and duplicate terminal recovery triggers.
- Fixed subscription usage refreshes, custom upstream balance detection for the active DSH Profile, PI Agent usage/context display, and external Agent segment usage accounting.
- Fixed macOS native floating-notification exits, Command Code message ordering, and hard dependencies on optional client services.
- Fixed global assistant pending-notification snapshots, notification-source renewal, and stale-event overwrites.
- Fixed PeerHost fixture tests that assumed the repository-local
data/test-runsdirectory existed on clean CI runners; they now use system temporary directories.
Improved
- Updated the DSH compatibility range to
>=0.2.0-rc.2 <=0.2.1-alpha.2while preserving the scoped Bundle identity, thecodingnsProfile, the/codingnsRPC channel, and scoped entry settings namespace compatibility. - Improved PeerHost session refresh, event baselines, reconnect speed, Host-scope isolation, and remote-list projection.
- Improved external Agent sub-Agent dictionaries, domain prefixes, list refresh, and session-configuration reuse.
- Improved the global assistant workbench spacing, related-workspace table, Host/session/path display, and default recognition and speech models.
- Improved plugin settings: unified module and child-setting hierarchy, right-aligned toggles, leading settings controls, and consistent avatar and subscription-usage entry styles.
- Improved session-title setting writes and version compatibility; failed optimization preserves source, routing, and readable fallback behavior.
- Improved WorkBuddy runtime cleanup and R4 usage styling. Related changes are tracked in #16.
- Improved subscription-usage caching, upstream switching, and settings-entry refresh.
- Improved Host isolation for PeerHost files, Git, terminals, approvals, feedback, and session references.
- Improved DSH native Remote namespaces, virtual-ID rewriting, session-title projection, and Relay DataChannel transport.
Requirements
- Node.js
>=22.19 - DSH
>=0.2.0-rc.2 <=0.2.1-alpha.2 - Persistent terminals on macOS/Linux require
tmux
Installation
Web
dsh plugin --profile web add @jingyi0605/codingns4dsh@0.2.1-beta.7
dsh webDesktop
Open Plugins → Add plugin, then enter the package name: @jingyi0605/codingns4dsh@0.2.1-beta.7.
Complete documentation: README.