Skip to content

Releases

v0.2.1 — 兼容性说明重新核过

Choose a tag to compare

@kjx-talesofai kjx-talesofai released this 17 Oct 18:38

只改文档,没有功能改动,16 条测试不变。

桌面端已升到 DSH 0.2.1-rc.2,README 里的"实测于 0.2.0-rc.2"没说之后有没有再看。现在补上:在 0.2.1-rc.2 上重核,菜单行仍然注册、仍然占着 sidebar.workspaces.session.menu.item 的 order 500 位置(在运行中的 app 里看到的,不是从代码推的)。

安装:github:kjx-talesofai/dsh-plugin-copy-session-id#v0.2.1

v0.2.0 — copy from the Session header

Choose a tag to compare

@kjx-talesofai kjx-talesofai released this 10 Oct 14:12

Adds a second place to copy a Session's id: the Session header, beside its own ⋯ menu. It copies whatever Session is open.

That is what makes subagent Sessions reachable — the sidebar hides rows whose summary carries origin: 'subagent', so the sidebar row this plugin already added never appears for them.

github:kjx-talesofai/dsh-plugin-copy-session-id#v0.2.0
  • Both surfaces share one action and one toast.
  • The header control sits in conversation.session.header.utilities at order -5, between open-in-app (-10) and the header's ⋯ menu (0). The dropdown itself has no slot — its items are hardcoded by the package that owns it — so an additive sibling control is the only seat a plugin can take.
  • Requires DSH Desktop ≥ 0.2.0-rc.1 and < 0.3.0.

v0.1.0 — Copy Session ID

Choose a tag to compare

@kjx-talesofai kjx-talesofai released this 10 Oct 12:23

First release.

The sidebar Session row's ⋯ menu gains one row — Copy Session ID — that puts the Session's full id (session-e7797998-430a-4d2c-aba6-6d7f441f4f70) on the clipboard, with the outcome reported through the host's own top-centre Toast.

Install

In DSH's Add plugin dialog, or via the CLI, then restart the desktop app:

github:kjx-talesofai/dsh-plugin-copy-session-id#v0.1.0
dsh plugin --profile desktop add github:kjx-talesofai/dsh-plugin-copy-session-id#v0.1.0

Requirements

DSH Desktop ≥ 0.2.0-rc.1, declared as the peerDependencies range on @deepseek-ai/dsh that the harness actually enforces. Verified by hand on macOS (Apple Silicon) · DSH Desktop 0.2.0-rc.2, where the row is a live occupant of sidebar.workspaces.session.menu.item at order 500.

What it is

A pure UI bundle: an empty host apply, no dependencies, no build step, and a browser half that renders through the host's MenuItemButton and Toast. Nothing is written to disk, no route is registered, and no network call is made.

npm test pins the contract without a browser — both rendering paths, every clipboard settle path (success, false, rejection, and an absent Clipboard API), the locale seat, and the effect disposers.

Not covered by CI, and therefore unverified there: the rendered menu itself and the real clipboard write.