DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-johari-cognition-quadrant-dialog-composer

d

dsh-johari-cognition-quadrant-dialog-composer

Manifest valid

Johari cognition-quadrant dialog prompt composer — adds a button above the composer that opens a 2×2 quadrant panel (known/unknown × AI-known/AI-unknown) to groom conversation context into a structure

UI (client)hasBundlePatch

dsh-johari-cognition-quadrant-dialog-composer

English

乔哈里认知四象限对话梳理工具 / Johari cognition-quadrant dialog prompt composer — a DSH (DeepSeek Harness) Web UI plugin.

功能

在对话输入框上方添加一个「乔哈里四象限」按钮,点击后弹出一个 2×2 象限面板:

象限位置含义
我的隐藏区左上我知道 · AI不知道 — 需要告知 AI 的背景信息
共同未知区右上我不知道 · AI不知道 — 需要共同探索的问题
公开共识区左下我知道 · AI知道 — 双方共识的背景
我的盲区右下我不知道 · AI知道 — 希望 AI 教我的领域
  • 横轴(左→右):我知道 → 我不知道
  • 纵轴(下→上):AI知道 → AI不知道

填写后点击「生成 Prompt 并填入」,自动将四象限内容组合为结构化 Prompt 写入对话输入框。

截图

四象限面板

四象限面板

新建对话页面

新建对话页面

对话中的按钮

对话中的按钮

安装

通过 dsh plugin add(推荐)

dsh plugin add cyrus123456/dsh-johari-cognition-quadrant-dialog-composer

从源码构建

git clone https://github.com/cyrus123456/dsh-johari-cognition-quadrant-dialog-composer.git
cd dsh-johari-cognition-quadrant-dialog-composer
pnpm install
pnpm run build

构建产物:

  • lib/index.js — Host 端(Node 侧)
  • lib/client.js — Client 端(浏览器侧,含 CSS 注入)

手动注册到 DSH Profile

  1. 在 profiles/web/node_modules/ 下创建指向本插件的 junction
  2. 在 profiles/web/package.json 的 dsh.profile.bundles 数组中添加 "dsh-johari-cognition-quadrant-dialog-composer"
  3. 重启 DSH

技术栈

  • TypeScript + React 18
  • esbuild 构建(兼容 Node 20+)
  • CSS 运行时注入(<style> 标签,类名 johari- 前缀隔离)
  • DSH Plugin API(conversation.input.dock 插槽)

文件结构

dsh-johari-cognition-quadrant-dialog-composer/
├── package.json
├── tsconfig.json
├── cordis.patch.yml          # DSH bundle 补丁
├── scripts/
│   └── build.mjs             # esbuild 构建脚本
├── src/
│   ├── index.ts              # Host 端入口
│   └── client/
│       ├── index.ts          # Client 端入口(插槽注册 + CSS 注入)
│       ├── JohariDockEntry.tsx  # 按钮 + 模态框 React 组件
│       ├── johari.css        # 插件样式(johari- 前缀)
│       └── css.d.ts          # CSS 文本导入类型声明
└── lib/                      # 构建产物(gitignore)

Compatibility

DSH 0.2.2-alpha.2: failedDSH 0.1.7-rc.1: failedDSH 0.1.7-rc.2: failed

Versions

Latest versionPublishedSize
0.1.0——
0.1.1——

Comments

Loading…

Similar plugins

dsh-composer-autopair

by lov0vo

Auto-pairs brackets and quotes in the DSH chat composer, inserting the closing half with the caret in between; it also wraps selected text with the typed pair and handles brackets committed by an IME.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Oct 27, 2026

dsh plugin --profile web add dsh-composer-autopair

by XXXXXQ-0206

Adds a composer button that optimizes the current prompt or designs the next one from the current session and project context.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Sep 13, 2026

dsh plugin --profile web add dsh-prompt-for-me

One-click prompt polisher for the DSH composer: a ✨ button next to the message box opens a side-chat where an agent refines your rough draft over multiple turns, then you copy the result back. Replays

Workflow & AutomationTerminal & ClientsManifest valid

★ 0

dsh plugin --profile web add narrative-prompt-polish

by yuluo554

Composer prompt-polisher button plugin for DeepSeek Harness (dsh): one-click draft rewrite, style presets, dual model path, race protection

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 19, 2026

dsh plugin --profile web add dsh-prompt-polisher

One-click ✨ polish button for the composer: rewrites prompts and drafts with WorkBuddy humanizer-style rules (kills AI-flavored phrasing, varies rhythm, mode-aware for instructions/questions/prose) vi

Tools & CapabilitiesManifest valid

★ 0

↓ 87/wk

dsh plugin --profile web add dsh-prompt-polish

Composer prompt enhancement for DSH Web: a ✨ button rewrites the current draft in place after asking only about genuine ambiguity, and an empty composer shows a grey next-message ghost that Tab or a c

UI & ExperienceManifest valid

★ 0

MIT

TypeScript

dsh plugin --profile web add dsh-composer-enhance