Suxeca/dsh-plugin--packages-dsh-client-ui-session-switcher ↗★ 3

@suxeca/dsh-client-ui-session-switcher

会话快速切换面板:Ctrl+K 调色板(新建/归档/取消归档/重命名/搜索/皮肤/工作区分组),Ctrl+[ / ] 按侧边栏顺序循环,面板内快捷键自定义 适合会话较多、需要通过键盘快捷键高效管理和切换会话的重度用户。

Package
@suxeca/dsh-client-ui-session-switcher
Compatibility
Unverified
Version
0.1.0-rc.6
Last updated
Sep 26, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Suxeca/dsh-plugin#78087bd97c93be9a1201cce28e7cbf579a6a6050&path:packages/dsh-client-ui-session-switcher

7. 浏览器兼容补丁(🔒 私人使用,源码不入库)

纯 Client 私人插件;本仓库只记录原理,不收录源码、包名、安装路径或部署信息。缺失 API 会导致目录选择器、附件草稿与 RPC 调用崩溃。

缺失 API场景
crypto.randomUUIDsecure-context-only(仅 HTTPS / loopback 存在)
AbortSignal.timeout / AbortSignal.any旧引擎 / 嵌入式 WebView 缺失
实现原理  说明(幂等:原生存在时跳过)
randomUUIDcrypto.getRandomValues 构造 RFC 4122 UUID v4
timeout(ms)一次性定时器 + AbortController,reason 为 TimeoutError
any(signals)AbortController 组合,reason 取首个 abort 输入

参考:上游讨论 #514 / #1050;上游原生兼容后可移除。


安装与使用

本机 dsh 位于 npx 缓存,标准调用在 harness 仓库下执行:

cd ~/Workspace/deepseek-harness
pnpm dsh plugin --profile web add