Skip to content
dsh.fish
Bundle

dsh-disclosure-tweaks

Auto-expand / collapse the DSH conversation UI disclosure rows (Think reasoning, tool calls, todo, queue) from Settings. 思考・ツールコールなどの折りたたみを設定から選べるようにするプラグイン。

Source
Cinnamobot
License
MIT
Updated
Updated 2 days ago

Readme

# dsh-disclosure-tweaks

> Auto-expand / collapse the DSH conversation UI's disclosure rows from Settings.

DeepSeek Harness の会話 UI にある折りたたみ行 — 思考(Think)・ツールコール・Context injection・TODO・キュー — を、**設定画面から種類ごとに ON/OFF** できるプラグインです。

## ✨ 特徴

- **Think (思考)** — アシスタントの思考プロセス行を常に展開表示(デフォルト ON)
- **Tool calls (ツールコール)** — pwsh / read / web_search / write / edit など全ツールの詳細を常に展開(デフォルト ON)
- **Context injection** — システムプロンプトなどのコンテキスト注入を常に展開(デフォルト ON)
- **Todo list** — TODO パネルを常に展開(デフォルト OFF)
- **Queue** — 実行キューを常に展開(デフォルト OFF)

### 手動操作を尊重

一度ユーザーが手動で開閉した行には**以後介入しません**(設定変更時のみ再適用)。「デフォルト値は変えるが、手動操作は上書きしない」設計です。

## 🎛️ 設定(Settings → UI Tweaks)

各項目をトグルするだけで即時反映。設定は `localStorage` に即時保存され、`$DSH_HOME/disclosure-tweaks.json` に永続化されます(デスクトップアプリのポート変更をまたいで保持)。

## 📦 インストール

### 前提
- DeepSeek Harness がインストール済み

### GitHub から

```bash
dsh plugin --profile desktop add github:Cinnamobot/dsh-disclosure-tweaks
```

### ローカルから

```bash
dsh plugin --profile desktop add file:C:/path/to/dsh-disclosure-tweaks
```

インストール後、**DSH Desktop を再起動**すると Settings に「UI Tweaks」セクションが追加されます。

## 🛠️ 構成

```
lib/
  index.js   # ホスト側: フェンス付き JSON API(/disclosure-tweaks/api)で永続化
  client.js  # ブラウザ側: MutationObserver で DOM 監視 + 設定 UI(slots.inject)
cordis.patch.yml
```

## 📄 ライセンス

MIT

---

*DeepSeek Harness は [DeepSeek AI](https://github.com/deepseek-ai/deepseek-harness) のオープンソースプロジェクトです。本プラグインは公式とは無関係の非公式作品です。*

Install

dsh plugin --profile web add github:Cinnamobot/dsh-disclosure-tweaks#7dbba1bd4e3149406f681d770ad9a7cb852b2068

Profile: web

Source