NekoDD-wow/dsh-chain-toggle-all
NekoDD-wow★ 0JavaScript最后同步: 2026-08-15
DSH Web GUI plugin: one-click expand/collapse all reasoning chains and tool chains in the current session
README 摘要
dsh-chain-toggle-all DSH Web GUI 一键展开/收起全部思维链与工具链 会话头部一个按钮:展开全部 Think 链 + 工具链,再点一下全部收起。 功能 - 在会话头部操作行新增「 展开全部 / 收起全部 」按钮 - 点击「展开全部」:当前会话内 所有 思维链(Think)与工具链(Tool call)一次性展开 - 点击「收起全部」:全部折叠回一行摘要 - 按钮文案随真实状态自动切换:手动展开/收起任意一条链,按钮文字也会跟着变(MutationObserver 监听 aria-expanded ) - 会话内没有任何链时按钮自动隐藏,不占空间 安装 官方 bundle 插件 格式(仓库根 package.json 的 dsh.bundle + dsh.client )。经官方 profile 管理: 装完 重启 web (bundle 层在启动时合成),会话头部标题右侧即可看到按钮。 工作原理 思维链( ReasoningRow )与工具链( ToolRow )底层共用同一个 DisclosureRow 组件,每行带有: - data-disclosure-row — 行标记 - aria-expanded — 展开状态 - 整行 role=button ,点击即切换展开 插件扫描会话滚动容器( [data-conversation-scroll] )内的 [data-variant="think"] [data-disclosure-row], [data-tool] [data-disclosure-row] , 确定目标状态(有任何折叠 → 全部展开;全部展开 → 全部收起)后对目标行执行 .click() 。 纯前端实现:不修改 DSH 源码,不注入全局样式,插件卸载即完全还原。 开发 License MIT
在 GitHub 查看完整 README →分类
A public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and more.
★ 3,820
hyhmrright/brooks-lintAI code reviews grounded in 12 classic engineering books — decay risk diagnostics with book citations, severity labels, and 6 analysis modes including full-sweep auto-fix
★ 1,338
ccch1mneyyy/dsh-TUI解决DSH 官方尚无终端 TUI 痛点的补位之作,献给偏爱cli的各位极客:Claude Code 风格全屏交互终端插件——像素鲸鱼顶栏、实时工作状态行、思考流式展开、双击 Esc 回滚、上下文进度条 + TPS 仪表。npm 一键安装。
★ 1,141