すべてのプラグイン

dsh-delete-archived-session

dsh-delete-archived-session · バージョン 1.0.3 · 2026/11/29 更新

アーカイブ済みセッションを完全に削除する操作を、ホバー時のツールバーと「⋯」メニューに追加します。削除には 2 段階の確認が必要です。削除前に実行中のタスクを停止し、ログとプロジェクションキャッシュも消去します。

  • バージョンごとに審査
  • セッションとメッセージ
  • MIT
  • 0回ダウンロード

説明

以下はプラグイン作者による原文です。

Delete Archived Session in DSH

English | 简体中文

A DeepSeek Harness (dsh) plugin that permanently deletes archived sessions with a two-step confirm, from the sidebar row hover strip and the "⋯" more-menu. It stops the session's running work and removes its log and projection-cache record from disk.

Screenshots

Hover the delete buttonArmed, click again to confirm
Delete button on an archived row, tooltip "Delete archived session"Red delete button, tooltip "Permanently delete"

Install

Use --profile web for a dsh web server or --profile desktop for the desktop app, then restart the Harness.

# npm
sole plugin --profile web add dsh-delete-archived-session
# GitHub (latest)
sole plugin --profile web add github:Cnily03/dsh-delete-archived-session

The desktop app can also install it from its built-in plugin market.

Usage

The control renders only while the row's session is archived, in two places:

  • Hover strip — a trash icon after the archive and pin cells.
  • "⋯" more-menu — a "Delete archived session" row that dismisses the menu on click.

Both reuse the shipped IconTrashOutlineRegular, Tooltip and MenuItemButton, so they match the native controls.

Deleting takes two deliberate clicks:

  • The first click arms the control — it turns red, the label becomes Permanently delete, and it stays armed for 3 seconds.
  • A click while armed deletes the session. After the arm lapses, a click simply re-arms.

Deleting stops the session's running work, removes its log directory and projection-cache record from disk, and clears the workspace accounting so the row disappears.

Archiving vs. deleting

A session must be archived before it can be deleted. Archiving alone does not stop the agent or remove any file; deletion is what stops the work and clears the files.

Develop

pnpm install
pnpm build        # tsup -> dist/
pnpm typecheck    # tsc --noEmit
pnpm lint         # biome lint
pnpm format       # biome check --write
PathPurpose
src/index.tsHost half: delete route, stop/idle/flush/remove, cleanup, startup sweep.
src/client.tsClient half: the two-step control, arm timer and overlay notice.
src/locale.tsNamespace, route and message dictionaries.
cordis.patch.ymlBundle patch that inserts the Host row.

License

Copyright (c) Cnily03. All rights reserved.

Licensed under the MIT License.

バージョン履歴

  • 1.0.32026/11/29 · 222 KB
dsh-delete-archived-session · SoleAPI Agent プラグイン | SoleAPI