dsh-question-tree

Tree-style questioning for DSH. Hover the "Question tree" tab above and a small card pops up with the whole tree — identical to the sidebar, but it frees that column and is quicker to consult (click "List / Graph" in the card to switch views). Select text in a conversation, click "Ask in tree", and a node appears in a tree you can reach three ways — hover the "Question tree" tab for a floating card that leaves the conversation in place, open the same tree as a full conversation view, or pin it in the right sidebar. Each node holds the quoted passage plus your own questions; clicking another node makes it the current parent so later selections nest under it (Alt+click opens a root node, Ctrl+click appends another passage to the same node). Double-click jumps back to the quoted text and pages older history in automatically when the passage is not loaded yet. Hover a truncated node to read the full quote, switch between a list and a horizontal branch graph (the graph scrolls sideways with the wheel as depth grows), mark nodes understood with a red/green dot — or let "mark understood once answered" do it when the reply lands. Nodes live in localStorage; nothing is injected into the prompt.

Overview

Tree-style questioning for DSH. Hover the "Question tree" tab above and a small card pops up with the whole tree — identical to the sidebar, but it frees that column and is quicker to consult (click "List / Graph" in the card to switch views). Select text in a conversation, click "Ask in tree", and a node appears in a tree you can reach three ways — hover the "Question tree" tab for a floating card that leaves the conversation in place, open the same tree as a full conversation view, or pin it in the right sidebar. Each node holds the quoted passage plus your own questions; clicking another node makes it the current parent so later selections nest under it (Alt+click opens a root node, Ctrl+click appends another passage to the same node). Double-click jumps back to the quoted text and pages older history in automatically when the passage is not loaded yet. Hover a truncated node to read the full quote, switch between a list and a horizontal branch graph (the graph scrolls sideways with the wheel as depth grows), mark nodes understood with a red/green dot — or let "mark understood once answered" do it when the reply lands. Nodes live in localStorage; nothing is injected into the prompt.

Installation

Install from npm

dsh plugin --profile web add dsh-question-tree

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:YearnCy/dsh-question-tree

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.