dsh-hOver-information
界面增强 活跃维护

dsh-hOver-information

ComeCaramelos/dsh-hOver-information

轻量级插件,为会话悬浮卡补充状态、元数据与快捷入口,悬停即可读取关键信息并执行常用操作,减少来回跳转,让悬浮卡成为会话信息中枢。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
236 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:ComeCaramelos/dsh-hOver-information
git clone https://github.com/ComeCaramelos/dsh-hOver-information.git
git clone git@github.com:ComeCaramelos/dsh-hOver-information.git
README.md main

@comecaramelos/dsh-hover-information

Aditional info in web UI.

Preview card

Configurable metrics block, configured on this bundle's own configuration page
on the Plugins page (turning the bundle row off is what disables the whole
enhancement):

Preview card panel

  • Copy session ID / Copy workspace path icons on the card's header
    row — ⧉ copy ID / ⧉ copy path beside the status dot and the relative
    time, instead of the stock whole-card copy button.
  • Metrics block: turns, steps, tokens sent/received, cache tokens,
    compactions, purges (tool-result prunes), context window, subagents, model,
    tool calls, active time and created date — toggled per metric.

Model selector

  • Provider in the selector: tooltip and visible value read
    Provider > Model.

Install

From npm:

dsh plugin --profile web add @comecaramelos/dsh-hover-information

Manual install — the live profile installs the published package, so it is
just a manifest entry (materialized by pnpm install inside the profile; no
link:, no symlink there):

{
  "dependencies": {
    "@comecaramelos/dsh-hover-information": "link:/path/to/dsh-hover-information"
  },
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "@deepseek-ai/dsh-web-app",
        "@comecaramelos/dsh-hover-information"
      ]
    }
  }
}

Then restart the web host — browser bundles don't hot-update, and
the live dsh web gateway is never restarted by tooling.

Develop

The row card is built on the shared base layer
@comecaramelos/dsh-ancesters,
linked as a sibling checkout (file:../dsh-ancesters) — build it first.

npm install
npm run build      # tsc (host) + tsc typecheck + esbuild (browser) → lib/
npm test           # builds first, then node --test

Sources live in src/host/** (host half) and src/client/** (browser half);
src/index.ts is the host's re-export-only face, and scripts/build-client.mjs
collapses the browser half into one lib/client.js lazy-CJS bundle. lib/ is
build output and is git-ignored. Every consumer —
the profile row, the browser bundle and the tests — resolves it through
package.json#exports, so run the build after editing sources and before
pointing a profile checkout at this tree. See AGENTS.md
for the layout and the verification recipe.


CONTRIBUTING | LICENSE