# dsh-johari-cognition-quadrant-dialog-composer [![中文](https://img.shields.io/badge/Lang-中文-red?style=flat-square)](./README.md) Johari cognition-quadrant dialog prompt composer — a DSH (DeepSeek Harness) Web UI plugin. ## Features Adds a "Johari Quadrant" button above the conversation composer. Clicking it opens a 2×2 quadrant panel: | Quadrant | Position | Meaning | |----------|----------|---------| | Hidden Area | Top-left | I know · AI doesn't — background info to tell AI | | Unknown Area | Top-right | I don't know · AI doesn't — problems to explore together | | Open Area | Bottom-left | I know · AI knows — shared consensus background | | Blind Area | Bottom-right | I don't know · AI knows — areas where AI can teach me | - **X-axis** (left → right): I know → I don't know - **Y-axis** (bottom → top): AI knows → AI doesn't know Fill in the quadrants and click "Generate Prompt" to compose a structured prompt and write it into the conversation input. ## Screenshots ### Quadrant Panel ![Quadrant Panel](乔哈里视窗认知工具四象限.png) ### New Conversation Page ![New Conversation Page](乔哈里视窗认知工具.png) ### Button in Conversation ![Button in Conversation](乔哈里视窗认知工具对话中.png) ## Installation ### Via dsh plugin add (Recommended) ```bash dsh plugin add cyrus123456/dsh-johari-cognition-quadrant-dialog-composer ``` ### Build from Source ```bash 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 ``` Build output: - `lib/index.js` — Host side (Node) - `lib/client.js` — Client side (browser, with CSS injection) ### Manual Registration to DSH Profile 1. Create a junction in `profiles/web/node_modules/` pointing to this plugin 2. Add `"dsh-johari-cognition-quadrant-dialog-composer"` to the `dsh.profile.bundles` array in `profiles/web/package.json` 3. Restart DSH ## Tech Stack - TypeScript + React 18 - esbuild bundler (Node 20+ compatible) - CSS runtime injection (`