返回目录
其他 插件

dsh-auto-work-details

iBobbyTS/dsh-auto-work-details

DSH插件,自动展开工作过程,完成后自动折叠。

Stars
0
Forks
0
Issues
0
更新
9 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:iBobbyTS/dsh-auto-work-details

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

DSH Auto Work Details

A small browser-side DSH plugin that expands a running work-detail group at the standard height and folds that group when its segment finishes.

Compatibility

Verified: DSH 0.2.2-rc.2 (source review, automated checks, and isolated Web checks). In Standard display, a real tool run opened its work group while running and folded it after completion. Desktop testing has not been completed.

Behaviour

  • Always on while the bundle is enabled; the plugin has no Settings entry.
  • Each composer observes only its own Conversation, including an embedded child chat. Switching its session or unmounting it disposes that observer.
  • While a process group is running ([data-shimmer] is present on its header), a collapsed group is opened once through the native header click. That path uses Chat's own initialize('bottom') and follow logic, so the standard height cap and bottom-following are preserved.
  • When the group stops running, the group is closed once through the same native control.
  • Manual toggles during the same running segment are not fought: the observer reacts only to the transition into and out of the running phase.
  • The synthetic click suppresses the header's focus() call, so opening a group does not steal the caret from the composer.

Earlier versions exposed a switch that stored dsh-auto-work-details.enabled in localStorage; the plugin now removes that leftover key when it loads.

Limits

This is a DOM-level workaround, not a Chat extension point:

  • It depends on Conversation's [data-conversation-content] / [data-conversation-session] scope and Chat's [data-step-process], [data-chat-group-key], [data-shimmer], and aria-expanded markers. An unresolved or mismatched Conversation is left alone.
  • It only works in modes that render a process-group header (Standard and Compact); Detailed and Verbose have no running group header to toggle.
  • An auto-close is skipped when Chat's focus protection decides the group must stay visible, or when a whole-Turn fold is already animating that group.
  • A future Chat update can change these markers without notice.

Install

Clone this fork (iBobbyTS/dsh-auto-work-details) and install its checkout as a DSH bundle. Replace the path and choose the profile you actually use:

dsh plugin --profile web add link:/absolute/path/to/dsh-auto-work-details

For Desktop, use its bundled CLI with --profile desktop, after launching Desktop once and quitting it. Restart the target Host and refresh its client after installing.

dsh plugin ... add links the package and also records @local/dsh-auto-work-details in the profile's dsh.profile.bundles; installing through the Plugin Manager performs the same steps.

Verify

node --test test/*.test.mjs

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类其他
规则置信度低

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。